/* General */
.btn, .alert, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4, .mbr-figure .mbr-figure-caption, .mbr-gallery-title, .mbr-map [data-state-details], .mbr-price {
    font-family: 'Palanquin Dark', sans-serif;
}
li.nav-item.active>a {
    border-bottom: 2px solid #fd7e21;
    /* color: #55acbb !important; */
}
h3 {
    text-transform: uppercase;
}
.display-2 {
    font-weight: normal;
}
h3.display-2 {
    color: #193e4e;
}
h3.display-2 span {
    color: #fd7e21;
}
a {
    transition: all 0.3s ease;
}
a:focus, a:hover {
    text-decoration: none;
}
.on-mobile {
    display: none !important;
}
.lead a,.mbr-footer p a, .mbr-footer ul a, .mbr-small-footer a {
    transition: all 0.3s ease;
}
.lead a:hover, .mbr-footer p a:hover, .mbr-footer ul a:hover, .mbr-small-footer a:hover {
    color: #fd7e21;
}
.clearfix {
    clear: both;
}

/* Button */
.full-width-btn {
    width: 100%;
}
.zemSubmit {
    background-color: #193e4e !important;
    border-color: #193e4e !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}
.btn{
    text-transform: uppercase;
}
.btn-edit {
    color: #ffffff;
    background-color: #5bc0de;
    border-color: #46b8da;
}
.btn-edit:hover {
    background-color: #31b0d5;
    border-color: #269abc;
}
.btn-delete {
    color: #ffffff;
    background-color: #d9534f;
    border-color: #d43f3a;
}
.btn-delete:hover {
    background-color: #c9302c;
    border-color: #ac2925;
}
.top-section{
    margin-top: 70px;
}
.btn-collapse {
    margin-bottom: 0;
    border-radius: 0;
}
.angle-sign {
    top: -1px;
    position: relative;
}
.paginator-wrapper {
    margin-top: 70px;
}
.btn-right {
    float: right;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary.focus, .btn-secondary:active, .btn-secondary.active {
    background-color: #fd7e21;
    border-color: #fd7e21;
}
.zemSubmit:hover, .zemSubmit:focus, .zemSubmit.focus, .zemSubmit:active, .zemSubmit.active {
    background-color: #fd7e21 !important;
    border-color: #fd7e21 !important;
}
a.btn-slide[href=""] {
    display: none;
}

.mbr-overlay {
    opacity: 0.7;
    background-color: #000;
}


/* Topbar */
.topbar {
    background: #333333;
    padding: 2px 0;
}
.topbar p {
    margin-bottom: 0;
    font-size: 15px;
    color: #cbcbcb;
}
.top-contact-info {
    text-align: right;
}
.top-tel, .top-tel a {
    color: #ffffff;
}
.social-icons {
    margin-left: 8px;
}
.social-icons i{
    /*font-size: 16px;*/
    font-size: 24px;
}
.mob-tel {
    font-size: 1.5rem !important;
}
.link.mob-social-icons i {
    font-size: 3rem;
    margin-right: 5px;
}
.site-slogan {
    font-style: italic;
}

/* Nav */
nav {
    border-bottom: 1px solid #333333;
}
.navbar-dropdown .navbar-logo img {
    max-height: 35px;
    width: auto;
}
.nav {
    text-transform: uppercase;
}


/* Login */
.login-wrapper {
    border: 1px solid #e8e8e8;
    padding: 25px;
    margin-top: 70px;
}
.login-title {
    margin-bottom: 18px;
}

/* Secondary nav */
#secondary-nav {
    background: #193e4e;
    padding: 8px 0;
    color: #ffffff;
}
#secondary-nav p {
    margin-bottom: 0;
    font-size: 12px;
    text-align: right;
    margin-right: 21.3px;
}
#secondary-nav a {
    color: #a1d0d8;
    text-decoration: none;
}
#secondary-nav a:hover, .sn-active {
    border-bottom: 1px solid #a1d0d8;
}
#secondary-nav i {
    margin-right: 4px;
}

/* Home slider */
.home-caption {
    /*background: rgba(0,0,0,0.5);
    position: absolute;*/
    right: 0;
    z-index: 50;
    bottom: 0;
    padding: 20px 15px 15px 30px;
}
#slider-1 .mbr-section-hero .mbr-section-lead {
    margin-top: 0;
    font-weight: bold;
    /*font-size: 30px;*/
    /*color: #fd7e21;*/
    margin-bottom: 0;
    /*font-size: 50px;
    text-shadow: 1px 1px 10px #000;*/
    font-size: 40px;
    line-height: 52px;
    text-shadow: 2px 2px 10px #000;
}
#slider-1 a.btn.btn-secondary {
    /*box-shadow: 1px 1px 5px #000;
    -webkit-box-shadow: 1px 1px 5px #000;
    -moz-box-shadow: 1px 1px 5px #000;*/
    box-shadow: 2px 2px 10px #111;
    -webkit-box-shadow: 2px 2px 10px #111;
    -moz-box-shadow: 2px 2px 10px #111;
}
.btn-slide {
    margin-top: 20px;
}

