/* --------------------------------

Primary style

-------------------------------- */
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
    --primary-color: #f8b739;
    --primary-color-fade: #f8b73999;
    --primary-color-smooth: #fac661;
    --primary-color-hover: #d69b2b;

    --custom-layout-width: 250px;
    --custom-layout-height: 250px;

    --custom-alignment: flex-start;
}

@media only screen and (max-width: 768px) {
    :root {
        --custom-alignment: center;
    }
}

*, *::after, *::before {
    box-sizing: border-box;
}

.form-control:focus, .custom-select:focus {
    border-color: var(--primary-color-fade);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px var(--primary-color-fade);
}

::-moz-selection {
    background: var(--primary-color-smooth);
}

::selection {
    background: var(--primary-color-smooth);
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--primary-color);
}

/* keep scrollbar enabled when modal opens */
/*body.modal-open, .viewer-container {*/
/*    overflow-y: scroll !important;*/
/*}*/

html {
    /*font-size: 62.5%;*/
    overflow-x: hidden;
}

body {
    /*font-size: 1.6rem !important;*/
    font-family: "Source Sans Pro", sans-serif !important;
    color: #383838 !important;
    background-color: #f8f8f8 !important;
    font-size: 14px;
    line-height: 1.8;
    font-weight: normal;
    height: 100vh;
    width: -webkit-fill-available;
    overflow-x: hidden;
    /*background: #fafafa !important;*/
    /*color: gray !important;*/
}

a {
    /*color: #7b9d6f;*/
    /*color: #FF3D7F;*/
    color: var(--primary-color);
    text-decoration: none;
}

button {
    -webkit-transition: .3s all ease;
    -moz-transition: .3s all ease;
    transition-behavior: normal;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: all;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    transition-behavior: normal;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: all;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-color-hover) !important;
    border-color: var(--primary-color-hover) !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem #d69b2b80 !important; /* --primary-color-hover 80 */
}

.modal form {
    font-family: "Poppins", Arial, sans-serif;
    color: gray !important;
}

