/*
Theme name: Child theme of Avada
Description: Child theme of Avada that adds custom functionality
Author: Turn
Version: 0.1
Template: Avada
*/
@import url('../Avada/style.css');

/*@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto/roboto-bold-webfont.woff2') format('woff2'),
    url('fonts/roboto/roboto-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto/roboto-regular-webfont.woff2') format('woff2'),
    url('fonts/roboto/roboto-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto/roboto-italic-webfont.woff2') format('woff2'),
    url('fonts/roboto/roboto-italic-webfont.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto/roboto-light-webfont.woff2') format('woff2'),
    url('fonts/roboto/roboto-light-webfont.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}*/

/*Contacs page style*/
.wpcf7-form__left,
.wpcf7-form__right {
    display: block;
    float: left;
    width: 100%;
}

@media all and (max-width: 800px) {

  .fusion-video.fusion-vimeo iframe {
    width: 100%;
  }

}

@media all and (min-width: 640px) {
    .wpcf7-form__left,
    .wpcf7-form__right {
        width: 48%;
    }

    .wpcf7-form__left {
        margin-right: 2%;
    }

    .wpcf7-form__submit {
        text-align: right;
    }
}

.wpcf7-form__right .wpcf7-checkbox .wpcf7-list-item {
    display: inline-block;
    width: 100%;
}

.wpcf7-form p,
.wpcf7 .wpcf7-form input.wpcf7-submit.wpcf7__light-btn,
.wpcf7 .wpcf7-form input.wpcf7-submit.wpcf7__light-btn:hover {
    color: #FFFFFF;
}

@media all and (min-width: 640px) {
    .wpcf7 .wpcf7-form .wpcf7__textarea {
        min-height: 221px;
    }
}

/*Home page style*/
/*Icon boxes with default cursor*/
.custom-class-reset.content-boxes-icon-on-top .link-area-box {
    cursor: default;
}

/*Font for team*/
.custom-content-reset .fusion-one-fourth h3 {
    font-size: 16px;
}

/*Custom font for first homepage block*/
#content .custom-content-reset.custom-font-size-30 h2 {
    font-size: 30px;
}

.custom-font-size-16 {
    font-size: 16px;
}

.custom-font-size-18,
.custom-paragraph-18 p {
    font-size: 18px;
}
.custom-content-reset .fusion-column-wrapper .fusion-social-links {
    position: absolute;
    bottom: 4px;
}

@media(min-width: 640px) {
    .custom-content-reset .fusion-column-wrapper .fusion-social-links {
        bottom: 10px;
    }
}





@media all and (min-width: 640px) and (max-width: 800px) {
    #content .custom-content-reset .fusion-one-fourth {
        width: 49%;
    }

    #content .custom-content-reset .fusion-one-fourth:nth-child(2n+1) {
        margin-left: 2%;
    }
}




/*Global style*/
/*icons in header*/
.fusion-header-wrapper .fusion-social-networks .fusion-social-network-icon:hover,
.fusion-header-wrapper .fusion-social-networks .fusion-social-network-icon:active,
.fusion-header-wrapper .fusion-social-networks .fusion-social-network-icon:focus {
    background-color: #4d4d4d !important;
    opacity: 1 !important;
}

/*shame fix for header`s menu height and logo margin*/
.fusion-header .fusion-mobile-menu-icons {
    margin-top: 0;
    height: 96px;
    width: 0;
    float: right;
    right: 8%;
}

