
@font-face {
    font-family: Montserrat;
    src: url('/fonts/Montserrat/Montserrat-Regular.ttf');
}

@font-face {
    font-family: Montserrat;
    src: url('/fonts/Montserrat/Montserrat-Bold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: Raleway;
    src: url('/fonts/Raleway/Raleway-Regular.ttf');
}

@font-face {
    font-family: Raleway;
    src: url('/fonts/Raleway/Raleway-Light.ttf');
    font-weight: 200;
}

@font-face {
    font-family: Raleway;
    src: url('/fonts/Raleway/Raleway-Medium.ttf');
    font-weight: 500;
}

@media (min-width:768px) {
    html,body,.ng,ng {
      height:100%;
    }
}


body {
  background-color:#f3f3f3;
  -moz-font-feature-settings: "liga=1";
  -ms-font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -o-font-feature-settings: "liga";
  font-feature-settings: "liga";
}

footer {
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
  bottom: 0;
  color: #aaa;
  color: rgba(240,240,240,0.3);
  background-color: #2a3f53;
  min-height: 180px;
}

footer a {
  color: #cecece;
}

footer a:hover {
  color: #f2f2f2;
}

/*@media (min-width: 768px) {*/
    .containsEditor {
      overflow-y: auto;
    }
/*}*/

.container-max {
  max-width: 1494px;
}

.wrapper {
  /*overflow: auto;*/
  padding-top: 20px;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -180px;
  /* Pad bottom by footer height */
  padding: 20px 15px 180px;
  background-color: #f2f2f2;
  background-color:rgba(255,255,255,0.6);
}

.jumbotron {
    background-color:transparent;
}

.container-fluid .jumbotron {
    position: relative;
    min-height: 500px;
    margin-bottom: 50px;
    padding-left:0;
    padding-right:0;
}

.jumbotron h1 {
    text-transform:none;
}

.jumbotron h1 .smaller {
    font-size: 36px;
    line-height: 45px;
    font-weight: 200;
    font-family: 'Raleway';
}

p {
   font-family: 'Arial', helvetica, sans-serif;
}

p a {
   color:#4285f4;
}

h2,h3,.lead {
   font-family: 'Raleway', sans-serif;
   text-transform: none;
}

h5 {
   text-transform: uppercase;
   font-size: 12px;
}

.big-font {
     font-size: 13px;    
}

.bigger-font {
    font-size: 20px;    
}

.huge-font, .text-huge {
    font-size: 30px;    
}

.ucase:first-letter {
    text-transform: uppercase;
}

.ucase.label {
    display: inline-block;
}

.underline {
    text-decoration: underline;
}

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.m-b-2 {
    margin-bottom: 2px;
}

/*
.nav-tabs>li>a {
    padding:3px;
    border:1px solid transparent;
    border-radius: 3px 3px 0 0;
    font-size: 10px;
}
*/


/* bs overides */

.form-control, .panel, .list-group, .well, .nav-tabs>li>a {border-radius:3px;box-shadow:0 0 0;}
.form-control {
    border-color:#d7d7d7;
    border-radius: 1px;
    box-shadow: 0 0 0;
    background-color: rgba(250,250,250,0.9);
}
.input-group-lg>.form-control, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.btn, 
.input-group-addon:last-child {
    border-bottom-left-radius:0;
    border-bottom-right-radius:0;
    border-top-left-radius:0;
    border-top-right-radius:0;
}
.btn,.popover,.alert {border-radius: 2px;}
.btn-primary {border-color:transparent;}
.btn-primary,.label-primary,.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {background-color:#4285f4;}
.btn-plus {background-color:#ffffff;border-width:1px;border-color:#dddddd;box-shadow:1px 1px 0 #999999;border-radius:3px;color:#666666;text-shadow:0 0 1px #bbbbbb;}
.text-primary,a.text-primary {color:#4285f4;}
.well,.panel,.thumbnail {border-color:transparent;box-shadow:0 0 0 #cfcfcf;border-radius:2px;min-width:28px;}
.list-group, .list-group-item {
	border-color:#eee;
}
.btn-success,.label-success,.progress-bar-success{background-color:#91ff00;color:#333;border-color:transparent;}
.text-success {color:#91ff00;}
.btn-info,.label-info,.progress-bar-info{background-color:#aaa;border-color:#aaa;}
.btn-danger,.label-danger,.progress-bar-danger{background-color:#dd4b39;}
.btn-warning,.label-warning,.progress-bar-warning{
    color: #91ff00;
    background-color: #a0a0a0;
    background-color: rgba(110,110,110,0.4);
}
.progress {
    height: 7px;
    box-shadow:none;
    -webkit-box-shadow:none;
}
.progress-bar {
    box-shadow:none;
    -webkit-box-shadow:none;
}
.label-warning {
    border-radius: .25em;
    box-shadow: inset 0 1px rgba(100,100,100,0.3);
}
.bg-info {
    background-color: #f1f1f1;
    background-color: rgba(250,250,250,0.9);
}
.form-control-feedback, .text-muted {
    opacity: 0.5;
    color: #aaa;
}

.modal-open {
    padding-right: 0 !important;
}

.modal-backdrop {
    position:fixed;
}

.modal-content {
    border-radius: 3px;
}

.saturate {
    -webkit-filter: hue-rotate(4deg) saturate(2);
    -moz-filter: hue-rotate(4deg) saturate(2);
    filter: hue-rotate(4deg) saturate(2);
}
.grayscale {
    -webkit-filter: brightness(1.10) grayscale(100%) contrast(90%);
    -moz-filter: brightness(1.10) grayscale(100%) contrast(90%);
    filter: brightness(1.10) grayscale(100%) contrast(90%);
}

.img-hover img {
    -webkit-transition: all .3s ease;
  	-moz-transition: all .3s ease;
  	-o-transition: all .3s ease;
  	-ms-transition: all .3s ease;
  	transition: all .3s ease;
}
.img-hover img:hover {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform:translateZ(0) scale(1.20);
    -moz-transform:translateZ(0) scale(1.20);
    -ms-transform:translateZ(0) scale(1.20);
    -o-transform:translateZ(0) scale(1.20);
     transform:translateZ(0) scale(1.20);
}

.border-bottom {
    border-bottom:1px solid #eee;
    border-color:rgba(20,20,20,0.05);
}

.form-control:focus {
    border-color: #ccc;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(150,150,150,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(150,150,150,.6);
}


.nav-tabs, .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
    border-color: #eee;
    border-bottom-color: transparent;
    border-radius: 1px;
}

.nav-tabs > li > a {
    background-color: #f4f4f4;
}
    
.nav-tabs {
    border-bottom-color:#efefef;
}

.nav-tabs li {
    margin-left:0;
}
    
.btn {
	outline: 0 !important;
    outline-offset: 0;
}
textarea {
    resize: none;
    outline: 0;
  
}
.panel .btn i,.btn span{
    color:#666666;
}
.panel .panel-heading {
    font-weight: 700;
    font-size: 15px;
    color: #262626;
    background: #fefefe;
}
.panel .panel-heading a {
    font-weight:400;
    color: #363636;
}
.panel .panel-thumbnail {
    padding:0;
}
.panel .img-circle {
    width:50px;
    height:50px;
}

@media (max-width: 767px) {
    .navbar-nav .open .dropdown-menu {
        background-color:#fff;
    }
    #previewPane {
        width:100% !important;
    }
}

.list-group-item:first-child,.list-group-item:last-child {
	border-radius:0;
}

/* hide border on first table row */
.table > thead > tr:first-child > th, .table > tbody > tr:first-child > th, .table > tfoot > tr:first-child > th, .table > thead > tr:first-child > td, .table > tbody > tr:first-child > td,
.table > tfoot > tr:first-child > td {
    border-top: 0;
}

.modal-footer {
    border-width:0;
}

.modal-right {
  width: 700px;
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  bottom: 0;
  box-shadow: -1px 0px 2px 0px rgba(0,0,0,0.25);
  overflow-y: scroll;
  margin:0;
  border:0;
  background:#fff;
}

.modal-right .modal-content {
  border-radius:0;
  box-shadow:0 0 0;
  -webkit-box-shadow:0 0 0;
  border:0;
}

.dropdown-menu {
    background-color:#f6f6f6;
    border-color:#e3e3e3;
    border-radius:0;
}

.table-condensed td .checkbox{
    margin-top:0px;

}

.popover {
   max-width: none;
}

.tab-content {
    background-color: #fff;
    padding-bottom:30px;
    border: 1px solid #eee;
    border-top-width:0;
}

.tab-pane {
    overflow: auto;
    min-height: 300px;
}

/* end bootstrap overrides */

.navbar-custom .navbar-nav .nav-action {
   letter-spacing: 0.1em;
   -webkit-transition: all 0.4s ease;
   -moz-transition: all 0.4s ease;
   -o-transition: all 0.4s ease;
   -ms-transition: all 0.4s ease;
}

.navbar-custom .navbar-nav .nav-action:focus::before {
  position: absolute;
  content: '\2713'; /* checkmarks */
  animation-name: 'fade';
  animation-duration: 2.5s;
  animation-iteration-count: 1;
  -webkit-animation-name: 'fade';
  -webkit-animation-duration: 2.5s;
  -webkit-animation-iteration-count: 1;
  opacity: 0;
  bottom: 0;
  left: 48%;
  margin: 0 0 -5px -5px;
  z-index: 99;
  font-size: 23px;
  font-weight: 800;
  color: #91ff00;
  overflow: hidden;
}
.navbar-custom .navbar-nav .nav-action-run:focus::before {
  content: '..';
}

@keyframes 'fade' {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
@-webkit-keyframes 'fade' {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

.navbar-custom .navbar-nav li.active {
   background-color: rgba(10,10,10,0.3);
}

.navbar-custom .navbar-nav > .nav-icon > a {
    padding: 14px;
    padding-top: 14px;
    padding-bottom: 11px;
    font-size: 38px;
}

.navbar-custom .navbar-nav > .nav-icon > a:hover {
    padding-top: 12px;
    padding-bottom: 14px;
    color: #91ff00;
}

.navbar-custom .navbar-nav .nav-info {
    line-height: 16px;
    text-transform: none;
    font-family: arial, sans-serif;
    font-size: 13px;
    color: #f3f3f3;
    color: rgba(253,253,253,0.8);
}

.navbar-custom .navbar-form {
    margin-top:14px;
}

.navbar-form .input-group>.form-control {
    background-color: transparent;
    border-width: 0;
    border-bottom-width: 1px;
    border-color: #ccc;
    border-color: rgba(240, 240, 240, 0.2);
    border-radius: 0;
    height: 40px;
    color: #fefefe;
    outline: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    max-width: 130px;
}

.navbar-custom .navbar-form:hover .input-group {
    background-color: #162c39;
    background-color: rgba(20, 20, 20, 0.2);
}

.navbar-form .input-group>.input-group-btn>.btn {
    background-color: transparent;
    color: #fff;
    border-radius: 0;
    border-color: transparent;
    height: 40px;
    font-size: 20px;
    margin-left: 1px;
    border-bottom-color: #ccc;
    border-bottom-color: rgba(250, 250, 250, 0.2);
}

.row .sp {
    height:100px;
    min-height: 60px;
    padding-right: 0;
    padding-left: 0;
    border-bottom: 4px solid transparent;
}

.sp:hover .pane-label, .sp:hover .pane-wrap {
    opacity:0.5;
    -webkit-transition: opacity .5s ease-in-out;
  	-moz-transition: opacity .5s ease-in-out;
  	-o-transition: opacity .5s ease-in-out;
  	-ms-transition: opacity .5s ease-in-out;
  	transition: opacity .5s ease-in-out;
}

@media (min-width:992px) {
    .row .sp.toolbar {
    	padding-bottom: 28px;
        height: 320px;
    }
}

.preview {
  overflow-y: auto;
  overflow-x: hidden;
}

.pane-settings {
  /*background: rgba(70,70,100,0.9);*/
  color:#b3b1b1;
  position: absolute;
  z-index: 199;
  padding: 8px;
  padding-bottom: 1px;
  font-size: 20px;
  opacity: .8;
  right: 10px;
  top: 0;
  margin: 0;
  display:none;
}

.pane-toggle {
  color:#b3b1b1;
  position: absolute;
  z-index: 199;
  padding: 8px;
  padding-bottom: 1px;
  font-size: 20px;
  opacity: .8;
  right: 10px;
  top: 0;
  margin: 0;
}

.pane-panel {
    background: #001a25;
    color:#b3b1b1;
    position: absolute;
    z-index: 198;
    right: 10px;
    top: 28px;
    margin: 0;
    width:220px;
    min-height:100px;
    display:none;
}
    
.pane-label {
    color: #ddd;
    position: absolute;
    z-index: 60;
    padding: 3px;
    font-size: 12px;
    opacity: .1;
    right: 10px;
    bottom: 1px;
    margin: 0;
    width: 100px;
    text-transform: uppercase;
    text-align: right;
}

.pane-html-start, .pane-html-end, .pane-wrap {
    font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    padding-left: 44px;
    color: #fff;
    opacity: 0.01;
    white-space: nowrap;
    -webkit-transition: opacity .5s ease-in-out;
  	-moz-transition: opacity .5s ease-in-out;
  	-o-transition: opacity .5s ease-in-out;
  	-ms-transition: opacity .5s ease-in-out;
  	transition: opacity .5s ease-in-out;
}

#wrapper {
    /*background-color: rgba(10, 10, 10, 0.9);*/
    background-color: #192f42;
	width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
    height: -webkit-calc(100% - 65px);
    height: -moz-calc(100% - 65px);
    height: calc(100% - 65px);
    overflow: hidden;
}

.inner {
    /*overflow-x:hidden;*/
    margin-top: 1px;
    margin-left: 1px;
    /*min-height:100%;*/
    height: calc(100% - 35px);
    width: 99.1%;
    width: calc(100% - 8px);
    border-bottom: 5px solid transparent;
}

.navbar-block {
    background-color:#FC1298;
	position:absolute;
    z-index:2;
    right:24px;
    top:24px;
    height:215px;
    width:150px;
    display:none;
}

.nav-xs {
    list-style:none;
  	padding-left: 0;
    float:left;
    white-space:nowrap;
    margin-bottom: 0;
}

.nav-xs>li {
    list-style: none;
    white-space: nowrap;
    position: relative;
    display: inline-block !important;
    background-color: transparent;
    background: linear-gradient(to bottom, #2a3f53 0%,#192f42 100%);
    border-right: 1px solid #333;
    border-right: 1px solid rgba(0,0,0,0.4);
}
  
.nav-xs>li>a, .nav-xs .dropdown-header {
    display: block;
    padding: 2px 6px 3px 6px;
    font-size: 12px;
}
.nav-xs>li>a{
    color: #fff;
}
.nav-xs .dropdown-menu>li>a {
    font-size: 12px;
    padding: 3px 6px;
    cursor: pointer;
    cursor: hand;
    height: 22px;
    background-color: #fafafa;
}
.nav-xs .dropdown-header {
    color:#ccc;
}

.nav-xs>li.divider {
    background: #192f42;
    color: #fff;
    padding: 0 2px;
}

.nav-xs .dropdown-menu {
	min-width: 140px;
}

.nav-xs .open > .dropdown-menu {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  opacity: 1;
}

.nav-xs .dropdown-menu {
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-animation-fill-mode: forwards;  
  animation-fill-mode: forwards; 
  -webkit-transform: scale(1, 0);
  -o-transform: scale(1, 0);
  -moz-transform: scale(1, 0);
  transform: scale(1, 0);
  display: block;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
}

.pickList i {
    font-size: 1.33333333em;
    line-height: .75em;
    vertical-align: -15%;
}

.pickList i:hover {
    -webkit-transform:translateZ(0) scale(1.5);
    -moz-transform:translateZ(0) scale(1.5);
    -ms-transform:translateZ(0) scale(1.5);
    -o-transform:translateZ(0) scale(1.5);
    transform:translateZ(0) scale(1.5);
   -webkit-transition: all 0.5s ease;
   -moz-transition: all 0.5s ease;
   -o-transition: all 0.5s ease;
}

.dropdown-menu>li>a {
    padding: 3px 10px;
}

@media (min-width: 768px) {
    .dropdown-md > .dropdown-menu {
        min-width:450px;
        padding-bottom:15px;
    }
    
    .dropdown-lg > .dropdown-menu {
        min-width:850px;
    }
}

.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    z-index: 99999;
    display: block;
}
.ui-resizable-e {
	background: #192f42;
    width: 8px;
    box-shadow: 1px 0 0 rgba(20,20,30,0.4);
}
.tab-pane .ui-resizable-e {
    right: 1px;
}
.ui-resizable-e:after {
    content: "-";
    display: block;
    position: absolute;
    top: calc(50% - 16px);
    left: 0;
    height: 30px;
    width: 10px;
    background-color: rgba(0,0,0,0.1);
}
.ui-resizable-s {
	background: #192f42;
	box-shadow: inset 0 1px 0 rgba(100,100,100,0.2), 1px 1px 0 rgba(20,20,30,0.4);
    height: 10px;
}
.ui-resizable-s:after {
    content: "-";
    display: block;
    position: absolute;
    top: 1px;
    left: calc(50% - 20px);
    height: 8px;
    width: 38px;
    background-color: rgba(0,0,0,0.1);
}

#panes {
    margin-left: -4px;
    margin-right: -1px;
}

/*only enabled on small widths */
#panes.tab-content {
    border:0;
    padding-bottom:0;
}

#panes .tab-pane {
    overflow: visible;
    z-index: 11;
}

#panes.tab-content > .tab-pane {
    height: 270px;
}

#settingsPane {
    background: #081e31 !important;
    padding-left: 15px;
    padding-right: 15px;
}

#descBar > div, #infoBar > div {
    text-overflow:ellipsis;
    white-space:nowrap;
  	line-height: 1.1;
    padding:1px;  
}

#descBar > div {
	overflow:hidden;
}

#descBar, #infoBar {
    border:0 #eee solid;
    border-bottom-width:0px;
    padding-bottom:6px;
    font-size:12px;
}

