/* ----------- CONTENT LAYOUT --------------------------------------------------------------------- */

#wrapper { /*min-height: 100%;*/
    min-height: 84vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

#container {
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 50px;
}

.column {
    float: left;
}

.tenth {
    width: 10%;
}

.sixth {
    width: 18%;
}

.fifth {
    width: 20%;
}

.quarter {
    width: 24%;
}

.third {
    width: 33%;
}

.half {
    width: 50%;
}

.twothirds {
    width: 66%;
}

.threequarter {
    width: 74%;
}

.full {
    width: 100%;
}

.content {
    padding: 0 4%;
    clear: both;
}

.content.half {
    width: 45%;
}

.content.threequarter {
    width: 56%;
}

#container > .content:last-of-type {
    margin: 0 0 60px 0;
}

.side {
    float: right;
    clear: right;
    width: 24%;
    margin: 0 4% 15px 0;
    padding: 20px 2%;
}

.side:last-of-type {
    margin-bottom: 0;
}

.side.action img, img.action {
    display: inline;
    float: left;
    width: 85px;
    margin: 0 25px 0 0;
}

.side.action h2, img.action + h2 {
    clear: none;
}

.side.action span, img.action + h2 + span {
    overflow: hidden;
}

.topMargin {
    margin-top: 40px !important;
}

.blurb {
    margin: 20px 0;
    color: #4D8AC3;
    font-size: 22px;
    font-weight: bold;
}

.left {
    float: left !important;
}

.right {
    float: right !important;
}

.txtRight {
    text-align: right;
}

.quarter:first-of-type.txtRight {
    width: 25%;
    margin: 0 2% 0 0;
}

.page-side {
    min-height: 150px;
    border: solid 1px #ddd;
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 15px;
}

img {
    width: 100%;
}

.logo {
    width: 90px;
}

.xxl-button {
    width: 21em !important;
}

/* ----------- FORMS --------------------------------------------------------------------- */

.fieldRow input[readonly="readonly"], .fieldRow textarea[readonly="readonly"], .fieldRow select[disabled="disabled"] {
    color: #666666;
    background: #D7D7D7;
}

.fieldRow div.charsleft, .fieldRow div.wordsleft {
    text-align: right;
    font-size: 11px;
}

.fieldRow .error {
    background: #FFD2D2 !important;
}

.fieldRow {
    padding-bottom: 10px;
}

#childUpload form {
    background: none;
}

#childUpload {
    margin: -10px 0 0;
}

.side form {
    padding: 0;
}

.side .fieldRow {
    padding: 4px 0;
}

.side .buttonRow {
    margin: 10px 0 10px 0 !important;
}

.side select {
    width: 99%;
    padding: 2px 1.5%;
}

.side input[type="text"] {
    width: 96%;
    padding: 2px 1.5%;
}

.findFrame {
    display: none;
    padding: 4px 0 0 0;
}

.findFrame .searching {
    padding: 5px 0 0;
    text-align: center;
}

#users .searching, #searchList .searching {
    padding: 35px 0;
    text-align: center;
}

#users .searching img, #searchList .searching img {
    max-width: 30px;
    display: block;
    margin: auto;
    margin-bottom: 20px;
}

/* File Upload Form / Button ------------------------------------------------------------------------------------ */

form.iframeSend {
    padding: 0;
}

form input.upload {
    position: fixed;
    margin: -40px;
    visibility: hidden;
}

form label.upload,
.submit-results.btn {
    width: auto;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-align: center;
    color: #696969 !important;
    cursor: pointer;
    font-family: 'Roboto', sans-serif !important;
}

form label.upload img {
    width: 16px;
    margin: 0 10px -3px 0;
}

.side form.iframeSend {
    margin: 15px 0 0;
    padding: 0;
}

.side form label.upload {
    width: 100%;
    margin: 5px 0 0;
    padding: 5px 0;
    font-size: 20px;
}

.side form label.upload img {
    width: 20px;
    margin: 0 10px -3px 0;
}

.button {
    display: block;
    margin: auto;
    background: #eee;
    padding: 6px 15px;
    margin: 7px 0;
    max-width: 200px;
    text-align: center;
    border: solid 1px #aaa;
}

.button:hover {
    cursor: pointer;
}

form .button {
    display: inline !important;
}

.expandable .fieldRow, .settings-form .fieldRow {
    padding: 10px 0;
}

.expandable .fieldRow label {
    display: block;
}

.expandable .fieldRow input:not([type='submit']):not([type='checkbox']),
.expandable .fieldRow textarea,
.expandable .fieldRow select,
.settings-form .fieldRow input:not([type='submit']):not([type='checkbox']),
.settings-form .fieldRow textarea,
.settings-form .fieldRow select {
    width: 100%;
    padding: 5px;
    background: #f5f5f5;
    border: solid 1px #ddd;
}

