@import url('/css/fontawesome.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 5px;
    font-size: 85%;
    font-weight: normal;
    letter-spacing: 1px;
    color: #6f7890;
    text-transform: uppercase;
    padding-top: 20px;
}

h6 {
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: normal;
    font-size: 85%;
    color: #6f7890;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2 {
    /* margin-bottom: 2.5rem; */
    font-family: inherit;
    font-weight: 300;
    line-height: 1.2;
    /* color: white; */
    font-size: 2rem;
    margin-top: 8px;
}

nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

nav ul:first-of-type li a {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 5px;
    font-size: 85%;
    font-weight: normal;
    letter-spacing: 1px;
    color: #6f7890;
    text-transform: uppercase;
    padding-top: 20px;
}

nav ul li a {
    color: #cfd2da;
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    background-color: #31373d;
    margin: 0 1rem 0.5rem;
    margin-left: 1rem;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #fff;
    display: block;
}

nav.nav {
    border-bottom: 1px solid #444;
    padding: 0 10px 20px;
}

nav.nav p {
    border-radius: 5px;
    background: #434857;
    color: #777b85;
    padding: 20px;
}

footer {
    background: #434857;
}

footer ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    align-items: center;
    justify-content: space-evenly;
}

footer ul li {
    padding: 10px 20px;
}

footer ul li a {
    color: #cfd2da;
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    background-color: transparent;
}

.manage_login_form {
    width: calc(100% - 10vw);
    /* width: 100%; */
    max-width: 660px;
}

hr {
    border-top: 1px solid rgb(67, 72, 87);
    border-right-style: initial;
    border-bottom-style: initial;
    border-left-style: initial;
    border-right-color: initial;
    border-bottom-color: initial;
    border-left-color: initial;
    border-width: 1px 0px 0px;
    border-image: initial;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

ul.ui-sortable {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

ul.ui-sortable li {
    display: block;
    background: #434857;
    margin: 10px;
    width: calc(30% - 20px);
    min-width: 200px;
    padding: 10px 10px 7.5px;
    border-radius: 5px;
    cursor: -webkit-grab;
    float: left;
}

ul.ui-sortable li .slide_title,
ul.ui-sortable li .photo_title {
    white-space: nowrap;
    color: #99a0b1;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ui-sortable-placeholder {
    visibility: visible !important;
    width: 1px !important;
    min-width: 1px !important;
    padding: 1px !important;
}

.ui-sortable-helper {
    opacity: 0.6;
}

.slideeditthumb {
    padding-bottom: 50%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.photoeditthumb {
    /* padding-bottom: 50%; */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 230px;
}

.photoeditthumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slideeditwrap,
.photoeditwrap {
    display: flex;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid #777b7969;
}

.slideeditwrap>div,
.photoeditwrap>a {
    display: flex;
    width: 50%;
    align-items: center;
    justify-content: center;
    padding: 5px 0 7px;
    color: #99a0b1;
    transition: .5s all ease;
}

.slideeditwrap>div:first-of-type,
.photoeditwrap>a:first-of-type {
    border-right: 1px solid #767a785c;
}

.slideeditwrap>div:hover,
.photoeditwrap>a:hover {
    background: #767a78;
    color: #fffee0;
    cursor: pointer;
}

p.tip {
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

p.tip i {
    font-size: 1.3em;
    margin-right: 0.4em;
}

p.tip span {
    color: grey;
    padding: 2px;
}

.button:focus {
    box-shadow: rgba(25, 151, 198, 0.5) 0px 0px 0px 0.2rem;
}

.button {
    display: block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    font-size: 0.9rem;
    line-height: 1.5;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    color: rgb(255 255 255);
    background-color: #1997c6;
    background-image: none;
    border-color: rgb(25, 151, 198);
    margin: auto;
    font-family: Montserrat;
    text-transform: uppercase;
    padding: 1rem 0.2rem;
    width: 100%;
}

.button:active {
    color: rgb(255, 255, 255);
    background-color: rgb(25, 151, 198);
    border-color: rgb(25, 151, 198);
}

.button:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(25, 151, 198);
    border-color: rgb(25, 151, 198);
}

#mng_slidelist .button {
    margin-left: 50%;
}

.welcome {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.welcome p {
    border-radius: 5px;
    background: #434857;
    color: #9498a2;
    padding: 20px;
}

.contents {
    height: 100%;
    box-sizing: border-box;
    padding: 2vw;
}

.contents-in.clearfix {
    height: 100%;
    box-sizing: border-box;
}

.newslide,
#mngcat,
.formitem {
    border-radius: 5px;
    background: #434857;
    color: #99a0b1;
    padding: 20px;
}

.formitem {
    margin-bottom: 1rem;
}

.newslide label,
#mngcat label,
.formitem label {
    display: inline-block;
    /*width: 130px;*/
    text-align: right;
    padding-right: 10px;
    line-height: 20px;
    white-space: nowrap;
}

.newslide form>div,
#mngcat form>p,
.formitem>p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    box-sizing: border-box;
    white-space: nowrap;
    flex-wrap: wrap;
}

.newslide form>div>div:last-of-type {
    width: 72%;
    box-sizing: border-box;
    flex-grow: 1;
}

.formitem p:last-of-type {
    margin-bottom: 0;
}

.newslide form>div>div input,
.newslide form>div>div textarea,
.formitem>p input {
    width: calc(100%);
    box-sizing: border-box;
    margin: auto;
}

#mngcat form>p input,
#mngcat form>p textarea {
    width: calc(100% - 150px);
    box-sizing: border-box;
    margin: auto;
}

#mngcat form>p input[type="submit"] {
    width: auto
}

