/*
 Theme Name:   Kymenmatkat 2016
 Description:  Twenty Fifteen Child Theme
 Author:       DevNet Oy
 Author URI:   http://devnet.fi
 Template:     twentyfifteen
 Version:      1.2.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  kymenmatkat-2016
*/

body {
    color: #000;
    background-color: #f2fbff;
    font-family: 'Open Sans', sans-serif !important;
}
body:before {
    width: auto;
}

#reveal {
    opacity: 0;
    transition: all 500ms ease;
    transition-property: opacity;
}
#reveal.ed {
    opacity: 1;
}

::selection {
    background-color: #ffa910;
}

/* HEADINGS */
h1 {
    font-size: 2.25em;
}
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
    word-wrap: break-word;
    /*word-break: break-all;*/
    color: #065c9d;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content .h1,
.entry-content .h2,
.entry-content .h3,
.entry-content .h4,
.screen-reader-text {
    color: initial;
}

iframe,
textarea {
    max-width: 100%;
}

/* LINKS */
a {
    text-decoration: none !important;
}
.bottom-link {
    position: absolute;
    bottom: 2em;
    left: 2em;
    padding: 0.5em 2em;
    background-color: #29ABE1;
    color: #fff !important;
}

/* IMAGES */
img {
    width: 100%;
    max-width: 100%;
    height: auto;
}


/* BUTTONS */
.btn {
    border-radius: 0 !important;
}
.btn-price {
    border: none;
    background-color: transparent;
    color: #5bc0de;
}
.btn-price:hover {
  cursor: default;
  color: #fff;
}
.btn-reserve {
    background-color: #5bc0de;
    color: #fff;
}
.sidebar,
.map-mashup {
    margin-top: 30px;
}
.sidebar .btn {
    font-size: 1em;
    font-weight: bold;
    padding-top: 1em;
    padding-bottom: 2.5em;
    margin-bottom: 1em;
}
.sidebar .map,
.sidebar .more-pictures {
    margin-bottom: 1em;
}
.btn-price {
    background-color: #ffa910;
    color: #fff;
}
.mapp-layout {
    margin: 0;
    width: 100% !important;
    max-width: 100%;
}



/* SEARCH FORM */
.search-form .screen-reader-text {
    display: none;
}
.search-form label,
.search-form .search-field {
    width: 100%;
}
.search-form .search-field {
    font-size: 1.5em;
    font-weight: normal;
    padding: 1em;
    border-radius: 0.5em;
    background-color: #065C9D;
    color: #fff;
}
.search-result {
    background-color: rgba(0,0,0,0.03);
    border: 0.5em solid #fff;
}
.probox {
    border-radius: 15px !important;
    background-color: #fff !important;
    height: 20px !important;
    padding-bottom: 14px !important;

}
.proloading,
.proclose {
    width: 20px !important;
    height: 20px !important;
}
.promagnifier {
    border: none !important;
    box-shadow: none !important;
    width: 20px !important;
    height: 20px !important;
}
.prosettings {
    display: none !important;
}
.proinput input {
    font-size: 14px !important;
    -webkit-text-stroke: 0.25px #065c9d;
}



/* NAVIGATION */
.topbar {
    border-bottom: thin solid #065C9D;
    font-weight: bold;
}
.topbar .addtoany_shortcode {
    float: left;
    margin-top: 10px;
}
.topbar .addtoany_list a {
    transform: scale(0.75) !important;
}
.languages {
    margin-top: 1em;
    margin-left: 1em;
}
.lang-item {
    list-style: none;
    float: left;
    padding: 0.25em;
}
.lang-item img {
    height: 20px;
    width: auto;
}
#navbar {
    width: 100%;
    float: left;
    background-color: #065C9D;
    border-radius: 1em;
    font-weight: bold;

}
/*#navbar li:not(.open) > a, .footer-nav li a {
	color: #fff !important;
}*/

#navbar li a,
.footer-nav li a {
    color: #fff !important;
}