#infoBar small, #descBar small {
	font-size:8px;
    text-transform:uppercase;
    color:rgba(200,200,200,0.5);
    /*display:none;*/
}

#infoBar .btn {
	background-color:#eee;
}

#htmToolbar {
    width: 94%;
    padding-left: 15px;
    height: 25px;
}

#htmToolbar .tool-icon {
    font-size: 16px;
    padding-left: 10px;
    padding-right: 10px;
}

#htmTools {
    padding-top: 1px;
    margin-left: 0;
}

#htmTools i {
    font-size:14px;
}

#htmTools .dropdown-submenu>a>i {
    font-size:10px;
    opacity:0.5;
}

#htmTools.btn-group > .btn:not(:last-child) {
    border-right: 1px solid #ccc;
}

.dropdown-submenu>.dropdown-menu{right:0;margin-top:0;margin-left:-1px;overflow-x:hidden;overflow-y:scroll;min-width: 200px;max-height:280px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
.dropdown-submenu:hover>.dropdown-menu{-webkit-transform:scale(1, 1);-o-transform: scale(1, 1);-moz-transform: scale(1, 1);transform: scale(1, 1);}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
.dropdown-menu .dropdown-submenu>.dropdown-menu{top:0;right:100%;}


@media (min-width: 768px) {
    .nav li:hover > dropdown-menu {
        display: block;
        box-shadow: 4px 4px 0 rgba(120,120,120,0.3);
        margin-top: 1px;
    }
}


.list-inline .active a {
  color:#fff;
}

.label {
    font-weight: normal;
    padding-top: 4px;
}

.input-xs {
    height: 21px;
    padding: 1px 4px;
    font-size: 9px;
    line-height: 1;
    border-radius:2px;
    width:120px;
    display:inline;
}

.editable {
    float:left;
    margin-right:2px;
    border:1px rgba(200,200,200,0.5) solid;
    padding:1px;
    line-height: 1.5;
    border-radius:2px;
    color:#eee;
}

.noresize {
    resize: none;
}

.form-group .tab-content {
    border:1px solid #eee;
    border-top-width: 0;
    padding-bottom: 20px;
    background-color: #fff;
}

.dropdown-menu .form-control, .dropdown-menu .well, .btn-default.selectpicker {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    padding:6px 5px;
    color: #555;
}

textarea.expanding {
  height: 50px;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

textarea.expanding:hover, textarea.expanding:focus {
  height: 80px;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

textarea.expanding + textarea.expanding:hover, textarea.expanding + textarea.expanding:focus {
  height:calc(100% - 90px);	
}

.btn-group-xs>.btn {
    border-radius:0;
}


.bootstrap-select .dropdown-menu.open {
    padding:0;
}

.bootstrap-select:not([class*="span"]):not([class*="col-"]):not([class*="form-control"]) {
    width:100%;
}

.btn-group.open, .dropdown-menu, .btn-group.open .dropdown-toggle {
	box-shadow:0 0 0;
	font-family:'Arial', sans-serif;
}

.bootstrap-select .btn:focus {
    outline:0 !important;
}

.bootstrap-select .btn:hover {
    background-color:#ccc;
}

.bootstrap-select.btn-group .btn .filter-option {
    left: 6px;
}

.bootstrap-select.btn-group .dropdown-menu dt {
    padding: 3px 6px;
    color: #555555;
}

.bootstrap-select.btn-group .dropdown-menu li > a.opt {
    padding-left: 6px;
}

.multiselect.btn-lg, .multiselect.btn-group-lg>.btn {
    padding:10px 6px;
}

.multi, .multiselect {
    width: 100%;
    text-align: left;
}

.multiselect-container {
    min-width: 80%;
    max-height: 420px;
    overflow-y: auto;
}

.count-circle {
    position: absolute;
    right: 10px;
    font-size: 11px;
    font-weight: 800;
    color: #000;
    line-height: 1.1em;
    padding: 2px 4px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    background: #91ff00;
    border-radius: 12px;
    z-index: 900;
}

.count-circle-sm {
    right: 23px;
    top: -7px;
}

.count-circle-o {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.count-circle-red {
    background: #dd3333;
    border-color: #dd3333;
}

.ace_autocomplete {
    width: 270px;
    z-index: 200000;
    background: #666;
    color: #eee;
    border: 0 lightgray solid;
    position: fixed;
    box-shadow: 2px 3px 5px rgba(0,0,0,.2);
    line-height: 1.4;
}

.ace_editor.ace_autocomplete .ace_scroller {
    background: #eee !important;
}

.ace-merbivore {
    background: #192f42 !important;
}

.ace-merbivore .ace_gutter {
    background: #1c3145 !important
}

.ace-merbivore .ace_gutter-active-line {
    background: #192f42 !important;
}

.ace-readonly-highlight{
    background-color: #cc0000;
    opacity: 0.6;
    position: absolute;
}

.ace-tip{
    display: inline;
    position: relative;
    background: #ffcc00;
}

.ace-tip:hover:after{
    background: #333;
    background: rgba(0,0,0,.8);
    border-radius: 2px;
    bottom: 26px;
    color: #fff;
    content: attr(title);
    left: 20%;
    padding: 3px;
    position: absolute;
    z-index: 9800;
    font-size:9px;
    width: 220px;
}

.viewbar-btn {
  background-color: rgba(40, 40, 40, 0.9);
  background-color: #192f42;
  position: absolute;
  bottom: 32px;
  left: -26px;
  width: 28px;
  height: 32px;
  padding: 7px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  color:#ccc;
  opacity: 1;
}

.viewbar a {
  color:#ccc;
  color:rgba(190,190,190,0.5);
}

.viewbar-btn:hover {
  left:-26px;
}

.extlink-btn {
  bottom: 65px;
  padding-left: 9px;
}

.viewbar {
  border-top-left-radius:4px;
  border-top-right-radius:4px;
  border-bottom-left-radius:4px;
  -webkit-transition-property: -webkit-transform,width;
  transition-property: transform,width;
  -webkit-transition-duration: 350ms;
  transition-duration: 350ms;
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  position: absolute;
  right: -255px;
  bottom: 0;
  top: 0;
  width: 260px;
  height: calc(100% - 1px);
  z-index: 5;
  padding-left: 10px;
  color: #eee;
}

.viewbar.active {
  right: 0;
  width: 265px;
  color: #555;
  background-color: rgba(250, 250, 250, 0.95);
  -webkit-box-shadow: -5px 5px 0px rgba(20, 20, 20, 0.1);
  box-shadow: -5px 5px 0px rgba(20, 20, 20, 0.1);
}

.viewbar.active .viewbar-btn {
  background-color: rgba(240, 240, 240, 0.9);
}

.viewbar-contents {
  overflow: auto;
  padding-top: 7px;
  height: 100%;
}

#previewPane {
 /*height: calc(100% - 100px);*/
 position: relative;
 /*margin: 0 auto;*/
 /*background-color:#fff;*/
}

#previewPane.animate {
 -webkit-transition:width 100ms ease-in-out, width 450ms ease-in-out;
 -moz-transition:width 100ms ease-in-out, width 450ms ease-in-out;
 -o-transition:width 100ms ease-in-out, width 450ms ease-in-out;
 transition:width 100ms ease-in-out, width 450ms ease-in-out;
}


#previewPane iframe {
  background-color: #fff;
}


#view1:hover + .ruler-h {
 height: 0;
 opacity: 0.2;
}

