.flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.fx-3 {
    width: 24%;
    display: inline-flex;
    padding-bottom: 8px;
}

.sidebar-default .navigation li > a {
    display: flex;
    align-items: stretch;
}

.error {
    color: #f00;
}

.display-none {
    display: none;
}

label.error {
    position: absolute;
    display: block;
    /*top: 35px;*/
}

.form-horizontal label.error {
    /*top: 35px;*/
    bottom: -16px;
}

textarea.form-control {
    height: 120px;
}

.form-horizontal label.error.radio-error {
    bottom: -24px;
}

.custom-radio-error {
    color: #f00;
}

.form-horizontal .form-group {
    /*margin-bottom: 30px;*/
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-20 {
    margin-bottom: 20px!important;
}

.language-table td {
    padding: 3px;
}

.language-table td.lang {
    font-size: 16px;
    text-transform: uppercase;
    padding-right: 20px;
}

.modal-body .form-group {
    margin-bottom: 30px;
}

.modal-body .form-group:after {
    content: "";
    display: table;
    height: 0;
    clear: both;
}


.modal-body .asset-lang {
    font-size: 16px;
    text-transform: uppercase;
}

.template-element {
    display: none;
}

.padding-left-10 {
    padding-left: 10px!important;
}

.padding-left-20 {
    padding-left: 20px!important;
}

.padding-top-10 {
    padding-top: 10px!important;
}

.theme-check {
    position: absolute;
    right: 16px;
    top: 10px;
    color: #48c13e;
}

.navbar-brand {
    padding-top: 0;
}

.navbar-brand > img {
    margin-top: 2px;
    height: auto;
}

textarea#subhead, textarea#sidebar {
    height: 120px;
}


/***************************************************************************
* IMAGES
***************************************************************************/

.clearfix {
    float: none;
    clear: both;
}

.image-details {
    @extend .clearfix;
    padding: 16px 8px!important;
    box-sizing: border-box;
}

/***************************************************************************
* SECTIONS TREE
***************************************************************************/

.section-tree #table {
    border-top: none!important;
}

.section-tree ul {
    padding-left: 0;
}

.section-tree > ul {
    padding-left: 0;
    border-bottom: 1px solid #3d404c
}

.section-tree li {
    list-style: none;
    width: 100%;
    overflow: auto;
    padding-top: 6px;
    /*padding-bottom: 6px;*/
    border-top: 1px solid #3d404c
}

.section-tree li span {
    display: inline-block;
    padding-top: 4px;
}

.section-tree li button {
    margin-bottom: 4px;
}

.section-tree .tree-actions {
    float: right;
    width: 330px;
    /*height: 28px;*/
}



/***************************************************************************
* SECTIONS ON ARTICLES PAGE
***************************************************************************/

.arrow-hidden {
    visibility: hidden;
}

.js-go-up, .js-go-down {
    cursor: pointer;
}

.js-go-up:hover, .js-go-down:hover {
    color: #fff;
}

.article-switch {
    cursor: pointer;
}

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

/***************************************************************************
* CONFIGURATION
***************************************************************************/

.js-config-int.error, .js-config-float.error, .js-config-datetime.error {
    box-sizing: border-box;

    border: 1px solid red;
}


/***************************************************************************
* TABLES
***************************************************************************/

.no-top-border th {
    border-top: none!important;
}

.head-bold th {
    font-weight: bold;
}

.margin-bottom {
    margin-bottom: 40px;
}

.complex-table > tbody > tr > td {
    border-top: 0 none;
}

.complex-table tr.complex-table-border td {
    border-top: 1px solid #3d404c;
}

table.complex-table {
    border-bottom: 1px solid #3d404c;
}


/***************************************************************************
* BUTTONS
***************************************************************************/

.btn-hollow {
    color: #949ba2;
    background-color: transparent;
}

.btn-hollow:hover {
    color: #949ba2;
    background-color: rgba(255,255,255,0.07);
}

.btn.dropdown-toggle {
    float: right;
    border-left: none;
}


.dropdown-menu {
    background-color: #494b54;
    border: none;
    border-radius: 0;
    color: #949ba2;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2)
}

.dropdown-menu > li > a {
    color: #949ba2;
}

.dropdown-menu .divider {
    background-color: #3d404c;
}

/***************************************************************************
* SPINNER
***************************************************************************/