.formitem form>p input,
.formitem form>p textarea {
    width: 100%;
    box-sizing: border-box;
}

.formitem form>p input[type="submit"] {
    width: auto
}

input,
textarea,
select {
    padding: 0.575rem 0.95rem;
    border-radius: 0.25rem;
    border: 2px solid transparent;
    font-size: 1.1rem;
    outline: 2px solid #4e585c;
    font-family: roboto, sans-serif;
}

input:focus,
textarea:focus {
    outline: 2px solid #1997c6;
}

table.ck {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    background-color: transparent;
    border-collapse: collapse;
    /* table-layout: fixed; */
    /* overflow: auto; */
}

.ck thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #434857;
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #434857;
    text-align: left
}

.ck th,
.ck td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #434857;
    color: #cfd2da;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ck th a,
.ck td a {
    color: #1997c6;
    text-decoration: none;
}

.ck th a:hover,
.ck td a:hover {
    color: #106382;
    text-decoration: underline;
}

td.edit_delete i {
    color: #cfd2da;
    padding: 0 .3rem;
}

td.edit_delete i:hover {
    color: white;
    padding: 0 .3rem;
}

select {
    display: block;
    width: 100%;
    /* padding: 0.375rem 0.75rem; */
    /* font-size: 0.9rem; */
    /* line-height: 1.5; */
    color: #fff;
    background-color: #434857;
    background-clip: padding-box;
    border: 1px solid #434857;
    border-radius: 0.25rem;
    -webkit-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

form select {
    color: #000;
    background-color: #ffffff;
    min-width: 30px;
    flex-grow: 1;
    width: auto;
}

.filterlistings {
    display: flex;
    white-space: nowrap;
    /* margin-bottom: 30px; */
    flex-wrap: wrap;
}

.filterlistings>* {
    padding: .5rem;
    margin: 0 .75rem
}

.newsarticleinfo,
.eventinfo,
.alertinfo,
.pollinfo,
.slotinfo,
.courseinfo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.newsarticleinfo>*,
.eventinfo>*,
.alertinfo>*,
.slotinfo>*,
.courseinfo>* {
    padding: 1rem .75rem;
    margin: 0;
    white-space: nowrap;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newsarticleinfo:first-of-type>p:first-of-type,
.eventinfo:first-of-type>p:first-of-type,
.alertinfo:first-of-type>p:first-of-type,
.courseinfo:first-of-type>p:first-of-type {
    width: 100%;
    box-sizing: border-box;
}

.newsarticleinfo:first-of-type>p:first-of-type input,
.eventinfo:first-of-type>p:first-of-type input,
.alertinfo:first-of-type>p:first-of-type input,
.courseinfo:first-of-type>p:first-of-type input {
    width: 100%;
    box-sizing: border-box;
}

.subscriberinfo {
    display: flex;
    flex-direction: row;
}

.businessinfo {
    display: flex;
    flex-direction: row;
}

.businessinfo p {
    width: 100%;
    box-sizing: border-box;
}

.pollinfo p {
    width: 100%;
    box-sizing: border-box;
}

label {
    padding-right: .75rem
}

.newsarticlebody,
.eventbody,
.alertbody {
    padding: .75rem
}

.form_section {
    border-radius: 5px;
    background: #31373d;
    color: #d4d4d4;
    padding: 20px;
    margin-bottom: 20px;
    padding: 28px 2vw;
    margin-bottom: 20px;
}

.addslide_caption>div {
    /* display: flex; */
    /* box-sizing:  border-box; */
    /* white-space:  nowrap; */
    /* width:  100%; */
    width: auto;
    /* margin-bottom: 10px; */
}

.addslide_caption {
    /* flex-direction:  column; */
}

td.cellgrow {
    width: 100%;
}

.eventinfo select {
    background: white;
    color: black;
    width: 100%;
}

p.datepickwrap i {
    position: absolute;
    left: 20px;
    top: 23px;
}

p.datepickwrap input {
    padding-left: 27px;
    width: 100%;
    box-sizing: border-box;
}

.newvideo {
    border-radius: 5px;
    background: #434857;
    color: #99a0b1;
    padding: 20px;
}

.newvideo>form>div {
    margin-bottom: 15px
}

.manage_profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    background: #373e44b3;
    margin-top: 20px;
    border-radius: 10px;
    min-height: 140px;
}

.manage_profile .manage_logo {
    background: #868686;
    border-radius: 50%;
    min-height: 100px;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.manage_profile .manage_logo:after {
    content: '';
    background-image: url('/apple-touch-icon.png');
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center
}

.manage_profile .manage_title {
    font-size: 1.35rem;
    line-height: 1em;
    color: white;
    padding: 5px
}

.manage_profile .manage_title a {
    font-size: .6em;
    display: block;
    /* opacity: .6; */
    font-weight: 400;
}

.light .manage_profile {
    background: #e4e4e4;
}

form#mng_slidelist {
    background: transparent;
}

.colortheme {
    padding: 26px;
    position: relative;
    /* margin-top: auto; */
    /* flex-grow: 1; */
    justify-self: flex-end;
    margin-top: auto;
}

.colortheme i {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translate(0%, -50%);
}

.colortheme:hover {
    cursor: pointer;
}

body.light {
    background: #ffffff;
    color: #484848;
}

body.light a {
    color: #1997c6;
}

body.light form {
    /* background: #e4e4e4; */
    /* color: #464646; */
}

body.light nav ul li a {
    color: #6b94ff;
    background: #f1f1f1;
}

body.light nav ul li a:hover {
    color: #0025ff;
}

body.light form select {
    background: #ffffff;
    color: #464646;
    border: 0;
}

body.light h2 {
    color: rgb(25, 151, 198);
}

body.light .manage_profile .manage_title {
    color: #464646;
}

body.light .manage_profile .manage_logo {
    background: #d4d4d4;
}

body.light p.tip {
    color: black;
}



body.light p.tip i {
    /* border: 2px solid #000; */
}

body.light ul.ui-sortable li {
    background: #e8e8e8;
}

body.light .newslide,
body.light #mngcat,
body.light .formitem {
    background: #ffffff;
    color: #000000;
}

body.light .ck th,
body.light .ck td {
    color: #76787b;
}

body.light td.edit_delete i {
    color: #828282;
}

body.light td.edit_delete i:hover {
    color: black;
}

body.light .welcome p {
    background: #e4e4e4;
    color: #9498a2;
}

/*
Toggle Radios v1.1
by Adam Culpepper | @adamculpepper
https://github.com/adamculpepper/toggle-radios
*/

/* Customizable styles */

/* Colors: Default (blue) */
.toggle-radio {
    background: transparent;
    border: 1px solid #1997c6;
}

.toggle-radio>input:checked+label {
    background: lightblue;
}

.toggle-radio>input+label:not(:last-of-type) {
    border-right: 1px solid #1997c6;
}

/* Rounded corners */
.toggle-radio {
    border-radius: 4px;
}

/* //////////////////////////
CORE STYLES BELOW - NO TOUCHY
////////////////////////// */
.toggle-radio {
    display: inline-flex;
}

.toggle-radio>input[type='radio'] {
    display: none;
}

.toggle-radio>input[disabled]+label {
    opacity: 0.50;
}

.toggle-radio>input[disabled]+label:hover {
    cursor: not-allowed;
}

.toggle-radio>input+label {
    display: inline-block;
    margin-bottom: 0;
    padding: 5px 10px;
    float: left;
    cursor: pointer;
}

/* Transitions */
.toggle-radio>input:checked+label {
    transition: background 300ms linear;
}

/* //////////////////////////
CORE STYLES ABOVE - NO TOUCHY
////////////////////////// */

/* Style: Rounded */
.toggle-radio[data-style='rounded'] {
    border-radius: 500px;
    overflow: hidden;
    color: #1997c6;
    margin-right: 1em;
}

/* Style: Square */
.toggle-radio[data-style='square'] {
    border-radius: 0;
}

/* Color: Red */
.toggle-radio[data-color='red']>input:checked+label {
    background: rgba(231, 76, 60, 0.60);
}

/* Color: Orange */
.toggle-radio[data-color='orange']>input:checked+label {
    background: rgba(230, 126, 34, 0.60);
}

/* Color: Yellow */
.toggle-radio[data-color='yellow']>input:checked+label {
    background: rgba(241, 196, 15, 0.60);
}

/* Color: Green */
.toggle-radio[data-color='green']>input:checked+label {
    background: rgba(46, 204, 113, 0.60);
}

/* Color: Blue */
.toggle-radio[data-color='blue']>input:checked+label {
    background: rgba(52, 152, 219, 0.60);
}

/* Color: Purple */
.toggle-radio[data-color='purple']>input:checked+label {
    background: rgba(155, 89, 182, 0.60);
}

/* Color: Gray */
.toggle-radio[data-color='gray']>input:checked+label {
    background: rgba(85, 85, 85, 0.60);
}

ul.pager_public {
    list-style: none;
    padding: 0;
    margin: auto;
    display: flex;
    justify-content: center;
}

ul.pager_public .pager_link>* {
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #868686;
    line-height: 1;
    text-decoration: none;
    color: #ffffff;
    border: 3px solid #868686;
    box-shadow: inset 0 0 10px #0000008c;
}

ul.pager_public .pager_link>span {
    background: grey;
    border: 3px solid grey;
}

ul.pager_public .pager_link {
    margin: 0 0.2em;
    display: block;
}

ul.pager_public .pager_link>a:hover {
    background: #85d33c;
    border: 3px solid #85d33c;
}

ul.pager_public .pager_link.next>*:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.7em;
    text-indent: .2em;
}

