/*
 *	General styles
 */
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

body{
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
    
    -webkit-text-size-adjust:none;
    -webkit-background-size:0.438em 100%;
    -webkit-touch-callout:none;

}

.container_full{
    width: 100%;
    height: auto;
    float: left;
    
}
.container_90{
    width: 90%;
    height: auto;
    margin-left: 5%;
    float: left; 
}
.container{
    width: 98%;
    height: auto;
    margin-left: 1%;
    float: left;
}

.container_center{
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.container_page_top{
    width: 98%;
    height: 80px;
    float: left;
    padding: 1%;
    border-bottom: 1px #eee solid;
    margin-bottom: 5px;
}

.element_container{
    height: auto;
    min-height: 40px;
    line-height: 30px;
    padding: 5px;
}
.applicationContainer{
    width: 100%;
    height: 100%;
    float: left;
    border: none;
}

/* Fonts and headers */

h1{
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.6em;
    font-weight: lighter;
    color: #444;
    margin-block-start: 0.2em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h2{
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    color: #173f5f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h3{
    font-family: 'Titillium Web', sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #444;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body a, h2 a{
    text-decoration: none;
    color: #3caea3;
}
.text_center{
    text-align: center!important;
}

/* General elements */
.element_left{
    float: left!important;
}

.element_right{
    float: right!important;
}
.element_table{
    display: table!important;
}
.element_inline_grid{
    display:inline-grid!important;
}
.element_auto_margin{
    margin-left: auto!important;
    margin-right: auto!important;
}
.element_rotate{
    animation: rotation 2s infinite linear;
}

.element_hide{
    display: none!important;
}
.element_raduis_5{
    border-radius: 5px!important;
}
.element_top_10{
    margin-top: 10px;
}
.element_top_20{
    margin-top: 20px;
}
.element_top_30{
    margin-top: 30px;
}
.element_top_40{
    margin-top: 40px;
}
.element_top_50{
    margin-top: 50px;
}
.element_bottom_10{
    margin-bottom: 10px;
}
.element_bottom_20{
    margin-bottom: 20px;
}
.element_bottom_30{
    margin-bottom: 30px;
}
.element_bottom_40{
    margin-bottom: 40px;
}
.element_bottom_50{
    margin-bottom: 50px;
}
.element_width_10{
    width: 9%!important;
}
.element_width_20{
    width: 19%!important;
}
.element_width_30{
    width: 29%!important;
}
.element_width_40{
    width: 39%!important;
}
.element_width_50{
    width: 49%!important;
}
.element_width_60{
    width: 59%!important;
}
.element_width_70{
    width: 69%!important;
}
.element_width_80{
    width: 79%!important;
}
.element_width_90{
    width: 89%!important;
}
.element_width_100{
    width: 100%!important;
}
.back_color_master{
    background-color: #173f5f!important;
}
.back_color_master_accent{
    background-color: #20639b!important;
}
.back_color_accent{
    background-color: #3caea3!important;
}
.back_color_warning{
    background-color: #e11!important;
}
.back_color_light_gray{
    background-color: #eee!important;
}
.back_color_dark_gray{
    background-color: #444!important;
}
.color_master{
    color: #173f5f!important;
}
.color_master_accent{
    color: #20639b!important;
}
.color_accent{
    color: #3caea3!important;
}
.color_warning{
    color: #e11!important;
}
.color_light_gray{
    color: #eee!important;
}
.color_dark_gray{
    color: #444!important;
}


/* Buttons */

.button_small{
    width: auto;
    height: 40px;
    line-height: 40px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 75px;
    background-color: #3caea3;
    border-radius: 3px;
    color: #eee;
    cursor: pointer;
}

/* Default elements */
input{
    width: 100%;
    line-height: 30px;
    background-color: transparent;
    font-size: 1.0em;
    border: none;
}

img{
    width: 100%;
    height: auto;
}

button{
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
}

select{
    height: 38px;
    width: 100%;
    line-height: 30px;
    border: 1px solid #ccc;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1em;
    border-radius: 0px!important;
    color: #878787;
    background-color: #eee;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 27px;
    height: 27px;
    background: none;
    -webkit-appearance: none;
    border: 2px #3caea3 solid;
    float: right;
    margin: 8px 4px 0 0;
    border-radius: 3px;
}

input[type="checkbox"]:checked {
    background-color: #20639b;
}

input[type="password"], input[type="text"] {
    width: 100%;
    max-width: 300px;
    height: 38px;
    line-height: 40px;
    padding: 5px;
    border-radius: 3px;
    border: none;
    font-size: 1.0em;
    background-color: #eee;
    margin-left: 3px;
    margin-right: 3px;
    border: 1px solid #ccc;
}

textarea, select, input, button { outline: none; }
/* Input overrides */
.input_inner_action_button{
    width: 30px;
    height: 30px;
    margin-right: 5px;
    cursor: pointer;
}

.input_60{
    width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* search block elements */
.search, .input{
    width: 100%;
    max-width: 300px;
    height: 28px;
    line-height: 40px;
    padding: 5px;
    border-radius: 3px;
    border: none;
    font-size: 1.0em;
    background-color: #eee;
    margin-left: 3px;
    margin-right: 3px;
    border: 1px solid #ccc;
}

/* image elements */
.image_container_fill_x{
    width: 100%;
    height: auto;
}

/* Overlay elements */
.overlay{
    position: absolute;
    z-index: 10;
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    display: table;
}

.overlay_center{
    display: table-cell;
    vertical-align: middle;
}

.overlay_loader{
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    text-align: center;
    background-color: #fff;
    padding:    5%;
    border-radius: 5px;
}
.overlay_loader img{
    width: 80px;
    height: 80px;
}

.overlay_content{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: auto;
    max-width: 600px;
    min-width: 300px;
    background-color: #fff;
    overflow-y: scroll;
    display: table;
    border-radius: 5px;
}
