/* ----- Элементы форм ----- */

select, input, textarea {
    background: #fff;
    border-color: #9ad;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 4px;
    
}

label {
    color: #68b;
    font-weight: bold;
    font-size: 0.8em;
}

label > input[type="radio"] {
    vertical-align: -2px;
}

#sub_panel select, input {
    max-width: 216px;
}

form p {
    padding: 4px 4px 0;
    margin: 4px 4px 0;
    color: #68b;
}

form.content_form {
    border-radius: 8px;
    padding: 8px;
    margin: 8px 4px;
    border: 1px solid #cef;
    width: max-content;
}


div.error_msg {
    border-radius: 16px 16px 16px 0;
    background: #fdd;
    overflow: hidden;
    padding: 0;
    margin: 8px;
    max-width: 800px;
    width: max-content;
}

div.error_msg > h4 {
    background: #f99;
    color: #fedddd;
    margin: 0 0 16px;
    padding: 8px 32px 0 16px;
    line-height: 0.5em;
    text-align: left;
    font-weight: bold;
    font-size: 3em;
    overflow: hidden;
}

div.error_msg > p {
    color: #a00;
    padding: 0 16px 16px;
}

div.success_msg {
    border-radius: 16px 16px 16px 0;
    background: #dfd;
    overflow: hidden;
    padding: 0;
    margin: 8px;
    max-width: 800px;
    width: max-content;
}

div.success_msg > h4 {
    background: #ada;
    color: #dfd;
    margin: 0 0 16px;
    padding: 8px 32px 0 12px;
    line-height: 0.5em;
    text-align: left;
    font-weight: bold;
    font-size: 3em;
    overflow: hidden;
}

div.success_msg > p {
    color: #080;
    padding: 0 16px 16px;
}

.upload_button {
    display: block;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    padding: 8px 16px;
    margin: 8px;
    background: #afa;
    color: #08c;
    border-radius: 8px;
}

.upload_button:hover {
    background: #7d7;
    color: #058;
}

.content_button {
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    color: #18b;
}

.link_button {
    display: block;
    max-width: max-content;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    padding: 8px 16px;
    margin: 8px;
    background: #cef;
    color: #08c;
    border-radius: 8px;
    border-bottom: 1px solid rgba(0,0,0,0);
}

.link_button:hover {
    color: #046;
    border-bottom-color: #7df;
}

.button_green {
    color: green;
}

.button_green:hover {
    color: green;
    text-decoration: underline;
}

.button_orange {
    color: orange;
}

.button_orange:hover {
    color: orange;
    text-decoration: underline;
}

.month_button, .verify_button {
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    color: #18b;
}

.month_button:hover, .verify_button:hover {
    text-decoration: underline;
}


/* TAF LIST */

nav.taf_list {
    
}

nav.taf_list > h5 {
    padding: 8px 8px 4px;
    margin: 0;
    color: #68b;
}

nav.taf_list > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 100px;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}

nav.taf_list > ul > li {
    padding: 0;
    margin: 2px;
    cursor: pointer;
    border-radius: 4px;
}

nav.taf_list > ul > li > a {
    font-family: monospace;
    display: block;
    text-decoration: none;
    padding: 4px 8px;
    margin: 0;
    color: inherit;
}

nav.taf_list > ul > li[sel] > a {
    text-decoration: underline;
}

nav.taf_list > ul > li > a:hover {
    text-decoration: underline;
}


nav.taf_list.taf_parsed  > ul > li {
    background: #8e8;
    color: #057;
}

nav.taf_list.taf_parsed  > ul > li:hover {
    background: #057;
    color: #fff;
}


nav.taf_list.taf_error  > ul > li {
    background: #faa;
    color: #705;
}

nav.taf_list.taf_error  > ul > li:hover {
    background: #705;
    color: #fff;
}


/* AUTH */

section.auth {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    grid-template-rows: 1fr 200px 2fr;
    grid-column-start: 1;
    grid-column-end: 3;
}

section.auth > form {
    grid-column-start: 2;
    grid-row-start: 2;
    text-align: center;
}


/* SETTINGS */

nav.sub_menu {
    margin-right: -16px;
}

nav.sub_menu > ul {
    list-style: none;
    margin: 0;
    
}

nav.sub_menu > ul > li {
    font-weight: bold;
    color: #9ad;
    border-color: #fff #9ad #fff #fff;
    border-width: 1px 1px 1px 2px;
    border-radius: 8px 0 0 8px;
    border-style: solid;
    padding: 8px 16px;
    margin: 4px -1px;
    cursor: pointer;
}

nav.sub_menu > ul > li[selected] {
    color: #000;
    border-color: #9ad #fff #9ad #9ad;
}


nav.sub_menu > ul > li:hover {
    color: #000;
}

article.basic_form {
    margin: 4px;
    padding: 4px 16px 8px 8px;
    max-width: max-content;
    color: #9ad;
    border: 1px solid #cef;
    border-radius: 8px;
}

article.basic_form > h4 {
    padding: 0;
    margin: 4px 16px 8px;
}

article.basic_form > p {
    padding: 0;
    margin: 4px;
}
    
/* SWITCHER */

article.switcher {
    font-size: 1.3em;
}

article.switcher span.arrow_bttn {
    color: #9ad;
    cursor: pointer;
    font-size: 1.2em;
}

article.switcher span.arrow_bttn:hover {
    color: #567;
}

article.switcher  span.caption {
    font-family: monospace;
}


/* SHEDULE */

span.shedule_shift {
    font-size: 0.8em;
    padding: 2px 8px;
    margin-right: 4px;
    line-height: 1.6em;
    color: #9ad;
    border: 1px solid #9ad;
    border-radius: 4px;
    cursor: pointer;
}

span.shedule_shift:hover {
    background: #9ad;
    color: #fff;
}

span.shedule_shift[data-enbl="1"] {
    background: #567;
    border-color: #567;
    color: #fff;
}

span.shedule_shift[data-enbl="1"]:hover {
    background: #9ad;
}

tr.weekend > td {
    background: #fee;
}

