/* START: FONT FAMILY DECLARATION */

@font-face {
    font-family: "Open Sans Light";
    src: url('/templates/bold/fonts/OpenSans-Light.ttf');
}

@font-face {
    font-family: "Open Sans";
    src: url('/templates/bold/fonts/OpenSans-Regular.ttf');
}

@font-face {
    font-family: "Open Sans Semibold";
    src: url('/templates/bold/fonts/OpenSans-Semibold.ttf');
}

@font-face {
    font-family: "Open Sans Bold";
    src: url('/templates/bold/fonts/OpenSans-Bold.ttf');
}

@font-face {
    font-family: "Open Sans Lightitalic";
    src: url('/templates/bold/fonts/OpenSans-LightItalic.ttf');
}

@font-face {
    font-family: "Open Sans Italic";
    src: url('/templates/bold/fonts/OpenSans-Italic.ttf');
}

@font-face {
    font-family: "Open Sans Bolditalic";
    src: url('/templates/bold/fonts/OpenSans-BoldItalic.ttf');
}


/* END: FONT FAMILY DECLARATION */

body {
    font-family: "Open Sans", sans-serif;
}

.formulari-titol-general {
    font-family: "Open Sans Bold";
    margin-bottom: 15px;
}

.cos_formulari {
    padding: 20px;
    background-color: white;
}

.cos_formulari .amb_marc {
    padding: 20px;
    border: 2px solid var(--color);
    box-sizing: border-box;
    background-color: white;
}

.cos_formulari .amb_marc>div+form {
    border-top: 1px solid var(--color);
}

.cos_formulari .alinea-dreta {
    float: right;
}

.cos_formulari .text-informatiu {
    font-family: "Open Sans Italic";
    color: grey;
}

.login_formulari_return svg {
    cursor: pointer;
    stroke: var(--color);
    position: absolute;
    right: 10px;
    width: 40px;
    right: -3px;
    top: -10px;
}

@media screen and (max-width:567px) {
    .login_formulari_return svg {
        right: -45px;
    }
}

.formulari_opcio {
    margin: 20px;
    cursor: pointer;
    align-self: center;
}

@media screen and (max-width:567px) {
    .formulari_opcio {
        /* font-size:0.8em; */
    }
}

.formulari-item-all-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.formulari-item-text-centered {
    text-align: center;
}

figure img {
    width: 80px;
}

@media screen and (max-width:768px) {
    .figure img {
        height: 60px;
    }
}

.formulari_opcio_contenidor {
    /* Caixes que contenen subopcions */
    /* max-width: 200px;
    margin-left: 10px;
    margin-right: 10px; */
    /* display: grid;
    grid-template-columns: 1fr, 1fr, 1fr; */
    justify-content: center;
    /* align-items: center; */
    text-align: center;
    border: 2px solid var(--color);
    height: 200px;
    /* font-size: 1.3em; */
    font-family: "Open sans Bold";
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media screen and (max-width:425px) {
    /*Estem dins un iframe*/
    .formulari_opcio_contenidor {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 110px;
    }
}

.formulari_opcio_contenidor:hover {
    background-color: var(--color3);
    color: black;
}

.formulari_opcions {
    height: 100%;
    /* margin-top: 10px; */
    /* font-size: 0.8rem; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

@media screen and (max-width:425px) {
    /*Això està dins un iframe*/
    .formulari_opcions {
        grid-template-columns: 1fr;
        grid-template-rows: 110px 110px 110px;
        grid-row-gap: 10px;
    }
}

.formulari_opcions>div {
    background-color: white;
}

.formulari_titol h2 {
    margin: 0;
}

.cos_formulari h1 {
    font-size: 1rem;
    font-family: "Open sans Bold";
}

.cos_formulari h2 {
    /* font-size: 2em; */
    font-family: "Open sans Bold";
    color: var(--color);
    padding-bottom: 10px;
}

.cos_formulari h4 {
    font-size: 1rem;
    font-family: "Open sans Bold";
    color: var(--color);
    margin: 10px 0px;
}

.cos_formulari h5 {
    font-size: 0.8rem;
    font-family: "Open sans Bold";
    color: var(--color);
    margin: 10px 0px;
}

@media screen and (max-width:565px) {
    .cos_formulari h4 {
        margin: 20px 0px;
    }
}

.cos_formulari form textarea {
    border: 2px solid var(--color);
    border-radius: 0;
}

.cos_formulari form input {
    border: 2px solid var(--color);
    border-radius: 0;
    height: 2.75rem;
}

.cos_formulari form select::placeholder,
.cos_formulari form input::placeholder,
.cos_formulari .select2-selection__placeholder,
.cos_formulari select option[disabled] {
    font-style: italic;
    font-size: 0.8em;
    opacity: 0.5;
}

.cos_formulari form label {
    font-family: "Open sans Bold";
}

.cos_formulari .icona_error.invalid-feedback {
    display: none;
}

.cos_formulari .icona_error.is-invalid {
    margin: 0;
    padding: 0;
    display: block;
}

@media screen and (max-width: 380px) {
    /* .cos_formulari form {
        padding-left: 0px;
        padding-right: 0px;
    }*/
    .cos_formulari form .form-group>* {
        padding-right: 5px;
    }
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--color);
    padding-right: unset;
    background-repeat: unset;
    background-position: unset;
    background-size: unset;
    background-image: unset;
}


