/* This tag hides elements before cms has loaded and should be located in the head of index */
[trev-cms-wait] {
    display: none !important;
}

/* A page specific element */
.trev-cms-element {
    background-color: rgb(20,20,20);
    background-color: rgba(100,100,100,.2);
}
/* A global element */
.trev-cms-element-global {
    background-color: rgb(20,10,0);
    background-color: rgba(50,100,0,.2);
}
/* Main cms bar */
.trev-cms-bar {
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,1);
    color: rgb(204,204,204);
    color: rgba(255,255,255,0.8);
    display: none;
    font-family: sans-serif;
    font-size: 12px;
    height: 40px;
    line-height: 32px;
    position: fixed;
    top: 0;
    text-transform: uppercase;
    width: 100%;
    z-index: 2000;
}
.trev-cms-bar li {
    color: rgb(22,135,180);
    color: rgba(27,170,225,.8);
}
.trev-cms-bar [ng-click] {
    pointer: cursor;
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}
.trev-cms-bar ul {
    position: absolute;
    top: -50px;
    list-style: none;
    padding: 0;
}
.trev-cms-bar ul:nth-child(1),
.trev-cms-bar.focus ul:nth-child(1) {
    left: 0;
    top: 4px;
}
.trev-cms-bar ul:nth-child(2),
.trev-cms-bar.focus ul:nth-child(2)
 {
    right: 0;
    top: 4px;
}
.trev-cms-bar ul:nth-child(1) li {
    float: left;
    padding-left: 20px;
    text-align: left;
}
.trev-cms-bar ul:nth-child(2) li {
    float: right;
    padding-right: 20px;
    text-align: right;
}
.trev-toolbar {
    position: fixed;
    top: 40px;
    z-index: 2000;
}
.trev-toolbar .btn-group .btn {
    border-radius: 0;
}
/* Only show toolbar when active */
.ta-toolbar {
    display: none;
}
/* Modal for working */
.trev-cms-modal {
    background: rgb(126,126,126);
    background: rgba(0,0,0,.5);
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 2001;
}
.trev-cms-modal div {
    position: relative;
    text-align: center;
    top: 40%;
    width: 100%;
}

/* copy the popover code from bootstrap so this will work even without it */
.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    max-width: 276px;
    padding: 1px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: left;
    white-space: normal;
    background-color: #fff;
    -webkit-background-clip: padding-box;
            background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
            box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}
.popover.top {
    margin-top: -10px;
}
.popover.bottom {
    margin-top: 10px;
}
.popover-title {
    padding: 8px 14px;
    margin: 0;
    font-size: 14px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 5px 5px 0 0;
}
.popover-content {
    padding: 9px 14px;
}
.popover > .arrow,
.popover > .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}
.popover > .arrow {
    border-width: 11px;
}
.popover > .arrow:after {
    content: "";
    border-width: 10px;
}
.popover.top > .arrow {
    bottom: -11px;
    left: 50%;
    margin-left: -11px;
    border-top-color: #999;
    border-top-color: rgba(0, 0, 0, .25);
    border-bottom-width: 0;
}
.popover.top > .arrow:after {
    bottom: 1px;
    margin-left: -10px;
    content: " ";
    border-top-color: #fff;
    border-bottom-width: 0;
}
.popover.bottom > .arrow {
    top: -11px;
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    border-bottom-color: #999;
    border-bottom-color: rgba(0, 0, 0, .25);
}
.popover.bottom > .arrow:after {
    top: 1px;
    margin-left: -10px;
    content: " ";
    border-top-width: 0;
    border-bottom-color: #fff;
}

/* add the styling for the awesomness of the resizer */
.ta-resizer-handle-overlay {
    z-index: 100;
    position: absolute;
    display: none;
}
.ta-resizer-handle-overlay > .ta-resizer-handle-info {
    position: absolute;
    bottom: 16px;
    right: 16px;
    border: 1px solid black;
    background-color: #FFF;
    padding: 0 4px;
    opacity: 0.7;
}
.ta-resizer-handle-overlay > .ta-resizer-handle-background {
    position: absolute;
    bottom: 5px;
    right: 5px;
    left: 5px;
    top: 5px;
    border: 1px solid black;
    background-color: rgba(0, 0, 0, 0.2);
}
.ta-resizer-handle-overlay > .ta-resizer-handle-corner {
    width: 10px;
    height: 10px;
    position: absolute;
}
.ta-resizer-handle-overlay > .ta-resizer-handle-corner-tl{
    top: 0;
    left: 0;
    border-left: 1px solid black;
    border-top: 1px solid black;
}
.ta-resizer-handle-overlay > .ta-resizer-handle-corner-tr{
    top: 0;
    right: 0;
    border-right: 1px solid black;
    border-top: 1px solid black;
}
.ta-resizer-handle-overlay > .ta-resizer-handle-corner-bl{
    bottom: 0;
    left: 0;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
}
.ta-resizer-handle-overlay > .ta-resizer-handle-corner-br{
    bottom: 0;
    right: 0;
    border: 1px solid black;
    cursor: se-resize;
    background-color: white;
}

/* In case this is not a bootstrap project */
.show {
  display: block !important;
}
.hidden {
  display: none !important;
}
