
/* ------------------------------------------------------------------- 
 * Inicio Variables
 * ------------------------------------------------------------------- */
:root {
    --Btn1: #173653;
    --Btn2: #333333;
    --Btn3: #353f48;
    --Btn4: #094b88;
    --Btn5: #2d89df;
    --Btn6: #e4bf36;
    --Btn7: #3978b3;
    --Btn8: #88bdf1;
    --Btn9: #333333;
    --inputBorderFocusColor: 2px solid #2193ff;
    --FocusColor: #2193ff;
    --sombraFocus: 0 0 0 3px rgb(142 200 255 / 35%);
    --inputBorder: #ced4da;
    --inputBorder2: #e4bf36;
}

/* ------------------------------------------------------------------- 
 * Inicio Botones
 * ------------------------------------------------------------------- */
/* Generic date input */

.btn-update,
.btn-small-update,
.btn-option,
.btn-small-option,
.btn-action,
.btn-small-action,
.dvBtnSalir,
#alertCancel,
#alertAccept {
    opacity: 0.8;
    position: relative;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    border-radius: 24px;
    outline: none;
    color: #fff;
    font-size: 0.8em;
    cursor: pointer;
    border: none;
    transition: ease-in .15s;
    line-height: 32px;
    height: 36px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}

    .btn-update:hover,
    .btn-small-update:hover,
    .btn-option:hover,
    .btn-small-option:hover,
    .btn-action:hover,
    .btn-small-action:hover,
    .dvBtnSalir:hover,
    #alertCancel:hover,
    #alertAccept:hover {
        transition: all .2s;
        opacity: 1;
        box-shadow: 0 1px 5px rgba(0,0,0,.4);
    }

    .btn-update:active,
    .btn-small-update:active,
    .btn-option:active,
    .btn-small-option:active,
    .btn-action:active,
    .btn-small-action:active,
    .dvBtnSalir:active,
    #alertCancel:active,
    #alertAccept:active {
        border: var(--inputBorderFocusColor);
        box-shadow: var(--sombraFocus);
    }

.btn-update {
    background-color: var(--Btn1);
    border: 2px solid var(--Btn1);
}

    .btn-update::before {
        content: "";
        margin-left: 5px;
        width: 16px;
        height: 16px;
        /* background-image: url('../../imgs/quamer/svg/save.svg'); */
        background-repeat: no-repeat;
    }

.btn-small-update {
    background-color: var(--Btn2);
    border: 2px solid var(--Btn2);
}

.btn-option {
    background-color: var(--Btn3);
    border: 2px solid var(--Btn3);
}

    .btn-option::before {
        content: "";
        margin-left: 5px;
        width: 16px;
        height: 16px;
        /* background-image: url('../../imgs/quamer/svg/search.svg'); */
        background-repeat: no-repeat;
    }


.btn-small-option {
    background-color: var(--Btn4);
    border: 2px solid var(--Btn4);
}

.btn-action {
    background-color: var(--Btn5);
    border: 2px solid var(--Btn5);
}

    .btn-action::before {
        content: "";
        margin-left: 5px;
        width: 12px;
        height: 12px;
        /* background-image: url('../../imgs/quamer/svg/plus.svg'); */
        background-repeat: no-repeat;
    }


.btn-small-action {
    background-color: var(--Btn6);
    border: 2px solid var(--Btn6);
}

    .btn-small-action::before {
        content: '+';
        font-weight: bolder;
        font-size: 2em;
    }


.dvBtnSalir {
    background-color: var(--Btn7);
    border: 2px solid var(--Btn7);
}



#alertCancel {
    background-color: var(--Btn7);
    border: 2px solid var(--Btn7);
    width: 110px;
    margin: 0px 10px;
}


#alertAccept {
    background-color: var(--Btn9);
    border: 2px solid var(--Btn9);
    margin: 0px 10px;
    width: 110px;
}

/* ------------------------------------------------------------------- 
 * Fin Botones
 * ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- 
 * Inicio Form Container
 * ------------------------------------------------------------------- */
/* Form cointainer */
.form-container {
    margin: 0 auto;
    width: 100%;
    max-width: 2000px;
}

hr {
    border: 1px solid #eee;
    width: 100%;
    margin: 20px 0px;
}

