/*
@font-face {
   font-family: 'ABVassilopoulos_AstyCF';
   src: url('../../media/images/contest/ab/fonts/ABVassilopoulos_AstyCF-Book.otf') format("opentype");
   font-weight:normal;
}

@font-face {
   font-family: 'ABVassilopoulos_AstyCF';
   src: url('../../media/images/contest/ab/fonts/ABVassilopoulos_AstyCF-Bold.otf') format("opentype");
   font-weight:bold;
}
*/

@font-face {
   font-family: 'opsc';
   src: url('../../media/fonts/opsc/OpenSans-CondensedRegular.ttf');
   font-weight:normal;
}

@font-face {
   font-family: 'opsc';
   src: url('../../media/fonts/opsc/OpenSans-CondensedBold.ttf');
   font-weight:bold;
}


body, h1, h2, h3, h4, h5, h6, p {
    font-family:'ABVassilopoulos_AstyCF'!important;
    font-family:'opsc'!important;
   font-weight:normal!important;
}
body, p {
    line-height:1.3;
}
h1, h2, h3, h4, h5, h6 {
    line-height:1;
}

.footer-contest {
    padding: 100px 0;
}
.logo img, .logo picture {
    padding:0!important;
}
.green-bg {
    background-color: #126655;
}

.green-bg * {
    color: white!important;
}


.header-contest .logo {
    background: transparent!important;
}

.header-contest {
    padding: 30px 0;
}


.excerpt-section p {
    font-weight: bold!important;
    font-size: 23px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}


