/*todo implement dark mode support */
@media (prefers-color-scheme: dark) {
    body {
            background: lightgrey;        
        }
    div.inicio {
        background: rgba(55, 63, 83, 0.85);
        padding: 40px;
    
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
    .icon-color{color: white !important;}
}
@media (prefers-color-scheme: light) {
    body {
        background: white;
    }
    div.inicio {
        background: rgba(255, 255, 255, 0.90);
        padding: 40px;
        border-radius: 5px;
    
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
    .icon-color{color: black !important;}
}
@media (hover: hover) {
    #hdMain { /* this is the ID selector */
        overflow: scroll;
    }
    /*Chrome, Safari */
    ::-webkit-scrollbar {
        width: 15px !important;
        height: 15px !important;
    }
    /*background-color: #C2D2E4 !important;*/
    ::-webkit-scrollbar-track-piece {
        background-color: #ecdcdc !important;
    }
    ::-webkit-scrollbar-thumb:vertical {
        height: 30px !important;
        background-color: #949546 !important;
    }
}

@font-face {
    font-family: 'CalibriWFront';
    font-display: fallback;
    src: url('/res/CalibriFront.woff2') format('woff2');
}
html, body {
    height: 100%;
    width: 100%;
    margin: 0 auto;  
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    cursor: default;
    /* overflow: auto; */
    -webkit-overflow-scrolling: touch;
    font-size: calc(13px + 0.35vw);
    font-family: Calibri, 'CalibriW', 'CalibriWFront', monospace;
    
}
body, html, #map_canvas {
    height: 100%;
    margin: 0;
    width: 100%;
    /*max-width:600px;*/
    /*overflow: auto;*/
}
/*https://medium.com/appscope/designing-native-like-progressive-web-apps-for-ios-1b3cdda1d0e8*/
body {
   -webkit-tap-highlight-color: transparent;
     -webkit-touch-callout: none;
}
li { padding: 4px }
img { vertical-align: middle; 
 -webkit-user-drag: none; }
table.cssStyleTableOfferWarnings {
    text-align: left;
    color: gray;
    vertical-align: middle;
    width: 100%;
    padding-left: 1rem;
    font-size: calc(19rem / 20);
}
table.paddingTable.allTD-5 thead tr th,table.paddingTable.allTD-5 tbody tr td{padding:5px}tr{padding:5px}
table.paddingTable.allTD-10 thead tr th,table.paddingTable.allTD-10 tbody tr td{padding:10px}tr{padding:10px}

.cssHiddenImportant {
    display: none !important;
}
.cssBodyContent {
    flex: 1 0 auto;
}
.cssDropdown span.value { display: none; }
.cssDropdown .dd ul li a { padding: 115px; display: inline-block; }
.cssDropdown img.flag { border: none; vertical-align: middle; /*margin-left: 10px;*/ margin-left: calc(10rem / 20); }
.cssDropdown .dd ul { background: #e4dfcb none repeat scroll 0 0; border: 1px solid #d4ca9a; display: none; left: 0; padding: 5px 0; position: absolute; top: 2px; width: auto; min-width: 170px; list-style: none; }
.cssDropdown .dd, .cssDropdown dt, .cssDropdown ul { margin: 0; padding: 0; z-index: 100; }
.cssDropdown .dd { position: relative; }


.cssPopper {
    border-radius: calc(15rem / 20);
    padding: calc(15rem / 20);
}
.cssSizeFontButton {
    font-weight: bold; font-size: 1.4em; }
.cssCenter { text-align: center; }
/* .cssPositionAbsoluteXY { display: inline-block; position: absolute; left: 50%; top: 50%; transform: translateY(-50%) translateX(-50%); }
.cssPopupKillableBlack::after {
    content: '';
    display: inline-block;
    top: -95%;
    left: -170%;
    height: 800%;
    width: 440%;
    vertical-align: middle;
    position: absolute;
    background-color: black;
    opacity: .8;
    z-index: 9998;
    transform: translateZ(-1px);
}
.cssPopupKillableBlack { transform-style: preserve-3d; z-index: 9999;     z-index: 9999999999 !important;}
.cssPopupSimpleBlack { transform-style: preserve-3d; z-index: 9999;     z-index: 9999999999 !important;} */


/* .padding.all-10{
    padding:10px
}
.padding.all-5{padding:5px}
table.paddingTable.allTD-5 thead tr th,table.paddingTable.allTD-5 tbody tr td{padding:5px}tr{padding:5px}
table.paddingTable.allTD-10 thead tr th,table.paddingTable.allTD-10 tbody tr td{padding:10px}tr{padding:10px} */

.cssbutton {
    border-radius: 0.5rem;
    border-color: transparent;
    background-color: rgb(81, 146, 210);
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 16px;
    padding: 0.3rem 0.5rem 0.3rem 0.5rem;

}
.cssCoto {
    border-radius: 0.6rem;
    border-color: transparent;
    background-color: rgb(81, 146, 210);
    color: rgb(255, 255, 255);
    opacity: .77;
    text-align: center;
    margin: 0.75rem auto auto;
}
.imagen-background {
    background-image: url('/page/fondo_inicio.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;  
    background-size: cover;
  
}
.transition-color{
   
    background-image: linear-gradient(to right, #373F53 ,rgba(55, 66,83, 0.73));
}
.transition-color-login{
    background-image: linear-gradient(180deg, #373F53 ,rgba(255, 102,55, 0.79));
}
 
  /* label underline focus color */
  .input-field input[type=email]:focus.login,input[type=password]:focus {
    border-bottom: 1px solid white !important;
    box-shadow: 0 1px 0 0 white !important;
  }
.cssPageButton {
    display: inline-block;
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    min-width: 2rem;
    margin: 0.3rem;
    border-radius: 0.4rem;
}
::-webkit-scrollbar {
    width: calc(15rem / 20);
    opacity: .78;
}
::-webkit-scrollbar-track {
    opacity: .78;
}
/* https://codepen.io/flesler/pen/AEIFc */
/* content editable placeholders */
[contenteditable=true]:empty:before {
    content: attr(data-placeholder);
    display: block; /* For Firefox */

    color: rgba(134, 99, 99, 0.48)
}
[contenteditable=false]:empty:before {
    content: attr(data-placeholder);
    display: block; /* For Firefox */
    color: rgba(134, 99, 99, 0.48)
}