/* RAKENNE */
.template-etusivu visual-header {
    margin-bottom: 22px;
    height: 706px;
}
.template-etusivu .content-row {
    padding-top: 25px;
    padding-bottom: 25px;
    overflow: hidden;
    text-align: center;
}

/* OTSIKKO JA TEKSTITYYLIT */
.template-etusivu h2 {
    letter-spacing: 1px;
    margin: 0px 0 30px;
    font-weight: normal;
    line-height: 120%;
    color: #022860;
    font-size: 28px;
    border-bottom: 3px solid #3ebfed;
    padding-bottom: 7px;
    display: inline-block;
}

/* ETUSIVUN PÄÄKARUSELLI */

/* Nuolet */
.use-carousel-arrows .slick-prev,
.use-carousel-arrows .slick-next {
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    -webkit-transform: translate(0px, -50%);
    z-index: 2;
	
    font-size: 0;
    line-height: 0;

    width: 27px;
    height: 47px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}
main-carousel-container {
    max-height: 706px;
    overflow: hidden;
}
main-carousel-container carousel-item {
    background-position: center center;
}
main-carousel-container .slick-prev::before {
    background: transparent url('/templates/matkapojat2018/img/nuoli-left.png') center center / cover;
}
main-carousel-container .slick-next::before {
    background: transparent url('/templates/matkapojat2018/img/nuoli-right.png') center center / cover;
}
main-carousel-container .slick-prev::before,
main-carousel-container .slick-next::before {
   content: "" !important;
   background-size: 100% 100% !important;
   display: inline-block !important;

   /*size of your image*/
   width: 15px !important;
   height: 30px !important;
}
main-carousel-container .slick-prev {
    left: 25px !important;
}
main-carousel-container .slick-next {
    right: 25px !important;
}

/* Karusellin tekstit */
.template-etusivu .header-small-title {
    margin-top: 158px;
    margin-bottom: 6px;
}
.template-etusivu .header-small-title h2,
.header-small-title-h2{
    margin-bottom: 0px;
    border-bottom: none;
    color: #ffffff;
    font-weight: 600; /* Semi-bold */
}
.header-subtext {
    display: inline-block;
    background: rgba(62, 191, 237, 0.70);
    min-height: 33px;
    margin-top: 6px;
    color: #ffffff;
}
.header-subtext h3 ,
.header-subtext .header-subtext-p{
    font-size: 17px; 
    font-weight: normal;
    color: #ffffff;
    padding: 6px 16px 6px;
    font-weight: 600; /* Semi-bold */
    margin: 0;
}
.header-large-title h1,
.header-large-title h2.large-header-style {
    margin: 0;
    padding: 2px 16px 6px;
    font-weight: 900;
    font-size: 46px;
    border: none;
    line-height: 120%;
    color: #ffffff;
}

/* ETUSIVUN KARUSELLIT YLEISESTI */

/* Rakenne */
.carousel-3-2-1-responsive{
    width: 1170px;
    margin-left: auto; 
    margin-right: auto;
}
.carousel-3-2-1-responsive carousel-item{
    padding-left: 15px; 
    padding-right: 15px;
}
.etusivu-huippukampanjat, .etusivu-akkilahdot, .etusivu-suosittelemme, .etusivu-lomateemat {
   transition: all 0.5s ease;
   opacity: 0;
}

/* Nuolet */
.use-carousel-arrows .slick-prev {
    background: #ffffff url('../img/etusivu-vasennuoli.png') no-repeat left center;
    right: auto;
    left: -24px;
}
.use-carousel-arrows .slick-next {
    background: #ffffff url('../img/etusivu-oikeanuoli.png') no-repeat right center;
    left: auto;
    right: -24px;
}
.use-carousel-arrows .slick-prev, .use-carousel-arrows .slick-next {
    background-size: 12px 24px;
}

/* HUIPPUKAMPANJAT */
huippukampanjat-carousel-container,
huippukampanjat-carousel-container.use-carousel-arrows .slick-prev,
huippukampanjat-carousel-container.use-carousel-arrows .slick-next {
    height: 245px;	
}
huippukampanjat-carousel-container img {
    max-width: 100%;  
}
.huippukampanjat-carousel-image-size {
    width: 360px;
    position: relative;
}
huippukampanjat-carousel-container a:hover {
    opacity: 0.7;
}

/* ÄKKILÄHDÖT */