.ruler-h {
 background: url('/images/ruler.png') top left no-repeat;
 position: absolute;
 width: 100%;
 height: 40px;
 top: 0;
 left: 8px;
 opacity: 0.5;
 transition: height .8s ease-in-out, height .5s ease-in-out;
 -moz-transition: height .8s ease-in-out, height .5s ease-in-out;
 -webkit-transition: height .8s ease-in-out, height .5s ease-in-out;
 -o-transition: height .8s ease-in-out, height .5s ease-in-out;
}

.ruler-v {
 background: url('/images/ruler-v.png') top left no-repeat;
 position: fixed;
 top: 59px;
 width: 100%;
 height: 40px;
 z-index: 1000;
}

.loading-spinner-wrapper {
 position: absolute;
 top: 50%;
 z-index: 12000;
 padding: 14px;
 text-align: center;
 border-radius: 10px;
 width: 100%;
}

.loading-spinner {
    position: relative;
    display: inline-block;
    width: 133px;
    height: 20px;
    text-align: center;
    margin-left: 40px;
}

.loading-spinner.white i {
    background: #e0e0e0;
}
.loading-spinner i:nth-child(1) {
  float: left;
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  animation-delay: 0s;
}
.loading-spinner i:nth-child(2) {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  animation-delay: 0.2s;
  left: -17px;
  position: relative;
}
.loading-spinner i:nth-child(3) {
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  animation-delay: 0.3s;
}    
    