.modal form i {
    font-size: .8rem;
    color: #495057;
    -webkit-transition: .3s all ease;
    -moz-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.modal form i:hover {
    color: #5d7994;
}

.modal .modal-footer {
    padding-inline: 0;
}

input::-webkit-datetime-edit-day-field:focus,
input::-webkit-datetime-edit-month-field:focus,
input::-webkit-datetime-edit-year-field:focus {
    background-color: var(--primary-color);
    color: white;
    outline: none;
}

.form-control:focus {
    border-color: #f8b739;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #f8b73999;
}

label.required:after {
    content: " *";
    color: #e32;
}

/*.form-control {*/
/*    height: calc(2.5em + 0.75rem + 2px);*/
/*    border-radius: 4px;*/
/*}*/

/*input[type=date].form-control {*/
/*    height: calc(1.5em + 0.75rem + 2px) !important;*/
/*    font-size: 16px !important;*/
/*}*/

/* --------------------------------

Main Components

-------------------------------- */
.overlay-blur {
    display: none;
    position: absolute;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(15px);
    pointer-events: none;
}

.cd-horizontal-timeline {
    opacity: 0;
    margin: 5em auto;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.cd-horizontal-timeline::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'mobile';
    display: none;
}

.cd-horizontal-timeline.loaded {
    /* show the timeline after events position has been set (using JavaScript) */
    opacity: 1;
}

.cd-horizontal-timeline .timeline {
    position: relative;
    height: 100px;
    width: 90%;
    max-width: 80vw;
    margin: 0 auto;
}

.cd-horizontal-timeline ol, .cd-horizontal-timeline ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

.cd-horizontal-timeline .events-wrapper {
    position: relative;
    height: 100%;
    margin: 0 40px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.cd-horizontal-timeline .events-wrapper::-webkit-scrollbar {
    display: none; /* Safari and Opera */
}

/* these are used to create a shadow effect at the sides of the timeline */
.cd-horizontal-timeline .events-wrapper::after, .cd-horizontal-timeline .events-wrapper::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    height: 100%;
    width: 20px;
}

@media only screen and (max-width: 768px) {
    .cd-horizontal-timeline .events-wrapper::before {
        left: 0;
        background-image: -webkit-linear-gradient(left, #f8f8f8, rgba(248, 248, 248, 0));
        background-image: linear-gradient(to right, #f8f8f8, rgba(248, 248, 248, 0));
    }
}

.cd-horizontal-timeline .events-wrapper::after {
    /*right: 0;*/
    /*background-image: -webkit-linear-gradient(right, #f8f8f8, rgba(248, 248, 248, 0));*/
    /*background-image: linear-gradient(to left, #f8f8f8, rgba(248, 248, 248, 0));*/
}

.cd-horizontal-timeline .events {
    /* this is the grey line/timeline */
    position: absolute;
    z-index: 1;
    left: 0;
    top: 59px;
    height: 2px;
    /* width will be set using JavaScript */
    background: #dfdfdf;
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    -o-transition: -o-transform 0.4s;
    transition: transform 0.4s;
}

@media only screen and (max-width: 768px) {
    .cd-horizontal-timeline .events {
        z-index: auto;
    }
}

.cd-horizontal-timeline .events::before,
.cd-horizontal-timeline .events::after {
    position: absolute;
    top: 2px;
    color: #959595;
    font-size: 14px;
    z-index: 100;
}

.cd-horizontal-timeline .events::before {
    content: attr(data-content);
    left: 0;
}

.cd-horizontal-timeline .events::after {
    content: '∞';
    right: 0;
}


.cd-horizontal-timeline .filling-line {
    /* this is used to create the green line filling the timeline */
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    /*background-color: #7b9d6f;*/
    /*background-color: #FF3D7F;*/
    background-color: var(--primary-color);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -ms-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    transition: transform 0.3s;
}

.cd-horizontal-timeline .events li a {
    position: absolute;
    bottom: 0;
    z-index: 2;
    text-align: center;
    font-size: 1.25rem;
    padding-bottom: 20px;
    color: #383838;
    /* fix bug on Safari - text flickering while timeline translates */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    pointer-events: none;
}

.cd-horizontal-timeline .events .rotate {
    display: inline-block;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    pointer-events: auto;
}

.cd-horizontal-timeline .events a::after {
    /* this is used to create the event spot */
    content: '';
    position: absolute;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: -5px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    border: 2px solid #dfdfdf;
    background-color: #f8f8f8;
    -webkit-transition: background-color 0.3s, border-color 0.3s;
    -moz-transition: background-color 0.3s, border-color 0.3s;
    -o-transition: background-color 0.3s, border-color 0.3s;
    transition: background-color 0.3s, border-color 0.3s;
    pointer-events: auto;
}

@media only screen and (min-width: 768px) {
    .cd-horizontal-timeline .events a:hover::after {
        /*background-color: #7b9d6f;*/
        /*background-color: #FF3D7F;*/
        background-color: var(--primary-color);
        /*border-color: #7b9d6f;*/
        /*border-color: #FF3D7F;*/
        border-color: var(--primary-color);
    }
}

.cd-horizontal-timeline .events a.selected {
    pointer-events: none;
}

.cd-horizontal-timeline .events a.selected::after {
    /*background-color: #7b9d6f;*/
    /*background-color: #FF3D7F;*/
    background-color: var(--primary-color);
    /*border-color: #7b9d6f;*/
    /*border-color: #FF3D7F;*/
    border-color: var(--primary-color);
}

.cd-horizontal-timeline .events a.older-event::after {
    /*border-color: #7b9d6f;*/
    /*border-color: #FF3D7F;*/
    border-color: var(--primary-color);
}

@media only screen and (min-width: 1100px) {
    .cd-horizontal-timeline {
        /*margin: 6em auto;*/
    }

    .cd-horizontal-timeline::before {
        /* never visible - this is used in jQuery to check the current MQ */
        content: 'desktop';
    }
}

.cd-timeline-navigation a {
    /* these are the left/right arrows to navigate the timeline */
    position: absolute;
    z-index: 1;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: 2px solid #dfdfdf;
    /* replace text with an icon */
    overflow: hidden;
    color: transparent;
    text-indent: 100%;
    white-space: nowrap;
    -webkit-transition: border-color 0.3s;
    -moz-transition: border-color 0.3s;
    -o-transition: border-color 0.3s;
    transition: border-color 0.3s;
}

.cd-timeline-navigation a::after {
    /* arrow icon */
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    /* base64 decode */
    /*background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRw%0D%0AOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhl%0D%0AaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDE2IDMyIj48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUo%0D%0AMCwgMCkiPjxwb2x5Z29uIGZpbGw9IiM3YjlkNmYiIHBvaW50cz0iNiwxMy40IDQuNiwxMiA4LjYs%0D%0AOCA0LjYsNCA2LDIuNiAxMS40LDggIi8+PC9nPjxnICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAx%0D%0ANikiPjxwb2x5Z29uIGZpbGw9IiNkZmRmZGYiIHBvaW50cz0iNiwxMy40IDQuNiwxMiA4LjYsOCA0%0D%0ALjYsNCA2LDIuNiAxMS40LDggIi8+PC9nPjwvc3ZnPg==) no-repeat 0 0;*/
    /*background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDE2IDMyIj4KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsIDApIj4KICAgICAgICA8cG9seWdvbiBmaWxsPSIjRkYzRDdGIiBwb2ludHM9IjYsMTMuNCA0LjYsMTIgOC42LDggNC42LDQgNiwyLjYgMTEuNCw4IiAvPgogICAgPC9nPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgMTYpIj4KICAgICAgICA8cG9seWdvbiBmaWxsPSIjZGZkZmRmIiBwb2ludHM9IjYsMTMuNCA0LjYsMTIgOC42LDggNC42LDQgNiwyLjYgMTEuNCw4IiAvPgogICAgPC9nPgo8L3N2Zz4K) no-repeat 0 0;*/
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='32px' viewBox='0 0 16 32'%3E%3Cg transform='translate(0, 0)'%3E%3Cpolygon fill='%23f8b739' points='6,13.4 4.6,12 8.6,8 4.6,4 6,2.6 11.4,8' /%3E%3C/g%3E%3Cg transform='translate(0, 16)'%3E%3Cpolygon fill='%23dfdfdf' points='6,13.4 4.6,12 8.6,8 4.6,4 6,2.6 11.4,8' /%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0;
}

.cd-timeline-navigation a.prev {
    left: 0;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}

.cd-timeline-navigation a.next {
    right: 0;
}

@media only screen and (max-width: 768px) {
    .cd-horizontal-timeline .events-wrapper {
        margin: 0;
    }

    .cd-timeline-navigation a.prev, .cd-timeline-navigation a.next {
        display: none;
    }
}

.cd-timeline-navigation a:hover {
    /*border-color: #7b9d6f;*/
    /*border-color: #FF3D7F;*/
    border-color: var(--primary-color);
}

.cd-timeline-navigation a.inactive {
    cursor: not-allowed;
}

.cd-timeline-navigation a.inactive::after {
    background-position: 0 -16px;
}

.no-touch .cd-timeline-navigation a.inactive:hover {
    border-color: #dfdfdf;
}

.cd-horizontal-timeline .events-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 2em 0;
    /*overflow: hidden;*/
    -webkit-transition: height 0.4s;
    -moz-transition: height 0.4s;
    -o-transition: height 0.4s;
    transition: height 0.4s;
}

.cd-horizontal-timeline .events-content ol > li {
    position: absolute;
    z-index: 1;
    width: 100%;
    left: 0;
    top: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    padding: 0 5%;
    opacity: 0;
    -webkit-animation-duration: 0.4s;
    -moz-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

.cd-horizontal-timeline .events-content li.selected {
    /* visible event content */
    position: relative;
    z-index: 2;
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.cd-horizontal-timeline .events-content li.enter-right, .cd-horizontal-timeline .events-content li.leave-right {
    -webkit-animation-name: cd-enter-right;
    -moz-animation-name: cd-enter-right;
    animation-name: cd-enter-right;
}

.cd-horizontal-timeline .events-content li.enter-left, .cd-horizontal-timeline .events-content li.leave-left {
    -webkit-animation-name: cd-enter-left;
    -moz-animation-name: cd-enter-left;
    animation-name: cd-enter-left;
}

.cd-horizontal-timeline .events-content li.leave-right, .cd-horizontal-timeline .events-content li.leave-left {
    -webkit-animation-direction: reverse;
    -moz-animation-direction: reverse;
    animation-direction: reverse;
}

.cd-horizontal-timeline .events-content li > * {
    /*max-width: 80vw;*/
    margin: 0 auto;
}

.cd-horizontal-timeline .events-content h2 {
    font-weight: bold;
    font-size: 3.5rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.2;
}

.cd-horizontal-timeline .events-content em {
    font-size: 1.25rem;
    display: block;
    font-style: italic;
    margin: 10px auto;
}

.cd-horizontal-timeline .events-content em::before {
    content: '- ';
}

.cd-horizontal-timeline .events-content p {
    font-size: 1.1rem;
    color: #959595;
}

.cd-horizontal-timeline .events-content em, .cd-horizontal-timeline .events-content p {
    line-height: 1.6;
}

@media only screen and (max-width: 576px) {
    .cd-horizontal-timeline {
        margin: 2em auto;
    }

    .cd-horizontal-timeline .events-content h2 {
        font-size: 1.6rem;
    }

    .cd-horizontal-timeline .events-content em {
        font-size: 1rem;
    }

    .cd-horizontal-timeline .events-content p {
        font-size: 0.9rem;
    }
}

@media only screen and (min-width: 768px) {
    .cd-horizontal-timeline .events-content h2 {
        /*font-size: 4.25rem;*/
    }

    .cd-horizontal-timeline .events-content em {
        font-size: 1.25rem;
    }

    .cd-horizontal-timeline .events-content p {
        /*font-size: 1.1rem;*/
    }
}

@-webkit-keyframes cd-enter-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
    }
}

@-moz-keyframes cd-enter-right {
    0% {
        opacity: 0;
        -moz-transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0%);
    }
}

@keyframes cd-enter-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
}

