/* #Primary
================================================== */

body {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #212112;
    transition: all 200ms linear;
}

::selection {
    color: #fff;
    background-color: #8167a9;
}

::-moz-selection {
    color: #fff;
    background-color: #8167a9;
}

ul.social-nav {
    list-style: none;
    display: table;
    float: right;
    margin: 35px 0 0 15px;
    transition: all 0.3s ease-out;
}

ul.social-nav li {
    display: table-cell;
    padding: 0 0 0 8px;
}

.start-header.scroll-on ul.social-nav {
    margin: 12px 0 0 15px;
}

.start-header.scroll-on .site-search {
    margin-top: 18px;
}

.social-nav .nav-link .fa {
    background: #fff;
    color: #4c575c;
    padding: 4px 0;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    text-align: center;
}

header .site-search {
    float: right;
    position: relative;
    margin: 43px 0;
}

header .site-search input {
    background-color: transparent;
    border: none;
    border-bottom: solid 1px #fff;
    color: #fff;
}

header .site-search .search-submit {
    background-color: transparent;
    border: none;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
}

header .site-search input:focus {
    outline: none;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu {
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .05), 0 0 2px 0 rgba(0, 0, 0, .1), 0 1px 0 0 rgba(0, 0, 0, .05);
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #fff;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #fff;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #fff;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #fff;
}

header .start-header .site-search {
    transition: all 0.3s ease-out;
}

header .start-header.scroll-on .site-search {
    float: right;
    position: relative;
}

button.btn-mobile-search {
    display: none;
}

nav.navbar.navbar-expand-md.navbar-light {
    padding-top: 35px;
    transition: all 0.3s ease-out;
    display: inline-block;
}

header .start-header.scroll-on nav.navbar.navbar-expand-md.navbar-light {
    padding-top: 10px;
}

.social-nav .nav-link .fa {
    transition: all 0.3s ease-out;
    color: #fff;
    border-radius: 100px;
}

.social-nav .nav-link .fa.fa-facebook,
footer .footer-social-list li .fa.fa-facebook {
    background: #dca711 !important;
}

.social-nav .nav-link .fa.fa-twitter,
footer .footer-social-list li .fa.fa-twitter {
    background: #dca711 !important;
}

.social-nav .nav-link .fa-linkedin,
footer .footer-social-list li .fa-linkedin,
footer .footer-social-list li .fa-youtube-play {
    background: #dca711 !important;
}

.social-nav .nav-link .fa-youtube-play,
footer .footer-social-list li .fa-youtube-play {
    background: #dca711 !important;
}

footer .footer-social-list li .fa:hover {
    color: #fff !important;
}

.social-nav .nav-link .fa:hover {
    /*    background: #fbba00;
    color: #fbba00;*/
}


/* #Navigation
================================================== */

.start-header {
    opacity: 1;
    transform: translateY(0);
    padding: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    position: fixed;
}

.start-header.scroll-on {
    box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
    padding: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-color: #fff;
}

.start-header.scroll-on .navbar-brand img {
    height: 50px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.navigation-wrap {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

body.other .navigation-wrap {
    position: relative;
}

.navbar {
    padding: 0;
}

.navbar-brand img {
    height: 90px;
    width: auto;
    display: block;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.navbar-toggler {
    float: right;
    border: none;
    padding-right: 0;
}

.navbar-toggler:active,
.navbar-toggler:focus {
    outline: none;
}

.navbar-light .navbar-toggler-icon {
    width: 24px;
    height: 17px;
    background-image: none;
    position: relative;
    border-bottom: 1px solid #fff;
    transition: all 300ms linear;
}

.navbar-light .navbar-toggler-icon:after,
.navbar-light .navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 1px;
    background-color: #fff;
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transition: all 300ms linear;
}

.navbar-light .navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: all 200ms linear;
}

.nav-item:hover .nav-link {
    color: #fbba00 !important;
}

.nav-item.active .nav-link {
    color: #fbba00 !important;
}

.nav-link {
    position: relative;
    padding: 5px 0 !important;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.nav-item:after {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background-color: #fbba00;
    opacity: 0;
    transition: all 200ms linear;
}

.nav-item:hover:after {
    bottom: 0;
    opacity: 1;
}

.nav-item.active:hover:after {
    opacity: 1;
}

.nav-item {
    position: relative;
    transition: all 200ms linear;
}


/* #Primary style
================================================== */

.section {
    position: relative;
    width: 100%;
    display: block;
}

.full-height {
    height: 100vh;
}

.over-hide {
    overflow: hidden;
}

.absolute-center {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: 40px;
    transform: translateY(-50%);
    z-index: 20;
}

body.hero-anime p {
    opacity: 0;
    transform: translateY(40px);
    transition-delay: 1700ms;
}

#switch,
#circle {
    cursor: pointer;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

#switch {
    width: 60px;
    height: 8px;
    border: 2px solid #8167a9;
    border-radius: 27px;
    background: #000;
    position: relative;
    display: block;
    margin: 0 auto;
    text-align: center;
    opacity: 1;
    transform: translate(0);
    transition: all 300ms linear;
    transition-delay: 1900ms;
}

body.hero-anime #switch {
    opacity: 0;
    transform: translateY(40px);
    transition-delay: 1900ms;
}

