html {
    background: #fff;
    color: #161616;
    font-family: 'Open Sans', sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
}

body {
    margin: 0;
}

a {
    color: #04b709;
    text-decoration: none;
    outline: 0;
}

a:active, a:hover {
    outline: 0;
}

p {
    color: #363636;
    font-size: 14px;
}

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

textarea {
    font-family: inherit;
    font-size: inherit;
}

h2 i {
    font-size: 16px;
    opacity: 0.95;
}

hr {
    height: 1px;
    border-width: 0;
    color: #04b709;
    background-color: #04b709;
    opacity: 0.65;
}

input[type="text"], input[type="date"] {
    width: 50%;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #dedede;
    background: #ffffff;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

input[type="file"] {
    font-family: 'Open Sans', sans-serif;
}

input[type="date"] {
    font-family: inherit;
    height: 19px;
    color: #737373;
}

input[type="text"]:focus, input[type="date"]:focus {
    outline: none;
    box-shadow: 2px 2px 10px rgb(240, 240, 240);
    background: rgba(255, 255, 255, 0.95);
}

.text {
    font-size: 15px;
    color: #393939;
}

.text-medium {
    font-size: 14px;
    color: #393939;
}

.text-small {
    font-size: 13px;
    color: #393939;
}

.text-large {
    font-size: 16px;
    color: #393939;
}

.green {
    color: #65bb06;
}

.dark-green {
    color: #60ae09;
}

.error {
    color: #cf0000;
}

.hidden {
    display: none;
}

.swal-text {
    font-size: 16px;
}

.swal2-validation-message {
    margin-top: 20px !important;
    font-size: 16px !important;
}

.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after {
    width: 12px !important;
    height: 12px !important;
    margin-left: 12px !important;
    margin-right: -6px !important;
    margin-bottom: -4px !important;
}

.swal2-header {
    transform: scale(0.75);
}

.swal2-icon {
    margin: 0.5em auto 0.5em !important;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.center {
    text-align: center !important;
}

.box-enabled {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0);
}

.box-disabled {
    filter: grayscale(100%);
    -webkit-filter: grayscale(1);
}

/* WRAPPER */
#main-wrapper {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.wrapper {
    clear: both;
    overflow: hidden;
    display: block;
    width: 100%;
}

.content-wrapper {
    float: left;
    height: 100%;
    margin-bottom: 20px;
    max-width: 612px;
}

/* HEADER */
#header {
    min-height: 78px;
    margin: 0 auto;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 90;
    border-bottom: #e6e6e6 solid 1px;
}

#header-wrapper {
    overflow: hidden;
    min-height: 78px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    color: #444444;
}

#header-logo {
    float: left;
    padding-top: 10px;
    padding-left: 10px;
    width: 364px;
    height: 53px;
    text-decoration: none;
}

#header-text {
    z-index: -10;
    position: absolute;
    float: left;
    overflow: hidden;
    font-size: 18px;
    margin: 1px auto;
    padding-top: 23px;
    text-align: center;
    padding-left: 0;
    text-transform: uppercase;
    width: 100%;
}

#header-user {
    position: relative;
    width: 50%;
    float: right;
    font-size: 16px;
    font-weight: normal;
    margin: 1px auto;
    text-align: right;
    line-height: 26px;
    min-height: 72px;
}

#header-user-content {
    position: absolute;
    bottom: 0;
    right: 0;
    padding-right: 15px;
}

#header-user-email, #header-user-logout {
    white-space: nowrap;
}

/* CONTENT */
#content {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}

#flash {
    text-align: center;
    margin-top: 20px;
    margin-bottom: -20px;
}

.flash.error {
    color: #cf0000;
}

.cleaner {
    clear: both;
}

/* MENU */
.menu {
    display: block;
    margin: 0 auto;
    width: 100%;
    float: left;
}

.menu div {
    float: left;
    margin: 10px 40px 15px 0;
    border-radius: 10px;
    text-align: center;
    padding: 8px 25px;
    background-color: #65bb06;
    /*background-image: linear-gradient(to right, #f6c200, #04b709 50%);*/
    /*background-image: linear-gradient(to bottom, #04b709 75%, #f6c200 );*/
}

.menu div:hover {
    cursor: pointer;
    box-shadow: 2px 2px 10px rgb(200, 200, 200);
}

