/*
Theme Name:     Valvoline
Description:    Chapter5 Contests Project
Author:         toolbox

*/

:root {
    --primary: #ffffff;
    --main-color: #ffffff;
    --blue-color: #ff3333;
    --popup-background-color: #ff3333;
    --popup-color: white;
    --button-blue: #003399; 
    --checkbox-fill-color: #ffffff;
    --checkbox-border-color: #ffffff;
}

@font-face {
    font-family: 'din';
    src: url('./fonts/DIN.ttf')  format('truetype');
}

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

@font-face {
    font-family: 'din-black';
    src: url('./fonts/DINPro-Black_13933.ttf')  format('truetype');
}

@font-face {
    font-family: 'din-medium';
    src: url('./fonts/DINPro-Medium_13936.ttf')  format('truetype');
}

@font-face {
    font-family: 'flyer';
    src: url('./fonts/Flyer_LT_BlackCondensed_Regular.ttf')  format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./fonts/Ubuntu-Medium.ttf')  format('truetype');
}

html{
    font-size: 16px;        
}

body{
    font-family: 'din-medium', sans-serif;
    color: #ffffff;
    background-color: var(--blue-color);
    width: 100%; 
}

body *{
    font-family: 'din-medium', sans-serif;
}

*:focus {
    outline: none;
    
}

.valvoline-logo{
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.img img{
    width: 100%;
    height: auto;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1;
  padding-bottom: 80px;
}

.col-area{
    max-width: 580px;
    margin: 0 auto;
}

.col-area h3{
    font-family: 'din-medium', sans-serif;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.7rem;    
    
}

.col-area h3.medium{
    font-family: 'din-medium', sans-serif;    
    margin-bottom: 0.7rem;      
    
}

.show-result{
    display: none;
    margin-top: 7rem;
    margin-bottom: 7rem;
}

.show-result.active{
    display: block;
}

.show-result a{
    margin-bottom: 1rem;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

.col-area h2{
    font-family: 'din-black', sans-serif;
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.7rem;
    
}

.col-area p{
    font-family: 'din-regular', sans-serif;
    font-size: 1rem;
    line-height: 1.1rem;    
    display: block;
    margin-bottom: 0.7rem;    
}

.col-area p span{
    font-family: 'din', sans-serif;    
}

.line-field{
    display: block;
    width: 100%;
    margin: 0 0 0.7rem 0;
    border: 1px solid var(--main-color);
    background-color: transparent;
    color: var(--main-color);
    border-radius: 10px; 
    
}

.checkbox-areas.line-field{
    border-radius: 0px;     
    border: 0px;    
}

.form-field{
    display: block;
    width: calc(100% - 1rem);
    font-size: 1rem;
    margin: 0;
    padding: 0.2rem 0.5rem;
    border: 0;
    background-color: transparent;
    color: var(--main-color);
}

textarea.form-field{
    height: 5rem;
}

.line-field a{
    color: var(--main-color);
    text-decoration: none;
}

input::placeholder, textArea::placeholder {
  color: var(--main-color);
}

.form-control{
    border: 0;    
    width: 100%;
    margin: 0 0 0.5rem 0;    
    display: grid;
    grid-template-columns: 1.2em auto;
    gap: 0.5em;    
}

.form-control .checkbox-text{
    font-size: 1rem;
    line-height: 1rem;
}

.form-control input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: transparent;
    /* Not removed via appearance */
    margin: 0;    
    font: inherit;
    color: transparent;
    width: 1.2em;
    height: 1.2em;
    border: 0.15em solid var(--checkbox-border-color);
    border-radius: 1rem;
    transform: translateY(-0.075em);        
    display: grid;
    place-content: center;    
}

.form-control .checkbox-text a{
    padding-bottom: 1px;
    border-bottom: 0;
}

input[type="checkbox"]::before {
  content: "";
  width: 1em;
  height: 1em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--checkbox-fill-color);
  position: relative;
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  
}

input[type="checkbox"]:checked::before {
    transform: scale(1.3);
    position: absolute;
    left: -2px;
    bottom: 1px;
}

#submit{
    border: 0;
    background-color: transparent;
    width: 150px;
    margin: 2rem auto;
    display: block;
}

.original{
    width: 300px;
}

#footer-area{
    width: calc(100% - 2rem);
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    color: var(--blue-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;  
    position: fixed;
    bottom: 0;
}

#footer-area a, #footer-area .like-link{
    font-size: 0.8rem;
    line-height: 0.8rem;
    text-decoration: none;
    display: block; 
    color: #000000;
}

.align-right{
    width: 25%;       
    text-align: right;
}

.align-left{
    width: 25%;    
    text-align: left;
}

.align-center{
    width: 50%;    
    text-align: center;
}

@media (max-width: 579px) {
    
    .col-area{
        max-width: 100%;
    }
    
    #footer-area{
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }    
    
    #footer-area a{
        font-size: 1rem;        
        line-height: 1rem;        
        width: 100%;    
    }    
    
    .align-right, .align-left{
        text-align: center;
    }    
    
    .align-left, .align-center{
        margin-bottom: 0.5rem;
    }    
}

/*
* Form Area
*/

.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: 60px;}
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default{color: var(--popup-color) !important; background-color: transparent !important;}
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons{text-align: center; float: none!important;}
.jconfirm-title-c{font-family: 'din-medium', sans-serif; line-height: 1.5; font-weight: 400; color: var(--popup-color);}
.jconfirm-content{font-family: 'din-medium', sans-serif; font-weight: 400; color: var(--popup-color);}
.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;    
}

/*
 * Fancy Box Area
*/

.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content{
    width  : 70%!important;
    height : 70%!important;
    max-width  : 70%!important;
    max-height : 70%!important;
    margin: 0;
    
}

.fancybox__iframe html,
.fancybox__iframe body{
    background-color: #ffffff; 
    
}

body.simple{ 
    background-color: #ffffff;
    color: #000000; 
    font-family: 'Georgia', sans-serif;
    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;    
    
}

/*
 * Fancy Box Area
*/