/* -----------------------------------
Template:  junction - event meeting conference business template
Author: RoyHridoy
Version: 1.0
Design and Developed by: Hridoy Roy

NOTE: This is Header style file. All Header related style included in this file.

--------------------------------------*/

/*================================================
[  Table of contents  ]
==================================================
01. header area
02. sticky menu
03. mainmenu
    03.1 sub-menu


======================================
[ End table content ]
======================================*/

/*************************
01. header area
*************************/
.header-area {
    position: relative;
    background-color: #ffffff;
    padding: 30px 0;
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
nav.collapse {
    padding: 0;
}
.logo a {
    padding: 0;
}
.header-row {
    width: 1350px;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.header-row > [class*="col-"] {
    float: none;
}
.header-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 60px;
}
.header-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 0%;
    min-width: 0;
}
.header-nav-wrap .mainmenu {
    width: 100%;
}
.header-logo {
    display: flex;
    align-items: center;
}
.logo__link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.logo__link:hover {
    text-decoration: none;
}
.logo__image {
    display: block;
    height: auto;
    max-height: 60px;
    width: auto;
    transition: max-height 0.3s ease;
}
.mobile-menu-area .logo__image {
    max-height: 52px;
}
.header-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    row-gap: 0;
    column-gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    white-space: nowrap;
}
.header-nav > li {
    display: flex;
    align-items: center;
}

@media (max-width: 1199px) {
    .logo__image {
        max-height: 56px;
    }
    .header-nav {
        column-gap: 22px;
    }
    .header-brand {
        margin-right: 40px;
    }
}

@media (max-width: 991px) {
    .header-row {
        justify-content: center;
    }
    .header-nav-wrap {
        justify-content: center;
    }
    .header-nav {
        column-gap: 18px;
        flex-wrap: wrap;
        white-space: normal;
    }
    .header-brand {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .logo__image {
        max-height: 46px;
    }
    .mainmenu ul li a {
        font-size: 13px;
        letter-spacing: 0.12em;
    }

    .header-area > .container.pos-relative {
        max-width: 100%;
        padding: 0 18px;
    }
}

/*************************
02. sticky header
*************************/
#sticker {
    position: fixed;
    width: 100%;
    z-index: 999999;
    left: auto;
    margin: auto;
}
.header-area.stick {
    background-color: #ffffff;
    padding: 18px 0;
    top: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.stick .logo__image {
    max-height: 50px;
}
.stick .mainmenu ul li a {
    padding-top: 10px;
    padding-bottom: 10px;
}
.stick .sub-menu {
    background-color: #fff;
    border-top: 1px solid #eee;
}
.stick .has-child .sub-menu li a {
    border-color: #eee;
    padding: 0;
}

/*************************
03. mainmenu
*************************/
.mainmenu ul {
    text-align: right;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mainmenu ul li {
    display: inline-block;
    position: relative;
    text-align: left;
}
.mainmenu ul li a {
    color: #434343;
    font-family: 'Roboto', sans-serif;
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    padding: 18px 0;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
    transition: color 0.3s ease;
}
.mainmenu ul li a:focus {
    background-color: transparent;
}
.mainmenu ul li:hover a,
.mainmenu ul li.active a {
    background-color: transparent;
    color: #24a5a1;
}
.mainmenu ul li a:after,
.mainmenu ul li a span::after {
    content: "";
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    bottom: 8px;
    top: auto;
    margin: 0 auto;
    transition: all 0.5s ease 0s;
    visibility: hidden;
    width: 0;
    background-color: #24a5a1;
}
.mainmenu ul li.active > a:after,
.mainmenu ul li:hover > a:after,
.mainmenu ul li.active > .sub-menu li > a span::after,
.mainmenu ul li.active > .sub-menu li > a.active span::after,
.mainmenu ul li.active > .sub-menu li:hover > a span:after,
.mainmenu ul li > .sub-menu li:hover > a span::after {
    opacity: 1;
    visibility: visible;
    width: 100%;
}
.mainmenu ul li.active > .sub-menu li > a:after,
.mainmenu ul li.active > .sub-menu li > a span:after,
.mainmenu ul li:hover > .sub-menu li > a:after {
    opacity: 0;
    visibility: hidden;
    width: 0%;
}
.mainmenu ul li.has-child > a::before {
    content: "\f0d7";
    font-family: 'fontawesome';
    bottom: 15px;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    color: #ccc;
    transition: all 0.5s ease 0s;
}
.stick .mainmenu ul li.has-child > a::before {
    bottom: 5px;
}
.mainmenu ul li.has-child.sub > a::before {
    bottom: 5px;
    left: auto;
    right: 10px;
    content: "\f0da";
    color: #ccc;
}

/*************************
03.1 sub-menu
*************************/
.sub-menu {
    position: absolute;
    text-align: left !important;
    border: 1px solid #eee;
    width: 220px;
    left: 0;
    top: 100%;
    transition: 0.3s;
    transform-origin: 0 0 0;
    transform: scaleY(0);
}
.has-child:hover .sub-menu {
    transform: scaleY(1)
}
.has-child .sub-menu li a {
    border-bottom: 1px solid #dfdfdf;
    display: block;
    padding: 0px;
    text-transform: capitalize;
    color: #3e3e3e;
}
.has-child .sub-menu li a span {
    display: inline-block;
    padding: 5px 10px 5px 20px;
    position: relative;
}
.has-child .sub-menu li a span:after {
    left: 15px;
}
.has-child .sub-menu li.active a span:after,
.has-child .sub-menu li:hover a span:after {
    width: calc(100% - 15px) !important;
}
.has-child .sub-menu li {
    display: block;
}
.sub-menu li .sub-menu.child {
    left: 100%;
    top: 50%;
}
.has-child.sub:hover .sub-menu.child {
    transform: scaleX(1);
}
.has-child.sub .sub-menu.child {
    transform: scaleX(0);
}