.navbar {
    background-color: transparent;
    border: none;
    margin-bottom: 0;
    z-index: 100;
}
.dropdown-menu {
    border: none;
    border-radius: 0;
}
.dropdown-menu,
#navbar li a:focus,
#navbar li a:hover,
.footer-nav li a:hover,
#navbar .active a {
    background-color: #065C9D;
}
.navbar-brand {
    height: 5em;
}
.navbar-header img {
    height: 100%;
    width: auto;
}
.footer-nav li a {
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}
.nav-tabs {
    background-color: #E6E6E6;
    margin-bottom: 1em;
}
.nav-tabs li {
    font-weight: bold;
}
.nav-tabs a {
    color: #000 !important;
    border-radius: 0 !important;
}
.nav-tabs .active a {
    background-color: #29ABE1 !important;
    color: #fff !important;
}
#world-dropdown .dropdown-menu {
    left: 100%;
    top: 0;
}

/* Add the following to your stylesheet */
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

/* BREADCRUMBS */
.breadcrumbs {
    margin-bottom: 1em;
    max-width: 100%;
    /*word-break: break-all;*/
}
.page .breadcrumbs {
    margin-top: 1em;
}

/* HEADER SLIDER */
.tp-parallax-wrap {
    /*left: auto !important;*/
    top: 0 !important;
}
.rev_slider_wrapper {
    margin-bottom: -75px !important;
}
.header-image {
    transform: translateY(-25px);
}

/* SEARCH AND FILTER */
.wpdreams_asl_container {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.search-and-filter {
    position: absolute;
    background-color: #ffa910;
    left: 58.5%;
    top: 100px;
    height: auto;
    width: 400px;
    padding: 20px;
    border-radius: 20px;
    z-index: 101;
}
.page-template-page-front .search-and-filter,
.page-template-page-matkat .search-and-filter {
    display: none; /* Look at Slider Revolution plugins Custom JS settings */
    top: 275px;
}
.search-and-filter h3 {
    text-transform: uppercase;
    font-weight: bold;
    color: #065c9d;
}
.search-and-filter select,
.search-and-filter input {
    width: 100%;
    margin: 0.5em 0;
    border-radius: 0.5em;
}
.search-and-filter .btn-info {
    padding: 0.5em 2em;
    margin: 0.5em 0;
    border-radius: 0.5em !important;
    text-transform: uppercase;
}
.search-and-filter input[type="submit"] {
    display: none;
}

/* HIGHLIGHTS */
.highlights {
    margin-bottom: 3em;
}
.highlight {
    padding: 1em;
}
.highlight img,
.highlight .excerpt {
    margin-bottom: 1em;
}
.highlight img {
    border: thin solid #065c9d;
}

.highlight h3 {
    color: #fff;
}
.top-5-list {
    padding: 0;
}
.social .header-text {
    font-size: 1em !important;
}
.social .highlight {
    width: 360px;
}
.social .highlight:nth-child(2) {
    margin-left: 30px;
    margin-right: 30px;
}
.social .highlight .title {
    position: absolute;
    margin: 0;
    padding-top: 1em;
    padding-bottom: 1em;
    top: 0;
    left: 0;
    right: 0;
    color: #fff !important;
    background-color: #29ABE1;
}
.social .highlight .excerpt {
    margin-top: 6em;
    line-height: 1.75;
    transition: all 500ms;
    transition-property: all;
    background-color: transparent;
}

/* OVERLAYS */
.overlay {
    position: absolute;
    margin: 0;
    color: #fff !important;
    width: 35%;
    z-index: 101;
}
.overlay .title {
    color: #fff !important;
    font-size: 2em;
    font-weight: 700 !important;
}
.overlay .excerpt {
    font-size: 1.5em;
    font-weight: 500 !important;
}
.overlay .excerpt strong {
    font-weight: 500 !important;
}
.overlay .excerpt h3 {
    color: #fff !important;
}
.overlay .excerpt p {
    display: none;
}
.overlay .excerpt p:first-child {
    display: block;
}
.overlay img {
    width: auto;
}
.header-image .overlay {
    text-shadow: 0px 0px 1em #000;
}


/* MAIN CONTENT */
.page-content,
.main-content {
    margin-bottom: 3em;
}


/* FRONTPAGE */
.page-template-page-front h2,
.page-template-page-front h4 {
    font-weight: bold;
}
.page-template-page-front .header-text {
    top: 5em;
    left: 5em;
    font-size: 1.5em;

}
.page-template-page-front .header-text h1,
.page-template-page-front .header-text h2,
.page-template-page-front .header-text h3 {
    color: #fff !important;
}
.page-template-page-front .header-text a {
	color: #fff;
}
/* DEFAULT PAGE TEMPLATE */



/* SINGLE "MATKAKOHDE" */
.header-image {
    height: 500px; 
    overflow: hidden;
}
.header-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    transform: translateY(-33%);
}
.matkakohde-header-info {
    height: 450px;
    bottom: 200px;

}
.single-matkakohde .page-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    margin-right: 1em;
    margin-bottom: 1em;
}
.single-matkakohde .nav-tabs {
    margin-top: 2em;
}
.single-matkakohde .tab-content .gallery,
.reviews .dashicons,
.reviews .yasr-total-average-container,
.reviews span.yasr-total-average-text,
.reviews .yasr-small-block-bold,
.reviews .yasr-already-voted-text {
    display: none;
}
.single-matkakohde .tab-content {
    padding: 1em;
}
.grade-icon {
    width: 3em !important;
    height: 3em !important;
}
.grade-icon:hover {
    cursor: help;
}
.fa-star {
    color: gold;
}
.social {
    background-size: cover;
    padding-top: 3em;
    padding-bottom: 3em;
}
.single-matkakohde .itinerary {
    background-color: #fff;
    padding: 1em;
}
.single-matkakohde .stars {
    margin-bottom: 1em;
}
.hotel-preview {
    padding: 1em;
}
.hotel-preview img {
    width: 100% !important;
    height: auto !important;
}
.single-matkakohde .hotel-preview .title {
    margin-bottom: 5px;
    font-size: 18px;
}
.daytrip-more-pictures img {
    max-width: 30% !important;
}
.single-matkakohde div[role="field"] {
    z-index: 1000000;
}