/* Rakenne */
akkilahdot-carousel-container,
akkilahdot-carousel-container.use-carousel-arrows .slick-prev,
akkilahdot-carousel-container.use-carousel-arrows .slick-next {
    height: 260px;
}
akkilahdot-carousel-container .slick-slide, 
akkilahdot-carousel-container img,
.tarjoussivu-parhaat-item,
.tarjoussivu-parhaat-item-container img {
    max-width: 100%;
    text-align: left; 
}
.akkilahdot-carousel-item-size,
.tarjoussivu-parhaat-item {
    width: 360px;
    position: relative;
}
.akkilahdot-bottom {
    padding-bottom: 40px;
    border-bottom: #dededf 2px solid;
}

/* Tekstit */
.akkilahto-carousel-item h4,
.akkilahto-carousel-item h5,
.tarjoussivu-parhaat-item h3,
.tarjoussivu-parhaat-item h4 { 
    position: absolute;
    left: 0px;
    color: #ffffff;
    padding: 2px 10px;
    font-size: 15px;
}
.akkilahto-carousel-item h4,
.tarjoussivu-parhaat-item h3 { 
    top: 0px;
    background: #3ebfed;
}
.akkilahto-carousel-item h5,
.tarjoussivu-parhaat-item h4 {
    top: 22px;
    background-color: #022860;
    font-weight: 600; /* Semi-bold */
}
.akkilahto-carousel-item p,
.akkilahto-hinta,
.template-tarjoussivu .tarjous-text,
.template-tarjoussivu .tarjous-price,
.template-kampanjasivu .tarjous-text,
.template-kampanjasivu .tarjous-price {
    margin: 5px 0px;
    color: #022860;
}
.akkilahto-hinta, 
.template-tarjoussivu .tarjous-price,
.template-kampanjasivu .tarjous-price {
    font-weight: bold;
    font-size: 32px;
}

/* Varaa-nappi */
.akkilahto-varaa-button,
.template-tarjoussivu .tarjous-link,
.template-kampanjasivu .tarjous-link,
.template-lomakesivu lomakesivu-send-button {
    display: block;
    position: absolute;
    
    right: 0px;
    bottom: 0px;
    
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
    font-weight: bold;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    background: #3ebfed url('../img/hakanen.png') no-repeat right center;
    padding: 4px 30px 4px 20px;
    border-radius: 16px;
}
a.akkilahto-varaa-button:hover, a.akkilahto-varaa-button:active,
.template-tarjoussivu a.tarjous-link:hover, .template-tarjoussivu a.tarjous-link:active,
.template-kampanjasivu a.tarjous-link:hover, .template-kampanjasivu a.tarjous-link:active,
.template-lomakesivu lomakesivu-send-button:hover, .template-lomakesivu lomakesivu-send-button:active {
    /*
    -webkit-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    -moz-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    */
    opacity: 0.7;
    color: #ffffff !important;
}

/* PARHAAT TARJOUKSET */

/* Rakenne */
.tarjoukset-ja-suosikkikohteet {
    margin-bottom: 5px;
}
parhaat-tarjoukset.content-one-of-three {
    background: #fff url('../img/etusivu_parhaat_tarjoukset2.jpg') no-repeat right center / cover;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
    margin-right: 0;
    padding: 30px 25px 20px; 
}
.parhaat-tarjoukset-half {
    float: left;
    width: 44%;
    margin-right: 12%;
}
.parhaat-tarjoukset-half:nth-child(3n) {
    margin-right: 0;
}
.parhaat-tarjoukset-item {
    text-decoration: none;
    text-align: left;
    font-weight: bold;
    width: 100%;
    margin: 10px 0 28px;
}

/* Tekstit */
parhaat-tarjoukset h3 {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}
.parhaat-tarjoukset-item a {
    text-decoration: none;
} 
.parhaat-tarjoukset-item a:hover,
.parhaat-tarjoukset-item a:active {
    opacity: 0.8;
}
.parhaat-tarjoukset-item .row {
    line-height: 150%;
    font-size: 17px;
    color: #ffffff;
    height: 25px;
} 
.parhaat-tarjoukset-item .hinta {
    color: #3ebfed;
    font-size: 28px;
    margin: 10px 0;
} 

/* SUOSIKKIKOHTEET */

/* Rakenne */
suosikkikohteet { 
  /* Kaks palstaa */
    width: 65.75%;
    float: right;
}
suosikkikohteet .content-one-of-three {
  /* 1 / 2 palsta */
    height: auto;
    width: 48%;
    margin-right: 0;
    margin-bottom: 25px;
}
suosikkikohteet .content-one-of-three:nth-child(even) {
    float: right;
}
suosikkikohteet .content-one-of-three img {
  /* Ylimääräinen marginaali pois */
    margin-bottom: -5px;
}
.suosikkikohde-item {
    overflow: hidden;
  /* Laatikon taustaväri */
    background: #003057;
}
.suosikkikohde-item a:hover img {
    opacity: 0.6;
}