.excerpt-section p {
    font-weight: bold!important;
    font-size: 23px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.asterisk {
    font-family: Geologica, sans-serif;
    color: #126655;
    font-family:23px;
    position: absolute;
    top: 51px;
}

.blue-bg {
    background-color: #97b5d1;
}

.afis-contest-inner {
    padding: 300px 15px 50px;
    max-width: 870px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.afis-contest-title {
    color: #126655;
    font-weight: bold!important;
    text-align: center;
    font-size: 4.3rem!important;
}

.afis-contest-desc {
    font-family: 'Geologica', sans-serif!important;
    color: #126655;
    text-align: center;
    font-size: 25px;
    margin-bottom: 50px;
}
.contest-terms-data, .contest-terms-data * {
    font-family: 'Geologica', sans-serif !important;
}
.wpcf7-acceptance .wpcf7-list-item label {
    color: #126655;
    font-size: 23px;
    flex-direction: row;
    font-family: 'Geologica', sans-serif;
}

.contact-form .cell input, .contact-form .cell textarea, .contact-form .cell select {
    font-size: 25px;
    border: 1px solid;
    font-family: 'Geologica', sans-serif;
}

input.wpcf7-submit { 
    font-family: 'ABVassilopoulos_AstyCF';
    font-family: 'Geologica', sans-serif;
    font-weight:normal!important;
    font-size:20px!important
}
.abds-text {
    font-family: 'ABVassilopoulos_AstyCF'!important;
    font-family: 'Geologica', sans-serif!important;
    color: white;
    font-size: 2rem;
    font-weight: bold!important;
    line-height: 1;
    position: absolute;
    letter-spacing: 1px;
    background: #97b5d1;
    padding: 10px;
}

.top-left.abds-text {
    top: 30px;
    left: 30px;
}

.bottom-right.abds-text {
    right: 30px;
    bottom: 30px;
}

.contact-form .cell input[type=checkbox] {
    width: 27px;
    border: 0;
    box-shadow: none;
    margin-right: 15px;
    accent-color: #126655;
}

.footer-contest .grid-x {
    display: flex;
    align-items: center;
}

.contest-image-bottom {
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

.contest-image-bottom * {
    max-height: 400px;
}


.wpcf7-form .wpcf7-response-output {
    border: 0!important;
    width: 100%;
}

.open-terms {
    border-bottom: 1px solid;
    cursor: pointer;
    font-weight:bold;
}
.contest-terms {
    position: fixed;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    background: rgba(0,0,0,0.5);
}

.contest-terms.open {
    display: block;
}

.contest-terms-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    padding: 30px;
    max-width: 840px;
    height: 90vh;
    overflow-y: auto;
    color: black;
    border-radius: 8px;
}

.close-terms {
    cursor: pointer;
    text-align: right;
    font-size: 35px;
    line-height: 1;
}

.repeat-image {
    position: absolute;
    background: white;
    max-width:10%;
}

.repimg-1 {
    top: 10%;
    left: 20%;
    transform: rotate(23deg);
}

.repimg-2 {
    top: 10%;
    right: 20%;
    transform: rotate(23deg);
}

.repimg-3 {
    top: 40%;
    left: 15%;
    transform: rotate(-23deg);
}

.repimg-4 {
    top: 45%;
    right: 5%;
    transform: rotate(15deg);
}

.repimg-5 {
    top: 70%;
    left: 23%;
    transform: rotate(24deg);
}

.repimg-6 {
    top: 72%;
    right: 7%;
    transform: rotate(-20deg);
}

.content-contest {
    position: relative;
}

.abs-image {
    position: absolute;
    max-width:10%;
}

.absimg-1 {
    top:50%;
    right:15%;
    transform:rotate(20deg);
}
.absimg-2 {
    top:80%;
    right:18%;
    transform:rotate(30deg);
}
.absimg-4 {
    top:2%;
    left:50%;
    transform:translateX(-50%);
}
.absimg-5 {
    left:5%;
    top:50%;
    transform:rotate(25deg);
}
.absimg-6 {
    left:5%;
    top:78%;
    transform:rotate(-25deg);
}
.absimg-7 {
    right:5%;
    top:18%;
    transform:rotate(-25deg);
}
.absimg-8 {
    left:5%;
    top:18%;
    transform:rotate(-5deg);
}
.absimg-3 {
    display:none;
}
.repeat-image, .abs-image {
    margin-top:0;
    transition:all .5s linear;
}
.absimg-2 {
    right: auto;
    left: 24%;
    width: 7%;
}

.absimg-5 {
    width: 8%;
    left: 10%;
}

.content-contest.blue-bg {
    padding: 50px 0;
    background-size: auto calc(100% - 100px);
}

.absimg-7 {
    top: 25%;
}

.repimg-3 {
    top: 25%;
}


.blob-image {
    position: absolute;
    margin-top:0;
}

.blobimg-1 {
    top: 10%;
    width: 5%;
    height: 5%;
    left: 10%;
}

.afis-contest-form-header > * {
    background: #f2f4e6;
}

.afis-contest-form-header {
    padding-top: 100px;
}


.blobimg-2 {
    width: 5%;
    height: 5%;
    right: 5%;
    top: 60%;
}

.blobimg-3 {
    top: 10%;
    width: 15%;
    height: 15%;
    right: 10%;
}


.blobimg-4 {
    top: 80%;
    width: 15%;
    height: 15%;
    left: -7%;
}
.battery-image {
    position: absolute;
    margin-top:0;
}

.batteryimg-1 {
    left: 400px;    
    transform: rotate(68deg);
    width: 70px;
}

.batteryimg-2 {
    left: 74%;    
    top: 24%;
    transform: rotate(-198deg);
    width: 75px;
}

.batteryimg-3 {
    bottom: 5%;
    right: 26%;
    width: 110px !important;
    transform: rotate(158deg);
}

.batteryimg-4 {
    left: 4%;
    top: 72%;
    transform: rotate(76deg);
    width: 100px;
}

@media screen and (min-width:900px) {
    .blue-bg {
        background-image: url(../../media/images/contest/ab/white-bg-blob.png);
        background-repeat: no-repeat;
        background-size: auto 100%;
        background-position: center;
    }
}
@media screen and (max-width:900px) {
    .excerpt-section p {
        font-size: 20px;
    }
    .asterisk { 
        font-size:20px;
        background: #97b5d1;
        padding:10px;
    }
    .afis-contest-desc {
        font-size: 21px;
        line-height: 1.3;
    }
    
    .afis-contest-title {
        font-size: 35px!important;
    }
    
    .contact-form .cell input, .contact-form .cell textarea, .contact-form .cell select {
        font-size: 20px;
    }
    
    .wpcf7-acceptance .wpcf7-list-item label {
        font-size: 18px;
    }
    .contest-image-bottom * {
        max-width: 300px;
        width: 100%;
    }
    .batteryimg-2, .batteryimg-3, .blobimg-2, .blobimg-3, .absimg-7, .absimg-2 {
        display: none;
    }
    
    .absimg-4 {
        top: 10%;
    }
    
    .bottom-right.abds-text {
        bottom: 0;
        margin-bottom: 0;
    }
    .batteryimg-2, .batteryimg-3, .blobimg-2, .blobimg-3, .absimg-7, .absimg-2 {
        display: none;
    }
    
    .absimg-4 {
        top: 2%;
    }
    
    .bottom-right.abds-text {
        bottom: 0;
        margin-bottom: 0;
    }
    
    .afis-contest-form-header {
        padding-top: 0;
    }
    
    .afis-contest-form-header > * {
        background: transparent;
    }
    
    .batteryimg-1 {
        right: 3%;
        left: auto;
    }
    
    .afis-contest-inner {
        padding-top: 140px;
        padding-bottom: 0;
    }
    
    .repimg-3 {
        left: auto;
        right: 21%;
        top: 7%;
    }
}
@media screen and (max-width:640px) {
    .small-logo-section {
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-contest {
        padding: 50px 0;
    }
    
    .header-contest .logo {
        margin-bottom: 0;
    }
    
    .afis-contest-inner {
        padding-top: 200px;
        padding-bottom: 0;
    }
    
    .repeat-image, .abs-image {
        max-width: 20%;
        display: none;
    }
    
    .repimg-1 {
        left: 50%;
        transform: translateX(-50%) rotate(25deg);
        top: 8%;
        display: block;
    }
    .contest-image-bottom {
        margin-bottom:0;
        padding-bottom:0;
    }
    .absimg-6 {
        display: block;
        top: 88%;
    }
    .abds-text {
        left: 50%!important;
        transform: translateX(-50%);
        text-align: center;
        display: grid;
        min-width: 130px;
        max-width: 200px;
        width: 100%;
        font-size: 20px;
    }
    .absimg-2 {
        display: block;
        top: 88%;
        right: 5%;
    }
    
    .repimg-5 {
        display: block;
        left: 5%;
        top: 78%;
    }
    
    .content-contest {
        overflow: clip;
    }
    
    .repimg-6 {
        display: block;
        top: 76%;
    }
    
    .absimg-4 {
        left: 50%;
        display: block;
        width: 78px;
        top: 100px;
    }
    
    .repimg-3 {
        display: block!important;
        width: 62px;
        top: 5%;
        left: 5%;
    }
    .absimg-7 {
        display: block;
        top: 5%;
        max-width: 15%;
    }
    .absimg-2 {
        display: none;
    }
    .has-to-be-in:has( .wpcf7-not-valid-tip) {
        margin-left:40px;
    }
}

.afiscontestsubmit.disabled {
    opacity: 0.5;
}