/********** Media Queries *****************************************************/

@media only screen and (max-width: 1280px) {
    #header:not(.sticky-nav) .logo {
        padding: 20px 15px;
    }
    #header:not(.sticky-nav) .logo img {
        width: 180px;
    }
    #top-nav ul {
        margin-right: 6px;
    }
    #header .container {
        width: 95%;
    }
}
@media only screen and (max-width: 1000px) {
    #header .container {
        width: 100%;
    }
    #header.sticky-nav .container, #header.menu-opened .container {
        height: 46px;
        line-height: 46px;
    }
    #header:not(.sticky-nav) .logo {
        left: 15px;
        padding: 13px 15px;
    }
    #header:not(.sticky-nav) .logo img {
        width: 150px;
        height: 130px;
    }
    #header .icon-menu {
        position: absolute;
        display: block;
        cursor: pointer;
        z-index: 9999;
        width: 48px;
        height: 46px;
        right: 0px;
        top: 0;
        background: #FFF;
    }
    #header .icon-menu i,
    #header .icon-menu:after,
    #header .icon-menu:before {
        position: absolute;
        top: 10px;
        left: 10px;
        height: 5px;
        width: 30px;
        content: '';
        background: #ff9a00;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }
    #header .icon-menu i {
        top: 20px;
    }
    #header .icon-menu:after {
        top: 30px;
    }
    #header .icon-menu.menu-opened:before {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 10px;
        left: 15px;
    }
    #header .icon-menu.menu-opened i {
        width: 0%;
        opacity: 0;
    }
    #header .icon-menu.menu-opened:after {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 32px;
        left: 15px;
    }
    #top-nav {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        z-index: 0;
        top: 46px;
        right: 0;
        width: 100%;
        max-width: 322px;
        background: #ff9b00;
        padding: 0;
    }
    #top-nav.menu-opened {
        visibility: visible;
        z-index: 999;
        opacity: 1;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }
    #top-nav > ul {
        margin: 0;
        float: none;
        padding: 0;
        display: block;
    }
    #top-nav > ul > li {
        display: block;
        float: none;
        margin: 0;
    }
    #top-nav > ul > li a,
    #top-nav > ul > li span,
    #top-nav .btn {
        padding: 15px 10px;
        margin: 0;
        text-align: center;
        color: #FFF;
        font-size: 18px;
        display: block;
        width: 100%;
        border-bottom: 1px solid #FFF;
    }
    #top-nav .btn {
        border: 0;
    }
    #top-nav ul li.active a, #top-nav ul li:hover a,#top-nav .btn:hover {
        color: #285a60;
    }
    #header.sticky-nav #top-nav {
        padding: 0;
    } 
    #header.sticky-nav .logo {
        left: 10px;
        width: 36px;
    }
    #header.sticky-nav .logo img {
        width: 35px;
        height: 35px;
    }
    
    #page_hero, #page_hero img {
        height: 430px;
        min-height: 430px;
        margin-top: 0;
    }
    #header.sticky-nav + #page_hero img {
        margin-top: 46px;
    }
    #page_hero:after, .section.testims:after, .section.story:after, .advantages-section:after {
        border-top-width: 38px;
    }
    #page_hero .hero-txt {
        bottom: 78px;
    }
    #page_hero .hero-txt h5 {
        width: calc(100% - 150px);
        font-size: 30px;
        line-height: 34px;
    }
    .section.some-details {
        padding-top: 55px;
    }
    .container {
        width: calc(100% - 70px);
    }
    .case-study-details {
        padding-left: 55px;
    }
    #book-consultation-form .field {
        width: 50%;
    }
    #book-consultation-form {
        max-width: 480px;
        margin: 0 auto;
        position: relative;
    }
    .section {
        padding: 40px 0;
    }
    .find-consultant .custom-select {
        min-width: inherit;
    }
    .consultant-details .left-wrap {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }
    .consultant-details .right-details {
        width: 100%;
        padding-left: 0;
    }
    .section.consultant-details {
        padding-top: 70px;
    }
    .section.story:last-child:after, .section.cta-addition:after {
        border-bottom-width: 25px;
    }
    .section.story:last-child {
        padding-top: 60px;
    }
    .section .sub-section, .section .text-container {
        margin-bottom: 40px;
    }
    .advantages .box {
        padding: 0 15px;
    }
    .section .watermark {
        right: -25%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    #page_hero {
        height: auto;
        min-height: inherit;  
        padding-top: 150px;
    }
    #page_hero img {
        height: 150px;
        min-height: 150px;
    }
    #page_hero .hero-txt {
        position: relative;
        background: #13808f;
        bottom: 0;
        padding: 30px 0;
    }
    #page_hero:after, .section.testims:after, .section.story:after, .advantages-section:after {
        border-top-width: 15px;
    }
    .section.story:last-child:after {
        border-bottom-width: 15px;
    }
    #page_hero .hero-txt h5 {
        width: calc(100% - 40px);
        font-size: 20px;
        line-height: 24px;
    }
    #page_hero:after {
        top: 135px;
        bottom: auto;
        border-left-color: #13808f;
        border-right-color: #13808f;
    }
    .section h3, .book-consultation p, .blog-article h1 {
        font-size: 22px;
        line-height: 26px;
    }
    .section h4, html .bottom-forms h5, .consultant-details .left-wrap h5, .advantages-section .subtitle, .advantages-section .contact-us {
        font-size: 20px;
        line-height: 22px;
    }
    .sub-section.how-help {
        margin-top: 70px;
    }
    .how-help .items .item {
        width: 100%;
        padding: 0;
        margin: 0 0 40px;
    }
    .how-help .item .icon {
        max-width: 224px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 15px;
    }
    .video-testim .video {
        width: 100%;
        height: 234px;
    }
    .book-consultation h3 {
        font-size: 30px;
        line-height: 33px;
    }
    .container {
        width: calc(100% - 30px);
    }
    #book-consultation-form .field {
        width: 100%;
    }
    .input-field, .custom-select {
        margin-left: auto;
        margin-right: auto;
    }
    .testims-slider .testim:after {
        display: none;
    }
    .testims-slider .testim {
        padding: 0 0 50px;
    }
    .bx-wrapper .bx-pager {
        left: 0;
    }
    .section.testims {
        padding-bottom: 70px;
    }
    .bottom-forms form {
        width: 100%;
        float: none;
        padding: 0;
        text-align: center;
        margin: 0 0 60px;
    }
    .bottom-forms h5 {
        text-align: center;
    }
    #footer .social {
        float: none;
        text-align: center;
    }
    .footer-copyright p {
        text-align: center;
    }
    .footer-copyright {
        padding: 10px 0;
    }
    .phase-detail {
        margin-left: 20px;
    }
    .team-container .consultant {
        width: 100%;
        margin-bottom: 20px;
    }
    .back-page {
        padding: 0;
    }
    .back-page .container {
        padding-top: 30px;
    }
    .section.bottom-forms {
        padding-top: 50px;
    }
    .section.story .container {
        padding-left: 0;
    }
    .case-study-details {
        padding-left: 0px;
    }
    .case-study-details .item .icon {
        position: relative;
        left: 0px;
        top: 0px;
        width: 100%;
        text-align: center;
    }
    .case-study-details .item .icon img {
        display: inline-block;
        margin-bottom: 10px;
    }
    .section h5, .business_programme h4, .blog-item .blog-details h3 {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 10px;
    }
    .case-study-details .item ul li:before {
        border-left-width: 12px;
    }
    .advantages .box {
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }
    .advantages .box .icon {
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .advantages-section + .testims {
        padding-bottom: 20px;
    }
    .blog-item {
        width: 100%;
        margin: 0;
        margin-bottom: 30px;
        float: none;
    }
    .blog-articles .container {
        display: block;
    }
    .blog-article .container {
        padding: 30px 0;
    }
    .blog-article-page #page_hero:after {
        display: none;
    }
    .section .watermark {
        right: -16%;
    }
}
@media only screen and (max-width: 540px) {
    #top-nav {
        max-width: 100%;
    }
    #header.menu-opened .logo {
        position: absolute;
        left: 10px;
        top: 0;
        height: 100%;
        overflow: hidden;
        height: 100%;
        line-height: 100%;
        font-size: 0;
        width: 36px;
        padding: 0;
        display: inline-block;
        background: url(../images/small-logo.png) no-repeat left center;
        background-size: contain;
        -webkit-box-shadow: 0px 0px 0px 0px rgba(34, 34, 34, 0);
        -moz-box-shadow: 0px 0px 0px 0px rgba(34, 34, 34, 0);
        box-shadow: 0px 0px 0px 0px rgba(34, 34, 34, 0);
    }
    #header.menu-opened .logo img {
        width: 35px;
        height: 35px;
        opacity: 0;
    }
    
}