/* HOTELS */
.single-hotelli .main-content {
    margin-top: 2em;
}
.single-hotelli .gallery img {
    width: auto;
}


/* CATEGORIES & ARCHIVES */
.category .main-content .overlay {
    font-weight: bold;
}
.archive .kksr-legend,
.category .kksr-legend {
    display: none;
}
.title {
    color: #065C9D !important;
}
.description {
    margin-top: 1em;
}
.matkalaji,
.matkakohde {
    border-bottom: gainsboro thin solid;
    margin-bottom: 1em;
    padding-bottom: 1em;
}
.matkalaji .description img {
    width: auto;
    height: auto;
}
.matkakohde .info,
.matkalaji .info {
    margin-top: 1em;
}
.gray-mask,
.highlight {
    -webkit-filter: hue-rotate(5deg) saturate(100%);
    filter: hue-rotate(5deg) saturate(100%);
    transition: all 500ms;
    transition-property: -webkit-filter, filter;
}
.gray-mask:hover,
.highlight:hover {
    -webkit-filter: hue-rotate(0deg) saturate(150%);
    filter: hue-rotate(0deg) saturate(150%);
}
.social .highlight .excerpt {
    background-color: rgba(255, 255, 255, 0.75);
}
.taxonomy-description img {
    width: auto;
}

/* MATKAKALENTERI */
.header:after,
.headerSortUp:after,
.headerSortDown:after {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    margin-left: 1em;
}
.header:after {
    content: '\f0dc';
}
.headerSortUp:after {
    content: "\f0de";

}
.headerSortDown:after {
    content: "\f0dd";
}
.calendar-table_wrapper input,
.calendar-table_wrapper select {
    padding: 0.25em;
}

/* REVIEWS */
.rating-form {
    text-align: center;
}
.reviews form,
.reviews .save-rating {
    width: 100% !important;
    margin: 0 !important;
}
.reviews .description {
    display: none !important;
}
.reviews .mr-star-rating {
    width: 100%;
    text-align: center;
    font-size: 2em;
}
.reviews .save-rating {
    font-size: 1em !important;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}

/* RESPONSIVE SLIDES */
/* RESPONSIVE SLIDES */
.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: auto;
    max-width: 480px;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}
.rslides_tabs {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0;

}
.rslides_tabs li {
    float: left;
    background-color: #065c9d;
    opacity: 0.8;
    transition: all 200ms ease-in-out;
    transition-property: opacity;
    border-right: thin #b3b3b3 dotted;
    list-style: none;
}
.rslides_tabs li:hover {
    opacity: 1;
}
.rslides_tabs li a {
    padding: 1em;
    text-align: center;
    color: #fff;
    text-decoration: none;
}


/* AUTHOR INFO */
.author-info img {
    width: auto;
    height: auto;
}
.entry-footer a,
.nav-previous,
.nav-next {
    background-image: none !important;
}

