body {
    padding: 0;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    overflow: clip;
    overflow-x: clip;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
a{
    transition: all 0.25s;
    color: #3A71B2;
    text-decoration: underline;
}
a:hover{
    color: #DA2127;
    text-decoration: none;
}
p{
    font-size: 14px;
    line-height: 22px;
    color: #3d3d3d;
    margin: 0 0 20px;
}
p:last-child{
    margin: 0;
}
span.continue a{
    display: block;
    margin: 0 auto;
    width: 48px;
    height: 48px;
    font-size: 0;
    text-indent: -9999px;
    border-radius: 30px;
    background: #3A71B2 url("../images/continue-arrow-aL3tF_Z.svg") no-repeat center center;
}
span.continue a:hover{
    background-color: #DA2127;
}
/* header */
header{
    width: 100%;
    max-width: 1108px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}
header:before{
    content: "";
    display: block;
    width: 100vw;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    z-index: -1;
    background: #fff;
    transform: translateX(-50%);
    border-bottom: 1px solid #D1D1D1;
}
header img{
    margin: 0;
}
/* obsah */
main{
    width: calc(100% - 16px);
    max-width: 1108px;
    margin: 8px auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px;
    border: 1px solid #D1D1D1;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.10);
}
main p{
    font-weight: bold;
    text-align: center;
}
main .content:has(>.label),
main .form-thanks:has(>.label){
    text-align: center;
}
body main > h1,
body .form-thanks h1,
body .label + h1,
body form h1,
body form h2{
    text-align: center;
    margin: 0 0 20px;
    font-size: 22px;
    line-height: 33px;
    color: #DA2127;
}
body .label + h1 strong,
body form h1 strong,
body form h2 strong{
    color: #3A71B2;
    font-weight: bold;
}
.form-header{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 20px;
}
.form-header .valid-until{
    font-size: 12px;
    line-height: 12px;
    color: #000;
    font-weight: bold;
    padding: 10px 11px 9px;
    border-radius: 16px;
    border: 1px solid rgba(32, 74, 44, 0.30);
    background: #C4E4CD;
}
.form-header h1,
main > .content > .label,
main > .form-thanks > .label{
    margin: 0;
    font-size: 12px;
    line-height: 12px;
    color: #fff;
    font-weight: bold;
    padding: 10px 11px 9px;
    border-radius: 16px;
    border: 1px solid #2C5D9D;
    background: #3A71B2;
    display: inline-block;
}
main > .content > .label,
main > .form-thanks > .label{
    margin-bottom: 20px;
}
.form-intro{
    padding: 0 0 20px;
}
.form-body,
.form-thanks,
main > form{
    max-width: 620px;
    margin: 0 auto;
}
form .form-group,
form .form-markup,
form label{
    margin: 0 0 20px;
    display: block;
}
form label p,
form label:not(:has(>p)){
    margin: 0 0 20px;
    font-size: 22px;
    line-height: 33px;
    color: #DA2127;
    font-weight: bold;
    text-align: center;
}
form > label:not(:has(>p)){
    margin-top: 20px;
}
form label p strong{
    font-weight: bold;
    color: #3A71B2;
}
form input{
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #3A71B2;
    background: #FFF;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.10);
    padding: 0 20px;
    height: 63px;
    font-size: 16px;
    color: #6D6D6D;
    font-weight: bold;
    text-align: center;
}
.form-help{
    padding-top: 20px;
    font-weight: bold;
}
.checkboxes + .form-help,
.radios + .form-help{
    padding-top: 0;
}
.form-help,
.form-help p{
    color: #6D6D6D;
    font-size: 11px;
    line-height: 17px;
    text-align: center;
}
.form-help a{
    color: #6D6D6D;
}
.form-help a:hover{
    color: #000;
}
button[type="submit"],
a.button{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 65px;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 25px;
    font-weight: bold;
    color: #fff; 
    background: #DA2127;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
}
button[type="submit"]:hover,
a.button:hover{
    background: #3A71B2;
}
button[type="submit"]:after,
a.button:after{
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url("../images/check-circle-2xp2lBW.svg") no-repeat center center;
}
input + button[type="submit"]{
    margin-top: 20px;
}
.share{
    padding: 20px 0;
    margin: 0 auto;
    max-width: 620px;
}
.share a.button:after{
    background: url("../images/share-_HfCnHN.svg") no-repeat center center;
}
.form-error,
form ul{
    padding: 15px;
    margin: 0 0 20px;
    font-weight: 600;
    color: #BB1A1F;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    border-radius: 10px;
    border: 1px solid #FFC9CB;
    background: #FEE2E3;
    list-style: none;
}
form ul{
    margin: 8px 0 0;
}
form ul li{
    padding: 0;
    margin: 0;
}
.form-thanks-image{
    padding-top: 20px;
}
form .radios{
    margin: 0 0 20px;
}
form .radios .radio-item{
    margin-top: -1px;
    position: relative;
}
form .radios .radio-item:has(input[type="radio"]:checked){
    z-index: 2;
}
form .radios .radio-item input[type="radio"]{
    display: none;
}
form .radios .radio-item input[type="radio"] + label{
    padding: 20px 20px 20px 52px;
    border: 1px solid #B0B0B0;
    font-size: 16px;
    line-height: 25px;
    color: #6D6D6D;
    font-weight: bold;
    display: block;
    position: relative;
    margin: 0;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
}
form .radios .radio-item input[type="radio"]:checked + label{
    color: #3d3d3d;
    border-color: #3A71B2;
    background: #E6EDF8;
}
form .radios .radio-item input[type="radio"] + label:before{
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 20px;
    top: calc(50% - 12px);
    z-index: 1;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid #6D6D6D;
    background: #fff;
    transition: border 0.25s;
}
form .radios .radio-item input[type="radio"]:checked + label:before{
    border: 6px solid #3A71B2;
}
form .radios .radio-item:first-child input[type="radio"] + label{
    border-radius: 10px 10px 0 0;
}
form .radios .radio-item:last-child input[type="radio"] + label{
    border-radius: 0 0 10px 10px;
}
form div[id*="souhlasy_tvrzeni"] > .radios{
    display: flex;
}
form div[id*="souhlasy_tvrzeni"] > .radios .radio-item{
    flex: 1;
    margin: 0 -1px 0 0;
}
form div[id*="souhlasy_tvrzeni"] > .radios .radio-item:first-child input[type="radio"] + label{
    border-radius: 10px 0 0 10px;
}
form div[id*="souhlasy_tvrzeni"] > .radios .radio-item:last-child input[type="radio"] + label{
    border-radius: 0 10px 10px 0;
}
form .checkboxes{
    margin: 0 0 20px;
}
form .checkboxes .checkbox-item{
    margin-top: -1px;
    position: relative;
}
form .checkboxes .checkbox-item:has(input[type="checkbox"]:checked){
    z-index: 2;
}
form .checkboxes .checkbox-item input[type="checkbox"]{
    display: none;
}
form .checkboxes .checkbox-item input[type="checkbox"] + label{
    padding: 20px 20px 20px 52px;
    border: 1px solid #B0B0B0;
    font-size: 16px;
    line-height: 25px;
    color: #6D6D6D;
    font-weight: bold;
    display: block;
    position: relative;
    margin: 0;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
}
form .checkboxes .checkbox-item input[type="checkbox"]:checked + label{
    color: #3d3d3d;
    border-color: #3A71B2;
    background: #E6EDF8;
}
form .checkboxes .checkbox-item input[type="checkbox"] + label:before{
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 20px;
    top: calc(50% - 12px);
    z-index: 1;
    border-radius: 3px;
    box-sizing: border-box;
    border: 2px solid #6D6D6D;
    background: #fff;
    transition: border 0.25s;
}
form .checkboxes .checkbox-item input[type="checkbox"]:checked + label:before{
    border: 2px solid #3A71B2;
    background: #3A71B2 url("../images/checkbox-white-xpwkeKw.svg") no-repeat center center;
}
form .checkboxes .checkbox-item:first-child input[type="checkbox"] + label{
    border-radius: 10px 10px 0 0;
}
form .checkboxes .checkbox-item:last-child input[type="checkbox"] + label{
    border-radius: 0 0 10px 10px;
}
form .checkboxes .checkbox-item input[type="checkbox"][value="jine"] + label:after{
    content: ":";
}
form .form-group--other{
    margin: -85px 0 0 100px;
    width: calc(100% - 100px);
    box-sizing: border-box;
    padding: 20px 20px 20px 0;
}
form .form-group:has(input[type="checkbox"][value="jine"]:checked) .form-group--other{
    position: relative;
    z-index: 2;
}
form .form-group--other label{
    display: none;
}
form .form-group--other input{
    border: none;
    border-bottom: 1px solid #6D6D6D;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    text-align: left;
    padding: 0;
    height: 24px;
    outline: none;
}
main ul.social{
    padding: 0 0 20px;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
}
main ul.social li{
    padding: 0;
    margin: 0;
}
main ul.social li a{
    display: block;
    color: #3A71B2;
    text-decoration: none;
    font-size: 14px;
    line-height: 22px;
    padding-top: 48px;
}
main ul.social li a[href*="facebook"]{
    background: url("../images/facebook-blue-xRKY4Ox.svg") no-repeat center top; 
}
main ul.social li a[href*="instagram"]{
    background: url("../images/instagram-blue-BcfKnwY.svg") no-repeat center top; 
}
main ul.social li a:hover{
    text-decoration: underline;
}
/* footer */
footer{
    width: 100%;
    max-width: 1108px;
    margin: auto auto 8px;
    padding: 40px 24px;
    box-sizing: border-box;
    position: relative;
    color: #fff;
}
footer:before{
    content: "";
    display: block;
    width: calc(100vw - 16px);
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    z-index: -1;
    background: #DA2127;
    transform: translateX(-50%);
    border-radius: 20px;
}
footer img{
    margin: 0;
}
footer > div:first-child a{
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: #fff;
    display: block;
    text-decoration: underline;
    font-weight: bold;
}
footer > div:first-child a:hover{
    text-decoration: none;
}
footer > div:nth-child(2){
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 0;
}
footer > p{
    color: #fff;
    text-align: center;
    margin: 0;
}
footer .madeby-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 40px;
    font-size: 13px;
    line-height: 20px;
    font-weight: bold;
}
footer .madeby-wrapper p{
    color: #fff;
    margin: 0;
    font-size: 13px;
    line-height: 20px;
}
footer .madeby-wrapper a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    margin-left: 3px;
}
footer .madeby-wrapper a:hover{
    text-decoration: underline;
}
footer .madeby-wrapper div.heart{
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../images/heart-OdYB3UW.svg") no-repeat center center;
    margin: 0 10px;
    font-size: 0;
    text-indent: -9999px;
}
footer ul.social{
    padding: 40px 0 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
}
footer ul.social li{
    padding: 0;
    margin: 0;
}
footer ul.social li a{
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 22px;
    padding-top: 48px;
}
footer ul.social li a[href*="facebook"]{
    background: url("../images/facebook-go_nCuN.svg") no-repeat center top; 
}
footer ul.social li a[href*="instagram"]{
    background: url("../images/instagram-_BPop78.svg") no-repeat center top; 
}
footer ul.social li a:hover{
    text-decoration: underline;
}
@media screen and (max-width: 479px){
    footer > div:nth-child(2){flex-direction: column;}
    main ul.social, footer ul.social{gap: 40px;}

    form div[id*="souhlasy_tvrzeni"] > .radios .radio-item input[type="radio"] + label {padding: 20px 10px 20px 37px;}
    form div[id*="souhlasy_tvrzeni"] > .radios .radio-item input[type="radio"] + label:before{left: 8px;}
}