@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,300,400,600italic,600,700italic,700,800);
html,body { height: 100%; }
body { position:relative;}
body {
    font-family: "Open Sans", sans-serif;
    font-size:13px;
    background-color:#ffffff;
    word-wrap: break-word;
}
:focus {outline:none!important;}
::-moz-focus-inner {border:0!important;}

body.waiting * {
    cursor: progress;
}

#admin_container {
    width:100%;
    height: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
    /*padding: .5em;*/
    padding-right: 1.5em;
    line-height:1.5;
}

#excludes select, #exclude_sites select {
    margin-bottom:2px;
}

.form-horizontal .control-label {
    text-align: left;
}

label.invalid-form-label {
    font-weight: 400;
    color:#990000;
}

.form-control.invalid {
    background-color: #ffd6b9;
}

div.checkbox input[type=checkbox] {
    position:relative;
    margin:0 10px;
    vertical-align: middle;
}

.table.table-vert-center > tbody > tr > td {
    vertical-align: middle;
}

.table-condensed input[type=checkbox] {
    margin:0;
}

.table-condensed > tbody > tr > td.hiddenRow {
    padding:0;
    border:none;
}
.table-condensed > tbody > tr > td.hiddenRow div.accordion-body {
    padding:15px 20px 1px 20px;
    background-color:#f8f8f8;
}
.table.links > tbody > tr > td {
    max-width:261px;
    overflow:hidden;
}
.fa.table-expander {
    cursor:pointer;
    color: #e8b296;
    margin-right:5px;
}
.fr-box.fr-code-view textarea.fr-code {
    min-height: 450px;
}
.fr-command.fr-btn.fr-active + .fr-dropdown-menu .fr-dropdown-wrapper,
.fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content {
    max-height:400px;
}

.navbar {
    margin-bottom:0;
    border-radius: 0;
}

#admin_footer {
    clear:both;
    background-color:#1f1f1f;
    padding:5px;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    display:block;
    z-index: 99;
}
#admin_menu {
    float:left;
    width:165px;
    padding-top:60px;
    overflow: hidden;
    position:relative;
    display:block;
    background-color:#3d3d3d;
    margin-right:-100%;
}
#admin_menu ul {
    list-style:none;
    margin:0;
    padding:0;
}
#admin_menu ul li {
    display:block;
    margin:0;
    padding:0;
}
#admin_menu ul li ul {
    padding-left:20px;
}
#admin_menu ul li a {
    font-size:13px;
    text-decoration:none;
    padding:10px;
    position:relative;
    display:block;
    color:#d9d9d9;
    border-top:1px solid #4d4d4d;
}
#admin_menu ul li a:hover {
    background-color:#606060;
}
#admin_menu ul li a .title {
    margin-left:10px;
}

#admin_menu ul li a.active:after {
    font-family: "FontAwesome";
    content: "\f101";
    font-size: 14px;
    position: absolute;
    right: 10px;
    top: 12px;

}

#admin_menu span.fa {
    min-width:15px;
    text-align: center;
}

#admin_content_wrapper {
    float:left;
    width:100%;
    background-color:#3d3d3d;
    padding-top:60px;

}
#admin_content {
    margin-left:165px;
    padding:10px 15px 30px 15px;
    background-color:#ffffff;
    min-height:600px;
    bottom:0;
}

@media(max-width:900px) {
    #admin_menu {
        width:45px;
    }
    #admin_menu span.title {
        display:none;
    }
    #admin_content {
        margin-left:45px;
    }
}

@media print {
    #admin_menu {
        display:none;
    }
    #admin_content {
        margin:0;
    }
}

/***
Input icons
***/
.input-icon {
    position: relative;
}
.input-icon > .form-control {
    padding-left: 33px;
}
.input-icon > i {
    color: #ccc;
    display: block;
    position: absolute;
    margin: 11px 2px 4px 10px;
    z-index: 3;
    width: 16px;
    height: 16px;
    font-size: 16px;
    text-align: center;
}
.modal .input-icon > i {
    z-index: 10055;
}

