@font-face {
    font-family: "Circular";
    src: url("../fonts/CircularStd-Book.woff");
}

body, html{
    font-family: "Circular";
    margin: 0px;
    padding: 0px;
}


#form{
    /*mides*/
    width: 100%;
    height: auto;
    /*separacions*/
    margin: auto;
    /*separacions superiors al formulari*/
    padding-top: 40px;
    padding-bottom: 50px;

}
/*línia de fields*/
.inline{
    /*mides*/
    width: 100%;
    /*distribució*/
    display: flex;

}
/*contenidor del field*/
div.field-container-D{
    /*mides*/
    width: 100%;
    /*separacions*/
    margin: 0% 1% 2% 1%;
    /*outline*/
    outline: 1px solid grey;
}


div.field-container-E{
    /*mides*/
    width: 100%;
    /*separacions*/
    margin: 0% 1% 2% 1%;
}

div.hidden{
    /*mides*/
    width: 100%;
    /*separacions*/
    margin: 0% 1% 2% 1%;
    outline: none;
}
div.hidden:hover{
    outline: none;
}


/*el input field*/
input.input_field{
    /*mides*/
    width: 100%;
    height: 50px;
    /*texte*/
    /*modificar si es vol transparent*/
    background-color: white;

    /*prevent default outline*/
    outline: none;
    border: none;

    padding: 0%;


}

/*el select field*/
select.input_field{
    /*mides*/
    width: 100%;
    height: 50px;
    /*texte*/
    text-align: center;
    font-size: large;
    color: grey;
    /*modificar si es vol transparent*/
    background-color: white;

    /*prevent default outline*/
    outline: none;
    border: none;

}
select.input_field:hover{
    /*texte*/
    color: #555555;
}

div.actions{

}

button.primaryAction{
    /*mides*/
    width: 100%;
    height: 50px;
    /*prevent default outline*/
    outline: none;
    border: none;

    /*texte*/
    text-align: center;
    font-size: large;
    color: white;
    /*colors*/
    background-color: #e74b3b;
    /*FX*/
    transition: 0.1s;
}
.inputWrapper{
    width: 100%;
}

/*checkbox*/
/* The container */
.container {
display: block;
position: relative;
padding-left: 35px;
margin-bottom: 12px;
cursor: pointer;
font-size: 22px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}

/* Create a custom checkbox */
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 25px;
width: 25px;
background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */


/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
display: block;
}

/* Style the checkmark/indicator */


#termes_link{
  text-decoration:underline;
}


/*messages*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* #121212 w/ opacity */
}

/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 20%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: #121212;
text-decoration: none;
cursor: pointer;
}


input,select.input_field,textarea,*::placeholder{
font-family: 'calling-code';
font-size: 14px;
text-transform: lowercase;
color: #121212;
text-align: left;
}


body,a{
font-family: 'Circular', sans serif;
font-size: 14px;

}

.main{
max-width: 1000px;
margin: auto;
background: white;

}

.sformtitle{
font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.6px;
    margin-top: 0px;
    margin-bottom: 10px;
}
div.field-container-D {
    width: 100%;
    margin: 0% 1% 0% 1%;
    outline: none;
    border-bottom: 1px solid #121212;
    }
.sectionlegal i{
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 18px;
}
.sectionlegal .field-container-E{
margin-bottom: 0px;
}
.checkmark{
width: 10px;
height: 10px;
background: transparent;
border: 1px solid #121212;
}
.container{
font-size: 14px;
    padding-left: 20px;
}
div.actions {

}
div.actions button{
font-family: 'calling-code';
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    padding: 15px;
padding-left: 24px;
padding-right: 24px;
    border-radius: 27px;
    border: 1px solid #121212;
    color: #121212;
    -webkit-transition:all 0.2s ease-in-out;
    -moz-transition:all 0.2s ease-in-out;
    -o-transition:all 0.2s ease-in-out;
    transition:all 0.2s ease-in-out;
    background: black;
    color: white;
    width: auto;
    margin-top: 20px;
    }
.cformright{
padding-left: 353px;
padding-right: 100px;
}
div.field-container-D{
margin-left: 0px;
margin-right:20px;
}
#form{
position: relative;
}
#form::before{
content: "";
display: block;
position:absolute;
top:0px;
right:0px;
height:100%;
width:90px;
background-image: url('logo.svg');
background-position: left bottom;
background-size: auto 99% ;
background-repeat: no-repeat;
}
.cformleft{
position:absolute;
top:0px;
left:0px;
height:100%;
width:333px;
border-right: 1px solid #121212;
background-image: url('bg.jpg');
background-size: cover;
}
button.primaryAction:hover{
    /*colors*/
    cursor: pointer;
    background-color: transparent;
    color: black;
}

textarea:focus, input:focus{
    outline: none;
}
.container input:checked ~ .checkmark:before{
content: "";
display: block;
position: absolute;
top: 52%;
left: 50%;
transform: translateY(-50%) translateX(-50%) rotate(45deg);
width: 80%;
height: 2px;
background: #121212;
}
.container input:checked ~ .checkmark:after{
content: "";
display: block;
position: absolute;
top: 52%;
left: 50%;
transform: translateY(-50%) translateX(-50%) rotate(-45deg);
width: 80%;
height:2px;
background: #121212;
}
.main{
height: 597px;
}
#form_158{
margin-top: 25px;
}


@media (max-width: 999px){
.cformleft,#form::before{
display: none;
}

.cformright {
    padding-left: 15px;
    padding-right: 15px;
}
.inline {
    width: 100%;
    display: block;
}
.main {
    height: auto;
}
}

button.primaryAction {
    font-family: 'calling-code';
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    padding: 15px;
    padding-left: 24px;
    margin: auto;
    padding-right: 24px;
    border-radius: 27px;
    border: 1px solid #121212;
    color: #121212;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    background: black;
    color: white;
    width: auto;
    margin-top: 0px;
}
.modal-content {
    text-align: center;
    min-width: 400px;
}
#termes_link {
    text-decoration: underline;
    color: #121212;
}
.main {
    height: 630px;
}

.article{
background: white;
}
.cformleft{
position: fixed;
}

/* Formulari d'accés seqüencial */
.main{
    height: auto;
    min-height: 630px;
}

.accessQuestionWrapper{
    margin-top: 35px;
    margin-bottom: 25px;
}

#access_question{
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 25px;
}

#access_options{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

button.accessOption{
    font-family: 'calling-code';
    font-size: 14px;
    text-align: left;
    padding: 15px 18px;
    border: 1px solid #121212;
    background: white;
    color: #121212;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

button.accessOption:hover,
button.accessOption.selected{
    background: #121212;
    color: white;
}

#access_result{
    font-size: 18px;
    line-height: 1.4;
    margin: 25px 0;
}

.accessActions{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

button.secondaryAction{
    font-family: 'calling-code';
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    padding: 15px 24px;
    border-radius: 27px;
    border: 1px solid #121212;
    background: transparent;
    color: #121212;
    cursor: pointer;
}

button.secondaryAction:hover{
    background: #121212;
    color: white;
}

@media (max-width: 999px){
    .accessActions{
        flex-wrap: wrap;
    }

    .modal-content{
        min-width: 0;
        width: 80%;
    }
}