.subform-container-left {
    float: left;
    display: block;
    margin: 0px !important;
}

.subform-container-right {
    float: right !important;
    margin: 0px !important;
    text-align: right;
}

/* ------------------------------------------------------------------- 
 * Inicio col - row
 * ------------------------------------------------------------------- */


/* Subcointainers for diagraming */
/* Inicio ROW*/
.col-01,
.col-5,
.col-10,
.col-125,
.col-15,
.col-167,
.col-18,
.col-20,
.col-25,
.col-30,
.col-33,
.col-35,
.col-375,
.col-40,
.col-45,
.col-50,
.col-55,
.col-60,
.col-65,
.col-70,
.col-75,
.col-80,
.col-85,
.col-90,
.col-100 {
    float: left;
    margin:18px 0px 4px 0px;
    padding: 0px 8px !important;
    position: relative;
}

.col-01 {
}

.col-5 {
    width: 5%;
}

.col-10 {
    width: 10%;
}

.col-125 {
    width: 12.5%;
}

.col-15 {
    width: 15%;
}

.col-167 {
    width: 16.66666667%;
}

.col-18 {
    width: 18%;
}

.col-20 {
    width: 20%;
}

.col-25 {
    width: 25%;
}

.col-30 {
    width: 30%;
}

.col-33 {
    width: 33.333%;
}

.col-35 {
    width: 35%;
}

.col-375 {
    width: 37.5555555%;
    border:1px solid red;
}


.col-40 {
    width: 40%;
}

.col-45 {
    width: 45%;
}

.col-50 {
    width: 50%;
}

.col-55 {
    width: 55%;
}

.col-60 {
    width: 60%;
}

.col-65 {
    width: 65%;
}

.col-66 {
    width: 66.666%;
    border:1px solid blue;
}


.col-70 {
    width: 70%;
}

.col-75 {
    width: 75%;
}

.col-80 {
    width: 80%;
}

.col-85 {
    width: 85%;
}

.col-90 {
    width: 90%;
}

.col-100 {
    width: 100%;
}

/* Fin ROW*/


/*Inicio efecto transición Label*/
.row i {
    position: absolute;
    top: 1em;
    left: 1em;
    color: #aaa;
    line-height: 1;
    transition: all .2s;
    z-index: -1;
    font-style: normal;
}

.row input:focus + i,
.row select:focus + i {
    top: -1.2em;
    opacity: 1;
    left: 10px;
    transform: scale(0.9);
    color: #252525;
    display: block;
    z-index: 100;
}

/*Inicio efecto transición Label*/


.row {
    overflow: hidden;
    padding: 0px;
    margin: 0px;
    position: relative;
}

    .row div {
    }

    .row > span {
        float: right;
        text-align: right;
        padding-right: 12px;
        color: #333333 !important;
        line-height: 220%;
        font-size: .8em !important;
    }

    .row > div > span {
        display: inline-block;
        color: #3a3a47;
        font-size: .9em;
        line-height: 38px;
    }

    .row:after {
        content: "";
        display: table;
        clear: both;
    }

/* ------------------------------------------------------------------- 
 * Fin col - row
 * ------------------------------------------------------------------- */


/* subtitles */
.form-container h2 {
    font-weight: normal;
    margin: 0px;
    padding: 0px;
    font-size: 1.2em;
}

.form-container h3 {
    font-weight: normal;
    margin: 0px;
    padding: 0px;
    font-size: 1.2em;
}

/* Lower hints for fields */
.label_grey {
    color: #817f88;
}

/* Custom inputfile upload */
.fileUpload {
    padding: 0px !important;
    border: none !important;
}

/* Custom inputfile upload */
.js .inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    max-width: 100%;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}

.no-js .inputfile + label {
    display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.23em;
    /* 4px */
    margin-right: 0.23em;
    /* 4px */
}

/* style 1 */
.inputfile-1 + label {
    padding: 10px 20px !important;
    color: #898787;
    background-color: #dedede;
}

    .inputfile-1:focus + label,
    .inputfile-1.has-focus + label,
    .inputfile-1 + label:hover {
        color: #fff;
        background-color: var(--Btn5);        
    }