.nav.pull-right > li > .dropdown-menu,
.nav > li > .dropdown-menu.pull-right {
    right: 0;
    left: auto;
}
.nav.pull-right > li > .dropdown-menu:before,
.nav > li > .dropdown-menu.pull-right:before {
    right: 12px;
    left: auto;
}
.nav.pull-right > li > .dropdown-menu:after,
.nav > li > .dropdown-menu.pull-right:after {
    right: 13px;
    left: auto;
}
.nav.pull-right > li > .dropdown-menu .dropdown-menu,
.nav > li > .dropdown-menu.pull-right .dropdown-menu {
    right: 100%;
    left: auto;
    margin-right: -1px;
    margin-left: 0;
}

/* Page title */
.page-title {
    padding: 0px;
    font-size: 30px;
    letter-spacing: -1px;
    display: block;
    color: #666;
    margin: 0px 0px 10px 0px;
    font-weight: 300;
    font-family: "Open Sans", sans-serif;
    /* subtitle */
}
.page-title small {
    font-size: 14px;
    letter-spacing: 0px;
    font-weight: 300;
    color: #888;
}

.panel-heading {
    padding-right: 2px;
}
.panel-heading .btn {
    margin-left:10px;
    border-color: #ffffff;
}
.panel-heading .input-group, .panel-heading .btn, .panel-heading .form-control:not(.input-group .form-control) {
    margin-top:-8px;
    margin-bottom:-8px;
}
.panel-heading .input-group .btn {
    margin-top:0;
    margin-bottom:0;
}
.panel-heading .form-control {
    border-color: #ffffff;
}

.breadcrumbs {
    padding:0 0 0 5px;
    margin-bottom: 15px;
    list-style: none;
}
.breadcrumbs > li {
    display: inline-block;
    color:#888888;
}
.breadcrumbs > li > a {
    color:#888888;
    font-weight:600;
}
.breadcrumbs > li + li::before {
    padding: 0 5px;
    color: #888;
    content: "\003e\00a0";
}

.pagination {
    margin:0;
}

.tooltip-inner {
    max-width:200px;
}

#dropzone_area, #file_info2 {
    display:none;
}
#dropzone {
    width:500px;
    margin:20px auto;
    background-color: #f8f8f8;
    font-size:20px;
    color:#666666;
}
.fileinfo {
    text-align: center;
}
#dropzone_product {
    width:200px;
    margin:20px auto;
    background-color: #f8f8f8;
    font-size:14px;
    color:#666666;
}

.alert .btn.pull-right {
    margin-top:-7px;
}



#media-panel {
    margin-top:20px;
}