/* .was-validated .form-control:invalid, .form-control.is-invalid{
    border-color: unset;
    padding-right: unset;
    background-repeat: unset;
    background-position: unset;
    background-size: unset;
    background-image: unset;
  } */

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: var(--color);
    padding-right: 3.25rem;
    background-repeat: no-repeat;
    background-position: center right calc(2.25rem / 5);
    background-size: calc(2.25rem /1.2) calc(2.25rem / 1.2);
    background-image: url("/templates/bold/users/img/error.svg");
}

.is-my-invalid {
    display: block;
}

.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus,
.was-validated .custom-select:invalid:focus,
.custom-select.is-invalid:focus {
    border-color: var(--color);
    box-shadow: 0 0 0 0rem rgba(256, 256, 256, 1);
}

.was-validated .form-control:valid:focus,
.form-control.is-valid:focus,
.was-validated .custom-select:valid:focus,
.custom-select.is-valid:focus {
    border-color: var(--color);
    box-shadow: 0 0 0 0rem rgba(256, 256, 256, 1);
}

.invalid-feedback {
    font-size: 95%;
}

.form-control input:focus {
    color: var(--colorgreyhover);
    background-color: #fff;
    border-color: var(--color);
    outline: 0;
    box-shadow: 0 0 0 0;
}

.form-control:focus {
    color: var(--colorgreyhover);
    background-color: #fff;
    border-color: var(--color);
    outline: 0;
    box-shadow: 0 0 0 0;
}

#divContentPagina.cos_formulari {
    background-color: white;
    width: 85%;
    margin: 0 auto;
}

.cos_formulari select,
.cos_formulari .select2-container {
    border: 2px solid var(--color);
    height: 2.75rem;
    border-radius: 0px;
}


/* select::-ms-expand {
    display: none;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    
    border-width: 10px 8px 0 8px;
    border-color: #00aeef transparent transparent transparent;
}


.select:before {
    content: '';
    position: absolute;
    right: 5px;
    top: 7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 5px 0 5px;
    border-color: #000000 transparent transparent transparent;
    z-index: 5;
    pointer-events: none;
  } */

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0px solid var(--color);
    border-radius: 0px;
    height: 100%;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 7px;
    width: 25px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 10px 8px 0 8px;
    border-color: var(--color) transparent transparent transparent;
}

a.condicions {
    color: gray;
    text-decoration-line: underline;
    font-style: italic;
    align-self: center;
    font-size: 1em;
    font-family: "Open sans Bold";
    padding-left: 0px;
}

.form-group.row label {
    /* align-self: center; */
    line-height: 110%;
    /* margin-top: 10px; */
}