.inputfile-2 + label {
    width: 100%;
    /*padding: 10px 20px !important;*/
    color: #898787;
    background-color: #dedede;
}

    .inputfile-2:focus + label,
    .inputfile-2.has-focus + label,
    .inputfile-2 + label:hover {
        color: #333333;
        background-color: #e4bf36;
    }

.bar {
    position: relative;
    display: block;
    width: 100%;
    padding: 0px !important;
    margin: 0px !important;
    height: 4px;
    width: 0;
    border: 1px;
    background-color: #9b59b6;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
}

.weak {
    width: 25% !important;
    background-color: #ff3232;
}

.medium {
    width: 50% !important;
    background-color: #ffa300;
}

.strong {
    width: 75% !important;
    background-color: #2ecc71;
}

.veryStrong {
    width: 100% !important;
    background-color: #229653;
}

/* form controls */
.form-container a {
    color: #333333;
}

    .form-container a:hover {
        opacity: 0.8;
    }

.form-container input[type=date],
.form-container input[type=text],
.form-container input[type=email],
.form-container input[type=number],
.form-container input[type=password],
.form-container input[type=file],
.form-container input[type=tel],
.form-container textarea {
    width: 100%;
    padding: 11px 8px 9px 8px;
    border-radius: 2px;
    box-sizing: border-box;
    border: 1px solid #333333;
    resize: none;
    font-size: 0.8em;
    z-index: 100;
}

.form-container input[type=date],
.form-container input[type=text],
.form-container input[type=email],
.form-container input[type=number],
.form-container input[type=password],
.form-container input[type=file],
.form-container input[type=tel] {
    border: none;
    border-radius: 0px;
    border: 1px solid var(--inputBorder);
    transition: ease-out .1s;
    outline: none;
    border-radius: 4px;
    height: 36px;
    line-height: 36px;
}

    .form-container input[type=date]:focus,
    .form-container input[type=text]:focus,
    .form-container input[type=email]:focus,
    .form-container input[type=number]:focus,
    .form-container input[type=password]:focus,
    .form-container input[type=file]:focus,
    .form-container input[type=tel]:focus {
        outline: none;
        border: 1px solid var(--FocusColor);
        box-shadow: var(--sombraFocus);
        content: '';
    }

    .form-container input[type=date]:hover,
    .form-container input[type=text]:hover,
    .form-container input[type=email]:hover,
    .form-container input[type=number]:hover,
    .form-container input[type=password]:hover,
    .form-container input[type=file]:hover,
    .form-container input[type=tel]:hover {
        border: 1px solid var(--FocusColor);
    }


.form-container input[type=file] {
    height: 0px;
}

.field-icon {
    text-align: center !important;
    cursor: pointer;
    padding: 0px !important;
    line-height: normal !important;
}

.field-eye-icon {
    float: right !important;
    margin-left: -31px;
    margin-right: 12px;
    margin-top: 15px;
    position: relative;
    z-index: 2;
    width: 1.28571429em;
}

.eye-icon-open:before {
    content: url("../../imgs/default/icon-eye-show.svg");
}

.eye-icon-close:before {
    content: url("../../imgs/default/icon-eye-hidden.svg");
}

.form-container textarea {
    width: 100%;
    padding: 0px 6px;
    line-height: 36px;
    border: 1px solid var(--inputBorder);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.8em;
}

    .form-container textarea:focus {
        border: 1px solid var(--FocusColor);
        box-shadow: var(--sombraFocus);
        transition: ease-in .1s;
        outline: none;
    }

.form-container select {
    width: 100%;
    padding: 0px 6px;
    height: 36px;
    line-height: 36px;
    border: 1px solid var(--inputBorder);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.8em;
}

    .form-container select:focus {
        border: 1px solid var(--FocusColor);
        box-shadow: var(--sombraFocus);
        transition: ease-in .1s;
        outline: none;
    }

    .form-container select:hover {
        border: 1px solid var(--FocusColor);
    }

    .form-container select[multiple=multiple] {
        width: 100%;
        padding: 7px;
        border: 1px solid var(--inputBorder);
        border-radius: 2px;
        box-sizing: border-box;
        resize: none;
        min-height: 300px;
        font-size: 0.8em;
    }

        .form-container select[multiple=multiple]:focus {
            border: 1px solid var(--FocusColor);
            box-shadow: var(--sombraFocus);
            transition: ease-in .1s;
            outline: none;
        }