/* Nimikenttä ja tekstit */
.suosikkikohde-item .name {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
    height: 66px;
    margin-top: -66px;
    background: rgba(62, 191, 237, 0.80);
    position: relative;
    z-index: 50;
    padding: 18px;    
    font-size: 20px;
    line-height: 150%;
    color: #ffffff;
    font-weight: bold;
}
.suosikkikohde-item:hover .name {
    background: rgba(37, 134, 177, 0.8);
}
.suosikkikohde-item a {
    text-decoration: none;
}

/* REKISTERÖINTI NOSTO */

/* Rakenne */ 
.etusivu-vaakanosto {
    background: #022860;
}
.etusivu-vaakanosto-text {
    margin: 20px 0 25px;
}

/* Tekstit */
.etusivu-vaakanosto h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 35px;
}

/* Nappi */
.etusivu-vaakanosto-linkbutton {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    background: #3ebfed;
    padding: 9px 27px 9px 27px;
    border-radius: 18px;
}
.etusivu-vaakanosto-linkbutton:hover, .etusivu-vaakanosto-linkbutton:active {
    /*-webkit-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    -moz-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    */
    opacity: 0.7;
    color: #ffffff !important;
}

/* SUOSITTELEMME */

/* Rakenne */
.etusivu-suosittelemme.content-row {
    padding-top: 50px;
    padding-bottom: 50px;
}
suosittelemme-carousel-container,
suosittelemme-carousel-container.use-carousel-arrows .slick-prev,
suosittelemme-carousel-container.use-carousel-arrows .slick-next {
    height: 465px;
}
suosittelemme-carousel-container.use-carousel-arrows .slick-prev,
suosittelemme-carousel-container.use-carousel-arrows .slick-next {
    margin-top: -1px; /* Tällä on merkitystä, jos raahaa slidea hiirellä */
}
suosittelemme-carousel-container img {
    width: 100%;
    outline: 1px solid #bcbcbc4d;
    outline-offset: -1px;
}
.suosittelu-carousel-item-size {
    width: 360px;
    position: relative;
}

/* Sininen alue */
.suosittelu-carousel-item .blue-bg-area {
    position: absolute;
    background: rgba(24, 54, 99, 0.85);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
    padding: 16px 22px;
    top: 150px;
    left: 0px;
    width: 100%;
    height: 75px;
    text-align: left;
    color: #ffffff;
    display: none; 
}
.suosittelu-carousel-item .blue-bg-area-text {
    overflow: hidden;
    width: 100%;
    height: 50px;
}
.blue-bg-area-text div {
    width: auto;
    display: inline-block;
}
.suosittelu-carousel-item .blue-bg-area-text div:last-child {
    width: 100%;
    display: block;
}
.suosittelu-carousel-item:hover .blue-bg-area {
    display: block;
}

/* Karuselli napit */
suosittelemme-carousel-container.use-carousel-arrows .slick-prev, 
suosittelemme-carousel-container.use-carousel-arrows .slick-next {
    background-image:none;
    pointer-events: none;
    cursor: default;
}
.slick-dots {
    display: flex;
    flex-direction: row;
	
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    margin: 0;
    padding: 0;
}
.slick-dots li {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}
suosittelemme-carousel-container .slick-dots li:nth-last-child(1), suosittelemme-carousel-container .slick-dots li:nth-last-child(2) {
    display: none; /* Piiloitetaan sliderin kaksi viimeistä dottia */
}
.slick-dots button {
    background-color: #ffffff;
    border: none;
    color: transparent;
    background: transparent url('../img/asiakkaat-suosittelevat-pallo.png') no-repeat center center;
    display: inline-block;
    margin: 0 3px;
    height: 14px;
    width: 14px;
}
.slick-dots .slick-active button {
    background: transparent url('../img/asiakkaat-suosittelevat-pallo-valittu.png') no-repeat center center;
}