ul.pager_public .pager_link.previous>*:before {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 0.7em;
    text-indent: -0.2em;
}

.table_responsive_inner {
    width: 100%;
    max-width: 100%;
    overflow: auto;
}

.mobile_header {
    display: none;
}

.table_responsive {
    width: 100%;
    max-width: 100%;
    overflow: auto;
    position: relative;
}

table.ck.fixed-column {
    position: absolute;
    display: inline-block;
    width: auto;
    background: #252830;
    border-left: 1px solid #434857;
    right: 0;
}

table.ck tr td.cellgrow,
table.ck tr th:nth-of-type(2) {
    width: 100%;
}

.form_row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.form_item .value input,
.form_item .value textarea,
.form_item .value select {
    width: 100%;
    background: #202020;
    color: #bfbfbf;
}

.submit_row {
    padding-top: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 1em;
}

.submit_row input {
    /* margin: 0 .5em; */
}

.form_item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* width: 180px; */
    margin-right: 1rem;
}

.form_item.inline {
    flex-direction: row;
    align-items: center;
}

.form_item+.form_item {
    /* margin-left: 1em; */
}



/* Gallery Uploader */

.dropzone .mr-gallery-uploader {
    width: 100%;
    display: flex;
    background: #434857;
    margin: 10px;
    min-width: 200px;
    padding: 1rem 2rem;
    border-radius: 5px;
    align-items: center;
}

