/*
 Theme Name:   Heikki Salo
 Template:     aate
 Text Domain:  heikkisalo
*/

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
  
html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #000000;
}

main {
    background-color: #E9EFCD;
}

/***********************
*       TYPOGRAFIA     *
***********************/

h1, h2, h3, h4, h5 {
	font-family: "Anton", sans-serif;
	font-weight: 500;
	color: #074D4E;
	margin-bottom: .5em;
}

h2.h1, .h2-h1 h2, .yhteydenotto h1 {
    font-size: 2.5em;
}

h2.h1 {
    margin-bottom: 0.4em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    margin-top: 1.5em;
}

.rekisteriseloste h2 {
    margin-top: 1.4em;
    font-size: 1.6em;
}

.tumma-tausta h2 {
    color: #E9EFCD;
}

.tumma-tausta p {
    color: #fff;
}

.tumma-tausta a, .tumma-tausta a:visited, .tumma-tausta a:hover, .tumma-tausta a:focus {
    color: #E9EFCD !important;
}
.punainen {
    color: #B22C0D;
}

.header-image h1 {
	color: #E9EFCD;
	margin-bottom: 0;
	font-size: 2.5em;
}

.home .header-image h1 {
	font-size: 3.8em;
	max-width: 800px;
	text-align: left;
}


header p.nosto {
text-align: left;
    font-family: "Roboto", sans-serif;
    font-variation-settings: "wght" 300, "wdth" 100;
    color: #FFFFFF;
    margin-bottom: .5em;
    font-size: 1.1em;
    max-width: 550px;
    margin-left: 0;
    margin-top: 1em;
}

main a, main a:hover, main a:focus {
    color: #074D4E !important;
}

.textblock.kartta .row {
    max-width: 1100px;
    align-items: center;
}

main a:hover, main a:focus, footer a:hover, footer a:focus {
    text-decoration: underline;
}

main a:focus {
    color: #074D4E !important;
}

footer a:focus {
	 color: #fff !important;
}

/***********************
*       HEADER         *
***********************/

header .container {
    height: 100%;
    width: 100%;
    clear: both;
    position: relative;
}


header .row {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.home header .row {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
}

header p.nosto {
    text-align: left;
}

.ylapalkki button.menu-plus, .ylapalkki button.menu-plus:focus, .ylapalkki button.menu-plus:hover {
    background-color: #63bb35;
    border: 2px solid #333;
    color: #fff !important;
    height: 35px;
    width: 35px;
}

.header-kuva {
display: none;
}

.logo img {
    height: 45px;
}

/***********************
*       NAV         *
***********************/
    
.navbar {
    padding-left: 25px;
    padding-right: 25px;
}
.menu-plus:before {
    content: '\002B';
    margin-left: 0;
    margin-top: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.menu-minus:before {
    content: "\2212"; /* Unicode character for "minus" sign (-) */
    margin-left: 1px;
    margin-top: 0;
}

button.navbar-toggler {
    border: 0 solid transparent;
}

button.navbar-toggler:hover,
button.navbar-toggler:focus {
    border: 0 solid transparent;
    outline: none;
    box-shadow: none;
}

.custom-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 45px;
    height: 40px;
}

.custom-toggler .toggler-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#menu-main-menu {
    padding-top: 30px;
}

.custom-toggler:not(.collapsed) .toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler:not(.collapsed) .toggler-icon:nth-child(2) {
    opacity: 0;
}

.custom-toggler:not(.collapsed) .toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/***********************
*        RAKENNE       *
***********************/

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .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-lg-auto, .col-md, .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-md-auto, .col-sm, .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-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-right: 25px;
    padding-left: 25px;
}

.container, .container-fluid {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
}

.row, .container {
    max-width: 1400px;
    margin: 0 auto;
}

.yhteydenotto .row {
    max-width: 1100px;
}

.yhteydenotto .col-md-12.col-lg-6:nth-child(2) {
    margin-top: 40px;
}
.container-fluid.wide .row {
    max-width: 100%;
}
.text {
    padding-top: 50px;
    padding-bottom: 50px;
    order: 2;
}

.background {
    padding-left: 0;
    padding-right: 0;
    height: 300px;
    order: 1;
}

.kapea .row {
    max-width: 700px;
}