.media_grid .cell {
    position:relative;
    float:left;
    width:125px;
    border:1px solid #d0d0d0;
    border-radius: 5px;
    margin:8px;
    padding:8px;
}
.media_grid .cell .selected {
    position:absolute;
    top:0;
    right:2px;
}
.media_grid .cell .title {
    font-size:10px;
    font-weight: 600;
    text-align: center;
    height:15px;
    width:90%;
    margin:0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.media_grid .cell img {
    width:100%;
    height:auto;
    cursor: pointer;
}
.media_grid .cell .details {
    /*margin-bottom:5px;*/
    font-size:10px;
    text-align: center;
    height:15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.media_grid .cell .icon {
    float:left;
    font-size:14px;
    margin-right:10px;
    cursor:pointer;
}
.media_grid .cell .icon a:link,.media_grid .cell .icon a:hover,.media_grid .cell .icon a:visited {
    color:inherit;
}
.media_grid .cell .id {
    float:right;
    font-size:10px;
}

.tag_grid .cell {
    position:relative;
    float:left;
    text-align: center;
    border:1px solid #d58512;
    border-radius: 20px;
    margin:10px;
    padding:3px 10px;
    cursor:pointer;
    background-color:#e8c5ac;
    font-weight:600;
}

.btn-default {
    background-color:#e6e6e6;
    border-color:#adadad
}
.btn-default:hover {
    background-color:#fff;
    border-color:#ccc
}
.btn-primary {
    background-color:#3071a9;
    border-color:#285e8e
}
.btn-primary:hover {
    background-color:#428bca;
    border-color:#357ebd
}
.btn-success {
    background-color:#449d44;
    border-color:#398439
}
.btn-success:hover {
    background-color:#5cb85c;
    border-color:#4cae4c
}
.btn-info {
    background-color:#31b0d5;
    border-color:#269abc
}
.btn-info:hover {
    background-color:#5bc0de;
    border-color:#46b8da
}
.btn-warning {
    background-color:#ec971f;
    border-color:#d58512
}
.btn-warning:hover {
    background-color:#f0ad4e;
    border-color:#eea236
}
.btn-danger {
    background-color: #c9302c;
    border-color: #ac2925;
}
.btn-danger:hover {
    background-color: #d9534f;
    border-color: #d43f3a;
}
.btn-purple, .btn-purple:focus {
    background-color: #8f279d;
    border-color: #7f298d;
    color:#ffffff;
}
.btn-purple:hover {
    background-color: #b134bf;
    border-color: #af34bd;
    color:#ffffff;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.panel-primary > .panel-heading {
    background-color:#3071a9;
    border-color:#285e8e;
    color:#ffffff;
}
.panel-success > .panel-heading {
    background-color:#449d44;
    border-color:#398439;
    color:#ffffff;
}
.panel-warning > .panel-heading {
    background-color:#ec971f;
    border-color:#d58512;
    color:#ffffff;
}
.panel-danger > .panel-heading {
    background-color: #c9302c;
    border-color: #ac2925;
    color:#ffffff;
}

.bootbox-danger .modal-header {
    background-color:#c9302c;
}
.bootbox-primary .modal-header {
    background-color:#3071a9;
}
.bootbox-danger .modal-header h4, .bootbox-primary .modal-header h4 {
    color:#ffffff;
}

input[type="radio"] {
    margin: 0;
}
.radio label input[type="radio"] {
    margin-top:4px;
}

.no-pad {
    padding:0;
}


.taglist ul, .catlist ul {
    list-style: none;
    margin:0;
    padding:0;
}
.taglist ul li, .catlist ul li {
    position: relative;
    margin:4px 0;
    padding:5px;
    font-size:13px;
    /*color:#ffffff;*/
    border:1px solid #f0f0f0;
    border-radius:2px;
    height: 30px;
}
.taglist ul li {
    background-color: #e8c5ac;
    opacity: 0;
    animation: fadeIn .3s linear forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.catlist ul li {
    background-color: #a7d2a7;
}
.taglist .tag-weight, .catlist .cat-weight {
    background-color: #ffffff;
    width:21px;
}
.taglist ul li .fa-times-circle, .catlist ul li .fa-times-circle {
    position:absolute;
    top:5px;
    right:5px;
    color:#ffffff;
    cursor: pointer;
    font-style: normal;
    font-size:18px;
}
.bootstrap-touchspin {
    width: 40px;
    float:left;
    margin:-5px 5px 0 -5px;
}
.article-data #catlist .bootstrap-touchspin {
    width:20px;
}
#taglist .input-group > .form-control, #taglist .input-group > .input-group-addon, #taglist .input-group > .input-group-btn > .btn,
#catlist .input-group > .form-control, #catlist .input-group > .input-group-addon, #catlist .input-group > .input-group-btn > .btn  {
    height: 28px;
    padding: 2px 5px;
    font-size: 12px;
    line-height: 1;
    border-radius: 3px;
}
#taglist .bootstrap-touchspin .input-group-btn-vertical > .btn,
#catlist .bootstrap-touchspin .input-group-btn-vertical > .btn {
    padding: 6px 9px 0;
    height:15px;
}
#taglist .bootstrap-touchspin .input-group-btn-vertical i,
#catlist .bootstrap-touchspin .input-group-btn-vertical i {
    top:2px;
}
.article-data #catlist .cat-weight {
    display:none!important;
}
.fr-box.fr-basic .fr-element {
    min-height:300px;
}

.list-group-item i.fa {
    min-width: 14px;
    text-align: center;
}

.nav-tabs.article-list > li a {
    padding:5px 15px;
    text-align: center;
}
.nav-tabs.article-list > li a div {
    font-size:11px;
    color:#333333;
}
.nav-tabs.article-list > li.active a {
    background-color:#f8f8f8;
}