.loading-spinner i {
  vertical-align: top;
  display: inline-block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #7D7D8E;
  opacity: 0.1;
  -webkit-animation: pulse2 ease-in-out 1s infinite alternate;
  -moz-animation: pulse2 ease-in-out 1s infinite alternate;
  animation: pulse2 ease-in-out 1s infinite alternate;
}

@-webkit-keyframes pulse2 {
    0% { opacity: 0.0}
    10% { opacity: .20}
    20% { opacity: .40 }
    30% { opacity: .60 }
    40% { opacity: .80 } 
    50% { opacity: 1.0}
    60% { opacity: .80}
    70% { opacity: .60}
    80% { opacity: .40}
    90% { opacity: .20}
    100% { opacity: 0.0}
}

#loading-bar .bar {
	background-color: #91ff00;
}

#loading-bar-spinner .spinner-icon {
	border-top-color:  #fff;
	border-left-color:  #fff;
	top: 16px;
	left: 5px;
	position: relative;
	display: none;
}

/*tags editor*/
.tags {
   margin-bottom: 5px;
} 

.tags input[type="text"] {
   border-width:0;
   outline: none;
   width:90px;
   font-size:12px;
} 

.tags .form-control {
   height:auto;
   padding:5px;
} 

.tags .tag {
   display: inline-block;
   margin-right: 4px;
   margin-bottom: 4px;
   font-size: 13px;
}

