@font-face {
  font-family: "Roboto";
  src: local(Roboto Thin), url("/assets/fonts/roboto/Roboto-Thin.eot");
  src: url("/assets/fonts/roboto/Roboto-Thin.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/roboto/Roboto-Thin.woff2") format("woff2"), url("/assets/fonts/roboto/Roboto-Thin.woff") format("woff"), url("/assets/fonts/roboto/Roboto-Thin.ttf") format("truetype");
  font-weight: 200;
}

@font-face {
  font-family: "Roboto";
  src: local(Roboto Light), url("/assets/fonts/roboto/Roboto-Light.eot");
  src: url("/assets/fonts/roboto/Roboto-Light.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/roboto/Roboto-Light.woff2") format("woff2"), url("/assets/fonts/roboto/Roboto-Light.woff") format("woff"), url("/assets/fonts/roboto/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "Roboto";
  src: local(Roboto Regular), url("/assets/fonts/roboto/Roboto-Regular.eot");
  src: url("/assets/fonts/roboto/Roboto-Regular.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/roboto/Roboto-Regular.woff2") format("woff2"), url("/assets/fonts/roboto/Roboto-Regular.woff") format("woff"), url("/assets/fonts/roboto/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto/Roboto-Medium.eot");
  src: url("/assets/fonts/roboto/Roboto-Medium.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/roboto/Roboto-Medium.woff2") format("woff2"), url("/assets/fonts/roboto/Roboto-Medium.woff") format("woff"), url("/assets/fonts/roboto/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto/Roboto-Bold.eot");
  src: url("/assets/fonts/roboto/Roboto-Bold.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/roboto/Roboto-Bold.woff2") format("woff2"), url("/assets/fonts/roboto/Roboto-Bold.woff") format("woff"), url("/assets/fonts/roboto/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
}

html {
    min-height:100%;
    position: relative;
}

body {
    height: 100%;
}

* {
    font-family: 'Roboto', sans-serif;
}

.clear {
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    clear: both;
}


#ajaxloadingoverlay{
    position: fixed;
    text-align: center;
    display: none;
    z-index: 99999;
}

#infowindow {
    width: 700px;
    height: auto;
    overflow: hidden;
    padding: 10px 20px;
    position: fixed;
    left: 50%;
    top: 0;
    margin-left: -370px;
    display: none;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    z-index: 9999;
}


#mainmenu{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    overflow:hidden;
    width: 150px;
    background-color: #eeeeee;
    border-right: 1px solid #eeeeee;
    z-index: 1;
}
#mainmenu .logo {
    padding: 5px 0;
    background: #fff url(/assets/logo.jpg) center center no-repeat;
    background-size: 50%;
    height: 70px;
    display: block;
}

#mainmenu ul, #mainmenu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#mainmenu li a {
    color: #333333;
    text-decoration: none;
    padding: 15px 15px 5px 15px;
    border-bottom: 1px solid rgba(150,150,150,0.1);
    text-align: center;
    transition: background-color 0.5s, color 0.5s;
    display: block;
}

#mainmenu li a:hover {
    background-color: #333333;
    color: #ffffff;
}

#mainmenu li img {
    margin: 0 auto;
}

#mainmenu li span {
    display: block;
}

#mainmenu .logout {
    position: absolute;
    padding: 2px 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    background-color: #333333;
    color: #ffffff;
    text-align: right;
}

#mainbody {
    padding: 0 0 0 150px;
}

#mainbody > h1 {
    font-size: 20px;
    margin-top: 0;
    background-color: #eeeeee;
    padding-left: 20px;
    padding-top: 22px;
    height: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sitestruct li {
    list-style: none;
}

#dashboard h1 {
    display: none;
}

.CodeMirror {
    background: #f8f8f8 !important; min-height: 600px;
}

.text-white, .text-white * {
    color: #ffffff;
}


/* admin login form */

#loginform-container * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}
#loginform-container {
    background-color: #ffffff;
    height: 100%;
}

#loginform-logo {
    background: #fff url(/assets/logo.jpg) center center no-repeat;
    background-size: 20%;
    text-align: center;
    padding: 200px 0 0 0;
    border-bottom: 2px solid #c5c5c5;
    font-size: 18px;
    color: #000000;
    text-decoration: none;
}
#loginform-logo a {
    color: #000000;
    text-decoration: none;
}

#loginform-container .theform {
    background-color: #eeeeee;
}

