﻿html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #e9e9e9;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #555;
}

html {
    overflow-y: scroll;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #111;
}

strong {
    font-weight: 700
}

.right {
    float: right;
}


.flash-message {
    position: fixed;
    z-index: 2000;
    width: 500px;
    top: 0;
    left: 50%;
    margin-left: -250px;
    padding: 6px 0;
    background-color: #86EC86;
    text-align: center;
    color: #000;
}

.navbar {
    position: fixed;
    top: 0;
    z-index: 1030;
    width: 100%;
    height: 60px;
    color: #666;
    background-color: #FFF;
    border-radius: 0;
    border: 0;
    border-bottom: 0;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.08), 0px 2px 0px 0px rgba(0, 0, 0, 0.02);
}

.navbar-branding {
    width: auto;
    line-height: 60px;
    float: left;
}

.navbar-brand {
    display: block;
    float: left;
    padding-left: 20px;
}

.toggle-sidemenu {
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    float: right;
    cursor: pointer;
}


.navbar-nav {
    display: block;
    float: right;
    margin-right: 15px;
}

    .navbar-nav li {
        line-height: 60px;
        float: left;
        padding-right: 20px;
    }



.sidebar {
    position: fixed;
    top: 0;
    width: 250px;
    left: 0;
    height: 100%;
    padding-top: 60px;
    background: #4c4a49;
    font-size: 13px;
    transition: width 0.3s ease;
    overflow-y: scroll;
}

.sidebar-nav li {
    display: block;
    overflow: hidden;
}

    .sidebar-nav li > a {
        padding: 0;
        line-height: 37px;
        height: 37px;
        overflow: hidden;
        color: #FFFFFF;
    }

        .sidebar-nav li > a > .fa {
            float: left;
            top: 0;
            line-height: 37px;
            width: 38px;
            font-size: 13px;
            text-align: center;
            padding-left: 13px;
            transition: font-size 0.3s ease;
        }

        .sidebar-nav li > a > .sidebar-nav-title {
            font-weight: 600;
            padding-left: 6px;
            display: block;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            margin-left: 38px;
        }


.sidebar-nav-label {
    text-transform: uppercase;
    color: #908885;
    font-weight: 600;
    padding-left: 18px;
    padding-bottom: 3px;
    padding-top: 20px;
    font-size: 12px;
    transition: height 0.3s ease, padding 0.3s ease;
}


#content {
    position: relative;
    margin-left: 250px;
    padding-top: 60px;
    font-size: 0.9em;
    transition: margin-left 0.3s ease;
}


body.hide-sidemenu .sidebar {
    width: 46px;
}

body.hide-sidemenu .sidebar-nav li > a > .sidebar-nav-title {
    display: none;
}

body.hide-sidemenu .sidebar-nav li.sidebar-nav-label {
    opacity: 0;
    height: 0;
    padding: 0;
}

body.hide-sidemenu .sidebar-nav li > a > .fa {
    font-size: 16px;
}

body.hide-sidemenu #content {
    margin-left: 46px;
}

.page-foot {
    margin-left: 250px;
    padding: 1em;
    text-align: right;
}

.row {
    clear: both;
    margin-bottom: 20px;
    overflow: hidden;
}

.span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12 {
    float: left;
    margin-right: 2%;
    min-height: 20px;
}

.span-12, .last {
    margin-right: 0;
}

.span-1 {
    width: 6.5%
}

.span-2 {
    width: 15%
}

.span-3 {
    width: 23.5%
}

.span-4 {
    width: 32%
}

.span-6 {
    width: 49%
}

.span-7 {
    width: 57.5%
}

.span-8 {
    width: 66%
}

.span-9 {
    width: 73.5%
}

.span-10 {
    width: 83%
}

.span-11 {
    width: 89.5%
}

.span-12 {
    width: 100%
}

.push-1 {
    margin-left: 8.5%
}

.push-2 {
    margin-left: 17%
}

.push-3 {
    margin-left: 25.5%
}

.push-4 {
    margin-left: 33%
}

.push-6 {
    margin-left: 51%
}


.pad30 {
    padding: 30px;
}

.panel {
    border: 1px solid #e2e2e2;
    background: #FFF;
    border-radius: 3px;
    margin-bottom: 20px;
}

    .panel:after {
        content: "";
        display: table;
        clear: both;
    }

    .panel p {
        line-height: 1.4em;
    }

