/* Main site styles */

html, body {
    background: #fff;
    background-image: url('../images/site/page_bg_fill.png');
    background-repeat: repeat-x;
    background-position: left top;
    color: rgba(33, 37, 41, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    height: 100%;
}

.layout-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.layout-ul li {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #5B3125;
}

.clickable {
    cursor: pointer;
}

.menu-layout {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}

.menu-layout .menu-item {
    padding: 0 5px;
}

.page-wrapper {
    /*width: 1000px;*/
    height: 100%;
    margin: 0 auto;
    background-image: url('../images/site/header_left_globe.png');
    background-repeat: no-repeat;
    background-position: 18px -72px;
}

.page-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

#page_header_left {
    padding: 12px 16px 10px 16px;
}

#page_header_right {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    /*padding: 10px 12px;*/
    color: #E9D8D0;
}

#header_menu {
    position: absolute;
    right: 0;
    bottom: 5px;
}

#page_header_right .menu-item {
    margin: 0 4px;
}

#page_header_right .menu-item a {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    color: #E9D8D0;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}

#page_header_right .menu-item a:hover,
#page_header_right .menu-item a:active,
#page_header_right .menu-item.active a {
    text-decoration: underline;
}

#mobile_menu_trigger {
    position: absolute;
    right: 0;
    bottom: 5px;
    display: none;
    width: 32px;
}

.menu-item-label {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

.menu-item-label.with-icon-left {
    margin-left: 3px;
}

.menu-item-label.with-icon-right {
    margin-right: 3px;
}

.item-hidden {
    display: none;
}

.modal-sm {
    width: 25%;
}

.modal-lg {
    width: 90%;
}

section {
    padding: 16px;
}

.page-components {
    display: none;
}

#main_body {
    /*border: 1px solid #0000FF;*/
}

.main-body-content {
    margin: 16px 12px;
}

.btn-pri {
    border: 2px solid #5B3125;
    border-radius: 10px;
    background-color: #B9856C;
    color: #E9D8D0;
    font-size: 18px;
    font-weight: bold;
}

.btn-pri:hover {
    background-color: #E9D8D0;
    color: #B9856C;
}

.btn-pri.md {
    font-size: 16px;
}

.btn-pri.sm {
    font-size: 14px;
}

.form-ul {
    position: relative;
}

.fld-error {
    /* border: 1px solid red; */
    box-shadow: 0 0 7px rgba(255, 0, 0, 0.4);
}

li.btn-row {
    margin: 16px auto;
    text-align: center;
}

.btn-disabled {
    cursor: not-allowed;
}

#send_success_box {
    display: none;
    margin: 0 auto 24px auto;
    text-align: center;
}

.send-success-box {
    text-align: center;
    font-weight: bold;
}

.form-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin-bottom: 10px !important;
}

.form-row.layout-v {
    flex-flow: column;
}

.form-row-hp {
    position: relative;
    z-index: -10000;
    height: 0;
}

.form-row-hp .form-label,
.form-row-hp .form-field {
    position: absolute;
    left: -10000px;
    z-index: -10000;
}

.form-label {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    margin-right: 5px;
}

.login-formset {
    max-width: 420px;
    margin: 40px auto;
}

#contact_us_form_block .form-field {
    flex-grow: 1;
    max-width: 340px;
    min-width: 258px;
}

#contact_us_form_block .form-field.textarea {
    max-width: 90%;
    /*margin: 0 auto;*/
}

#contact_us_form_block .form-field.textarea textarea {
    min-width: 258px;
}

.users-work-container {
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.3);
}

.listing-header {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.listing-header-right {
    text-align: right;
}

.listing-headings-row,
.listing-user-row {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
}

.listing-headings-row {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.user-row {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    padding: 2px 5px !important;
}

.user-row.even {
    background-color: rgba(255, 255, 255, 0.2);
}

.user-id-cell {
    width: 10%;
}

.username-cell,
.user-name-cell,
.user-scope-cell {
    width: 30%;
}

/*.user-scope-cell {
    width: 30%;
}*/

.listing-item-cell.user-action-cell {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

.listing-item-cell.user-action-cell .inner {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
}

.listing-item-cell.user-action-cell i.fa {
    margin: 0 3px;
    font-size: 20px;
    cursor: pointer;
}

i.fa-info-circle {
    color: blue;
}

i.fa-pencil-square {
    color: darkorange;
}

i.fa-minus-square {
    color: red;
}

.form-field {
    /*flex-grow: 1;*/
}

.form-row.buttons-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.form-btn-cell {
    padding: 0 10px;
}

footer {
    text-align: center;
}

.environment {
    display: block;
}

@media (max-width: 768px) {
    #contact_us_form_block .form-field.textarea {
        max-width: 100%;
    }
}

@media (max-width: 424px) {
    #header_menu {
        display: none;
        top: 100%;
        right: -15px;
        bottom: auto;
        width: 136px;
        background-color: #B3795E;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }

    #mobile_menu_trigger {
        display: block;
    }

    .menu-layout {
        width: 136px;
        flex-direction: column;
        justify-content: flex-start;
    }
}

@media (max-width: 364px) {
    .form-label {
        display: none;
    }
}


