/*
 Theme Name:   Hea Idee 2023
 Description:  Hea Idee 2023
 Author:       Tarmo Saluste 
 Company:      Creative Hands OÜ
 Template:     baskerville
 Version:      1.0.0
 Text Domain:  heaidee
*/
body, html{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}
body, html, textarea, *{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-family: 'Bebas Neue', sans-serif;
    font-family: 'Bitter', serif;
    font-family: 'Heebo', sans-serif;
    font-family: 'Signika Negative', sans-serif
}
body{
    background-color: #ffd9d9;
}
a{
    color: #ffb;
}
a:hover{
    color: #ff5;
}
.flags_vari{
    background-image: url("img/flagsvari.png");
}
.flags{
    background-image: url("img/flags.png");
}

.logo_vari{
    background-image: url("img/heaideevari.png");
}
.logo{
    background-image: url("img/heaidee.png");
}

.vormid_vari{
    background-image: url("img/vormidvari.png");
}
.vormid{
    background-image: url("img/vormid.png");
}

.vormid_test_vari{
    background-image: url("vormid/tammsaare_vari.png");
}
.vormid_test{
    background-image: url("vormid/tammsaare.png");
}

.huebg{
    background-color: #ffd9d9;
    background-blend-mode: multiply;
}
.huebg, .huebg_top{
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.topleftcorner{
    position: absolute;
    z-index: 5;
    left: 0;
    border-bottom-right-radius: 160px;
    mask-image: url("img/heaidee_mask.png");
    -webkit-mask-image: url("img/heaidee_mask.png");
    mask-size: 296.5px 268px;
    -webkit-mask-size: 296.5px 268px;
}
.topleftcorner, .topleftcorner img{
    width: 296.5px;
    height: 268px;
    top: -36px;
    left: -19px;
}

.smallogo, .smallogo img{
    width: 295px;
    height: 268px;
}

.flagcorner{
    position: absolute;
    z-index: 5;
    right: 0;
    mask-image: url("img/flagsmask.png");
    -webkit-mask-image: url("img/flagsmask.png");
    mask-size: 195px 168px;
    -webkit-mask-size: 195px 168px;
}
.flagcorner, .flagcorner img{
    width: 195px;
    height: 168px;
}
.flagcorner .flagswithmap{
    background-size: 195px 168px !important;
    background-repeat: no-repeat !important;
}
.flagcorner area{
    pointer-events: all;
}
.flagcorner area:hover{
    color: #d9d9ff;
}

.fullsize, .fullsize_top{
    width: 100%;
    height: calc(100vh - 200px);
}
.screenpart{
    width: 100%;
    min-height: 800px;
    height: calc(100vh - 200px);
    position: relative;
}
.screenpart_half{
    width: 100%;
    min-height: 400px;
    position: relative;
}
.fullsize_top{
    top: 0;
    margin-top: calc((100vh - 200px) * -1);
}
.bgfloat .fullsize, .bgfloat .fullsize_top{
    position: absolute;
    top: 0;
}

.donework{
    padding: 30px 10px 180px 10px;
}
.donework > div{
    width: 30%;
    display: inline-block;
    margin: 10px;
    max-width: 700px;
}

@media only screen and (max-width: 1200px) {
    .donework > div{
        width: 40%;
    }
}
@media only screen and (max-width: 800px) {
    .donework > div{
        width: 80%;
    }
}
.donework > div img{
    width: 100%;
    border-radius: 30px;
}
/* .donework{
    padding: 30px 30px 200px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-content: stretch;
}
.donework > div{
    flex: 1 1 0;
    min-width: 350px;
}
.donework > div img{
    height: 100%;
    border-radius: 30px;
} */

.huebg.animated {
    -webkit-animation: filter-animation 24s infinite;
    animation: filter-animation 24s infinite;
}
@-webkit-keyframes filter-animation {
    0%     { background-color: #ffd9d9; }
    16.66% { background-color: #ffffd9; }
    33.33% { background-color: #d9ffd9; }
    50%    { background-color: #d9ffff; }
    66.66% { background-color: #d9d9ff; }
    83.33% { background-color: #ffd9ff; }
    100%   { background-color: #ffd9d9; }
}

@keyframes filter-animation {
    0%     { background-color: #ffd9d9; }
    16.66% { background-color: #ffffd9; }
    33.33% { background-color: #d9ffd9; }
    50%    { background-color: #d9ffff; }
    66.66% { background-color: #d9d9ff; }
    83.33% { background-color: #ffd9ff; }
    100%   { background-color: #ffd9d9; }
}
.headerlabel{
    background-color: #000;
    width: auto;
    display: inline-block;
    color: #fff;
    padding: 12px 49px;
    text-align: center;
    margin: auto;
    border-radius: 63px;
    box-shadow: 36px 31px 22px #00000012;
    z-index: 300;
    position: relative;
}
#copyright{
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    margin-top: 50px;
    position: relative;
    z-index: 50;
    bottom: 0;
}
h1 .red{
    color: #f66;
}
h1 .green{
    color: #6f6;
}
.lazyload{
    opacity: 1;
}

form.wpcf7-form{
    text-align: center;
    display: inline-flex;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: stretch;
    margin-top: 40px;
    max-width: 600px;
    width: 80%;
}
form.wpcf7-form > p{
    text-align: center;
}
form.wpcf7-form h2, form.wpcf7-form input[type="submit"]{
    background-color: #000;
    width: auto;
    display: inline-block;
    color: #fff;
    padding: 12px 49px;
    margin: 10px;
    font-size: 2em;
    border-radius: 40px;
    border: none;
    z-index: 4;
}
form.wpcf7-form span{
    margin: 0;
}
form.wpcf7-form label{
    background-color: #000;
    width: auto;
    display: inline-block;
    color: #fff;
    padding: 12px 49px;
    margin: 10px;
    border-radius: 40px;
    border: none;
}
form.wpcf7-form .wpcf7-not-valid-tip{
    background-color: #000;
    border-radius: 23px;
    max-width: 495px;
    margin: auto;
    padding: 41px 0 5px 0;
    margin-top: -44px;
    color: #f99;
    z-index: 2;
    position: relative;
    margin-bottom: -19.5px;
    font-size: 0.9em;
}
form.wpcf7-form label > input{
    display: inline-block;
    width: auto;
}
form.wpcf7-form input[type="submit"]{
    background-color: #000;
    cursor: pointer;
    color: #6f6;
    font-weight: bold;
    margin-left: 34px;
}
form.wpcf7-form input[type="submit"]:hover{
    color: #0c0;
}
form.wpcf7-form input{
    display: block;
    padding: 11px 11px 11px 25px;
    margin: 6px 0;
    background-color: #ffffffc8;
    border: 0;
    border-radius: 40px;
    width: 100%;
    max-width: 500px;
    font-size: 2em;
    text-align: left;
    z-index: 3;
    position: relative;
}
form.wpcf7-form textarea{
    display: block;
    padding: 20px 11px 11px 20px;
    margin: 7px 0 0px 0;
    background-color: #ffffffc8;
    border: 0;
    border-radius: 40px;
    width: 100%;
    max-width: 500px;
    font-size: 1em;
    text-align: left;
}
form.wpcf7-form input:focus, form.wpcf7-form textarea:focus{
    outline: none;
    background: #ffffff;
}
form.wpcf7-form input:invalid, form.wpcf7-form input[aria-invalid="true"] {
    background: rgb(255, 232, 232);
}
form.wpcf7-form label, form.wpcf7-form h2{
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 11px 25px !important;
}


.vormid_test_vari, .vormid_test{
    background-size: 100%;
}
@media only screen and (max-width: 1200px) {
    .vormid_test_vari, .vormid_test{
        background-size: 170%;
    }
}
@media only screen and (max-width: 800px) {
    .vormid_test_vari, .vormid_test{
        background-size: 200%;
    }
    h1{
        font-size: 1em !important;
        padding: 12px 20px !important;
    }
    form.wpcf7-form h2, form.wpcf7-form input, form.wpcf7-form input[type="submit"]{
        font-size: 1.2em !important;
    }
    #copyright{
        font-size: 0.6em !important;
    }
}