.mr-gallery-uploader-options {
    margin-left: 2rem;
    flex-grow: 1;
}

.mr-gallery-uploader-options .form_row {}

button.removeimage {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    color: red;
    cursor: pointer !important;
}


.light .form_item .value input,
.light .form_item .value textarea,
.light .form_item .value select {
    background: white;
    color: #464646;
    /* outline: 2px solid #bbbbbb; */
}

.light input,
.light textarea {
    outline: 2px solid #bbbbbb;
}

.light input:focus,
.light textarea:focus {
    outline: 2px solid #1997c6;
}

.form_header {
    display: flex;
    border-bottom: 2px solid rgb(25, 151, 198);
}

.form_header h2 {
    flex-grow: 1;
}

.form_header button.edit,
.form_header button.add {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    font-size: 0.9rem;
    line-height: 1.5;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    color: white;
    background-color: rgb(25, 151, 198);
    background-image: none;
    border-color: rgb(25, 151, 198);
    margin: auto;
}

.form_header button.edit:before {
    content: '\f303';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.4rem;
}

ul#Category {
    display: inline-block;
    list-style: none;
    padding: 0;
    width: auto;
    box-sizing: border-box;
    padding: 0.8em 0;
    margin: 0;
}

ul#Category li {
    background: transparent;
    border: 1px solid rgb(25, 151, 198);
    color: rgb(25, 151, 198);
    margin-top: 0;
    margin-left: 0;
    margin-right: 0.8rem;
    margin-bottom: 0.6rem;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    position: relative;
    min-width: unset;
    width: auto;
    display: inline-flex;
    border-radius: 5px;
    float: left;
}

ul#Category li span {
    color: rgb(25, 151, 198);
    border: 1px solid transparent;
    padding: 0px 5px;
    line-height: 1.2;
}

ul#Category.editmode li:not(.add) span:hover {
    background: transparent;
    color: white;
    border: 1px dotted white;
    cursor: text;
}

ul#Category li.add {
    padding: 0;
    font-size: 1.5rem;
}

ul#Category li.add button {
    background: rgb(25, 151, 198);
    padding: 0.83rem;
    border: 0;
    color: white;
    cursor: pointer;
}

.form_header button.add:before {
    content: '\2b';
    font-family: 'Font Awesome 6 Free';
    margin-right: 0.4rem;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

a {}

ul#Category.editmode li:not(.add) {
    cursor: grab;
}

