/* tools */

body {
    counter-reset: li;
    counter-reset: list-category;
}

*:focus {
    outline: none !important;
}

#wOfv a {
    text-decoration: none;
}

button, li {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome and Opera */
}

.modal-header {
    border-bottom: none !important;
}

/*.modal-footer {
    border-top: none !important;
}*/

/***/

#btn-open-modal-ofv, #ofv-instructions, #wOfv, select.form-control, .container-question, .step,.mask-int, #vista-previa, .pagination-question {
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    font-size: 8pt !important;
}

legend.field-border h3, .header, .ofv-title {
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    font-size: 12pt !important;
}

#wOfv {
    position: relative;
    left: -6px;
}

#wOfv, .container-question {
    width: 695px;
}

fieldset.field-border {
    border: 2px groove #fff !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
}

legend.field-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
}

.header, #ofv-instructions a {
    color: #5eb645;
}

.btn {
    color: white !important;
    cursor: pointer;
    margin: 10px auto;
    padding: 10px !important;
}

.btn-dgii {
    background-color: #5eb645 !important;
    font-size: 11px;
}

.btn-dgii-select {
    background-color: transparent !important;
    border: 2px solid #5eb645 !important;
    font-size: 12px;
    color: #5eb645 !important;
    font-weight: bold;
    width: 250px;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.btn-dgii-select:hover {
    background-color: #5eb645 !important;
    color: white !important;
}

.answer-si:after {
    content: "Si";
    opacity:0;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.answer-si:hover:after {
    opacity:1;
    color: white !important;
    padding-left: 10px;
    font-size: 12px;
}

.btn-dgii-select-active{
    content: "\e013";
    background-color: #5eb645 !important;
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    width: 250px;
    border: 2px solid #5eb645;
}

.btn-dgii-select-active:after {
    font-family: 'Glyphicons Halflings';
    content: "\e013";
    padding-left: 10px;
    font-size: 12px;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.answer-no:hover:after {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    content: "No";
    padding-left: 10px;
    opacity:1;
}

#frmSimulador select option:nth-child(1) {
    display: none;
}

/*button animation*/
#btn-open-modal-ofv span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

#btn-open-modal-ofv span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

#btn-open-modal-ofv:hover:enabled span {
    padding-right: 25px;
}

#btn-open-modal-ofv:hover:enabled span:after {
    opacity: 1;
    right: 0;
}

#ofv-instructions {
    font-size: 18px;
    padding: 9px;
    font-weight: bold;
}

#ofv-instructions .glyphicon-info-sign {
    margin-right: 5px;
    top: 8px;
    font-size: 25px;
}

#ofv-instructions a {
    text-decoration: underline;
    text-decoration-style: double;
}

.container-question {
    display: none;
    height: -webkit-fill-available;
}

.margen_ {
    margin-top: 10px;
    display: none;
}

.rectangle-list li {
    list-style: none;
}

.rectangle-list a {
    width: 88%;
    position: relative;
    display: block;
    padding: 10px;
    margin: 5px;
    border-bottom: #5eb645 4px solid;
    color: #444;
    text-decoration: none;
    height: 38px;
}


.rectangle-list a:hover {
    background: #5eb645;
    color: white;
}

.rectangle-list a:hover  .glyphicon-ok {
    background: #5eb645 !important;
    color: white !important;
}

/*Lista de progreso*/
.question {
    font-size: 12px !important;
    color: #848484 !important;
}

.progressbar {
    margin: 0;
    padding: 0;
    counter-reset: step;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
}

.progressbar li {
    list-style-type: none;
    width: 25%;
    float: left;
    font-size: 12px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.progressbar li a {
    color: #7d7d7d;
    text-decoration: none;
    cursor: pointer;
}

.progressbar li:before {
    width: 30px;
    height: 30px;
    content: counter(step);
    counter-increment: step;
    line-height: 30px;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}

.progressbar li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #7d7d7d;
    top: 15px;
    left: -50%;
    z-index: -1;
}

.progressbar li:first-child:after {
    content: none;
}

.progressbar li.active a {
    color: #5eb645 !important;
}

.progressbar li.active:before {
    border-color: #5eb645;
    color: White;
    background-color: #5eb645;
}

.progressbar li.active + li:after {
    background-color: #5eb645;
}

/*Lista de preguntas*/

.lista-preguntas input {
    /*width: 90px !important;*/
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 6px 12px;
    font-size: 11px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.content-question {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #ebebeb;
    padding: 20px 15px 20px 15px;
    font-weight: bold;
}

.content-question:first-child {
    border: none;
}

.content-question small {
    color: #7d7d7d;
}

.question-simulator {
    float: left;
    width: 86%;
    text-align: justify;
    padding-right: 9px;
}

.field-simulator {
    float: right;
    width: 14%;
}

.clear {
    clear: both;
}

/*paginador preguntas*/

.pagination-question {
    display: block;
    padding: 0;
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: center;
}

.pagination-question li {
    float: left;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #444;
}

.pagination-question li a {
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    position: relative;
    margin-right: 1px;
    color: inherit;
    text-decoration: none;
}

.pagination-question li a:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 0 2px #5eb645;
    border-radius: 100px;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transition: all .25s;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
}

.pagination-question li a:hover {
    color: transparent;
}

.pagination-question li a:hover:before {
    box-shadow: inset 0 0 0 4px #5eb645;
    transform: scale(.3);
    -webkit-transform: scale(.3);
    -moz-transform: scale(.3);
    -ms-transform: scale(.3);
    -o-transform: scale(.3);
}

.pagination-question li.is-active a:before {
    box-shadow: inset 0 0 0 2px #5eb645;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

.pagination-question li.is-active a:hover {
    color: #5eb645;
}

.btn-arrow {
    background-color: #5eb645;
    border: none;
    color: white;
    text-align: center;
    opacity: 0.6;
    transition: 0.3s;
}

.btn-arrow:hover {
    opacity: 1;
}

/*Herramientas*/

/*Errores en los formularios*/

.filtroError {
    box-shadow: 0 0 2px red !important;
    border: 1px solid red !important;
}

b.title-list {
    text-transform: capitalize;
}

#divPrint {
    width: 100%;
}

.previewView {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

#scroll-print {
    height: 72vh !important;
    overflow-y: scroll !important;
}

table.print-title-content {
    counter-reset: h3;
    text-align: justify;
}

.print-title-content {
    margin-top: -50px !important;
}

table.print-title-content tr td > .question-value, .question {
    font-weight: bold !important;
}

table.print-title-content tr td > .information {
    color: #7d7d7d;
    font-size: 12px;
}

table.print-title-content tr td > .ofv-title {
    text-transform: capitalize;
    border-bottom: 3px solid #007234;
    z-index: 999 !important;
    position: relative !important;
}


table.print-title tr.vertical > td {
    font-size: 13px;
}

table.print-title tr td > ul.print-element {
    padding-top: 28px !important;
}

table.borderless td, table.borderless th {
    border: none !important;
}


.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}

@keyframes spin {
   from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spinw {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spinm {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

#wrap-simulator {
    margin-left: 30px;
}

.col-btn {
    padding: 2px !important;
}

input[disabled] {
    background-color: #e9ecef !important;
}

.longText {
    font-size: 7.7px;
}

    .longText:hover {
        font-size: 7.7px !important;
    }

/*************************/

.wrap-listCat li::after,
.wrap-listCat li::before {
    z-index: -1;
}

.wrap-listCat {
    margin-left: 80px;
    list-style: none;
}

.wrap-listCat li {
    margin: 0px 0px 2px 0px;
    border-bottom: 2px solid #5eb645;
    max-width: 498px;
    padding: 8px;
    font-weight: 100 !important;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
    cursor: pointer;
}


.wrap-listCat li::before {
    counter-increment: list-category;
    content: counter(list-category)". ";
}

.wrap-listCat li:hover {
    background-color: #5eb645;
    color: white !important;
    font-weight: bolder;
}

.is-formcomplete {
    background-color: #5eb645;
    color: white !important;
}

.is-formcomplete::after {
    font-family: 'Glyphicons Halflings';
    float: right;
    margin-right: 20px;
    content: "\e013";
    font-size: 14px;
}

/******/
.lista-seleccionada {
    margin-left: 19px;
}

.importante {
    font-weight:bold !important;
    color:#000 !important;
}

.is-disabled {
    pointer-events: none;
    opacity: .4;
}

.info-formulario-listo {
    font-size:13px;
    font-weight:600;
}


.btn-arrow {
display:none;
}

small span {
    color:#00a65a !important;
    font-weight:bold;
}

.small, small {
    
    font-size: 110% !important;
}

.close {

    opacity: 0.7 !important;
    color: red !important; 
}

.glyphicon-ok {

        float: right !important;
    font-size: 20px !important;
    color: #5eb645 !important;
}