/*.form-container select > option {
        height: 30px;
    }*/

.form-container input[type=date] {
    border: 1px solid #333333;
    box-sizing: border-box;
    outline: none;
    border-radius: 4px;
    font-size: 0.8em;
    height: 36px;
    line-height: 36px;
}

    .form-container input[type=date]:focus {
        border: 1px solid #e4bf36;
        transition: ease-in .3s;
        outline: none;
    }

.form-container input[type=time] {
    padding: 0px 6px;
    border: 1px solid #333333;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.8em;
    height: 36px;
    line-height: 36px;
}

    .form-container input[type=time]:focus {
        border: 1px solid #e4bf36;
        transition: ease-in .3s;
        outline: none;
    }

.form-container label {
    display: inline-block;
    color: #333;
    font-size: 0.9em;
    line-height: 38px;
}

    .form-container label:hover {
        color: var(--PrimaryColor);
    }

    .form-container label > strong {
        color: red;
        font-size: 1.1em;
    }

.form-container strong > label {
    font-size: .9em;
    font-weight: normal;
    /*color: #003895 !important;*/
}

/* Customized checkbox */
.chkbox-container {
    display: inline-block !important; /* Change to block to display vertical */
    position: relative !important;
    padding-left: 35px !important;
    /*margin-bottom: 12px;*/
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #000 !important;
    font-size: 0.8em !important;
    height: 36px;
    line-height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .chkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.chkbox-checkmark {
    position: absolute;
    left: 0;
    top: 5px;
    height: 25px;
    width: 25px;
    background-color: #eee;
    opacity: 1 !important;
    transition: ease-out .1s;
}

label.radio-checkmark {
    opacity: 1 !important;
}


.chkbox-container:hover input ~ .chkbox-checkmark {
    background-color: #ccc;
}

.chkbox-container input:checked ~ .chkbox-checkmark {
    background-color: var(--PrimaryColor);
}

.chkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.chkbox-container input:checked ~ .chkbox-checkmark:after {
    display: block;
}

.chkbox-container .chkbox-checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Customized radio button */
.radio-container {
    display: inline-block !important;
    position: relative !important;
    padding-left: 35px !important;
    /*padding-top: 4px !important;*/
    /*margin-bottom: 12px;*/
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #000 !important;
    font-size: 0.8em !important;
    line-height: 25px !important;
}

    .radio-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

.radio-container:hover input ~ .radio-checkmark {
    background-color: #ccc;
}

.radio-container input:checked ~ .radio-checkmark {
    background-color: #918f9a;
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .radio-checkmark:after {
    display: block;
}

.radio-container .radio-checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

/* Form tooltip */
.form-tooltip {
    position: relative;
    cursor: pointer;
}

    .form-tooltip img {
        width: 19px;
        transition: 0.3s;
        opacity: 0.4;
        filter: alpha(opacity=40);
    }

        .form-tooltip img:hover {
            opacity: 0.9;
            filter: alpha(opacity=90);
        }

    .form-tooltip .form-tooltiptext {
        visibility: hidden;
        overflow: auto;
        background-color: #fff0b8;
        border: 1px solid #fff0b8;
        color: #555;
        text-align: left;
        padding: 6px;
        border-radius: 2px;
        position: absolute;
        min-width: 150px;
        top: 5px;
        left: 100%;
        font-size: 0.8em;
        line-height: 1.3em;
    }

    .form-tooltip:hover .form-tooltiptext {
        visibility: visible;
        transition: 0.3s;
        z-index: 1;
    }

.form-tooltiptext_bottom {
    margin-top: 15px;
    left: 50%;
    margin-left: -75px;
}

/* Customized switch square control */
.form-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

    .form-switch input {
        display: none;
    }

.form-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .form-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .form-slider {
    background-color: #9f52b7;
}

input:focus + .form-slider {
    box-shadow: 0 0 1px #9f52b7;
}

input:checked + .form-slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Customized switch round control */
.form-slider.round {
    border-radius: 34px;
}

    .form-slider.round:before {
        border-radius: 50%;
    }

/* Modal window */
.form-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* 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); /* Black w/ opacity */
}

