/*
Theme Name:     DETH Form
Description:    Chapter5 Contests Project
Author:         toolbox

*/

:root {
    --white-color: #ffffff;    
    --footer-black: #000000;  
    --background-color: #064864;
    --popup-background-color: #064864;
    --popup-color: --footer-black;
  
}

@font-face {
    font-family: 'DINNextW1G-Regular';
    src: url('./fonts/DINNextW1G-Regular.otf')  format('opentype');
}

@font-face {
    font-family: 'DINNextW1G-Medium';
    src: url('./fonts/DINNextW1G-Medium.otf')  format('opentype');
}

@font-face {
    font-family: 'DINNextW1G-Bold';
    src: url('./fonts/DINNextW1G-Bold.otf')  format('opentype');
}

html{
    font-size: 16px;        
}

body{
    font-family: "DINNextW1G-Regular", sans-serif;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: var(--background-color);
    color: var(--white-color);
    overflow: hidden;
}

body *{
    font-family: "DINNextW1G-Regular", sans-serif;    
}

strong{
    font-family: "DINNextW1G-Bold", sans-serif;        
}

.header-image{
    display: block;
    width: 75%;
    margin: 50px 0 0 12%;
}

.header-image img{
    display: block;
    width: 100%;
    height: auto;
}

h1{
    display: block;
    width: 80%;
    margin-left: 10%;
    font-size: 1.5rem;
    line-height: 1.7rem;
    margin-bottom: 10px;
}

h1.big{
    margin-bottom: 30px;    
    font-family: "DINNextW1G-Bold", sans-serif;            
    font-size: 2.4rem;
    line-height: 2.6rem;    
}

.custom-slide{
    display: none;
}

.custom-slide.active{
    display: block;    
}

/*
--------------------------------------------------------------------------------
*/

.form-box {
    width: 80%;
    margin: 0 auto;
}

.field-row {
    position: relative;
    width: 100%;
    margin-bottom: 9px;
}

.field-row label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 3px;
    font-size: 1rem;
    font-family: "DINNextW1G-Bold", sans-serif;           

    pointer-events: none;
}

.field-row input {
    width: 100%;

    padding: 0 8px 0 140px;

    background: transparent;

    border: 1px solid var(--white-color);
    border-radius: 9px;
    color: var(--white-color);
    font-size: 1rem;

    outline: none;

    box-sizing: border-box;
}

.field-row input:focus {
    border-width: 2px;
}

/* Checkbox */
.terms-row {
    display: flex;
    align-items: center;
    gap: 5px;

    font-size: 0.9rem;

    cursor: pointer;
    margin-bottom: 9px;
}

.terms-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 20px;
    height: 20px;

    margin: 0;

    border: 1px solid var(--white-color);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}

.terms-row input[type="checkbox"]:checked {
    background: var(--white-color);
    box-shadow: inset 0 0 0 3px #064763;
}

.terms-row span{
    padding-top: 0.1rem;
}

.sub-action{
    display: block; 
    border: 0;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;    
    width: 182px;    
    margin: 50px auto 0 auto;
}

button {
  all: unset;
}

button:focus {
  outline: revert;
}

.sub-action img{
    width: 100%;
    height: auto;
}

/*
--------------------------------------------------------------------------------
*/

.footer{
    background-color: white;
    color: var(--footer-black);
    width: 100%;
    height: 60px;   
    position: absolute;
    bottom: 0;
}

.footer, .footer *{
    font-family: 'Ubuntu-Medium', sans-serif;
    
}

.footer p{
    text-align: center;
    display: block;
    width: 100%;
    font-weight: bold;
    color: var(--footer-black);
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--footer-black);
    font-size: 0.8rem;
    
}

.footer a{
    text-decoration: none;
    color: var(--footer-black);
    
}

.footer-row {
    width: 100%;
    display: flex;
    align-items: center;
}

.footer-row .col {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    
    font-size: 0.5rem;
    margin: 0 0 0.5rem 0;    
}


/*------------------------------------------------------------------------------*/

.jconfirm .jconfirm-holder{
    width: 50%;
    margin: 0 auto;
    
}
.jconfirm-box{text-align: center;}
.jconfirm.jconfirm-light .jconfirm-box{background-color: var(--popup-background-color) !important; border: 1px solid color: var(--popup-color);}
.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content, .jconfirm .jconfirm-box div.jconfirm-content-pane.no-scroll{ min-height: 20px;}
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default{color: var(--popup-color) !important; background-color: transparent !important;}
.jconfirm-title-c{font-family: 'Source Sans Pro', sans-serif; line-height: 1.5; font-weight: 400; color: var(--popup-color);}
.jconfirm-content{font-family: 'Source Sans Pro', sans-serif; font-weight: 400; color: var(--popup-color);}

/*
 * Fancy Box Area
*/

.fancybox-slide--iframe .fancybox-content {
    width  : 85%;
    height : 85%;
    max-width  : 85%;
    max-height : 85%;
    margin: 0;
    background: #b32024;
    
}

.fancybox__iframe html,
.fancybox__iframe body{
    background-color: var(--white-color);    
}

body.simple{ 
    background-color: var(--white-color);
    color: var(--footer-black); 
    font-size: 1.2rem;       
    width: 96%; 
    top: 0px;
    height: auto;
    padding: 2%;
    overflow: auto;
}

.simple p{
    padding-bottom: 1rem;
    text-align: justify;
}

.simple strong{
    font-weight: bold;
}

.simple a{
    font-weight: bold;    
    color: #000000;    
    
}
    














