/*
Theme Name: General Business 1
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */
.fl-photo-content.fl-photo-img-png a:hover {
    opacity: .5;
}

/*Typography*/
*,
h1,
h2,
h3,
h4,
h5,
p{
    font-family: termina, sans-serif;
}

.sticky-bar{
    position: fixed;
    bottom: 0;
    display: none;
    z-index: 99999;
    width: 100%;
    text-align: center;
}

.sticky-bar h4{
    display: inline-block;
}

@media(min-width: 1025px){
    .sticky-bar{display: block;}
}



h1 {
        font-size: 38px;
        line-height: 50px;
    }

    h2 {
        font-size: 32px;
        line-height: 44px;
    }

    h3 {
        font-size: 22px;
        line-height: 32px;
    }

    h4 {
        font-size: 20px;
    }



@media(min-width: 1025px){
    h1 {
        font-size: 68px;
        line-height: 80px;
    }

    h2 {
        font-size: 42px;
        line-height: 54px;
    }

    h3 {
        font-size: 32px;
        line-height: 42px;
    }

    h4 {
        font-size: 20px;
    }
}
/*
.contact-bar > .fl-row-content-wrap {
        background-color: #eef1f2;
        background-color: rgba(238,241,242, 1);
        background: linear-gradient( to bottom, #ceb32b 0%, #ceb32b 25%, #eef1f2 20%, #eef1f2 100% );
}*/

.fl-node-5926c43446b3b{max-width: 100%;}

/*Home contact bar*/
@media(min-width: 1025px){
    /*.contact-bar > .fl-row-content-wrap {
        background-color: #eef1f2;
        background-color: rgba(238,241,242, 1);
        background: linear-gradient( to right, #ceb32b 0%, #ceb32b 20%, #eef1f2 20%, #eef1f2 100% );
    }*/
}
/* Footer Navigation 1*/

.site-credits-footer{
    font-size: 14px;
    padding: 15px;

}
.site-credits-footer a{
    padding: 15px;
    color: #39423f;
}
.site-credits-footer a:first-child{
    padding-left: 0px;
}

.site-credits-footer a:hover{
    color: #fff;
}

.footer-nav a{
 font-weight: 600;
 font-size: 16px;
 color: #39423f;
 text-transform: uppercase;
}

.footer-nav .fl-widget li.current_page_item,
.footer-nav .fl-widget li:hover {
    border-top: 4px solid #0f4873;
    position: relative;
    width: auto;
    text-align: left;
}

@media(min-width: 600px){
    .footer-nav li{
        display: inline-block !important;
        margin-right: 15px ;
        margin-bottom: 0px !important;
        padding-top: 15px;
    }

    .site-credits-footer{
        text-align: right;
    }

    .footer-nav .fl-widget{
        border-top: 1px solid #dfe9ec;

    }
}

@media(min-width: 768px){
    .footer-nav li{
        margin-right: 30px ;

    }
}

@media(min-width: 1025px){
    .footer-nav li{
        margin-right: 15px ;

    }
}

@media(min-width: 1200px){
    .footer-nav li{
        margin-right: 30px ;
    }
}



/* Footer Navigation 2*/