/* Tekstit */
.template-etusivu .etusivu-suosittelemme h2 {
    margin: 0px 0 35px;
}
.suosittelu-carousel-item .blue-bg-area h4 {
    color: #ffffff;
    font-size: 19px;
    display: inline;
    margin-right: 8px;
}
.suosittelu-carousel-item .detail-light-blue {
    color: #3ebfed;
    font-style: italic;
    letter-spacing: 1px;
}
.suosittelemme-text {
    height: 180px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
    padding: 30px 22px 35px;
    background: rgba(255, 255, 255, 0.85);
    border-color: #cacacc;
    border-style: solid;
    border-width: 0px 1px 1px 1px;
    box-shadow: 0 3px 0 #022860;
    text-align: left;
    font-size: 13px;
    line-height: 140%;
}
.suosittelemme-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}
.suosittelemme-text .detail {
    margin-bottom: 18px;
    min-height: 36px;
}
.suosittelemme-text .price {
    display: inline-block;
    color: #022860;
    font-size: 28px;
    text-align: left;
    font-weight: bold;
    margin-top: 5px;
}
.suosittelemme-text .read-more-button {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    background: #3ebfed;
    padding: 8px 15px 8px 15px;
    border-radius: 16px;
    display: inline-block;
    float: right;
}
.suosittelemme-text .read-more-button:hover, .suosittelemme-text .read-more-button:active {
    /*-webkit-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    -moz-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    */
    opacity: 0.7;
    color: #ffffff !important;
}

/* LOMATEEMAT */

/* Rakenne */
.template-etusivu .etusivu-lomateemat {
    padding-top: 45px;
    padding-bottom: 60px;
}
.lomateemat-carousel-item {
    position:relative;
}
.lomateemat-carousel-item-size{
    width: 360px;
    position: relative;
}
lomateemat-carousel-container,
lomateemat-carousel-container.use-carousel-arrows .slick-prev,
lomateemat-carousel-container.use-carousel-arrows .slick-next {
    height: 515px;
}
lomateemat-carousel-container .slick-slide, 
lomateemat-carousel-container img.bg-image {
    width: 100%;
}
.lomateemat-carousel-item .title-area {
    display: block;
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%,0);
    min-width: 240px;
}
.lomateemat-carousel-item .read-more-area {
    display: block;
    position: absolute;
    top: 107px;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%,0);
}
.lomateemat-carousel-item .footer-area {
    display: block;
    position: absolute;
    top: 66%;
    width: 85%;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%,0);
}
.lomateemat-carousel-item .footer-area .lomateema-icon,
.lomateemat-carousel-item .footer-area .lomateema-name,
.lomateemat-carousel-item .footer-area .left-text-area,
.lomateemat-carousel-item .footer-area .right-text-area {
    display: block;
    position: absolute;
    z-index: 2;
}
.lomateemat-carousel-item .footer-area .lomateema-icon {
    top: 4%;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%,0);
}
.lomateemat-carousel-item .footer-area .lomateema-name {
    top: 17%;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%,0);
    color: white;
}
.lomateemat-carousel-item .footer-area .left-text-area {
    left: 12px;
    right: auto;
}
.lomateemat-carousel-item .footer-area .right-text-area {
    left: 164px;
    right: auto;
}
.lomateemat-carousel-item .footer-area .left-text-area,
.lomateemat-carousel-item .footer-area .right-text-area {
    bottom: 2%;
    width: 43%;
    height: 62px;
    display: table;
}
.lomateemat-carousel-item .footer-area .left-text-area p,
.lomateemat-carousel-item .footer-area .right-text-area p {
    font-weight: bold;
    color: #022860;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
}

/* Tekstit */ 
.etusivu-lomateemat h3, .etusivu-lomateemat h4 {
    color: #ffffff;
    font-weight: bold;
}
.etusivu-lomateemat h4 {
    font-size: 19px;
    text-shadow: 0px 4px 6px rgba(150, 150, 150, 1);
}
.etusivu-lomateemat h3 {
    font-size: 18px;
}
.etusivu-lomateemat .read-more-area a {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    background: #3ebfed;
    padding: 10px 15px 10px 15px;
    border-radius: 20px;
    display: inline-block;
    float: right;
}
.etusivu-lomateemat .read-more-area a:hover, .etusivu-lomateemat .read-more-area a:active {
    /*
    -webkit-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    -moz-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    */
    opacity: 0.7;
    color: #ffffff !important;
}

/* Nuolet */
.etusivu-lomateemat .use-carousel-arrows .slick-prev {
    background: transparent url('../img/lomateemat-vasennuoli.png') no-repeat center center;
    width: 69px;
    height: 516px;
}
.etusivu-lomateemat .use-carousel-arrows .slick-next {
    background: transparent url('../img/lomateemat-oikeanuoli.png') no-repeat center center;
    width: 69px;
    height: 516px;
}

/* SOMERUUDUT */