@-webkit-keyframes cd-enter-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
    }
}

@-moz-keyframes cd-enter-left {
    0% {
        opacity: 0;
        -moz-transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0%);
    }
}

@keyframes cd-enter-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
}

/*********************************************************/

.sort {
    position: relative;
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .sort {
        padding-bottom: 4rem;
    }
}

.sortable {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    /* used not to jump to top when sorting on mobile */
    overflow: auto;
    justify-content: var(--custom-alignment);
}

.sortable::-webkit-scrollbar {
    /* used not to jump to top when sorting on mobile */
    width: 0;
}

.sortable ul {
    list-style-type: none;
}


.sortable li {
    position: relative;
    display: block;
    float: left;
    /*width: 250px;*/
    /*height: 250px;*/
    width: var(--custom-layout-width);
    height: var(--custom-layout-height);
    background: #ffffff00;
    cursor: move;
    margin: 10px 0 0 10px;
    /*line-height: 250px;*/
    /*background-repeat: no-repeat;*/
    /*background-size: 250px auto;*/
    opacity: 1;
}

.sortable.ui-sortable-disabled li {
    cursor: pointer;
}

@media only screen and (max-width: 768px) {
    .sortable li {
        margin: 10px 0 0 0;
    }
}

.sortable li img {
    background: rgba(175, 175, 175, 0.05);
    /*width: 250px;*/
    /*height: 250px; !* auto *!*/
    width: var(--custom-layout-width);
    height: var(--custom-layout-height);
    object-fit: cover;
    object-position: 20% 10%;
    /*object-fit: cover;*/
    /*object-fit: none;
    object-position: center;*/
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.sortable li:hover img {
    /*border-radius: 8px;*/
    /*transition: .1s;*/
    filter: brightness(30%);
    -webkit-filter: brightness(30%);
    background: rgba(175, 175, 175, 0.3);
    -webkit-transition: .15s;
    -moz-transition: .15s;
    -o-transition: .15s;
    transition: .15s;
    border-color: rgba(241, 241, 241, 0.125);
}

.sortable h4, .sortable li p {
    display: none;
}

.placeholder {
    background: #fff !important;
    border: 2px dashed #000 !important;
    line-height: 100px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.placeholder i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#modalText {
    font-size: 18px;
}

.modal video {
    cursor: pointer;
}

.video-play-button::after {
    font-family: "Font Awesome 5 Free";
    font-size: 26px;
    font-weight: 900;
    content: '\f04b';
    position: absolute;
    top: 0;
    right: 10px;
    color: #fff;
    padding: 10px;
    pointer-events: none;
}

.modal-content-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover !important;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
    filter: blur(15px);
    pointer-events: none;
}

