* {
    box-sizing: border-box;
}

#selected-vars {
    list-style-type: none;
    padding: 0;
}

#alert-box-container {
    display: none;
}

#alert-box-container > .row > div > .panel {
    background: #1a9fda;
    color: white;
    border: 0px;
}

.alert {
    background: #1a9fda;
    color: white;
    padding: 8px 14px 8px 14px;
    border-radius: 3px;
    margin-bottom: 16px !important;
}

.alert-box {
    color: #e63f13;
}

.page-title {
    color: #1a9fda;
}

.var-delete-icon {
    color: #ddd;
    cursor: pointer;
    margin-right: 12px;
}

.var-delete-icon:hover {
    color: #e63f13;
}

.guest-post-title {
    margin-bottom: 0px;
}

.guest-subpost-title {
    margin-bottom: 0px;
    color: #1a9fda;
}

.guest-post-text {
    margin-top: 4px;
}

a.subpost {
    color: #1a9fda;
}


#loading > img {
    height: 7px;
    margin-left: auto;
    margin-right: auto;
}

#loading {
    position: relative;
    text-align: center;
    margin-top: 140px;
}

#content-text {
    padding: 5px 20px 20px 20px;
    margin-top: 20px;
}

.edit-mode {
    border: 1px solid #1a9fda;
    border-radius: 5px;
}

.edit-toggle {
    float: right;
    margin-right: 10px;
    margin-top: 5px;
    color: #eee;
}

.edit-checkbox {
    float: right;
    margin-right: 10px;
    margin-top: 5px;
}

#second-pagetitle{
    -moz-user-select: text;
    -khtml-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
    z-index: 10;
}

#third-pagetitle{
    -moz-user-select: text;
    -khtml-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
    z-index: 10;
}

#usenames {
    height: 44px;
}

.mobile-nav {
    position: fixed;
    background: white;
    border-top: 1px solid #e63f13;
    color: #4c5255;
    padding-top: 12px;
    padding-bottom: 6px;
    bottom: 0;
    left: 0;
    right: 0;
}

.mobile-nav-entry {
    flex-grow: 1;
    display: flex;
    text-align: center;
}

.mobile-nav-entry > a {
    display: flex;
    color: #4c5255;
    flex-grow: 1;
    flex-direction: column;
    text-align: center;
}

.close {
    opacity: 0.9 !important;
    color: #fff !important;
}

#invalid-extension {
    display: none;
    color: #fff;
}

#invalid-extension-means {
    display: none;
    color: #fff;
}

.album-container {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}

.album-item-wrapper {
    margin: 8px;
}

.album-item {
    width: 120px;
    height: 120px;
    z-index: 1;
}

.album-item-toolbar-text {
    font-size: 9pt;
    color: #333;
}

.album-editable-text {
    color: black;
}

.album-editable-text:hover,
.album-editable-text:focus,
.album-editable-text:active {
    -webkit-transition: color 0.2s ease-out;
    -moz-transition: color 0.2s ease-out;
    -o-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;
    color: #aaa;
    border-bottom: dashed 1px #aaa;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}

[hidden] { display: none; }

.safari-hidden {
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Front */

.post-block {
    background-color: #ff9c0d;
    height: 190px;
    padding: 0px 20px 20px 10px;
    border: 5px solid #fff;
    color: #fff;
    width: 100%;
}

@media screen and (max-width: 1095px) {
    .post-block {
        height: 150px;
    }
    .chart-legends{
        float:none !important;
    }
}

.post-block > a {
    color:#fff;
    text-decoration: none;
}

.post-block > a:hover {
    color:#fff;
    text-decoration: none;
}

.post-block-header {
    margin-top: 15px;
    margin-left: 15px;

}

.post-block-text {
    margin-top: -10px;
    margin-left: 15px;
}

.eal-logo {
    height: 130px;
}

/* Draggable CSS */

[draggable] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    /* Required to make elements draggable in old WebKit */
    -khtml-user-drag: element;
    -webkit-user-drag: element;
}

.list-drag {
    cursor: move;
}

.list-drag.dragElem {
    opacity: 0.4;
}
.list-drag.over {
    border-top: 2px solid blue;
}

#chart-legends {
    display: inline-block;
    float: left;
    text-align: left;
}

