@import "_mixins";

// FONTS

@font-face {
    font-family: 'Dubai Light';
    src: url(../fonts/DubaiW23-Light.eot) format('embedded-opentype'),
    url(../fonts/DubaiW23-Light.ttf) format('truetype'),
    url(../fonts/DubaiW23-Light.woff) format('woff'),
    url(../fonts/DubaiW23-Light.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Dubai Regular';
    src: url(../fonts/DubaiW23-Regular.eot) format('embedded-opentype'),
    url(../fonts/DubaiW23-Regular.ttf) format('truetype'),
    url(../fonts/DubaiW23-Regular.woff) format('woff'),
    url(../fonts/DubaiW23-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Dubai Medium';
    src: url(../fonts/DubaiW23-Medium.eot) format('embedded-opentype'),
    url(../fonts/DubaiW23-Medium.ttf) format('truetype'),
    url(../fonts/DubaiW23-Medium.woff) format('woff'),
    url(../fonts/DubaiW23-Medium.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Dubai Bold';
    src: url(../fonts/DubaiW23-Bold.eot) format('embedded-opentype'),
    url(../fonts/DubaiW23-Bold.ttf) format('truetype'),
    url(../fonts/DubaiW23-Bold.woff) format('woff'),
    url(../fonts/DubaiW23-Bold.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Avenir Roman';
    src: url('../fonts/AvenirLTStd-Roman.eot');
    src: url('../fonts/AvenirLTStd-Roman.eot?#iefix') format('embedded-opentype'),
    url('../fonts/AvenirLTStd-Roman.woff') format('woff'),
    url('../fonts/AvenirLTStd-Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Avenir Medium';
    src: url('../fonts/AvenirLT-Medium.eot');
    src: url('../fonts/AvenirLT-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/AvenirLT-Medium.woff') format('woff'),
    url('../fonts/AvenirLT-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Light';
    src: url('../fonts/AvenirLTStd-Light.eot');
    src: url('../fonts/AvenirLTStd-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/AvenirLTStd-Light.woff') format('woff'),
    url('../fonts/AvenirLTStd-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'GSTBold';
    src: url('../fonts/GE_SS_Two_Bold.otf') format('opentype')
}

@font-face {
    font-family: 'GSTLight';
    src: url('../fonts/GE_SS_Two_Light.otf') format('opentype')
}

@font-face {
    font-family: 'GSTMedium';
    src: url('../fonts/GE_SS_Two_Medium.otf') format('opentype')
}

@font-face {
    font-family: 'GSULight';
    src: url('../fonts/GE_SS_Unique_Light.otf') format('opentype')
}

// GENERAL

html {
    height: 100%;
    min-height: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body { @include avenir-light; height: 100%; overflow-x: hidden; max-width: 1600px; margin: 0 auto; background: #e0e0e0; }

a { cursor: pointer; color: inherit }
a:hover, a:focus { text-decoration: none; }

*:focus { outline: none; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

::-webkit-input-placeholder {
  color: inherit;
}
::-moz-placeholder {
  color: inherit;
}
:-ms-input-placeholder {
  color: inherit;
}
:-moz-placeholder {
  color: inherit;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}

.wow { visibility: hidden; }

.col-5 {
    width: 20%;
    float: left;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;

    > .col,
    > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}

.page-wrap {
    background: #ffffff;
    overflow: hidden;
}

.white-popup {
    position: relative;
    width: auto;
    max-width: 640px;
    margin: 20px auto;
}

// HEADER
.display{
  &-desktop{
    display: block;
    @media screen and (max-width: 767px){
      display: none;
    }
  }
  &-mobile{
    display: none;
    @media screen and (max-width: 767px){
      display: block;
    }
  }
  &-md-desktop{
    display: block;
    @media screen and (max-width: 991px){
      display: none;
    }
  }
  &-md-mobile{
    display: none;
    @media screen and (max-width: 991px){
      display: block;
    }
  }
}
header {
    width: 100%;
    max-width: 1600px;
    background: rgba(251,251,251,0.9);
    position: fixed;
    top: 0;
    z-index: 2;
    //-webkit-box-shadow: 1px 0 5px rgba(0,0,0,0.2);
    //-moz-box-shadow: 1px 0 5px rgba(0,0,0,0.2);
    //box-shadow: 1px 0 5px rgba(0,0,0,0.2);
    @include avenir-roman;
    .logo {
        margin: 12px 0 0;
        img {
            image-rendering: -webkit-optimize-contrast;
            height: 104px;
        }
    }
    .secondary-menu {
        margin: 26px 0 24px;
        text-align: right;
        nav {
            display: inline-block;
            font-size: 12px;
            line-height: 12px;
            text-transform: uppercase;
            padding: 0;
            a {
                display: inline-block;
                margin: 0 18px 0 0;
                position: relative;
                -webkit-transition: all 0.5s;
                -moz-transition: all 0.5s;
                -ms-transition: all 0.5s;
                -o-transition: all 0.5s;
                transition: all 0.5s;
                &:after {
                    content: '';
                    display: block;
                    width: 1px;
                    height: 10px;
                    background: #1a2732;
                    position: absolute;
                    right: -9px;
                    top: 0;
                }
                &:last-child {
                    margin: 0;
                    &:after {
                        display: none;
                    }
                }
            }
            &.nav-one {
                color: #1a2732;
                margin-right: 40px;
                a:hover {
                    color: $red;
                }
            }
            &.nav-two {
                color: #a70240;
                a:after {
                    background: #a70240;
                }
                a:hover {
                    color: $black;
                }
            }
        }
        .nav-social {
            display: inline-block;
            margin-left: 50px;
            a {
                display: inline-block;
                width: 28px;
                height: 28px;
                color: #fff;
                font-size: 12px;
                background: #a70240;
                text-align: center;
                line-height: 28px;
                border-radius: 14px;
                margin-right: 7px;
                &:last-child {
                    margin: 0;
                }
            }
        }
        .nav-language {
            display: inline-block;
            color: #a70240;
            @include dubai-bold;
            margin-left: 5px;
        }
    }
    .primary-menu {
        margin-bottom: 10px;
        nav {
            padding: 0;
            font-size: 18px;
            line-height: 42px;
            color: #1f262c;
            text-transform: uppercase;
            .collapse {
                display: block;
            }
            .nav {
                float: left;
                margin-left: 75px;
                li {
                    margin-right: 45px;
                    position: relative;
                    a {
                        padding: 0 !important;
                        position: relative;
                        line-height: 42px;
                        display: inline-block;
                        &.has-sub-nav {
                            cursor: default;
                        }
                    }
                }
                & > li {
                    a {
                        &:after {
                            content: '';
                            display: block;
                            width: 100%;
                            height: 3px;
                            background: #a70240;
                            position: absolute;
                            bottom: -20px;
                            left: 0;
                            opacity: 0;
                            -webkit-transition: all 0.5s;
                            -moz-transition: all 0.5s;
                            -ms-transition: all 0.5s;
                            -o-transition: all 0.5s;
                            transition: all 0.5s;
                        }
                        &:hover:after {
                            opacity: 1;
                            bottom: -5px;
                        }
                        &:hover {
                            color: inherit;
                        }
                    }
                    &.active {
                        & > a:after {
                            opacity: 1;
                            bottom: -5px;
                        }
                    }
                    &:last-child {
                        margin: 0;
                    }
                    ul {
                        display: none;
                        padding: 10px 0;
                        margin: 0;
                        position: absolute;
                        top: 42px;
                        left: -10px;
                        width: 240px;
                        li {
                            list-style: none;
                            margin: 0;
                            background: rgba(251,251,251,0.9);
                            a {
                                padding: 0 10px !important;
                                display: block;
                                &:hover {
                                    background: $red;
                                    color: #fff;
                                }
                                &:hover:after {
                                    display: none;
                                }
                            }
                            &.active {
                                a {
                                    background: $red;
                                    color: #fff;
                                }
                                a:after {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }
            .search-toggle {
                float: right;
                background: #fff;
                color: #898989;
                font-size: 12px;
                line-height: 36px;
                display: inline-block;
                width: 36px;
                height: 36px;
                border-radius: 50%;
                text-align: center;
            }
            .search-form {
                position: absolute;
                top: 53px;
                right: 0;
                width: 320px;
                max-width: 100%;
                display: none;
                input[type=text] {
                    border-radius: 24px;
                    border: 1px solid transparent;
                    width: 100%;
                    padding: 0 15px;
                    @include avenir-light;
                    color: $black;
                    font-size: 14px;
                    line-height: 48px;
                    height: 48px;
                }
                input[type=submit] {
                    position: absolute;
                    top: 0;
                    right: 0;
                    background: #898989;
                    height: 48px;
                    line-height: 48px;
                    border: 0;
                    border-radius: 0 24px 24px 0;
                    font-size: 14px;
                    padding: 0 15px;
                    @include avenir-light;
                    color: #fff;
                    cursor: pointer;
                    text-transform: uppercase;
                }
            }
        }
        .nav-language {
            padding: 10px 0 20px 10px;
        }
        .mobile-lang {
            display: none;
        }
    }
}

// PAGE BANNER

.inner-banner {
    height: 223px;
    margin-top: 130px;
    h1 {
        font-size: 32px;
        text-align: center;
        padding-top: 100px;
        text-transform: uppercase;
        @include avenir-light;
        color: #fff;

    }
}

// FOOTER

footer {
    background: rgb(23,36,45);
    color: #c9cacc;
    @include avenir-roman;
    font-size: 12px;
    text-transform: uppercase;
    padding: 45px 0 0;
    position: relative;
    z-index: 1;
    a {
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
    }
    a:hover {
        color: #fff;
    }
    .widget {
        margin: 0 0 35px;
        .footer-logo img {
            max-width: 140px;
        }
        h3 {
            font-size: 16px;
            line-height: 16px;
            margin-bottom: 25px;
        }
        ul, ol {
            margin: 0;
            padding: 0;
            font-size: 12px;
        }
        li {
            list-style: none;
            margin-bottom: 10px;
            line-height: 12px;
            padding-left: 30px;
            background-image: url(../images/arrow.png);
            background-repeat: no-repeat;
            &:last-child {
                margin: 0;
            }
        }
        .nav-contact {
            float: left;
            margin-right: 20px;
            .phone {
                display: inline-block;
                padding-left: 50px;
                background: url("../images/contact-icons.png") -6px top no-repeat;
                line-height: 48px;
                height: 48px;
                margin: 0 7px 0 0;
            }
            .fax {
                display: inline-block;
                padding-left: 50px;
                background: url("../images/contact-icons.png") -6px bottom no-repeat;
                line-height: 48px;
                height: 48px;
                margin: 0 7px 0 0;
                pointer-events: none;
                text-decoration:none;
                color:inherit;
            }
        }
        .nav-social {
            float: right;
            margin-top: 6px;
            a {
                display: inline-block;
                width: 36px;
                height: 36px;
                color: #fff;
                font-size: 16px;
                background: #a70240;
                text-align: center;
                line-height: 40px;
                border-radius: 18px;
                margin-right: 7px;
            }
        }
        .nav-flat {
            font-size: 12px;
            line-height: 48px;
            text-transform: uppercase;
            display: inline-block;
            a {
                display: inline-block;
                margin-right: 25px;
                position: relative;
                padding-left: 30px;
                background: url(../images/arrow.png) left 18px no-repeat;
                &:last-child {
                    margin: 0;
                }
            }
        }
    }
    .bottom-bar {
        border-top: 1px solid #0e151b;
        padding: 30px 0;
        margin: 12px 0 0;
        a {
            margin-right: 25px;
            display: inline-block;
        }
    }
}

.error-page {

    .inner-banner {
        height: auto;
    }
    .page-wrap {
        background: #fff;
        padding: 120px 0;
    }
    section {
        padding: 0 100px;
    }
    article {
        h1 {
            font-size: 46px;
            color: #17242d;
            @include avenir-light;
            text-transform: uppercase;
            margin: 0 0 20px;
        }
        img {
            display: block;
            margin: 70px 0 30px;
        }
        p {
            font-size: 18px;
            line-height: 20px;
            color: #17242d;
            @include avenir-light;
            margin: 0 0 30px;
        }
        a {
            font-size: 24px;
            color: $red;
            @include avenir-roman;
            text-transform: uppercase;
            position: relative;
            display: inline-block;
            padding-right: 50px;
            &:after {
                content: '';
                display: block;
                width: 21px;
                height: 7px;
                background: url(../images/btn-arrow.png);
                position: absolute;
                right: 0;
                top: 7px;
            }
        }
    }

}


.tooltip.show {
    opacity: 1;
}
.tooltip .tooltip-inner {
    background: #fff !important;
    color: #000;
    font-size: 12px;
    text-align: left;
    padding: 15px;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
}
.tooltip.bs-tether-element-attached-top .tooltip-inner:before{
    border-bottom-color: #fff !important;
}
.tooltip.bs-tether-element-attached-left .tooltip-inner:before {
    border-right-color: #fff !important;
}

// RESPONSIVE

@media screen and (min-width: 1442px) {

    .container {
        width: 1440px;
    }

    header .primary-menu nav {
        .nav {
            margin-left: 220px;
        }
    }

}

@media screen and (min-width: 1024px) and (max-width: 1366px) {

    .container {
        width: 1024px !important;
    }

}

@media screen and (min-width: 1024px) and (max-width: 1441px) {

    header .logo {
        margin-top: 6px;
    }
    header .secondary-menu {
        margin: 20px 0 18px;
        nav {
            font-size: 11px;
        }
        nav.nav-one {
            margin-right: 20px;
        }
        .nav-social {
            margin-left: 20px;
        }
    }
    header .primary-menu nav {
        font-size: 14px;
    }

    footer .col-md-2 {
        padding: 0 10px;
    }
    footer .widget h3 {
        font-size: 14px;
    }
    footer .widget ul {
        font-size: 10px;
    }
    footer .widget li {
        padding-left: 20px;
    }
    footer .widget .nav-flat {
        font-size: 10px;
    }
    footer .widget .nav-flat a {
        margin-right: 10px;
        &:after {
            right: -8px;
            top: 16px;
            height: 15px;
        }
    }
    footer .widget .nav-contact {
        margin-right: 0;
    }
    footer .col-md-5 {
        padding: 0;
    }

    .inner-banner {
        margin-top: 118px;
    }

    .error-page {
        .img-prop {
            max-width: 80%;
        }
        section {
            padding: 0;
        }
        article {
            h1 {
                font-size: 32px;
            }
            img {
                max-width: 80%;
                margin-top: 50px;
            }
            p {
                font-size: 14px;
                br {
                    display: none;
                }
            }
            a {
                font-size: 18px;
            }
        }
    }

}