.modal-image {
    padding: 1rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    /*max-width: 280px;*/
    max-width: -webkit-fill-available;
    width: auto;
    height: auto;
}

#spinner-container {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 12px;
}

.spinner-circle {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #d4354e solid;
    border-radius: 50%;
    animation: sp-anime 3s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

#pause-slideshow {
    display: none;
}

.sortable li:hover .image-content-overlay {
    opacity: 1;
}

.image-content-image {
    width: 100%;
}

.image-content-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /*-webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;*/
    pointer-events: none;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.sortable li:hover .image-content-details {
    top: 55%;
    left: 50%;
    opacity: 1;
}

.image-content-details h3 {
    font-family: 'Raleway', sans-serif;
    color: #fff;
    font-weight: 400;
    /*font-size: 1.5vw;*/
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
    .image-content-details h3 {
        font-size: 0.8rem;
    }
}

.footer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #fff;
    text-align: center;
}

footer {
    position: fixed;
    width: 100%;
    height: 20px;
    bottom: 0;
    padding: 26px 0;
    border-top: 1px solid #fff;
    background: rgba(0, 0, 0, 0.6);
}

@media (min-width: 320px) {
    .modal-image {
        /*max-width: 320px*/
    }

    .modal-content-blur {
        background-size: 320px auto;
    }
}

@media (min-width: 360px) {
    .modal-image {
        /*max-width: 360px*/
    }

    .modal-content-blur {
        background-size: 360px auto;
    }
}

@media (min-width: 400px) {
    .modal-image {
        /*max-width: 400px*/
    }

    .modal-content-blur {
        background-size: 400px auto;
    }
}

@media (min-width: 576px) {
    .modal-image {
        /*max-width: 460px*/
    }

    .modal-content-blur {
        background-size: 460px auto;
    }
}

@media (min-width: 992px) {
    .modal-image {
        /*max-width: 760px*/
    }

    .modal-content-blur {
        background-size: 760px auto;
    }
}

@media (max-width: 280px) {
    .sortable li {
        margin: 10px 0 0 0;
    }
}

@media (max-width: 991px) {
    .sortable > li {
        display: inline-block;
        float: none;
    }
}

/*////////////////////////////////////////////////////////////*/

.switch-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.paragraph-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 6px !important;
}

p.paragraph {
    width: 100%;
    line-height: inherit !important;
    border-radius: 4px;
    margin-right: 6px;
}

.paragraph-inner-container {
    display: flex !important;
    flex-direction: row;
}

.paragraph-container > * {
    display: block;
}

.paragraph-container .layout-switch, .paragraph-container .alignment-switch {
    min-width: 34px;
}