.fusion-header .fusion-mobile-menu-icons .fusion-icon {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.fusion-header-wrapper .fusion-mobile-menu-design-modern.fusion-header-v3 .fusion-header {
    padding-bottom: 0;
    padding-top: 0;
}

@media all and (min-width: 640px) {
    .fusion-header .fusion-mobile-menu-icons {
        right: 5%;
    }
}

/*Page content padding*/

.fusion-row .fusion-column-wrapper {
    padding: 16px !important;
}

@media all and (min-width: 420px) {
    .fusion-row .fusion-column-wrapper {
        padding: 16px 32px !important;
    }
}

@media all and (min-width: 640px) {
    .fusion-row .fusion-column-wrapper {
        padding: 40px 60px !important;
    }
}

.custom-content-reset .fusion-row .fusion-column-wrapper {
    padding: 16px !important;
}

.fusion-row .fusion-column-wrapper .fusion-row .fusion-column-wrapper {
    padding: 16px !important;
}

.tfs-slider .slide-content-container h2,
.tfs-slider .slide-content-container h3 {
    font-family: 'Raleway', ​ Arial, ​ Helvetica, ​ sans-serif;
}

#wrapper #main {
    padding-bottom: 0;
    padding-top: 0;
}

/*For transperent bgc*/
.custom-bgc-box .fusion-column-wrapper {
    background-color: rgba(77, 77, 77, 0.8) !important;
}

/*Footer widget hacks*/

.fusion-footer .fusion-widget-area .textwidget a:hover {
    color: #4d4d4d;
}

.custom-footer-text span {
    text-transform: uppercase;
}

.custom-footer-text a {
    text-transform: lowercase;
}

.custom-footer-text span, .custom-footer-text a {
    line-height: 20px;
    display: inline-block;
    font-size: 16px;
}

/*custom style for boxes in about*/
.custom-special-box .fusion-column-wrapper {
    padding: 16px 32px !important;
    min-height: 290px !important;
}

/*padding reset*/
.custom-reset-paddings .fusion-column-wrapper {
    padding: 0 !important;
}

