/*
 Theme Name:   Karion Child
 Theme URI:    http://demo.farost.net/karion/
 Description:  The 2018 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
 Author:       Farost
 Author URI:   http://themeforest.net/user/farost
 Template:     karion
 Version:      1.3
 Text Domain:  karion-child
*/
/*
-------------------------------------------------------------- */

#cshero-header-holder {
    background-color: rgba(255,255,255,0.85);
}

.slider-button {
    display: inline-block;
    background-color: #ed1e48;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    height: 50px;
    text-align: center;
    padding: 0 24px;
    line-height: 48px;
    border: 2px solid #ed1e48;
    transition: all 300ms linear 0ms;
    line-height: 48px;
    border-width: 2px;
    margin: 22px 0px 0px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 14px;
 }
 .slider-button:hover {
    background-color: #1d194c;
    border: 2px solid #1d194c;
 }
 .slider-button:focus,
 .slider-button:active {
    color: #fff;
 }

 .text-main {
    color: #1d194c;
 }
 .text-accent {
    color: #ed1e48;
 }
 .text-bold {
     font-weight: bold;
 }
 
 .text-block--list ul {
    list-style: unset;
 }

 .cms-fancybox-wraper.cms-fancybox-layout2 .cms-fancybox-item .cms-fancybox-icon i:before {
    color: #ed1e48;
 }

 .services-flex > .vc_column-inner > .wpb_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: stretch;
    align-items: flex-start;
    padding: 0 50px;
 }
 
@media screen and (max-width:600px) {
    .services-flex > .vc_column-inner > .wpb_wrapper {
        padding: 0;
    }
}

 .services-flex > .vc_column-inner > .wpb_wrapper > .cms-fancybox-wraper > .cms-fancybox-item {
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
    margin-bottom: 50px;
    text-align: center;
}
.cms-fancybox-wraper.cms-fancybox-layout2 .cms-fancybox-item .cms-fancybox-icon {
    display: inline-block;
    border: 2px solid #1d194c;
    border-radius: 50%;
    margin: 0 auto 30px auto;
    padding: 20px;
}


.services-flex > .vc_column-inner > .wpb_wrapper > .cms-fancybox-wraper > .cms-fancybox-item  .cms-button-wrapper {
    text-align: right;
}

.services-flex > .vc_column-inner > .wpb_wrapper > .cms-fancybox-wraper > .cms-fancybox-item  .cms-button-wrapper > a {
    padding: 0;
    display: inline-block;
    background-color: transparent;
    color: #1d194c;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
}
.services-flex > .vc_column-inner > .wpb_wrapper > .cms-fancybox-wraper > .cms-fancybox-item  .cms-button-wrapper > a:hover {
    color: #ed1e48;
}
.services-flex > .vc_column-inner > .wpb_wrapper > .cms-fancybox-wraper > .cms-fancybox-item  .cms-button-wrapper > a > span {
    color: inherit;
}
.cms-fancybox-wraper.cms-fancybox-layout2 .cms-fancybox-item .cms-fancybox-content .cms-fancybox-description {
    text-align: justify;
}
.cms-fancybox-wraper.cms-fancybox-layout2 .cms-fancybox-item .cms-fancybox-content .cms-fancybox-description p {
    margin-bottom: 0;
}


.cms-carousel-portfolio2 > .owl-stage-outer > .owl-stage {
    display: flex;
    align-items: stretch;
}
.cms-carousel-portfolio2 > .owl-stage-outer > .owl-stage > .owl-item > .cms-carousel-item {
    height: 100%;;
}

.benefits-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: stretch;
    align-items: stretch;
}
.benefits-item__box {
    padding: 20px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: stretch;
    align-items: stretch;
}
.owl-item:nth-child(odd) .benefits-item > .benefits-item__box {
    background-color: #1d194c;
}
.owl-item:nth-child(even) .benefits-item > .benefits-item__box {
    background-color: #ed1e48;
}
.benefits-item__title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    margin: 20px auto;
}
.benefits-item__text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.benefits-item__text p {
    margin: 0;
}
.benefits-item__icon {
}
.benefits-item__icon > img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
    margin: 0 auto 10px auto;
}

.social-button {
    display: block;
    position: fixed;
    right: 0;
    z-index: 100;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}
.social-button.social-button--facebook {
    height: 60px;
    top: calc(70% - 59px);
    margin: 0 -114px 0 auto;
    width: 174px;
    background-image: url('./assets/images/facebook-side.png');
}
.social-button:hover {
    margin-right: 0;
}
@media screen and (max-width:600px) {
    .social-button {
        display: none;
    }
}

.footer {
    background-color: #1d194c;
    color: #fff;
}
.footer-container {
    padding: 80px 10%;
}
.footer-copyright {
    margin-top: 20px;
    padding: 0px 20px;
    background-color: #0e0c33;
}
.footer-copyright__left {
    padding: 10px;
    display: inline-block;
    text-align: left;
    width: 50%;
}
.footer-copyright__right {
    padding: 10px;
    display: inline-block;
    text-align: right;
    width: 50%;
}
.footer .cms-footer-top-item {
    text-align: center;
    margin: 50px auto;
}
.footer .cms-footer-top-item i.fa {
    font-size: 32px;
    margin-bottom: 20px;
}

.footer a {
    color: #fff;
}
@media screen and (max-width:767px) {
    .footer-copyright__left {
        display: block;
        text-align: center;
        width: 100%;
    }
    .footer-copyright__right {
        display: block;
        text-align: center;
        width: 100%;
    }
}


.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance {
    border: none;
    display: block;
    text-align: justify;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance input[type=checkbox] {
    opacity: 0;
    width: 0;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance input[type=checkbox]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-weight: 400;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label::before {
    position: absolute;
    content: "";
    display: inline-block;
    height: 22px;
    width: 22px;
    border: 1px solid #ebebeb;
    left: 0px;
    top: -2px;
    cursor: pointer;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label::after {
    position: absolute;
    content: "";
    display: inline-block;
    height: 6px;
    width: 14px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
    left: 4px;
    top: 4px;
    cursor: pointer;
    color: #fff;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance input[type=checkbox] + .wpcf7-list-item-label::after {
    content: none;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance input[type=checkbox]:checked + .wpcf7-list-item-label::after {
    content: "";
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance input[type=checkbox]:checked + .wpcf7-list-item-label::before {
    background-color: #ed1e48;
}
.wp-contact-us-form .wpcf7-form-control.wpcf7-acceptance input[type=checkbox]:focus + .wpcf7-list-item-label::before {
    outline: none;
}


@media screen and (max-width:991px) {
    #masthead {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }
    #page {
        padding-top: 76px;
    }
}

@media screen and (max-width:640px) {
    #page {
        padding-top: 56px;
    }
}