.panel-title {
    height: 40px;
    line-height: 40px;
    background: #FAFAFA;
    border-bottom: 1px solid #e2e2e2;
    padding: 0 20px;
    font-size: 14px;
}

    .panel-title .fa {
        margin-right: 10px;
    }

.panel-body {
    padding: 15px;
}

    .panel-body.nopad {
        padding: 0;
    }

.panel-actions {
    border-top: 1px solid #dcdcdc;
    background: #FAFAFA;
    padding: 8px;
    overflow: hidden;
}

.panel-toggle .panel-body, .panel-toggle .panel-actions {
    max-height: 2000px;
    transition: max-height 1s ease;
    transition: padding-top 0.1s ease;
    transition: padding-bottom 0.1s ease;
    overflow: hidden;
}

.panel-toggle.panel-toggle-collapsed .panel-body, .panel-toggle.panel-toggle-collapsed .panel-actions {
    max-height: 0px;
    padding-top: 0;
    padding-bottom: 0;
}

.panel-toggle .panel-toggle-icon {
    float: right;
    display: block;
    cursor: pointer;
    padding: 0 0 0 10px;
}

    .panel-toggle .panel-toggle-icon i:before {
        content: '\f066'
    }

.panel-toggle.panel-toggle-collapsed .panel-toggle-icon i:before {
    content: '\f065'
}

.panel-title-total {
    float: right;
    font-weight: bold;
    font-style: italic;
}



.control-group {
    clear: both;
    margin-bottom: 15px;
}

    .control-group:after {
        content: "";
        display: table;
        clear: both;
    }

.panel-actions .control-group {
    margin-bottom: 0;
}