td {
    position: relative;
}

.spinner-position {
    position: absolute;
    top: 22px;
    right: 29px;
    color: #fff;
    z-index: 100;
}


/***************************************************************************
* SEO
***************************************************************************/

.js-seo-part .js-seo-robots {
    display: none;
}


.daterangepicker .ranges {
    display: none;
}



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

/***************************************************************************
* TEMPLATES
***************************************************************************/

.templates-container {
    display: none;
}

/***************************************************************************
* CUSTOM FIELD
***************************************************************************/

#custom-fields-container {
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-position: inside;
}

#custom-fields-container li {
    list-style-type: none;
    list-style-position: inside;
}

.custom-field {
    box-sizing: border-box;
    position: relative;
    margin: 0;
    /*cursor: move;*/
}

.custom-field .drag-bar {
    position: absolute;
    left: -20px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #282b32;
    text-align: center;
    cursor: move;
}

.custom-field .inner {
    margin-bottom: 16px;
    position: relative;
    padding: 16px 8px!important;
}

.custom-field .row {
    margin-bottom: 12px;
}

.custom-field label.checkbox-inline {
    margin-top: 19px!important;
}

.custom-field .close-button {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 3px;
    cursor: pointer;
    z-index: 100;
    width: 20px;
    height: 20px;
    text-align: center;
    box-sizing: content-box;
    transition: all 0.3s;
}

.custom-field .close-button:hover {
    background-color: #494b54;
}

.custom-field .list-table {
    /*overflow: hidden;*/

}

.custom-field .list-table {
    width: 100%;
    /*overflow: auto;*/
}

.custom-field .list-table:after {
    /*content: "";*/
    /*display: block;*/
    /*height: 44px;*/
}

.custom-field .image-types label.checkbox-inline {
    margin-top: 0!important;
}

.error {
    border: 1px solid #f00!important;
    box-sizing: border-box!important;
}

label.error {
    border: none!important;
}

label.custom-error {
    color: #f00;
}

/***************************************************************************
* SUMMERNOTE EDITOR
***************************************************************************/

.note-editor .note-toolbar {
    padding: 3px 20px;
}

.note-popover .popover .popover-content > .btn-group, .note-toolbar > .btn-group {
    margin-top: 3px;
}

.form-control {
    margin-bottom: 16px;
}

.details-column .form-group {
    margin-bottom: 16px;
}

.translation-content .form-group {
    float: none;
    clear: both;
}

.translation-content .form-group label.error, .details-column .form-group label.error {
    top: 62px;
    font-size: 12px;
}

.translation-content .form-group textarea + label.error {
    top: 147px;
}

.translation-content .form-group .js-summernote-hidden + label.error {
    position: relative;
    top: -19px;
}

select.error + label.error + .select2-container {
    border: 1px solid #f00;
}

label.error.inline-error {
    position: relative;
    top: 5px!important;
    margin: 0 0 0 20px;
    display: inline-block;
    line-height: 25px;
}

/***************************************************************************
* IMAGE SELECT
***************************************************************************/

.js-image-upload {
    display: flex;
    align-items: center;
}

.select-image-container {
    width: 105px;
    height: 105px;
    /*display: inline-block;*/
    vertical-align: middle;
    margin-right: 25px;
    text-align: center;
}

.select-image-container::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 100%;
    font-size: 0;
    vertical-align: middle;
}

.select-image-container i {
    font-size: 48px;
    vertical-align: middle;
}

.select-image-container img {
    max-width: 100%;
    max-height: 100%;
}

.input-container {
    flex-grow: 1;
}


.input-container input {
    margin-bottom: 0;
}

.image-loaded {
    background-color: transparent!important;
}

.file-upload {
    width: 100%;
    display: flex;
    align-items: center;
}

.input-container.image label.error {
    top: 83px!important;
}

.margin-vertical {
    margin-top: 10px;
    margin-bottom: 10px;
}


.checker input[type=checkbox], .choice input[type=radio] {
    border: none;
    background: none;
    display: -moz-inline-box;
    display: inline-block;
    margin: 0;
    vertical-align: top;
    cursor: pointer;
    position: absolute;
    top: -2px;
    left: -2px;
    z-index: 2;
    opacity: 0;
    filter: alpha(opacity=0);
}