.row.data {
    display: block;
    overflow: hidden;
    width: 95.5%;
    padding: 5px 2%;
    border-top: 1px dotted #CCC;
}

/* File Upload List --------------------------------------------------------------------------------------------- */
.filenames > div, .operatorUser {
    overflow: hidden;
    margin: 2px 0 0;
    padding: 3px 0 2px 0;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.filenames > div img {
    float: left;
    margin: 3px 8px 0 0;
}

.filenames > div .small, .operatorUser .small {
    display: none;
}

.filenames > div:hover .small, .operatorUser:hover .small {
    display: block;
    float: right;
    position: relative;
    margin: 3px 0 0 5px;
    right: 0;
}

.fieldRow .filenames {
    float: left;
}

.fieldRow .filenames > div {
    border: 0;
}

.fieldRow .filenames > div:first-of-type {
    margin: 2px 0 0;
}

.fieldRow #filenames > div:last-of-type {
    margin: 2px 0 35px;
}

.side .filenames > div:last-of-type {
    margin: 2px 0 0;
}

.side .filenames > div, .operatorUser {
    border-top: 1px dotted #CCCCCC;
}

#filenames.replace a {
    display: block;
    text-align: center;
}

#filenames.replace img {
    max-width: 100%;
}

/* ----------- UPLOAD TILE AND RESULTS -------------------------------------------------------------- */

.result-field-rows, .inputted-results-table {
    overflow-x: hidden;
    overflow-y: auto;
}

.inputted-result-row {
    color: #777;
    font-size: 0.9rem;
}

.result-number {
    background: #aaacba9e;
    color: white;
    border-radius: 9px;
    height: 25px !important;
    width: 25px;
}

.number-one {
    background: #ffb1008f;
}

.type-select:hover {
    color: #546c84 !Important;
}

#results-delete {
    width: 100%;
    text-align: end;
    display: block;
}

.results-delete-box {
    font-weight: 700;
}

.delete-btns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.delete-box-btn {
    background-color: #F1F4F4 !important;
    border: none !important;
    font-size: 15px;
    cursor: pointer;
    padding: 10px 25px !important;
    font-weight: bold ! Important;
    border-radius: 15px ! Important;
}

.delete-box-btn:hover {
    background-color: #ededed !important;
}

.no-display {
    display: none
}

a.tile-link {
    color: #8f8f8f !important;
}

a.tile-link i {
    font-size: 40px;
    opacity: 0.75;
}

a.tile-link:hover .inner-tile {
    opacity: 0;
    transition: all 0.7s ease;
}

.outer-tile-wrap {
    position: relative;
}

.upload-tile {
    display: flex;
    font-weight: bold;
    justify-content: space-between;
    border-radius: .25rem;
    border: none;
    background-color: #f5f7f7;
    overflow: hidden;
    position: relative;
}

.video-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.youtube-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.15); /* zoom in slightly to fix the black bar issue */
}

.inner-tile {
    padding: 40px 0px;
    background-color: #f5f7f7;
    line-height: 15px;
    min-height: 150px;
    width: 100%;
    opacity: 0.5;
    transition: all 0.7s ease;
}

.remove-btn {
    background: none !important;
    border: none !important;
    cursor: pointer;
}

.upload-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

.upload-delete .remove-btn i {
    font-size: 25px;
    color: #8f8f8f !important;
}

.diary-index .fa-calendar-lines {
    margin-right: 10px;
    color: #0000ff;
}

.diary-index .fa-map-pin {
    margin-left: 5px;
    margin-right: 17px;
    color: #ff0000;
}

h6.fourteen-days {
    line-height: 10px;
}

/* ----------- SETTINGS PAGE -------------------------------------------------------------- */

.setting {
    float: left;
    overflow: hidden;
    width: 92%;
    margin: 5px 0 10px;
    padding: 5px;
}

.right .setting {
    float: right;
}

.setting img {
    float: left;
    width: 8%;
    margin: 0 3% 0 0;
}

.setting h3 {
    clear: none;
    margin: 0 0 8px;
}

.setting div {
    display: block;
    float: left;
    width: 82%;
    font-size: 14px;
}

.setting.greyed {
    background: #EBEBEB;
    color: #CCCCCC;
}

.setting.greyed h3 {
    color: #999999;
}

.setting.greyed img {
    opacity: 0.3;
    filter: alpha(opacity=30);
}

/* ----------- RANDOM --------------------------------------------------------------------- */
.ajaxIframe {
    display: none;
}

h2.expandable {
    margin: 25px 0 0;
    padding: 15px;
    color: #FFFFFF;
    background-image: url('/resources/white_down.png');
    background-position: 98% 20px;
    background-repeat: no-repeat;
    cursor: pointer;
    background-color: #333;
}

h2.expandable:first-of-type {
    margin: 0;
}