/* About */
#about {
    /*padding-top: 80px;
    padding-bottom: 60px;*/
    padding-top: 50px;
    padding-bottom: 40px;
}

/* Services */
#services {
    padding-top: 0;
    /*padding-bottom: 100px;*/
    padding-bottom: 80px;
}
.service-img, .member-img {
    width: 100%;
    height: auto;
}
.service-title {
    background: #fd7e21;
    padding: 10px;
    text-align: center;
}
.service-box {
    color: #ffffff;
    transition: all 0.3s ease;
}
.service-box:hover{
    color: #333333;
    text-decoration: none;
}

/* Case studies + Company Vision*/
#company-vision {
    background: #333333;
}
.company-vision {
    color: #fff;
    margin-top: 50px;
    margin-bottom: 50px;
}
#case-studies {
    /*background: #193e4e;*/
    background: #333333;
}
.case-studies {
    color: #fff;
    margin-top: 50px;
    margin-bottom: 20px;
}
.case-study:nth-child(2n+1) {
    clear: both;
}
.cs-img {
    width: 100%;
    height: auto;
}
.case-studies h3, .company-vision h3 {
    margin-bottom: 40px;
    text-transform: uppercase;
}
.case-studies h6, .case-studies h6 a, .company-vision h6 {
    color: #fd7e21;
    font-family: 'Oxygen', sans-serif;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.client-loc {
    font-size: 13px;
    margin-bottom: 2px;
    font-weight: bold;
}
.case-studies-row {
    margin-bottom: 20px;
}
.cs-featured-img-wrapper, .vs-featured-img-wrapper{
    padding: 0;
}
.cs-featured-img, .cv-featured-img {
    width: 100%;
    min-height: 410px;
    background-size: cover !important;
    background-position: center !important;
    margin-bottom: 0;
}
.cv-featured-img {
    min-height: 540px;
}

/* Testimonials */
#testimonials h3 {
    color: #fff;
    font-weight: normal;
}
#testimonials p {
    color: #333333;
    font-size: 16px;
    line-height: 26px;
    text-align: left;
        margin-left: 40px;
}
.testimonial-text {
    color: #333333;
    font-size: 16px;
    line-height: 26px;
    text-align: left;
    margin-left: 50px;
}
.testimonial-text p:before {
    content: '\201C';
    left: -50px;
    position: relative;
    font-size: 50px;
    top: 20px;
    font-family: 'Lily Script One', sans-serif;
    color: #fd7e21;
}
.mbr-author-name {
    color: #fd7e21;
    font-family: 'Oxygen', sans-serif;
}
.mbr-author-desc {
    color: #fff;
}

/* Top section header */
.top-section-header {
    margin-top: 110px;
}
.title-wrapper {
    position: relative;
}
#page-title h3 {
    /*color: #fff;*/
    /*font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 0;
    text-shadow: 0px 0px 1px #fff, 0px 0px 1px #fff;*/
    color: #fd7e21;
}
/*#page-title h3 span {
    color: #fd7e21;
    text-shadow: none;
}*/

/* About page */
.member-info {
    padding: 20px 10px 15px 10px;
    text-align: center;
    background: #a1d0d8;
    color: #193e4e;
}
.member-info a:not(.btn) {
    color: #193e4e;
}
.member-info a:not(.btn):hover {
    color: #061014;
    text-decoration: none;
}
.member-info p {
    font-size: 13px;
}
.member-img-popup {
    width: 40%;
    height: auto;
    float: left;
    margin-right: 40px;
    margin-bottom: 15px;
}
.member-popup {
    background: #fff;
    padding: 50px;
    position: relative;
}
.lity-close { /* lity.js's modified */ 
    position: absolute;
    float: right;
    color: #fd7e21;
    font-size: 60px;
    margin: 20px;
    transition: all 0.3s ease;
    text-shadow: none;
}
.lity-close:hover {
    color: #193e4e;
    font-size: 60px;
    text-shadow: none;
}
.member-popup .member-info {
    padding: 0;
    text-align: left;
    background: #fff;
}
.member-profile p {
    color: #333333;
}
.member-info i {
    text-shadow: 1.5px 1.5px 4px #353535;
    color: #fff;
    transition: all 0.3s ease;
}
.member-info i:hover, .member-popup .member-info i:hover {
    color: #333333;
}
.member-popup .member-info i {
    color: #193e4e;
    text-shadow: none;
}

/* Service page + Inner page */
.service-carousel, .inner-page-featured-image {
    width: 50%;
    float: right;
    margin: 0 0 20px 30px;
}
.inner-page-featured-image img {
    width: 100%;
    height: auto;
}

/* News page */
.news-wrapper h6 {
    font-size: 20px;
        color: #193e4e;;
}
.news-wrapper .footer-news-wrapper {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 15px;
}
/*.news-wrapper .news-date {
    font-size: 12px;
    color: #fd7e21;
}*/

