/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 :root {
    --grey: #f0f0f0;
    --light-grey : #f9f9f9;
}

.border-grey {
    border: 1px solid var(--grey);
}
.wpcrudapp-bg-light-grey { background-color: var(--light-grey) !important; }
.wpcrudapp-img-file-preview { background-size: cover; background-position: center center; display: block; width: 80px; height: 80px; }
.fa-icon {
    width: 16px;
    height: 16px;
}

/* UK */
.uk-notification-message {
    background-color: #fff!important;
    box-shadow: 4px 10px 14px -3px rgba(0,0,0,0.37);
    -webkit-box-shadow: 4px 10px 14px -3px rgba(0,0,0,0.37);
    -moz-box-shadow: 4px 10px 14px -3px rgba(0,0,0,0.37);
}

/* select2 */
.uk-scope .select2-results ul {
    padding-left: 0px!important;
    margin: 0px!important;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: 0px!important;
    border-color: #e5e5e5!important;
}
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    height: 40px!important;
}
textarea.select2-search__field {
    font-family: inherit!important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px!important;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    padding-top: 10px;
    color: #000!important;
}


table, td, th {
    border-right :none!important;
    border-left :none!important;
}

#frontend-content {
    padding: 0px;
}
#frontend-content .wrapper.member {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
#frontend-content .app-navigation { width: 360px; }
#frontend-content #main-content { margin: 0px!important; }
.uk-button-primary  { background-color: #1b3b6e; }
.bg-blue { background-color: #1b3b6e!important; }
.bg-yellow { background-color: #f7ad3b!important; }
.app-navigation .user-badge {
    border-radius: 5px;
}

/* Form */
form#transact-form .field-container {
    margin-bottom: 10px;
}
form#transact-form .field-container label {
    margin-bottom: 3px;
}
.uk-scope #form-section .uk-modal-title { font-size: 1.1rem; font-weight: 600; }

/* DataTables */
.dt-profile-img {
    height: 40px!important;
    width: 40px!important;
    background-position: center center;
    background-size: cover;
    display: block;
    max-width: none;
}
.dt-column-img {
    height: 40px!important;
    width: auto!important;;
    background-position: center center;
    background-size: cover;
}
.dt-form-filter label { margin-bottom: 5px; }
div.dataTables_scroll { padding-top: 20px; padding-bottom: 10px; }
.dt-list { min-width:100%; }
#dt-list_length select { width: 50px; }
.dataTables_scrollBody .dt-list {
    max-width: 100%;
}
.dataTables_scrollBody .dt-link-url,
.dataTables_scrollBody .dt-link-edit,
.dataTables_scrollBody .dt-link-delete {
    display:block;
    width: 20px;
}
.dt-list th, .dt-list td { white-space: nowrap; }
div.dataTables_wrapper {
    width: 100%;
    margin: 0 auto 0 0;
}
div.dataTables_wrapper tbody tr.odd td:first-child {
    background-color: #f9f9f9;
}
div.dataTables_wrapper tbody tr td:first-child {
    background-color: #fff;
    border-right: 1px solid #eee;
}

/* ACF */
.acf-field input[type="text"] {
    font-size: inherit!important;
}
.acf-fields > .acf-field {
    border: 0px!important;
    padding: 5px 15px !important;
}
.acf-image-uploader {
    padding: 15px;
    border: 1px solid #cecece;
    margin-bottom: 20px;
}
.acf-image-uploader .acf-button {
    border-radius: 5px!important;
    margin-left: 10px!important;
}


@media only screen and (min-width: 760px) {
    #frontend-content {
        padding: 25px 25px;
    }
}

@media only screen and (max-width: 600px) {
    .uk-scope .uk-modal {
        padding: 0px!important;
        z-index: 99999!important;
    }
    #frontend-content .app-navigation { width: 100%; }
}