ul#Category:not(.editmode) li.selected {
    background: rgb(25, 151, 198);
    box-shadow: inset 0 0 10px #000000c4;
    color: white;
}

ul#Category li.selected span {
    color: white;
}

button.save {
    display: block;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    font-size: 0.9rem;
    line-height: 1.5;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    color: white;
    background-color: rgb(255 134 151);
    background-image: none;
    border-color: rgb(255 124 165);
    margin: auto;
}

button.cancel {
    display: block;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    font-size: 0.9rem;
    line-height: 1.5;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    color: rgb(25, 151, 198);
    background-color: transparent;
    background-image: none;
    border-color: rgb(25, 151, 198);
    margin: auto;
}

.form_header button {
    margin-left: 0.6rem;
}

button.save:before {
    content: '\f0c7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.4rem;
}

ul#Category.editmode li {
    background: rgb(25, 151, 198) !important;
    color: white !important;
}

ul#Category.editmode li span {
    color: white !important;
}

.delete_category {
    position: absolute;
    top: -0.65rem;
    right: -0.65rem;
    font-size: 1.2rem;
    line-height: 1;
    color: white;
    background: rgb(255 134 151);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px !important;
    cursor: pointer;
    width: auto;
    height: auto;
    visibility: collapse;
    opacity: 0;
    transform: scale(0);
    transition: .2s all ease;
}

.delete_category:hover {
    background: white;
    color: rgb(255 134 151);
}

.editmode span.input {
    cursor: text;
    border: 1px solid transparent;
    padding: .1rem .3rem;
}

.editmode span.input:hover {
    border: 1px dotted white;
}

span.input {
    border: 1px solid transparent;
    padding: 0.1rem 0.3rem;
}

.delete_category:hover a {
    color: rgb(255 134 151);
}

.shadow_box {
    position: fixed;
    inset: 0;
    background: #0000009e;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999999;
}
.shadow_box > div {
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

.confirm_popover {
    width: 100%;
    max-width: 740px;
    border-radius: 5px;
    background: #434857;
    color: #9da1ac;
    overflow: hidden;
}

.popover_main {
    padding: 2rem;
    flex-grow: 1;
    overflow: auto;
}

.popover_header {
    background: rgb(25, 151, 198);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.popover_header h3 {
    margin: 0;
    padding: 0.6rem 1rem;
}

button.delete_all {
    display: block;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    font-size: 0.9rem;
    line-height: 1.5;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    color: rgb(25, 151, 198);
    background-color: transparent;
    background-image: none;
    border-color: rgb(25, 151, 198);
    margin: auto;
}

button.delete_all:before {
    content: '\f2ed';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
}

.submit_row button {
    margin: 0 1rem;
}

ul#Category.editmode li.new {
    background: #49d1ab !important;
    border: 1px solid rgb(66 236 100);
}

ul#Category.editmode li.ui-sortable-placeholder {
    height: 3em;
}

ul#Category.editmode li:hover .delete_category {
    visibility: visible;
    transform: scale(1);
    opacity: 1;
}

ul#Category li:hover {
    background: rgb(61 212 255 / 30%);
    color: #35aade;
}

ul#Category li:hover span {
    color: #d4f2ff;
}

ul#Category.editmode li span:hover+.delete_category {
    visibility: collapse;
    opacity: 0;
    transform: scale(0);
}

.slide_preview img {
    object-fit: cover;
    overflow: hidden;
    position: absolute;
    max-width: 100%;
}

.slide_preview {
    position: absolute;
    inset: 3px;
    overflow: hidden;
    background: #202020;
    transition: .3s object-position ease;
    width: calc(100% - 6px) !important;
    margin: 0;
    height: calc(100% - 6px);
}

.form_row.hidden,
.submit_row.hidden {
    display: none;
}


.slide_preview.xc.yc {
    object-position: center;
}

.slide_preview.fcover {
    object-fit: cover;
}

.slide_preview.fcontain {
    object-fit: contain;
}

.slide_preview.xc.yt {
    object-position: center top;
}

.slide_preview.xc.yb {
    object-position: center bottom;
}

.slide_preview.xl.yt {
    object-position: left top;
}

.slide_preview.xr.yt {
    object-position: right top;
}

.slide_preview.xr.yb {
    object-position: right bottom;
}

.slide_preview.xr.yc {
    object-position: right center;
}

.slide_preview.xl.yc {
    object-position: left center;
}

.slide_preview.xl.yb {
    object-position: left bottom;
}

.addslide_alignment.cover.tall .horizontalalign {
    opacity: .5;
    pointer-events: none;
}

.addslide_alignment.cover.wide .verticalalign {
    opacity: .5;
    pointer-events: none;
}


.addslide_alignment.contain.tall .verticalalign {
    opacity: .5;
    pointer-events: none;
}

