/*===========================
=> B. Header Style Sheet
===========================*/

#header {
    height: 110px;
    background-color: #fff;
}

#header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: 100px;
}

#header.fixed-header + script + #container {
    margin-top: 50px;
}

#header div#header-container {
    width: 1140px;
    max-width: 95%;
    margin: 0 auto;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    flex-flow: wrap;
    align-items: center;
}

/*============ Logo Style Sheet =============*/

#header div#logo {
    flex: 0 0 auto;
    max-height: 85px;
}

#header div#logo a {
    display: inline-block;
}

#header div#logo img {
    height: 80px;
}

/*============ Navigation Style Sheet =============*/

.main-navigation {
    flex: 0 0 auto;
    margin: 0 0 0 1.875em;
    background-color: #f9f9f9;
    height: 70px;
    position: relative;
}

.main-navigation > h2 {
    display: none;
}

.main-navigation ul,
#account-access ul {
    margin: 0;
    padding: 0;
}

.main-navigation li,
#account-access li {
    list-style: none;
}

.main-navigation > ul > li {
    float: left;
}

.main-navigation a,
#account-access li a {
    color: #2b2d42;
    text-decoration: none;
    display: block;
}

.main-navigation > ul > li > a {
    font-weight: 700;
    padding: 0 1.25em;
    line-height: 70px;
}

.main-navigation > ul > li > a:hover,
.main-navigation > ul > li > a.active {
    background-color: #d90429;
    color: #fff;
}

.main-navigation > ul > li > a.home::before {
    content: "\f015";
    font: bold 0.9em "Font Awesome 5 Free";
    margin-right: 0.3em;
}

.main-navigation li.have-sub-menu > a::after {
    content: "\f107";
    font: bold 0.9em "Font Awesome 5 Free";
    margin-left: 0.3em;
}

.main-navigation > ul,
.main-navigation > ul > li,
.main-navigation > ul > li > a {
    height: 100%;
}

.main-navigation > ul > li:first-of-type > a {
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}

.main-navigation > ul > li:last-of-type > a {
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}

.main-navigation > ul > li:only-of-type > a {
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    border-radius: 5px !important;
}

.main-navigation li.have-sub-menu::after {
    content: "";
    display: none;
    width: 0;
    height: 0;
    margin: 0 auto;
    border: 7.5px solid transparent;
    border-bottom: none;
    border-top-color: #fff;
}

.main-navigation li.have-sub-menu::before {
    content: "";
    width: 100%;
    height: 10px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

.main-navigation .sub-menu,
#account-access .sub-menu {
    position: absolute;
    display: -webkit-flex;
    display: flex;
    flex-flow: wrap column;
    align-content: space-between;
    padding: 0.9375em 0.9375em 0.625em;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: left top;
    transform-origin: left top;
    top: -webkit-calc(100% + 10px);
    top: calc(100% + 7.5px);
    background-color: #fff;
    z-index: 9999;
}

.main-navigation ul.sub-menu.mega {
    left: 0;
    width: 100%;
    height: 270px;
    -webkit-transform-origin: center top;
    transform-origin: center top;
}

.main-navigation li.have-sub-menu:hover > ul,
#account-access .show-dropdown {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.main-navigation li.have-sub-menu:hover::after,
.main-navigation li.have-sub-menu:hover::before {
    display: block;
}

.main-navigation ul.sub-menu a,
#account-access ul.sub-menu a {
    padding: 0 10px;
    height: 35px;
    line-height: 35px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 5px;
}

.main-navigation ul.sub-menu a::before,
#account-access ul.sub-menu a::before {
    content: "\f105";
    font: bold 0.8em "Font Awesome 5 Free";
    margin-right: 0.5em;
    color: #eee;
    unicode-bidi: isolate-override;
}

.main-navigation ul.sub-menu a:hover,
#account-access ul.sub-menu a:hover {
    background-color: #d90429;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
}

/*============ Mobile Navigation Style Sheet =============*/

#menu-btn {
    display: none;
}