.footer-nav-2 .menu .sub-menu{
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    opacity: 1 !important;
    background: transparent !important;
    left: 0 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    margin-bottom: 6px;
}

    .footer-nav-2 .menu > li{
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    .footer-nav-2 .menu > li a{
        padding-top: 3px !important;
        padding-bottom: 3px !important;
    }

/*Table Press Styles */
.tablepress thead{
    background: #dfe9ec;
    font-size: 16px;
    color: #2f283a;
    border: 1px solid #dfe9ec;
}

.tablepress th{
    padding: 15px 30px;
    text-align: center;
    text-transform: uppercase;
}

.tablepress .column-1 {
    padding: 15px 30px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

.tablepress td{
    padding: 15px 30px;
    text-align: center;
    border: 1px solid #dfe9ec;
}


/**
 * Forms
 */

.form-field-full {
    margin-bottom: 15px;
}

.form-row label {
    font-size: 14px !important;
    text-transform: uppercase !important;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    display: block;
}

.form-row select {
    border: 1px solid #39423f !important;
    border-radius: none !important;
    position: relative !important;
}

.form-row textarea {
    border: 1px solid #39423f !important;
    border-radius: 0 !important;
    position: relative !important;
}

.form-row legend {
}


/* Removes default webkit form styling */
.form-row input:not([type="radio"]):not([type="checkbox"]),
.form-row button,
.form-row textarea {
    -webkit-appearance: none;
}
/*overrides for the form*/

/* default text input style */
.form-row [type="text"],
.form-row [type="date"],
.form-row [type="datetime"],
.form-row [type="datetime-local"],
.form-row [type="email"],
.form-row [type="month"],
.form-row [type="number"],
.form-row [type="password"],
.form-row [type="search"],
.form-row [type="tel"],
.form-row [type="url"],
.form-row [type="week"],
[type="checkbox"] {
    border: 1px solid #39423f !important;
    border-radius: 0 !important;
    position: relative !important;

}

.form-row .wpcf7-list-item {
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 2em;
    font-weight: 500;
}

.form-row .wpcf7-list-item-label{
    margin-left: 6px;
}


/* Default Submit Button Style */
.form-row [type="submit"],
.yellow-button {
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;
    line-height: 1em;
    padding: 12px 24px;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: #033c67;
    border: 1px solid #033c67;
    color: #fff;
    margin-top: 15px;
}

.form-row [type="submit"]:hover,
.yellow-button:hover{
    border-color: #002645;
    background: #002645;
}

.form-row [type="submit"]:before{

}

    /* Removes inconsistent padding from Firefox buttons */
    .form-row button::-moz-focus-inner,
    .form-row [type="reset"]::-moz-focus-inner,
    .form-row [type="button"]::-moz-focus-inner,
    .form-row [type="submit"]::-moz-focus-inner {
        border: none;
        padding:0;

    }

.popupbox{
    height: 0; !important;
}

/*Testimonial Image Cropping */

.testimonial-image-crop img{
    -webkit-border-radius: 50%;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius: 50%;
    -moz-border-radius-bottomright: 0;
    border-radius: 50%;
    border-bottom-right-radius: 0;
}


.testimonial-quote {
    display: none;
}

.testimonial-images{position: relative;}

@media(min-width: 1025px){
    .testimonial-quote {
        display: block;
        position: absolute;
        top: 90px;
        right: 0px;
        max-width: 40%;
    }
}

@media(min-width: 1200px){
    .testimonial-quote {
        top: 120px;
        max-width: 100%;
    }
}


/*Newsletter Signup*/

h6.uabb-sf-subheading {
    display: none;
}

@media(min-width: 600px){
    .newsletter-signup .uabb-form-field,
    .newsletter-signup .uabb-form-button {
        display: inline-block;
    }

        .newsletter-signup .uabb-form-field{
            width: 73%;
            margin-right: 30px;
        }
}


@media(min-width: 768px){
    .newsletter-signup .uabb-head-wrap {
        display: inline-block;
    }

    .newsletter-signup .uabb-module-content {
        margin: auto;
        text-align: center !important;
    }
}

@media(min-width: 1025px){
    .newsletter-signup .uabb-head-wrap {
        margin-right: 30px;
        margin-bottom: 0 !important;
    }

    .newsletter-signup .uabb-form-wrap {
        display: inline-block;
        width: 60%;
    }

    .newsletter-signup .uabb-form-field{
        margin-bottom: 0 !important;
    }

    .newsletter-signup .uabb-form-field{
        width: 76%;
    }

}


/*Breadcrumbs*/

.basic-breadcrumbs-1 .breadcrumb {
    padding: 0;
    margin-bottom: 0px;
    list-style: none;
    background-color:transparent;
    border-radius: none;
    text-align: left;
    font-size: 14px;
    font-weight: 300;
}

.basic-breadcrumbs-2 .breadcrumb {
    padding: 0;
    margin-bottom: 0px;
    list-style: none;
    background-color:transparent;
    border-radius: none;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
}

.basic-breadcrumbs-3 .breadcrumb {
    padding: 0px 30px;
    margin-bottom: 0px;
    list-style: none;
    background-color:transparent;
    border-radius: none;
    text-align: left;
    font-size: 14px;
    font-weight: 300;

}

.basic-breadcrumbs-2 .breadcrumb a,
.basic-breadcrumbs-3 .breadcrumb a{
    color: #39423f;
}

.basic-breadcrumbs-2 .breadcrumb .breadcrumb_last{
    color: #0f4873;
}

@media(min-width: 768px){
    .basic-breadcrumbs-1 .breadcrumb,
    .basic-breadcrumbs-2 .breadcrumb,
    .basic-breadcrumbs-3 .breadcrumb  { font-size: 16px;}
}

/*Search Box*/

.fl-page-nav-search form {
    border-top: 4px solid #0f4873;
}



/*Header 1*/

@media(max-width: 768px){
    ul#menu-main-menu { clear: both; }

    /*.header-1-middle .fl-col-group > .fl-col:first-of-type {width: 70% !important; float: left;}  */


    .header-1-middle .fl-col-group > .fl-col:last-of-type{ width: 100% !important; }

    .header-1-middle .fl-node-5c35feb82846e.fl-module > .fl-module-content{ margin-top: 0 !important;}

    .header-1-middle .fl-menu-mobile-toggle .svg-container {
        display: block !important;
        margin: auto !important;
        text-align: center !important;

    }

    .header-1-middle .fl-menu-mobile-toggle  .fl-menu-mobile-toggle-label{
        display: block !important;
        margin: auto !important;
        text-align: center !important;
    }

    .header-1-middle button.fl-menu-mobile-toggle.hamburger-label {
        position: absolute;
        top: 25px;
        right: 0px;
    }
}

.header-1-top{}

.header-1-middle{}

.header-1-bottom .fl-page-nav-search,
.header-1-top .fl-page-nav-search{
    display: block !important;
    /*float: right;*/
   /* margin-right: 30px;*/
    position: relative !important;
}

.header-1-bottom .fl-page-nav-search form,
.header-1-top .fl-page-nav-search form{
    display: inline-block !important;
    position: relative !important;
    background: transparent !important;
    padding: 0;
    width: 100%;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    border-top: none !important;
    /*border-bottom: 2px solid #39423f;*/
}

.header-1-top .fl-page-nav-search{
    max-width: 300px;

}

.header-1-top .fl-page-nav-search form input.fl-search-input{min-height: 44px;}

.header-1-bottom .fl-page-nav-search form input.fl-search-input,
.header-1-top .fl-page-nav-search form input.fl-search-input {
    border-radius: 0 !important;
    background: #fff !important;
    border-color: transparent !important;
    padding: 20px 12px !important;
    border:none !important;
}

.header-1-bottom .fl-page-nav-search form input.fl-search-input::-webkit-input-placeholder, .header-1-top .fl-page-nav-search form input.fl-search-input::-webkit-input-placeholder{
    color: #7D7F80 !important;
}

.header-1-bottom .fl-page-nav-search form input.fl-search-input::-moz-placeholder, .header-1-top .fl-page-nav-search form input.fl-search-input::-moz-placeholder{
    color: #7D7F80 !important;
}

.header-1-bottom .fl-page-nav-search form input.fl-search-input:-ms-input-placeholder, .header-1-top .fl-page-nav-search form input.fl-search-input:-ms-input-placeholder{
    color: #7D7F80 !important;
}

.header-1-bottom .fl-page-nav-search form input.fl-search-input::-ms-input-placeholder, .header-1-top .fl-page-nav-search form input.fl-search-input::-ms-input-placeholder{
    color: #7D7F80 !important;
}

.header-1-bottom .fl-page-nav-search form input.fl-search-input::placeholder,
.header-1-top .fl-page-nav-search form input.fl-search-input::placeholder{
    color: #7D7F80 !important;
}

.header-1-bottom .fl-page-nav-search a.fa-search{
    color: #000 !important;
    z-index: 99999;
    top: 3px;
}

.header-1-top .fl-page-nav-search a.fa-search{
    color: #000 !important;
    z-index: 99999;
    top: 5px;
}

.header-1-middle .menu ul.sub-menu {min-width: 320px;}

.header-1-middle .menu ul.sub-menu a{
    padding: 15px 30px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    text-transform: none !important;
}


.header-1-middle .menu ul.sub-menu li:hover,
.header-1-middle .sub-menu > li.current-menu-item{
    background: #eae8e7;

}

.header-1-middle .menu ul.sub-menu li:hover a,
.header-1-middle .sub-menu > li.current-menu-item > a{
    color: #39423f !important;
}

.fl-builder-content[data-type="header"].fl-theme-builder-header-shrink .header-1-middle img{
    max-height: 70px !important;
}

.fl-builder-content[data-type="header"].fl-theme-builder-header-shrink .header-1-top .uabb-btn,
.fl-builder-content[data-type="header"].fl-theme-builder-header-shrink .header-1-top .fl-page-nav-search form input.fl-search-input{
    height: 44px !important;
    min-height: 44px;
}




@media(min-width: 1200px){
    .header-1-middle .menu > li{
        font-size: 14px !important;
    }

}

@media(min-width: 1250px){
    .header-1-middle .menu > li{
        font-size: 15px !important;
    }
}

@media(min-width: 1366px){
    .header-1-middle .menu > li{
        font-size: 16px !important;
    }

    /*.fl-node-5c38b6a6ef001 .fl-menu-horizontal.fl-toggle-arrows .fl-has-submenu-container a{
        padding-right: 30px !important;
    }*/


}









/*Header 2*/

.header-search .widget_search{
    margin-bottom: 0 !important;
}

.header-search .widget form{
    background: #eeeeee !important;
    padding: 6px !important;
}


@media(max-width: 768px){
    ul#menu-main-menu { clear: both; }

    .header-new .fl-col-group > .fl-col:first-of-type img{width: 70% !important; float: left;}


    .header-new .fl-col-group > .fl-col:last-of-type{ width: 100% !important; }

    .header-new .fl-node-5c35feb82846e.fl-module > .fl-module-content{ margin-top: 0 !important;}

    button.fl-menu-mobile-toggle.hamburger-label {
        position: absolute;
        top: 40px;
        right: 30px;
    }
}


.header-new .cta-btn {
    background: #ffae17;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    float: right;
    padding: 10px 30px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.header-new-top .fl-page-nav-search{
    display: inline-block !important;
    float: right;
   /* margin-right: 30px;*/
    position: relative !important;
}

.header-new-top .fl-page-nav-search a.fa-search{
    top: 0
}

.header-new-top .fl-page-nav-search form{
    display: inline-block !important;
    position: relative !important;
    background: transparent !important;
    padding: 0;
    width: 320px;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    border-top: none !important;
    /*border-bottom: 2px solid #39423f;*/
}




.header-new-top .fl-page-nav-search form input.fl-search-input{
    border-color: transparent !important;
    background: #eee !important;
   /* height: 46px !important;*/
    padding:10px !important;
    border-radius: 0 !important;

}

.header-new-top .fl-page-nav-search a.fa-search{
    color: #39423f !important;
    z-index: 99999;
}

.new-header-nav .menu ul.sub-menu a{
    padding: 15px 30px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    text-transform: none !important;
}


.new-header-nav .menu ul.sub-menu li:hover,
.new-header-nav .sub-menu > li.current-menu-item{
    background: #b3b3b3;

}

.new-header-nav .menu ul.sub-menu li:hover a,
.new-header-nav .sub-menu > li.current-menu-item > a{
    color: #39423f !important;
}

.fl-builder-content[data-type="header"].fl-theme-builder-header-shrink img{
    max-height: 110px !important;
}

.desktop-searchbutton-wrapper .call-number{
    display: inline-block;
    float: right;
    position: relative;
    top: 10px;
    margin-right: 30px;
    font-size: 20px;
}

.desktop-searchbutton-wrapper .call-number a {
    font-weight: 600;
    letter-spacing: .05em;
    color: #00ae7d
}

@media(min-width: 1200px){
    .new-header-nav .menu a{
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
}




/*Homepage 3 Styles */

.cta-box-homepage3 .fl-module{
    background: #ceb32b !important;
}

.cta-box-homepage3:hover .fl-module{
    background: #39423f!important;
}

.cta-box-homepage3 {
    margin-right: 30px;
    margin-left: 30px;
}

.fl-heading:hover a,
.fl-heading:hover a .fl-heading-text{
    color:#ceb32b !important;
}


@media(min-width: 1025px){
    .cta-box-homepage3 {
        margin-right: 0px;
        margin-left: 0px;
    }

    .cta-box-homepage3 .fl-col-content{
        position:  relative;
        left: -30px
    }
}


/* Homepage 3 Slider */
@media(min-width: 1025px){

    .homepage-3-slider .homepage-3-slide--content{
        max-width: 645px;
        margin: auto;
    }

    .homepage-3-slider .fl-row-content-wrap{ overflow: hidden; }

    .homepage-3-slider .fl-row-content-wrap:after{
        height: 546px;
        border-bottom-left-radius: 1092px;
        border-bottom-right-radius: 1092px;
        max-width: 1084px;
        margin: auto;
        position: absolute;
        top: -50%;
        left: 50%;
        margin-left: -542px;
    }
}

.screen-reader-response {
display: none;
}

/* Blog Styles*/

.the-blog{
    margin-bottom: 15px;
}


.blog-info{
    border: 1px solid #eae8e7;
    padding: 0px 30px;
    border-top: 4px solid  #0f4873;
}

.blog-title{
    /*color: #0f4873;*/
}

.blog-date{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 12px;
    display: block;
}

.readmore{
    margin-bottom: 30px;
    display: block;
}

.blog-info a:hover,
.blog-info a:hover .blog-title{
    text-decoration: none;
    color: #39423f;
}


.featured-blog-area,
.single-post-content,
.search-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.blog-listing-container{
    margin-bottom: 30px;
}

.blog-listing.featured_post {
    margin-bottom: 15px;
}

.blog-listing span.feature {
    /* position: absolute;
    left: 15px;
    top: 20px;
    background: #39423f;
    width: auto;
    padding: 10px;
    color: #fff;
    letter-spacing: 1px; */

    position: relative;
    left: 0;
    background: #39423f;
    width: auto;
    padding: 10px;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 30px;
    display: inline-block;
}
.the-blog:nth-child(odd) {
    clear: left;
}
@media(min-width: 992px){


}

.widget{
    margin-bottom: 30px;
}


.widget h3{
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-top: 0px;
    padding: 15px;
    margin-bottom: 0px;
    background: #0f4873;
    color: #fff;
    line-height: 1em;

}

.widget form {
    /*border: 1px solid #eae8e7;*/
    padding: 15px;
    border-radius: 0;
    background: #f5f5f5;
}

.widget.widget_archive,
.widget.widget_categories,
.widget.widget_recent_entries,
.widget.popular-posts{
   /* background: #eae8e7;*/
   /*border: 1px solid #eae8e7;*/
   background: #f5f5f5;
}

.widget.widget_archive select{
    margin: 15px;
    border-radius: 0;
    border: 1px solid #eae8e7;
    width: calc(100% - 30px);
    background: #fff;
}


.widget.widget_recent_entries ul,
.widget.popular-posts ul,
.widget.widget_archive ul,
.widget.widget_categories ul{
    list-style: none;
    padding: 0px;
    margin: 0;
}

    .widget.widget_recent_entries li,
    .widget.popular-posts li,
    .widget.widget_archive li,
    .widget.widget_categories li{
        border-bottom: 1px solid #eae8e7;
        padding: 15px;
    }

        .widget.widget_recent_entries li:last-child,
        .widget.popular-posts li:last-child,
        .widget li:last-child{
            border-bottom: none;
        }







.wp-pagenavi {
    float: left;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 50px
}

.wp-pagenavi a,
.wp-pagenavi span {
    font-weight: 900;
    font-size: 17px;
    color: #0f4873;
    display: inline-block;
    padding: 8px 0;
    width: 40px;
    background: #eae8e7;
    z-index: 1;
    position: relative;
    letter-spacing: 1px;
    margin-right: 5px;
    text-align: center;
    border: 1px solid #eae8e7
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
    width: auto;
    padding: 5px 0;
    background: 0 0;
    border: none;
    font-size: 15px;
    color: #0f4873;
    margin-right: 10px
}

.wp-pagenavi a.nextpostslink {
    margin-left: 10px
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    background: #0f4873;
    border: 1px solid #0f4873;
}

.wp-pagenavi a.nextpostslink:hover,
.wp-pagenavi a.previouspostslink:hover {
    border: none;
    background: 0 0;
    color: #c2c2c2;
}

.social-share {
    margin-left: -20px;
    margin-top: -20px;
}



.screen-reader-response {
display: none;
}

.form-row input.wpcf7-not-valid {
    border: 1px solid #c52027 !important;
}

span.wpcf7-not-valid-tip {
color: #c52027;
}

.contained-image-slider .fl-content-slider .fl-slide-bg-photo{
    background-size: contain !important;
}

.uabb-image-carousel .slick-prev {
	left: 30px !important;
}

.uabb-image-carousel .slick-next {
	right: 30px !important;
}

/* Social Icon Popup */
.social-links-footer {
    margin: 0;
    padding: 0;
}

.social-links-footer li {
    display: inline-block;
    margin-left: 6px;
}

.social-links-footer li:last-child {
    margin-right: 0px;
}

.social-links-footer a {
    padding: 0;
    font-size: 34px;
    color: #7e7e7e;
}

.social-links-footer a:hover { opacity: .5; }

.social-popup-content {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding-top: 40px;
}

.social-popup-content .social-popup-btn span {
    font-size: 22px;
    color: #3b5998;
}

#social-popup-in.social-popup-content .social-popup-btn span {
    color: #ed0277;
    top: 2px;
    position: relative;
}

.social-popup-content .social-popup-btn .flaticon-twitter {
    color: #1da1f2;
    top: 2px;
    position: relative;
}

.social-popup-content .social-popup-btn {
    font-size: 15px;
    color: #202020;
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    font-weight: bold;
    margin-bottom: 10px;
}

.social-popup-content .social-popup-btn:hover {
    border-color: #db3235;
    -webkit-box-shadow: 0px 5px 12px #d2d2d2;
    box-shadow: 0px 5px 12px #d2d2d2;
}

.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

.mfp-wrap .mfp-content .social-popup-content button.mfp-close {
    top: -10px !important;
    right: -12px;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
  -ms-touch-action: manipulation;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    -ms-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    -ms-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }
