﻿html, body {
    height: 100%;
    scroll-behavior: smooth;
}

.fill {
    min-height: 95%;
    height: 95%;    
}

.center-block {
    display: table;
    margin: auto;
}

.hidden, .is-hidden {
    display: none;
}

.invisible {
    opacity: 0;
    filter: alpha(opacity=0);
}

.scale {
    width: 85%;
    height: auto;    
}

.upper-case {
    text-transform: uppercase;
}

.fw-lighter {
    font-weight: lighter;
}

.fw-bold {
    font-weight: bold;
}

.sin-resultados {
    color: #666;
    font-size: 1.8em;
    font-weight: lighter;
}

.label-error {
    color: #DC443F;
}
.requerido {
    background-color: #fdfd96;
}

.no-wrap{
    white-space: nowrap;
}

.text-wrap {
    word-wrap: break-word;
}

.fileupload input {
    border-color: green;
    
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-style: italic;
    font-size: 0.9em;
    text-transform: none;
}

::-moz-placeholder { /* Firefox 19+ */
    font-style: italic;
    font-size: 0.9em;
    text-transform: none;
}

:-ms-input-placeholder { /* IE 10+ */
    font-style: italic;
    font-size: 0.9em;
    text-transform: none;
}

:-moz-placeholder { /* Firefox 18- */
    font-style: italic;
    font-size: 0.9em;
    text-transform: none;
}

::placeholder {
    font-style: italic;
    font-size: 0.9em;
    text-transform: none;
}

.icon-check:before {
    font-family: FontAwesome;
    content: "\f00c";
}

.icon-times:before {
    font-family: FontAwesome;
    content: "\f05c";
}

/*#ContentPlaceHolder1_AjaxFileUpload1_UploadOrCancelButton {
    display: none;
}*/

.pointer:hover{
    cursor: pointer;
}

/* Custom Bootstrap Modal */
.modal-dialog-mobile,
.modal-content-mobile {
    /* 80% of window height */
    height: 90% !important;
}

.modal-body-mobile {
    /* 100% = dialog height, 120px = header + footer */
    max-height: calc(77vh - 120px) !important;
    overflow-y: auto !important;
}

.overflow-y {
    overflow-y: auto !important;
}

.no-overflow-x{
    overflow-x: hidden;
}

.white-space-normal{
    white-space: normal;
}

.autocomplete-item,
.autocomplete-item:active,
.autocomplete-item:visited,
.autocomplete-item:hover {
    color: #777;
    font-family: "Arial Narrow", Arial, sans-serif;
    text-decoration: none;
    white-space: normal;
    /*border: none;
    background-color: transparent;*/
}

.color-333{
    color: #333; 
}

.color-888{
    color: #888;
}

.fa-rotate-45 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.w-85 {
    width: 85% !important;
}

.alert-secondary {
    background-color: #eee;
    border-color: #ccc;
    color: #333;
}

.fit-width {
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    white-space: nowrap;
}


/* LAYOUT for Mobile */
    .titulo {
    font-size: 1.4em;
    font-weight: normal;
}

.fs-0-85 {
    font-size: 0.85em;
}

.fs-1 {
    font-size: 0.9em;
}

.fs-1-25 {
    font-size: 1.25em;
}

.fs-1-4 {
    font-size: 1.15em;
}

.fs-1-6 {
    font-size: 1.6em;
}

.fs-18px {
    font-size: 20px !important;
}

.fw-bold-r {
    font-weight: 600;
}

.panel-lightgray{
    border-color: #f4f4f4;
    background-color: #f4f4f4;
}

.gridview-1 {    
    border-spacing: 0px;
    border: none;    
    background-color: #fff;  
    margin-top: 10%;    
}

    .gridview-1 tr {
    }

        .gridview-1 tr th, .gridview-1 tr td {
            border: none;            
            padding: 1% 0 1% 0;
        }

.gridview-2 {    
    font-weight: bold;
    border-spacing: 0px;
    border: none;    
    white-space: nowrap;
    color: #777;
}

    .gridview-2 tr {
    }

        .gridview-2 tr th, .gridview-2 tr td {
            border: none;
            /*height: 40px;*/
            text-align: center;
            border-bottom: 1px solid #eaeaea;
            padding: 8px;            
        }

.borderless {
    border-spacing: 0px;
    border: none !important;    
}

    .borderless tr {    
    }

        .borderless tr th, .borderless tr td {
            border: none;            
        }

.btn-block-xs-only {
    display: block;
    width: 100%;
    margin-bottom: 2%
}

.checkbox-big input {
    width: 32px;
    height: 32px; 
    vertical-align: sub;
}

.radiobutton-m input {
    width: 26px;
    height: 26px;
    vertical-align: sub;    
}

input[type="radio"] + label {
    margin-left: 16px;
}

.cumplida {
    /*font-size: 1.25em;*/
    background-color: lightgreen;
    /*padding-top: 25px;
    padding-left: 25px;
    padding-bottom: 10px;*/
}

.no-cumplida {
    /*font-size: 1.25em;*/
    background-color: #ddd;
    /*padding-top: 25px;
    padding-left: 25px;
    padding-bottom: 10px;*/
}

.fake-prepend {
    border-collapse: separate !important;
    border: 1px solid #ccc;
    border-spacing: 0px;
    border-radius: .25rem;
    -webkit-border-radius: .25rem;
}

    .fake-prepend td {
        /*padding: 6px;*/     
    }

        .fake-prepend td.prepend-label {
            padding: 6px 12px;
            background-color: #eceeef;
            border-right: 1px solid #ccc;
        }

.border-bottom-only {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid #ccc !important;
}

.border-hover:hover,
.border-hover:focus {
    border-color: #333 !important;
}

.border-green {
    border-color: limegreen !important;    
}

.border-red {
    border-color: red !important;    
}

.bg-soft-red {
    background-color: #f2dede !important;    
}

.bg-yellow {
    background-color: #fff3a3 !important;
}

.bg-soft-yellow {
    background-color: #fcf8e3 !important;
}

.form-control {
    transition: all 0.5s ease 0s !important;
}


/* END LAYOUT for Mobile */

/* LAYOUT for Desktop: */
@media only screen and (min-width: 1025px) {
    .btn-block-xs-only {
        display: initial;
        width: initial;
    }

    .titulo {
        font-size: 2.1em;
        font-weight: lighter;
    }

    .fs-1 {
        font-size: 1em;
    }

    .fs-1-4 {
        font-size: 1.4em;
    }

    .fw-bold-r {
        font-weight: normal;
    }
}
/* END LAYOUT for Desktop */