.floated-navigation {
    position: fixed;
    overflow-y: auto;
    background-color: #fff;
    width: 15.625em;
    top: 0;
    bottom: 0;
    left: -100%;
    z-index: 99999;
}

.floated-navigation,
#back-cover {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.mobile-show > .floated-navigation {
    left: 0;
}

#back-cover {
    content: "";
    position: fixed;
    background-color: rgba(0, 0, 0, 0.75);
    top: 0;
    bottom: 0;
    right: 0;
    left: 15.625em;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    z-index: 99999;
}

.mobile-show > #back-cover,
#back-cover::before {
    visibility: visible;
    opacity: 1;
}

#back-cover::before {
    content: "\f00d";
    font: bold 1.5em "Font Awesome 5 Free";
    color: #fff;
    margin: 0.625em;
    display: inline-block;
    text-shadow: rgba(0, 0, 0, 0.25) 2px 2px;
    visibility: inherit;
}

.floated-navigation h2 {
    font: bold 1.375em "Nunito", serif;
    margin: 0;
    padding: 1.3636em 1.25em;
    background-color: #f9f9f9;
    border-bottom: 2px solid #eee;
    text-align: center;
}

.floated-navigation h2 i {
    color: #d90429;
    margin-right: 0.5em;
    font-size: 0.9em;
}

.floated-navigation ul {
    margin: 0;
    padding: 0;
}

.floated-navigation li {
    list-style: none;
}

.floated-navigation > ul > li > a {
    font: bold 1.125em "Nunito", serif;
    color: #2b2d42;
    text-decoration: none;
    padding: 0.75em 1.875em;
    display: block;
    border-bottom: 1px solid #eee;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.floated-navigation > ul > li > a::before {
    content: "\f105";
    font: bold 0.8em "Font Awesome 5 Free";
    margin-right: 0.625em;
    color: #eee;
}

.floated-navigation > ul > li:hover > a,
.floated-navigation > ul > li.active > a {
    background-color: #f9f9f9;
    padding-left: 2.125em;
    color: #d90429;
}

.floated-navigation > ul > li.have-sub-menu > a::after {
    font: bold 0.8125em "Font Awesome 5 Free";
    color: #8d99ae;
    margin-left: auto;
}

.floated-navigation > ul > li.have-sub-menu[data-opened="true"] > a::after {
    content: "\f0d8";
}

.floated-navigation > ul > li.have-sub-menu[data-opened="false"] > a::after {
    content: "\f0d7";
}

.floated-navigation ul.sub-menu {
    font-size: 0.9375em;
    background-color: #eee;
    display: none;
    -webkit-transform-origin: center top;
    transform-origin: center top;
}

.mobile-show .floated-navigation li.active > ul.sub-menu {
    display: block;
}

.floated-navigation ul.sub-menu a {
    font: bold 1.125em "Nunito", serif;
    color: #2b2d42;
    text-decoration: none;
    padding: 0.75em 1.875em;
    display: block;
}

.floated-navigation ul.sub-menu a:hover {
    background-color: #2b2d42;
    color: #fff;
}

/*============ Search and Account Style Sheet =============*/

#search-account {
    flex: 0 1 auto;
    margin-left: auto;
}

#search-box {
    position: relative;
    display: inline-block;
}

#search-box form {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

#search-box input {
    height: 35px;
    width: 185px;
    border: 2px solid #eee;
    padding: 5px 25px 5px 10px;
    font: bold 0.87em "Nunito";
    outline: none !important;
}

#search-box input:focus {
    border-color: #ccc;
}

div#search-box input::-moz-placeholder {
    font: italic 1em "Nunito";
}

div#search-box input::placeholder {
    font: italic 1em "Nunito";
}

#search-box button[type="submit"] {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    padding: 0;
    background-color: transparent;
    color: #ccc;
    font-size: 0.8em;
    border: none;
    cursor: pointer;
    outline: none !important;
}

#search-box button[type="submit"]:hover,
#search-box input:focus + button {
    color: #d90429;
}