h2.expandable.selected {
    background-image: url('/resources/white_up.png');
}

h2.expandable img {
    float: right;
    width: 25px;
    margin: 0 15px 0 0;
}

div.expandable {
    padding: 25px 20px;
    border: solid 1px #ddd;
    background: #f5f5f5;
}

.sortable {
    margin: auto;
    padding: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sortable > li {
    list-style: none;
    margin: 0;
    height: auto;
}

span.handle {
    padding: 0 20px 0 0;
    cursor: n-resize;
}

li.sortable-placeholder {
    height: 30px;
}

li.sortable-dragging {
    background: #78A7D1;
    color: #FFFFFF;
}

li.sortable-dragging a {
    color: #FFFFFF;
}

.article ul {
    padding: 0;
}

.article .section {
    overflow: hidden;
    margin: 20px 0 0;
}

.article pre {
    padding: 10px;
    background: #F4F4F4;
    border: 1px solid #E5E5E5;
}

.section.editable {
    padding: 10px;
    border: 1px dotted #CCC;
}

.section .handle {
    margin: -10px -10px 10px;
    padding: 5px;
    display: block;
    background: #CCC;
}

.article img.full {
    width: auto;
    max-width: 98%;
    padding: 5px;
    border: 1px solid #CCC;
}

.alphabetFilter a {
    display: block;
    float: left;
    min-width: 13px;
    margin: 10px 0 20px 0;
    padding: 3px 5px;
    border-radius: 4px 4px 0 0;
    border: 1px solid #CCC;
    border-left: none;
    text-align: center;
    text-transform: uppercase;
}

.alphabetFilter a:first-of-type {
    border-left: 1px solid #CCC;
}

.alphabetFilter a.selected {
    margin: 8px 0 0 -1px;
    padding: 3px 5px 5px;
    color: #000000;
    border: 1px solid #000000;
    border-bottom: none;
}

.alphabetFilter a:hover:not(.selected) {
    margin: 8px 0 0 0;
    padding: 3px 5px 5px;
}

.backSpace a {
    margin: 0 15px;
}

/* -------------------------------------- Typography ------------------------------------------- */

.small-text {
    font-size: 13px !important;
}

.fw-3 {
    font-weight: 300 !important;
}

.fw-4 {
    font-weight: 400 !important;
}

.fw-6 {
    font-weight: 600 !important;
}

.display-3, .display-4 {
    font-family: 'PT Serif', serif;
}

.dark-grey-title {
    color: #63676c;
}

.fw-lightbold {
    font-weight: 600;
}

/* ---------------------------------------- General -------------------------------------------- */

.SumoSelect > .CaptionCont {
    background-color: transparent !Important;
    font-weight: 400;
    padding: 0;
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: none !important;
}

.bg-primary {
    /*background-color: #0f6da1 !important;
    background-color: #76a8c5 !important;*/
    background-color: #94d0cc !important;
}

.bg-primary-light {
    background-color: #e9fffe !important;
}

.bg-secondary {
    /*background-color: #da9415 !important;*/
    background-color: #f29191 !important;
}

.bg-curved {
    border-bottom-right-radius: 80% 70%;
}

.color-primary {
    color: #94d0cc !important;
}

.color-secondary {
    color: #f29191 !important;
}

.color-secondary-light {
    color: #eec4c4 !important;
}

.color-green {
    color: #0ec30e !important;
}

.color-red {
    color: #dc3545 !important;
}

.color-blue {
    color: #17a2b8 !important;
}

.btn-primary, .btn-primary:focus, .btn-primary:active {
    color: #fff;
    background-color: #94d0cc !important;
    border-color: #94d0cc !important;
    transition: 0.3s;
    font-size: 15px;
}

.btn-primary:hover {
    color: #fff;
    background-color: #7ebbb7 !important;
    border-color: #7ebbb7 !important;
}

.btn-primary.btn-blue {
    color: #fff !important;
    background-color: #2F4463 !important;
}

.btn-secondary, .btn-secondary:focus, .btn-secondary:active {
    color: #fff;
    background-color: #f29191 !important;
    border-color: #f29191 !important;
    transition: 0.3s;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #e08383 !important;
    border-color: #e08383 !important;
}

.btn-secondary-light, .btn-secondary-light:focus, .btn-secondary-light:active {
    color: #f29191;
    background-color: transparent !important;
    border-color: #f29191 !important;
    transition: 0.3s;
}

.btn-secondary-light:hover {
    color: #fff;
    background-color: #e08383 !important;
    border-color: #e08383 !important;
}

.bdr-top-primary {
    border-top: solid 2px #94d0cc !important;
}

.grey-bg {
    background-color: #f4f4f4 !important;
}

.dark-grey-bg {
    background-color: #eee !important;
}

.white-bg {
    background-color: #fff !important;
}

.tile {
    /*-webkit-box-shadow: 0px 1px 13px -5px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0px 1px 13px -5px rgb(0 0 0 / 20%);
    box-shadow: 0px 1px 13px -5px rgb(0 0 0 / 20%);*/
    border: 1px solid rgba(0, 0, 0, .125);
    text-align: center;
    padding: 1rem;
    height: 100%;
    background-color: #fff;
    overflow: auto;
}

.upload-info-icon {
    color: #2F4463;
}

/* ----------------------------------------- Tables --------------------------------------------- */

.table th {
    background: #eee;
}

.table tr:nth-child(odd) {
    background: #f8f8f8;
}

.table-div table {
    font-size: 14px;
}

.table-info-icon {
    font-size: 10px;
}

.table-div::-webkit-scrollbar {
    height: 10px;
}

.table-div::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-div::-webkit-scrollbar-thumb {
    background: #aaa;
}

.table-div::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: transparent !important;
}