.custom-white-btn {
    background: #ffffff;
    background-image: -webkit-linear-gradient(top, #ffffff, #EEEEEE);
    background-image: -moz-linear-gradient(top, #ffffff, #EEEEEE);
    background-image: -ms-linear-gradient(top, #ffffff, #EEEEEE);
    background-image: -o-linear-gradient(top, #ffffff, #EEEEEE);
    background-image: linear-gradient(to bottom, #ffffff, #EEEEEE);
    -webkit-border-radius: 2;
    -moz-border-radius: 2;
    border-radius: 2px;
    color: #f50303;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 30px 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.custom-white-btn:hover {
    background: #eeeeee;
    background-image: -webkit-linear-gradient(top, #eeeeee, #ffffff);
    background-image: -moz-linear-gradient(top, #eeeeee, #ffffff);
    background-image: -ms-linear-gradient(top, #eeeeee, #ffffff);
    background-image: -o-linear-gradient(top, #eeeeee, #ffffff);
    background-image: linear-gradient(to bottom, #eeeeee, #ffffff);
    text-decoration: none;
}

.custom-hide {
    display: none;
}

.wpcf7-form select.wpcf7-select {
    height: 40px;
}

/*Contact Forms messages style*/
.wpcf7-form .wpcf7-response-output {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 5;
}

.emodal .wpcf7-form .wpcf7-not-valid-tip {
    color: white;
    font-style: italic;
}

/*Modal window style*/
.modal-btn-container {
    text-align: center;
}

.modal-btn-container .wpcf7-form .wpcf7-response-output {
    left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.modal-btn-container button.wpcf7-submit.wpcf7__light-btn,
.modal-btn-container button.wpcf7-submit.wpcf7__light-btn:hover {
    color: #FFFFFF;
}

.emodal--opened {
    overflow: hidden !important;
}

.emodal-close {
    display: none;
}

.emodal__close-btn {
    position: absolute;
    cursor: pointer;
    right: 31px;
    top: 15px;
    width: 28px;
    height: 28px;
}

.emodal__close-btn:before,
.emodal__close-btn:after {
    content: '';
    width: 28px;
    height: 4px;
    background: #ffffff;
    position: absolute;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    top: 12px;
}

.emodal__close-btn:after {
    left: 0;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.emodal__close-btn:hover:before,
.emodal__close-btn:hover:after {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

body .emodal {
    left: 0 !important;
    top: 0 !important;
    bottom: 0;
    right: 0;
    /*transform: translate(-50%,-50%);*/
    z-index: 99999 !important;
    background-color: rgba(218, 6, 3, 0.8) !important;
}

body .emodal .emodal-content {
    bottom: 0;
    left: 0;
    padding: 32px 16px;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    background-color: #FA2E29;
    overflow: scroll;
}

.wpcf7-form .wpcf7-mail-sent-ok,.wpcf7-form .wpcf7-validation-errors{
    background-color: #d70707;
    border: 1px solid #d70707;
    color: #ffffff;
}

body .emodal .emodal-content p {
    color: #FFFFFF !important;
    font-family: "Roboto", ​Arial, ​Helvetica, ​sans-serif !important;
}

.wpcf7-response-output{
    font-family: "Roboto", ​Arial, ​Helvetica, ​sans-serif !important;
}

body .emodal .emodal-content .wpcf7-form__submit {
    margin-bottom: 24px;
}

@media all and (min-width: 640px) {
    body .emodal .emodal-content {
        padding: 48px;
        overflow: hidden;
    }
}

@media all and (min-width: 1020px) {
    body .emodal .emodal-content {
        left: 50%;
        top: 50%;
        bottom: auto;
        right: auto;
        padding: 16px;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 1000px;
    }

    body .emodal .emodal-content .wpcf7-form__submit {
        margin-bottom: 0px;
    }
}

.fusion-accordian .panel-heading .panel-title a .fusion-toggle-heading {
    font-weight: 400;
}

.wpcf7-form__left, .wpcf7-form__right {
    padding-top: 14px;
}

.wpcf7-form__left p, .wpcf7-form__right p {
    margin: 0 0 20px 0;
}

.wpcf7-select-parent .select-arrow{
    height: 38px;
}

/*custom fontsize for spa page*/
.custom-kristiana {
    background-color: transparent !important;
    font-size: 25px;
    text-align: center;
}

@media (min-width: 420px) {
    .custom-kristiana {
        font-size: 32px;
    }
}

/*removes rounded corners for iOS devices*/
.wpcf7-form input, .wpcf7-form textarea, .wpcf7-form select {
    -webkit-appearance: none;
    border-radius: 0;
}

/* custom scroll indictator position fixed because visibility will be toggled by js*/

.ch-scroll-indicator {
    animation: hvr-wobble-vertical 1.7s linear infinite;
    bottom: 0;
    font-size: 48px !important;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    position: fixed;

    z-index: 5;
    transition: opacity 0.2s linear;
}

.ch-scroll-indicator--hide {
    opacity: 0;

}

@-webkit-keyframes hvr-wobble-vertical {
    16.65% {
        -webkit-transform: translate(-50%, 8px);
        transform: translate(-50%, 8px);
    }

    33.3% {
        -webkit-transform: translate(-50%, -6px);
        transform: translate(-50%, -6px);
    }

    49.95% {
        -webkit-transform: translate(-50%, 4px);
        transform: translate(-50%, 4px);
    }

    66.6% {
        -webkit-transform: translate(-50%, -2px);
        transform: translate(-50%, -2px);
    }

    83.25% {
        -webkit-transform: translate(-50%, 1px);
        transform: translate(-50%, 1px);
    }

    100% {
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
}

@keyframes hvr-wobble-vertical {
    16.65% {
    -webkit-transform: translate(-50%, 8px);
        transform: translate(-50%, 8px);
    }

    33.3% {
        -webkit-transform: translate(-50%, -6px);
        transform: translate(-50%, -6px);
    }

    49.95% {
        -webkit-transform: translate(-50%, 4px);
        transform: translate(-50%, 4px);
    }

    66.6% {
        -webkit-transform: translate(-50%, -2px);
        transform: translate(-50%, -2px);
    }

    83.25% {
        -webkit-transform: translate(-50%, 1px);
        transform: translate(-50%, 1px);
    }

    100% {
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
}

.fusion-footer .menu-item a:hover,
.fusion-footer .custom-footer-text a:hover,
.fusion-footer .menu-item.current_page_item a {
    color: #fff !important;
    text-decoration: underline;
}

.fusion-footer .custom-footer-text {
    text-align: center;
}

.fusion-footer .menu {
    text-align: center;
}

.fusion-footer .menu-item a {
    margin: 0 !important;
    padding: 12px 0 !important;
}

.fusion-footer .menu-item {
    display: inline-block;
    margin: 0 16px;
    position: relative;
}
.fusion-footer .menu-item:before {
    content: "»";
    position: absolute;
    font-size: 24px;
    top: 43%;
    left: -16px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}


@media (min-width: 900px) {
    .fusion-footer .menu-item:before {
        content: "";
        position: absolute;
        top: 50%;
        left: auto;
        right: -10px;
        width: 1px;
        height: 80%;
        background-color: #fff;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .fusion-footer .menu-item:last-child:before {
        display: none;
    }
    .fusion-footer .menu-item {
        margin: 0 10px !important;
    }
}

.fusion-footer .fusion-footer-widget-column {
    margin-bottom: 20px;
}

.fusion-footer .menu-item a {
    border-bottom: 0;
}

.custom-footer-text a {
    position: relative;
    margin: 0 10px;
}

.custom-footer-text a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: auto;
    right: -10px;
    width: 1px;
    height: 100%;
    background-color: #fff;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.custom-footer-text a:nth-last-child(2):before {
    display: none;
}
@media (max-width: 449px) {
    .custom-footer-text a:before {
        display: none;
    }
    .custom-footer-text a {
        margin-bottom: 16px;
    }
    .custom-footer-text a:nth-last-child(2) {
        margin-bottom: 0;
    }
}

.fusion-footer .custom-footer-text span {
    font-weight: 600;
}
.fusion-footer .custom-footer-text a {
    font-weight: 400;
}

.emodal  .wpcf7-select {
    -webkit-transform: perspective(1px);
    transform: perspective(1px);
    -webkit-font-smoothing: antialiased !important;
    -moz-font-smoothing: antialiased !important;
}
.emodal .wpcf7-select, .emodal {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
    backface-visibility: hidden;
    transform: translateZ(0) scale(1.0, 1.0);
}

.fusion-secondary-menu > ul > li {
  float: left;
  border-left: none;
}

.fusion-header-wrapper .fusion-secondary-header a:hover {
    color: #da0603;
}

.fusion-secondary-header .fusion-mobile-selector {
    display: none;
}

body .fusion-header-wrapper .fusion-mobile-menu-design-classic .fusion-secondary-menu {
    display: block;
}

body.fusion-body .fusion-header-wrapper .fusion-secondary-header .fusion-alignright > * {
float: right;
}

.fusion-header-wrapper .fusion-mobile-menu-design-classic .fusion-secondary-header {
    padding: 0px;
}

.fusion-row .custom-special-box .fusion-column-wrapper {
    min-height: 330px !important;
}


.fusion-secondary-header .fusion-alignright  li {
    list-style-type: none;
    line-height: 3.5em;
    padding-right: 2em;
}

.single-post .content .fusion-post-slideshow{
    margin-bottom: 0;
}

.fusion-inline-sep {
    display: none;
}

.fusion-carousel-meta a {
    display: none;
}

.fusion-row .related-posts {
    margin-top: 0px;
}

.single-post .post-content h5 {
    margin-top: -1.5em;
}

.single-post .fusion-title-size-three, h3 {
    margin-top: 0 !important;
}

.single-post .fusion-column-wrapper {
    margin-bottom: -2em;
}

.fb-icon-header {
    position: relative;
    top: 3px;
    left: 1em;
    font-size: 1.5em;
}

.fb-icon-header:hover {
    background: #da0603 !important;
}
.col .heading .image img{
    margin: 0;
}

.fusion-carousel-item.blog_page{
    padding-right: 1em;
    padding-top: 0.75em;
    float: left;
    list-style-type: none;
    /*border: 1px solid #ddd;*/
    margin: 5px;
    max-width: 300px;
}


.fusion-carousel-item.blog_page a {
    padding-left: 1px;
}

.fusion-carousel-title.ch-blog {
    padding-left: 1px;
    margin-top: 0.33em !important;
    margin-bottom: -0.5em !important;
    height: 4.2em !important;
    line-height: 140%;
    overflow: hidden;
    overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.fusion-date.ch-blog a {
    color: #DA0603;
    font-size: 14px;
}

@media screen and (max-width: 736px) {
    .fusion-carousel-holder.custom_blog_list {
        overflow: hidden;
        margin: 0;
        padding: 2em 0;
        width:  100%;
    }
    .fusion-carousel-holder.custom_blog_list li{
        float: inherit;
        margin: 0 auto;
        padding: 0;
    }

    .fusion-carousel .fusion-carousel-positioner .fusion-carousel-nav .fusion-nav-prev,
    .fusion-carousel .fusion-carousel-positioner .fusion-carousel-nav .fusion-nav-next{
        top: 30%;
    }
}
@media screen and (max-width: 425px) {
    .fusion-carousel .fusion-carousel-positioner .fusion-carousel-nav .fusion-nav-prev,
    .fusion-carousel .fusion-carousel-positioner .fusion-carousel-nav .fusion-nav-next{
        top: 25%;
    }
}

@media screen and (max-width: 320px) {
    .fusion-carousel .fusion-carousel-positioner .fusion-carousel-nav .fusion-nav-prev,
    .fusion-carousel .fusion-carousel-positioner .fusion-carousel-nav .fusion-nav-next{
        top: 21%;
    }
}

@media only screen and (min-width:737px) and (max-width: 1046px) {
     .fusion-carousel-holder.custom_blog_list{
        overflow: hidden;
        width: 620px;
        margin: 0 auto;
        padding: 2em 0;
    }
}

@media all and (max-width: 800px) {
    #didzis-gravitis .fusion-column-wrapper h3:first-of-type,
    #didzis-gravitis .fusion-column-wrapper h5:first-of-type{
        text-align: left!important;
    }
}

/* Styling testimonial author */
.fusion-testimonials.clean .author{font-size:12px;line-height:18px;letter-spacing:2px;}

.fusion-logo img{
   width: 200px;
}


@media all and (max-width: 800px) {
   .fusion-logo img{
      width: 175px;
   }
   .hide-on-mobile {
        display:none;
    }
}

.grecaptcha-badge {
    opacity:0!important;
}

.cn-link-in-footer{
    color: #fff;
}
.cn-link-in-footer:hover{
    text-decoration:underline;
    color: #fff;
}
.fusion-accordian.white-heading .panel-title a,
.cn-link-in-footer{
    color: #fff;
}
.fusion-content-boxes .heading .heading-link:hover .content-box-heading,
.fusion-accordian .panel-title a:hover{
    color:#da0603;
}
.cn-link-in-footer:hover{
    text-decoration:underline
}
.cn-link{
    color: #fff;
}
.cn-button.bootstrap {
    background: #d60707;
    border-radius: 0;
}

.fusion-secondary-header .lang-item-ru {
    display: none;
}

.fusion-video {
    margin: 0 auto;
    padding: 0 3rem;
}

@media all and (min-width: 400px) and (max-width: 767px) {
   .fusion-video {
        max-width: 800px!important;
        max-height: 600px!important;
   }
}

@media all and (min-width: 768px) {
   .fusion-video {
        max-width: 1040px!important;
        max-height: 640px!important;
   }
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #46b450;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #dc3232;
    border-color: #dc3232;
    color: #fff
}