#circle {
    position: absolute;
    top: -11px;
    left: -13px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #000;
}

.switched {
    border-color: #000 !important;
    background: #8167a9 !important;
}

.switched #circle {
    left: 43px;
    box-shadow: 0 4px 4px rgba(26, 53, 71, 0.25), 0 0 0 1px rgba(26, 53, 71, 0.07);
    background: #fff;
}

.nav-item .dropdown-menu {
    transform: translate3d(0, 10px, 0);
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    display: block;
    padding: 0;
    margin: 0;
    transition: all 200ms linear;
}

.nav-item.show>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 999px;
    transform: translate3d(0, 0px, 0);
    background: rgba(0, 0, 0, 1);
}

header .dropdown .dropdown-menu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate3d(2em, 0px, 0);
    max-height: none;
}

.dropdown-menu {
    padding: 10px!important;
    margin: 0;
    font-size: 15px;
    letter-spacing: 1px;
    color: #212121;
    background-color: #fcfaff;
    border: none;
    border-radius: 3px;
    box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
    transition: all 200ms linear;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-item {
    padding: 3px 15px;
    color: #fff;
    border-radius: 2px;
    font-size: 15px !important;
    transition: all 200ms linear;
    font-family: 'Montserrat', sans-serif;
}

header .main-nav li.current-menu-item .dropdown-menu a:hover {
    color: #fbba00 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #fbba00 !important;
    background-color: transparent;
}

body.dark {
    color: #fff;
    background-color: #1f2029;
}

body.dark .start-header {
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15);
}

body.dark .start-header.scroll-on {
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
}

body.dark .nav-link {
    color: #fff !important;
}

body.dark .nav-item.active .nav-link {
    color: #999 !important;
}

body.dark .dropdown-menu {
    color: #fff;
    background-color: #1f2029;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.25);
}

body.dark .dropdown-item {
    color: #fff;
}

body.dark .navbar-light .navbar-toggler-icon {
    border-bottom: 1px solid #fff;
}

body.dark .navbar-light .navbar-toggler-icon:after,
body.dark .navbar-light .navbar-toggler-icon:before {
    background-color: #fff;
}

body.dark .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}


/* #Media
================================================== */

@media (max-width: 767px) {
    nav.navbar.navbar-expand-md.navbar-light {
        display: block;
    }
    nav.navbar.navbar-expand-md.navbar-light {
        padding-top: 5px;
    }
    header .start-header.scroll-on nav.navbar.navbar-expand-md.navbar-light {
        padding-top: 0;
    }
    button.btn-mobile-search {
        display: block;
    }
    .navbar-brand img {
        height: 60px;
    }
    div#navbarSupportedContent {
        background: rgba(0, 0, 0, 1);
        text-align: left;
    }
    ul.social-nav {
        display: none;
    }
    header .site-search {
        float: none;
        position: absolute;
        text-align: center;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.29);
        padding: 12px 0;
        top: -480px;
        -webkit-transition: top 0.5s ease-out;
        -moz-transition: top 0.5s ease-out;
        -o-transition: top 0.5s ease-out;
        transition: top 0.5s ease-out;
    }
    form.search-form {
        width: 210px;
        position: relative;
        margin: 0 auto;
    }
    header .site-search input {
        width: 100%;
    }
    header .start-header.scroll-on .site-search {
        float: none;
        position: absolute;
        margin: 0;
    }
    button.btn-mobile-search {
        position: absolute;
        right: 40px;
        background: transparent;
        border: 0;
        color: #fbba00;
        top: 25px;
        font-size: 20px;
    }
    header .start-header.scroll-on button.btn-mobile-search {
        top: 20px;
    }
    button:focus {
        outline: none;
    }
    .site-search.active {
        top: 60px;
    }
    .nav-item:after {
        display: none;
    }
    .nav-item::before {
        position: absolute;
        display: block;
        top: 19px;
        left: 5px;
        width: 11px;
        height: 1px;
        content: "";
        border: none;
        background-color: #fff;
        vertical-align: 0;
    }
    .dropdown-toggle::after {
        position: absolute;
        display: block;
        top: 14px;
        left: -19px;
        width: 1px;
        height: 11px;
        content: "";
        border: none;
        background-color: #fff;
        vertical-align: 0;
        transition: all 200ms linear;
    }
    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(90deg);
        opacity: 0;
    }
    .dropdown-menu {
        padding: 0 !important;
        background-color: transparent;
        box-shadow: none;
        transition: all 200ms linear;
    }
    .dropdown-toggle[aria-expanded="true"]+.dropdown-menu {
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }
    body.dark .nav-item::before {
        background-color: #fff;
    }
    body.dark .dropdown-toggle::after {
        background-color: #fff;
    }
    body.dark .dropdown-menu {
        background-color: transparent;
        box-shadow: none;
    }
    .nav-item.show .dropdown-menu {
        position: relative;
        text-align: left;
        position: static;
        float: none;
    }
    .nav-link {
        font-size: 16px !important;
    }
    ul#menu-primary-menu-1 {
        text-align: left;
    }
}