.kapeish .row {
    max-width: 900px;
}

.kuva {
    order: 1;
}

.teksti {
    margin-top: 30px;
    order: 2;
}

.lahjakortti .teksti {
    margin-top: 50px;
}

.background-image {
    background-size: cover;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.img-top .background-image {
    background-position: top center;
}

.laatikko {
    height: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.laatikkokuva {
    height: 200px;
    width: 100%;
    background-position: center;
    background-size: cover;
}

.laatikkoteksti {
    padding: 20px;
}

.alamargin {
    margin-bottom: 20px;
}

.logot img {
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
    padding: 15px;
}

.logot {
    max-width: 700px;
}

ul.nav {
    padding-top: 20px;
}

a:focus {
    color: #0082ff !important;
    text-decoration: underline !important;
}

a.button:focus, nav a:focus {
    text-decoration: none !important;
}

img {
    width: 100%;
}
/*********************
*   KUVAGALLERIA     *
*********************/

.wrapper.galleria {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.kuvagalleriakuva {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: .3s all;
    cursor: pointer;
    margin-bottom: 15px;
}

.kuvagalleriakuva:last-child{
    margin-bottom: 0;
}

.kuvagalleriakuva:hover {
    opacity: .7;
}

.light-box {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 999;
    top: 0;
    left: 0;
    cursor: pointer;
}

.light-box img {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    width: auto;
}
 
.light-box p {
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
}
 
 .light-box img:hover {
    cursor: pointer;
}

/*********************
*  yleiset luokat  *
*********************/

.nosto p, p.nosto {
    font-size: 1.2em;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.no-paddings {
    padding-top: 0;
    padding-bottom: 0;
}

.padding-bottom-0 {
    padding-bottom: 0;
}

.padding-top-puolikas {
    padding-top: 40px;
}

.padding-top-0 {
    padding-top: 0;
}

.center img {
    margin-left: auto;
    margin-right: auto;
}

.kapea {
    max-width: 900px;
}

/*********************
*    ARTIKKELIT      *
*********************/

.artikkeli {
    margin-bottom: 30px;
}

.artikkelikirjoitus {
    height: 100%;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: 0.5s;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    display: flex;
    flex-direction: column;
}

.artikkelikuva {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: all .5s;
}

.artikkeliteksti {
    padding: 30px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.artikkeliteksti h3 {
    margin-bottom: .2em;
}

p.julkaistu {
    font-size: .8em;
    text-align: left;
    margin-top: 0;
}

p.teksti {
    margin-bottom: 1.2rem;
}

p.alin {
    display: flex;
    margin-top: auto;
    border: 0;
    outline: 0;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 0;
}

.single h1 {
    margin-bottom: 0;
}

/*********************
*    YHTEYSTIEDOT    *
*********************/

.henkilo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 50px;
    justify-content: center;
}

.henkilokuva, .henkilotekstit p, .henkilotekstit h2, .henkilotekstit h3 {
    width: 100%;
    text-align: center;
}

.henkilokuva img {
    width: 100%;
    border-radius: 50%;
    max-width: 200px;
    margin: 0 auto;
}

.yhteystiedot .col-md-12.col-lg-6:nth-child(2) {
    margin-top: 20px;
}

.yhteystiedot .row {
    max-width: 1100px;
}

.kartta iframe {
    width: 100%;
    height: 300px;
}

.kartta {
    padding-top: 0;
    padding-bottom: 0;
}

.kartta p {
    margin-bottom: -8px;
}

.kartta .col-md-12.col-lg-12 {
    padding-left: 0;
    padding-right: 0;
}

/*********************
*  HEIKKI  *
*********************/

.text h2, .text p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-header {
    max-height: 200px;
}

.home .header-image {
    max-height: 850px;
    min-height: 450px;
	position: relative;
}

.header-image-and-title {
	background: #074d4e;
}
.ylapalkki {
    background-color: #074D4E;
    padding-top: 0;
    padding-bottom: 0;
}

a.nav-link {
	color: #FFD800;
	text-transform: none;
	font-family: "Anton", sans-serif;
	font-weight: 500;
	letter-spacing: 1px;
	font-size: 1.1em;
}

a.nav-link:hover, a.nav-link:focus, .current-menu-item a.nav-link {
    color: #FFD800 !important;
}


.textblock .row, .img-container .row {
    max-width: 860px;
}

/**********
* ETUSIVU *
**********/

.etusivu-nosto img {
    margin-top: 40px;
    margin-bottom: 20px;
}

.etusivu-nosto .nappi-p {
    text-align: center;
}

.hintakortti.tumma-tausta {
	background: #074D4E;
	padding: 60px 25px 40px 25px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
.hintakortti-inner p {
	font-size: 1.5em;
	font-family: "Anton", sans-serif;
	font-weight: 500;
	flex-wrap: wrap;
	display: flex;
	text-align: center;
	color: #e9efcd;
	align-items: center;
	margin-bottom: 0;
}

 span.hinta-etu {
    width: 29%;
    padding-right: 10px;
}

span.hinta-taka {
        width: 29%;
    padding-left: 10px;
}

span.hinta {
    width: 42%;
    font-size: 2.5em;
}

p.maksutapalisa {
    font-size: .9em;
    text-align: center;
    font-style: italic;
}

img.maksutavat {
    margin-top: 30px;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

p.nappirivi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nappirivi a.button {
    margin: 15px 7px;
    font-size: 1.1em;
}

.ajanvaraus .col-md-12.col-lg-8 {
    margin-top: 20px;
}

/***********
* ELEMENTIT *
************/

main ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 1em;
}

main ul li {
    position: relative;
    padding-left: 2.5em;
    margin-bottom: 7px;
}

main ul li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #074D4E;
    border-radius: 50%;
    position: absolute;
    left: 25px;
    top: 6px;
}

.button, .button:visited, a.button, a.button:visited  {
    background-color: #FFD800;
    border: 1px solid #FFD800;
    padding: 10px 28px;
    color: #004445 !important;
    display: inline-block;
    font-size: 1.2em;
	font-family: "Anton", sans-serif;
	font-weight: 500;
    letter-spacing: .05em;
    text-transform: none;
    width: auto;
    text-decoration: none;
    text-align: center;
    text-indent: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    transition: all .2s ease-in-out;
    border-radius: 0;
    margin-top: 1.1em;
}

.button:hover, .button:visited:hover, a.button:hover, a.button:visited:hover,
.button:focus, .button:visited:focus, a.button:focus, a.button:visited:focus,
.wpcf7 input[type=submit]:hover, .wpcf7 input[type=submit]:focus{
    text-decoration: none;
    background-color: #004445;
    color: #FFD800 !important;
    border-color: #FFD800;
}

.row.taulu-row {
    max-width: 1100px;
}

tr:nth-child(odd) td {
    background-color: #e9efcd;
}


.taulu-row td, .taulu-row th {
    padding: 8px 15px;
}

.taulu-row td {
    text-align: center;
}

.taulu-row th {
    background: #074d4e !important;
    color: #FFD800 !important;
    text-align: center;
}

tr:nth-child(even) td {
    background: #D2E3B0;
}

.taulu-row td:nth-child(1) {
    width: 35%;
    text-align: left;
}

.taulu-row td {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
        font-size: 1.1em;
}

.taulu-row th, .taulu-row tbody tr td:first-child {
    font-family: "Anton", sans-serif;
    font-weight: 500;
    font-size: 1.2em;
    color: #074D4E;
}


.otsikko-ingressi h2 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.otsikko-ingressi p:last-child {
    margin-bottom: 0;
}


.kapea-cta .button, .kapea-cta .button:visited, .kapea-cta a.button, .kapea-cta a.button:visited {
    background-color: #004445;
    border: 1px solid #004445;
    color: #FFD800;

}

.button[type=submit]:hover, .button[type=submit]:focus {
    background-color: #074D4E;
    color: #FFD800;
	border-color: #FFD800 !important;
}

.yhteydenotto h2 {
    font-size: 1.6em;
    margin-top: 1.5em;
}

.wpcf7-textarea {
    max-height: 200px;
}

p.form-info {
    margin-top: -10px;
    font-size: .8em;
    margin-bottom: 1.5em;
}

.grecaptcha-badge { visibility: hidden; }

footer {
    background-color: #074D4E;
        position: relative;
}

img.footer-taustakuva {
   display: none;
}

.copyrow {
    padding: 0 0 20px 0;
}

footer a, footer a:visited, footer a:hover {
    color: #fff;
}

#footer-palsta-2 a {
    color: #FFD800 !important;
    text-transform: none;
    font-family: "Anton", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 160%;
    font-size: 1.2em;
}

p.copyright {
    text-align: center;
    font-size: .8em;
    color: #709b98;
    margin-bottom: 0;
}

footer p.copyright a {
    color: #709b98 !important;
}

footer h2 {
    font-size: 1.4em;
    margin-top: 1em;
    color: #e3dcd3;
}

footer .container {
    max-width: 1100px;
    padding-top: 70px;
    padding-bottom: 60px;
}

footer img {
     max-width: 160px !important;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 20px;
}

footer .row {
    z-index: 99999;
    position: relative;
}

.wpcf7 form .wpcf7-response-output {
    margin-left: 0;
    margin-right: 0;
    border-width: 1px !important;
}

#CybotCookiebotDialog .CybotExternalLinkArrow {
    width: auto !important;
}

span.sitaatti {
    font-style: italic;
    font-size: 1.2em;
    margin-top: 1em;
    display: inline-block;
}

input, textarea {
    border-left: 0 solid transparent;
    background: #fff;
    border-radius: 0;
    border: 1px solid #e2ddda;
}

input:hover, textarea:hover,
input:focus, textarea:focus{
    border-color: #074d4e;
}

@media only screen and (min-width: 481px) {
	.single h2 {
        font-size: 1.5rem;
    }
}

@media only screen and (min-width: 768px) {
    /* Animaatio */

	.home .header-image {
		min-height: 550px;
	}

	.home .header-image h1 {
            font-size: 5em;
	}
    
    h2 {
		font-size: 2em;
	}

	h3 {
		margin-top: 1.8em;
	}

	.header-image a.button {
		font-size: 1.3em;
		padding: 10px 30px;
	}

	header p.nosto {
		font-size: 1.4em;
	}

	.header-image h1 {
		font-size: 3em;
	}

    main .row, .header-image .row {
        opacity:0;
    }
    .page-template-page-artikkelit main .row, .single main .row, main .row.kuvagalleria, main .row.henkilot, .no-animation .row {
        opacity: 1;
    }
    
    .page-header {
		max-height: 300px;
	}
    
    h2 {
		font-size: 3em;
	}

    h2.h1, .h2-h1 h2, .yhteydenotto h1 {
		font-size: 4em;
	}

	.header-image h1 {
		font-size: 4.1em;
	}

    .fade-in-up {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease-out;
    }
    .fade-in-up-header {
      opacity: 0;
      transform: translateY(0);
      transition: all 0.6s ease-out;
    }
    .fade-in-up-header.visible {
      opacity: 1;
    }
    
    .fade-in-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
        .kuvagalleriakuva, .kuvagalleriakuva:last-child {
        height: 250px;
        margin-bottom: 0;
    }
    .henkilotekstit {
        width: 50%;
    }
    .henkilotekstit p, .henkilotekstit h2, .henkilotekstit h3 {
        text-align: left;
    }
    .henkilokuva {
        padding-right: 30px;
        width: calc(50% - 30px);
    }
    .henkilokuva img {
        float: right;
    }

	footer h2 {
		font-size: 1.5em;
		margin-top: 0;
	}

	footer .container {
		padding-top: 80px;
		padding-bottom: 70px;
	}

	footer img {
		max-width: 180px !important;
		margin-left: 0;
		margin-right: auto;
		margin-top: -10px;
	}

	footer h1, footer h2, footer h3, footer h4, footer p {
		text-align: left;
	}

	.kapea-cta h2 {
		font-size: 3em;
	}
}

@media only screen and (min-width: 992px) {
    .ylapalkki {
        padding: .2rem 0;
    }
    #menu-main-menu {
        padding-top: 0;
    }
    .page-header {
		max-height: 300px;
	}
	.home .header-image h1 {
				font-size: 7.2em;
	}

	.home header .row {
		top: calc(50% + 50px);
	}

	.home header .row {
		position: absolute;
		top: auto;
		bottom: 0;
		left: 0;
		transform: translateY(-50%);
	}

	.home header .row {
		top: 50%;
		left: 0;
	   transform: translateY(-50%);
		width: 100%;
	}

    .home .header-image h1 {
        font-size: 5em;
        max-width: 700px;
    }

	.header-kuva {
		position: absolute;
		width: auto;
		right: 7%;
		bottom: 0;
		height: calc(100% - 130px);
		display: block;
	}

	.header-kuva img {
		height: 100%;
		width: auto;
	}

    .logo img {
        height: 55px;
    }
    
    ul.nav {
        padding-top: 0;
    }
    
    a.nav-link {
        position: relative;
            font-size: 1em;
    }
    a.nav-link:hover, a.nav-link:focus, .current-menu-item a.nav-link {
        color: #E9EFCD !important;
    }
    a.nav-link:hover:after, .current-menu-item a.nav-link:after {
        content: "";
        width: 35px;
        height: 2px;
        background: #E9EFCD;
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: .7em;
        padding-right: .7em;
    }
    
    .text {
        padding-top: 120px;
        padding-bottom: 120px;
    }
    .background {
        height: auto;
    }
    .background, .text, .kuva, .teksti {
        order: inherit;
    }
    .teksti {
        margin-top: 0;
    }
	.laatikko {
	    margin-bottom: 0;
	}
	.artikkelit .col-lg-4 {
        padding-right: 15px;
        padding-left: 15px;
    }
    .kuvagalleriakuva, .kuvagalleriakuva:last-child {
        height: 350px;
    }
    .teksti-vasemmalla p, .teksti-vasemmalla h2, .teksti-vasemmalla .button {
    	max-width: 550px;
        margin-left: auto;
	}

	.yhteydenotto .col-md-12.col-lg-6:nth-child(2) {
		margin-top: 0;
	}

	.teksti-oikealla p, .teksti-oikealla h2, .teksti-oikealla .button {
		max-width: 550px;
	}

	.teksti-vasemmalla {
		padding-right: 90px;
		 padding-left: 90px;
	}


	.teksti-oikealla {
		padding-left: 90px;
		 padding-right: 90px;
	}

	.lahjakortti .tekstipuoli-teksti-vasemmalla {
		padding-left: 25px;
		padding-right: 50px;
	}

	.teksti-kuva .row {
		max-width: 1200px;
	}

	.tekstipuoli-teksti-vasemmalla {
		padding-right: 50px;
	}

	.tekstipuoli-teksti-oikealla {
		padding-left: 50px;
	}

	.yhteydenotto .col-md-12.col-lg-6:first-child {
		padding-right: 40px;
	}

	.yhteydenotto .col-md-12.col-lg-6:nth-child(2) {
		padding-left: 40px;
	}

	.yhteystiedot .col-md-12.col-lg-6:nth-child(2) {
		margin-top: 0;
	}

	.kokonainen {
		display: flex;
		flex-wrap: wrap;
	}

	.puolikas {
		width: 50%;
	}

	.kokonainen .puolikas:nth-child(1) {
		padding-right: 7px;
	}

	.kokonainen .puolikas:nth-child(2) {
		padding-left: 7px;
	}

	.ajanvaraus .col-md-12.col-lg-8 {
		margin-top: 0;
	}

	.taulu-row th, .taulu-row tbody tr td:first-child {
		font-size: 1.5em;
	}

	.taulu-row td {
		font-size: 1.4em;
	}

	img.footer-taustakuva {
		height: 90%;
		position: absolute;
		width: auto;
		max-width: 100% !important;
		right: 0;
		bottom: 0;
		z-index: 1;
		display: block;
		margin-bottom: 0;
	}
}

@media only screen and (min-width: 1200px) {
	.hintakortti-inner p {
			align-items: baseline;
	}

	span.hinta {
		font-size: 3.5em;
	}

}

@media only screen and (min-width: 1400px) {
	.teksti-vasemmalla {
		padding-right: 150px;
		padding-left: 150px;
	}

	.header-kuva {
		right: 10%;
	}
    .home .header-image h1 {
        font-size: 7.2em;
        max-width: 800px;
    }
	.teksti-oikealla {
		padding-left: 150px;
		padding-right: 150px;
	}
}

@media only screen and (min-width: 1800px) {
    .container-fluid.wide .kuvagalleriakuva {
        height: 450px;
    }
}

@media only screen and (min-width: 992px) {
    
}