﻿body {
    font-family: 'Varela Round', sans-serif !important;
}
.navbar-brand {
    padding: 0px;
    padding-top: 5px;
    padding-left: 20px;
}

#sidebar {
    background-color: #395c82;
    top: 50px
}

#sidebar h3 {
    margin-bottom: 5px;
    padding-bottom: 5px;
    color: white
}

#sidebar ul.nav.nav-sidebar > li a {
    padding-bottom: 5px;
    padding-top: 5px;
    color: white;
}
#sidebar ul.nav.nav-sidebar > li a:hover {
    background-color: #428bce
}

ul.nav.nav-sidebar > li > ul {
    list-style-type: none;
}

.ui-state-focus {
    color: #ffffff;
    background-color: #428bca;
}

.ui-helper-hidden-accessible {
    display: none;
    visibility: hidden;
}

.modal-xl {
    width: 1100px;
}

.modal-md {
    width: 800px;
}

.tooltip-inner {
    white-space: pre-wrap;
}

.fc-resizer {
    display: none !important;
    visibility: hidden;
}
div.table-responsive{
    clear: both !important
}
table.table-striped.table-condensed thead tr th:first-child,
table.table-striped.table-condensed tbody tr td:first-child {
    padding-left: 0px;
}

table.table-striped.table-condensed tbody tr td:last-child {
    padding-right: 0px;
}

    table.table-striped.table-condensed tbody tr td:last-child button {
        float: right;
        margin-left: 2px;
    }

.gly-spin {
    -webkit-animation: spin 2s infinite linear;
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}
.help-button {
    cursor: help;
    margin-left: 5px
}
.agenda-rightbar {
    overflow: hidden;
    overflow-y: auto;
}
#user-notifications .popover {
    text-shadow: none;
}
@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }

    100% {
        -o-transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.gly-rotate-90 {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.gly-rotate-180 {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.gly-rotate-270 {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
}

.gly-flip-horizontal {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
    -webkit-transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.gly-flip-vertical {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
    -webkit-transform: scale(1, -1);
    -moz-transform: scale(1, -1);
    -ms-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    transform: scale(1, -1);
}
.help > a {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-small li,
.nav-small li a {
    margin: 0;
    padding: 5px;
    border-radius: 5px
}

    .dashlets-menu ul li a.disabled {
        color: #d3d3d3;
    }

        .dashlets-menu ul li a.disabled:hover {
            background-color: none;
        }
.dashlet > .col-md-12 {
    height: 100%;
    background-color: #f9f9f9;
}

.dashlet > .col-md-12 {
    background-color: white;
}

.dashlet > .col-md-12 {
    border: 1px solid #eee;
}

.dashlet > .dashlet-content > h3 {
    font-size: 1.3vw;
    vertical-align: text-bottom;
}
.dashlet > .dashlet-content > h3 > a {
    vertical-align: text-bottom;
}
.dashlet > .dashlet-content > h3 > a:hover,
.dashlet > .dashlet-content > h3 > a:focus,
.dashlet > .dashlet-content > h3 > a::selection {
    text-decoration: none
}

.dashlet > .dashlet-content > div > .dashlet-filters {
    margin-top: 4px;
}

.dashlet-over > .col-md-12 {
    border: 1px dotted #d3d3d3;
    background-color: #eee
}

.dashlet-chart > div.chart {
    width: 100%;
    height: 100%
}


.modal-dashlet {
    width: 850px;
}

.notifications-badge {
    position:relative;
    top:7px;
    left:-10px;
    font-weight:bold;
    background-color:red!important;
    color:white!important;
    font-size:10px;
    padding:1px 5px 3px
}

.popover-footer {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align:center;
  background-color: #F7F7F7;
  border-bottom: 1px solid #EBEBEB;
  border-radius: 5px 5px 0 0;
}
.progress-cycle {
    height: 30px;
}
.progress.progress-cycle > .progress-bar {
    font-size: 6pt; 
    line-height: 6pt; 
    padding-top: 9pt
}
.tooltip-line {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.canvas-object-remove-button {
    position:absolute;
    cursor:pointer;
    font-size:20px;
    color:red;
}

.canvas-tools li.list-group-item.picture.active {
    background-color:lightgray;
    border-bottom:0;
    border-top:0;
    color:black
}

/* Dashboard fix */
@media(min-width: 768px) {
    #backend > .container-fluid > .row > div.sidebar#sidebar {
        width: 200px;
    }

    #backend > .container-fluid > .row > div.col-sm-offset-2 {
        margin-left: 200px;
        width: calc(100% - 200px);          /* css3 */
        width: -o-calc(100% - 200px);       /* opera */
        width: -webkit-calc(100% - 200px);  /* google, safari */
        width: -moz-calc(100% - 200px);     /* firefox */
    }
}

    .sidebar a {
        color: #999;
        text-decoration: none;
        border-top: 1px solid #4d6492;
        border-bottom: 1px solid #395182;
        -webkit-transition: background .5s;
        -moz-transition: background .5s;
        -o-transition: background .5s;
        -ms-transition: background .5s;
        transition: background .5s;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    /*
    .sidebar h3 {
        margin-top: 0px;
        color: #d3d3d3;
    }
    
    .sidebar li:hover,
    .sidebar li a:hover,
    .sidebar li.active,
    .sidebar li.active a {
        background-color: #505050 !important;
    }*/

    .sidebar li a i.fa,
    .sidebar li a span.fa,
    .sidebar li a span.glyphicon {
        float: right;
    }