/*
Theme Name: Child Theme
description: >-
  WP Bootstrap 4 child theme
Author: Staart
Template: wp-bootstrap-4
Version: 1.0.0
*/

@font-face {
    font-family: 'Bergen Text';
    src: url('./fonts2/BergenText-Bold.eot');
    src: url('./fonts2/BergenText-Bold.eot?#iefix') format('embedded-opentype'),
        url('./fonts2/BergenText-Bold.woff2') format('woff2'),
        url('./fonts2/BergenText-Bold.woff') format('woff'),
        url('./fonts2/BergenText-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Bergen Text';
    src: url('./fonts2/BergenText-Regular.eot');
    src: url('./fonts2/BergenText-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts2/BergenText-Regular.woff2') format('woff2'),
        url('./fonts2/BergenText-Regular.woff') format('woff'),
        url('./fonts2/BergenText-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bergen Mono';
    src: url('./fonts2/BergenMono-Bold.eot');
    src: url('./fonts2/BergenMono-Bold.eot?#iefix') format('embedded-opentype'),
        url('./fonts2/BergenMono-Bold.woff2') format('woff2'),
        url('./fonts2/BergenMono-Bold.woff') format('woff'),
        url('./fonts2/BergenMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Bergen Mono';
    src: url('./fonts2/BergenMono-Regular.eot');
    src: url('./fonts2/BergenMono-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts2/BergenMono-Regular.woff2') format('woff2'),
        url('./fonts2/BergenMono-Regular.woff') format('woff'),
        url('./fonts2/BergenMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


html, body {
    font-family: 'Bergen Mono';
    color: #1e1e1e;
    line-height: 1.7rem;
}

strong {
}

p {
    font-family: 'Bergen Text';
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Bergen Mono'!important;
    color: #e44e34;
    margin-bottom: 1rem;
}


section, header{
    padding-left: 1rem;
    padding-right: 1rem;
}

a, a:link, a:visited, a:active, a:hover {
    color: #e44e34;
}



.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

.nowrap { white-space: nowrap;}


.padding-1 { padding-top: 1rem; padding-bottom: 1rem; }
.padding-2 { padding-top: 2rem; padding-bottom: 2rem; }
.padding-3 { padding-top: 3rem; padding-bottom: 3rem; }
.padding-4 { padding-top: 4rem; padding-bottom: 4rem; }
.padding-5 { padding-top: 5rem; padding-bottom: 5rem; }
.padding-6 { padding-top: 6rem; padding-bottom: 6rem; }
.padding-7 { padding-top: 7rem; padding-bottom: 7rem; }

.padding-t-1 { padding-top: 1rem; }
.padding-t-2 { padding-top: 2rem; }
.padding-t-3 { padding-top: 3rem; }
.padding-t-4 { padding-top: 4rem; }
.padding-t-5 { padding-top: 5rem; }
.padding-t-6 { padding-top: 6rem; }
.padding-t-7 { padding-top: 7rem; }

.padding-b-1 { padding-bottom: 1rem; }
.padding-b-2 { padding-bottom: 2rem; }
.padding-b-3 { padding-bottom: 3rem; }
.padding-b-4 { padding-bottom: 4rem; }
.padding-b-5 { padding-bottom: 5rem; }
.padding-b-6 { padding-bottom: 6rem; }
.padding-b-7 { padding-bottom: 7rem; }
.padding-b-8 { padding-bottom: 8rem; }
.padding-b-9 { padding-bottom: 9rem; }
.padding-b-10 { padding-bottom: 10rem; }
.padding-b-11 { padding-bottom: 11rem; }
.padding-b-12 { padding-bottom: 12rem; }

.margin-t-1 { margin-top: 1rem; }
.margin-t-2 { margin-top: 2rem; }
.margin-t-3 { margin-top: 3rem; }
.margin-t-4 { margin-top: 4rem; }
.margin-t-5 { margin-top: 5rem; }
.margin-t-6 { margin-top: 6rem; }
.margin-t-7 { margin-top: 7rem; }

.margin-b-1 { margin-bottom: 1rem; }
.margin-b-2 { margin-bottom: 2rem; }
.margin-b-3 { margin-bottom: 3rem; }
.margin-b-4 { margin-bottom: 4rem; }
.margin-b-5 { margin-bottom: 5rem; }
.margin-b-6 { margin-bottom: 6rem; }
.margin-b-7 { margin-bottom: 7rem; }


.ing {
    font-size: 1.5rem;
}

.clickable {
    cursor: pointer;
}

.largetitle {
    margin-bottom: 1.5rem;
    line-height: 3.5rem;
}

.content-area .lead {font-size: 1.5rem; line-height: 2.3rem;}



.bg-color1 {background-color: #00c3a5;}
.bg-color2 {background-color: #3c3282;}
.bg-color3 {background-color: #ffe2e3;}
.bg-color4 {background-color: #c8f0f5;}
.bg-color5 {background-color: #ff4148;}
.bg-color1 {background-color: #00c3a5;}
.bg-color6 {background-color: #ebeaf2;}

.bg-color8 {background-color: #ebeaf2;}

.bg-color7 {background-color: #ccf3ed;}

.text-color1 {color: #00c3a5;}
.text-color2 {color: #3c3282;}
.text-color3 {color: #ffe2e3;}
.text-color4 {color: #c8f0f5;}
.text-color5 {color: #ff4148;}

hr.hr5 {color: #ff4148;background-color: #ff4148; }

.largetitle {}


/* suosikkilinkki */
.linkstyle1 {
    padding: 0.5rem;
    display: block;
    text-transform: uppercase;
    background-color: #f8f8f8;
    color: #bcbcbc!important;
    position: relative;
    border: 1px solid #bcbcbc;
    font-size: 0.55rem;
    font-family: 'Bergen Mono';
}
.linkstyle1:hover {
    text-decoration: none;
}

.linkstyle1:hover { background-color: #00af66; border: 1px solid #00af66; color: #ffffff!important; }

.linkstyle1 span {
    margin-left: 2.5rem;    
}

.linkstyle1.unfavorite {
    background-color: #00af66; border: 1px solid #00af66; color: #ffffff!important;
}

.small {
    font-size: 80%;
}

p a {
    color: #e44e34;
}

a.linkstyle2, a.linkstyle2[type="button"],
.linkstyle2, .linkstyle2[type="button"] {
    padding: 0.5rem;
    display: inline-block;
    text-transform: uppercase;
    background-color: #e44e34;
    color: #ffffff;
    position: relative;
    font-size: 0.8rem;
    font-family: 'Bergen Mono';
    border-radius: 0px;
    border: none;
}
.linkstyle2:hover {
    text-decoration: none;
    color: #ffffff;
    border: none;
    background-color: #e44e34; 
}



.linkstyle3 {
    padding: 0.3rem;
    display: inline-block;
    float: right;
    text-transform: uppercase;
    position: relative;
    border: 1px solid #e44e34;
    font-size: 0.55rem;
    font-family: 'Bergen Mono';
    line-height: 0.7rem;
    margin-top: 1rem;
}
.linkstyle3:hover {
    text-decoration: none;
    color: #e44e34;
}








.porisans {
    font-family: 'PORI Sans';
}






/* header */
header {
    background-color: #ffffff;
    height: 3rem;
     position: fixed;
    width: 100%;
    z-index: 10001;
}
.site-header {border: none!important;}

a.logo, a.logo:hover {
    padding: 0.8rem 0 0.8rem 0;
}

a.logo img {
    height: 1.4rem;
}



a.navlink-suosikit, a.navlink-tyhjenna {
    padding: 0.65rem;
    display: inline-block;
    height: 100%;
    text-transform: uppercase;
    position: relative;

    font-size: 0.6rem;
    background-color: #00af66;  
    color: #ffffff;
    font-family: 'Bergen Mono';
    margin-right: -0.3rem;
}
a.navlink-suosikit:hover, a.navlink-tyhjenna:hover {
    text-decoration: none;
    color: #ffffff;
}

a.navlink-tyhjenna {
    background-color: #e44e34;
    margin-right: -1rem;
}


#search-filter-form-3317 .noUi-base .noUi-connect {
    display: none;
}




#frontpage_header {
    height: calc(100vh - 11rem);
    background-size: cover;
    background-position: top center;
    
}

.sticky {
  position: fixed;
  top: 48px;
  width: 100%;
  z-index: 1000;
}

.sticky + #primary {
  padding-top: 20rem;
}

.frontbox {
    padding: 4rem;
}


.ohje {
    color: #ffffff;
    padding-bottom: 1rem;
    text-align: center;
}


#filters {
    height: 14rem;
    background-color: #1e1e1e;
    padding-top: 4rem;
    padding-bottom: 1rem;
}

.searchandfilter .noUi-connect {
    background-color: #e44e34!important;
}

.searchandfilter .noUi-horizontal .noUi-handle {
    width: 33px!important;
    height: 33px!important;
    top: -1.5px!important;
    border-radius: 30px!important;
    left: -16px!important;
}

.searchandfilter .noUi-horizontal .noUi-handle:before {
    display: none;
}

.searchandfilter .noUi-horizontal .noUi-handle:after, .searchandfilter .noUi-horizontal .noUi-handle:before {
    display: none;
}

.noUi-target {
    border-radius: 20px!important;
    border: none!important;
}

.searchandfilter .meta-slider {
    height: 30px!important;
}

.searchandfilter h4 {
    color: #ffffff;
}

.sf-text-number, .sf-range-values-seperator { display: none;}


.filtertext {
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Bergen Mono';
}

div.kortti {
    display: inline-block;
    height: 300px;
    width: 200px; 
    text-align: left;
    cursor: pointer;
}

div.kortti > div.cardarea {
    background-color: #f8f8f8;
    margin: 0 5px 0px 5px;
    border-top: 5px solid #e44e34;
    height: 280px;
}

.page-template-suosikit div.kortti {
    height: 350px;
}

.page-template-suosikit div.kortti > div.cardarea {
    height: 330px;
}


div.selarrow {
    height: 20px;
}

div.selarrow img {
    display: none;
    height: 20px;
    margin: auto;
}

.postimage {
  background-size: cover;
  background-position: center center;
  height: 112px;
}

div.kortti h6 {
    margin: 0px;
    padding: 0px;
    color: #e44e34;
    text-transform: uppercase;
}

.attraction-card {
    padding: 0 1rem 2rem 1rem;
}

.card-content {
    height: 5rem;
}

div.info2 {
    background-color: #1e1e1e;
    float: left;
    clear: both;
    width: 100%;
    display: none;
    color: #ffffff; 
    text-align: left;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

div.info2 p, div.info2 h1, div.info2 h2, div.info2 h3, div.info2 h4, div.info2 h5, div.info2 h6, div.info2 a {
    color: #ffffff;
}

div.info2 a.closeinfo {
    color: #e44e34;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-weight: bold;
    font-size: 1.6rem;
}

div.infotable .row {
    border-bottom: 1px solid #e44e34;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.boxstyle1 {
    display: block;
    background-color: #e44e34;
    padding: 0.8rem;
    color: #ffffff;
    font-family: 'Bergen Mono';
    text-transform: uppercase;
}

div.info2 .icon-col {
    color: #666666;
    font-size: 1.2rem;
}

div.info2 .infocol {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: 'Bergen Mono';
}


.suosikki-info .infocol {
    font-size: 0.6rem;
    font-family: 'Bergen Mono';
     line-height: 1rem;
}






.content-area {
    padding-top: 5rem;
    padding-bottom: 5rem;
}



.frontbox h1 {
    color: #e44e34;
    text-transform: uppercase;
}










/* FOOTER */

footer .container {
    border-bottom: 5px solid #e44e34;
    color: #1e1e1e;
}














/* side navigation */
#openNav {cursor: pointer;}
#mySidenav {
    width: 0vw;
    position: fixed;
    height: 100vh;
}

#mySidenav.show {  width: 100vw; }
#mySidenav.sidenav {background-color: #3c3282;}
.sidenav {
    z-index: 999; /* Stay on top */
    top: 0;
    right: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}
.sidenav ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    margin-bottom: 1.5rem;
}
.sidenav ul li {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}
.sidenav a {
    color: #ffffff;
    transition: 0.3s;
    font-weight: normal;
    padding: 0rem;
}
.sidenav a:hover{
    color: #ccf3ed;
    text-decoration: none;
}
.sidenav li.current-menu-item a { color: #ccf3ed; }
.closebtn .material-icons {color: #ffffff; font-size: 2.6rem; cursor: pointer;}
#openNav .material-icons {font-size: 2.6rem; cursor: pointer;}

.likeheader {
    height: auto;
    padding-bottom: 2rem;
    padding-top: 0.5rem;
}
.mobnavrow {
    height: calc(100vh - 4rem);
}

.dropdown-toggle::after {
    border: none;
    font-family: 'Material Icons';
    content: 'keyboard_arrow_down';
    -webkit-font-feature-settings: 'liga' 1;
    -moz-font-feature-settings: 'liga' 1;
    font-feature-settings: 'liga' 1;
    font-weight: normal;
  font-style: normal;
  font-size: 1em;
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  * Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
   
  * Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}




/* search */

.sf-field-post-meta-arvo, .sf-field-post-meta-arvo2, .sf-field-post-meta-arvo3 {
    width: 33%;
    float: left;
    padding: 0 1rem 0 1rem!important;
}

.searchandfilter .meta-slider {
  margin-top: 0px;
  margin-bottom: 0px;
  height: 15px;
  max-width: 90%;
}

.meta-slider {
    margin: 0 auto 0 auto;
}






.searchandfilter .noUi-horizontal .noUi-handle {
  width: 44px;
  height: 44px;
  top: -17px;
  border-radius: 30px;
  left: -12px;
}
.searchandfilter .noUi-horizontal .noUi-handle:after {
  left: 23px;
}
.searchandfilter .noUi-horizontal .noUi-handle:after, .searchandfilter .noUi-horizontal .noUi-handle:before {
  height: 19px;
  top: 11px;
}
.noUi-handle:after {
  left: 17px;
}
.noUi-handle:after, .noUi-handle:before {
  content: "";
  display: block;
  position: absolute;
  height: 14px;
  width: 1px;
  background: #E8E7E6;
  left: 14px;
  top: 6px;
}
.searchandfilter .noUi-horizontal .noUi-handle:before {
  left: 17px;
}
.searchandfilter .noUi-connect {
  background-color: #FF8200;
}
.searchandfilter h4 {
  margin: 0;
  padding: 5px 0 10px;
  font-size: 20px;
  text-align: center;
}
.searchandfilter ul li {
  list-style: none;
  display: block;
  padding-right: 10px;
  padding: 10px 0;
  margin: 0;
  text-align: center;
}

.searchandfilter > ul > li {
  display: inline-block;
  float: left;
}
.searchandfilter > ul > li:last-child {
  margin-right: 0;
}
.search-filter-results {clear: both;}

#filters ul {
    padding: 0px;
}





.noUi-origin {

    border-radius: 20px!important;
}










.action {
  height: 2rem;
  width: 2rem;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
}




.line {
  margin: 1rem;
}
.line:nth-of-type(1) {
  transform: rotate(0deg);
}
.line:nth-of-type(2) {
  transform: rotate(45deg);
}
.line:nth-of-type(3) {
  transform: rotate(90deg);
}
.line:nth-of-type(4) {
  transform: rotate(135deg);
}
.line:nth-of-type(5) {
  transform: rotate(180deg);
}
.line:nth-of-type(6) {
  transform: rotate(225deg);
}
.line:nth-of-type(7) {
  transform: rotate(270deg);
}
.line:nth-of-type(8) {
  transform: rotate(315deg);
}
.line.active:before {
  content: '';
  height: 1rem;
  width: 0.1rem;
  background: #007a33;
  position: absolute;
  top: -0.5rem;
  left: -0.02rem;
  will-change: top, height;
  animation: line1 .3s ease-out 1;
}

.heart {
    background-color: #D5D4D4;
    width: 1rem;
    height: 1rem;
    margin: auto;
    position: absolute;
    top: 0.25rem;
    bottom: 0;
    left: 0;
    right: 0;
    transform: rotate(-45deg);
}
.heart:before, .heart:after {
  content: '';
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #D5D4D4;
  position: absolute;
}
.heart:before {
  top: -0.5rem;
  left: 0;
}
.heart:after {
  top: 0;
  left: 0.5rem;
}
.heart.love {
  background: #007a33;
}
.heart.love:before, .heart.love:after {
  background: #007a33;
}
.heart.active {
  animation: grow-shrink .3s ease 1;
}

@keyframes line1 {
  0% {
    opacity: 1;
  }
  25% {
    top: -0.5rem;
  }
  65% {
    height: 1rem;
  }
  100% {
    height: 0.04rem;
    top: -2rem;
  }
}
@keyframes grow-shrink {
  40% {
    transform: scale(1.1) rotate(-45deg);
  }
  75% {
    transform: scale(0.9) rotate(-45deg);
  }
  100% {
    transform: scale(1) rotate(-45deg);
  }
}






.print-visible {display: none;}


@media print {
    .print-hidden, div.kortti.print-hidden {display: none;}
    .pagebg {background-image: none!important;}
    .print-visible {display: block;}
    
}















/* RESPONSIVE */




/* Extra small devices **** XS ***** */
@media (max-width: 575px) {
    .searchandfilter > ul > li {
        display: block;
        float: none;
        width: 100%;
        margin-bottom: 1.8rem;
    }
    .frontbox { padding: 2rem; }
    #filters {
        height: auto;
        padding-top: 5.5rem; 
        padding-bottom: 1.5rem;
    }
    .sticky {
        position: static;
        top: auto;
        width: auto;
        z-index: 1;
    }
    
    .content-area {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .sticky + #primary {
        padding-top: 5rem;
    }
    
    .ohje {
        font-size: 0.8em;
    }
}


/* Small devices  **** SM ***** */
@media (min-width: 576px) and (max-width: 767px) {
    #frontpage_header {
        height: auto;
        background-size: cover;
        background-position: top center;
    }
   .searchandfilter > ul > li {
        display: block;
        float: none;
        width: 100%;
        margin-bottom: 1.8rem;
    }
    .frontbox { padding: 2rem; margin-top: 6rem;}
    #filters {
        height: auto;
        padding-top: 5.5rem;
        padding-bottom: 1.5rem;
    }
    
    .sticky {
        position: static;
        top: auto;
        width: auto;
        z-index: 1;
    }
    
    .sticky + #primary {
        padding-top: 5rem;
    }

}


/* Landscape */
@media (max-width: 767px) and (orientation: landscape) {
    
}



/* Medium devices (tablets) **** MD ***** */
@media (min-width: 768px) and (max-width: 991px) {
    #filters div { font-size: 0.8rem;}
    .frontbox { padding: 2rem; }

	
}

/* Large devices (desktops) **** LG ***** */
@media (min-width: 992px) and (max-width: 1199px) {
    
}

/* Extra large devices (large desktops) **** XL ***** */
@media (min-width: 1200px) and (max-width: 1599px) {
	

}

/* Extra large devices (large desktops) **** XL ***** */
@media (min-width: 1600px) {
	
} 



@media (min-width: 1200px) {
    
}

@media (min-width: 1400px) {
   
}
@media (min-width: 1500px) {
    
    
}


@media (min-width: 1600px) {
     


@media (min-width: 1800px) {
   
}