#account-access {
    text-align: center;
    margin-top: 10px;
    position: relative;
}

#account-access .account-btn {
    color: #d90429;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none !important;
    display: inline-block;
    padding: 0;
}

#account-access .account-btn > span {
    text-decoration: underline;
}

#account-access .account-btn i {
    font-size: 13px;
}

#account-access span.separator {
    padding: 0 10px;
    color: #ccc;
}

#search-btn {
    display: none;
}

#close-form {
    display: none;
    background-color: transparent;
    border: none;
    outline: none !important;
    color: #fff;
    font-size: 1.75em;
    cursor: pointer;
}

#account-access ul.sub-menu {
    padding: 0.7142em;
}

#account-access ul.sub-menu li {
    width: 100%;
}

#account-access ul.sub-menu li:last-child > a {
    margin-bottom: 0;
}

#account-access ul.sub-menu a::before {
    color: #d90429;
    margin-right: 0.8em;
    font-size: 1em;
}

#account-access ul.sub-menu a:hover::before {
    color: #fff;
}

#account-access li > a.profile::before {
    content: "\f2bd";
}

#account-access li > a.watch-later::before {
    content: "\f02e";
}

#account-access li > a.favorite::before {
    content: "\f004";
}

#account-access li > a.settings::before {
    content: "\f4fe";
}

#account-access li > a.control-panel::before {
    content: "\f085";
}

/*============ Login Form Style Sheet ============*/

#account-access .sub-menu {
    font-size: 14px;
    text-align: initial;
    width: 250px;
    right: 0;
    -webkit-transform-origin: 33% top;
    transform-origin: 33% top;
    padding: 0.9375em;
}

#account-access section {
    width: 100%;
}

#account-access label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

#account-access input {
    margin-bottom: 1.25em;
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 0.9375em;
    border: 2px solid #eee;
    outline: none !important;
}

#account-access input#password {
    margin-bottom: 10px;
}

#account-access input::-moz-placeholder {
    font-style: italic;
    font-weight: 300;
    color: #8d99ae;
}

#account-access input::placeholder {
    font-style: italic;
    font-weight: 300;
    color: #8d99ae;
}

#account-access input:focus {
    border-color: #ccc;
}

.nav-link {
    color: #8d99ae;
    font: 300 0.875em "Nunito", serif;
    display: inline-block;
    margin-bottom: 1.25em;
}

.nav-link:hover {
    color: #ef233c;
}

#submit-btn-container button {
    display: block;
    width: 100%;
    background-color: #d90429;
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 8px 1.875em;
    cursor: pointer;
    border: 2px solid transparent;
    outline: none !important;
}

#submit-btn-container button:hover {
    border-color: #d90429;
    background-color: transparent;
    color: #d90429;
}

#submit-btn-container {
    text-align: center;
}

#submit-btn-container i {
    font-size: 0.9em;
    margin-right: 0.25em;
}

hr {
    margin: 2.2em 0;
    border: 1px solid #eee;
    position: relative;
}

hr::before {
    content: attr(data-or);
    position: absolute;
    font: 300 italic 1.125em "Nunito", serif;
    color: #8d99ae;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 40px;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #fff;
}

#socialmedia-section a {
    position: relative;
    display: block;
    margin: 0 auto 0.9375em;
    padding: 8px 15px;
    padding-left: -webkit-calc(15px + 1.7857em);
    padding-left: calc(15px + 1.7857em);
    width: 100%;
    border: 2px solid transparent;
    color: #fff;
    text-decoration: none;
    font: bold italic 1em "Nunito", serif;
}

#socialmedia-section a:last-of-type {
    margin-bottom: 0;
}

#socialmedia-section a::before {
    font: 1em "Font Awesome 5 Brands";
    position: absolute;
    left: 15px;
    top: 50%;
    -webkit-transform: translateY(-0.5em);
    -moz-transform: translateY(-0.5em);
    -o-transform: translateY(-0.5em);
    transform: translateY(-0.5em);
}