.menu .active {
    box-shadow: 2px 2px 10px rgb(200, 200, 200);
}

.menu .active span {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 6px;
}

.menu div i {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.menu div a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.active i {
    color: #ffffff !important;
}

.active a {
    color: #ffffff !important;
}

/* TITLE */
.title {
    text-align: left;
    padding-top: 5px;
}

.title h2 {
    color: #161616;
    font-size: 18px;
    line-height: 26px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.small i {
    background: url(../images/circle_small.png) no-repeat center center !important;
    height: 28px !important;
    width: 28px !important;
    line-height: 28px !important;
}

.subtitle {
    font-size: 16px;
    color: #6c6c6c;
    font-weight: bold;
}

.caption {
    font-size: 18px;
    color: #6c6c6c;
}

.remove img {
    height: 20px;
    width: 20px;
    opacity: 0.7;
}

/* BUTTON */
.button {
    text-decoration: none;
    position: relative;
    display: block;
    margin: 0;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    text-align: center;
    cursor: pointer;
    background: #65bb06;
    color: rgb(250, 250, 250);
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    vertical-align: middle;
}

.button:hover {
    outline: none;
    box-shadow: 2px 2px 10px rgb(200, 200, 200);
    background: #60ae09;
}

.button:focus {
    outline: none;
}

.button.disabled {
    background: rgba(0, 0, 0, 0.33);
}

.button:disabled {
    background: rgba(0, 0, 0, 0.33) !important;
}

.button.cancel {
    background: rgba(0, 0, 0, 0.33);
    margin-left: 15px;
}

#save-button {
    width: 247px;
    background-color: #f6c200;
    font-size: 17px;
    color: #5a5a5a;
    font-weight: 500;
}

#disable-button {
    width: 247px;
    font-size: 17px;
    font-weight: 500;
}

/* HELP */
.help {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 18px;
    height: 18px;
}

.help:after {
    content: "";
    opacity: 0.33;
    background: url("../images/icon_help.png");
    position: absolute;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
}

.attention {
    width: 18px;
    height: 18px;
}

.attention:after {
    content: "";
    opacity: 0.5;
    background: url("../images/icon_attention.png");
    position: absolute;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
}

.attention-red {
    width: 18px;
    height: 18px;
}

.attention-red:after {
    content: "";
    opacity: 0.9;
    background: url("../images/icon_attention_red.png");
    position: absolute;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
}

.info {
    width: 18px;
    height: 18px;
}

.info:after {
    content: "";
    opacity: 0.5;
    background: url("../images/icon_info.png");
    position: absolute;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
}

/* TOOLTIP */
.tooltip {
    position: relative;
    display: inline;
    text-align: left;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: auto;
    background-color: #555;
    color: #fff;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 6px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    margin: 0 auto;
    opacity: 0 !important;
    transition: opacity 0.5s;
    font-weight: normal !important;
    white-space: nowrap;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #555;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 0.95 !important;
}

/* DESK LIST */
.desk-list {
    display: table;
    text-align: center;
    margin: 0 auto;
}

.desk-list-ok, .desk-list-disabled {
    float: right;
    padding-left: 0;
    padding-top: 0;
    margin-right: -20px;
}

.desk-list-ok img, .desk-list-disabled img {
    opacity: 0.5;
}

.desk-list-email {
    display: inline;
    padding: 0 25px;
}

/* FOOTER */
#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: #e6e6e6 solid 1px;
    padding-bottom: 25px;
}

#footer-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 10px;
    color: #444444;
}

#footer-logo {
    float: left;
    padding-left: 2px;
}

#footer-text {
    float: left;
    padding-left: 10px;
    line-height: 30px;
    vertical-align: middle;
    font-size: 13px;
}

/* DIALOG */
.dialog-input {
    width: 70% !important;
    margin-top: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    font-size: 14px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #dedede;
    background: #ffffff;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.dialog-input:focus {
    outline: none;
    box-shadow: 2px 2px 10px rgb(240, 240, 240);
    background: rgba(255, 255, 255, 0.95);
}

/* PAGES */
#pages {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0;
    width: 100%;
}

#pages li {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin-top: 16px;
    margin-bottom: 16px;
    cursor: move;
    line-height: 24px;
    vertical-align: middle;
    font-size: 15px;
}

#pages li .page {
    overflow: hidden;
    padding: 12px 8px;
}