#secondary-chart-legends {
    float: left;
}

#chart-box {
    overflow: auto;
}

.legend-list {
    list-style-type: none;
}

.chart-legends {
    display: block;
    float: left;
    text-align: left;
    margin-top: 20px;
}

.center {
    display: table;
    margin: 0 auto;
}

.hr-margin {
    margin-top: 10px;
    margin-bottom: 30px;
}

.subarticle-list {
    list-style: none;
    padding-left: 0px;
    padding-right: 0px;
    margin-right: -25px;
    margin-left: -25px;
    margin-top: 10px;
}

.index-header{
    height: 50px;
    padding-left: 60px;
    padding-top: 10px;
    font-size: 16pt;
    color: #fff;
    font-weight: bold;
    border-bottom: 2px solid #fff !important;
}

.index-header > a{
    color: #fff;
}
.index-header > a:hover{
    color: #fff;
    text-decoration: none;
}

.article-index {
    min-height: 35px;
    padding-left: 73px;
    padding-top: 7px;
    padding-bottom: 7px;
    color: #fff;
    border-bottom: 2px solid #fff !important;
}

.article-index > a{
    color: #fff;

}

.normal-1 {
    background-color: rgb(0,95,147);
    border-color: rgb(0,95,147);
}

.inverse-1{
    background-color: rgb(238,110,167);
    border-color: rgb(238,110,167);
}

.normal-2 {
    background-color: rgb(232,78,16);
    border-color: rgb(232,78,16);
}

.inverse-2 {
    background-color: rgb(82,174,50);
    border-color: rgb(82,174,50);
}

.normal-3 {
    background-color: rgb(0,169,172);
    border-color: rgb(0,169,172);
}

.inverse-5 {
    background-color: rgb(173,130,0);
    border-color: rgb(173,130,0);
}

.normal-4 {
     background-color: rgb(228,4,40);
     border-color: rgb(228,4,40);
 }

.inverse-4 {
    background-color: rgb(49,109,31);
    border-color: rgb(49,109,31);
}

.normal-5 {
    background-color: rgb(0,162,219);
    border-color: rgb(0,162,219);
}

.inverse-3 {
    background-color: rgb(81,42,91);
    border-color: rgb(81,42,91);
}

.normal-6 {
    background-color: rgb(255,153,0);
    background-color: rgb(255,153,0);
}

.inverse-6 {
    background-color: rgb(114,158,109);
    border-color: rgb(114,158,109);
}


/* Post graphs */

.combined-pie {
    overflow:auto;margin-left:auto;margin-right:auto;text-align:center;margin-top:10px;
}

.combined-pie-canvas {
    max-width:300px;
}

.combined-pie-caption {
    display:table-row;margin-left:auto;margin-right:auto;text-align:center;
}

.horizontal-bar {
    max-width:700px;margin-left:auto;margin-right:auto;text-align:center;margin-top:10px;
}

.horizontal-bar-canvas {
    min-height:320px;max-width: 700px; max-height:420px !important;display:inline-block;
}

.regular-graph {
    max-width:700px;margin-left:auto;margin-right:auto;text-align:center;margin-top:10px;
}

.regular-graph-canvas {
    min-height:320px;max-width: 500px; max-height:420px !important;display:inline-block;
}

.sidebar {
    display: block;
}

.non-sidebar {
    display: none;
}

.lessmargin {
    padding-left: 18px !important;
    font-size: 11pt;
}

@media (max-width: 992px){
    .sidebar {
        display: none;
    }

    .non-sidebar {
        display: block;
    }
}

#log-checkbox {
    margin-right: 15px;
    margin-top: 9px;
}

ul.horiz li {
    display: inline;
    margin-left: 10px;
}

.color-picker {
    display: none;
}

pre{overflow:auto}
code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}
pre{border:1px solid #999;page-break-inside:avoid}
pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}
pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:normal;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}