.table > :not(caption) > * > * {
    border-bottom: none !important;
}

/* ----------------------------------------- Links --------------------------------------------- */

a, #faq-section .accordion a {
    color: #28b4f7;
}

a:hover {
    color: #097368;
    text-decoration: none;
}

.accordion a {
    color: #333;
}

.accordion a:hover {
    text-decoration: none;
}

.accordion:hover {
    cursor: pointer;
}

.accordion > .card:not(:last-of-type) {
    border: 1px solid rgba(0, 0, 0, .125) !important;
}

/* ----------------------------------------- Pages --------------------------------------------- */

#wrapper {
    min-height: 100vh;
    position: relative;
}

#content-wrapper {
    padding-bottom: 4rem !important;
}

.hero .shape img {
    height: 150px;
}

.pagination .page-count .page-link, .pagination .page-count .page-link:hover {
    color: #333;
    background-color: #fff;
}

.pagination .page-link:hover {
    cursor: pointer;
}

#pagination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

/* ----------------------------------------- Forms -------------------------------------------- */

.form-signin {
    max-width: 550px;
    margin: auto;
}

.form-signin .fieldRow {
    padding-bottom: 15px;
}

.filter-field, .filter, .filter-link {
    display: inline-block;
    max-width: 300px;
}

/* ----------------------------------------- Footer -------------------------------------------- */

#footer {
    padding: 15px;
    border: none;
    color: #333;
    text-align: center;
    line-height: 2.5rem;
    font-size: 15px;
    bottom: 0;
    min-height: 5.5rem;
}

#footer a, #footer a:hover {
    color: #333;
}

#footer ul {
    padding: 0;
    margin: 0;
}

#footer ul li {
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
}


/* --------------------------------------- Navigation ------------------------------------------ */

#top-nav, #top-nav .dropdown-menu {
    background: #94d0cc;
}

#top-nav .nav-link, #top-nav .dropdown-menu {
    padding: 0 .5rem;
    color: #fff;
    font-size: 13px;
}

#top-nav .nav-link:hover {
    color: #fff;
}

#top-nav .dropdown-menu {
    border-top: none;
    border-radius: 0;
    margin-top: 6px;
    min-width: 11rem;
}

#top-nav .dropdown-menu .nav-link {
    padding: 0px .5rem;
}

#main-nav {
    background: #2F4463;
    border-bottom: 1px solid #c9c9c961 !important;
    padding: 15px;
}

.dropdown-menu.show {
    border: none;
    border-bottom: solid 1px #eee;
}

#main-navbar .nav-link {
    color: #333 !important;
    font-size: 17px;
    border-bottom: solid 2px transparent;
}

#main-navbar .nav-link:hover {
    border-bottom: solid 2px #e08383;
}

.navbar-brand {
    margin-right: 0 !important;
}

/* Results Search Page */

.results-outer {
    min-height: 55vh;
}

#results-go {
    height: 36px;
    line-height: 16px;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;
    padding: 0 4px;

    margin-left: 6px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    color: #2F4463;
    background-color: #fff;

    border-radius: 5px;
}

/* -------------------------------------- Media queries ----------------------------------------- */

@media (min-width: 1200px) {
    .row-cols-xl-7 > * {
        flex: 0 0 auto;
        width: 14.2857142857%;
    }
}

@media (min-width: 992px) {
    #main-navbar .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (max-width: 991px) {
    #nav-payment-btn {
        display: none;
    }

    .title-placement {
        margin-top: 5px !Important;
    }

    .title-green-line {
        margin-bottom: 25px !Important;
    }

    #top-nav .d-nav-all {
        display: block !important;
        margin: 0 !important;
    }

    .navbar-brand-ghost {
        visibility: hidden;
        min-width: 5px !Important;
    }

    #main-navbar .d-nav-all {
        display: none !important;
    }

    .xxl-button {
        width: 14em !important;
    }
}