#loginform-container form[role=login] {
    font: 14px/1.6em Lato, serif;
    padding-top: 24px;
    color: #959595;
    max-width: 320px;
    margin: 0 auto;
}
#loginform-container form[role=login] .input-group-addon {
    border: none;
    background: #fff;
}
#loginform-container form[role=login] input[type=text],
#loginform-container form[role=login] input[type=password] {
    border: none;
    background: #fff;
    box-shadow: none;
    height: 36px;
    -webkit-box-shadow: 1px 1px 2px 0px rgba(104, 104, 104, 0.4);
    -moz-box-shadow: 1px 1px 2px 0px rgba(104, 104, 104, 0.4);
    box-shadow: 1px 1px 2px 0px rgba(104, 104, 104, 0.4);
}
#loginform-container form[role=login] input[type=text]:focus,
#loginform-container form[role=login] input[type=password]:focus {
    background: #f6f6f6;
}
#loginform-container form[role=login] > div {
    position: relative;
    margin: 24px 0;
}
#loginform-container form[role=login] > section {
    margin: 20px 0;
    text-align: center;
}

#loginform-container .form-control {
    padding-left: 40px;
}
#loginform-container .form-control + .glyphicon {
    position: absolute;
    left: 0;
    top: 13%;
    padding: 8px 0 0 12px;
}

/* end admin login form*/


.list-group { list-style: none; }
.list-group li.active a { color: #ffffff; }

#composer-layers .list-group {
    cursor: move;
}

option[disabled] { background-color: #CCCCCC; }

.panelnav {
    margin-bottom: 25px;
}

.panelnav * {
    font-size:18px;
}

/* tree */
.rsgtree {
    padding-left: 0;
}

.rsgtree > li[data-groupid="0"] {
    background-color: #00A0BA;
}

.rsgtree > li[data-groupid="0"] * {
    color: #ffffff;
}

.rsgtree ul,
.rsgtree li {
    list-style: none;
}

.rsgtree li {
    padding: 0;
}

.rsgtree li div {
    padding: 5px 0 5px 5px;
    /*overflow: hidden;*/
}

.rsgtree li label {
    padding: 5px 0 5px 25px;
    /*overflow: hidden;*/
}

.rsgtree ul,
.rsgtree > ul > li {
    margin-left: 0;
    padding-left: 0;
}

.rsgtree li > ul {
    display: none;
}

.rsgtree ul > li {
    margin-left: 20px;
    padding-right: 0;
}

.rsgtree li i {
    cursor: pointer;
}

.rsgtree li.active > div {
    background-color: #b2dbfb;
}

.rsgtree a.active {
    font-weight: bold;
}

.rsgtree div > .controls {
    margin-top: 5px;
    visibility: hidden;
}

.rsgtree div:hover > .controls {
    visibility: visible;
}
/* end tree */

#mediamanager-filecontrols {
    margin-top: 25px;
}

#mediamanager-popup {
    position: relative;
    width: 90%;
    height: 90%;
    background: #FFF;
    padding: 10px;
}

#mediamanager-popup .mfp-close {
    display: none;
}

#mediamanager-toolbar {
    width: 200px;
    float: right;
    margin-right: 15px;
}

#template-fonts,
#template-storage {
    margin-top: 30px;
}

#template-fonts .list-group-item,
#template-storage .list-group-item {
    padding-top: 5px;
    padding-bottom: 5px;
}

#composer-canvas {
    border: 1px dotted silver;
}

#composer-canvas .active {
    box-shadow: 0 0 10px #000;
}

ul.nav .bg-success {
    background-color: #dff0d8 !important;
}


#scheduletable > div{
    border-bottom: 1px solid silver;
    padding-top: 10px;
    padding-bottom: 10px;
}

#scheduletable > div:first-child {
    background-color: #eeeeee;
}

#scheduletable div.schedulemedia {
    display: none;
}
#scheduletable div.schedulemedia .row{
    padding-left: 35px;
    margin-top: 5px;
    margin-bottom: 5px;
}
#scheduletable div.schedulemedia .row:hover{
    background: #FAFAFA;
}

.drag-helper {
    border: 1px dotted black;
    background-color: lightblue;
    color: black;
    padding: 2px 10px;
    width: auto;
}

.drop-helper {
    background-color: lightyellow;
    color: black;
    padding-top: 5px;
    padding-bottom: 5px;
    width: auto;
}

/* media manager styles */

#mediamanager-filelist {
    width: auto;
    margin-right: 215px;
    margin-left: 15px;
}

.mmanager-nav {
    background-color: #eeeeee;
    margin: 0 15px 15px;
}