.paragraph-container .layout-switch i, .paragraph-container .alignment-switch i {
    font-size: 30px;
    cursor: pointer;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -moz-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -o-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.paragraph-container .layout-switch i:hover, .paragraph-container .alignment-switch i:hover {
    color: var(--primary-color-hover);
}

/* https://gitbrent.github.io/bootstrap4-toggle/ */

.toggle.ios, .toggle-on.ios, .toggle-off.ios {
    border-radius: 20rem;
}

.toggle.ios .toggle-handle {
    border-radius: 20rem;
}

.toggle.ios .toggle-handle + .toggle-off {
    background-color: #000 !important;
}

.scroll-hint-icon {
    background: transparent !important;
    top: calc(50% - 10px) !important;
}

.scroll-hint-icon:before {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNS43NyIgaGVpZ2h0PSIzMC41MiIgdmlld0JveD0iMCAwIDI1Ljc3IDMwLjUyIj48dGl0bGU+44Ki44K744OD44OIIDM8L3RpdGxlPjxnIGlkPSLjg6zjgqTjg6Tjg7xfMiIgZGF0YS1uYW1lPSLjg6zjgqTjg6Tjg7wgMiI+PGcgaWQ9IuODrOOCpOODpOODvF8xLTIiIGRhdGEtbmFtZT0i44Os44Kk44Ok44O8IDEiPjxwYXRoIGQ9Ik0yMS4zMywzMC41Mkg3Ljg1QTEuNTUsMS41NSwwLDAsMSw2LjMsMjlhMTIuNDYsMTIuNDYsMCwwLDAtLjYzLTQuNDIsMjUuMTYsMjUuMTYsMCwwLDAtNC4yNS01bC0uMDYtLjA2QTUsNSwwLDAsMSwwLDE1Ljg2YTMuNjQsMy42NCwwLDAsMSwxLjE3LTIuNjIsMy42MywzLjYzLDAsMCwxLDUuMTQuMDdWMy43N2EzLjc3LDMuNzcsMCwxLDEsNy41NCwwVjguMzNhMy4zNSwzLjM1LDAsMCwxLDEuMjYsMCwzLDMsMCwwLDEsMiwxLjIyLDMuNSwzLjUsMCwwLDEsMi0uMDYsMy4yMSwzLjIxLDAsMCwxLDIsMS41NCwzLjc0LDMuNzQsMCwwLDEsMywuNDdBNC4yMSw0LjIxLDAsMCwxLDI1Ljc0LDE1YzAsLjExLDAsLjI3LDAsLjQ2YTE5LjI2LDE5LjI2LDAsMCwxLS44NCw3Yy0uMTQuMzgtLjM2LjgxLS41NiwxLjIybC0uMTEuMjJjMCwuMDctLjA5LjE0LS4xNC4yMWE3LjEzLDcuMTMsMCwwLDAtMS4xNywyLjE3Yy0uMDYuNTYtLjA2LDIuMTUtLjA1LDIuNzFBMS41NSwxLjU1LDAsMCwxLDIxLjMzLDMwLjUyWk04LjYxLDI4LjIxaDEyYzAtLjcxLDAtMS43MS4wNy0yLjIzYTguNzQsOC43NCwwLDAsMSwxLjU5LTMuMjVsLjA2LS4xMmExMCwxMCwwLDAsMCwuNDYtMSwxNi44LDE2LjgsMCwwLDAsLjctNi4xMmMwLS4yMywwLS40MSwwLS41NGgwYTIsMiwwLDAsMC0uNjQtMS41MiwxLjMzLDEuMzMsMCwwLDAtMS41NS4wOCwxLjEzLDEuMTMsMCwwLDEtMS4xOC4yOCwxLjE1LDEuMTUsMCwwLDEtLjc4LS45NCwxLjI2LDEuMjYsMCwwLDAtLjc1LTEuMTEsMSwxLDAsMCwwLTEuMTEuMjhsLS4xLjFhMS4xNSwxLjE1LDAsMCwxLTEuMTkuMjksMS4xNiwxLjE2LDAsMCwxLS43OC0uOTVjLS4wOS0uNjgtLjIxLS43Ny0uNy0uODdhLjgyLjgyLDAsMCwwLTEsLjQ4LDEuMTYsMS4xNiwwLDAsMS0yLjE2LS41OFYzLjc3YTEuNDYsMS40NiwwLDEsMC0yLjkyLDB2Ny44NWwwLDQuMzNhMS4xNywxLjE3LDAsMCwxLS44MywxLjExLDEuMTUsMS4xNSwwLDAsMS0xLjItLjM1bC0xLS45MWMtLjQ3LS40Mi0uNzMtLjY2LS44NC0uNzdhMS4zNSwxLjM1LDAsMCwwLTItLjEyTDIuNywxNWExLjMyLDEuMzIsMCwwLDAtLjM5LDFBMi41NywyLjU3LDAsMCwwLDMsMTcuODVsMCwwYTI3LjI0LDI3LjI0LDAsMCwxLDQuNyw1LjYyQTEyLjYzLDEyLjYzLDAsMCwxLDguNjEsMjguMjFaTTIzLjIsMjMuMzVaTTYuNTEsMTYuNTlaIiBmaWxsPSIjMDAwIi8+PC9nPjwvZz48L3N2Zz4=) !important;
}