.tags .big-tag {
   font-size: 15px;
   margin-right: 8px;
   margin-bottom: 8px;
   padding: 6px;
}
  
.tag .close {
   font-size: 14px;
   margin-left: 5px;
}

.ui-autocomplete {
   z-index:9000;
}

.frame-label {
    position: absolute;
    top: 30px;
    right: 18px;
    z-index: 900;
    opacity: 0.9;
}

.tip {
    position:relative;
}
.tip:hover:after {
    background: #222;
    background: rgba(0,0,0,.8);
    border-radius: 2px;
    color: #ccc;
    content: attr(tip-title);
    left: 0;
    bottom:-25px;
    padding: 4px 8px;
    position: absolute;
    z-index: 910;
    font-size: 12px;
    text-align: left;
    text-transform: none;
    white-space: nowrap;
    font-family: 'Arial', sans-serif;
}

.fluid {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    border: 0 solid #fff;
    background-color: rgba(200,200,200,0.7);
}

.fluid iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 130%;
    height: 130%;
    overflow: hidden;
    opacity: 0.9;
}

.fluid-sm {
    height: 200px;
    margin-top: 1px;
}

.fluid-sm iframe {
    -ms-transform: scale(0.28);
    -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.fluid .cover {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 900;
    display: block;
    text-decoration: none;
    opacity: 0;
    padding: 15px;
    transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -moz-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
}

.fluid .cover:hover {
    background-color: #222222;
    background-color: rgba(5,5,5,0.8);
    color: #f7f7f7;
    opacity: 1;
}

@media (min-width: 992px) {
    .flex, .flex > div[class^='col-'] {  
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex:1 0 auto;
    }
}


.ad {
  position: absolute;
  top: 5px;
  z-index: 1000;
  width: 100%;
  display: inline-block;
  padding-left: 5px;
  color: #fcfcfc;
  font-size: 90%;
  min-height: 25px;
}

.ad-btn-hide {
  position: absolute;
  top: -10px;
  left: -12px;
  background: #222;
  background: rgba(20,20,20,0.6);
  border: 0;
  border-radius: 26px;
  color: #fff;
  cursor: pointer;
  padding: 0;
  height: 25px;
  width: 25px;
  font-size: 19px;
}