body {
    background-color: #2f3c48;
}

.main-header {
    color: #dff0fe;
    font: 13px/1.7em 'Century Gothic';
    background-color: #354a5f;
    height: 200px;
    /*border-bottom: 1px solid #98ccfd;*/
}

.main-header-content {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    color: #dff0fe;
    font: 13px/1.7em 'Century Gothic';
    text-align: center;
    box-sizing: border-box;
    width: 50%;
    margin: auto;
    position: relative;
    height: 200px;
}

.main-header-content::before {
    content: "";
    background-image: url("../images/header-background.jpg");
    background-repeat: no-repeat;
    background-size: 100% 200px;
    opacity: 0.5;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    filter: blur(3px);
}

.main-header-content h1 {
    position: relative;
    margin: 0;
}

.main-header-content input {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-sizing: border-box;
    margin: 0;
    font: inherit;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    position: relative;
    margin-top: 20px;
    height: 35px;
    border-radius: 25px;
    border: 1px solid #fcf8e3;
    width: 40%;
    color: #2f3c48;
    outline: none;
    background-image: url(../images/search.png);
    background-position: 7px 7px;
    background-repeat: no-repeat;
    padding-left: 35px;
    background-size: 20px;
}

.search-result-container {
    width: 40%;
    margin: auto 0 0 32%;
    background-color: #f5f5f5;
    border-radius: 6px;
    color: #000;
    text-align: justify;
    box-shadow: 8px 5px 6px 1px #242c37;
    filter: brightness(1);
    display: none;
    position: absolute;
    z-index: 1;
    overflow-y: auto;
    max-height: 300px;
}

.result-wrapper {
    padding: 5px;
    cursor: pointer;
}

.result-wrapper:hover {
    background-color: #ffffff;
}

.main-header-content bdi {
    color: #8f969c;
    font-size: 11px;
}

.tile-container {
    color: #333;
    display: flex;
    margin: auto;
    width: 80%;
    margin-top: -50px;
    flex-wrap: wrap;
}

.tile-container>* {
    margin: 0 0 30px 30px;
}

.tile {
    width: 150px;
    background-color: #475c6c;
    height: 200px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 8px 5px 6px 1px #242c37;
    cursor: pointer;
    padding: 20px;
}

.tile:not(:first-child) {
    margin-left: 30px;
}

.tile h3 {
    font-size: 14px;
    color: #90c5f3;
    font-weight: 600;
}

.tile span {
    color: #CCC;
    font-size: 13px;
}

.tile img {
    width: 35px;
}

.tile:hover {
    background-color: #212a36; 
}

.tile button {
    border: 0;
    background: transparent;
    position: relative;
    top: -30px;
    float: right;
    color: #F5f5f5;
    right: -30px;
}

.side-toolbar {
    position: absolute;
    top: 210px;
    right: 0px;
    background-color: #475c6c;
    color: #99ccfd;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    display: inline-grid;
    font-size: 30px;
}

.side-toolbar span:hover {
    cursor: pointer;
    background-color: #242e36;
}

.side-toolbar span:last-child:hover {
    border-bottom-left-radius: 10px;
}

.side-toolbar span:first-child:hover {
    border-top-left-radius: 10px;
}

.side-toolbar span {
    padding: 10px;
}

.side-toolbar span:not(:first-child) {
    border-top: 1px solid #444;
}

.modal {
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    width: 30%;
    margin: auto;
    height: fit-content;
    border-radius: 6px;
    background-color: #242e36;
    color: #CCC;
}

.modal-body {
    background-color: #1b2530;
}

.modal-header {
    border-bottom: 1px solid #1b2530 !important;
    padding: 15px !important;
}

.modal-footer {
    border-top: 1px solid #1b2530 !important;
}

.modal-header img {
    padding: 5px;
    width: 48px;
}

.modal-header h3 {
    font-size: large !important;
    color: #98ccfd;
    display: inline;
}

.close {
    color: #999 !important;
    text-shadow: 0 0px 0 #242e36 !important;
    opacity: 1 !important;
    font-size: 26px !important;
    font-weight: 600;
}

.close:hover {
    color: #98ccfd !important;
}

.modal-body label {
    font-weight: normal !important;
}

.controls input, select {
    border: 1px solid #395168;
    background-color: #181e24;
    width: 100%;
    outline: none;
    padding: 5px;
}