.cos_formulari button {
    cursor: pointer;
    background-color: var(--color);
    border: none;
    color: white;
    border-radius: 0px;
    /* font-size: 1.2rem; */
    /* padding: 0.25em 1em; */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Open sans Bold";
    min-width: 230px;
    height: 40px;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .cos_formulari button {
        display: block;
        min-width: 150px;
        height: 36px;
    }
}

.cos_formulari .form-item-all-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cos_formulari .form-item-text-centered {
    text-align: center;
}

.check-centered {
    line-height: 1em;
    align-self: center;
}

.cos_formulari .row {
    margin-right: 0;
    margin-left: 0;
}

.cos_formulari [class*="col-"] {
    padding-right: 0px;
    padding-left: 0px;
}

.cos_formulari img {
    width: 60px;
}

.cos_formulari form {
    padding-top: 20px;
}

.cos_formulari .anotacio {
    color: var(--color);
    border-top: 1px solid var(--color);
    padding-top: 20px;
    padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .cos_formulari .anotacio {
        padding-left: 0px;
    }
}

.cos_formulari .standardCheck {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 30px;
    width: 30px;
    left: -32px;
}


/* Create a custom checkbox */

.cos_formulari .checkmark {
    cursor: pointer;
    position: absolute;
    left: -30px;
    height: 26px;
    width: 26px;
    background-color: white;
    border: 2px solid var(--color);
    border-radius: 0px;
}


/* On mouse-over, add a grey background color */

.cos_formulari .standardCheck:hover input~.checkmark {
    background-color: white;
    border: 2px solid var(--color);
}


/* When the checkbox is checked, add a blue background */

.cos_formulari .standardCheck:checked~.checkmark {
    background-color: white;
    border: 2px solid var(--color);
    border-radius: 0px;
}


/* Create the checkmark/indicator (hidden when not checked) */

.cos_formulari .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.cos_formulari .standardCheck:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.cos_formulari .checkmark:after {
    left: 3px;
    top: 3px;
    border: 8px solid var(--color);
    border-radius: 0px;
}

.cos_formulari .checkcontainer {
    position: relative;
    left: 30px;
}

.cos_formulari .standardCheckDescripcio {
    vertical-align: middle;
    line-height: 23px;
    margin-left: 10px;
    margin-right: 10px;
}

.cos_formulari #frmProfileProfe .standardCheck:indeterminate ~ .checkmark {
    background-color: white;
    border: 2px solid var(--color);
    border-radius: 0px;
}

.cos_formulari #frmProfileProfe .standardCheck:indeterminate ~ .checkmark::after {
    display: block;
    content: '\2014';
    font-size: 16px;
    font-weight: bold;
    color: var(--color);
    position: absolute;
    top: 0;
    left: 3px;
    border: none;
}

@media screen and (max-width: 468px) {
    #divCP {
        margin-top: -15px;
    }
}

.formulari-titol {
    font-family: "Open sans Bold";
    margin-bottom: 10px;
}

.features-formulari {
    display: flex;
}

.features-formulari .features-section {
    padding: 0px;
    max-width: 25%;
    padding-right: 20px;
}

.features-formulari ul {
    padding: 0px;
}

.features-formulari ul li {
    list-style: none;
    margin-bottom: 20px;
}

.features-formulari svg {
    fill: var(--color);
}

#opcionsDeformulari {
    background-color: white;
    padding: 20px;
    flex-grow: 1;
}

.cos_formulari select,
.cos_formulari .select2-container {
    border: 2px solid var(--color);
    height: 2.75rem;
    border-radius: 0px;
}

.cos_formulari .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0px solid var(--color);
    border-radius: 0px;
    height: 100%;
    display: flex;
    align-items: center;
}

.cos_formulari .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 7px;
    width: 25px;
}

.cos_formulari .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 10px 8px 0 8px;
    border-color: var(--color) transparent transparent transparent;
}


/* Loading animation container */

.loader {
    border: 7px solid #f3f3f3;
    /* Light grey */
    border-top: 7px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#btnEnviar:disabled {
    cursor: default;
    background-color: #d4d4d4;
    opacity: 0.8;
}
.disabled_input_appearance {
    border: 2px solid var(--color);
    border-radius: 0;
    height: 2.75rem;
    background-color: #e9ecef;
}