/*
Theme Name: svs
Theme URI: http://underscores.me/
Author: Abid Omar
Author URI: http://omarabid.com
Description: Custom Theme for SVS.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: svstheme
Domain Path: /languages/
Tags:

*/

/* The Main Styles */
@import "files/css/screen.css";
@import "files/css/print.css";


/* Add any custom CSS here */

/* Form Styles */

.popup_form h2 {
    padding-right: 20px;
}

.frm_forms FORM .frm_form_fields FIELDSET label.frm_primary_label{
    font-size: 1.2em;
}
.page-template-template--blank-php HEADER .main_nav, .page-template-template--paypal-payments-php HEADER .main_nav{
    display: none;
}
.page-template-template--blank-php header, .page-template-template--paypal-payments-php header{
    height: auto;
}
.form-field{
    margin-top: 10px;
    margin-bottom: 20px;
}

.frm_pos_top{
    margin: 20px 0 20px 0;
    border-bottom: #00415a solid 1px;
    font-size: 1.5em;
}

.frm_forms FORM .frm_form_fields INPUT[type="email"], .frm_forms FORM .frm_form_fields INPUT[type="number"] {
    font-family: "Raleway", sans-serif;
    border-color: #e3e3e3;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
}
.frm_forms FORM .frm_form_fields INPUT[type="tel"], .frm_forms FORM .frm_form_fields INPUT[type="email"] {
    font-family: "Raleway",sans-serif;
    border-color: #e3e3e3;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
}

/*Employment Form Styles (Blank Template) */