.controls input[disabled], 
select[disabled],
input[readonly],
select[readonly] {
    background-color: #242e36;
    color: #777777;
}

.required::before {
    content: "*";
    color: goldenrod;
}

.pop-message, .dialog-message {
    position: fixed;
    left: 50%;
    bottom: 50px;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    background-color: #242e36;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #32414f;
    box-shadow: 8px 5px 6px 1px #242c37;
    display: none;
}

.success {
    color: #98ccfd;
}

.error {
    color: #f7a935;
}

.btn:focus {
    outline: none;
}

.category-side-content {
    color: #f4f4f4;
    background-color: #475c6c;
    width: 25%;
    
    padding: 10px;
    box-shadow: 8px 5px 6px 1px #242c37;
    border-radius: 8px;
    display: block;
}

.category-side-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: bold;
    color: #98ccfd;
    display: contents;
}

.category-side-content img {
    width: 48px;
}

.category-side-content ul {
    list-style-type: none;margin-left: -30px;margin-top: 20px;
    cursor: pointer;
}

.category-side-content li {
    padding: 5px;
}

.category-side-content li:hover, .category-side-content .selected {
    color: #98ccfd;
    background: #2f3c48;
    box-shadow: 0px -1px 6px 1px #c9d1dc;
    border-radius: 3px;
}

.category-container {
    margin: 100px 0 0 20px;
    display: none;
    height: 70%;
}

.help-content {
    color: #f4f7fa;
    margin-left: 20px;
    width: 71%;
    padding: 10px;
    background-color: #354a5f;
    overflow-y: auto;

}

html, body {
    height: 100%;
    margin: 0;
  }

/* width */
::-webkit-scrollbar {
width: 14px;
}

/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey; 
border-radius: 10px;
}
   
/* Handle */
::-webkit-scrollbar-thumb {
background: #4e5d6b; 
border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #548ca4; 
}

.category-container-inner {
    height: 100%;
    display: flex;
}

.trumbowyg-editor {
    color: #f5f5f5;
    background-color: #181e24;
}

.content-editor {
    border: 1px solid #395168;
}

.trumbowyg-box {
    border: 0 !important;
}

.trumbowyg-box svg, .trumbowyg-modal svg {
    fill: #81afd6 !important;
}

.trumbowyg-button-pane {
    background-color: #242e36 !important;
    /*border: 1px solid #395168 !important;*/
    border: 0 !important;
}

.trumbowyg-button-pane::after {
    background-color: transparent !important;
}

.trumbowyg-button-pane .trumbowyg-button-group::after {
    background-color: #286090 !important;
    opacity: 0.2;
}

.trumbowyg-button-pane .trumbowyg-open-dropdown::after {
    border-top-color: #81afd6 !important;
}

.trumbowyg-box, .trumbowyg-editor {
    margin: 1px auto !important;
}

.trumbowyg-button-pane button.trumbowyg-active, .trumbowyg-button-pane button:not(.trumbowyg-disable):focus, .trumbowyg-button-pane button:not(.trumbowyg-disable):hover {
    background-color: #181e24 !important;
}

.hidden {
    display: none;
}

.help-content-wrapper {
    padding: 10px;
}

.help-content-wrapper img {
    -webkit-box-shadow: 3px 16px 9px -1px rgba(0,0,0,0.77);
    -moz-box-shadow: 3px 16px 9px -1px rgba(0,0,0,0.77);
    box-shadow: 3px 16px 9px -1px rgba(0,0,0,0.77);
}

.help-title {
    padding: 10px;
    background-color: #2f3c48;
    color: #98ccfd;
    font-weight: 700;
    font-size: larger;
}

.trumbowyg-modal-box .trumbowyg-modal-title {
    background-color: #181e24 !important;
    color: #93c6f5 !important;
    border-bottom: 1px solid #395168 !important;
}

.trumbowyg-modal-box {
    background-color: #242e36 !important;
}

.trumbowyg-modal-box label input {
    background-color: #181e24 !important;
    border: 1px solid #395168 !important;
    font-weight: normal !important;
    color: #CCC !important;
}

.trumbowyg-modal-box label .trumbowyg-input-infos span {
    background-color: #181e24 !important;
    border: 1px solid #395168 !important;
    color: #ccc !important;
}