.scroll-hint-icon:after {
    display: none !important;
}

.scroll-hint-text {
    display: none;
}

/* floating action buttons */


.floatingActions {
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 1049; /* notification is 1050 */
}

.floatingActionButton {
    height: 60px;
    width: 60px;
    background-color: rgba(67, 83, 143, .7);
    border-radius: 50%;
    display: block;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.floatingActionButton i {
    font-size: 22px;
}

.floatingActionButtons {
    position: absolute;
    width: 100%;
    bottom: 120%;
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
}

.floatingActionButtons a {
    display: block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    margin: 10px auto 0;
    line-height: 1.15;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    position: relative;
    box-shadow: 0 0 5px 1px rgba(51, 51, 51, .3);
}

.floatingActionButtons a.default-style {
    font-size: 24px !important;
    background-color: var(--primary-color) !important;
}

.floatingActionButtons a:hover {
    transform: scale(1.05);
}

.floatingActionButtons a:nth-child(1) {
    background-color: #34568B;
    -webkit-transition: opacity .1s ease-in-out .05s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .05s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .05s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .05s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(2) {
    background-color: #FF6F61;
    -webkit-transition: opacity .1s ease-in-out .10s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .10s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .10s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .10s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(3) {
    background-color: #6B5B95;
    -webkit-transition: opacity .1s ease-in-out .15s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .15s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .15s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .15s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(4) {
    background-color: #88B04B;
    -webkit-transition: opacity .1s ease-in-out .20s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .20s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .20s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .20s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(5) {
    background-color: #E15D44;
    -webkit-transition: opacity .1s ease-in-out .25s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .25s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .25s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .25s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(6) {
    background-color: #92A8D1;
    -webkit-transition: opacity .1s ease-in-out .30s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .30s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .30s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .30s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(7) {
    background-color: #955251;
    -webkit-transition: opacity .1s ease-in-out .35s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .35s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .35s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .35s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(8) {
    background-color: #B565A7;
    -webkit-transition: opacity .1s ease-in-out .40s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .40s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .40s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .40s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(9) {
    background-color: #009B77;
    -webkit-transition: opacity .1s ease-in-out .45s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .45s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .45s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .45s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(10) {
    background-color: #DD4124;
    -webkit-transition: opacity .1s ease-in-out .50s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .50s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .50s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .50s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(11) {
    background-color: #D65076;
    -webkit-transition: opacity .1s ease-in-out .55s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .55s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .55s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .55s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(12) {
    background-color: #9B2335;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(13) {
    background-color: #5B5EA6;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(14) {
    background-color: #DFCFBE;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(15) {
    background-color: #7FCDCD;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(16) {
    background-color: #BC243C;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(17) {
    background-color: #C3447A;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(18) {
    background-color: #98B4D4;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(19) {
    background-color: #EFC050;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActionButtons a:nth-child(20) {
    background-color: #45B8AC;
    -webkit-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -moz-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    -o-transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
    transition: opacity .1s ease-in-out .60s, transform .15s ease-in-out;
}

.floatingActions a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floatingActionToggle {
    -webkit-appearance: none;
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    z-index: 2;
    -webkit-transition: box-shadow .2s ease-in-out;
    -moz-transition: box-shadow .2s ease-in-out;
    -o-transition: box-shadow .2s ease-in-out;
    transition: box-shadow .2s ease-in-out;
    box-shadow: 0 3px 5px 1px rgba(51, 51, 51, .3);
}

.floatingActionToggle:hover {
    box-shadow: 0 3px 6px 2px rgba(51, 51, 51, .3);
}

.floatingActionToggle:checked ~ .floatingActionButtons a {
    opacity: 1;
    visibility: visible;
}

.floatingActionToggle:checked ~ .floatingActionButtons a:hover {
    color: #383838;
}

/* end of floating action buttons */

/* year switch */

.year-switch-container {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    width: fit-content;
    overflow: hidden;
    font-size: 20px;
}

.year-switch-container input[type=radio] {
    position: absolute;
    visibility: hidden;
    display: none;
}

.year-switch-container label {
    color: #9a929e;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    padding-inline: 8px;
    border: 1px solid #dfdfdf;
    margin-bottom: 0 !important;
    -webkit-transition: background 200ms ease, color 200ms ease;
    -moz-transition: background 200ms ease, color 200ms ease;
    -o-transition: background 200ms ease, color 200ms ease;
    transition: background 200ms ease, color 200ms ease;
}

.year-switch-container label:first-of-type {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.year-switch-container label:last-of-type {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.year-switch-container label:hover {
    color: #000;
    background: #dfdfdf;
    -webkit-transition: background 200ms ease, color 200ms ease;
    -moz-transition: background 200ms ease, color 200ms ease;
    -o-transition: background 200ms ease, color 200ms ease;
    transition: background 200ms ease, color 200ms ease;
}

.year-switch-container input[type=radio]:checked + label {
    color: #000;
    background: #dfdfdf;
    -webkit-transition: background 200ms ease, color 200ms ease;
    -moz-transition: background 200ms ease, color 200ms ease;
    -o-transition: background 200ms ease, color 200ms ease;
    transition: background 200ms ease, color 200ms ease;
}

.year-switch-container label + input[type=radio] + label {
    border-left: solid 3px #dfdfdf;
}

/* end of year switch */

/* image viewerjs */

.viewer-title {
    font-size: 0.8rem;
}

.viewer-tooltip {
    pointer-events: none;
}

.viewer-toolbar ul {
    padding-top: 20px;
}

.viewer-toolbar > ul > li {
    height: 40px;
    margin-bottom: -3px;
    margin-top: -3px;
    width: 40px;
}

.viewer-toolbar > ul > li::before {
    margin: 10px;
}

.viewer-toolbar > ul > li.viewer-play {
    height: 50px;
    margin-bottom: -3px;
    margin-top: -10px;
    width: 50px;
}

.viewer-toolbar > ul > li.viewer-play:before {
    background: transparent;
    margin: auto;
    color: #fff;
    font-family: FontAwesome, serif;
    font-size: 1.55rem;
    line-height: 3.125rem;
    text-align: center;
}

@media only screen and (max-width: 576px) {
    .viewer-navbar {
        overflow-x: scroll;
    }
}

.viewer-canvas.viewer-loading > img {
    display: none;
}

.viewer-edit, .viewer-download, .viewer-delete, .viewer-back, .viewer-forth {
    color: #fff;
    font-family: FontAwesome, serif;
    font-size: 1.1rem;
    line-height: 2.5rem;
    text-align: center;
}

.viewer-play::before {
    content: "\f04b";
}

.viewer-edit::before {
    content: "\f044";
}

.viewer-delete::before {
    content: "\f1f8";
}

.viewer-download::before {
    content: "\f019";
}

.viewer-back::before {
    content: "\f100";
}

.viewer-forth::before {
    content: "\f101";
}

/* end of image viewerjs */

/* notification */

.toast-title {
    font-weight: 700;
}

.toast-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.toast-message a,
.toast-message label {
    color: #fff;
}

.toast-message a:hover {
    color: #ccc;
    text-decoration: none;
}

.toast-close-button {
    position: relative;
    right: -0.3em;
    top: -0.3em;
    float: right;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    -webkit-text-shadow: 0 1px 0 #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.8;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    filter: alpha(opacity=80);
    line-height: 1;
}

.toast-close-button:focus,
.toast-close-button:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.4;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    filter: alpha(opacity=40);
}

.rtl .toast-close-button {
    left: -0.3em;
    float: left;
    right: 0.3em;
}

button.toast-close-button {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
}

.toast-top-center {
    top: 0;
    right: 0;
    width: 100%;
}

.toast-bottom-center {
    bottom: 0;
    right: 0;
    width: 100%;
}

.toast-top-full-width {
    top: 0;
    right: 0;
    width: 100%;
}

.toast-bottom-full-width {
    bottom: 0;
    right: 0;
    width: 100%;
}

.toast-top-left {
    top: 12px;
    left: 12px;
}

.toast-top-right {
    top: 12px;
    right: 12px;
}

.toast-bottom-right {
    right: 80px;
    bottom: 12px;
}

.toast-bottom-left {
    bottom: 12px;
    left: 12px;
}

#toast-container {
    position: fixed;
    z-index: 3000;
    pointer-events: none;
}

#toast-container * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#toast-container > div {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    width: 300px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999;
    -webkit-box-shadow: 0 0 12px #999;
    box-shadow: 0 0 12px #999;
    color: #fff;
    opacity: 0.8;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    filter: alpha(opacity=80);
}

#toast-container > div.rtl {
    direction: rtl;
    padding: 15px 50px 15px 15px;
    background-position: right 15px center;
}

#toast-container > div:hover {
    -moz-box-shadow: 0 0 12px #000;
    -webkit-box-shadow: 0 0 12px #000;
    box-shadow: 0 0 12px #000;
    opacity: 1;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    filter: alpha(opacity=100);
    cursor: pointer;
}

#toast-container > .toast-info {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important;
}

#toast-container > .toast-error {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=) !important;
}

#toast-container > .toast-success {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important;
}

#toast-container > .toast-warning {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important;
}

#toast-container > .toast-burgundy {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important;
}

#toast-container > .toast-purple {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important;
}

#toast-container.toast-bottom-center > div,
#toast-container.toast-top-center > div {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

#toast-container.toast-bottom-full-width > div,
#toast-container.toast-top-full-width > div {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}

.toast {
    background-color: #030303;
}

.toast-success {
    background-color: #51a351;
}

.toast-error {
    background-color: #bd362f;
}

.toast-info {
    background-color: #2f96b4;
}

.toast-warning {
    background-color: #f89406;
}

.toast-burgundy {
    background-color: #932e3e;
}

.toast-purple {
    background-color: #932e3e;
}

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: #000;
    opacity: 0.4;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    filter: alpha(opacity=40);
}

@media all and (max-width: 300px) {
    #toast-container > div {
        padding: 8px 8px 8px 50px;
        width: 11em;
    }

    #toast-container > div.rtl {
        padding: 8px 50px 8px 8px;
    }

    #toast-container .toast-close-button {
        right: -0.2em;
        top: -0.2em;
    }

    #toast-container .rtl .toast-close-button {
        left: -0.2em;
        right: 0.2em;
    }
}

