
.ka_linkbar {
    margin-bottom: 20px;
    margin-top: 20px;
}

.ka_linkbar a {
    margin: 20px;
}

.ka_hlfont {
    font-family: din-condensed, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0 5px;
}

h1.ka_hlfont {
    font-size: 40px;
    line-height: 1;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: din-condensed, sans-serif;
}

.ka_header {
    display: flex;
    position: relative;
    height: 70vh;

    align-items: center;
    max-height: 600px;
    justify-content: center;
}

.ka_header .logo {
    position: absolute;
    height: 27%;
    min-height: 100px;
    top: 0;
    left: 10%;
}

.ka_header h1 {
    color: white;
    font-size: 54px;
    line-height: 1;
}

#momsname {
    font-family: dinblack;
    position: absolute;
    top: 33.3%;
    left: 31%;
    letter-spacing: 0;
    width: 36%;
    height: 12%;
    text-align: center;
    color: white;
    text-transform: uppercase;
    margin: 0;
}
/* customstylesheet template 1*/
 .modal-content{
    position: fixed;
    top: 0%;
    background-color: rgba(16, 17, 18, 0.35);
    width: 100%;
    z-index: 33333333;
    left: 0;
     height: 100vh;
     overflow: auto;
    display: none;
}
.modal-block1 , .modal-block2, .modal-block3{
    width: 60%;
    margin: auto;
    background-color: #dbe3e6;
    padding: 20px;
    display: none;
    position: absolute;
    top: 5%;
    left: 22%;
}
.close-modal-button{
    position: absolute;
    top: 5%;
    right: 5%;
    z-index: 111111111;
    font-size: 25px;
    font-family: dinblack;
    color: #ffffff;
    border: 5px solid #ffff;
    border-radius: 60%;
    width: 45px;
    text-align: center;
    height: auto;
    cursor: pointer;
}
@media (max-width: 639px) {
    .close-modal-button{
        position: fixed;
        top: 9%;
        right: 4%;
    }
    .modal-block1 , .modal-block2, .modal-block3{
        width: 75%;
        margin: auto;
        background-color: #dbe3e6;
        padding: 20px;
        display: none;
        position: absolute;
        top: 10%;
        left: 5%;
    }
}
.kiekkoaiti-lomake{

}
.kiekkoaiti-lomake h2{
    font-family: din-condensed, sans-serif;
}
.kiekkoaiti-lomake label{
    color: #535a76;
    font-family: -apple-system,BlinkMacSystemFont,Helvetica,Roboto,Arial,sans-serif;
}
.kiekkoaiti-lomake input , textarea{
    font-family: -apple-system,BlinkMacSystemFont,Helvetica,Roboto,Arial,sans-serif;
    border-radius: 5px;
}
/* customstylesheet template 2*/

.ka_header2 {
    position: relative;
    height: 50vh;
    align-items: center;
    max-height: 500px;
    justify-content: center;
}
.ka_hlfont2 {
    font-family: -apple-system,BlinkMacSystemFont,Helvetica,Roboto,Arial,sans-serif;
    padding: 0 5px;
}
.kiekkoaiti-header{
/*    display: inline-flex;*/
   border-bottom: 2px solid #dbe3e6;

}
.kiekkoaiti-header img{
    height: 120px;
    margin: 5px 0px;

}
.kiekkoaiti-header h1{
    padding: 25px 0px;
    color: #ffffff;
    text-align: center;
    font-size: 54px;
    font-family: din-condensed, sans-serif;

}

.wrapper {
    background-color: #ffffff;
    min-height: 100vh;
    max-height: 100%;
}

.some-block {
    display: inline-flex;

}
.perustelu{
    padding: 50px;
    font-family: din-condensed, sans-serif;
}
.buttons{
    margin-top: 50px;
    padding: 0!important;
}
.some-button {
    background-color: #cc2333;
    color: #ffffff;
    padding: .75rem 2.5rem;
    font-size: 1rem;
    margin: 5px;
    text-align: center;
    border: none;
}
.perustelu-somebutton{
    padding: 50px 0;
}
video{
    cursor: pointer;
}
@media (max-width: 639px){
    .some-button {
        display: block;
        width: 85%;
        margin: 5px auto;
    }
}
@media (max-width: 639px){
    .kiekkoaiti-header img{

        margin: 10px ;
    }
}
@media (max-width: 639px){
    .perustelu{
        padding: 0px;
    }
}
@media (max-width: 639px){
    .kiekkoaiti-header h1{
        font-size: 40px;
    }
}@media (max-width: 639px){
    .ka_header2 {
        position: relative;
        height: 60vh;
        align-items: center;
        max-height: 600px;
        justify-content: center;
    }
}