/* Contact page */
.contact-wrapper h4 {
    margin-bottom: 40px;
}
.contact-info-wrapper p {
    font-size: 14px;
}
.map {
    height: 200px;
    width: 90%;
}
.zemThanks {
    color: green;
    font-weight: bold;
    font-size: 25px;
    margin-top: 50px;
}
.zemError {
    color: red;
    font-weight: bold;
    font-size: 25px;
    margin-top: 50px;
}
.form-control, .zemContactForm input, .zemContactForm textarea {
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #55595c;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: .25rem;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/* Upload */
.upload-field{
    background: #f3f3f3;
    border: 1px solid #e8e8e8;
    color: #444;
    font-size: 15px;
    font-weight: 400;
    padding: 10px 12px;
    width: 100%;
    border-radius: 3px;
}
form small {
    display: block;
    font-size: 10px;
    color: gray;
    margin-bottom: 8px;
    margin-top: -7px;
}

/* View all files */
table th {
    background: #f3f3f3;
}
.all-files-head {
    display: none;
}
.docs-and-links {
    margin-top: 50px;
}
.docs-and-links h4{
    margin-bottom: 3px;
    text-align: left;
    text-transform: uppercase;
    font-size: 20px;
    position: relative;
}
.docs-and-links h4 i{
    float: right;
    margin-top: 3px;
    top: 0;
    right: 0;
    position: absolute;
}
.docs-and-links .collapse-box {
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    padding: 20px;
}
.docs-and-links-panel {
    margin-bottom: 10px;
}

/* Contact section */
#contact-section h4 {
    color: #fd7e21;
    font-family: 'Oxygen', sans-serif;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 40px;
}
#contact-section h6{
    font-family: 'Oxygen', sans-serif;
    font-weight: bold;
}
.footer-news-wrapper {
    margin-bottom: 30px;
}
p.news-date {
    font-style: italic;
    font-size: 13px;
    margin-bottom: 2px;
}

/* Trade logos */
.trade-logos {
    margin-top: 20px;
    margin-bottom: 20px;
}
.trade-logo-wrapper{
    height: 85px;
    width: 160px;
    white-space: nowrap;
    text-align: center;
    margin: 0 auto;
}
.trade-logo-helper{
    vertical-align: middle;
    display: inline-block;
    height: 100%;
}
.trade-logo {
    width: 100%;
    vertical-align: middle;
}



.mbr-slider .carousel-indicators{
    display: none;
}
.service-slide {
    width: 100%;
    height: auto;
}
.paginator-wrapper .disabled {
    display: none;
}



/*--- Responsive ---*/
@media (max-width: 1200px){
    /* Nav bar */
    #ext_menu-0 .link {
        font-size: 0.7rem;
    }
    .nav-dropdown .link {
        margin: 0.667em;
    }
    .social-icons i {
        font-size: 20px;
    }
    .social-icons {
        margin-left: 0;
    }
@media (max-width: 992px){
    /* Top bar */
    .topbar p {
        font-size: 14px;
    }
    /* Services */
    .service-box-wrapper, .team-box-wrapper {
        margin-bottom: 30px;
    }
    /* Case studies */
    .cs-featured-img, .cs-img, .cv-featured-img {
        display: none;
    }
    /* Contact */
    .map {
        width: 100%;
    }
    .contact-form {
        margin-top: 70px;
    }
}
@media (max-width: 768px){
    .on-desktop {
        display: none !important;
    }
    .on-mobile {
        display: block !important;
    }
    .btn-right {
        float: none;
    }
    .btn-left, .btn-right {
        width: 100%;
    }
    /* Topbar */
    .topbar {
        display: none;
    }
    /* Nav */
    li.nav-item.active>a {
        border-bottom: none;
        background: #f7f7f7;
    }
    /* Slider */
    /*#slider-1 .mbr-section-hero .mbr-section-lead {
        margin-bottom: 10px;
    }*/
    #slider-1 .mbr-section-hero .mbr-section-lead {
        line-height: 30px;
    }
    .btn-slide {
        margin-top: 10px;
    }
    /* Heading */
    .top-section-header {
        margin-top: 90px;
    }
    /* Testimonials */
    .testimonial-text{
        margin-left: 0;
    }
    .testimonial-text p:before{
        display: none;
    }
    #testimonials p {
        margin-left: 0;
    }
    /* About page */
    .member-img-popup {
        /*width: 100%;*/
        width: 50%;
        height: auto;
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .member-popup {
        padding: 20px;
    }
    .member-profile {
        overflow-y: scroll;
    }
    /* Service page + Inner page */
    .service-carousel, .inner-page-featured-image {
        width: 100%;
        float: none;
        margin: 0 0 50px 0;
    }
    /* Secondary nav */
    .welcome-user {
        display: block;
    }
    #secondary-nav p {
        text-align: center;
    }
    /* All files */
    .all-files-btn {
        display: none;
    }
    .all-files button{
        padding-left: 18px;
        padding-right: 18px;
    }
    .all-files-head {
        display: block;
    }

    #slider-1 .carousel-control {
        display: none;
    }
}