/* FOOTER */
footer {
    background-color: #065C9D;
    color: #fff !important;
}
.entry-footer {
    background-color: gainsboro;
    color: #000 !important;
    padding: 1em;
    margin-top: 2em;
    margin-bottom: 2em;

}

/* INSTAGRAM WIDGET */
#sbi_load,
.sbi_follow_btn, 
#sbi_load a,
.sbi_follow_btn a {
    width: 100% !important;
    margin: 0.25em 0 !important;
}

/* SITEMAP */
.sitemap li {
    list-style: none;
}
.sitemap li::before {
    content: "\f0da";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    margin-right: 0.5em;
}
.sitemap .children {
    padding-left: 1.5em;
}
.sitemap a {
    color: #000;
    transition: all 250ms ease-in-out;
    transition-property: color;
}
.sitemap a:hover {
    color: #065c9d;
}

/* TABLES */
.tablepress img {
    width: auto;
}

.entry-content img {
    width: auto;
}

@media screen and (max-width: 1199px) {
    .social .highlight {
        width: 50%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .header-image {
        min-height: 0 !important;
        height: 350px !important;
    }
    .header-image .overlay {
        font-size: 0.75em;
        margin-top: -75px;
    }
    .search-and-filter {
        top: 100px;
    }
    .page-content,
    .breadcrumbs {
        margin-top: auto;
    }
}

@media screen and (max-width: 991px) {
    .search-and-filter {
        width: 300px;
        height: 300px;
    }
    .search-and-filter select, 
    .search-and-filter input {
        width: 100%;
        padding: 0.2em;
        margin: 0.2em 0;
        border-radius: 0.2em;
    }
}

@media screen and (max-width: 767px) {
    .topbar ul {
        display: inline-block !important;
    }
    .topbar li {
        float: left !important;
    }
    .navbar-brand {
        height: 3em;
    }
    .navbar-toggle {
        top: 1em;
        margin: 0;
    }
    .dropdown-menu {
        height: auto !important;
        left: auto !important;
    }
    .navbar-collapse.in {
        overflow-y: visible;
    }
    .breadcrumbs a {
        line-height: 2;
    }
    .search-and-filter {
        top: 30px !important;
        left: auto;
        right: 15px;
    }
    .header-image {
        display: none;
    }
    .home .header-text{
        position: relative;
        font-size: 1em; 
        top: auto;
        left: auto;
        width: auto;
        text-align: center;
            
            
    }
    .gray-mask,
    .highlight {
        margin-bottom: 2em;
    }
	
	
}

@media screen and (max-width: 567px) {
    h1,
    h2,
    h3,
    h4,
    .h1,
    .h2,
    .h3,
    .h4 {
        font-size: 1.25em;
    }
    #menu-topbar {
        font-size: 0.75em;
    }
    .social .highlight {
        width: 100%;
    }
    .search-and-filter {
        position: relative;
        width: 100%;
        height: auto;
        border-radius: 0;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin-bottom: 2em;
    }
    .header-image .overlay {
        position: relative;
        width: 100%;
        left: 0 !important;
        top: 0 !important;
        padding: 30px;
        margin-top: -100px;
        color: #000 !important;
        text-shadow: none !important;
    }
    .header-image .overlay .title {
        color: #000 !important;
    }
    .social .highlight {
        margin-bottom: 2em;
    }
    .social .highlight .bottom-link {
        position: relative;
        top: 4em !important;
        left: auto !important;
        right: auto !important;
    }
    .home .rev_slider_wrapper {
        display: none !important;
    }
}

/* Tunkkauksia */

.overlay {
    background: rgba(6, 92, 157, 0.5) !important;
}

.overlay a:hover {
    color: lightblue !important;
}

.header-image img {
    margin-top: 400px !important;
}
@media (max-width: 1220px) {
    .header-image img {
    margin-top: 200px !important;
    }
}

.overlay p {
    max-width: 760px;
}

.read-more-cat {
    position: absolute;
    left: 40px;
    /* bottom: 381px; */
	/* top: 235px; */
    background-color: #29abe1;
    pointer-events: none;
    padding: .5em 2em;

    color: white;
    text-align: center;

}

.btn-price:hover {
    cursor: pointer;
}

.show {
    display: none!important;
}

/*.more-pictures-thumbnail {
    position:absolute;
    z-index: 11000;
    left: -350px;
    width: 150px;
    display: -webkit-box;
    margin-top: 400px
}
.more-pictures-thumbnail a img {
    width: 150px !important;
    height: 150px !important;
    padding: 20px;
}*/

