/* COLORS
    header      #101070
    trauma      #B84242
    non trauma  #6767B9
    submit      #71B371
    table hdr   #8E8475
    table line1 #DACBB4
    table line2 #EAE4DB
    other       #D79C44
    menu        #EAE4DB

 */
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed&display=auto');
@viewport {
    width: device-width;
    zoom: 1;
}
*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Condensed', sans-serif;
}
html {
    font-size: 100%;
    overflow-y: scroll;
}
input { -webkit-user-select:text;}


/*  PAGE  */
.page_container {
    position: relative;
}
@media screen and (min-width: 500px) {
    .page_container {
        width: 500px;
        margin-left: auto;
        margin-right: auto;
        border: 1px solid #101070;
    }
}

/* HEADER */
.header_container {
    background-color: #101070;
    padding: 0.625rem 1rem;
}
.header_title {
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
    color: white;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.header_subtitle {
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    color: white;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.header_menu_container {
    position: absolute;
    top: 1rem;
    right: 1rem;
    float: right;
    cursor: pointer;
}
.body_container {
    padding: 0 1rem;
}

/* MENU */
.menu_wrapper {
    height: 0px;
    overflow: hidden;
}
.menu_container {
    background-color: #EAE4DB;
    padding: 6px 46px 16px 46px;
}
.menu_container ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.menu_container li{
    margin-top: 10px;
}
.menu_container li a{
    text-decoration: none !important;
    color: black;
    font-weight: bold;
    letter-spacing: 0.05rem;
}


.user_name {
    text-align: center;
    font-weight: bold;
}
.group_message {
    text-align: center;
    font-weight: normal;
    font-size: 0.8rem;
}

/* bgd colors */
.trauma_bgd {
    background-color: #B84242;
}
.non-trauma_bgd {
    background-color: #6767B9;
}
.other_bgd {
    background-color: #D79C44;
}
.other_soft_bgd {
    background-color: #F3CD95;
}
.summary_header_bgd {
    background-color: #8E8475;
}
.even_line_bgd {
    background-color: #DACBB4;
}
.odd_line_bgd {
    background-color: #EAE4DB;
}
.white_bgd {
    background-color: #FFFFFF;
}

/* spacing */
.space_majorPlus {
    margin-top: 50px;
}
.space_major {
    margin-top: 32px;
}
.space_minor {
    margin-top: 16px;
}
.space_items {
    margin-top: 10px;
}
.left_margin {
    margin-left: 16px;
}

/* labels */
.label_major {
    letter-spacing: 0.05rem;
    font-size: 1rem;
    font-weight: bold;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.label_minor {
    letter-spacing: 0.05rem;
    font-size: 0.8rem;
    font-weight: normal;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* AGENCY  */
.agency_container {
    text-align: center;
}
.agency_container select {
    font-size: 1rem;
    font-family: 'Roboto Condensed', sans-serif;
    padding: 5px 10px;
}
.agency_name {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}
.agency_list {

}
.text_container {

}



.submit_btn {
    height: 3rem;
    background-color: #71B371;
    border: 2px solid black;
    cursor: pointer;
    opacity: 1;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.submit_btn:hover {
    opacity: 0.8;
}
.submit_btn div{
    position: relative;
    top: 0.45rem;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.05rem;
    color: white;
    text-align: center;
}
.submit_message {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 0.75rem;
    text-align: center;
    color: #B84242;
}


/* inputs */

.input_container {

}
.input_title {
    font-size: 0.75rem;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.text_input {
    margin-top: 2px;
    font-family: inherit;
    font-size: 1.1rem;
    padding-left: 3px;
    width: 100%;
}
.input_message {
    padding-top: 4px;
    font-size: 0.75rem;
    color: #B84242;
}
.textarea_input {
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    height: 10rem;
}
.show_password {
    margin-top: 1px;
    float: right;
    padding: 3px 6px;
    border: 1px solid lightgray;
    font-size: 0.8rem;
    cursor: pointer;
}

/* sortables */

.sortable_add_header {

}
.sortable_add_icon {
    display: inline-block;
    width: 18px;
    position: relative;
    top: 3px;
}
.sortable_add_header_label {
    display: inline-block;
    margin-left: 8px;
}
.sortable_buffer {
    min-height: 10px
}
.sortable_item_container {
    border: 1px solid black;
    padding: 3px 5px;
    margin-bottom: 2px;
}
.sortable_item_text {
    display: inline-block;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    width: calc(100% - 80px);
}
.sortable_item_text_width_small {
    width: calc(100% - 110px);
}
.sortable_item_text:focus {
    outline: none;
}
.sortable_item_icon_container {
    position: relative;
    display: inline-block;
    float: right;
}
.sortable_item_icon_move {
    display: inline-block;
    position: relative;
    top: -4px;
    margin-right: 6px;
}
.sortable_item_icon_active {
    display: inline-block;
    position: relative;
    top: -8px;
    margin-right: -3px !important;
}
.sortable_item_icon_delete {
    display: inline-block;
    position: relative;
    top: 0;
}
.sortable_item_add_icon {
    display: inline-block;
    width: 18px;
    position: relative;
    top: -4px;
    margin-left: 7px;
    margin-right: 3px;
}
.subgroup_container {
    margin-left: 5%;
}



/* -----------------------------------
      I N F O R M A T I O N   M O D A L
*/
.inform_icon {
    padding-left: 5px;
    height: 1rem;
    position: relative;
    top: 0.1875rem; /* 3px */
    opacity: 0.5;
}
.inform_icon:hover {
    opacity: 1;
    cursor: pointer;
}
.inform_modal {
    display: none;
}
.inform_mask {
    display: none;
    position: fixed;
    z-index: 5000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background-color: #ffffff;
}
.inform_container_row {
    display: none;
    position: absolute;
    z-index: 5001;
    top: 6.25rem;
    width: 100%;
}
.inform_container {
    position: relative;
    max-width: 35.83vw;
    min-width: 300px;
    margin-left: auto;
    margin-right: auto;
    background-color: #EAE4DB;
    padding: 5vw;
}
.inform_close {
    position: absolute;
    top: 2.77vw;
    right: 2.77vw;
    font-size: 0.75rem;
    letter-spacing: 1.1px;
    color: black;
}
.inform_title {
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-align: center;
    color: black;
    margin-bottom: 2.5rem;
}
.inform_subtitle_container {
    display: flex;
    justify-content: center;
}
.inform_subtitle {
    display: inline-block;
    font-size: 1rem;
    color: black;
}
.inform_subtitle_spacer {
    display: inline-block;
    width: 1rem;
}
.inform_dimmed {
    opacity: 0.5;
    -webkit-transition: 0.2s;
    -moz-transition:  0.2s;
    -ms-transition:  0.2s;
    -o-transition:  0.2s;
    transition:  0.2s;
    cursor: pointer;
}
.inform_dimmed:hover {
    opacity: 1;
}
.inform_content_container {
    margin-top: 2.5rem;
    color: black;
    font-size: 1rem;
}
.inform_content_container ul {
    /*list-style-type: none;*/
    margin: 0;
    padding: 0;
}
.inform_content_container li {
    margin: 0.75rem;
}
.inform_message_text {
    width: 100%;
    font-size: 1rem;
    color: black;
    text-align: center;
}
.inform_content_input {
    width: 100%;
    font-size: 1rem;
    color: black;
    border: 0;
    border-bottom: 1px solid black;
}
.inform_cancel {
    margin-top: 1rem;
    font-size: 1rem;
    color: black;
    text-align: center;
    -webkit-transition: 0.2s;
    -moz-transition:  0.2s;
    -ms-transition:  0.2s;
    -o-transition:  0.2s;
    transition:  0.2s;
    cursor: pointer;
}
.inform_submit_container {
    display: flex;
    justify-content: center;
}
.inform_submit {
    margin-top: 2.5rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    font-size: 1rem;
    text-align: center;
    color: #ffffff;
    background-color: #71B371;
    border: 1px solid #71B371;
    -webkit-transition: 0.2s;
    -moz-transition:  0.2s;
    -ms-transition:  0.2s;
    -o-transition:  0.2s;
    transition:  0.2s;
    cursor: pointer;
    opacity: 0.8;
}
.inform_submit:hover {
    opacity: 1;
}
.inform_display_icon {
    display: inline-block;
    width: 18px;
    position: relative;
    top: 3px;
    margin-left: 0;
    margin-right: 3px;
}


/* MODALS */
.modal__mask {
    display: none;
    opacity: 0.9;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: hsl(0,0%,100%);
}
.modal__wrapper {
    display: none;
    position: absolute;
    z-index: 101;
    top: 10%;
    width: 100%;
}
.modal__container {
    position: relative;
    max-width: 35vw;
    min-width: 300px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    padding: 3vw 4vw;
    border: 1px solid black;
}
.modal__title {
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
}
.modal__content {
    margin-top: 1rem;
}
.modal__action_container {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.modal__action {
    border: 2px solid black;
    padding: 10px 20px;
    cursor: pointer;
    opacity: 1;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.modal__action--cancel {
    background-color: white;
    color: black;
}
.modal__action--submit {
    background-color: #71B371;
    color: white;
    font-weight: bold;
    letter-spacing: 0.05rem;
}








/* custom input radio and check */

.check_radio_item {
    position: relative;
    display: inline-block;
    margin-right: 1.5rem;
}

.check_radio_item input[type=radio],
.check_radio_item input[type=checkbox] {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
}

.radio_label,
.checkbox_label {
    padding-left: 21px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.radio_label::before, .radio_label::after,
.checkbox_label::before,
.checkbox_label::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.radio_label::before {
    left: 0;
    top: 10px;
    background: url("/public/static/images/radio-off.svg") no-repeat center center;
    background-size: 1rem 1rem;
}
.checkbox_label::before {
    left: 0;
    top: 10px;
    background: url("/public/static/images/checkbox-off.svg") no-repeat center center;
    background-size: 1rem 1rem;
}
.radio_label::after,
.checkbox_label::after {
    left: 3px;
    display: none;
}

.radio_label::before {
    /*border-radius: 50%;*/
}

.checkbox_label::before {
    /*border-radius: 3px;*/
}

.check_radio_item input[type=radio]:checked + label::before {
    background: url("/public/static/images/radio-on.svg") no-repeat center center;
    background-size: 1rem 1rem;
    border: none;
    box-shadow: none;
}
.check_radio_item input[type=checkbox]:checked + label::before {
    background: url("/public/static/images/checkbox-on.svg") no-repeat center center;
    background-size: 1rem 1rem;
    border: none;
    box-shadow: none;
}

.check_radio_item input[type=radio]:checked + label::after,
.check_radio_item input[type=checkbox]:checked + label::after {
    display: block;
}







/* busy spinner css   */
.busySpinner {
    display: none;
    z-index: 1000;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    opacity: 0.9;
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid hsl(210,100%,20%);
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 1.5s linear infinite;
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}




/* FOOTER */
.footer {
    min-height: 6rem;
}