/* Rakenne */
.template-etusivu .etusivu-someruudut.content-row {
    padding-top: 60px;
    padding-bottom: 45px;
}
.etusivu-someruudut .content-one-of-three {
    border-color: #dededf;
    border-style: solid;
    border-width: 1px;
    margin-top: 20px;
    margin-bottom: 0px;
    overflow: visible;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
    background-color: #ffffff;
    padding: 0 20px 15px;
}
.etusivu-someruudut .some-icon {
    margin: -20px auto 0;
    width: 50px;
    height: 50px;
}
.etusivu-someruudut .some-facebook .some-icon {
    background: transparent url('../img/some-fb-icon.png') no-repeat center center;
}
.etusivu-someruudut .some-insta .some-icon {
    background: transparent url('../img/some-insta-icon.png') no-repeat center center;
}
.etusivu-someruudut .some-twitter .some-icon {
    background: transparent url('../img/some-twitter-icon.png') no-repeat center center;
}
.insta-ruutu {
    width: 49%;
    height: auto;
    float: left;
}
.insta-ruutu:nth-child(odd) {
    float: right;
}
.insta-ruutu img {
    width: 100%;
    height: auto;
}
.insta-ruutu img:hover {
    opacity: 0.6;
}
.some-frame {
    overflow: hidden;
    margin-bottom: 6px;
    height: 0px;
    padding-bottom: 123%;
}

/* Tekstit */
.etusivu-someruudut h3 {
    font-size: 20px;
    margin-top: 12px;
    margin-bottom: 15px;
    color: #464646;
    font-weight: 600; /* Semi-bold */
}

main-carousel-container carousel-item header-content a:hover div{
	background: rgb(62, 191, 237);
}

/* TARJOUKSET JA SUOSIKKIKOHTEET */
@media all and (max-width: 1250px) {

    /* ETUSIVUN PÄÄKARUSELLI */

    /* Nuolet */
    main-carousel-container .slick-prev {
    	left: 5px !important;
    }
    main-carousel-container .slick-next {
    	right: 5px !important;
    }
    .use-carousel-arrows .slick-prev {
    	left: -23px;
    }
    .use-carousel-arrows .slick-next {
    	right: -23px;
    }
    huippukampanjat-carousel-container.use-carousel-arrows .slick-prev,
    akkilahdot-carousel-container.use-carousel-arrows .slick-prev,
    suosittelemme-carousel-container.use-carousel-arrows .slick-prev {
    	background-position: right 0px center;
    }
    huippukampanjat-carousel-container.use-carousel-arrows .slick-next,
    akkilahdot-carousel-container.use-carousel-arrows .slick-next,
    suosittelemme-carousel-container.use-carousel-arrows .slick-next {
    	background-position: left 0px center;
    }
}