.lb-nav a.lb-next,
.lb-nav a.lb-prev {
    width: 50% !important;
    opacity: 1 !important;
}

.lb-nav a.lb-next:after,
.lb-nav a.lb-prev:after {
    font-family: 'Glyphicons Halflings';
    font-size: 22px;
    color: white;
    z-index: 5;
    position: relative;
    top: 48%;
    background: #065c9d;
    width: 30px;
    height: 30px;
    line-height: 29px;
}

.lb-nav a.lb-prev:after {
    content: '\e079';
    float: left;
    left: 15px;
}

.lb-nav a.lb-next:after {
    content: '\e080';
    float: right;
    right: 15px;
}


.overlay {
    padding: 1em;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    word-break: break-word;
}

.breadcrumbs {
    word-break: break-word;
}
/* ETUSIVUN TARJOUSSLIDER */
.slick-prev, .slick-next {
	z-index: 1;
	width: 40px!important;
}
.slick-prev {
	left: -21px !important;
}
.slick-next {
	right: -21px !important;
}
.slick-prev::before, .slick-next::before {
	font-family: unset!important;
	font-size: unset!important;
	line-height: unset!important;
	opacity: .75;
	color: unset!important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.slick-list {
	margin: 0 28px 0 0 !important;
}
.slick-track {
	height: 400px;
}

.slick-slide {
	padding: 28px 1px 0 28px;
	background-color: #29abe1;
	background-clip: content-box;
}
.slick-slide a {
	border: 3px solid #fff !important;
	display: block;
	overflow: ;
	height: 100%;
}

.slick-slide img {
	border: none!important;
	object-fit: cover;
	object-position: center center;
	height: calc(100% * 300/400 - 56px);
}
.slider-text h4 {
	color: #fff;
	font-size: 1.75rem;
	margin-top: 0;
}
.slider-text {
	background-color: #29abe1;
	color: #fff;
	padding: 0 14px;
	
}
.slick-dots {
	height: 50px;
	background-color: #fff;
	bottom: -80px !important;
}
.slick-dots li.slick-active button::before {
	opacity: .75;
	color: #5bc0de;
}
.slick-dots li button::before {
	font-size: 20px !important;
	top: unset !important;
	color: #5bc0de !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width: 980px) {
	.slick-track {
		height: 350px;
}
	.slider-text {
		line-height: initial;
		height:7rem;
	}
	.slider-text h4 {
		margin-bottom: 0.15rem;
	}
}

/* END ETUSIVUN TARJOUSSLIDER */

/* HOTELLI FIXIT */
.single-hotelli .container .hotelli-location,
.single-hotelli .container .hotelli-rooms,
.single-hotelli .container .hotelli-services {
    background-color: white;
    margin-top: 2em;
    margin-bottom: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
}

.single-hotelli .container .hotelli-rooms {
    margin-left: -15px;
    margin-right: -15px;
    padding: 1em 15px;
}

.single-hotelli .main-content {
    margin-top: 0em;
}

.single-hotelli .gallery.more-pictures img {
    width: 100%;
}

.single-hotelli .carousel-inner .item {
    margin-left: 0px;
    margin-right: 0px;
} 

.single-hotelli .carousel-inner .item .col-sm-6 {
    padding: 0px;
}

.single-hotelli .carousel-controls {
    width: 30%;
    margin: auto;
    position: relative;
    margin-top: 1em;
    margin-bottom: 1em;
}

.single-hotelli .carousel-controls .carousel-indicators {
    position: relative;
    left: 0;
    right: 0;
}

.single-hotelli .carousel-controls .carousel-indicators {
    margin: auto;
    width: initial;
}

.carousel-indicators .active {
    background-color: #065c9d;
    border:none;
}

.single-hotelli .carousel-controls .carousel-control {
    z-index: 100;
}

.single-hotelli .carousel-controls .carousel-control.left {
    left: 0px;
    position: absolute;
}

.single-hotelli .carousel-controls .carousel-control.right {
    right: 0px;
    position: absolute;
}

.carousel-control .glyphicon-chevron-right,
.carousel-control .glyphicon-chevron-left {
    top: 10px;
    width: 33px;
    height: 33px;
    background-color: #065c9d;
}

.carousel-control .glyphicon-chevron-right:before,
.carousel-control .glyphicon-chevron-left:before {
    color: white;
}

.single-hotelli .title {
    font-weight: bold;
}

.single-hotelli .hotelli-location .title {
    color: black !important;
}

.single-hotelli .hotelli-location .title.h4 {
    color: #065c9d !important;
}

@media (max-width: 767px) {
    .single-hotelli .top .col-sm-6 {
        padding: 0px !important;
    }
    .single-hotelli .carousel-inner .huone_kuva {
        padding-left: 0px !important;
    }
    .single-hotelli .carousel-controls {
        width: 100%;
        max-width: 270px;
    }
    .glyphicon {
        line-height: 1.42857143;
    }
}

@media (max-width: 1199px) {
    .header-image {
        height: 500px !important;
    }
    .search-and-filter {
        top: 100px !important;
    }
}

@media (max-width: 991px) {
    .search-and-filter {
        height: auto !important;
    }
}

@media (max-width: 991px) {
    .home .search-and-filter {
        position: relative;
        width: 50%;
        height: auto;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin-bottom: 2em;
        float: right;
    }
    .home .header-text {
        position: relative;
        font-size: 1em;
        top: auto;
        left: auto;
        width: 50%;
        text-align: center;
    }
}

@media screen and (max-width: 567px) {
    .home .search-and-filter {
        width: 100%;
        float: none;
        border-radius: 0;
    }
    .home .header-text {
        width: auto;
    }
	
	
}

footer.row{
    margin: 0px; 
}

footer .container-fluid a,
footer .container-fluid a:visited {color: #fff; text-decoration: underline;}


blockquote {
    font-size: 14px !important;
}

@media screen and (min-width: 260px)
{
	.read-more-cat
	{
		top: 51vw;
	}
}

@media screen and (min-width: 440px)
{
	.read-more-cat
	{
		top: 55vw;
	}
}

@media screen and (min-width: 576px)
{
	.read-more-cat
	{
		top: 60vw;
	}
}

@media screen and (min-width: 768px)
{
	.read-more-cat
	{
		top: 220px;
	}
}

@media screen and (min-width: 992px)
{
	.read-more-cat
	{
		top: 185px;
	}
}

@media screen and (min-width: 1200px)
{
	.read-more-cat 
	{
		top: 235px;
	}
}
.row.highlights {
	display: flex;
	flex-wrap:wrap;
}
:is(input, textarea) {
	border: 1px solid black !important;
	border-radius: 0 !important;
}
#form-modal {
	max-width: 100vw;
}
.modal-body {
	max-width: 100vw;
}
.gform_wrapper.gravity-theme .gfield_label {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
	padding: 0;
}
.gform_wrapper.gravity-theme .gsection_title {
	font-size: 18px;
}

.gravity-theme.ui-datepicker .ui-datepicker-header select {
	font-size: 1.5rem !important;
}
.gravity-theme.ui-datepicker .ui-datepicker-calendar th span {
	font-size: 1.4rem !important;
}
.gravity-theme.ui-datepicker .ui-datepicker-calendar td {
	font-size: 1.25rem !important;
}
.gform_button.button {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
	padding: 6px 12px;
}
.gfield_repeater_item {
	display: flex;
	flex-wrap: wrap;
}
.gfield_repeater_cell {
	min-width: 40%;
}
.gfield_repeater_wrapper select {
	font-size: 13px !important;
}
.add_repeater_item.gform-theme-button.gform-theme-button--secondary.gform-theme-button--size-sm.add_repeater_item_text {
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
	padding: 6px 12px;
}
.gform_wrapper.gravity-theme .gfield_repeater_cell label {
	color: #000;
}

:is(.add_repeater_item,.remove_repeater_item).gform-theme-button.gform-theme-button--secondary.gform-theme-button--size-sm:is(.add_repeater_item_text,.remove_repeater_item_text) {
	padding: 8px;
	border-radius: 0;
}
.gfield_repeater > legend::after {
	content: attr(data-number);
	display: inline-block;
	margin-left: 3px;
}
#kohdetietoa .kohdetieto:not(:last-child)::after {
	content: '';
	display: block;
	border-bottom: 1px solid #00000026;
	margin: 2rem;
}
.row.subcategory-thumbs {
	margin-bottom: 3rem;
}
.row.header-image:empty {
	height: auto !important;
}
@media (max-width: 767px) {
    .row.matkalaji .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9,
    .row.matkalaji .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    	position: unset;
    }
}