.addslide_alignment.contain.wide .horizontalalign {
    opacity: .5;
    pointer-events: none;
}

.slideshowuploader {
    position: absolute;
    inset: 3px;
    opacity: 0;
    z-index: 9999;
    margin: 0;
    padding: 0;
    height: 99.2%;
    width: 100%;
}

.UploadImageFileName_preview_wrap {
    position: relative;
    overflow: hidden;
    background: #202020;
    transition: .3s object-position ease;
    border: 3px dashed;
    padding: 0.3rem;
    width: fit-content;
    height: fit-content;
    margin: auto;
}

.UploadImage_helper {
    position: absolute;
    inset: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
    width: 100%;
}

.slide_preview[src] {
    z-index: 99;
}

.UploadImageFileName_preview_wrap:hover img[src]+.ChangeImage_helper {
    visibility: visible;
    opacity: 1;
}

.ChangeImage_helper {
    position: absolute;
    inset: 0;
    z-index: 99999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #095e8854;
    color: white;
    text-shadow: 0.1rem 0.1rem 0.4rem #00000059;
    visibility: collapse;
    opacity: 0;
    pointer-events: none;
    transition: .2s all ease;
}

.ChangeImage_helper i,
.UploadImage_helper i {
    display: block;
    font-size: 2rem;
    margin-bottom: .3rem;
}

.UploadImageFileName_preview_wrap:hover {
    border-color: rgb(25, 151, 198)
}

div#ViewPhoto ul {
    justify-content: center;
}

form#upload-form .dz-default.dz-message {
    width: 100%;
    padding: 1rem;
    margin: 0;
    border-color: grey;
}

.dz-default.dz-message {}

form#upload-form .dz-default.dz-message button.dz-button {
    margin: 0 auto;
    border: 0;
    color: lightgrey;
}

.editphotos_wrapper form#upload-form.dropzone {
    min-height: auto;
    margin: 0;
}

.category_wrapper {
    border-radius: 5px;
    background: #434857;
    color: #777b85;
    padding: 20px;
    margin-bottom: 20px;
}

.form_section {}

.delete_photo_confirm #shadow_delete_image {
    max-height: 190px;
    margin: 0 auto 1rem;
    display: block;
}

.form_popover {
    width: 100%;
    max-width: 980px;
    border-radius: 5px;
    background: #434857;
    color: #777b85;
    margin-bottom: 20px;
    padding: .3rem;
    max-height: 100%;
    overflow: auto;
}

img#UploadImageFileName_preview {
    position: relative;
    z-index: 99;
}

.close_popover {
    font-size: 1.5rem;
    padding: .2rem 0.6rem;
    cursor: pointer;
}

.manage_slideshow_form .UploadImageFileName_preview_wrap {
    width: 100%;
}

.form_item.inline .value+.label {
    margin-left: 0.5rem;
}

.manage .fc .fc-toolbar-title {
    display: inline-flex;
    margin-left: 1rem;
}

.fc-toolbar-chunk>div {
    display: flex;
    align-items: center;
}

.manage_cal_toolbar {
    display: flex;
    justify-content: space-between;
}

button.button.add:before {
    content: '\2b';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.6rem;
}

.cal_categories_select {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #fff;
    background-color: #434857;
    background-clip: padding-box;
    border: 1px solid #434857;
    border-radius: 0.25rem;
    -webkit-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

a.cal_categories_select:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: grey;
    margin-left: 3rem;
}

ul.cal_categories_dropdown {
    min-width: fit-content;
    width: fit-content;
    list-style: none;
    padding: 0;
    color: #fff;
    background-color: #434857;
    background-clip: padding-box;
    border: 1px solid #434857;
    border-radius: 0.25rem;
    position: absolute;
    z-index: 99999999;
    right: 0;
    top: 100%;
    margin: 0.5rem 0;
    opacity: 0;
    visibility: collapse;
}

ul.cal_categories_dropdown li {
    display: flex;
    padding: 0.6rem 0.8rem;
    align-items: center;
    border-bottom: 1px solid #5c5b5b;
    white-space: nowrap;
}

.category_colour {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    margin: 0 0.4rem;
}

.cal_categories_wrapper {
    position: relative;
}

ul.cal_categories_dropdown input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

ul.cal_categories_dropdown.show {
    opacity: 1;
    visibility: visible;
}

.event_categories_table td {
    vertical-align: middle;
}

table.event_categories_table td {
    display: flex;
    align-items: center;
    border-bottom: 1px solid grey;
    padding: 0.5rem;
    cursor: pointer;
}

table.event_categories_table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

table.event_categories_table th {
    border-bottom: 2px solid grey;
    padding: 0.5rem;
}

table.event_categories_table td:hover {
    background: #92eaff26;
}

table.event_categories_table td:hover:after {
    content: '\f044';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
}