@media all and (min-width: 301px) and (max-width: 480px) {
    #toast-container > div {
        padding: 8px 8px 8px 50px;
        width: 20em;
    }

    #toast-container > div.rtl {
        padding: 8px 50px 8px 8px;
    }

    #toast-container .toast-close-button {
        right: -0.2em;
        top: -0.2em;
    }

    #toast-container .rtl .toast-close-button {
        left: -0.2em;
        right: 0.2em;
    }
}

@media all and (min-width: 481px) and (max-width: 768px) {
    #toast-container > div {
        padding: 15px 15px 15px 50px;
        width: 25em;
    }

    #toast-container > div.rtl {
        padding: 15px 50px 15px 15px;
    }
}

#toast-container.toast-bottom-center > div,
#toast-container.toast-top-center > div {
    margin: 10px auto 0;
}

#toast-container > .toast-info,
#toast-container > .toast-error,
#toast-container > .toast-warning,
#toast-container > .toast-success,
#toast-container > .toast-classic,
#toast-container > .toast-burgundy,
#toast-container > .toast-purple {
    background-image: none;
}

#toast-container > div {
    background: #fff;
    padding: 20px;
    color: #6a6c6f;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

#toast-container > div:hover {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toast-close-button {
    color: #000;
    opacity: 0.2;
}