#socialmedia-section a:hover {
    background-color: transparent;
    border-color: currentColor;
}

#socialmedia-section .facebook-login {
    background-color: #3b5999;
}

#socialmedia-section .facebook-login:hover {
    color: #3b5999;
}

#socialmedia-section .facebook-login::before {
    content: "\f39e";
}

#socialmedia-section .twitter-login {
    background-color: #55acee;
}

#socialmedia-section .twitter-login:hover {
    color: #55acee;
}

#socialmedia-section .twitter-login::before {
    content: "\f099";
}

/*============ Header Ads Style Sheet ============*/

#header-ads {
    max-width: 728px;
    max-height: 90px;
    width: 100%;
    margin: 20px auto -20px;
}

/*=========================
=> Media Query Style Sheet 
=========================*/

@media only screen and (max-width: 1200px) {
    #header {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1100px) {
    #header,
    #header.fixed-header {
        height: auto;
    }

    #header div#logo {
        flex-basis: 100%;
        text-align: center;
        margin-top: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
    }

    #header.fixed-header #logo {
        display: none;
    }

    .main-navigation {
        margin-left: 0;
        margin-right: 1.875em;
    }

    div#header-container > *:not(:first-child) {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    #menu-btn,
    #search-btn {
        border: none;
        cursor: pointer;
        outline: none !important;
        font-weight: bold;
    }

    #menu-btn {
        background-color: transparent;
        color: #d90429;
        font-size: 1.25em;
        padding: 5px;
    }

    #menu-btn span {
        margin-left: 0.25em;
        color: #2b2d42;
    }

    #search-btn {
        display: block;
        margin-left: 10px;
        background-color: #d90429;
        color: #fff;
        font-size: 1.125em;
        padding: 5px 8.5px;
        height: 100%;
        -webkit-border-radius: 40px;
        -moz-border-radius: 40px;
        border-radius: 40px;
    }

    #search-box form {
        position: fixed;
        z-index: -9;
        background-color: rgba(0, 0, 0, 0.75);
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }

    #search-box form.show {
        z-index: 99999;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
        opacity: 1;
        -webkit-transition: 0.5s all;
        -moz-transition: 0.5s all;
        -o-transition: 0.5s all;
        transition: 0.5s all;
    }

    #header #search-box input {
        border: none;
        border-bottom: 2px solid #8d99ae;
        border-radius: 0;
        background-color: transparent;
        color: #fff;
        padding-left: 0;
        margin-right: 0;
        width: 60vw;
        font-size: 1.25em;
        font-weight: normal;
    }

    #header #search-box input::-moz-placeholder {
        padding-left: 5px;
    }

    #header #search-box input::placeholder {
        padding-left: 5px;
    }

    #header #search-box button[type="submit"] {
        position: static;
        transform: translateX(-100%);
        font-size: 1em;
        padding-right: 10px;
        padding-bottom: 5px;
    }

    #close-form {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
    }

    #close-form i {
        text-shadow: rgba(0, 0, 0, 0.25) 2px 2px;
    }

    #search-account {
        display: -webkit-flex;
        display: flex;
        margin-right: 5px;
    }

    #account-access {
        order: -1;
        font-size: 1.25em;
        margin: 0;
    }

    #account-access ul.sub-menu {
        right: 0;
    }

    #account-access span.separator {
        display: none;
    }

    #account-access .account-btn {
        font-size: 0.9375em;
        padding: 5px 10px;
        height: 100%;
    }

    #account-access .account-btn > span {
        display: none;
    }

    #account-access .sub-menu {
        -webkit-transform-origin: 80% top;
        transform-origin: 80% top;
    }

    #account-access .account-btn i {
        font-size: inherit;
    }
}

@media only screen and (max-width: 425px) {
    #header div#logo {
        margin-top: 12px;
        padding-bottom: 12px;
    }

    #header div#logo img {
        width: 150px;
        height: auto;
    }
}

/*==================================
=> Top Page Loading Bar Style Sheet
=================================*/

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #d90429;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