.light .category_wrapper {
    background: #e4e4e4;
    color: #464646;
}

.light .UploadImageFileName_preview_wrap {
    background: white;
}

.light .slide_preview {
    background: whitesmoke;
}

.light table.ck.fixed-column {
    background: white;
}

.light .form_section {
    background: #e4e4e4;
    color: #464646;
}

input[type="checkbox"] {
    /* width: 26px !important; */
}

div.FilePicker div.FileManager li.MuiMenuItem-root .MuiListItemText-root {
    color: black;
}

div.FilePicker div.FileManager .MuiTreeView-root {
    color: black;
}

div.FilePicker div.FileManager .FileManager__Breadcrumbs .FileManager__Breadcrumbs__folders {
    color: black;
}

div.FilePicker div.FileManager li.MuiMenuItem-root:nth-child(3),
div.FilePicker div.FileManager li.MuiMenuItem-root:nth-child(4),
div.FilePicker div.FileManager li.MuiMenuItem-root:nth-child(5) {
    display: none !important;
}

div#filePopup ul.MuiList-root li.MuiMenuItem-root:nth-child(1),
div#filePopup ul.MuiList-root li.MuiMenuItem-root:nth-child(3) {
    display: none !important;
}

div#filePopup ul.MuiList-root hr.MuiDivider-root:nth-child(2),
div#filePopup ul.MuiList-root hr.MuiDivider-root:nth-child(4) {
    display: none !important;
}

div.FilePicker div.FileManager div.FileManager__help {
    display: none;
}


.manage_news_choosetype li a {
    border: 2px solid grey;
    padding: 1rem 2.6rem 1rem 1rem;
    display: block;
    margin-bottom: 1rem;
    background: #8080801f;
    position: relative;
    text-decoration: none;
    color: #c7c7c7;
}

.manage_news_choosetype ul {
    list-style: none;
    padding: 0;
}

.manage_news_choosetype li a h3,
.manage_news_choosetype li a p {
    margin: 0;
}

.manage_news_choosetype li a::after {
    content: '\f054';
    font-weight: 900;
    font-family: 'FontAwesome';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translate(0px, -50%);
    opacity: .5;
}


.scrollable.enabled.fade.rightfade {
    -webkit-mask-image: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%);
    mask-image: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%);
}

.scrollable.enabled.fade.leftfade {
    -webkit-mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%);
    mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%);
}

.scrollable.enabled.fade.leftfade.rightfade {
    -webkit-mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%, rgba(254, 255, 255, .95) 90%, rgba(255, 255, 255, 0) 100%);
    mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%, rgba(254, 255, 255, .95) 90%, rgba(255, 255, 255, 0) 100%);
}

.scrollable.enabled.fade.bottomfade {
    -webkit-mask-image: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%);
    mask-image: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%);
}

.scrollable.enabled.fade.topfade {
    -webkit-mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%);
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%);
}

.scrollable.enabled.fade.topfade.bottomfade {
    -webkit-mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%, rgba(254, 255, 255, .95) 90%, rgba(255, 255, 255, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(254, 255, 255, .95) 10%, rgba(254, 255, 255, .95) 90%, rgba(255, 255, 255, 0) 100%);
}

.scrollable::-webkit-scrollbar {
    display: none;
}



.scrollable.enabled {
    cursor: grab;
}

.scrollable.enabled.active {
    cursor: grabbing;
}


.light h1 {
    color: #202020;
}



.manage_news_choosetype li a:hover {
    border: 2px solid rgb(25, 151, 198);
    color: rgb(255 255 255);
}

.article_form {
    display: none;
}

.article_form.show {
    display: block;
}

.manage_news_wrapper {
    width: 100%;
    overflow: hidden;
    /* display: flex; */
}

.manage_news_wrapper.showform .manage_news_choosetype {
    /* transform: translate(-100%, 0px); */
    transition: .3s all ease;
    opacity: 0;
    position: absolute;
    right: 100%;
    visibility: collapse;
}

.submit_row .button+.button {
    margin-left: 1rem;
}

.form_item.img_upload input[type="file"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: block;
    max-width: 100%;
    z-index: 3;
}

.form_item.img_upload img {
    background: transparent;
    min-height: 13rem;
    display: block;
    border: 2px dashed grey;
    width: auto;
    min-width: 500px;
    z-index: 2;
    position: relative;
}

.form_item.img_upload .value {
    position: relative;
    width: fit-content;
}

.static_input {
    padding: 0.575rem 0.95rem;
    border-radius: 0.25rem;
    border: 2px solid transparent;
    font-size: 1.25rem;
    outline: 2px solid #4e585c;
    display: block;
}

