
html, body {
    overscroll-behavior-x: none;
    overscroll-behavior-y: none;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

.main_title_img{
    max-height: 60px;
    cursor:pointer;
}

.action:active,.action:hover{
    cursor:pointer;
    padding:5px;
}

.action{
    cursor:pointer;
    padding:5px;
    margin:5px;
    text-align: center;
}

.help_link{
    cursor: pointer;
    text-align: center;
    margin: auto;
    border-radius: 5px;
    padding: 2px;
}

.action_disabled {
    cursor:pointer;
    padding:5px;
    text-align: center;
}

.selectable_item:hover, .selectable_item.selected {
    border-radius: 6px;
}

.ui-progressbar-value{
    border-radius: 4px;
}

.letter_value{
    border-radius:3px;
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

div {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

*{
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family:  -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

textarea{
    font-size:1rem;
    font-family:  -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.form_input_item{
    margin-bottom:5px;
}

.action.men_item{
    display:block;
    margin-top:10px;
    margin-bottom:5px;
    margin-left:20px;
    margin-right: 20px;
}

div {
    -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 */
}


@media screen and (max-width: 399px) {
    .info_action{
        padding:4px;
        margin:1px;
    }
}

@media screen and (min-width: 400px) {
    .info_action{
        padding:5px;
        margin:5px;
    }
}

@media screen and (max-width: 599px) {
    .form_label{
        display:block;
        width:100%;
    }
    input[type=text], select, textarea{
        display:block;
        width:100%;
    }
    input[type=password], select{
        display:block;
        width:100%;
    }
    #main_container{
        width:100%;
        height:100%;
    }
    #login_form{
        width:100%;
    }
}

@media screen and (min-width: 600px) {
    .form_label{
        display:inline-block;
        width:250px;
    }
    .textarea-label{
        vertical-align: top;
    }
    input, textarea{
        display:inline-block;
        width:calc(100% - 256px);
    }
    select{
        display:inline-block;
        width:calc(100% - 256px);
        min-width: 170px;
    }
    input[type='checkbox']{
        display:inline-block;
        width:calc(100% - 350px);
    }
    #main_container{
        max-width:700px;
        width:100%;
        margin: auto;
        height:100%;
    }
    #login_form{
        width:100%;
    }
}

.form_submit{
    cursor:pointer;
}

.bottom_menu.enabled{
    bottom:0px;

    -webkit-transition: bottom 0.25s ease-out;
    -moz-transition: bottom 0.25s ease-out;
    -o-transition: bottom 0.25s ease-out;
    transition: bottom 0.25s ease-out;
}

.bottom_menu{
    position:absolute;
    bottom:-30rem;
    left:0px;
    z-index: 3001;

    -webkit-transition: bottom 0.25s ease-out;
    -moz-transition: bottom 0.25s ease-out;
    -o-transition: bottom 0.25s ease-out;
    transition: bottom 0.25s ease-out;
}

.menu_mask.enabled{
    display:block;
}

.menu_mask{
    width: 100%;
    height: 100%;
    display:none;
    z-index: 3000;
    position:fixed;
    top:0;
    left:0;
}

@media screen and (max-width: 599px) {
    .bottom_menu{
        width: 100%;
    }
}

@media screen and (min-width: 600px) {
    .bottom_menu{
        width: 500px;
        left:calc(50% - 250px);
    }
}

#main_container{
    position: relative;
    overflow:hidden;
}

input[type="text"],input[type="password"],select
{
    font-size:16px;
    border : 0;
    border-radius: 5px;
    padding: 4px;
}

#back{
    cursor: pointer;
}


.ui-progressbar-value {
    height:100%;
}

.ui-progressbar{
    margin-top:3px;
    margin-left:5px;
    margin-right:5px;
    margin-bottom:10px;
}

.progress-bar{
    height:30px;
    position:relative;
    border-radius:4px;
}

.progress-label {
    position: absolute;
    left: 50%;
    top: 4px;
}

.shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0%   { transform: translate(1px, 1px) rotate(0deg); }
    20%  { transform: translate(-1px, -2px) rotate(-1deg); }
    40%  { transform: translate(-3px, 0px) rotate(1deg); }
    60%  { transform: translate(3px, 2px) rotate(0deg); }
    80%  { transform: translate(1px, -1px) rotate(1deg); }
    100% { transform: translate(-1px, 2px) rotate(-1deg); }
}

input::placeholder {
    font-style: italic;
}

.view_head{
    display: inline-block;
    width:100%;
}

.tile{
    background-size: contain;
}

.message_link{
    display:inline-block;
    cursor:pointer;
    text-decoration: underline;
}