/*
 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
-------------------------------------------------------------- */
.avia-slideshow-inner li{
-webkit-transform-style: preserve-3d; /*fixes flickering issue when slider moves. usually other elements in other container flicker */
}
.avia-fullscreen-slider .avia-slideshow-inner {
-webkit-transform: translate3d(0px, 0px, 0px) !important;
}
.comment-entry{display:none;}
.v-align{display:table; height:100%; width:100%;}
.box-content{display: table-cell; vertical-align: middle;}
.image-overlay-inside, .image-overlay.overlay-type-extern {display: none !important;}
@media only screen and (min-width: 320px) {
    /*body, html{max-width: 2000px; margin:0 auto;}*/
    .no-top-padding .content{padding-top: 0px;}
    .no-bottom-padding .content{padding-bottom: 0px;}
    .max-width-400{max-width: 420px; margin:0 auto !important;}
    .max-width-768{max-width: 768px; margin: 0 auto !important;}
    .full-width .container{max-width: 100%; padding:0px;}
    .overlay-mask{position: absolute; width:100%; height:100%; top:0px; left:0px; z-index: -1;}
    #top .flex_column_table{margin-top:0px;}

    /*Hide stuff*/
    .fake-thumbnail .slide-image{display: none;}
    .hide-from-front-end{display: none;}
    #menu-item-search, .responsive #top .av-main-nav #menu-item-search{display:none;}
    /*Grid stuff*/
    #top .container .flex_column_table{margin-bottom: 50px;}
    #top .container .entry-content-wrapper > *:last-child{margin-bottom: 0px;}
    #top .flex_column > *:last-child p{margin-bottom:0px;}
    #main{background: #ffffff;}
    
    /*General style helpers*/
    body div .avia-button, #top #wrap_all .read-more-link a{border-radius:0; border:0;}
    .special_amp{font-family: inherit; font-style: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit!important;}
    .avia-content-slider .slide-image, .avia-content-slider .slide-image img{border-radius:0;}
    .side-by-side-button{display: inline-block; margin:0 10px;}
    .text-align-center{text-align:center;}
    .avia-image-container-inner, .avia_image, .av-image-caption-overlay{border-radius: 0px;}
    #top #wrap_all .alternate_content a{text-decoration: underline;}
    #top #wrap_all .avia_ajax_form{max-width: 768px; margin:0 auto;}
    #top #wrap_all .no-padding-bottom-section .content{padding-bottom: 0px;}
    /*Typografy*/
    
    i{font-style:italic;}
    nav li{list-style:none;}
    sup { vertical-align: top; position: relative; top: -0.5em; }
    #top #wrap_all .text-shadow{text-shadow: 0px 0px 7px rgb(0 0 0 / 70%); /*text-shadow: 3px 0px 3px rgb(0 0 0 / 40%), -3px 0px 3px rgb(0 0 0 / 40%), 0px 4px 3px rgb(0 0 0 / 40%);*/}
    /*Headings*/
    #top #wrap_all .av-special-heading{margin-top:0px;}
    #top #wrap_all .all_colors h1{font-size:36px; text-transform: uppercase; font-weight: bold;}
    #top #wrap_all .all_colors h2{font-size:28px; font-weight: 400; text-transform: none; font-family:'Lora', sans-serif;}
    #top #wrap_all .all_colors h3{font-size:22px; font-weight: 400; font-family:'Lora', sans-serif;}
    #top #wrap_all .all_colors h4{font-size:18px; font-weight: 400; font-family:'Lora', sans-serif;}  
    #top .av-subheading_below{margin-top: 10px;}
    #top #wrap_all strong, #top #wrap_all b{font-weight:600;}
    /*Archive/Blog*/
    .archive .post-meta-infos time, .template-blog .post-meta-infos time{font-size:14px;}
    .archive .post-meta-infos span, .template-blog .post-meta-infos span{display: none !important;} 
    .archive .post-meta-infos, .template-blog .post-meta-infos{top:auto; margin-top:0px; padding-top:0px;}
    .flex_column .template-blog .post-meta-infos, .html_elegant-blog #top .post-entry .post-meta-infos, .html_elegant-blog .avia-content-slider .slide-meta{margin-bottom:0px; margin-top:0px; padding-top:0px;}
    .blog-categories{margin-top: -10px; display: block; margin-bottom: 20px;}
    .archive .post-title, .template-blog .post-title{color:#000000;}
    
    /*single*/
    #top .back-button{float:right; clear:both; margin-top: -20px; margin-bottom: 0px;}
    #top .back-button a.avia-button{max-width: 400px; margin:0 auto; padding-left:40px; padding-right:40px; }
    .avia_transform  a:hover .image-overlay{display: none !important;}
    #top h1.post-title{color:#000000;}
    
    /*Single CPT*/
    .single-cpt-section{margin-bottom: 80px;}
    .single-cpt-img-wrapper, .image-content-image{min-height:300px; background-size: cover; background-position: center center;}
    .single-cpt-title-wrapper, .image-content-content{text-align: center; font-size:18px; font-weight: lighter; padding:20px;}
    .single-cpt-title-wrapper p{line-height:2em;}

    /*Sidebar*/
    #top #main .sidebar{border:0px;}
    #top #main .sidebar_right{padding-left:15px;}
    /*general list styles*/
    #top .widget_nav_menu li, #top .sidebar .widget_recent_entries li, #top .widget_archive li{font-size:16px; border:0px; background: none; padding:0px; line-height: inherit;}
    /*general link styles*/
    .recentcomments a, .widget_recent_entries li a, .widget_nav_menu a, #top .widget_archive li a{font-family: inherit; font-style: normal; padding:15px 0px 0px 15px; line-height: inherit; padding-left:15px; position:relative; display: block;}
    #top #main .sidebar .widget_nav_menu li a:before,  #top .sidebar .widget_recent_entries li a:before, #top .widget_archive li a:before{border:0px; content:'\e875'; font-family: "entypo-fontello"; position:absolute; left:0px; top:14px;}
    /*Sidebar nav*/
    .main_color .widget_nav_menu ul:first-child>.current_page_item{background: none; border:0px; padding:0px; left:auto; top:auto; box-shadow: none; margin:0px;}
    #top #wrap_all .widget_nav_menu a{border-bottom: 1px solid #e7e7e7; padding-bottom: 15px;}
    .widget_nav_menu ul:first-child>.current-menu-item>a, .widget_nav_menu ul:first-child>.current_page_item>a{padding:15px 0px 15px 0px; background: none; border-top:0px;}
    /*Recent entries & archive*/
    #top .sidebar .widget_recent_entries li, #top .widget_archive li{padding:15px 0px; border-bottom:1px solid #e7e7e7;}
    #top .widget_recent_entries li a, #top .widget_archive li a{padding:15px 0px 8px 15px; border:0px;}
    #top .widget_recent_entries .post-date{font-size:0.8em; display: block; margin-left: 15px;}
    /*HEader*/
    .av-main-nav > li > a{font-size:18px; font-weight: lighter; text-transform: uppercase;}
    .av-main-nav > li.current-menu-item > a{text-decoration: underline;}
    .sub_menu>ul>li>a, .sub_menu>div>ul>li>a{font-weight: lighter; font-size: 15px;}
    #header_main:after{display: block; content:''; width:100%; height:20px; background:#FFF6EC;}
    /*Single asunto*/
    #top #wrap_all .single-asunto-container .alternate_color{padding:60px 5%;}
    #top #wrap_all .sa-header{text-align: center; margin:60px 0px;}
    #top #wrap_all .sa-header .housing-company-title{font-size:18px; text-transform: uppercase;}
    #top #wrap_all .sa-header .sa-sold{font-size:18px; font-style: italic;}
    #top #wrap_all .sa-basic-info-floor-plan-wrapper{display: flex; flex-direction: column;}
    #top #wrap_all .single-asunto-container .sa-basic-info{width:100%; margin-bottom:60px; display: flex; flex-wrap: wrap; padding-bottom:50px; }
    #top #wrap_all .single-asunto-container .sa-basic-info .presentation-wrapper{margin-top: 40px; width: 100%;}
    #top #wrap_all .basic-info-item{width:100%; margin-bottom: 10px;}
    #top #wrap_all .basic-info-item label{font-size:16px; font-weight:normal;}
    #top #wrap_all .basic-info-item span{font-weight: bold;}
    #top #wrap_all .sa-content-section{margin-bottom:60px;}
    #top #wrap_all .sa-gallery{margin-top:40px; text-align: center;}
    #top #wrap_all .sa-gallery h3{margin-bottom: 20px;}
    #top #wrap_all .sa-gallery-list{display: flex; justify-content: center; flex-wrap: wrap;}
    #top #wrap_all .sa-gallery-list li{width:50%;}
    #top #wrap_all .sa-gallery-list a:hover{opacity:0.8;}
    #top #wrap_all .sa-wrapper{max-width: 900px; margin:0 auto; text-align: center;}
    #top #wrap_all .sa-wrapper h2{margin-bottom: 40px;}
    #top #wrap_all .sa-wrapper form{margin-top: 40px;}
    /*Single yhtio*/
    #top #wrap_all .hc-basic-info{display: flex; flex-direction: column; text-align: center;}
    #top #wrap_all .hc-basic-info .hc-basic-info-wrapper{margin-bottom: 40px;}
    #top #wrap_all .hc-basic-info .hc-presentation-info-wrapper h4{text-decoration: underline; margin-bottom:15px;}
    #top #wrap_all .hc-basic-info .map-link{}
    #top div .avia-gallery img{padding:0px; border:0px;}
    #top #wrap_all .avia-gallery .avia-gallery-thumb a{padding: 5px; -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 .avia-gallery .avia-gallery-thumb a:hover{opacity:0.8;}
    /*Apartment table & parking spot table*/
    #top #wrap_all .apartment-table{vertical-align: middle; text-align: center; overflow-x: auto; display: block;}
    #top #wrap_all .apartment-table th{font-size: 11px;}
    #top #wrap_all .apartment-table th, #top #wrap_all .apartment-table td{vertical-align: middle; text-align: center; padding: 6px 4px;}
    #top #wrap_all .apartment-table tr.sold{opacity: 0.5;}
    #top #wrap_all .apartment-table tr.floor-row td{font-size:20px;}
    #top #wrap_all .small-text{font-size: 10px;}
    /*New apartment-info*/
    #top #wrap_all .apartment-list{display: flex; flex-wrap: wrap;}
    #top #wrap_all .apartment-list .apartment-item{width: 100%; display: flex; flex-wrap: wrap; align-items: center; padding-bottom: 40px; border-bottom: 1px solid #000000; margin-bottom: 40px; position: relative;} 
    #top #wrap_all .apartment-list .apartment-item figure{width: 100%;}
    #top #wrap_all .apartment-list .apartment-item .apartment-info{width: 100%; display: flex; flex-wrap: wrap; row-gap: 5px;}
    #top #wrap_all .apartment-list .apartment-item .apartment-info h4, #top #wrap_all .apartment-list .apartment-item .apartment-info .sold-info{width: 100%; }
    #top #wrap_all .apartment-list .apartment-item .apartment-info h4{margin-top:15px; text-decoration: underline; font-weight: bold;}
    #top #wrap_all .apartment-list .apartment-item .apartment-info div{width: 50%; display: flex; flex-direction: column;}
    #top #wrap_all .apartment-list .apartment-item .read-more-link{display: block; width: 100%; text-align: center; margin-top: 40px;}
    #top #wrap_all .apartment-list .apartment-item .reserve-now-link{margin:0 auto; display: inline-block; text-align: center; margin-top:20px;}
    /*Parking spot table*/
    #top #wrap_all .parking-spot-table td, #top #wrap_all .parking-spot-table tr, #top #wrap_all .parking-spot-table th{border-color: #535f6c;}
    #top #wrap_all .parking-spot-table tr.main-color{background: #7bb0e7;}
    #top #wrap_all .parking-spot-table tr.alternate-color{background: #eded80;}
    /*New parking spot list*/
    #top #wrap_all .parking-spot-list{display: flex; flex-wrap: wrap; justify-content: space-between;}
    #top #wrap_all .parking-spot{width: 100%; display: flex; margin-bottom: 40px; text-align: left; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid; margin-bottom: 20px;}
    #top #wrap_all .parking-spot.sold{opacity: 0.5;}
    #top #wrap_all .parking-spot-list .parking-spot h4{font-size: 20px; width: 100%;}
    /*Image hotspots*/
    #top #wrap_all .av-hotspot-image-container .legend{display: block; width:100%; text-align: center; margin-bottom: 10px;}
    #top #wrap_all .av-hotspot-image-container .legend .legend-circle{border-radius:50%; margin-left:5px; margin-right: 10px; height:10px; width: 10px; border-radius: 50%; display: inline-block; background: #}
    #top #wrap_all .av-hotspot-image-container .legend .legend-reserved .legend-circle{background:#535f6c;}
    #top #wrap_all .av-hotspot-image-container .legend .legend-sold .legend-circle{background:red;}
    #top #wrap_all .av-hotspot-container .av-image-hotspot_inner, #top #wrap_all .av-hotspot-image-container .legend .legend-circle{background:#DFB895; color:#ffffff;}
    #top #wrap_all .av-hotspot-container .av-image-hotspot_inner{font-size: 6px;}
    /*Suunnittelu*/
    #top #wrap_all .suunnittelu .container{background:#f7f9fd; padding:40px 5%; margin-top:60px; margin-bottom: 60px;}
    #top #wrap_all .av-tab-section-tab-title-container{margin: 0 auto; float:none;}
    .av-inner-tab-title, .av-tab-section-icon, .av-tab-arrow-container, .av-tab-section-image{width:auto;}
    /*Yhtio list*/
    #top #wrap_all .yhtio-list-item .read-more-link{margin-top:20px;}
    #top #wrap_all .yhtio-list-item{box-shadow:0 4px 12px 2px rgb(0 0 0 / 4%); -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 .yhtio-list-item:hover{box-shadow:0 4px 12px 2px rgb(0 0 0 / 8%);}
    #top #wrap_all .yhtio-list-item:hover img{opacity:0.75; -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 .yhtio-list-item .slide-content{text-align: center; padding:10px;}
    #top #wrap_all .yhtio-list-item .slide-content h3{font-size:18px;}
    #top #wrap_all .yhtio-list-item .free-apartments, #top #wrap_all .yhtio-list-item .no-apartments{padding:5px; font-size:16px; margin-top:20px;}
    #top #wrap_all .yhtio-list-item .free-apartments{background:#B8CCBA; color:#ffffff;}
    #top #wrap_all .yhtio-list-item .no-apartments{background:#dc4f44; color:#ffffff;}
    /*Slide show title*/
    #top #wrap_all .avia-slideshow .avia-caption{text-align: center; width:100%; bottom:40px; left:0px;}
    #top #wrap_all .avia-slideshow .avia-caption .avia-inner-caption{background: rgba(255, 255, 255, 0.75); text-align: center; margin:0 auto; display: inline-block; padding:15px;}
    #top #wrap_all .avia-slideshow .avia-caption .avia-caption-title{background: none; color:#4b4b4b;}
    #top #wrap_all .avia-slideshow .avia-caption .avia-caption-content{line-height: 1.8em;}
    #top #wrap_all .avia-slideshow .avia-caption .avia-caption-content p{background: none; color:#4b4b4b;}
    /*Talomalli*/
    #top #wrap_all .tm-info{display: flex; flex-direction: column; align-items: center; padding:40px; max-width: 900px; background:#f7f9fd; margin:0 auto;}
    #top #wrap_all .tm-info-item{margin:0px 10px;}
    #top #wrap_all .tm-info-item label{font-size:16px; font-weight:normal;}
    #top #wrap_all .tm-info-item span{font-weight:bold;}
    /*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 .flexslider .slides li .carousel-item-wrapper{background:#ffffff; position: relative; cursor:pointer; margin:0px 7.5px; -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.16); -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.16); box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.16); padding-top:0px;}
    #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 .flexslider .slides li figure{overflow: hidden; width:100%; min-height:250px; background-position: center; background-size: cover;}
    #top #wrap_all .flexslider .slides li figure img{height:100%; width:auto; max-width: none;}
    #top #wrap_all .carousel-item-content{padding:10px; padding-bottom:60px; }
    #top #wrap_all .carousel-item .carousel-item-content h3{font-size:20px;}
    #top #wrap_all .carousel-item-content p{font-size:16px;}
    #top #wrap_all .carousel-item-content a{position: absolute; bottom:10px; left:10px;}
    #top #wrap_all .flex-control-nav{bottom:-60px;}
    #top #wrap_all .flex-direction-nav li{list-style: none;}
    #top #wrap_all .flex-direction-nav a{top:40%;}
    #top #wrap_all .flex-direction-nav a:before{margin-top:10px;}
    /*Footer*/
    #top #wrap_all .footer-menu{margin:0; padding:0; }
    #top #wrap_all .footer-menu li{list-style: none; text-align: center; float:none; margin:10px 0px; padding:0px; text-transform: uppercase; font-size:16px; font-weight:lighter;}
    #top #wrap_all .applari-info-link{float:right;}
    /*Slideshow*/
    #top #wrap_all .avia-slideshow li img{object-fit: cover; object-position: center; height:400px;}
}
@media only screen and (min-width: 520px) {
    #top #wrap_all .av-hotspot-container .av-image-hotspot_inner{font-size: 6px;}
}
@media only screen and (min-width: 768px) {
    .float-right{float:right !important;}
    .float-right.avia-builder-el-last{margin-left: 0 !important; margin-right: 6%;}
    .applari-info-link{float:right;}
    .avia-caption-content{margin:0 auto; max-width: 768px;}
    .max-width-900{margin:0 auto; max-width: 900px;}
    /*Grid stuff*/
    #top #wrap_all .narrow-section .container{max-width: 1180px; padding:0 50px; margin: 0 auto; float:none;}
    /*Helper classes*/
    #top #wrap_all .image-text-grid .av-equal-height-column-flextable{display:flex; flex-wrap: wrap; align-items: stretch;}
    #top #wrap_all .image-text-grid .av-equal-height-column-flextable .av_one_half{margin-left:0px; display: flex; flex-direction: column; justify-content: center;}
    #top #wrap_all .image-text-grid .av-equal-height-column-flextable:nth-child(odd){flex-direction: row-reverse;}
    #top #wrap_all .image-text-grid .av-equal-height-column-flextable:nth-child(odd) .flex_column.el_after_av_one_half{padding:40px 0px 40px 20px !important;}
    #top #wrap_all .image-text-grid .av-equal-height-column-flextable:nth-child(even) .flex_column.el_after_av_one_half{padding:40px 20px 40px 0px !important;}
    #top #wrap_all .narrow-section{max-width: 1080px; float:none; margin:0 auto;}
    /*Headings*/
    #top #wrap_all .all_colors h1{font-size:42px;}
    #top #wrap_all .all_colors h2{font-size:28px;}
    #top #wrap_all .all_colors h3{font-size:22px;}
    #top #wrap_all .all_colors h4{font-size:18px;}
    /*Header*/
    #top #wrap_all .logo img{padding:10px 0px;}
    #top #wrap_all .header-scrolled .logo img{padding:0px;}
    .html_header_top.html_header_topbar_active.html_header_sticky #top #main{padding-top:139px;}
    /*Sticky Header settings*/
    /*.html_header_top.html_header_sticky #header, #header_main{max-width:2000px;}*/
    /*Centered menu
    .main_menu, .main_menu, .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu{left:auto; top:auto; right:auto; position: relative; z-index: 98;}
    .av-main-nav-wrap{float:none; text-align: center;}
    .av-main-nav-wrap>ul{display: inline-block;}
    .avia-menu.av_menu_icon_beside{border:0px; margin-right: 0px; padding-right: 0px;}*/
    
    /*Archive/Blog*/
    .sidebar_right .content{padding-top: 0px;}
    
    /*Single*/
    #top .back-button{margin-bottom: 40px;}
    
    /*Single CPT*/
    .single-cpt-header, .image-content-lift{display: flex; align-items:center;}
    .single-cpt-img-wrapper, .image-content-image, .single-cpt-title-wrapper, .image-content-content{align-self:center; width:50%;}
    .single-cpt-img-wrapper, .image-content-image{min-height:500px;}
    .single-cpt-title-wrapper, .image-content-content{padding:40px;}
    
    /*Sidebar*/
    #top #main .sidebar_left .sidebar{border:0px;}
    #top #main .sidebar_right{padding-left:20px;}
    .inner_sidebar{margin-left: 0px;}
    #top #wrap_all .all_colors .sidebar h3{font-size: 22px;}

    /*Single asunto*/
    #top #wrap_all .single-asunto-container .alternate_color{padding:80px 40px;}
    #top #wrap_all .sa-header{margin:80px 0px;}
    #top #wrap_all .single-asunto-container .sa-basic-info{margin:80px 0px; padding-bottom:70px; justify-content: space-evenly;}
    #top #wrap_all .single-asunto-container .sa-basic-info .presentation-wrapper{margin-top: 0px; width:auto;}
    #top #wrap_all .single-asunto .basic-info-item{width:50%;}
    #top #wrap_all .sa-content-section{max-width: 900px; margin:0 auto; margin-bottom:80px;}
    /*Single yhtio*/
    #top #wrap_all .hc-basic-info{max-width: 900px; margin:0 auto;}
    #top.single-yhtio #wrap_all .avia-slideshow-inner li{min-height: 400px;}
    /*Image hot spots*/
    #top #wrap_all .av-hotspot-container .av-image-hotspot_inner{font-size: 8px;}
    #top #wrap_all .av-image-hotspot{height: 28px; width: 28px; line-height: 28px;}
    #top #wrap_all .av-hotspot-container .apartment-tooltip .av-image-hotspot_inner{font-size: 12px;}
    #top #wrap_all .apartment-tooltip.av-image-hotspot{height: 34px; width: 34px; line-height: 34px;}
    /*Parking spot list*/
    #top #wrap_all .parking-spot{margin-bottom: 40px; padding-bottom: 40px; width: 48%; text-align: center;}
    #top #wrap_all .parking-spot-info{width: 100%;}
    /*Suunnittelu*/
    #top #wrap_all .suunnittelu .container{background:#f7f9fd; padding:40px 50px;}
    /*Flex slider*/
    #top #wrap_all .flexslider .slides li .carousel-item-wrapper{margin:0 15px;}
    #top #wrap_all .flex-control-nav{bottom:-40px;}
    /*Footer*/
    #top #wrap_all .footer-menu li{margin:0 10px;}
     #top #wrap_all .footer-menu{display: flex; justify-content: center;  margin:0 auto; }
     /*apartment info*/
     #top #wrap_all .apartment-list .apartment-item figure{width: 20%; padding-right: 40px;}
     #top #wrap_all .apartment-list .apartment-item .apartment-info{width: 80%;}
     #top #wrap_all .apartment-list .apartment-item .apartment-info div{width: 22.5%;}
     #top #wrap_all .apartment-list .apartment-item .apartment-info div.size-info{width:10%;}
     #top #wrap_all .apartment-list .apartment-item .read-more-link{position: absolute; bottom: 20px; right: 0px; margin-top: 0px; width: auto; text-align: left;}
     #top #wrap_all .apartment-list .apartment-item .reserve-now-link{position: absolute; bottom: 12px; right:150px; margin-top: 0px; width: auto; text-align: left;}

}
@media only screen and (min-width: 1024px) {
    /*Image text grid*/
    #top #wrap_all .image-text-grid .av-equal-height-column-flextable:nth-child(odd) .flex_column.el_after_av_one_half{padding:40px 0px 40px 40px !important;}
    #top #wrap_all .image-text-grid .av-equal-height-column-flextable:nth-child(even) .flex_column.el_after_av_one_half{padding:40px 40px 40px 0px !important;}
    /*Single yhtiö*/
    #top #wrap_all .hc-basic-info{flex-direction: row; text-align: left; justify-content: space-evenly;}
    #top #wrap_all .hc-basic-info .hc-basic-info-wrapper{width: 40%; margin-bottom: 0px;}
    #top #wrap_all .hc-basic-info .hc-presentation-info-wrapper{width:40%;}
    /*Easy Slider*/
    #top #wrap_all .avia-slideshow .avia-caption .avia-inner-caption{padding:20px;}
    #top #wrap_all .avia-slideshow .avia-caption .avia-caption-title{font-size:42px;}
    #top #wrap_all .avia-slideshow .avia-caption .avia-caption-content p{font-size:18px;}
    /*Flexslider*/
    #top #wrap_all .carousel-item-content{padding:20px; padding-bottom:80px;}
    #top #wrap_all .carousel-item-content a{left:20px; bottom:20px;}
}
@media only screen and (min-width: 1180px) {
    /*Flexslider*/
    #top #wrap_all .flexslider .slides li figure{max-height:225px; overflow: hidden;}
    /*Parking spot list*/
    #top #wrap_all .parking-spot{width: 31%;}
}
@media only screen and (max-width: 768px) {
    .responsive #top #wrap_all .no-margin-bottom-in-mobile{margin-bottom:0px;}
    #socket .container{text-align: center;}
    #socket{text-align: center;}
    #socket .copyright{float:none;}
    .applari-info-link{display: block; text-align: center; width:100%;clear: both;}
    .lift-list-item{flex-grow:1; min-width:48%;}
    .responsive #top #wrap_all .container{max-width: 90%; width:90%;}
    .responsive #top #wrap_all .full-width-in-mobile .container{width:100%; max-width:100%;}
    /*Header*/
    .responsive .logo img{padding:15px;}
    .html_av-overlay-full #av-burger-menu-ul li{font-size:18px;}
    .responsive #header_meta .sub_menu>ul>li{padding:0 8px;}
    /*Long header word*/
    #top #wrap_all #av_section_1 h1.long-title{font-size:34px;}
    /*Center in mobile*/
    #top #wrap_all .avia-image-container.avia-align-center, #top #wrap_all  .av-special-heading-tag, #top #wrap_all .avia_textblock, #top #wrap_all .avia_textblock p{text-align: center;}
    #top #wrap_all .avia-button-wrap{display: block; text-align: center; float:none;}
    #top #wrap_all  .avia-button.avia-position-left, #top #wrap_all  .avia-button.avia-position-right{float:none; display: inline-block;}
    /*Dont center in mobile*/
    #top #wrap_all .dont-center-in-mobile .avia-image-container.avia-align-center, #top #wrap_all .dont-center-in-mobile.av-special-heading-tag, #top #wrap_all .dont-center-in-mobile.avia_textblock, #top #wrap_all .dont-center-in-mobile.avia_textblock p{text-align: left;}
    /*Tabs*/
    #top #wrap_all .av-tab-section-tab-title-container{display: flex; min-width: none !important; flex-direction: column;}
    #top .av-section-tab-title{padding:0px; font-weight:bold; text-decoration: underline;}
    .av-tab-no-icon.av-tab-no-image .av-inner-tab-title{margin-bottom: 5px;}
    
}

/*CSS3 Animations*/
.animate{
    -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;
}