.form_item.img_upload .value::before {
    content: 'Image Preview';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.change_image_label {
    display: none;
}

.form_item.img_upload img[src]+input+.change_image_label {
    display: block;
    position: absolute;
    top: 0;
    /* left: 0; */
    right: 0;
    /* bottom: 0; */
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 4;
    padding: .5rem 1rem;
    background: #1997c6;
    margin: 1rem;
    opacity: 0;
}

.form_item.img_upload img[src]+input:hover+.change_image_label {
    opacity: 1;
}

.form_item.img_upload img[src]+input+.change_image_label::after {
    content: '\f093';
    font-family: 'FontAwesome';
    font-weight: 900;
    margin-left: 0.7rem;
}

.button_row.align_right .btn {
    /* width: fit-content; */
    margin: 0;
    padding: 1rem 2rem;
    background: #39c59e !important;
    border: 1px solid rgb(66 236 100);
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.button_row.align_right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
}

.button_row {
    margin-bottom: 1rem;
}

a.clearlink {
    background-color: transparent;
    margin: 0;
}

.button_row.align_right .btn:hover {
    background: rgb(25 151 198 / 50%);
    color: white;
}

.editphotos_wrapper .dropzone.dz-clickable .dz-message {
    min-height: 260px;
}

header.header::-webkit-scrollbar {
    /* display: none; */
    width: 6px;
    height: 6px;
}

header.header::-webkit-scrollbar-track {
    background: #22252c;
    box-shadow: inset 0 0 5px #00000047
}

header.header::-webkit-scrollbar-thumb {
    background-color: #31373d;
    border-radius: 20px;
    border: 3px solid var(--scroll-bar-bg-color);
}

.form_row.inline .form_item.inline {
    flex-grow: 0;
}

.mng_accordionlist ul li {
    width: 100%;
    display: flex;
}

.mng_accordionlist ul li .accordioneditwrap a {
    /* flex-grow: 1; */
    padding: 0.3rem;
    text-decoration: none;
}

.mng_accordionlist ul li .accordion_header {
    flex-grow: 1;
}

.light .tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
    background-color: #31373d17;
}

.light .tabulator .tabulator-header {
    color: grey;
}

.light .tabulator-header-filter input {
    background: white;
    color: black;
}

.light .tabulator .tabulator-header .tabulator-col {
    background: #c7c7c729;
}

.light .tabulator-row {
    color: grey;
}

.light .tabulator .tabulator-footer {
    background: #ffffffe0;
}

.light select {
    background: white;
    color: black;
}

.light .tabulator .tabulator-footer .tabulator-page {
    color: black;
}

.light .tabulator .tabulator-footer .tabulator-paginator {
    color: black;
}

.light .tabulator .tabulator-footer {
    color: black;
}

.light a.clearlink {
    background: transparent;
}

.light header.header::-webkit-scrollbar-track {
    background: #f1f1f15e;
    box-shadow: inset 0 0 5px #97979721
}

.light header.header::-webkit-scrollbar-thumb {
    background-color: #e3e3e3;
    border-radius: 20px;
    border: 3px solid var(--scroll-bar-bg-color);
}

.light .tabulator-row {
    border-bottom: 1px solid rgb(21 21 21 / 10%);
}

body.light .header_inner {
    /* height: auto; */
    color: black;
}

.form_item.inline h3 {
    flex-grow: 1;
    padding-right: 1rem;
}

.value ul,
ul.item_edit {
    list-style: none;
    padding: 0;
}

.value ul li a,
ul.item_edit li a {
    margin: 0.3rem;
    display: block;
}

.value ul li,
ul.item_edit li {
    display: flex;
    width: 100%;
}

.value ul li:nth-of-type(odd),
ul.item_edit li:nth-of-type(odd) {
    background: #d2d2d270;
}

.form_item input[type="radio"] {
    outline: none;
}

ul.level-0.mr-navbar-nav li>span {
    color: grey;
    padding-left: 1vw;
    padding-right: 1vw;
    padding-left: clamp(10px, 1.5vw, 45px);
    padding-right: clamp(10px, 1.5vw, 45px);
}

.manage ul.level-0.mr-navbar-nav {
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.tabulator .tabulator-footer .tabulator-page {
    width: auto;
}.value ul li a:hover, ul.item_edit li a:hover {
    color: #034f75;
}.tabulator-cell .link_color {
    margin: -0.4rem 0.1rem;
    display: inline-flex;
    height: 1.8rem;
    width: 1.7rem;
    border-radius: 50%;
    padding: 0.2rem;
    align-items: center;
    justify-content: center;
}

.tabulator-cell .link_color:hover {
    background: #ffffff2e;
}

.manage_ac_form .tabulator .tabulator-header .tabulator-col {
    color: black;
}

.manage_ac_form .tabulator .tabulator-header .tabulator-col .tabulator-col-content {
    padding: 15px;
}

.manage_ac_form .tabulator-row .tabulator-cell {
    font-size: 22px;
    padding: 10px;
    color: #464646;
}