
/*
/* Whitespace Reset */

*{
    padding: 0;
    margin: 0;
}

/*
/* Box-sizing fix */

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}
/* 
/*Typography and hilighting coloring*/


html {
    font-family: "Source Sans Pro","Segoe UI","Arial","Helvetica Neue",sans-serif;
    font-size:  18px;
    line-height: 1.2;
}

body, table, th, td, form, input, textarea, option, select {
    font: inherit;
    color:#575A5D;
}
h1{
    font-weight:700;
    font-size:2.5rem;
    line-height: 2.7rem;
    color:#565656;
    text-transform: uppercase;
    letter-spacing: 7px;
    margin:2rem 0 1rem 0;
    display: flex;
    align-items: center;
}
h1 > span, h2{
    font-weight:normal;
    margin: 0;
    font-size:1rem;
    line-height:1.3rem;
    color:#dc001a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow:  1px 0px 11px rgba(255, 255, 255, 1);
}
h1 > span {
    margin-right: 1rem;
}
h2 {
    text-align: center;
    margin-bottom: 2rem;
}
h3 {
    text-align: center;
    margin: 5rem 0;
    font-size:1.5rem;
    line-height: 1.7rem;
 padding: 0 7rem
}
h4 {
  font-size: 1.2rem;
    line-height: 1.5rem;
    color: #dc001a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 8rem 0 10rem;
    text-align: center;
}
p{
    margin: 0;
    font-size:1.5rem;
}

.text-bold{
    font-weight:bold;
}
.text-uppercase{
    text-transform: uppercase;
}

a{
    display:inline-block;
    color:#000;
    text-decoration: underline;
}
a:hover {
    color: #970A1A;
    transition: all 0.3 ease;
    -webkit-transition: all 0.3 ease;
    -moz-transition: all 0.3 ease;
    -ms-transition: all 0.3 ease;
    -o-transition: all 0.3 ease;
    box-shadow: none;
}
.highlighted-link{
    font-size: 1rem;
    color:#dc001a;
    text-decoration: none;
}
.highlighted-link span{
    display:  block;
    font-weight: 700;
    text-decoration: underline;
}
/* 
/* Basic margins */
.mt-0{
    margin-top: 0 !important;
}

.mb-0{
    margin-bottom: 0 !important;
}

.ml-0{
    margin-left: 0 !important;
}

.mr-0{
    margin-right: 0 !important;
}
.mt-0_5rem{
    margin-top: 0.5rem !important;
}

.mb-0_5rem{
    margin-bottom: 0.5rem !important;
}

.ml-0_5rem{
    margin-left: 0.5rem !important;
}

.mr-0_5rem{
    margin-right: 0.5rem !important;
}

.mt-1rem{
    margin-top: 1rem !important;
}

.mb-1rem{
    margin-bottom: 1rem !important;
}

.ml-1rem{
    margin-left: 1rem !important;
}

.mr-1rem{
    margin-right: 1rem !important;
}

.mt-1_5rem{
    margin-top: 1.5rem !important;
}

.mb-1_5rem{
    margin-bottom: 1.5rem !important;
}

.ml-1_5rem{
    margin-left: 1.5rem !important;
}

.mr-1_5rem{
    margin-right: 1.5rem !important;
}

.mt-2rem{
    margin-top: 2rem !important;
}

.mb-2rem{
    margin-bottom: 2rem !important;
}

.ml-2rem{
    margin-left: 2rem !important;
}

.mr-2rem{
    margin-right: 2rem !important;
}

.mt-3rem{
    margin-top: 3rem !important;
}

.mb-3rem{
    margin-bottom: 3rem !important;
}

.ml-3rem{
    margin-left: 3rem !important;
}

.mr-3rem{
    margin-right: 3rem !important;
}


.mt-4rem{
    margin-top: 4rem !important;
}

.mb-4rem{
    margin-bottom: 4rem !important;
}

.ml-4rem{
    margin-left: 4rem !important;
}

.mr-4rem{
    margin-right: 4rem !important;
}


/*basic widths*/
.w-big{
    width: 43rem;
    max-width: 43rem;
}

.w-medium{
    width: 33rem;
    max-width: 33rem;
}

.w-small{
    width: 20rem;
    max-width: 20rem;
}

.content-right{
    margin-left: auto;
}
.content-left{
    margin-right: auto;
}
.content-center{
    margin-left: auto;
    margin-right: auto;
}
.flex-left{
    justify-content: flex-start;
}
.flex-right{
    justify-content: flex-end;
}
img {
    display:block;
    max-width: 100%;
    height: auto;
}
.img-portrait{
    max-width: 100%;
    height: auto;
}

.img-landscape{
    max-height: 100%;
    width: auto;
}