.mmanager-nav .breadcrumb {
    list-style: none;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.mmanager-nav .breadcrumb li {
    display: inline-block;
    padding: 10px 10px;
    transition: background-color 0.5s, color 0.5s;
}

.mmanager-nav .breadcrumb li:hover {
    background-color: #333333;
    color: #ffffff;
}

.mmanager-nav .controls {
    list-style: none;
    display: inline-block;
    float: right;
}

.mmanager-nav .controls * {
    color: black;
}

.mmanager-nav .controls,
.mmanager-nav .controls li {
    margin: 0;
    padding: 0;
}
.mmanager-nav .controls li {
    padding: 10px 10px;
    display: inline-block;
    transition: background-color 0.5s, color 0.5s;
    position: relative;
}
.mmanager-nav .controls li a {
    text-decoration: none;
    display: inline-block;
}

.mmanager-nav .controls li:hover{
    background: #333333;
}

.mmanager-nav .controls li:hover * {
    color: #ffffff;
}

.mmanager-nav .controls li > ul {
    display: none;
    position: absolute;
    min-width: 150px;
    top: 43px;
    right: 0;
    padding: 0;
    margin: 0;
    background-color: #999999;
}

.mmanager-nav .controls li:hover ul {
    display: block;
}

.mmanager-nav .controls li ul li,
.mmanager-nav .controls li ul li a {
    display: block;
}

#mediamanager-popup.no-switch .media-type {
    display: none;
}

.mmanager-nav .media-type * {
    color: black;
}

.mmanager-nav .media-type {
    float: right;
    margin-right: 5px;
    padding-top: 3px;
}

.mmanager-nav .media-type div {
    line-height: 20px;
}

.mmanager-nav .media-type div a {
    text-decoration: none;
    display: inline-block;
}

.mmanager-item {
    display: inline-block;
    width: 150px;
    height: 90px;
    padding: 5px;
    margin: 0 5px 5px 0;
    border: 1px solid #f0f0f0;
}

.mmanager-item img {
    width: auto;
    height: 40px;
    margin: 5px auto;
}

.mmanager-item .title {
    white-space: nowrap;
    overflow: hidden;
    margin-bottom:5px;
    text-overflow: ellipsis;
}

.mmanager-item.selected {
    background-color: lightyellow;
}

#mediamanager-uploadfile .qq-uploader {
    position: inherit;
}

#mediamanager-uploadfile .qq-thumbnail-wrapper{
    display: none;
}
#mediamanager-uploadfile .qq-upload-list{
    overflow-y: initial;
}

/* end media manager styles */

/* Additional controls */
.relative {
    position: relative;
}

#controls-btn {
    position: absolute;
    top: -45px;
    right: 10px
}

#properties-close {
    height: 35px;
}

#properties-close.closed:before{
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border: transparent solid 6px;
    border-right-width: 6px;
    border-left-width: 0;
    border-right-color: black;
}

#properties-close:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -6px;
    margin-left: -3px;
    z-index: 2;
    display: inline-block;
    width: 0;
    height: 0;
    border: transparent solid 6px;
    border-left-width: 6px;
    border-right-width: 0;
    border-left-color: black;
}

#composer-canvas-wrap.active {
    width: 100%;
}

#composer-controls.hiden {
    display: none;
}

#composer-canvas.half {
    zoom: .5;
    -ms-zoom: .5;
    -webkit-zoom: .5;
    -moz-transform:  scale(.5);
    -moz-transform-origin: left top;
}

#composer-canvas.three-quarters {
    zoom: .75;
    -ms-zoom: .75;
    -webkit-zoom: .75;
    -moz-transform:  scale(.75);
    -moz-transform-origin: left top;
}

/* New modal window for upload */
#mediamanager-fileparams {
    width: 200px;
    float: right;
    margin-right: 15px;
    padding: 0 15px;
    /*border-top: 1px solid #000;*/
    background-color: #eee;
}

#mediamanager-popup #mediamanager-fileparams {
    width: 200px;
    margin-right: 0;
}

#mediamanager-fileparams dl {
    margin: 10px 0;
}

#new-license {
	font-size: 18px;
}

#license-details {
    display: none;
}

#license-details.active {
    display: block;
}

#add-license .form {
    display: none;
}

.notifyjs-corner {
    left: 50% !important;
    transform: translateX(-50%);
}

.notifyjs-bootstrap-base {
    padding: 10px 150px;
    background-position: 125px 11px;
}


textarea.font-small {
    font-size: 12px;
}

.table-navigation {
    display: flex;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: center;
            align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.table-navigation li {
    margin: 0 5px;
    text-align: center;
}

.table-navigation span {
    display: block;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 3px;
            border-radius: 3px;
    border: 1px solid grey;
    line-height: 28px;
    cursor: pointer;
}

.table-navigation .active {
    background: #E6E6E6;
}

#datatable tfoot td {
    position: relative;
}

#datatable tfoot input {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 50px;
    height: 30px;
    border: 1px solid grey;
    -webkit-border-radius: 3px;
            border-radius: 3px;
    text-align: center;
}

#datatable tfoot input:focus {
    outline: none;
    box-shadow: none
}

#datatable thead input {
    width: calc(100% - 70px);
    font-size: 14px;
}

#datatable thead button {
    width: 26px;
}

#datatable thead button + button {
    margin-left: 10px;
}

.full-img:focus {
    outline: none;
}