/* TABLETTIKOOT */
@media all and (max-width: 1200px) {

    /* RAKENNE */
    .template-etusivu visual-header {
    	margin-bottom: 20px;
    }

    /* ETUSIVUN PÄÄKARUSELLI */

    /* Karusellin tekstit */
    .header-subtext {
    	margin-left: 35px;
    	margin-right: 35px;
    }
    .template-etusivu visual-header {
	border-bottom: 3px solid #3ebfed;
    }

    /* ETUSIVUN KARUSELLIT YLEISESTI */
    .carousel-3-2-1-responsive{
    	width: 780px; 
    }

    /* PARHAAT TARJOUKSET */
    .parhaat-tarjoukset-item .row {
    	line-height: 120%;
    	height: 20px;
    }
    parhaat-tarjoukset h3 {
    	font-size: 20px;
	margin-bottom: 15px;
   }

    /* LOMATEEMAT */

    /* Rakenne */
    .lomateemat-carousel-item .footer-area {
    	top: 66%;
    	width: 85%;
    }
    img.lomateema-footer {
    	width: 100%;
    	height: auto;
    }
    .lomateemat-carousel-item .footer-area .lomateema-icon {
    	top: 4%;
	width: 30px;
  	height: auto;
    }
    .lomateemat-carousel-item .footer-area .lomateema-name {
    	top: 17%;
    }

    /* Tekstit */
    .etusivu-lomateemat h4 {
    	font-size: 18px;
    }
    .etusivu-lomateemat .read-more-area a {
    	font-size: 14px;
    }
    .etusivu-lomateemat h3 {
    	font-size: 16px;
    }
    .lomateemat-carousel-item .footer-area .left-text-area,
    .lomateemat-carousel-item .footer-area .right-text-area {
    	bottom: 2%;
    	width: 43%;
    	height: 60px;
    }
    .lomateemat-carousel-item .footer-area .left-text-area p,
    .lomateemat-carousel-item .footer-area .right-text-area p {
    	line-height: 120% !important;
    	font-size: 14px;
	margin: auto;
    }
}
@media all and (max-width: 1100px) {

    	/* PARHAAT TARJOUKSET */
	parhaat-tarjoukset.content-one-of-three {
    	    padding: 30px 25px 10px;
	}
	.parhaat-tarjoukset-item {
	    margin: 10px 0 24px;
	}
    	.parhaat-tarjoukset-item .row {
    	    line-height: 100%;
	    height: 18px;
	    font-size: 16px;
    	}
}

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

    	/* PARHAAT TARJOUKSET */
        .parhaat-tarjoukset-item .row {
    	    font-size: 15px;
        }
    	.parhaat-tarjoukset-item .hinta {
    	    font-size: 20px;
    	    margin: 0px;
    	}

    	/* SUOSIKKIKOHTEET */
    	.suosikkikohde-item .name {
    	    padding: 20px;
    	    font-size: 16px;
    	}

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

        /* ETUSIVUN KARUSELLIT YLEISESTI */
	.carousel-3-2-1-responsive{
	    width: 630px; 
	    margin-left: auto; 
	    margin-right: auto;
	}
	
   	/* HUIPPUKAMPANJAT */	
	huippukampanjat-carousel-container{
	    height: 194px;
	}
	.huippukampanjat-carousel-image-size{
	    width: 285px; 
	}
	
   	/* ÄKKILÄHDÖT */	
	akkilahdot-carousel-container {
	    height: 200px;
	}
	.akkilahdot-carousel-item-size,
	.tarjoussivu-parhaat-item {
	    width: 285px;  
	}
	
    	/* PARHAAT TARJOUKSET */
    	parhaat-tarjoukset.content-one-of-three {
    	    padding: 15px 15px 0px;
    	}
        .parhaat-tarjoukset-item .row {
    	    line-height: 100%;
    	    font-size: 13px;
    	    height: 18px;
        }
    	parhaat-tarjoukset h3 {
    	    font-size: 16px;
	    margin-bottom: 10px;
    	}

	/* SUOSITTELEMME */
	suosittelemme-carousel-container{
	    height: 414px;
	}
	.suosittelu-carousel-item-size{
	    width: 285px;
	}
    	.suosittelu-carousel-item .blue-bg-area {
    	    top: 103px;
    	}
		
	/* LOMATEEMAT */
	lomateemat-carousel-container{
	    height: 405px;
	}
	.lomateemat-carousel-item-size{
	    width: 285px;
	}
        .lomateemat-carousel-item .footer-area .lomateema-name {
    	     top: 12%;
        }
	.etusivu-lomateemat h3 {
    	     font-size: 15px;
	}
        .lomateemat-carousel-item .footer-area .left-text-area,
        .lomateemat-carousel-item .footer-area .right-text-area {
    	     width: 100px;
    	     height: 50px;
        }
	.lomateemat-carousel-item .footer-area .right-text-area {
	    left: 130px;
	}
}