/* 
/*Layout*/
body{
    background: #f6f6f6;
}
body > div {
    background: url(https://image.mail.takedaspain.com/lib/fe5c15707c6c077d701d/m/1/0b2a6926-829f-42bb-869d-0655cea30676.png) center center / contain no-repeat;
    position: relative;
}

.container {
 min-height: calc(100vh - 4rem);
}
.site-form{
    margin-bottom: 3rem;
}
.site-form .row {
    margin-bottom: 0;
}
.site-form p {
    font-size: 0.67rem;
    color: #000;
}

.site-form  .input-field > label{
    font-size:1rem;
    font-weight:700;
    color: #dc001a;
    text-transform: uppercase;
    position: inherit;
    padding-bottom: 0.5rem;
    left:0;
    text-shadow:  1px 0px 11px rgba(255, 255, 255, 1);
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .site-form  .input-field > label, .site-form  .input-field > label.active{
        transform: initial;
        -webkit-transform: initial;
        -moz-transform: initial;
        -ms-transform: initial;
        -o-transform: initial;
    }
}
.site-form .input-field {
    margin: 0.3rem 0;
} 
.site-form .input-field input {
    background: #fff;
    border:1px solid #ddd;
    height:1.2rem;
    padding: 0.5rem;
    margin-top: 0.2rem;
} 
input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid #565656!important;
    -webkit-box-shadow: 0 1px 0 0 #565656 !important;
    box-shadow: 0 1px 0 0 #565656 !important;
}
.site-privacy-notice{
    background: #fff;
    border:1px solid #ddd;
    height:2.5rem;
    padding:0 0.25rem !important;
    overflow-y: scroll;
    margin-bottom: 0.5rem;
    margin-left: 0.75rem !important;
    width:calc(100% - 5px) !important;
}
/*
/*  Custom scroll bar */
::-webkit-scrollbar {
    width: 5px;
}
  
  ::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
    margin: 2px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
   
  ::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
  
  ::-webkit-scrollbar-thumb:hover {
      background: #aaa;
      transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
}
.site-form button{
    display: block;
    font-size: 0.8rem;
    margin: 1rem auto 1.2rem;
    background-color:#dc001a;
    height:auto;
    box-shadow: none;
    text-transform: inherit;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    line-height: 1.5;
    padding:0.6rem 0.8rem;
} 
.site-form button:hover {
    background-color: #970A1A;
    transition: all 0.3 ease;
    -webkit-transition: all 0.3 ease;
    -moz-transition: all 0.3 ease;
    -ms-transition: all 0.3 ease;
    -o-transition: all 0.3 ease;
    box-shadow: none;
}

.site-form .site-consent + span {
    font-size: 0.67rem;
    line-height: 1;
    color: #000;  
    vertical-align: middle;
}

[type="checkbox"] + span:not(.lever) {
    padding-left: 1.1rem;
    height: 0.8rem;
}
[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {

    height: 0.8rem;
    width: 0.8rem;
    border: 2px solid #000;
}
[type="checkbox"].filled-in:checked+span:not(.lever):after {
    height: 0.8rem;
    width: 0.8rem;
    border: 2px solid #dc001a;
    background-color: #dc001a;
    z-index: 0;
}

[type="checkbox"].filled-in:checked+span:not(.lever):before {
    top: -2px;
    left: 0px;
    width: 0.4rem;;
    height: 0.6rem;
}
.site-logo{
    position: absolute;
    right:3rem; bottom: 0;
    width: 7rem;
}
.thank-you-page .site-logo{
        position: relative;
        right: -50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }
/*
/*  Modal */
.modal{
    padding:2rem;
}
.modal-close{
    position: absolute;
    top:0.7rem;right:1rem;
    line-height: 1;
}
.modal p {
    font-size: 0.92rem;
    color: #000;
    text-align: center;
}

.job-code{
    font-size: 0.6rem;
    line-height: 0.6rem;
    padding: 0.5rem;
}
/*
/*  Media types */
@media screen and (min-width:1582px){
    body > div {
        background-position-y: 9rem;

    }
}

/*  Tablet */
@media screen and (max-width:1024px){
    html {
        font-size: 14px;
    }
    .site-form{
        margin-bottom: 2rem;
    }

}

/*  Phone */

@media screen and (max-width:960px){
    /*basic widths*/
    .job-code{
        text-align: center;
    }
    .container {
        width: 95%;
    }
    body > div {
        background-position-y: 9.5rem;

    }
}
@media screen and (max-width:597px){
    body > div {
        background: url(https://image.mail.takedaspain.com/lib/fe5c15707c6c077d701d/m/1/0b2a6926-829f-42bb-869d-0655cea30676.png) bottom center / contain no-repeat;
    }

    h1{
        font-size:2rem;
        line-height: 2.1rem;
    }
h3 {
    padding: 0;
}
    .w-big, .w-medium,.w-small {
        width: 100%;
        max-width: 100%;
    }
    .site-form .input-field input, .site-privacy-notice {
        width: 95% !important;
    }
    .site-form button {
        margin: 1rem auto 3.2rem;
        max-width: 17rem;
    }
    .site-logo{
        position: relative;
        right: -50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }
    .highlighted-link {
        margin-bottom: 4rem;
    }

}

@media screen and (max-width:360px){
    h1{
        font-size:1.5rem;
        line-height: 1.6rem;
    }

}