.toast-info {
    background: #fff;
    border-left: 6px solid #3498db;
}

.toast-success {
    background: #fff;
    border-left: 6px solid #62cb31;
}

.toast-warning {
    background: #fff;
    border-left: 6px solid #ffb606;
}

.toast-error {
    background: #fff;
    border-left: 6px solid #e74c3c;
}

.toast-classic {
    background: #fff;
    border-left: 6px solid #000;
}

.toast-burgundy {
    background: #fff;
    border-left: 6px solid #932e3e;
}

.toast-purple {
    background: #fff;
    border-left: 6px solid #5e14a4;
}

.toast-progress {
    opacity: 0.6;
}

.toast-info .toast-progress {
    background-color: #3498db;
}

.toast-success .toast-progress {
    background-color: #62cb31;
}

.toast-warning .toast-progress {
    background-color: #ffb606;
}

.toast-error .toast-progress {
    background-color: #e74c3c;
}

.toast-burgundy .toast-progress {
    background-color: #932e3e;
}

.toast-purple .toast-progress {
    background-color: #5e14a4;
}

.toast-i {
    display: inline-flex;
    height: 20px;
    min-width: 20px;
    color: #fff;
    font-size: 14px;
    border-radius: 50%;
    align-items: center;
    width: fit-content;
    justify-content: center;
    margin-right: 10px;
}

.fa-info {
    background-color: #4070f4;
}

.fa-check {
    background-color: #54A668;
}

.fa-xmark {
    background-color: #DF6962;
}

.fa-triangle-exclamation {
    background-color: #faae1b;
}

.fa-exclamation {
    background-color: #932e3e;
}

.fa-question {
    background-color: #000;
}

.fa-thumbs-up {
    background-color: #5e14a4;
}

/* end of notification */

/* loading */

#loading-spinner {
    display: none;
    position: fixed;
    pointer-events: none;
    right: 20px;
    top: 40px;
    z-index: 1001;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #fb5b53;
    -webkit-animation: PreloaderSpin 2s linear infinite;
    animation: PreloaderSpin 2s linear infinite;
}

@media (max-width: 576px) {
    #loading-spinner {
        top: 20px !important;
    }
}

#loading-spinner:before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    margin: 8px 0 0 8px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #000;
    -webkit-animation: PreloaderSpin 6s linear infinite;
    animation: PreloaderSpin 6s linear infinite;
}

#loading-spinner:after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin: -52px 0 0 18px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #f8b739;
    -webkit-animation: PreloaderSpin 3s linear infinite;
    animation: PreloaderSpin 3s linear infinite;
}

@keyframes PreloaderSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* end of loading */

/* custom menu */

#custom-menu {
    position: absolute;
    display: none;
}

#custom-menu .dropdown-menu {
    padding: 0;
}

.timeline-custom-menu {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* end of custom menu */