.form-modal-content {
    background-color: #fefefe;
    margin: 3% auto; /* 15% from the top and centered */
    max-width: 700px;
    position: relative;
    top: 50px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
}

    .form-modal-content h1 {
        font-size: 1.2em;
        color: #fff;
        font-weight: normal;
        width: 100%;
        background-color: var(--PrimaryColor);
        top: -20px;
        position: relative;
        padding: 10px 20px 10px 15px;
    }

    .form-modal-content > .form-container {
        padding: 0px 12px 12px 12px;
    }




.form-modal-message {
    font-size: 0.9em;
    padding: 8px;
    overflow-y: scroll;
    border: 2px solid #333333;
    height: 300px;
    z-index: 1;
}

    .form-modal-message:focus {
        border: 2px solid #e4bf36;
        transition: ease-in .3s;
        outline: none;
    }

.form-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    z-index: 1;
    position: relative;
    top: -8px;
    right: 10px;
}

    .form-close img {
        position: relative;
        width: 16px;
        opacity: 0.7;
        cursor: pointer;
        top: -2px;
        right: 4px;
    }

        .form-close img:hover {
            opacity: 1;
            transition: .2s;
        }


    .form-close:hover, .form-close:focus {
        opacity: 1;
    }


.dvFormImageProfile {
    margin-top: 10px;
    text-align: left;
}

    .dvFormImageProfile > img {
        border: 1px solid #eee;
        vertical-align: top;
        display: inline-table;
        width: 150px;
        height: 150px;
    }

.hidden {
    position: absolute;
    overflow: hidden;
    width: 0;
    height: 0;
    pointer-events: none;
}

.flRight {
    float: right !important;
}

.valid {
    border: 1px solid #009900 !important;
    outline: none;
}

.invalid {
    border: 1px solid #ff3232 !important;
    outline: none;
}

.frmAlert {
    display: block !important;
    margin: 20px 5px 0px 5px;
    padding: 10px;
    background-color: #fff5f5;
    border-left: 6px solid #ff0000;
    color: #d40202;
}

@media only screen and (max-width: 1365px) {

    .subform-container-left {
        width: 100% !important;
    }


    .subform-container-right {
        width: 100% !important;
    }

        .subform-container-right > div {
            max-width: 140px;
            float: right !important;
            min-width: 200px !important;
        }
}

@media only screen and (max-width: 1280px) {
    #chkbox-container {
        display: none;
        visibility: hidden;
        position: absolute;
    }

    .action-button {
        float: left !important;
    }
}

/************
4. 1100px
************/

@media only screen and (max-width: 1100px) {
    .form-modal-content {
        margin: 4% auto;
    }
}

/************
5. 1024px
************/

@media only screen and (max-width: 1024px) {
    .form-modal-content {
        margin: 6% auto;
    }
}

/************
6. 991px
************/

@media only screen and (max-width: 991px) {
    .form-modal-content {
        margin: 8% auto;
    }
}

/************
7. 959px
************/

@media only screen and (max-width: 959px) {
    .form-modal-content {
        margin: 10% auto;
    }
}

/************
8. 880px
************/

@media only screen and (max-width: 880px) {
    .form-modal-content {
        margin: 12% auto;
    }
}

@media screen and (max-width: 790px) {
    .col-5,
    .col-10,
    .col-15,
    .col-18,
    .col-20,
    .col-25,
    .col-30,
    .col-35,
    .col-40,
    .col-45,
    .col-50,
    .col-55,
    .col-60,
    .col-65,
    .col-70,
    .col-75,
    .col-80,
    .col-85,
    .col-90,
    .col-100,
    .form-container input[type=submit] {
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 10px;
    }

    .form-modal-content {
        margin: 14% auto;
    }

    .subform-container-right {
        width: 100% !important;
    }

        .subform-container-right > div {
            max-width: 800px;
            float: right !important;
        }
}

@media screen and (max-width: 575px) {
    .form-container {
        padding-top: 0px;
    }

        .form-container input[type=submit] {
            padding: 10px 5px;
        }

    .form-modal-content {
        margin: 20% auto;
        width: 95%;
    }

    .col-5 {
        width: 10%;
        margin-top: 0;
    }

    .col-10 {
        width: 20%;
        margin-top: 0;
    }

    .col-35 {
        width: 50%;
        margin-top: 0;
    }

    .col-65 {
        width: 80%;
        margin-top: 0;
    }
}