/*.form-horizontal .checkbox .checker, .form-horizontal .checkbox-inline .checker {*/
    /*top: 50%;*/
/*}*/

.list-values .checker {
    top: 6px!important;
}
ul.multiselect-container.dropdown-menu .checkbox .checker {
    top: 50%;
}

.multiselect.custom-select + .btn-group {
    width: 100%;
}

ul.multiselect-container.dropdown-menu {
    width: 100%;
}

/***************************************************************************
* PANEL TABS
***************************************************************************/

.panel-tabs-title {
    padding-left: 20px;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.panel-title.tab-title {
    padding-top: 24px;
    padding-bottom: 24px;
    font-weight: 300;
}

.panel-title i {
    font-size: 19px;
}

.panel-tabs {
    height: 40px;
    display: inline-block;
    margin-bottom: -1px;
    font-size: 0;
    overflow: auto;
    box-sizing: border-box;
}

.panel-tab {
    display: inline-block;
    height: 100%;
    font-size: 14px;
    padding-left: 24px;
    padding-right: 24px;
    color: rgb(128, 128, 128);
    cursor: pointer;
    transition: background-color 0.2s;

    box-sizing: border-box;
    border: none;
    border-top: 2px solid transparent;
}

.panel-tab:before {
     content: "";
     height: 100%;
     width: 0;
     vertical-align: middle;
     display: inline-block;
}


.panel-tab:hover {
     /*color: rgb(51, 51, 51);*/
 }

.panel-tab i {
    /*font-size: 12px;*/
}

.panel-tab:last-child {
    /*border-right: 1px solid #ddd;*/
}

.panel-tabs-content > .panel {
    display: none;
}





.padding-top-inline-radio {
    padding-top: 30px;
}

.visit-time {
    display: inline-block;
    padding-right: 20px;
}

.visit-panel {
    padding-top: 0;
}

.visit-entry {
    padding-left: 40px;
    box-sizing: border-box;
}

.chart {
    width: 100%;
}

.client-chart {
    height: 200px;
    width: 100%;
}

.no-graph {
    height: 100%;
    text-align: center;
}

.no-graph:before {
    content: "";
    height: 100%;
    width: 0;
    vertical-align: middle;
    display: inline-block;
}

.bottom-content {
    overflow: hidden;
}

.dashboard-box {
    margin-bottom: 20px;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    height: 170px;
    position: relative;
    overflow: hidden;

    text-align: right;
}

.dashboard-box span {
    font-size: 15px;
    font-weight: 300;
    line-height: 110%;

}

.dashboard-box h1 {
    font-weight: 300;
    font-size: 48px;
    line-height: 48px;
    text-align: right;
    margin-top: 0;
    margin-bottom: 12px;
}

.dashboard-box .dashboard-box-visual {
    display: block;
    position: absolute;
    bottom: -5px;
    left: -20px;
    font-size: 120px;
    line-height: 120px;
    opacity: 0.2;
}

.dashboard-box .dashboard-box-visual.current-users {
    bottom: -10px;
}

.dashboard-box .dashboard-box-visual.new-users {
    bottom: -30px;
    font-size: 140px;
    line-height: 140px;
}

.dashboard-box .dashboard-box-visual.not-activated {
    bottom: -30px;
    font-size: 140px;
    line-height: 140px;
}

.dashboard-box-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 4px 20px;
    background-color: rgba(0, 0, 0, 0.1);
}

.dashboard-panel {
    /*overflow: auto;*/
}

.dashboard-panel .panel-tabs {
    background-color: transparent;
    border-bottom: 1px solid #3d404c;
    margin-bottom: 12px;
    text-align: right;
    overflow: visible;
}

.dashboard-panel .panel-tabs .panel-tab {
    top: 1px;
}

.dashboard-panel .panel-tabs .panel-tab.active {
    border-top: 0;
    border-bottom: 1px solid #f6a821;
    background-color: transparent;
}

.dashboard-panel .panel-tabs .table-responsive + .table-responsive > .table:not(.table-bordered):not(.table-framed) {
    border-top: 0;
}

.dashboard-box .dashboard-box-visual i {
    /*opacity: 0.2;*/
    font-size: inherit;
}

.dasboard-heading-label {
    padding-top: 10px;
    text-transform: uppercase;
    display: inline-block;
}

.span-move-up {
    display: block;
    margin-top: -10px;
}