.row.article-list {
    margin:0;
    padding:5px 0;
    color:#666666;
    font-size:13px;
    border-top:1px solid #dddddd;
    border-bottom:2px solid transparent;
}
.row.article-list.article-highlight {
    background-color: #fbffca;
}
.row.article-list:hover {
    background-color:#f8f8f8;
}
.row.article-list .row {
    margin:0;
}
.row.article-list div[class^="col-xs-"] {
    padding:0;
}
.row.article-list.header {
    color:#222222;
    font-weight:600;
    border-top:none;
    background-color:#f8f8f8;
}
.row.article-list .article-title {
    font-size:14px;
    font-weight:600;
    color:#222222;
}
.row.article-list .col-xs-2 {
    white-space: nowrap;
}
.row.article-list .truncate {
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
}
.row.article-list .article-list-buttons {
    text-align: right;
    white-space: nowrap;
}
.row.article-list .article-list-buttons .btn {
    margin:10px 2px 0;
}
.row.article-list .fa-sticky-note {
    font-size: 16px;
    margin:0;
    cursor:pointer;
}
.row.article-list .initials {
    padding:0 2px;
    background-color:#e8e8e8;
    border: 1px solid #e0e0e0;
    border-radius:2px;
    font-size:11px;
    font-weight:600;
}
.row.article-list .initials.assign-user {
    cursor:pointer;
}

.row.article-data h4 {
    margin-top:0;
}
.row.article-data div[class^="col-"] {
    margin-bottom:20px;
}

.date_box:hover {
    cursor:pointer;
    color:#337ab7;
}

.due-danger {
    background-color: #ffd6be;
    color:#333333;
    padding:0 2px;
    border: 1px solid #f9d0b9;
    border-radius:2px;
}
.due-warning {
    background-color: #fff6cc;
    padding:0 2px;
    border: 1px solid #fdf4cb;
    border-radius:2px;
}
.due-success {
    background-color: #e2ffd2;
    padding:0 2px;
    border: 1px solid #dcf9cd;
    border-radius:2px;
}

.link-style-selectors input[type=radio] {
    vertical-align: middle;
}

#site_pallet {
    max-height:500px;
    overflow:auto;
}

.page-note {
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #bce8f1;
    border-radius: 4px;
    min-height:31px;
}
.page-note.blue-note:before {
    font-family: "FontAwesome";
    content: "\f129";
    font-size: 20px;
    color: #31708f;
    position:absolute;
    left:5px;
    top:1px;
}
.page-note.blue-note {
    padding: 5px 10px 5px 20px;
    color: #31708f;
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
}
.page-note.grey-note {
    padding: 5px 10px 5px 10px;
    color: #555555;
    background-color: #e6e6e6;
    border: 1px solid #cdcdcd;
}
.page-note p:last-child {
    margin-bottom:0;
}
#modal-img-preview {
    z-index: 9998;
}
#modal-image-picker, #modal-selector {
    z-index:9995;
}
#modal-image-picker .modal-dialog {
    width:80%;
    max-width: 1200px;
}

#modal-kb, #modal-kb-view {
    max-height: 100%;
    overflow:auto;
}
#modal-kb .modal-dialog, #modal-kb-view .modal-dialog {
    width:80%;
    max-width: 1200px;
}
#kb-folder-tree .list-group-item:first-child,#kb-folder-tree .list-group-item:last-child {
    border-radius: 0;
}

.yellow-folder {
    color: #ecd51f;
}

.table-tag-stats th:not(:nth-child(2)),.table-tag-stats td:not(:nth-child(2)) {
    width:100px;
    text-align: center;
}
.table-tag-stats th:first-child, .table-tag-stats td:first-child {
    width:45px;
}

.table-campaign-stats th:nth-child(n+3), .table-campaign-stats td:nth-child(n+3) {
    width:80px;
    text-align: center;
}

.table-subscription-prefs td {
    text-align: center;
}


/*Automation*/
.condition-group, .action-group {
    border:1px solid #eeeeee;
    margin:10px 0;
}

.flow-block {
    stroke:#cccccc;
}

/*Hide delete button in Froala image manager*/
/*
.fr-modal .fr-modal-wrapper div.fr-scroller div.fr-image-list div.fr-image-container .fr-delete-img {
    display: none !important;
}*/

@-webkit-keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }
    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}
@keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }
    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}
.ticker-wrap {
    position: fixed;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    height: 30px;
    /*background-color: #1f1f1f;*/
}

.ticker {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
    padding-left: 100%;
    /*padding-right: 50%;*/
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: ticker;
    animation-name: ticker;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
}
.ticker__item {
    display: inline-block;
    padding: 0 15px;
    font-size: 15px;
    color: white;
}

/*Fix for modal scrolling after second modal opened/closed */
.modal { overflow: auto !important; }