/*
 Theme Name:   Applari
 Theme URI:    
 Description:  Applarin wordpresspohja
 Author:       -
 Author URI:   -
 Template:     enfold
 Version:      1.0.0
 Tags:         l
 Text Domain:  applari
*/

@import url("../enfold/style.css");
/*@font-face {
    font-family: 'josefin_sanslight';
    src: url('fonts/JosefinSans-Light-webfont.eot');
    src: url('fonts/JosefinSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/JosefinSans-Light-webfont.woff2') format('woff2'),
         url('fonts/JosefinSans-Light-webfont.woff') format('woff'),
         url('fonts/JosefinSans-Light-webfont.ttf') format('truetype'),
         url('fonts/JosefinSans-Light-webfont.svg#josefin_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'josefin_sanslight_italic';
    src: url('fonts/JosefinSans-LightItalic-webfont.eot');
    src: url('fonts/JosefinSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/JosefinSans-LightItalic-webfont.woff2') format('woff2'),
         url('fonts/JosefinSans-LightItalic-webfont.woff') format('woff'),
         url('fonts/JosefinSans-LightItalic-webfont.ttf') format('truetype'),
         url('fonts/JosefinSans-LightItalic-webfont.svg#josefin_sanslight_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}*/
/* =Theme customization starts here
-------------------------------------------------------------- */
@media only screen and (min-width: 320px) {
    /*Grid stuff*/
    .content{padding: 50px 0px;}
    body .column-top-margin{margin-top: 30px;}
    /*Typography*/
    #top #wrap_all .alternate_color a{text-decoration: underline;}
    #top #wrap_all .alternate_color a.avia-button{text-decoration: none;}
    #top #wrap_all sup{font-size: 0.7em;}
    #top #wrap_all .excerpt{font-size: 18px; line-height: 1.6em;}
    
    /*Headings*/
    #top #wrap_all .av-special-heading{margin-top:0px; font-weight: normal; margin-bottom: 10px;}
    #top #wrap_all .all_colors h1{font-size:40px; text-transform: none; font-weight: normal;}
    #top #wrap_all .all_colors h2{font-size:30px; text-transform: none; font-weight: normal;}
    #top.single-post #wrap_all .all_colors h2{font-size: 24px;}
    #top #wrap_all .all_colors h3{font-size:24px; text-transform: none; font-weight: normal;}
    #top.single-post #wrap_all .all_colors h3{font-size: 20px;}
    #top #wrap_all .all_colors h4{font-size:18px; text-transform: none; font-weight: normal;}
    
    /*Buttons*/
    body div .avia-button{border-radius:0;}
    #top #wrap_all .avia-button{}
    #top #wrap_all .avia-button span{-webkit-text-stroke:0px; text-shadow: none;}
    .av_textblock_section + .avia-button-wrap{margin-top: 20px}
    /*Arrow button, from here:  https://codepen.io/cbrst/pen/ebxwLJ */
    #top #wrap_all .avia-color-arrow-button{padding: 0px; margin: 0px; border: 0px;  background-size: contain; background-repeat: no-repeat; background-color: initial; background-position: center; text-indent: -150px; min-width: initial; padding: 20px;}
    #top #wrap_all .avia-color-arrow-button{cursor: pointer; display: inline-block; width: 10.6082036775px; height: 21.216407355px; position: relative;}
    #top #wrap_all .avia-color-arrow-button span, 
    #top #wrap_all .avia-color-arrow-button:before, #top #wrap_all .avia-color-arrow-button:after, 
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button span, 
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button:before, 
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button:after{background: #d4a46e; content: ''; display: block; width: 20px; height: 2px; position: absolute; top: calc(50% - (2px / 2));}
    #top #wrap_all .avia-color-arrow-button span{width: 15px;}
    #top #wrap_all .avia-color-arrow-button:before {transform: rotate(-45deg);}
    #top #wrap_all .avia-color-arrow-button:after {transform: rotate(45deg);}
    #top #wrap_all .avia-color-arrow-button span{width: 0; overflow: hidden; min-width: initial;}
    #top #wrap_all .avia-color-arrow-button:hover span, #top #wrap_all .avia-color-arrow-button.visible span{width: 50px;}
    #top #wrap_all .as-result-item:hover .avia-color-arrow-button span, #top #wrap_all .as-result-item .avia-color-arrow-button.visible span,
    #top #wrap_all .carousel-item:hover .avia-color-arrow-button span, #top #wrap_all .carousel-item .avia-color-arrow-button.visible span{width: 40.21px;}
    #top #wrap_all .avia-color-arrow-button span, #top #wrap_all .avia-color-arrow-button:before, #top #wrap_all .avia-color-arrow-button:after{right: 12.5px; transform-origin: right 50%;}
    #top #wrap_all .avia-color-arrow-button:before, #top #wrap_all .avia-color-arrow-button:after{transition: right 0.3s 0.05s;}
    #top #wrap_all .avia-color-arrow-button span{transition: width 0.3s, right 0.3s 0.05s;}
    #top #wrap_all .avia-color-arrow-button:hover span, 
    #top #wrap_all .avia-color-arrow-button:hover:before, 
    #top #wrap_all .avia-color-arrow-button:hover:after, 
    #top #wrap_all .as-result-item:hover .avia-color-arrow-button span, 
    #top #wrap_all .as-result-item:hover .avia-color-arrow-button:before, 
    #top #wrap_all .as-result-item:hover .avia-color-arrow-button:after,
    #top #wrap_all .carousel-item:hover .avia-color-arrow-button span, 
    #top #wrap_all .carousel-item:hover .avia-color-arrow-button:before, 
    #top #wrap_all .carousel-item:hover .avia-color-arrow-button:after,
    #top #wrap_all .avia-content-grid-active article:hover .avia-color-arrow-button span, 
    #top #wrap_all .avia-content-grid-active article:hover .avia-color-arrow-button:before, 
    #top #wrap_all .avia-content-grid-active article:hover .avia-color-arrow-button:after{right: -10.6082036775px;}
    #top #wrap_all .as-result-item.visible .avia-color-arrow-button span, #top #wrap_all .as-result-item.visible .avia-color-arrow-button: before, #top #wrap_all .as-result-item.visible .avia-color-arrow-button:after{}
    /*modificationss*/
    #top #wrap_all .as-result-item .avia-color-arrow-button:before, #top #wrap_all .as-result-item .avia-color-arrow-button:after,
    #top #wrap_all .post-carousel .avia-color-arrow-button:before, #top #wrap_all .post-carousel .avia-color-arrow-button:after,
    #top #wrap_all .avia-content-grid-active .avia-color-arrow-button:before, #top #wrap_all .avia-content-grid-active .avia-color-arrow-button:after{width: 15px;}
    #top #wrap_all .as-result-item .avia-color-arrow-button:before, #top #wrap_all .as-result-item .avia-color-arrow-button:after, #top #wrap_all .as-result-item .avia-color-arrow-button span,
    #top #wrap_all .post-carousel .avia-color-arrow-button:before, #top #wrap_all .post-carousel .avia-color-arrow-button:after, #top #wrap_all .post-carousel .avia-color-arrow-button span,
    #top #wrap_all .avia-content-grid-active .avia-color-arrow-button:before, #top #wrap_all .avia-content-grid-active .avia-color-arrow-button:after, #top #wrap_all .avia-content-grid-active .avia-color-arrow-button span{right: 15px;}
    /*flex direction*/
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button{position: absolute; overflow: visible;}
    #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button{position: relative; opacity: 1; overflow: visible;}
    #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button:before, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button:after{left: auto; bottom: auto;}
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button span, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button span,
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button:before, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button:before,
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button:after, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button:after{height: 1px; }
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button:before, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button:before,
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button:after, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button:after{width: 10px;}
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button.flex-prev, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button.prev-slide{transform:  rotate(180deg);}
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button span, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button span{width: 15px;}
    #top #wrap_all .flex-direction-nav .avia-color-arrow-button.visible span, #top #wrap_all .avia-slideshow-arrows .avia-color-arrow-button.visible span{width: 40px;}
    /*Form*/
    #top #wrap_all .avia_ajax_form{max-width: 768px; margin:0 auto;}
    #top .all_colors .input-text, 
    #top .all_colors input[type="text"], 
    #top .all_colors input[type="input"], 
    #top .all_colors input[type="password"], 
    #top .all_colors input[type="email"], 
    #top .all_colors input[type="number"], 
    #top .all_colors input[type="url"], 
    #top .all_colors input[type="tel"], 
    #top .all_colors input[type="search"], 
    #top .all_colors textarea, #top .all_colors .text_area, 
    #top .all_colors select{font-family: inherit;}
    #top ::placeholder {color: #908E8E; opacity: 1;}
    #top :-ms-input-placeholder {color: #908E8E;}
    #top ::-ms-input-placeholder {color: #908E8E;}
    
    /*General slider styles / Blog posts / carousel styles*/
    #top .avia-content-slider, #top .avia-content-slider-inner, #top .avia-content-slider-inner .slide-entry-wrap{overflow: visible;}
    /*Card style*/
    #top #wrap_all .flexslider .slides li .carousel-item-wrapper, #top #wrap_all .avia-content-grid-active article{cursor: pointer; -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.16); -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.16); box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.16);}
    #top #wrap_all .flexslider .slides li .carousel-item-wrapper:hover, #top #wrap_all .avia-content-grid-active article:hover{-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3); -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3); box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);}
    #top #wrap_all .flexslider .slides li:first-child .carousel-item-wrapper{margin-left:0px !important;}
    #top #wrap_all .flexslider .slides li:last-child .carousel-item-wrapper{margin-right:0px !important;}
    #top #wrap_all .carousel-item-content, #top #wrap_all .avia-content-grid-active .slide-content{padding: 20px;}
    #top #wrap_all .avia-content-grid-active .entry-content-header{border-bottom: 1px solid #BEBEBE; padding-bottom: 15px; margin-bottom: 15px}
    #top #wrap_all .avia-content-grid-active .avia-button-wrap{margin: 20px 0px;}
    /*Image*/
    #top #wrap_all .avia-content-grid-active .slide-entry .slide-image, #top #wrap_all .flexslider .slides li figure{height: 320px; border-radius: 0px;}
    #top #wrap_all .avia-content-grid-active .slide-entry .slide-image img, #top #wrap_all .flexslider .slides li figure img{border-radius: 0; object-fit: cover; width: 100%; height: 100%; object-position: 50% 50%;}
    #top #wrap_all .avia-content-grid-active.worker-lifts .slide-entry .slide-image img{object-position: top center;}
    /*slider typography*/
    #top #wrap_all .avia-content-slider .slide-content h3, 
    #top #wrap_all .avia-content-grid-active .slide-entry h3,
    #top #wrap_all .post-carousel .slides h3{font-size: 20px; text-align: center;}
    #top #wrap_all .main_color .avia-content-slider .slide-content h3, #top #wrap_all .main_color .post-carousel .slides h3{color: #000000;}
    #top #wrap_all .avia-content-slider .slide-content, #top #wrap_all .post-carousel .carousel-item-content{text-align: center; font-size: 12px;}
    /*slider navigation*/
    #top #wrap_all .avia-slideshow-arrows{display: flex; justify-content: center; column-gap: 40px; margin-top: 20px;}
    /*#top #wrap_all .avia-slideshow-arrows a{position: relative; top: auto; left: auto; right: auto; opacity: 1; height: 20px; width: 35px; line-height: 1.6em; margin: 0; text-decoration: none;}
    #top #wrap_all .avia-slideshow-arrows a:before{position: relative; content: ''; background: none; line-height: inherit; height: inherit; width: inherit; background-repeat: no-repeat; background-position: center;}
    #top #wrap_all .avia-slideshow-arrows a.prev-slide:before{background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35.707' height='15.561' viewBox='0 0 35.707 15.561'%3E%3Cg data-name='Group 13' transform='translate(-891.793 -3625.929)'%3E%3Cpath data-name='Path 14' d='M666.051-1133.5l7.427-7.427,7.427,7.427' transform='translate(2033.425 4307.188) rotate(-90)' fill='none' stroke='%23cc9a65' stroke-width='1'/%3E%3Cline data-name='Line 9' x2='35' transform='translate(892.5 3633.727)' fill='none' stroke='%23cc9a65' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");}
    #top #wrap_all .avia-slideshow-arrows a.next-slide:before{background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35.707' height='15.561' viewBox='0 0 35.707 15.561'%3E%3Cg data-name='Group 14' transform='translate(927.5 3641.49) rotate(180)'%3E%3Cpath data-name='Path 14' d='M666.051-1133.5l7.427-7.427,7.427,7.427' transform='translate(2033.425 4307.188) rotate(-90)' fill='none' stroke='%23cc9a65' stroke-width='1'/%3E%3Cline data-name='Line 9' x2='35' transform='translate(892.5 3633.727)' fill='none' stroke='%23cc9a65' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");}*/
    #top #wrap_all .avia-slideshow-arrows a.next-slide{top: 1px;}
    /*Flexslider*/
    #top #wrap_all .flexslider{border:0px; padding:0px; background: none;}
    #top #wrap_all .flex-viewport{overflow: visible !important;}
    #top #wrap_all .flexslider .slides li{margin:0px;} 
    #top #wrap_all .slides li .carousel-item-wrapper{ background:#ffffff; position: relative; margin:0px!important;  padding-top:0px;}
    #top #wrap_all .carousel-item-content{padding:20px;}
    #top #wrap_all .flex-control-nav{bottom:-60px;}
    #top #wrap_all .flex-direction-nav li{list-style: none; margin: 0px; padding: 0px;}
    #top #wrap_all .flexslider .flex-direction-nav a{opacity: 1; top: 40%;}
    #top #wrap_all .flexslider .flex-direction-nav a.flex-prev{left: -50px;}
    #top #wrap_all .flexslider .flex-direction-nav a.flex-next{right: -50px;}
    #top #wrap_all .flexslider .flex-direction-nav a:before{content: ''; color: inherit; text-shadow: none;}
    #top #wrap_all .flexslider:hover .flex-direction-nav a{opacity: 1;}
    /*Post carousel*/
    #top #wrap_all .post-carousel .flex-viewport{padding: 20px;}
    #top #wrap_all .post-carousel .carousel-item-excerpt{display: flex; align-items: center;}
    #top #wrap_all .post-carousel .flex-direction-nav{display: none;}
    /*feedback carousel*/
    #top #wrap_all .feedback-carousel .flex-viewport{padding: 20px;}
    #top #wrap_all .feedback-carousel .slides li .carousel-item-wrapper{display: flex; flex-direction: column; justify-content: flex-end;}
    #top #wrap_all .feedback-carousel .carousel-item-content{display: flex; align-items: center; flex-grow: 2;}
    #top #wrap_all .feedback-carousel .carousel-item-content p{font-size:14px; font-style: italic;}
    #top #wrap_all .feedback-carousel .carousel-item-wrapper footer{display: flex; padding: 20px; padding-top: 0px; align-items: center; column-gap: 10px;}
    #top #wrap_all .feedback-carousel .carousel-item-wrapper footer img{width: 80px; height: 80px; object-fit: cover; border-radius: 50%;}
    #top #wrap_all .feedback-carousel .carousel-item-wrapper footer h4{font-size: 14px; font-weight: 600; color: #000000;}
    #top #wrap_all .feedback-carousel .flex-direction-nav{display: flex; justify-content: center; column-gap: 40px; margin-top: 20px;}
    #top #wrap_all .feedback-carousel .flex-direction-nav a{position: relative; left: auto; right: auto; top: auto;}
    #top #wrap_all .feedback-carousel  .flex-direction-nav a.flex-prev{left: auto;}
    #top #wrap_all .feedback-carousel  .flex-direction-nav a.flex-next{right: auto; top: 1px;}
    /*Blog posts*/
    #top #wrap_all .avia-content-grid-active .slide-entry-excerpt{border-bottom: 1px solid #BEBEBE; padding-bottom: 15px; margin-bottom: 15px; font-size: 11px; text-align: center; display: flex; align-items: center; justify-content: center; margin-top: 0px;}

    /*tyontekija-lifts*/
    #top #wrap_all .worker-lifts .job-title{font-size: 20px; margin-top: 5px;}
    #top #wrap_all .worker-lifts .slide-meta{display: none;}
    
    
    /*Shortcodes*/
    /*Image*/
    #top #wrap_all .avia-image-overlay-wrap, #top #wrap_all .avia-image-overlay-wrap a{display: table;}
    #top #wrap_all .avia_image{border-radius: 0px;}
    #top #wrap_all .avia-image-overlay-wrap .image-caption{display: table-caption; caption-side: bottom; font-size: 14px; font-style: italic; padding: 0px 20px; margin-top: 10px;}
    #top #wrap_all .avia-image-overlay-wrap .image-caption p{margin-top: 0px;}
    #top #wrap_all .avia-image-overlay-wrap a .image-caption p{color: #000000;}
    #top #wrap_all .avia-image-overlay-wrap a:hover .image-caption p{text-decoration: underline;}
    
    /*Content slider*/
    #top #wrap_all .avia-content-slider-inner{overflow: visible;}
    #top #wrap_all .avia-content-slider-element-slider{padding-bottom:60px; margin:0 auto; text-align: center; max-width: 768px;}
    #top #wrap_all .avia-content-slider-element-slider .slide-entry-title{text-align: center;}
    #top #wrap_all .avia-smallarrow-slider-heading{position: absolute; bottom:0px; display: flex; justify-content:center; margin-top: 0px;}
    #top #wrap_all .avia-smallarrow-slider .avia-slideshow-dots a{margin:0 5px; border:0px; opacity:1; display: inline-block;}
    #top #wrap_all .avia-smallarrow-slider .avia-slideshow-dots a.active{}
    /*Feedbacks slider*/
    #top #wrap_all .feedbacks{margin-top: 15px;}
    #top #wrap_all .feedbacks .slide-content{max-width: 768px; margin: 0 auto; display: flex; justify-content: center; align-items: center;}
    #top #wrap_all .feedbacks .slide-content .entry-content{font-size: 24px; color: #d4a46e; line-height: 1.6em; text-align: center;}
    /*Blog posts*/
    #top #wrap_all .avia-content-grid-active .slide-entry-wrap{margin-bottom: 0px; overflow: visible;}
    #top #wrap_all .avia-content-grid-active .slide-entry h3 a{text-decoration: none; font-weight: normal; display: flex; align-items: center; justify-content: center;}
    /*Tabs*/
    .av-inner-tab-title, .av-tab-section-icon, .av-tab-arrow-container, .av-tab-section-image{width: auto;}
    #top #wrap_all .av-tab-section-container{padding: 50px 0px; padding-top: 0px;}
    #top #wrap_all .av-tab-section-tab-title-container{background: none;}
    #top #wrap_all .av-tab-section-tab-title-container .av-section-tab-title{padding: 6px 10px; border:0px}
    #top #wrap_all .av-tab-section-tab-title-container .av-section-tab-title.av-active-tab-title{border: 0px;}
    #top #wrap_all .avia-tab-title-padding-default .av-outer-tab-title{padding: 0px; color: #000000;}
    #top #wrap_all .av-tab-no-icon.av-tab-no-image .av-inner-tab-title{margin: 0px; text-transform: none; font-weight: 600; font-size: 14px; text-decoration: underline;}
    #top #wrap_all .av-tab-no-icon.av-tab-no-image.av-active-tab-title .av-inner-tab-title, #top #wrap_all .av-tab-no-icon.av-tab-no-image .av-inner-tab-title:hover{}
    #top #wrap_all .av-tab-arrow-container{display: none;}
    #top #wrap_all .av-layout-tab{padding-bottom: 0px; padding-top: 20px;}
    #top #wrap_all .av-layout-tab .flex_column_table{margin-bottom: 0px;}
    #top #wrap_all .av-layout-tab .av-flex-placeholder{height: 20px;}
    /*Metadata content*/
    #top #wrap_all .av-post-metadata-container-inner{font-weight: normal;}
    /*Gallery*/
    #top div .avia-gallery img{border: 0px;}
    
    /*Blocks*/
    /*Header gallery*/
    #top #wrap_all .header-gallery{max-width: 800px; margin: 0 auto;}
    #top #wrap_all .header-gallery .slides > li{padding: 0px 5px;}
    #top #wrap_all .header-gallery img{height: 350px; width: 100%; object-fit: cover;}
    #top #wrap_all .header-gallery li a{position: relative;}
    #top #wrap_all .header-gallery li a:after{content: ''; width: 100%; height: 100%; background: rgba(0,0,0,0.2); opacity: 0; position: absolute; left: 0px; top: 0px; -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease; -moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-kthtml-transition: all 0.3s ease;transition: all 0.3s ease;}
    #top #wrap_all .header-gallery li:hover a:after{opacity: 1;}
    #top #wrap_all .header-gallery li img{display: block;}
    #top #wrap_all .header-gallery .flex-control-nav{bottom: 0px;}
    /*Three image section*/
    #top #wrap_all .three-image-section{max-width: 1180px; margin: 0 auto; float: none;}
    #top #wrap_all .three-image-section .container{margin: 0px; padding: 0px; width: 100%; max-width: 100%; padding: 0 5%;}
    #top #wrap_all .three-image-section .content{padding: 0px;}
    #top #wrap_all .three-image-section .post-entry{height: 100%;}
    #top #wrap_all .three-image-section .entry-content-wrapper{position: relative; height: 100%; display: flex; align-items: center;}
    #top #wrap_all .three-image-section .flex_column{margin: 0px; float: none; -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease; -moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-kthtml-transition: all 0.3s ease;transition: all 0.3s ease;}
    #top #wrap_all .three-image-section .flex_column img{-webkit-box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 16%); -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,.16); box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 16%);}
    #top #wrap_all .three-image-section .tic-left-column{ display: none;}
    #top #wrap_all .three-image-section .tic-center-column{width: 100%; z-index: 10;}
    #top #wrap_all .three-image-section .tic-right-column{display: none;}
    /*Contact lift*/
    #top #wrap_all .contact-lift{text-align: center;}
    #top #wrap_all .all_colors .contact-lift h3{font-size: 18px; font-weight:bold; color: #000000;}
    /*Tilaa uutiskirje -nosto*/
    #top #wrap_all .avia-mailchimp-form{max-width: 480px; margin:0 auto;}
    #top #wrap_all .alternate_color .avia-mailchimp-form input[type="email"]{background: none; border:0px; border-bottom:1px solid #ffffff; border-radius:0px;}
    #top #wrap_all .alternate_color .avia-mailchimp-form input[type="email"]:focus{box-shadow: none;}
    #top #wrap_all .avia-mailchimp-form p{margin-bottom: 20px;}
    #top #wrap_all .avia-mailchimp-form .modified_width{text-align: center;}
    #top #wrap_all .avia-mailchimp-form #avia_privacy_1{text-align: center;}
    /*Header image*/
    #top #wrap_all .header-image-section .av-special-heading-tag{color: #ffffff; max-width: 600px; margin: 0 auto; -webkit-text-stroke: 1px #ffffff; text-shadow: 0px 1px 4px #000000;}
    /*Työntekijä header*/
    #top #wrap_all .desktop-image{display: none;}
    #top #wrap_all .tyontekija-header .job-title{text-align: center; font-size: 18px; margin-bottom: 30px;}
    #top #wrap_all .tyontekija-header .contact-info{font-size: 22px; text-align: center; margin-bottom: 30px;}
    
    /*Friends*/
    .flex-wrapper{display: flex; display: -webkit-flex; display: -ms-flexbox; webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; align-items: stretch; }
    .friends-list{background:#ececec}
    .flex-item{display: -webkit-flex; display: -ms-flexbox; display: flex;}
    .flex-item-with-content{flex-direction: column; justify-content: center; align-items: center;}
    .friends-item{ width:100%; cursor:pointer; border-right:4px solid #ffffff !important; border-bottom:4px solid #ffffff !important; list-style: none; padding:40px 20px;}
    .friends-item img{filter: grayscale(100%);}
    .empty-friends-item{cursor: auto;}
    .friends-item-content{display: none; }
    .friends-list-open-content{display:none;}
    .close-me{position: absolute; right: 20px; top: 20px; font-size: 18px; cursor: pointer; color: red;}

    /*Single kohde*/
    /*kohde header*/
    #top #wrap_all .kohde-header{text-align: center; max-width: 600px; margin: 0 auto; margin-top: 30px; margin-bottom: 30px;}
    #top #wrap_all .kohde-header h1{text-transform: capitalize; margin-bottom: 20px;}
    #top #wrap_all .kohde-header .kohde-location-info{font-size: 16px;}
    #top #wrap_all .kohde-header .kohde-showings{margin-top: 20px;}
    #top #wrap_all .kohde-header .showing-info{font-size: 13px; font-style: italic; margin-top: 0px;}
    /*kohde main info*/
    #top #wrap_all .kohde-main-info-wrapper{margin-bottom: 50px;}
    #top #wrap_all .kohde-main-info{display: flex; justify-content: space-evenly; align-items: flex-end;}
    #top #wrap_all .kohde-main-info-item{display: flex; flex-direction: column; text-align: center; grid-row-gap: 8px; opacity: 0; -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -kthtml-transition: all 0.3s ease; transition: all 0.3s ease;}
    #top #wrap_all .kohde-main-info-item.visible{opacity: 1;}
    #top #wrap_all .kohde-main-info-item img{height: 30px; }
    #top #wrap_all .kohde-main-info-item img.visible{opacity: 1;}
    #top #wrap_all .kohde-main-info-item span{font-size: 20px;}
    #top #wrap_all .kohde-main-info-item label{font-size: 12px; font-weight: normal; line-height: 1em;}
    /*kohde description & agent*/
    #top #wrap_all .kohde-description-agent-wrapper{display: flex; flex-direction: column-reverse; margin: 0 auto; max-width: 1000px; margin-bottom: 50px;}
    #top #wrap_all .kohde-description{padding: 0px 7.5%;}
    #top #wrap_all .kohde-agent-wrapper{text-align: center; margin-bottom: 50px;}
    #top #wrap_all .kohde-agent-wrapper h2{margin-bottom: 20px;}
    /*kohde info*/
    #top #wrap_all .kohde-extra-info{background: #f5f5f5;}
    #top #wrap_all .kohde-extra-info .content{max-width: 600px; margin: 0 auto;}
    #top #wrap_all .kohde-extra-info-section-wrapper{margin-bottom: 30px;}
    #top #wrap_all .kohde-extra-info-section-wrapper:last-child{margin-bottom: 0px;}
    #top #wrap_all .kohde-extra-info-item{display: flex; justify-content: space-between; font-size: 13px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #bebebe; column-gap: 10px;}
    #top #wrap_all .kohde-extra-info-item-label{font-weight: bold;}
    #top #wrap_all .kohde-extra-info-section-wrapper h3{margin-bottom: 20px; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: space-between; -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -kthtml-transition: all 0.3s ease; transition: all 0.3s ease;}
    #top #wrap_all .kohde-extra-info-section-wrapper h3:after{content: ''; height: 28px; width: 25px; background-repeat: no-repeat; background-position: center; background-size: contain; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24.125' height='27.066' viewBox='0 0 24.125 27.066'%3E%3Cg data-name='Group 366' transform='translate(-1083.437 -2548.5)'%3E%3Cpath data-name='Path 14' d='M666.051-1129.216l11.709-11.709,11.709,11.709' transform='translate(1773.26 1433.933) rotate(180)' fill='none' stroke='%23cc9a65' stroke-width='1'/%3E%3Cline data-name='Line 9' y1='26.555' transform='translate(1095.518 2548.5)' fill='none' stroke='%23cc9a65' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"); -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -kthtml-transition: all 0.3s ease; transition: all 0.3s ease;}
    #top #wrap_all .kohde-extra-info-section-wrapper h3:hover:after{transform: rotate(90deg);}
    #top #wrap_all .kohde-extra-info-section-wrapper h3.open:after{transform: rotate(180deg);}
    #top #wrap_all .kohde-extra-info-sub-section-wrapper{display: none;}
    #top #wrap_all .kohde-extra-info-section-wrapper h4{margin: 20px 0px; display: none;}
    /*kohde offer*/
    #top #wrap_all .offer-section{text-align: center; margin-top: 0px;}
    .responsive #top #wrap_all .offer-section .content{padding: 50px 0px;}
    #top #wrap_all .offer-section .sub-heading{margin-bottom: 20px;}
    #top #wrap_all .offer-section .offer-title{margin-bottom: 20px;}
    #top #wrap_all .offer-section .show-offer{cursor: pointer;}
    /*Offer form*/
    #top #wrap_all .offer-wrapper{width:100%; margin:0 auto; overflow: hidden; -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease; -moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-kthtml-transition: all 0.3s ease;transition: all 0.3s ease;}
    #top #wrap_all .offer-wrapper
    #top #wrap_all .offer-sub-title{font-size:24px; color:#d4a46e; border-bottom:2px solid #d4a46e; padding-bottom:10px; margin-bottom: 40px;}
    #top #wrap_all .offer-row{display: flex;flex-wrap: wrap; align-items:flex-end;}
    #top #wrap_all .offer-item{width:50%; margin-bottom: 40px;}
    #top #wrap_all .offer-item.full-width{width:100%;}
    #top #wrap_all .offer-item.third-width{width:33%;}
    #top label{font-size:16px; font-weight:600;}
    #top #wrap_all .offer-label, #top #wrap_all .acf-field .acf-label label{font-size:16px; color:#000000; font-weight: 600; margin-bottom:10px;}
    .offer-value{padding-bottom:5px; border-bottom:1px solid #000000; font-size:16px;}
    /*Acf styles to offer form*/
    #top #wrap_all .offer-wrapper .offer-main-title{text-align: center; margin-bottom: 30px; margin-top: 60px;}
    #top #wrap_all .offer-wrapper .offer-sub-title{font-size: 22px;}
    #top #wrap_all .acf-field .acf-label{margin-bottom: 15px;}
    #top #wrap_all .acf-fields > .acf-field{padding:0px; margin-bottom:40px; border-top: 0px;}
    #top #wrap_all .acf-fields > .acf-field .offer-sub-title{margin-left:0px; margin-right:0px; margin-bottom: 0px;}
    #top .main_color .offer-wrapper  .input-text, #top .main_color .offer-wrapper  input[type='text'], #top .main_color .offer-wrapper  input[type='input'], #top .main_color .offer-wrapper  input[type='password'], #top .main_color .offer-wrapper  input[type='email'], #top .main_color .offer-wrapper  input[type='number'], #top .main_color .offer-wrapper  input[type='url'], #top .main_color .offer-wrapper  input[type='tel'], #top .main_color .offer-wrapper  input[type='search'], #top .main_color .offer-wrapper  textarea, #top .main_color .offer-wrapper  select{margin:0px; border:0px; padding:5px; padding-bottom:5px; border-bottom:1px solid #000000; border-radius:0px !important; font-weight:400; font-size:16px; background: #ffffff;}
    ul.acf-radio-list li, ul.acf-checkbox-list li{margin-bottom: 8px;}
    ul.acf-radio-list li input[type="checkbox"], ul.acf-checkbox-list li input[type="checkbox"], ul.acf-radio-list li input[type="radio"], ul.acf-checkbox-list li input[type="radio"]{margin-right:10px;}
    #top #wrap_all .acf-input-prepend, #top #wrap_all .acf-input-append{background: none; border:none; font-size:20px;}
    #top #wrap_all #offer-debtless-sum .acf-input, #top #wrap_all #contract-fine .acf-input{display: flex; flex-direction: row-reverse; align-items: center;}
    #top #wrap_all #offer-debtless-sum .acf-input .acf-input-wrap, #top #wrap_all #contract-fine .acf-input .acf-input-wrap{width: 100%;}
    /*kohde gallery*/
    #top #wrap_all .kohde-gallery{display: flex; flex-wrap: wrap; justify-content: center; margin: 0px;}
    #top #wrap_all .kohde-gallery li{list-style: none; width:50%;  padding:0 1%; margin-bottom: 5px;}
    #top #wrap_all .kohde-gallery li a{position: relative;}
    #top #wrap_all .kohde-gallery li a:after{content: ''; width: 100%; height: 100%; background: rgba(0,0,0,0.2); opacity: 0; position: absolute; left: 0px; top: 0px; -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease; -moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-kthtml-transition: all 0.3s ease;transition: all 0.3s ease;}
    #top #wrap_all .kohde-gallery li:hover a:after{opacity: 1;}
    #top #wrap_all .kohde-gallery li img{display: block;}
    #top #wrap_all .kohde-gallery-title{text-align: center; margin-bottom: 30px;}

    /*Single post*/
    /*basic posts*/
    #top.single-post .fullsize .template-blog .post .entry-content-wrapper > *{max-width: 600px; text-align: initial;}
    #top.single-post #wrap_all .post-meta-infos span{color: #000000;}
    #top.single-post #wrap_all .post-meta-infos a, #top.single #wrap_all .post-meta-infos time{color: #000000;}
    #top.single-post #wrap_all .post-title{margin-top: -15px; padding: 0px; margin-bottom: 20px; line-height: 1.2em;}
    #top.single-post #wrap_all .excerpt{max-width: 600px; margin: 0 auto; text-align: center; font-size: 20px; margin-bottom: 40px; line-height: 1.6em;}
    #top.single-post #wrap_all blockquote{ margin: 40px 0px; display: flex; color: #2b2f50; padding-top: 15px; padding-bottom: 15px;  -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease; -moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-kthtml-transition: all 0.3s ease;transition: all 0.3s ease;}
    #top.single-post #wrap_all blockquote p:first-child{margin-top: 0px;}
    #top.single-post #wrap_all blockquote p:last-child{margin-bottom: 0px;}
    /*advanced layout builder posts*/
    #top.single-post #wrap_all .av-special-heading, #top.single-post #wrap_all .av_textblock_section{max-width: 600px; margin: 0 auto;}
    #top.single-post #wrap_all .av-special-heading h1{margin-bottom: 20px;}
    #top.single #wrap_all .avia_textblock .excerpt{margin-bottom: 0px;}

    /*Single palvelu*/
    #top.single-palvelu #wrap_all .palvelu-excerpt-column{margin-bottom: 50px;}
    #top.single-palvelu #wrap_all .palvelu-excerpt-column p{font-size: 18px; line-height: 1.6em;}

    /*Google reviews*/
    #top #wrap_all .wp-gr .grw-row-s .grw-slider-review, .rplg .grw-row-s .grw-slider-review{-ms-flex: 0 0 100%!important; flex: 0 0 100%!important; max-width: 100%!important;}
    #top #wrap_all .wp-gr .grw-slider .wp-google-review{padding-bottom: 40px !important;}
    #top #wrap_all .wp-gr .grw-slider .wp-google-feedback{max-width: 768px !important; margin: 0 auto !important; text-align: center !important;}
    #top #wrap_all .wp-gr .wp-google-text{color: #d4a46e !important; font-size: 24px !important; line-height: 1.6em !important;}
    #top #wrap_all .wp-gr .grw-slider-review .wp-google-left{text-align: center !important; display: flex !important; justify-content: center; align-items: center; position: absolute !important; bottom: 0px !important; width: 100% !important;}
    #top #wrap_all .wp-gr.wpac a.wp-google-name{}
    #top #wrap_all .wp-gr.wpac .wp-google-review .wp-google-stars{display: none !important;}
    #top #wrap_all .wp-gr .grw-slider .grw-slider-review-inner>svg{width: 100% !important; top: -15px !important; right: 0px !important;}
    /*Facebook reviews*/
    #top .rplg .grw-slider:not(.wp-dark) .grw-slider-review-inner.grw-slider-review-border{background: none !important; border: 0 !important; box-shadow: none !important; text-align: center;}
    .rplg .rplg-review-badge{right: auto !important; left: 0px !important; text-align: center; width: 100%; top: -15px !important;}
    .rplg-row .rplg-row-right{text-align: center !important; display: flex !important; justify-content: center; align-items: baseline; gap: 5px; position: absolute !important; bottom: -20px !important; width: 100% !important;}
    .rplg .grw-slider .rplg-box-content{max-width: 768px !important; margin: 0 auto !important;  color: #d4a46e !important; font-size: 24px !important; line-height: 1.6em !important; height: auto !important;}
    #top .rplg .rplg-review-text{color: #d4a46e !important; font-size: 13px !important; line-height: 1.8em !important; display: block;}
    #top .rplg .rplg-review-name{color: #ffffff !important; font-size: 13px !important; font-weight: normal !important;}
    #top .rplg .rplg-review-time{text-shadow: none !important; color: #bebebe !important; font-size: 11px !important;}
    #top .rplg .rplg-stars{margin: 20px;}
    #top .rplg .rplg-stars svg{width: 30px !important; height: 30px !important;}
    #top .rplg-stars svg use{fill: #d4a46e !important;}

    /*Vuokra-asuntohakemus*/
    .avia_ajax_form p{float:none;}
    #top #wrap_all .avia_ajax_form .av-form-text:before{clear:both; display: block; content:'';}
    #top #wrap_all .avia_ajax_form .av-form-text h3{margin-top:20px;}

    /*Helper classes for the editor*/
    #top #wrap_all .container_wrap{border:0px;}
    #top #wrap_all .main_color + .main_color .content{padding-top:0px;}
}
@media only screen and (min-width: 768px) {
    /*Grid stuff*/
    .content{padding: 70px 0px;}
    body#top, #top #wrap_all{overflow: visible;}
    /*Headings*/
    #top #wrap_all .all_colors h1{font-size:50px;}
    #top #wrap_all .all_colors h2{font-size:36px;}
    #top #wrap_all .all_colors h3{font-size:28px;}
    #top #wrap_all .all_colors h4{font-size:18px;}
    /*General slider styles / Blog posts / carousel styles*/
    /*Card styles*/
    /*Card typography*/
    #top #wrap_all .avia-content-slider .slide-content{text-align: center; font-size: 13px;}
    /*Blog posts*/
    #top #wrap_all .avia-content-grid-active .slide-entry-wrap{display: flex; justify-content: space-between; margin-bottom: 40px;}
    #top #wrap_all .avia-content-grid-active .slide-entry-wrap .flex_column{float: none; margin-left: 0px;}
    #top #wrap_all .avia-content-grid-active .slide-entry-wrap .av_one_third{width: 31%;}
    /*Tabs*/
    #top #wrap_all .av-tab-section-container{padding: 50px 0px;}
    #top #wrap_all .av-tab-section-tab-title-container .av-section-tab-title{padding: 6px 15px;}
    #top #wrap_all .av-tab-no-icon.av-tab-no-image .av-inner-tab-title{font-size: 18px;}
    #top #wrap_all .av-layout-tab{padding: 50px 0px;}
    /*Header gallery*/
    #top #wrap_all .header-gallery .slides > li{padding: 0px 10px;}
    #top #wrap_all .header-gallery img{height: 480px;}
    /*Työntekijä header*/
    #top.single-tyontekija #wrap_all .header-image-section .content{text-align: center;}
    #top #wrap_all .tyontekija-header .job-title{font-size: 24px; margin-top: 30px; margin-bottom: 50px; }
    #top #wrap_all .tyontekija-header  .contact-info{font-size: 32px; margin-bottom: 40px;}

    /*Blocks*/
    /*Friends*/
    .friends-item{width:33.33333333%; min-height:285px;}
    .friends-item-content{position: absolute; width:100%;}
    .friends-list-open-content{display:block; position:relative; height:0px; overflow:hidden; width:100%; background:#ffffff; -webkit-transition: all 0.3s linear; -o-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -ms-transition: all 0.3s linear; -kthtml-transition: all 0.3s linear; transition: all 0.3s linear;}
    .friends-list-open-content .friends-item-content{display: block;}
    .friends-item-description{padding:40px 20px 10px 20px;}
    .friends-item-info{width:33%; padding:10px 20px 40px 20px;}
    /*Sticky section*/
    #top #wrap_all .sticky-section{position: relative;}
    #top #wrap_all .sticky-section .content{position: relative;}
    #top #wrap_all .sticky-section .entry-content-wrapper{height: 4000px; position: relative; display: flex; flex-direction: column; justify-content: space-between;}
    #top #wrap_all .sticky-section .entry-content-wrapper:before{display: none;}
    #top #wrap_all .sticky-section .av_one_full{opacity: 0;  position: sticky; position: -webkit-sticky; top: 0;  display: flex; align-items: center; flex-wrap: nowrap; -webkit-transition: all 0.3s linear; -o-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -ms-transition: all 0.3s linear; -kthtml-transition: all 0.3s linear; transition: all 0.3s linear;} 
    #top #wrap_all .sticky-section .flex_column_table{opacity: 0; position: sticky; position: -webkit-sticky; top: 0; display: flex; align-items: center; flex-wrap: nowrap; -webkit-transition: all 0.3s linear; -o-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -ms-transition: all 0.3s linear; -kthtml-transition: all 0.3s linear; transition: all 0.3s linear;}
    #top #wrap_all .sticky-section .current{opacity: 1; z-index: 99;}
    /*Työntekijä header*/
    #top #wrap_all .desktop-image{display: inline-block;}
    #top #wrap_all .mobile-image{display: none;}

    /*Single kohde*/
    /*kohde header*/
    #top #wrap_all .kohde-header{margin-bottom: 50px;}
    #top #wrap_all .kohde-header .kohde-location-info{font-size: 20px;}
    /*kohde main info*/
    #top #wrap_all .kohde-main-info-wrapper{margin-bottom: 70px;}
    #top #wrap_all .kohde-main-info{justify-content: space-around;}
    #top #wrap_all .kohde-main-info-item{grid-row-gap: 16px;}
    #top #wrap_all .kohde-main-info-item img{height: 40px;}
    #top #wrap_all .kohde-main-info-item span{font-size: 30px;}
    #top #wrap_all .kohde-main-info-item label{font-size: 14px; font-weight: normal;}
    /*kohde description & agent*/
    #top #wrap_all .kohde-description-agent-wrapper{display: flex; flex-direction: row; justify-content: space-between; flex-wrap: wrap;}
    #top #wrap_all .kohde-description{width: 58%; padding: 0px;}
    #top #wrap_all .kohde-agent-wrapper{width: 40%; margin-bottom: 0px;}
    #top #wrap_all .kohde-description-agent-wrapper{margin-bottom: 70px;}
    /*kohde extra info*/
    #top #wrap_all .kohde-extra-info-section-wrapper{margin-bottom: 50px;}
    #top #wrap_all .kohde-extra-info-section-wrapper h3{margin-bottom: 20px;}
    /*kohde offfer*/
    #top #wrap_all .offer-section{text-align: center; margin-top: 0px;}
    #top #wrap_all .offer-section .content{padding: 90px 0px;}
    #top #wrap_all .offer-section .sub-heading{margin-bottom: 40px;}
    #top #wrap_all .offer-section .offer-title{margin-bottom: 50px;}
    .offer-wrapper{width:90%; margin:0 auto;}
    #top #wrap_all .offer-sub-title{margin-left:5%; margin-right: 5%;}
    .offer-item{padding:0 5%;}
    #top #wrap_all .acf-fields > .acf-field{margin-right:5%; margin-left:5%;}
    /*Kohde gallery*/
    #top #wrap_all .kohde-gallery li{width: 25%; margin-bottom: 15px;}

    /*Single palvelu*/
    #top.single-palvelu #wrap_all .palvelu-excerpt-column{margin-bottom: 70px;}
    /*Facebook reviews*/
    #top .rplg .rplg-review-text{font-size: 24px !important; line-height: 1.6em !important;}
    #top .rplg .rplg-review-name{font-size: 16px !important;}
    #top .rplg .rplg-review-time{font-size: 13px !important;}
}
@media only screen and (min-width: 990px) {
    /*Menu*/
    #top #wrap_all .av-main-nav > li > a{text-transform: uppercase; font-size: 16px;}
    
    /*Single post*/
    #top.single #wrap_all .excerpt{margin-bottom: 60px;}

    /*Post carousel*/
    #top #wrap_all .post-carousel .flex-direction-nav{display: block;}

    /*Blocks*/
    /*Three image section*/
    #top #wrap_all .three-image-section{max-width: 90%;}
    #top #wrap_all .three-image-section .container{padding: 0;}
    #top #wrap_all .three-image-section .tic-left-column{position: absolute; left: -15%; width: 40%; top: 10%; display: block;}
    #top #wrap_all .three-image-section .tic-center-column{width: 100%; z-index: 10;}
    #top #wrap_all .three-image-section .tic-right-column{position: absolute; right: -15%; width: 40%; bottom: 5%; display: block;}

}
@media only screen and (min-width: 1180px) {
    /*Headings*/
    #top #wrap_all .all_colors h1{font-size:60px;}
    #top #wrap_all .all_colors h2{font-size:40px;}
    #top #wrap_all .all_colors h3{font-size:30px;}
    #top #wrap_all .all_colors h4{font-size:20px;}
    
    /*Flex slider*/
    #top #wrap_all .flexslider .slides li .carousel-item-wrapper{margin:0 15px;}
    #top #wrap_all .flex-control-nav{bottom:-40px;}
    /*Post carousel*/
    #top #wrap_all .post-carousel .flex-viewport{overflow: hidden !important;}
    #top #wrap_all .post-carousel .flex-direction-nav a.flex-prev{left: -80px;}
    #top #wrap_all .post-carousel .flex-direction-nav a.flex-next{right: -80px;}
    /*Feedback carousel*/
    #top #wrap_all .feedback-carousel .flex-viewport{overflow: hidden !important;}
    /*Feedbacks slider*/
    #top #wrap_all .feedbacks .slide-content .entry-content{font-size: 28px;}

    /*Blocks*/
    /*Three image section*/
    #top #wrap_all .three-image-section{max-width: 1180px;}
    .friends-item-description{float:left; width:67%; padding:40px;}
    .friends-item-info{float:left; width:33%; padding:40px;}


    /*Single kohde*/
    #top #wrap_all .kohde-header{margin-bottom: 80px;}
    #top #wrap_all .kohde-main-info-wrapper{margin-bottom: 100px;}

    /*Google reviews*/
    #top #wrap_all .wp-gr .wp-google-text{font-size: 28px !important;}
}
@media only screen and (max-width: 768px) {
    /*Long header word*/
    #top #wrap_all #av_section_1 h1.long-title{font-size:34px;}
    /*Blog posts*/
    .responsive #top #wrap_all .slide-entry{width: 100%; margin-left: 0px;}
    /*friends*/
    .friends-item-content{display: block; height:0; overflow: hidden; position: relative;}
    .empty-friends-item{display: none;}
    .close-me-mobile{position: relative; width:100%; padding:20px; display:block; font-size:18px; cursor: pointer; background:#ececec; color:red; text-align: center; margin-top:-4px; cursor: pointer; border-right:4px solid #ffffff !important; border-bottom:4px solid #ffffff !important;}
    /*Työntekijä header*/
    .responsive #top.single-tyontekija #wrap_all .header-image-section .container{width: 100%; max-width: 100%;}
    #top.single-tyontekija #wrap_all .header-image-section .content{padding-top: 0px;}
}
@media print {
    .offer-description-wrapper{margin-top:80px; padding:50px 20px;background: #2b2f50; color:#ffffff;}
    .offer-main-title{text-align: center; margin-bottom: 30px;}
    .offer-description{max-width: 768px; margin:0 auto; text-align: center; margin-bottom: 30px;}
    .offer-wrapper{width:100%; margin:0 auto; padding-top: 60px; overflow: hidden; -webkit-transition: all 0.3s ease;-o-transition: all 0.3s ease; -moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-kthtml-transition: all 0.3s ease;transition: all 0.3s ease;}
    #top #wrap_all .offer-sub-title{font-size:24px; color:#d4a46e; border-bottom:2px solid #d4a46e; padding-bottom:10px; margin-bottom: 40px;}
    .offer-row{display: flex;flex-wrap: wrap; align-items:flex-end;}
    .offer-item{width:50%; margin-bottom: 40px;}
    .offer-item.full-width{width:100%;}
    .offer-item.third-width{width:33%;}
    #top label{font-size:16px; font-weight:600;}
    .offer-wrapper{width:90%; margin:0 auto;}
    #top #wrap_all .offer-sub-title{margin-left:5%; margin-right: 5%;}
    .offer-item{padding:0 5%;}
    #header, #footer{display: none !important;}
    .offer-page{page-break-before: always; margin-top: 10%;}
    .extra-margin{margin-top:20%;}
    .offer-label, #top #wrap_all .acf-field .acf-label label{font-size:16px; color:#000000; font-weight: 600; margin-bottom:10px;}
    .offer-value{padding-bottom:5px; border-bottom:1px solid #000000; font-size:16px;}

}