@charset "UTF-8";

/**
* Role: the Header style
* Theme: GCG ATDev
*/

body.logged-in li#menu-item-7788 {
	display: none;
}

header .primary-menu-container ul.menu-wrapper li#menu-item-1154>a {
    border: 1px dotted;
}

header.site-header {
    font-size: 16px;
    -webkit-user-select: none;
    user-select: none;
}

header.site-header a {
    -webkit-transition: ease color .5s;
    -moz-transition: ease color .5s;
    -ms-transition: ease color .5s;
    -o-transition: ease color .5s;
    transition: ease color .5s;
}

.top-header {
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    max-height: 50px;
    transition-duration: .3s;
}

.top-header.hidden {
    visibility: hidden;
    max-height: 0;
    opacity: 0;
}

.top-header p {
    font-size: 14px;
    padding: .75em;
    margin: 0 auto;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.top-header p span {
    font-weight: 600;
}

.top-header p a {
    color: inherit;
}

.top-header p a:hover {
    color: #d2a98e;
}

.primary-container {
    height: 100%;
}

header.site-header a.contact-button {
    padding: .75em 1.5em;
    margin-left: 6rem;
    background: var(--Red, #DA0B3B);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: ease background-color .5s;
    -moz-transition: ease background-color .5s;
    -ms-transition: ease background-color .5s;
    -o-transition: ease background-color .5s;
    transition: ease background-color .5s;
}

header.site-header a.contact-button:hover {
    background: #0f468a;
}

i.nav-link-icon {
    width: 24px;
    margin-right: .5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

i.nav-link-icon svg path {
    fill: #272264;
}

/* GCN add */
.primary-menu-container>ul>:last-child>ul.sub-menu {
    margin-right: 0px;
    margin-left: auto;
}

div.primary-menu-container>ul>li.menu-item.menu-item-has-children>ul.sub-menu {
    visibility: hidden;
}

div.primary-menu-container>ul>li.menu-item.menu-item-has-children.open>ul.sub-menu {
    max-height: 400vh;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

div.primary-menu-container>ul>li.menu-item.menu-item-has-children .at-icon-chevron svg {
    transition-duration: 1.5s;
}

div.primary-menu-container>ul>li.menu-item.menu-item-has-children.open .at-icon-chevron svg {
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    transform: rotateX(180deg);
}

@media (min-width: 1024px) {
    div#re-logo {
        display: none;
    }

    div.primary-menu-container>ul>li.menu-item.menu-item-has-children>ul.sub-menu.row {
        flex-direction: row;
    }

    .primary-container {
        display: flex;
        align-items: center;
    }

    .primary-menu-container {
        height: 100%;
    }
}

@media (max-width: 1023px) {
    .top-header {
        display: none;
    }

    button.contact-button {
        display: none;
    }
	
    i.nav-link-icon svg path {
        fill: #fff !important;
    }
}