/* VAIN MOBIILI */
@media all and (max-width: 799px) {

    /* RAKENNE */
    .template-etusivu .content-row {
    	padding-top: 20px;
    	padding-bottom: 20px;
    }
    .etusivu-huippukampanjat.content-row,
    .etusivu-akkilahdot.content-row,
    .etusivu-suosittelemme.content-row {
	padding-left: 0px;
	padding-right: 0px;
    }

    /* TEKSTIT */
    .template-etusivu h2 {
    	font-size: 19px;
	font-weight: 600;
    	border-bottom: 2px solid #3ebfed;
    	padding-bottom: 4px;
	margin-bottom: 24px;
    }

    /* ETUSIVUN PÄÄKARUSELLI */
    main-carousel-container {
    	height: 173px !important;
    }
    main-carousel-container carousel-item header-content {
    	padding-top: 15px !important;
    } 
    main-carousel-container carousel-item,
   .template-etusivu visual-header {
        height: 173px !important;  
    }

    /* Tekstit */
    .header-subtext {
    	display: none;
    } 
    .header-large-title h1, .header-large-title h2.large-header-style {
    	padding: 0px 5px 0px;
    	font-size: 22px;
	text-align: center;
	height: auto;
	width: 100%;
    }
    


    /* Nuolet */
    main-carousel-container .slick-prev::before,
    main-carousel-container .slick-next::before {
    	width: 12px !important;
    	height: 24px !important;
    }
    main-carousel-container .slick-prev {
    	left: 0px !important;
    }
    main-carousel-container .slick-next {
    	right: 0px !important;
    }

    /* ETUSIVUN KARUSELLIT YLEISESTI */

    /* Nuolet */
    .use-carousel-arrows .slick-prev {
        background: transparent url('../img/etusivu-mob-vasennuoli.png') no-repeat left center;
	background-position: right 0px center !important;
    	left: -2px;
    }
    .use-carousel-arrows .slick-next {
    	background: transparent url('../img/etusivu-mob-oikeanuoli.png') no-repeat right center;
	background-position: left 0px center !important;
    	right: -2px;
    }
    .use-carousel-arrows .slick-prev, .use-carousel-arrows .slick-next {
    	background-size: 27px 34px;
    }

    /* ÄKKILÄHDÖT */

    /* Rakenne */
    akkilahdot-carousel-container.use-carousel-arrows .slick-prev, akkilahdot-carousel-container.use-carousel-arrows .slick-next {
    	top: 40%;
    }
    .akkilahdot-bottom {
    	width: 590px;
    }

    /* Tekstit */
    .akkilahto-carousel-item h4,
    .akkilahto-carousel-item h5 {
	font-size: 14px;
    }
    .akkilahto-carousel-item h4 {
	margin: 15px 0 0;
    }
    .akkilahto-carousel-item h5 {
    	top: 16px;
    }
    .akkilahto-hinta {
    	font-size: 24px;
    }

    /* Nappi */
    .akkilahto-varaa-button {
        font-size: 13px;
	padding: 4px 25px 4px 15px;
    }

    /* PARHAAT TARJOUKSET */

    /* Rakenne */
    .tarjoukset-ja-suosikkikohteet {
    	margin-bottom: 5px;
    }
    parhaat-tarjoukset.content-one-of-three {
	padding: 25px 25px 25px;
    	width: 100%;
    }
    .parhaat-tarjoukset-item {
	margin: 10px 0 20px;
    }

    /* Tekstit */
    .parhaat-tarjoukset-item .row {
	line-height: 150%;
	height: 25px;
    	font-size: 16px;
    }
    .parhaat-tarjoukset-item .hinta {
    	font-size: 24px;
    	margin: 10px 0;
    }
    parhaat-tarjoukset h3 {
	font-size: 16px;
	margin-bottom: 20px;
    }

    /* SUOSIKKIKOHTEET */

    /* Rakenne */
    suosikkikohteet {
    	width: 100%;
    	float: none;
    }
    suosikkikohteet .content-one-of-three {
	margin-bottom: 15px;
    	width: 100%;
    }
    .suosikkikohde-item .name {
    	padding: 18px;
    	font-size: 18px;
    	height: 65px;
    	margin-top: -68px;
    }

    /* REKISTERÖINTI NOSTO */

    /* Rakenne */
    .etusivu-vaakanosto-text {
   	 margin: 10px 0 25px;
    }

    /* Tekstit */
    .etusivu-vaakanosto h3 {
    	font-size: 16px;
        line-height: 150%;
        margin-bottom: 30px;
    }

    /* Nappi */
    .etusivu-vaakanosto-linkbutton {
    	padding: 7px 32px 7px 32px;
    }

    /* SUOSITTELEMME */

    /* Rakenne */
    suosittelemme-carousel-container .slick-arrow,
    .suosittelu-carousel-item .blue-bg-area {
    	display: block !important;
    }
    suosittelemme-carousel-container{
	height: 336px; 
    }
    .etusivu-suosittelemme.content-row {
	padding-top: 40px;
	padding-bottom: 45px;
    }
    .suosittelu-carousel-item .blue-bg-area {
    	top: 118px;
    	height: 60px;
 	padding: 13px 20px;
    }
    .suosittelu-carousel-item .blue-bg-area-text {
    	height: 40px;
    }
    .suosittelemme-text {
    	padding: 22px 22px 35px;
    	font-size: 14px;
    	height: 155px;
    }
    .suosittelemme-text .detail {
    	margin-bottom: 15px;
    	max-height: 40px;
    	overflow: hidden;
    }
    .suosittelemme-text .price {
    	font-size: 24px;
    }
    .suosittelemme-text .read-more-button {
    	padding: 6px 15px 6px 15px;
    }

    /* Tekstit */
    .template-etusivu .etusivu-suosittelemme h2 {
   	 margin: 0px 0 25px;
    }
    .suosittelemme-text h3 {
   	font-size: 16px;
    }
    .suosittelu-carousel-item .blue-bg-area h4 {
    	font-size: 14px;
    	line-height: 100%;
	margin-right: 3px;
    }
    .detail-light-blue {
    	font-size: 14px;
    }
    .detail-small {
    	font-size: 14px;
    	line-height: 100%;
    }
    suosittelemme-carousel-container .slick-dots{ 
	display: none !important; 
    }

    /* Nuolet */
    .etusivu-suosittelemme .use-carousel-arrows .slick-prev, 
    .etusivu-suosittelemme .use-carousel-arrows .slick-next {
    	top: 27%;
    	pointer-events: auto;
    	cursor: pointer;
    }
    suosittelemme-carousel-container.use-carousel-arrows .slick-next {
    	background: transparent url('../img/etusivu-mob-oikeanuoli.png') no-repeat right center;
	background-size: 27px 34px;
    }
    suosittelemme-carousel-container.use-carousel-arrows .slick-prev {
    	background: transparent url('../img/etusivu-mob-vasennuoli.png') no-repeat left center;
	background-size: 27px 34px;
    }
    /* LOMATEEMAT */

    /* Rakenne */
    .template-etusivu .etusivu-lomateemat.content-row {
    	padding: 25px 0 35px 0;
    }
    .lomateemat-carousel-item .title-area {
    	top: 25px;
    }
    .lomateemat-carousel-item .read-more-area {
    	top: 84px;
    }
    .lomateemat-carousel-item .footer-area {
    	top: 263px;
    }

    /* Tekstit */
    .etusivu-lomateemat h4 {
    	font-size: 16px;
    }
    .etusivu-lomateemat .read-more-area a {
    	font-size: 13px;
    	padding: 6px 18px 6px 18px;
    }
    .lomateemat-carousel-item .footer-area .left-text-area p,
    .lomateemat-carousel-item .footer-area .right-text-area p {
    	line-height: 100%;
    	font-size: 14px;
    }

    /* Nuolet */
    .etusivu-lomateemat .use-carousel-arrows .slick-prev {
    	background: transparent url('../img/etusivu-mob-vasennuoli.png') no-repeat left center;
    	background-position: right 0px center !important;
    	left: -2px;
    	width: 27px;
    	background-size: 27px 34px;
    }
    .etusivu-lomateemat .use-carousel-arrows .slick-next {
    	background: transparent url('../img/etusivu-mob-oikeanuoli.png') no-repeat right center;
    	background-position: right 0px center !important;
    	right: -2px;
    	width: 27px;
    	background-size: 27px 34px;
    }

    /* SOMERUUDUT */

    /* Rakenne */
    .template-etusivu .etusivu-someruudut.content-row {
    	padding-top: 20px;
	padding-bottom: 30px;
    }
    .etusivu-someruudut .content-one-of-three {
	width: 100%;
    	margin-top: 43px;
	padding: 0 15px 15px;
    }
    .some-frame {
    	overflow: hidden;
    	margin-bottom: 6px;
    	height: 0px;
    	padding-bottom: 123%;
    }
    .fb-page a {
	color: #3ebfed;
    }
    /* Tekstit */
    .etusivu-someruudut h3 {
	font-size: 18px;
	margin-top: 10px;
	margin-bottom: 8px;
    }
}

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

        /* ETUSIVUN KARUSELLIT YLEISESTI */
	.carousel-3-2-1-responsive{ 
	    width: 315px; 
	    margin-left: auto;
	    margin-right: auto;
	}
}
@media all and (max-width: 700px) {

     	/* ÄKKILÄHDÖT */
    	.akkilahdot-bottom {
    	     width: auto;
  	     margin-right: 24px;
	     margin-left: 24px;
    	}

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

    	/* PARHAAT TARJOUKSET */

        parhaat-tarjoukset.content-one-of-three {
	   padding: 25px 25px 25px;
    	}

    	/* Tekstit */
    	.parhaat-tarjoukset-item .row {
	   line-height: 120%;
	   height: 20px;
    	   font-size: 15px;
        }
    	.parhaat-tarjoukset-item .hinta {
    	   font-size: 22px;
    	   margin: 5px 0;
    	}
    	parhaat-tarjoukset h3 {
	   font-size: 15px;
	   margin-bottom: 15px;
        }

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

    	/* PARHAAT TARJOUKSET */
	parhaat-tarjoukset.content-one-of-three {
    	    padding: 15px;
	}
	.parhaat-tarjoukset-item .row {
    	    font-size: 13px;
	}
}
@media all and (max-width: 380px) {
    suosikkikohteet .content-one-of-three:nth-child(even) {
    	float: none;
    }
}
@media all and (max-width: 330px) {

    .suosikkikohde-item .name {
    	padding: 15px;
    
    }
}
@media all and (max-width: 320px) {

    body.template-etusivu {
	min-width: 320px;
    }

}
