/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 11/Abr/2014, 18:01:37
    Author     : Nuno Cerca
*/

/* OUTROS */
.overlayrequiremodules {
    /* display: none; */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.overlayrequiremodules .opacity {
    background-color: #2c3a3f;
    filter: alpha(opacity=80);
    opacity: .8;
    width: 100%;
    height: 100%;
    position: relative;
}
.overlayrequiremodules .spin {
    font-size: 30px;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 30%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
}
.overlayrequiremodules .text {
    position: absolute;
    top: calc(30% - 60px);
    left: calc(50% - 125px);
    color: white;
    font-size: 15px;
}




.overlaypageloading {
    /* display: none; */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.overlaypageloading .opacity {
    background-color: #2c3a3f;
    filter: alpha(opacity=80);
    opacity: .8;
    width: 100%;
    height: 100%;
    position: relative;
}
.overlaypageloading .spin {
    font-size: 40px;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 30%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
}
.overlaypageloading .text {
    position: absolute;
    top: calc(30% - 60px);
    left: calc(50% - 125px);
    color: white;
    font-size: 15px;
}




/*
.pageloading{
    z-index: 999999;   
    position: absolute;
    top: 0;
    left: 0;
    background-color: gray;
    opacity: 0.8;
    width: 100vw;
    height: 100vh;
}
.wrapper{
    width:200px;
    height:60px;
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
}
.circle{
    width:20px;
    height:20px;
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    left:15%;
    transform-origin: 50%;
    animation: circle .5s alternate infinite ease;
}

@keyframes circle{
    0%{
        top:60px;
        height:5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }
    40%{
        height:20px;
        border-radius: 50%;
        transform: scaleX(1);
    }
    100%{
        top:0%;
    }
}
.circle:nth-child(2){
    left:45%;
    animation-delay: .2s;
}
.circle:nth-child(3){
    left:auto;
    right:15%;
    animation-delay: .3s;
}
.shadow{
    width:20px;
    height:4px;
    border-radius: 50%;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    top:62px;
    transform-origin: 50%;
    z-index: -1;
    left:15%;
    filter: blur(1px);
    animation: shadow .5s alternate infinite ease;
}

@keyframes shadow{
    0%{
        transform: scaleX(1.5);
    }
    40%{
        transform: scaleX(1);
        opacity: .7;
    }
    100%{
        transform: scaleX(.2);
        opacity: .4;
    }
}
.shadow:nth-child(4){
    left: 45%;
    animation-delay: .2s
}
.shadow:nth-child(5){
    left:auto;
    right:15%;
    animation-delay: .3s;
}
.wrapper span{
    position: absolute;
    top:75px;
    font-family: 'Lato';
    font-size: 20px;
    letter-spacing: 12px;
    color: #fff;
    left:15%;
    text-align: center;
}
*/









.navigation > li ul li a.level-opened, .navigation > li ul li a.level-opened:hover {
    background-color: black;
}
.navigation > li ul > li > ul > li:last-child {
    border-bottom: 1px solid black;
}
.navigation > li ul > li > ul > li > a {
    padding-left: 45px;
}


@media (max-width: 767px){
    .page-header .page-title {
        float: left;
    }
    .header-buttons, .header-progress, .header-statistics, .header-search, .header-info-buttons, .header-select, .header-bar-stats {
        top: 20px;
    }
    .header-info-buttons .info-buttons {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .header-info-buttons { 
        float: left;
        position: relative;
        margin-top: 0px;
        margin-bottom: 40px;
    }
    .header-info-buttons .info-buttons li { 
        display: block; 
        margin: 0; 
    }
    .header-info-buttons .info-buttons li:first-child { 
        margin-top: 00px; 
    }
}


.user-menu > a {
    padding: 12px 16px;
    text-align: left;
    background-color: white;
}
.user-menu > a img {
    height: 34px;
    width:  auto;
    display: initial;
    float: none;
}

.fotoutente{
    border: 2px solid white;    
}

.user-info {
    max-width: 135px;
    margin-top: 0px;
}

.boxed.sidebar-wide .sidebar-hidden .sidebar,
.boxed.sidebar-narrow .sidebar-hidden .sidebar {
    z-index: -1000;
}

.panel-toolbar > li {
    display: block;
    float: right;
    border-left: 1px solid #DDD;
}

.splash {
    text-align: center;
    margin: 10% 0 0 0;
}
.splash .message {
    font-size: 5em;
    line-height: 1.5em;
    -webkit-text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;
    text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;
}
.splash .icon-spinner {
    text-align: center;
    display: inline-block;
    font-size: 5em;
    margin-top: 50px;
}


.overlay .spin-aviso {
    font-size: 16px;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 30%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
}

.overlay .message-aviso{
    font-size: 16px;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 30%;
    left: 0;
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
}

.spin-aviso {
    display: inline-block;
    -webkit-animation: rotation 2s linear infinite;
    -moz-animation: rotation 1s ease infinite;
    -ms-animation: rotation 1s ease infinite;
    -o-animation: rotation 1s ease infinite;
    animation: rotation 1s ease infinite;
}


/* MENU LATERAL */
.navigation > li > a {
    color: #fff;
    padding: 13px 20px 14px 14px;
    display: block;
    border-left: 3px solid transparent;
}
.navigation > li > a.expand:after {
    content: "";
    background: url(../images/interface/plus.png) no-repeat;
    opacity: 0.4;
    filter: alpha(Opacity=40);
    margin-top: 4px;
    float: right;
    width: 7px;
    height: 7px;
    margin-right: 2px;
}
.navigation > li > a.level-opened:after {
    content: "";
    background: url(../images/interface/minus.png) no-repeat;
    opacity: 1;
    filter: alpha(Opacity=100);
    margin: 4px 2px 0 10px;
    float: right;
    width: 7px;
    height: 7px;
}


/* DATA TABLES */
.dataTables_filter label > input {
    background: url(../images/interface/filter.png) no-repeat 95%;
    line-height: 1.42857143;
    height: 34px;
    padding: 7px 30px 8px 9px;
    width: auto;
    color: #505050;
    outline: 0;
    font-weight: 400;
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}
.dataTables_filter label > input[type=search] {
    background: url(../images/interface/filter.png) no-repeat 95%;
    line-height: 1.42857143;
    height: 34px;
    padding: 7px 30px 8px 9px;
    width: auto;
    color: #505050;
    outline: 0;
    font-weight: 400;
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}
.DTTT_container {
    position: relative;
    float: right;
    margin: 0;
    margin-top: 30px;
    display: none;
}
.datatable-header, .datatable-footer {
    background: transparent;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: #32434D;
    outline: 0;
    color: #fff;
}
.dataTables_length{
    display: none;
}
/*
.dataTables_processing {
    top: 25%;
    width: 300px;
    height: 35px;
    margin-left: -130px;
    padding: 7px 0 2px 0;
    color: white;
    background-color: silver;
}
*/
.dataTables_processing {
    top: 16px;
    left: 0;
    width: 100%;
    height: 99%;
    margin-left: 0;
    color: black;
    background: rgb(128, 128, 128); /* Fallback for older browsers without RGBA-support */
    background: rgba(128, 128, 128, 0.8);
    padding-top: 5%;
    z-index: 9999;
    z-index: 105;
}

/* OUTROS ELEMENTOS */
.anexos-clip{
    float: left;
    width: 15px;
}
.anexos-quantidade{
    color: red;
    margin-left: 5px;
    margin-top: -2px;
    float: left;
}
.popup-messages {
    max-height: 350px;
}
#ui-datepicker-div {
    z-index:99999!important;
}
.datepicker.form-control[readonly] {
    cursor: pointer;
    background-color: #eee;
    opacity: 1;
}
.datepicker.form-control[readonly] {
    background-color: #fff;
}
.datepicker-year-control.form-control[readonly] {
    cursor: pointer;
    background-color: #fff;
    opacity: 1;
}
select.ui-datepicker-month{
    color: black;
    width: 65px;
}
select.ui-datepicker-year{
    color: black;
    width: 65px;
}
.ui-timepicker-wrapper{
    z-index: 9999;
}
.chart-tooltip {
    max-width: none;
}
.open>.dropdown-menu {
    /*display: block;*/
    /*margin-bottom: 35px;*/
    /*top: auto;*/
    /*padding-bottom: 35px;*/
}

.multiselect .caret {
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid #000000;
    display: inline-block;
    height: 5px;
    opacity: 1;
    vertical-align: top;
    width: 0;
    float: right;
    margin-top: 8px;
}

/* FANCYBOX */
.fancybox-title-float-wrap { 
    position: relative;
    bottom: 0;
    right: 0;
    margin-bottom: 0;
    z-index: 8050;
    text-align: center;
}
.fancybox-title-float-wrap .child { 
    display: inline-block;
    margin-right: 0;
    padding: 10px 15px 0px 15px;
    background: transparent;
    color: initial;
    white-space: nowrap;
}


/* BOOTBOX */
.bootbox-body{
    padding: 20px;
}

.modal-body > .bootbox-body{
    padding: 20px;
}

.bootbox-confirm  .modal-footer button {
    float:right;
    margin-left: 10px;
}

.bootbox-prompt  .modal-footer button {
    float:right;
    margin-left: 10px;
}


/* CONTEXTMENU */
.context-menu-item {

}
.context-menu-item.icon {
    font-size: 13px;
}
.context-menu-item.icon>span {
    margin-left: 5px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
}



/* ACCORDION MENU */
.accordion,
.accordion ul,
.accordion li,
.accordion a,
.accordion span {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}
.accordion li {
    list-style: none;
}

/* Layout & Style */

.accordion li > a {
    display: block;
    position: relative;
    min-width: 110px;
    padding: 0 10px 0 20px;
    height: 32px;

    color: #fdfdfd;
    font: bold 12px/32px Arial, sans-serif;
    text-decoration: none;
    text-shadow: 0px 1px 0px rgba(0,0,0, .35);

    background: #6c6e74;
    background: -moz-linear-gradient(top,  #6c6e74 0%, #4b4d51 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6c6e74), color-stop(100%,#4b4d51));
    background: -webkit-linear-gradient(top,  #6c6e74 0%,#4b4d51 100%);
    background: -o-linear-gradient(top,  #6c6e74 0%,#4b4d51 100%);
    background: -ms-linear-gradient(top,  #6c6e74 0%,#4b4d51 100%);
    background: linear-gradient(top,  #6c6e74 0%,#4b4d51 100%);

    -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
    -moz-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
}
.accordion > li:hover > a,
.accordion > li:target > a,
.accordion > li > a.active {
    color: white;
    text-shadow: 1px 1px 1px rgba(255,255,255, .2);
    background: #3ca2bb;

}
.accordion li > a span {
    display: block;
    position: absolute;
    top: 7px;
    right: 0;
    padding: 0 10px;
    margin-right: 10px;

    font: normal bold 12px/18px Arial, sans-serif;
    background: #404247;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;

    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
    -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
    box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
}
.accordion > li:hover > a span,
.accordion > li:target > a span,
.accordion > li > a.active span {
    color: #fdfdfd;
    text-shadow: 0px 1px 0px rgba(0,0,0, .35);
    background: #3e5706;
}
.accordion > li > a:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 24px;
    height: 24px;
    margin: 4px 8px;

    background-repeat: no-repeat;
    background-position: 0px 0px;
}
.accordion li.files > a:before { background-position: 0px 0px; }
.accordion li.files:hover > a:before,
.accordion li.files:target > a:before,
.accordion li.files > a.active:before { background-position: 0px -24px; }
.accordion li.mail > a:before { background-position: -24px 0px; }
.accordion li.mail:hover > a:before,
.accordion li.mail:target > a:before,
.accordion li.mail > a.active:before { background-position: -24px -24px; }
.accordion li.cloud > a:before { background-position: -48px 0px; }
.accordion li.cloud:hover > a:before,
.accordion li.cloud:target > a:before,
.accordion li.cloud > a.active:before { background-position: -48px -24px; }
.accordion li.sign > a:before { background-position: -72px 0px; }
.accordion li.sign:hover > a:before,
.accordion li.sign:target > a:before,
.accordion li.sign > a.active:before { background-position: -72px -24px; }

/* Sub Menu */

.sub-menu li a {
    color: #797979;
    text-shadow: 1px 1px 0px rgba(255,255,255, .2);

    background: #e5e5e5;
    border-bottom: 1px solid #c9c9c9;

    -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
    -moz-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
}
.sub-menu li:hover a { background: #4fa2c2; }
.sub-menu li > a.active { background: #4fa2c2; }
.sub-menu li:last-child a { border: none; }
.sub-menu li > a span {
    color: #797979;
    text-shadow: 1px 1px 0px rgba(255,255,255, .2);
    background: transparent;
    border: 1px solid #c9c9c9;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.sub-menu em {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 14px;
    color: #a6a6a6;
    font: normal 10px/32px Arial, sans-serif;
}

/* Functionality */

.accordion li > .sub-menu {
    display: none;
}
.accordion li:target > .sub-menu {
    display: block;
}


/* TREEVIEW */
.treeview-modal{
    max-height: 300px;
    overflow-y: scroll;
}



.ranges {
    width: 190px;
}





.toggle-handle {
    background: #fafafa url(../images/forms/switch_handler.png) no-repeat 50%;
}

.bootstrap-switch .bootstrap-switch-label {
    width: 34%;
    background: #fafafa url(../images/forms/switch_handler.png) no-repeat 50%;
    /*border: 1px solid #ccc;*/  
}

.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
    padding: 1px 6px;
    font-size: 11px;
    line-height: 20px;
}



.toggle-off.btn-xs {
    padding-left: 20px;
}

.toggle-on.btn-xs {
    padding-right: 20px;
}

.toggle-handle {
    position: relative;
    margin: 0 auto;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 90%;
    width: 0px;
    border-width: 0 1px;
}

.task-entity {
    border-left-color: #4FA2C2;
}