#pages li:nth-child(even) {
    background-color: #fbfbfb;
}

#pages li:nth-child(odd) {
    background-color: #f7f7f7;
}

.page-icon {
    height: 22px;
    width: 22px;
}

.page-icon img {
    height: 22px;
    width: 22px;
    opacity: 0.8;
}

.page-icon {
    float: left;
}

.page-name {
    float: left;
    padding-left: 12px;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    max-width: 82.5%;
}

.page-name:hover {
    color: black !important;
}

.page-name a {
    color: rgb(79, 79, 79);
}

.page-name a:hover {
    color: black !important;
}

.page-remove {
    float: right;
    cursor: pointer;
    padding-top: 2px;
    height: 20px;
    width: 20px;
}

.page-remove img {
    height: 20px;
    width: 20px;
    opacity: 0.7;
}

.page-remove img:hover {
    opacity: 1;
}

/* OTHER */
.function-desc {
    padding-left: 25px;
    font-size: 14px;
    padding-top: 5px;
    display: block;
}

.item-delete {
    margin-left: 3px;
    vertical-align: middle;
    height: 22px;
    width: 22px;
    opacity: 0.7;
}

.item-delete:hover {
    opacity: 1;
    cursor: pointer;
}

#back {
    margin-top: 15px;
    margin-bottom: 5px;
    width: 100%;
}

.selected-date {
    color: #000000 !important;
}

.page-type-box {
    overflow: hidden;
    padding-top: 5px;
    font-size: 15px;
    text-align: center;
    margin-top: 15px;
}

.page-type-box div {
    float: left;
    padding-right: 10px;
}

.border-radius {
    border-radius: 6px !important;
}

#css-editor {
    position: relative;
    height: 500px;
    min-height: 500px;
    width: 96%;
    font-size: 15px;
    margin-top: 15px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #bcbcbc;
    -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 0.2s ease-in-out;
}

#icon-select {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

#icon-select span {
    width: 30px;
    height: 30px;
    opacity: 0.75;
    padding: 4px;
    cursor: pointer;
    font-size: 30px;
}

#icon-select img:hover, #icon-select .selected {
    opacity: 0.9;
    background-color: rgba(138, 138, 138, 0.9) !important;
    border-radius: 10px;
}

#screensaver-slides-enabled-box {
    width: 200%;
}

@media (max-width: 1250px) {

    /* CONTENT */
    #content {
        padding-left: 15px;
        padding-right: 15px;
    }

}

@media (max-width: 1230px) {

    /* FOOTER */
    #footer-wrapper {
        width: 100%;
    }

    #footer-logo {
        padding-left: 10px;
    }

    #footer-text {
        padding-left: 10px;
        padding-right: 10px;
    }

    #screensaver-slides-enabled-box {
        width: 150%;
    }

}

@media (max-width: 1050px) {

    /* HEADER */
    #header-text {
        float: right;
        text-align: right;
        padding-right: 15px;
        padding-left: 0;
        width: 98%;
    }

}

@media (max-width: 920px) {

    #screensaver-slides-enabled-box {
        width: 100%;
    }

}

@media (max-width: 825px) {

    /* HEADER */
    #header-user {
        width: 100%;
        min-height: 40px;
    }

}

@media (max-width: 680px) {

    /* HEADER */
    #header-text {
        display: none;
    }

    #header-user {
        min-height: 25px;
    }

}

@media (max-width: 520px) {

    /* CONTENT */
    .content-wrapper {
        float: none;
    }

    .menu {
        width: auto;
        margin-left: -2%;
        margin-right: -2%;
    }

    /* MENU */
    .menu div {
        width: 46%;
        margin-left: 2%;
        margin-right: 2%;
        margin-bottom: 10px;
        padding: 8px 0;
    }

    /* HEADER */
    #header-text {
        position: relative;
        font-size: 15px;
        display: block;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
        float: left;
    }

    #header-logo {
        float: none;
        top: inherit;
        left: inherit;
        margin: 0 auto;
        padding-left: 0;
    }

    #header-user {
        width: 100%;
        min-height: 50px;
        height: auto;
        text-align: center;
        margin-bottom: 10px;
    }

    #header-user-content {
        position: relative;
        left: 0;
        padding-right: 0;
    }

    /* FOOTER */
    #footer {
        padding-bottom: 12px;
    }

    #footer-text {
        font-size: 12px;
    }

}
