/* Reset backoffice*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* soft reset */

html,
body {
    margin: 0;
    padding: 0;
}

ul,
ol {
    /*padding-left: 2em;*/
}

ul.unstyled {
    list-style: none;
}

img {
    vertical-align: middle;
    border: 0;
}

audio,
canvas,
video {
    display: inline-block;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

[ng\:cloak], [ng-cloak], .ng-cloak {
  display: none !important;
}
a.btn:visited {
    color:white;
}
a.btn-default:visited {
    color: black;
}
.bootstrap-scope {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}
.boostrap-scope p,
.bootstrap-scope ul,
.bootstrap-scope ol,
.bootstrap-scope dl,
.bootstrap-scope blockquote,
.bootstrap-scope pre,
.bootstrap-scope td,
.bootstrap-scope th,
.bootstrap-scope label,
.bootstrap-scope textarea,
.bootstrap-scope caption,
.bootstrap-scope details,
.bootstrap-scope figure,
.bootstrap-scope hgroup {
  margin-top: 0;
}

.bootstrap-scope .bootstrap-colorpicker .input-group-addon {
    background: url('bootstrap/img/bootstrap-colorpicker/alpha.png') 0 100% repeat;
}

.bootstrap-scope .table.table-valign>tbody>tr>td {
    vertical-align: middle;
}

.bootstrap-scope .image-preview-input {
    position: relative;
    overflow: hidden;
    margin: 0px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.bootstrap-scope .image-preview-input input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
.bootstrap-scope .image-preview-input-title {
    margin-left:2px;
}
.bootstrap-scope .wysiwyg {
    background-color:#FFF;
}
.bootstrap-scope .wysiwyg .btn-toolbar,
.bootstrap-scope .note-editor .note-toolbar {
    margin-left:0;
}

body.admin {

}
body.onadmin {
    padding-top:0;
}

.modal {
    overflow: auto !important;
}
.grow-message{
    font-size: 14px;
    position:fixed;
    left:50%;
    width:33%;
    margin-left:-16%;
    top:10px;
    z-index: 9999;
    opacity:0.95;
}
.grow-message .close {
    position:absolute;
    right:5px;
    top:5px;
}
.bootstrap-scope .thumbnail.selected{
    border-color:#428bca;
    color:#2a6496;
    text-decoration: underline;
}

.block_headerest .thumbnail {
    max-width: 20rem;
}
.block_headerest .thumbnail>* {
    max-width: 100%;
}

#mode-switcher {
    background: #4970EC;
    color: white;
    opacity:0.7;
    position:fixed;
    right: 0;
    top: 0;
    display: block;
    z-index: 2000;
    font-weight: bold;
    padding: 6px 15px;
    text-align: center;
    text-decoration: none;
}
#mode-switcher.in-admin { padding:7px 15px 8px; }
#mode-switcher:hover{ opacity: 1; }
#mode-switcher p {
    margin:0;
    font-weight: bold;
    font-size: 13px;
    line-height:18px;
}

#pages_content {
    font-size: 0.83em;
}
#pages_content * {
    box-sizing: content-box;
}
.qq-upload-list {
    list-style: none;
    padding:0;
}
.note-editor .note-editable {
    position:relative;
}
.page-wrapper {
    height: 100%;
}