.table-caption {
    padding: 8px 20px;

    border-top: 1px solid #3d404c;
}

.dropdown-menu.dashboard-dropdown > li {
    padding: 8px 15px;
    outline: 0;
    line-height: 1.5384616;
}

.dropdown-menu.dashboard-dropdown > li i {
    margin-right: 10px;
}

.dropdown-menu.dashboard-dropdown > li:hover {
    background-color: #656874;
    color: #333333;
    cursor: pointer;
}

.dropdown-menu.dashboard-dropdown > li.divider {
    padding: 0;
}

.textarea-large {
    height: 160px!important;
    resize: none;
}

.table-responsive {
    overflow: visible;
}

.tab-panel {
    border: 0;
    display: block;
    box-shadow: none;
    margin: 0;
}

.datatable-scroll-wrap {
    overflow: visible;
}

.text-large {
    font-size: 250%;
    display: inline-block;
    padding-left: 12px;
}

.flex {
    display: flex;
}

.flex .col-lg-3 {
    flex-grow: 1;
    float: none;
}

.inline-label {
    color: #e8e8e8;
}

.article-view-image {
    max-width: 100%;
    margin-bottom: 20px;
}

.article-view-stat {
    font-size: 64px;
}

.article-view-stat-slash {
    font-size: 24px;
}

span.select2-container {
    margin-bottom: 2px;
}

span.select2-container + label.error {
    /*bottom: -30px;*/
}

.note-editable img{
    max-width: 100%;
}

.translation-content img{
    max-width: 100%;
}


.panel-heading.note-toolbar .note-style .dropdown-style h1,
.panel-heading.note-toolbar .note-style .dropdown-style h2,
.panel-heading.note-toolbar .note-style .dropdown-style h3,
.panel-heading.note-toolbar .note-style .dropdown-style h4 {
    font-size: 16px;
    color: #949ba2;
}

.note-editor.note-frame .note-editing-area .note-editable h1 {
    color: #000!important;
}

.note-editor.note-frame .note-editing-area .note-editable h1,
.note-editor.note-frame .note-editing-area .note-editable h2,
.note-editor.note-frame .note-editing-area .note-editable h3,
.note-editor.note-frame .note-editing-area .note-editable h4,
.note-editor.note-frame .note-editing-area .note-editable h5,
.note-editor.note-frame .note-editing-area .note-editable h6
{
    color: #000;
}

.antrefile {
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 6px solid #000;
    border-bottom: 6px solid #000;
    font-size: 24px;
}

.grey-box {
    background-color: #e7e7e7;
    box-sizing: border-box;
    padding: 30px;
}

blockquote:before {
    content: "\f10d";
    font-family: "FontAwesome";
    display: inline;
    font-size: 48px;
    font-weight: bold;
}

blockquote:after {
    content: "\f10e";
    font-family: "FontAwesome";
    display: inline;
    font-size: 48px;
    font-weight: bold;
}



/*******************************************************************
 * SPINNER
 *******************************************************************/

.lds-roller {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    margin: -3px 0 0 -3px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 50px;
    left: 50px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 54px;
    left: 45px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 57px;
    left: 39px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 58px;
    left: 32px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 57px;
    left: 25px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 54px;
    left: 19px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 50px;
    left: 14px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 45px;
    left: 10px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.loader-spinner-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.15);
    display: none;
}
.loader-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1000;
    margin-left: -30px;
    margin-top: -30px;
}

.padding-right-20 {
    padding-right: 20px;
}

.article-back-button {
    position: absolute;
    right: 20px;
    top: 55px;
}

h6.dashboard {
    margin-top: 30px;
    margin-bottom: 0;
    float: none;
    clear: both;
}

h6.dashboard:first-of-type {
    margin-top: 10px;
}

h6.dashboard:after {
    content:" ";
    display: table;
    width: 100%;
    height: 0;
}

h6.dashboard + hr {
    margin-top: 0;
}

.dashboard-panel .datatable-header, .dashboard-panel .datatable-footer {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
}

.dataTables_filter .filter-container {
    position: relative;
    display: inline-block;
}

.dataTables_filter label.filter-label {
    position: absolute;
    top: -20px;
    left: 10px;
}

.dataTables_filter input.filter-input {
    margin-left: 10px;
    margin-right: 10px;
    width: 80px;
    padding-right: 12px;
}