.page-template-template--blank-php INPUT[type="button"], .page-template-template--blank-php INPUT[type="submit"] {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 400;
    padding: 8px 20px;
    top: 2px;
    position: relative;
    background-color: #39BFD7;
    background-image: -ms-linear-gradient(top, #39bfd7 0%, #006f91 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#39BFD7', endColorstr='#006F91');
    background: -moz-linear-gradient(top, #39bfd7 0%, #006f91);
    background: -webkit-gradient(linear, left top, left bottom, from(#39bfd7), to(#006f91));
    background-image: linear-gradient(to bottom, #39bfd7 0%, #006f91 100%);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 0px solid #6d8000;
    -moz-box-shadow: 1px 1px 4px rgba(0, 6, 0, 0.5), inset 0px 0px 0px rgba(255, 255, 255, 0);
    -webkit-box-shadow: 1px 1px 4px rgba(0, 6, 0, 0.5), inset 0px 0px 0px rgba(255, 255, 255, 0);
    box-shadow: 1px 1px 4px rgba(0, 6, 0, 0.5), inset 0px 0px 0px rgba(255, 255, 255, 0);
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2), 0px 1px 0px rgba(255, 255, 255, 0.4);
    margin: 20px 10px;
}

.pageof5{
    padding: 5px 10px;
    width: 105%;
    background-color: #003c53;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
}

.page-template-template--blank-php FOOTER .brands, .page-template-template--blank-php FOOTER .info_links, .page-template-template--paypal-payments-php FOOTER .brands, .page-template-template--paypal-payments-php FOOTER .info_links{
    display: none;
}

.relative-container-blank-page{
    max-width: 980px;
    margin: auto;
    position: relative;
}

.relative-container-blank-page h1{
    text-align: center;
    margin: 20px;
}

.client-screening-logo{
    position: absolute;
    top: -145px;
    right: 0;
}

.client-screening-logo img{
    width: 100px;
}

.page-template-template--blank-php .container_10 .grid_6{
    display: none;
}

/* PayPal Styles */

.col4{
    width: 100%;
    float: left;
    padding-bottom: 40px;
}

.paypal_submit{
    margin-bottom: 40px;
}

#accept_paypal_payment_form FORM.paypal_form_fields div INPUT[type="text"] {
    font-family: "Raleway", sans-serif;
    border-color: #e3e3e3;
    border-radius: 5px;
    padding: 10px;
    width: 95%;
}

#accept_paypal_payment_form FORM.paypal_form_fields INPUT[type="text"] {
    font-family: "Raleway", sans-serif;
    border-color: #e3e3e3;
    border-radius: 5px;
    padding: 10px;
    width: 95%;
}

.paypal-container{
    width: 100%;
    text-align: center;
}

.page-template-template--paypal-payments-php .container_10 .grid_6{
    display: none;
}

.page-template-template--paypal-payments-php .paypal{
    height: 125px;
    background-image: url(files/img/paypal.png);
    width: 330px;
    float: right;
    background-size: cover;
}





/**
 * Homepage carousel styling
 */

.homepage__slides .carousel__slide {
    height: 400px;
    background: top center no-repeat;
}

@media all and (max-width: 480px) {
    .homepage__slides .carousel__slide {
        height: 280px;
        background-size: 1129px 240px;
    }
}

    .homepage__slides .container,
    .homepage__slides + .container {
        max-width: 960px;
        margin: 0 auto;
    }


    .homepage__slides + .container .s-nav {
        z-index: 9;
    }

    @media all and (max-width: 480px) {
        .homepage__slides + .s-nav {
            display: none;
        }
    }

        .homepage__slides .carousel__slide h2 {
            color: #68716d;
            font-size: 2.2em;
            text-shadow: 0 2px 1px rgba(255,255,255,0.5);
            padding: 100px 0 0;
            margin: 0;
            max-width: 250px; /* Get the text to flow over multiple lines to avoid clashing with the images(s) */
        }

        @media screen and (max-width: 480px) {
            .homepage__slides .carousel__slide h2 {
                font-size: 1.7em;
                text-shadow: none;
                color: #00356b;
                padding: 10px 20px;
                margin: 0;
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                max-width: 480px;
                background: #c5d012;
                text-align: center;
            }
        }


.homepage__slides .owl-controls {
    max-width: 960px;
    margin: -50px auto 0;
    height: 50px;
    position: relative;
    z-index: 999;
}

    .homepage__slides .owl-dot {
        display: inline-block;
        border: 2px solid #CCC;
        height: 20px;
        width: 20px;
        margin: 4px;
        background: #FFF;
        border-radius: 3px;
    }

    .homepage__slides .owl-dot.active {
        border-color: #d6cf4f;
    }

    @media screen and (max-width: 480px) {
        .homepage__slides .owl-controls {
            position: absolute;
            top: 70px;
            width: 100%;
        }

        .owl-dots {
            text-align: center;
        }
    }




/***
Szymon fixes
***/


/*  #1876 */
.button {
    white-space: nowrap;
}
/*  #1873  */
aside.sector_box .tick {
    white-space: nowrap;
}

/*  1862  */
FOOTER .info_links .newsletter_signup FORM .frm_submit {
    vertical-align: top;
    margin-top: 9px;
}

/* 1780  - link fix */
.home_plinks .container_10 .grid_5 A {
    background-color: #fff;
    opacity: 0;
}
/* fix IE bug when a overlay text */
.top-menu a {
    background-color: #fff;
    opacity: 0;
}

/* IE fix border around checkbox and radio button */
.frm_forms FORM .frm_form_fields INPUT[type="checkbox"],
.frm_forms FORM .frm_form_fields INPUT[type="radio"] {
    border: none;
}

/* IE missing phone in header fix */
HEADER .top_block .call_us {
    bottom: 30px;
    position: absolute;
    right: 15px;
    left: auto;
}

/* Fix1771 */
HEADER NAV.social_bar UL LI A {
    background-color: #fff;
    opacity: 0;
}

/* Fix logo align to */
HEADER .top_block .logo {
    background-position: left center;
}




@media screen and (max-width: 480px) {

    /* #1870 */
    .num_options li {
        width: 95px;
    }
    .num_options.left_options li.hline {
        left: -1800px;
    }
        .num_options li SPAN.label {
            line-height: 1.25;
        }

    /* #1869 */

    /* Close button */
    BODY .clients_showcase .sub_section UL .three_wrapper LI .quote_wrapper .close_btn {
        top: -50px;
    }
    /* image */
    BODY .clients_showcase .sub_section UL .three_wrapper LI .quote_wrapper .quote_content IMG {
        left: 0;
        position: static;
        margin: 15px auto 20px auto;
        display: block;
    }
    /* Quite tag */
    BODY .clients_showcase .sub_section UL .three_wrapper LI .quote_wrapper .quote_content .fa-quote-left {
        color: #fff;
        font-size: 5em;
        position: static;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
    }
    /* Title */
    BODY .clients_showcase .sub_section UL .three_wrapper LI .quote_wrapper .quote_content H2 {
        display: block;
        margin-top: 10px;
        margin-bottom: 15px;
        position: static;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
    }
    /* Text */
    BODY .clients_showcase .sub_section UL .three_wrapper LI .quote_wrapper .quote_content .quote {
        position: static;
        top: 0;
        text-align: center;
        left: 0;
        font-family: inherit;
        font-size: 1.2em;
        color: #fff;
        width: 270px;
        word-break: break-word;
        font-style: italic;
        display: block;
        padding: 0;
        margin: 0 auto;
    }
    /* Cred */
    .clients_showcase .sub_section UL .three_wrapper LI .quote_wrapper .quote_content .cred {
        position: static;
        color: #fff;
        display: block;
        left: 0;
        bottom: 0;
    }

        BODY .clients_showcase .sub_section UL .three_wrapper LI .quote_wrapper .quote_content .name {
            font-weight: 700;
            color: #fff;
            display: block;
            position: static;
            bottom: 100px;
            left: 0;
            width: 100%;
            text-align: center;
            margin-top: 25px;
            padding: 0;
        }
        BODY .clients_showcase .sub_section UL .three_wrapper LI .quote_wrapper .quote_content .title {
            position: static;
            bottom: 0;
            left: 0;
            width: 80%;
            text-align: center;
            color: #fff;
            display: block;
            margin: 0 auto;
            display: block !important;
        }

    /* #1871 */
    body {
        -webkit-text-size-adjust: 100%;
    }
    /* 1867 */
    FOOTER .brands UL {
        overflow: hidden;
    }
    FOOTER .brands UL LI {
        padding: 25px 8px;
        max-width: 30%;
    }



    /*  #1863  */

    /* Title - before expand */
    BODY aside.sector_box H2 {
        padding-top: 2px;
    }
    /* tick */
    BODY aside.sector_box .tick {
        margin-top: 90px;
        margin-bottom: 15px;
        position: static;
        top: 0;
    }
    /* arrow */
    BODY aside.sector_box .tick .arrow {
        position: relative;
        left: 145px;
        top: -25px;
        display: block;
        margin-bottom: -25px;
    }
    /* text */
    BODY aside.sector_box P {
        padding: 0 20px;
        position: static;
        top: 0;
    }
    /* button */
    BODY aside.sector_box .bottom {
        bottom: 0;
        margin-top: 35px;
        position: static;
    }


    /* #1864 */
    aside.sector_box:hover {
        cursor: auto;
    }

    /*  1865  */

    /* fix z-index wich conflict with nav */
    .home_plinks .container_10 .grid_5 A {
        z-index: 9;
    }
    /* remove divider */
    .home_plinks .container_10 .grid_5.ch_right .sep {
        display: none;
    }
    /* position for  h2, sapn, tick */
    .home_plinks .container_10 .grid_5.ch_right H2,
    .home_plinks .container_10 .grid_5.ch_right SPAN  {
        left: 50px;
    }
    BODY .home_plinks .container_10 .grid_5.ch_right .fa-bg {
        left: 0;
    }

    /* ### remove left nav from silder in mobile view */
    .s-nav {
        display: none;
    }


    /*  #1868  */
    /* correct naw width to 480px */
    BODY HEADER .mobile_nav > UL > LI.tap_btn .mnav_menu {
        width: 480px;
    }
    /* chang width of element which have children */
    BODY HEADER .mobile_nav > UL > LI.tap_btn .mnav_menu > UL > LI.menu-item-has-children .top-menu,
    BODY HEADER .mobile_nav > UL > LI.tap_btn .mnav_menu > UL > LI.menu-item-has-children .top-menu A {
        width: 260px;
    }
    /* adjust arrow block */
    BODY HEADER .mobile_nav > UL > LI.tap_btn .mnav_menu > UL > LI I.fa {
        height: 45px;
        left: 270px;
        position: absolute;
        top: 0;
        width: 50px;
        padding-top: 6px;
    }

    /* fix aside-image align to center */
    BODY aside.img_box {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /*  1866
    fixed by jquery -> main.js
    find class "about-CRD" to see solution
    */

}

/**
 * #2276 Amending search field in popup search (Firefox)
 */

HEADER NAV.social_bar UL LI.search-toggle .toggle-div INPUT {
    padding: 0 11px;
}

/**
 * #2275 Centered content when there is no result on search page
 * Also dd style to 404 page
 */

.search   .page-content,
.error404 .page-content {
    margin: 10px auto;
    max-width: 960px;
    text-align: center;
}
.error404 .page-content {
    margin: 50px auto;
}
.search   .page-content INPUT,
.error404 .page-content INPUT {
    border: 1px solid #e3e3e3;
}
.search   .page-header,
.error404 .page-header,
.error404 .page-content .widget {
	display: none;
}


/**
 * Amending homepage links to be centered
 */

.home_plinks .container_10 .grid_5.ch_right .fa-angle-right { left: 430px; }
.home_plinks .container_10 .grid_5.ch_right:hover .fa-angle-right { left: 435px; }
.home_plinks .container_10 .grid_5.ch_right h2,
.home_plinks .container_10 .grid_5.ch_right span { left: 120px; }
.home_plinks .container_10 .grid_5.ch_right .fa-check-square-o { left: 50px; }
.home_plinks .container_10 .grid_5.ch_right .sep { left: 0; }

.frm_forms label.frm_hidden{
    display:none !important;
}

/*Serenity Digital*/
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}
table thead tr {
    background: #00415a;
    color: #fff;
    font-weight: bold;
}
table thead tr th {
    padding: 1em;
    border: 1px solid #00415a;
}
table tbody tr td{
    border: 1px solid #e4e4e4;
    padding: 1em;
}

@media (max-width: 600px) {
    table tr,
    table tbody,
    table thead{
        display: block;
        float: left;
    }
    table th,
    table td {
        display: block;
    }
}

.idv_banner.featured_image {
    height: auto;
    padding-bottom: 2em;
    background: #6ba9b5;
    margin-bottom: 0;
}
.idv_banner .container_10{
    text-align: center;
}
.idv_banner .grid_10{
    display: flex;
    float: none;
    margin: 0;
    flex-wrap: wrap;
}
.idv_banner .column {
    padding: 10px;
    text-align: center;
    width: 25%;
}
.idv_banner .column p {
    color: #00415a;
    font-weight: bold;
}
.idv_banner .column .image {
    width: 100px;
    border: 2px solid #00415a;
    display: inline-block;
    border-radius: 4px;
    overflow: hidden;
}
.idv_banner .column .image img {
    display: block;
}

.idv_process {
    background: #eee;
    margin-bottom: 2em;
    border-bottom: 2px solid #00415a;
}
.idv_process .container_10{
    text-align: center;
    padding-bottom: 2em;
}
.idv_process .logos {
    margin: 0 auto;
    display: block;
    margin-bottom: 2em;
    display: flex;
    align-items: center;
}
.idv_process .logos .column {
    width: 33.33%;
}
.idv_process .logos .idv_logo {
    width: 220px;
}
.idv_process .logos .post_office_logo {
    width: 110px;
}
.idv_process .logos .yoti_logo {
    width: 140px;
}

.idv_process .columns {
    display: flex;
    float: none;
    flex-wrap: wrap;
}
.idv_process .grid_10 {
    float: none;
}
.idv_process .column {
    padding: 10px;
    text-align: center;
    width: 33.33%;
}
.idv_process .column p {
    color: #00415a;
    font-weight: bold;
}
.idv_process .column .image {
    border: 2px solid #d6cf4f;
    border-radius: 100%;
    display: inline-block;
    margin: 0 10px 10px 10px;
    overflow: hidden;
    background: #fff;
}
@media (max-width: 600px) {
    .idv_process .column,
    .idv_banner .column {
        width: 50%;
    }
}

.sub_carousel_links {
    border-top: 1px solid #c5d012;
    border-bottom: 1px solid #c5d012;
}
.sub_carousel_links .grid_10 {
    float: none;
}
.sub_carousel_links .columns {
    display: flex;
}
.sub_carousel_links .columns .column {
    width: 33%;
    padding: 1em;
    display: flex;
    /*align-items: center;*/
    border-right: 1px solid #9ea398;
}
.sub_carousel_links .columns .column:last-child {
    border: none;
}
.sub_carousel_links h2 {
    font-weight: 600;
    line-height: 1.2em;
    margin-bottom: 0.5em;
    transition: color .3s;
}
.sub_carousel_links .fa {
    color: #9ea398;
    font-size: 3em;
    margin-right: .5em;
    transform-origin: top;
    transition: transform .3s;
}
.sub_carousel_links p {
    padding-bottom: 0;
    color: #9ea398;
}
.sub_carousel_links .columns .column:hover h2 {
    color: #6ba9b5;
}
.sub_carousel_links .columns .column:hover .fa {
    transform: scale(1.1);
}
@media (max-width: 600px) {
    .sub_carousel_links .columns {
        flex-wrap: wrap;
    }
    .sub_carousel_links .columns .column {
        width: 100%;
        border: none;
    }
}

FOOTER .brands UL LI {
    max-width: 150px;
    vertical-align: middle;
}

.mfp-wrap {
    z-index: 99999 !important;
}

.form_two_fields {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 15px 0;
    gap: 4%;
}
.form_two_fields .form-field {
    margin: 0;
    width: 50%;
}

.error_message {
    color: #a10c0c;
    border: 1px solid #a10c0c;
    padding: 10px;
    margin-bottom: 20px;
}
.error_message.hidden {
    display: none;
}
.error_message .header {
    font-weight: 700;
    margin-bottom: 10px;
    color: #a10c0c;
}
.error_message ul {
    list-style: disc;
    padding-left: 20px;
}

.form_section {
    background: #f8f8f8;
    padding: 10px;
}
.form_section .frm_form_field:last-child {
    margin-bottom: 0;
}
.twitter {
    height: 26px;
    top: -2px;
    position: relative;
}