.control-group .control-group-title {
    float: left;
    text-align: right;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .control-group .control-group-title.la {
        text-align: left;
    }

.control-group .control-group-element {
    position: relative;
    float: left;
    padding: 0 10px;
    margin: 10px 0;
}

.form-control {
    display: block;
    width: 100%;
    height: 39px;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.49;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #dddddd;
    border-radius: 3px;
    transition: border-color ease-in-out .15s;
}

    .form-control:focus {
        border-color: #5faee3;
        outline: 0;
    }

textarea.form-control {
    height: auto;
    resize: vertical;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

select[multiple].form-control {
    height: auto;
}

.control-group-element .popover-select-wrapper {
    height: auto !important;
}

.control-group-element .popover-select-tags .tag,
.control-group-element .popover-select-list li,
.control-group-element .popover-select-list li:hover {
    border-radius: 3px;
    background-color: #5cb85c;
    border: none;
    color: #FFF;
}



.form-control-icon {
    position: absolute;
    top: 1px;
    left: 11px;
    height: 37px;
    border-right: 1px solid #dddddd;
    background: #e2e2e2;
    color: #555555;
    text-align: center;
    line-height: 39px;
    width: 40px;
    border-radius: 3px 0 0 3px
}

    .form-control-icon + .form-control, .form-control-icon + div > .form-control {
        padding-left: 51px;
    }


.form-control-check {
    visibility: hidden;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    float: left;
}

    .form-control-check + label {
        font-size: 14px;
        display: inline-block;
        margin: 12px 0;
        vertical-align: baseline;
    }

        .form-control-check + label:before {
            content: '';
            display: block;
            width: 14px;
            height: 14px;
            border: 1px solid #999;
            background: #FFF;
            border-radius: 3px;
            float: left;
            margin: -1px 10px 0 0;
            cursor: pointer;
            box-shadow: inset 0 1px 3px rgba(0,0,0,.3);
            position: relative;
            z-index: 1;
        }

        .form-control-check + label:hover:before {
            border-color: #3498db;
        }

    .form-control-check:checked + label:after {
        content: "\2713";
        display: block;
        width: 14px;
        height: 14px;
        float: left;
        margin: -6px 0 0 -23px;
        color: #3498db;
        font-weight: bold;
        font-size: 20px;
        position: relative;
        z-index: 2;
        text-shadow: 1px 0px 1px #FFF, -1px 0px 1px #FFF, 2px 0px 1px #FFF, -2px 0px 1px #FFF;
        cursor: pointer;
    }

textarea.tinymce {
    display: block;
    width: 100%;
    min-height: 200px;
}

textarea.tinymce-mini {
    display: block;
    width: 100%;
    min-height: 100px;
}

.map {
    height: 500px;
    width: 100%;
}


.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-color: rgba(0, 0, 0, 0.07) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.49;
    border-radius: 2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}

    .btn.right {
        margin-left: 10px;
    }


.btn-small {
    padding: 4px 8px;
}

.btn-round {
    border-radius: 100%;
}

.btn:active {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-default, .lbl-default, .lbl-draft {
    background-color: #f0f0f0;
    color: #666666;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.15);
}

.btn-primary, .lbl-primary, .lbl-live {
    background-color: #3498db;
    color: #FFF;
}

.btn-secondary, .lbl-secondary {
    background-color: #5cb85c;
    color: #FFF;
}

.btn-danger, .lbl-danger {
    background-color: #df5640;
    color: #ffffff;
}

.btn-default:hover {
    background-color: #eaeaea
}

.btn-primary:hover {
    background-color: #2384c6;
    border-color: rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: #449d44;
    border-color: rgba(0, 0, 0, 0.05);
}

.btn-danger:hover {
    background-color: #d53c24;
    border-color: rgba(0, 0, 0, 0.05);
}

.btn-semivis {
    opacity: 0.6;
}

    .btn-semivis:hover {
        opacity: 1;
    }

.btn-img {
    padding-left: 4em;
}

    .btn-img img {
        height: 3em;
        margin: -9px 8px -9px -4em;
        display: block;
        float: left;
    }


table {
    width: 100%;
}

th, td {
    padding: 0.5em;
    text-align: left;
    vertical-align: middle;
}

table td.right {
    text-align: right;
    float: none;
}

table td.center {
    text-align: center;
    float: none;
}

table.clickable-rows tbody tr[data-id]:hover td {
    background: #EEE;
}

table.clickable-rows tbody tr[data-id] td {
    cursor: pointer;
}

thead {
    border-bottom: 1px solid #CCC;
}

table td.title-column {
    font-weight: 600;
}

.sortable-handle {
    cursor: ns-resize !important;
}

table.stripey tbody tr:nth-child(odd) {
    background: #eaf1fe;
}

table.stripey tbody tr:nth-child(even) {
    background: #FFF;
}

table td.multiline {
    font-size: 0.8em;
    padding-top: 10px;
    padding-bottom: 10px;
}

    table td.multiline img {
        width: 100px;
        float: left;
        margin-right: 10px;
        height: 66px
    }

    table td.multiline em {
        font-weight: 600;
        display: block;
        margin-bottom: 8px;
        font-size: 1.3em;
    }

input.table-filter {
    float: right;
    line-height: 20px;
    margin-top: 9px;
    padding: 0 10px;
    border: 1px solid #DDD;
    border-radius: 3px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 12px;
}

tr.table-filter-hide {
    display: none;
}


.lbl {
    display: inline-block;
    font-size: 0.85em;
    padding: 0 0.5em;
    border-radius: 3px;
    line-height: 1.5em;
}

.login {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -180px;
    margin-left: -16%;
}

.message {
    text-align: center;
    margin-bottom: 20px;
}

.message-error {
    color: #df5640;
}

.mce-fullscreen {
    z-index: 5000 !important;
}

.label-list-item {
    float: left;
    background-color: #EEE;
    padding: 3px 6px 3px 3px;
    margin: 0 4px 4px 0;
    border-radius: 3px;
    border: 1px solid #DDD;
}

.edit-tag {
    cursor: pointer;
}

    .edit-tag:hover:after {
        cursor: pointer;
        content: ' - click to edit';
        color: #3498db;
    }

    .edit-tag.open:after {
        display: none;
    }


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
    overflow-y:scroll;
}

    .modal > .dialog {
        position: absolute;
        width: 500px;
        left: 50%;
        margin-left: -250px;
        top: 30%;
    }

.location-copy .modal > .dialog {
    top: 10%;
}

.content-blocks {
    background-color: #FAFAFA;
}

    .content-blocks .ui-state-highlight {
        margin: 0 0 10px;
        border: 1px dashed #222;
        background: #FFF;
        height: 20px;
        border-radius: 3px;
        box-shadow: 0px 0px 3px #DDD;
    }

.content-block {
    padding: 0px;
    border: 1px solid #EEE;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #FFF;
    box-shadow: 0px 0px 3px #DDD;
}

.cb-handle {
    cursor: n-resize;
}

.image-picker {
    min-height: 100px;
    padding: 0 !important;
    position: relative;
    min-width: 100px;
    min-height: 100px;
    display: block;
    background-color: #ddd;
}

    .image-picker:hover {
        cursor: pointer;
    }

    .image-picker img {
        cursor: pointer;
        display: block;
        max-width: 100%;
    }

.hidden {
    display: none;
}

.pagination {
    text-align: center;
}

    .pagination ul {
        display: inline-block;
        background: #FFF;
        border: 1px solid #e2e2e2;
        border-radius: 4px;
    }

        .pagination ul li {
            display: block;
            float: left;
            border-right: 1px solid #e2e2e2;
        }

            .pagination ul li:last {
                border-right: none;
            }

            .pagination ul li a {
                display: block;
                width: 40px;
                line-height: 40px;
                font-size: 1.2em;
                color: #444;
            }

            .pagination ul li.current {
                background: #EEE;
            }

                .pagination ul li.current a {
                    cursor: default;
                }


.errors-list td {
    vertical-align: top;
}

    .errors-list td.code {
        background: #222 !important;
        color: #FFF;
        overflow: hidden;
        line-height: 1.5em;
    }

        .errors-list td.code pre {
            white-space: pre-wrap;
            font-family: Courier;
        }


.error-panel .info {
    float: right;
    padding-right: 1em;
}

.error-panel h2 {
    font-size: 2em;
    color: #000;
    margin: 1em 20px;
    font-weight: bold;
}

.error-panel .file {
    margin: 1em 20px;
    line-height: 2em;
}

    .error-panel .file .param {
        display: inline-block;
        width: 100px;
        color: #000;
        font-weight: bold;
    }

.error-panel pre {
    background: #222;
    color: #FFF;
    line-height: 1.5em;
    font-family: Courier;
    padding: 1em 20px;
    overflow: auto;
}

.avatar-small {
    width: 40px;
    border-radius: 100%;
    overflow: hidden;
}

.addPressArticles .image-picker .form-control.image-picker {
    background: none;
    min-height: initial;
    cursor: pointer;
}

.removeImage {
    position: absolute;
    top: 0;
    right: 0;
    color: #000;
    font-size: 29px;
    background: #fff;
    opacity: 0.6;
    cursor: pointer;
}

.template-details span {
    border-right: 1px solid #c6c3c3;
    margin-right: 5px;
    text-align: center;
    text-transform: capitalize;
    font-size: 12px;
}

    .template-details span:first-of-type {
    }

    .template-details span:last-child {
        border: none;
        margin: 0;
    }

.gallery-control .AddImageToGallery {
    margin: 10px 0;
}

.gallery-control .gallery-images {
    display: flex;
    width: 100%;
    overflow-x: scroll;
    height: 325px;
}

    .gallery-control .gallery-images .image {
        max-height: 200px;
        min-width: 150px;
        width: 150px;
        margin-right: 20px;
        margin-top: 40px;
    }

        .gallery-control .gallery-images .image .image-picker {
            display: block;
            margin: 0;
        }

        .gallery-control .gallery-images .image label {
            margin: 10px 0;
            display: block;
        }

        .gallery-control .gallery-images .image .form-control {
            padding: 10px;
            margin-top: 20px;
        }

.article-select .article-selector {
    margin-bottom: 20px;
}

.article-select .quick-search-article-list {
    display: block;
    width: 60%;
    float: left;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 200px;
    margin-bottom: 20px;
    border: 1px solid #eeeeee;
    border-top: none;
    margin-top: -20px;
}

    .article-select .quick-search-article-list .quick-search-item {
        display: block;
        padding: 10px;
        white-space: nowrap;
        overflow: hidden;
        max-width: 98%;
    }


        .article-select .quick-search-article-list .quick-search-item:hover {
            cursor: pointer;
            background: #eee;
        }


.removeArticle {
    position: absolute;
    right: -40px;
    font-size: 20px;
    height: 40px;
    display: block;
    width: 40px;
    line-height: 37px;
}

    .removeArticle:hover {
        cursor: pointer;
    }

.location-content-blocks .content-block.default {
    border: #df5640 1px solid;
}

.new-item {
    font-style: italic;
}

.page-element-image {
    width: 35%;
    padding:10px;
    float: left;
}

.page-element-imageAttributes {
    width: 65%;
    float: left;
    padding: 2% 0;
}

.content-block h2 {
    font-size: 16px;
    margin-bottom: 10px;
}
