/* HEADER ANIMATION */

@keyframes animate-header{
    0%{margin-top: -100px}
    100%{margin-top: 0px;}
}

/* HEADER */

header{
 box-shadow: 0px 0px 2px #0002;
 z-index: 99999;
 position: relative;
}
header.fixed .alt-bar {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0px 3px 9px #0005;
    z-index: 999999;
    animation: animate-header .7s;
    border-bottom: 1.5px solid var(--red-color);
    border-top: 1.5px solid var(--yel-color);
}
header .top-bar{
    height: 100px;
    background: white;
    background-image: url(../images/menu-bg.png);
    position: relative;
}
header .top-bar:before{
    content: '';
    width: 97%;
    height: 100%;
    background-image: url(../images/ataturk.png);
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
header .top-bar .logo img{
    height: 95px;
    width: 100%;
    object-fit: contain;
    padding: 5px;
    border-radius: 0 0 5px 5px;
}
header .top-bar .socials {
    float: right;
    height: 100%;
    display: flex;
    align-items: center;
}
header .top-bar .socials li {
    text-align: center;
    display: inline-block;
    overflow: hidden;
    padding: 8px;
    border-right: 1px solid #dedede;
    width: 40px;
    height: 40px;
    border-radius: 5px;
}
header .top-bar .socials li:first-child{border-left: 1px solid #dedede}
header .top-bar .socials li a{
    color: var(--main-dark-color);
    font-size: 22px;
}
header .top-bar .call {
    display: flex;
    float: right;
    height: 100%;
    align-items: center;
    width: 60%;
    justify-content: flex-end;
}
header .top-bar .call > li {
    text-align: center;
    border-left: 1px solid #dedede;
    padding: 8px;
    border-radius: 5px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    height: 42px;
    cursor: pointer;    
}
header .top-bar .call > li:hover {
    background: #ffffffed;
}
header .top-bar .call > li:nth-child(3){border-right: 1px solid #dedede;}
header .top-bar .call > li > a {
    color: var(--main-dark-color);
    display: block;
}
header .top-bar .call > li >img{
    height: 100%;
}
header .top-bar .call > li .tb-hover {
    max-width: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-width .3s;
    width: 150px;
}
header .top-bar .call > li:hover .tb-hover {
    max-width: 150px;
    max-height: 18px;
    margin-right: 5px;
    opacity: 1  ;
    transition: max-width .5s;
}
header .top-bar .call > li:hover .tb-hover a {
    font-size: 14px;
    color: var(--main-dark-color);
    letter-spacing: .5px;
}
header .top-bar .call > li#search-button{
    display: inline-block;
    max-width: 50%;
    margin-bottom: 0;
    border: none;
    padding: 3px;
}
header .top-bar .call > li#search-button>input{
    padding: 0;
    height: 100%;
    background: transparent;
    border-radius: 50px;
    z-index: 0;
    width: 0;
    border: none;
    transition: var(--transition);
    color: black;
    display: inline-block;
    width: 90%;
    padding: 5px;
    border: 1px solid #e2e2e2;
}
header .top-bar .call > li#search-button>a{
    margin-left: -30px;
    z-index: 99;
    font-size: 20px;
    display: unset;
}
header .top-bar .language{
    float: right;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
header .top-bar .language > li > a{
    color: #424242; 
}
header .top-bar .language > li.lang-selector{
    min-width: 100px;
    text-align: right;
}
header .top-bar .language > li.lang-selector a>img{margin-right: 5px;height: 24px;}
header .top-bar .language > li.lang-selector > ul{
    filter: drop-shadow(0px 0px 2px #0002);
    max-height: 0;
    position: absolute;
    width: 100%;
    left: 0;
    background: white;
    text-align: center;
    overflow: hidden;
    transition: .5s;
    box-shadow: inset 0 3px 1px 0px #0002;
    z-index: 9;
    visibility: hidden;
    margin-top: 5px;
}
header .top-bar .language > li.lang-selector:hover > ul{
    max-height: 100px;
    visibility: visible;
    transition: .3s;
}
header .top-bar .language > li.lang-selector > ul > li{
    margin: 3px 0px;
    padding: 5px;
}
header .top-bar .language > li.lang-selector > ul > li > a{
    color: var(--main-dark-color);
    width: 100%;
    display: flex;
    height: 100%;
    text-align: left;
    align-items: center;
}
header .top-bar .language > li.lang-selector > ul > li > a > img {
    margin-right: 10px;
}
header .top-bar .language > li.ebys {
    margin-left: .5em;
    border-left: 1px solid #cac6c6;
    padding: .5em 0 .5em .5em;
    border-radius: var(--radius);
}
header .top-bar .language > li.ebys img{
    max-width: 50px
}
/* HEADER COLORS */

header .colors > .blue {
    background:  var(--main-color);
    height: 4px;
}
header .colors > .red {
    background:  var(--red-color);
    height: 4px;
}
header .colors > .yellow {
    background:  var(--yel-color);
    height: 4px;
}

/* ALT BAR */

header .alt-bar{
    background: #fbfbfb;
    transition: var(--transition);
}
header .alt-bar .menus{
    position: initial;
}
header .alt-bar .tabs{
    height: 100%;
    display: flex;
    justify-content: center;
}
header .alt-bar .tabs>li{
    display: inline-block;
    text-align: center;
    transition: .7s;
    width: 100%;
}
header .alt-bar .tabs>li>a:before{
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    left: 0;
    bottom: 0;
    background: var(--main-dark-color);
    transition: .3s;
}
header .alt-bar .tabs>li:last-child>a:after{background: transparent}
header .alt-bar .tabs>li:hover>a:before{width: 100%}
header .alt-bar .tabs>li:hover{background: white}
header .alt-bar .tabs>li>a{
    color: #383838;
    font-weight: 400;
    height: 100%;
    padding: 9px 7px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
    border-right: 1px solid #dedede;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}
header .alt-bar .tabs>li:first-child>a{border-left: 1px solid #dedede}
header .alt-bar .tabs>li>a>svg{margin-right: 5px;height: 24px;width: 24px;}
header .alt-bar .tabs>li>a>svg>g,
header .alt-bar .tabs>li>a>svg>path{
    fill: var(--main-color);
}
header .alt-bar .tabs> .haschild > .director-menu{
    position: absolute;
    background: #fbfbfbfc;
    width: 100%;
    visibility: hidden;
    box-shadow: 0px 5px 4px #0005;
    border-top: 3px solid #dedede;
    transition: .7s;
    max-height: 0;
    overflow: hidden;
    text-align: left;
    display: flex;
    left: 0;
}
header .alt-bar .tabs> .haschild > .director-menu > li{padding: 1.2em}
header .alt-bar .tabs> .haschild > .director-menu > li.director-image img{
    min-height: 100%;
    object-fit: cover;
}
header .alt-bar .tabs> .haschild > .director-menu > li.director-about > span{
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--main-dark-color);
    margin: .125rem 0 .6rem;
    display: block;
}
header .alt-bar .tabs> .haschild > .director-menu > li.director-about > p{
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    color: #3d3d3d;
}
header .alt-bar .tabs> .haschild > .director-menu > li.director-links{
    border-left: 2px solid #dedede;
    padding: 1.2em;
    background: white;
}
header .alt-bar .tabs> .haschild > .director-menu > li.director-links ul{
    display: grid;
    height: 100%;
    z-index: 1;
    position: relative;
}
header .alt-bar .tabs> .haschild > .director-menu > li.director-links ul li{
    padding: 1em;
    border-bottom: 1px solid #dedede;
    display: flex;
    align-items: center;
    border-left: 0px;
    transition: .3s;
}
header .alt-bar .tabs> .haschild > .director-menu > li.director-links ul li:hover{border-left: 3px solid var(--main-dark-color)}
header .alt-bar .tabs> .haschild > .director-menu > li.director-links ul li:last-child{border-bottom:0}
header .alt-bar .tabs> .haschild > .director-menu > li.director-links ul li a{color: var(--main-dark-color);text-transform: uppercase}
header .alt-bar .tabs> .haschild> .mega-menu{
    position: absolute;
    background: #fbfbfbfc;
    width: 100%;
    visibility: hidden;
    max-height: 0;
    box-shadow: 0px 5px 4px #0005;
    overflow: hidden;
    transition: .5s;
    border-top: 3px solid #dedede;
    left: 0;
    display: flex;
    flex-wrap: wrap;
}
header .alt-bar .tabs> .haschild> .mega-menu > li{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
header .alt-bar .tabs> .haschild> .mega-menu > .mega-dic{
    display: block;
    padding: .5em 0;
}
header .alt-bar .tabs> .haschild> .mega-menu > .mega-dic .mega-img{
    padding: .5em;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
}
header .alt-bar .tabs> .haschild> .mega-menu > .mega-dic .mega-img img{object-fit: cover;width: 50%;height: 100%;}
header .alt-bar .tabs> .haschild> .mega-menu > .mega-dic .mega-img .dic-content{width: 50%;padding: 1em;text-align: left;}
header .alt-bar .tabs> .haschild> .mega-menu > .mega-dic .mega-img .dic-content span{color: var(--main-color);display: block;margin-bottom: .6em;}
header .alt-bar .tabs> .haschild> .mega-menu > .mega-dic .mega-img .dic-content p{
    font-size: 14px;
    font-weight: 200;
    line-height: 16px;
}
header .alt-bar .tabs> .haschild> .mega-menu > .mega-dic .mega-links ul li{
    width: 100%;
    display: block;
    line-height: 15px;
}
header .alt-bar .tabs> .haschild> .mega-menu > .mega-dic .mega-links ul li a{
    font-size: 12px;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links{
    padding-left: 1em;
    background: white;
    border-left: 1px solid #dedede;
    position: relative;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links span{
    color: var(--main-dark-color);
    font-size: 12px;
    padding: 0 .3em .5em;
    display: block;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links span:before{
    display: none;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links:before,
header .alt-bar .tabs> .haschild> .director-menu > li.director-links:before{
    content: '';
    background-image: url(../images/logo-icon.png);
    position: absolute;
    right: 0;
    top: 0;
    height: 300px;
    width: 300px;
    background-repeat: no-repeat;
    background-position: 100%;
    background-size: contain;
    opacity: 0.085;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links.nb:before,
header .alt-bar .tabs> .haschild> .director-menu > li.director-links.nb:before{
    display: none;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links ul{
    display: flex;
    flex-wrap: wrap;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links ul li{
    width: 28.3%;
    text-transform: uppercase;
    padding: .6em;
    border-top: 1px solid #dedede;
    display: flex;
    align-items: center;
    border-left: 0px;
    transition: .3s;
    margin: 0 2.5%;
    position: relative;
    font-size: 12px;
    text-align: left;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links ul li:before{
    content: '\f192';
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-size: 9px;
    color: var(--main-dark-color);
    left: -9px;
}
header .alt-bar .tabs> .haschild> .mega-menu  .mega-links ul li > a {
    color: #4e4e4e;
    display: flex;
    height: 100%;
    align-items: center;
}
header .alt-bar .tabs> .haschild> .childs{
    position: absolute;
    background: #fbfbfbfc;
    width: 100%;
    visibility: hidden;
    max-width: 250px;
    max-height: 0;
    box-shadow: 0px 5px 4px #0005;
    overflow: hidden;
    transition: .5s;
    border-top: 3px solid #dedede;
}
header .alt-bar .tabs> .haschild> .childs:hover{overflow: unset}
header .alt-bar .tabs> .haschild:hover> .mega-menu,
header .alt-bar .tabs> .haschild:hover> .childs,
header .alt-bar .tabs> .haschild:hover> .director-menu{
    visibility: visible;
    transition: 1s;
    max-height: 100vh;
    z-index: 9999;
}
header .alt-bar .tabs> .haschild> .childs>li{
    border-left: 1px solid var(--main-dark-color);
    font-weight: 500;
    background: #fbfbfbfc;
    transition: .7s;
    text-align: left;
    border-bottom: 1px solid #dedede;
}
header .alt-bar .tabs> .haschild> .childs>li>a{
    padding: 15px 10px;
    display: block;
}
header .alt-bar .tabs> .haschild> .childs li:last-child{margin-bottom: 0}
header .alt-bar .tabs> .haschild> .childs  .haschild{position: relative}
header .alt-bar .tabs> .haschild> .childs  .haschild:before{
    content: '\f0d7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
    position: absolute;
    right: 5px;
    top: calc(50% - 9px);
    color: var(--main-dark-color);
    transition: .7s;
}
header .alt-bar .tabs> .haschild> .childs  .haschild:hover:before{transform: rotate(-90deg);}
header .alt-bar .tabs> .haschild> .childs li> .childs{
    position: absolute;
    right: -80%;
    width: 80%;
    max-height: 0;
    top: 0;
    background: #fbfbfb;
    border-width: 2px 0 0 0;
    border-style: solid;
    border-color: #dedede;
    visibility: hidden;
    transition: .7s;
    overflow: hidden;
}
header .alt-bar .tabs> .haschild> .childs li:hover> .childs{
    visibility: visible;
    max-height: 100vh;
}
header .alt-bar .tabs> .haschild> .childs li> .childs:hover{overflow: unset}
header .alt-bar .tabs> .haschild> .childs>li> .childs>li{
    visibility: hidden;
    border-left: 1px solid var(--main-dark-color);
    font-weight: 500;
    background: #fbfbfb;
    transition: .7s;
    text-align: left;
    visibility: visible;
    border-bottom: 1px solid #dedede;
}
header .alt-bar .tabs> .haschild> .childs li:hover,
header .alt-bar .tabs> .haschild> .childs li:hover>.childs>li:hover{
    border-width: 0 0 1px 3px;
    background: white;
}
header .alt-bar .tabs> .haschild> .childs .haschild .childs .haschild .childs{
    transition: 1s;
}
header .alt-bar .tabs> .haschild> .childs .haschild .childs .haschild .childs li{
    border-left: 1px solid var(--main-dark-color);
    border-bottom: 1px solid #dedede;
    transition: .3s;
}
header .alt-bar .tabs> .haschild> .childs .haschild .childs .haschild .childs li:hover{
    border-width: 0 0 1px 3px;
    background: white;
}
header .alt-bar .tabs> .haschild> .childs .haschild .childs .haschild .childs.many{
    display: flex;
    flex-wrap: wrap;
    width: 200%;
    right: -200%;
}
header .alt-bar .tabs> .haschild> .childs .haschild .childs .haschild .childs.many li{
    width: 50%;
}
header .alt-bar .tabs> .haschild> .childs .haschild .childs .haschild .childs.many li a{
    padding: 10px 10px;
    font-size: 10px;
}
header .alt-bar .tabs> .haschild> .childs li>a{
    color: var(--main-dark-color);
    padding: 10px 8px;
    display: block;
    font-size: 11px;
}

/* LOGIN MODAL */
.login-modal{
    display: none;
    background: white;
    background-image: url(../images/menu-bg.png);
    padding: 1.5em;
    max-width: 400px;
    overflow: hidden;
    border-radius: var(--radius3x);
}
.login-modal h4{
    display: block;
    padding: .625em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--main-dark-color);
    text-align: center;
    font-size: 24px;
}
.login-modal span{
    font-size: 12px;
    text-transform: capitalize;
    color: var(--main-dark-color);
    padding: 5px 1em;
    display: inline-block;
}
.login-modal input,
.login-modal a,
.login-modal button{
    font-size: 14px;
    margin-bottom: 1em;
}
.login-modal a{
    margin-right: 5px;
}