
@font-face {
    font-family: 'Conv_Barlow-Regular';
    src: url('/themes/default/fonts/Barlow-Regular.eot');
    src: local('☺'), url('/themes/default/fonts/Barlow-Regular.woff') format('woff'), url('/themes/default/fonts/Barlow-Regular.ttf') format('truetype'), url('/themes/default/fonts/Barlow-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    padding:0px;
    margin: 0px;
    background-color: #f6fdff;
    font-family: "Conv_Barlow-Regular" !important;
}

html.busy, html.busy * {  
    cursor: wait !important;  
}  
body { 
    font-family: "Conv_Barlow-Regular" !important;
    font-size: calc( 14px + (18 - 14) * ( (100vw - 400px) / ( 2500 - 400) ));
    color: #000000;
    background-color: transparent;
    padding-top: 31px;
    /* minFontSize = 10px, maxFontSize=16px, minScaleWidth=400px maxScaleWidth=2500px*/
}


.fa {
    font-size: calc( 16px + (20 - 16) * ( (100vw - 400px) / ( 2500 - 400) ));
}
.medium, input.medium {
    font-size: calc( 16px + (20 - 16) * ( (100vw - 400px) / ( 2500 - 400) ));
}      
.fa.medium {
    font-size: calc( 20px + (24 - 20) * ( (100vw - 400px) / ( 2500 - 400) ));
}      
.fa.big, .big, input.big{
    font-size: calc( 22px + (26 - 22) * ( (100vw - 400px) / ( 2500 - 400) ));
}      
.fa.verybig, .verybig, input.verybig{
    font-size: calc( 28px + (34 - 28) * ( (100vw - 400px) / ( 2500 - 400) ));
}      

body.pub-login #intestazione{
    display: none;
}
body.pub-login{
    background: url(/themes/default/images/background.jpg) no-repeat center center;
    background-size: cover;
    color: #666;
    padding-top: 0;
    text-align: center;
    height: 100vh;
} 
.ottimo_logo {
    width: 380px;
    height: 121px;
    background: url(/img/ottimo_logo.png) no-repeat center center;
    background-size: auto;
    background-size: contain;
    margin: 0 auto;
}
body.pub-login .logo {
    width: 400px;
    height: 133px;
    background: url(/themes/default/images/logo.png) no-repeat center center;
    background-size: auto;
    background-size: contain;
}

@media (max-width: 480px) {
    
    .ottimo_logo {
        width: 100%;
    }
    
    body.pub-login .logo {
        width: 100%;        
    }
}

.datepicker .prev, 
.datepicker .datepicker-switch, 
.datepicker .next,
.datepicker .datepicker-days th,
.datepicker .datepicker-days tfoot
{
    color: #fff !important;
}


body.pub-login .row{
    width: 100%;
} 
body.pub-login .logo{
    margin: 0 auto;
}
body.pub-login fieldset {
    border: none;
}
body.pub-login .fa:not(.fa-lock) {
    font-size: 26px
}
#login{
    font-size: 20px;
}
#login .fa-lock{
    font-size: 26px;
}
#loginform {
    font-family: "Conv_Barlow-Regular";
    font-weight: normal;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100vh;
    background-color: rgba(250,250,250,0.9);
    padding-top: 10%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    -webkit-box-shadow: 0px -1px 51px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px -1px 51px 0px rgba(0,0,0,0.75);
    box-shadow: 0px -1px 51px 0px rgba(0,0,0,0.75);
}
#loginform .input-group{
    width: 100%;
}
#loginform .input-group-addon{
    width: 52px;
    background: #2d608f;
    color: #fff;
}
#loginform input{
    height: 40px;
}

body.pub-index .content_container{
    padding: 0;
}
body.pub-index .pagetitle{
    display: none;
}

.main_picture{       
    padding: 100px 0 0;
}
.welcome{
    width: 40%;
    text-align: center;
    margin: 0px auto;
    padding: 30px;
    background: #fff;
    opacity: 0.9;
    border-radius: 20px;
}
.welcome h1{
    margin: 0;
}


.pagetitle {
    padding: 0px;
    margin: 0px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size-adjust: 0.58;
    text-transform: capitalize;
    font-weight: bold;    
}
.username {
    color:#ffffff;
    font-size:x-small;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 6px;
    /*white-space: nowrap;*/
}
#loading-div{
    display: none;
    position:fixed !important;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color: rgba(100,100,100,0.5);
    z-index: 10000;
}
#loading-div .image{
    background: url(images/loading.gif) no-repeat;
    width: 100px;
    height: 100px;
    position:absolute;
    top:48%;
    left:48%;
    z-index: 10001;
}    
div#title {float:left;}
.rowNumbers{float:right; padding-top:7px; margin-right:16px; font-size-adjust: 0.48; color:#005a9b; font-style: italic;}
.pageNumbers{float:right; font-weight:bold;}
div#list, div#detail, div#generic, div#title_s, div#title_d, div#searchform, div#infoform {float:left; width:100%;}
.floatleft {float:left;}
.progressbar.standard{ width: 41px; }
.progressbar.standard .stato{ 
    display: inline-block; 
    width: 6px; 
    height: 16px; 
    border-top: 1px solid #727272; 
    border-left: 1px solid #727272;  
    border-bottom: 1px solid #727272;
    background: #C6C6C6;
}
.progressbar.standard .stato.last{ border-right: 1px solid #727272; width: 7px; }
.progressbar.standard .stato.active{ background: #48FF00; }
.my-toolbar {float:left; margin-bottom: 6px;}
a, a:link, a:visited {color: #005a9b; font-weight: bold;}
a:hover { color:#fb0c16; text-decoration:none;}
.cursorpointer:hover{cursor: pointer;} 
.btn-primary{
    color: #005a9b;
    background-color: transparent;
    padding-left:3px;
    padding-right:3px;
    padding-top:4px;
    padding-bottom:1px;    
}
.btn-primary:hover{background-color: transparent; border-color: #fb0c16; color: #fb0c16;}
.btn-default{background-color: #2d608f; border-color: #005a9b; color: #005a9b;}
.btn {font-weight: bold; }
.btn-sm {padding-bottom: 4px; padding-top: 4px;}
.btn-xs {padding: 2px;}
.sys-btn {
    padding:1px; 
}
.sys-btn i{
    padding:0; 
    font-size: 15px;
}
.navbar-brand,
.navbar-nav > li > a {    
    padding-top:2px !important;
    line-height: 29px;
    height: 35px;
    color: #005a9b;
    text-transform: uppercase;
    font-weight: bold;
}
.navbar-default .navbar-nav > li > a{ color: #fff; }
.navbar {    
    min-height:29px !important;    
    margin: 0px; 
    background: #2d608f;
    color: #fff;
}
#topmenu {}
.dropdown-menu { 
    color: #fff; 
    background: #2d608f;
}
.dropdown-menu > li > a {         
    color: #fff; 
    font-weight: bold;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus 
.navbar-nav > li > a:active,
.dropdown-menu > li > a:hover, 
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:active{     
    background: #b5b5b5;
    color: #2d608f;
}
.navbar-nav > li > a.highlighted,
.dropdown-menu > li > a.highlighted{     
    background: #fff;
    color: #2d608f;
}
div#wrapper {
    background-color: transparent;
}
div#centercol {
    background-color: transparent; 
    margin: 0px;
    padding: 0px;    
}
div#footer { margin: 0px; font-size:9px; font-style:italic;}
.pagination {margin: 3px;}
.pagination > li > a,
.pagination > li > span {
    padding: 4px 10px;
    color: #005a9b;
    background-color: transparent;
    border: 1px solid #005a9b;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #fb0c16;
    background-color: transparent;
    border-color: #fb0c16;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: transparent;
    border-color: #005a9b;
    color:#fb0c16;
}
thead {background: #2d608f; font-weight: bold;}


.hideFilters label, 
.hideFilters input,
.hideFilters select:not([name="itemsPerPage"]),
.hideFilters .tokenize,
.hideFilters .multiselect-native-select,
.hideFilters [name="btn_reset"],
.hideFilters [name="btn_search"]
{
    display: none !important;
}

tfoot, .tablefooter {background: #2d608f; font-weight: bold;}
/* stile form e tabelle */

div#searchPlaceHolder {width: 100%}
/*titolo pagina */
title {font-weight:bold;}
.disabled:hover {
    cursor: not-allowed;
}
#leftcol{
    margin : 0px;
    padding: 5px; 
} 
#leftMenu {
    float: left;
    width: 100%;
    display: block; 
    clear: both;
    /*margin-left: -24px;*/
    margin : 0px;
    padding: 0px;
    font-size-adjust: 0.48; 
}
.leftSubMenu {display:none;margin-left:10px}
.leftColTitle {
    font-size-adjust: 0.48;
    font-weight:bold;
    color:#ffffff;
    padding: 0px;
    margin: 0px;
    padding-top:12px;
    margin-bottom:6px;
    display:block;
    border-bottom:1px solid #ffffff;
    width: 100%;
    text-transform: capitalize;
    white-space: nowrap;
}

.metismenu .has-arrow::after {
    right: 5px !important;
}

.section_index_name, .section_index_icon{
    font-size: 66px;
    font-weight:bold;
    color:#005a9b;
    white-space: nowrap;
    text-align: center;
    opacity: 0.2;
    filter: alpha(opacity=20); /* For IE8 and earlier */    
}
.section_index_icon{
    opacity: 0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */        
}
    
.sidebar-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.sidebar-nav a,
.sidebar-nav a:hover,
.sidebar-nav a:focus,
.sidebar-nav a:active {
    outline: none;  
}
.sidebar-nav ul li,
.sidebar-nav ul a {
    display: block;
    font-weight: normal;
}
.sidebar-nav ul a {
    padding: 3px 1px;
}
.sidebar-nav ul a:hover,
.sidebar-nav ul a:focus,
.sidebar-nav ul a:active {
    text-decoration: none;
    background:#3dd1fb;
}
.sidebar-nav ul ul a {
    padding: 3px 10px;
}
.sidebar-nav ul ul ul a {
    padding: 3px 20px;
}
.sidebar-nav-item {
    padding-left: 2px;
}
.sidebar-nav-item-icon {
    padding-right: 5px;
}
input[type=text]#number{align:right;}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #d1e1ee;
}
.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #e7f2fb;
}
.table-hover > tbody > tr:hover {
    background-color: #3dd1fb;
    color: black;
}
.form-control { 
    background-color: #f6fdff;
    border: 1px solid #2d608f;
    padding: 4px;    
    font-size: calc( 14px + (18 - 14) * ( (100vw - 400px) / ( 2500 - 400) ));
    color: black;
}
.form-control-static {
    border: 1px solid #2d608f;
    padding: 4px;    
    background-color: #dfedef;
}

.form-control-static:hover {
    cursor: not-allowed;
}
@media print {
    a[href]:after {display:none!important;}
    a[href^="#"]:after,
    a[href^="javascript:"]:after {display:none!important;}
    pre, .navbar, .toolbar, .footer, #leftcol, #rightcol, #footer {
        display: none !important;
    }
}
.table-bordered th, .table-bordered td {
    border: 1px solid #2d608f !important;
}

thead a
{
    color: #fff !important;
}
thead .fa:not(.fa-check)
{
    color: #fff !important;
    border-color: #fff !important;
}

form {
    background-color: #b6c5d3;
}
.collapsed, .navbar-toggle{
    padding: 2px;
}
.multiselect-clear-filter, .multiselect-search {
    padding: 5px;
}

.multiselect-container{
    background-color: #2d608f;
}
.control-label{
    color: #2d608f;
    margin-bottom:  0px;
    padding-bottom:  0px;
    text-transform: capitalize;
}
input[readonly], textarea[readonly], .form-control[readonly]{
    cursor: not-allowed;
    background-color: #dfedef;
}

/* --- checkbox and radio snippet */
.checkbox label:after, 
.radio label:after {
    content: '';
    display: table;
    clear: both;
}
.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #2d608f;
    background-color: #f6fdff;
    border-radius: .25em;
    width: 1.2em;
    height: 1.2em;
    float: left;
    margin-right: .4em;
}
.radio .cr {
    border-radius: 50%;
}
.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
    padding:0px;
    margin:0px;
}
.radio .cr .cr-icon {
    margin-left: 0.04em;
}
.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}
.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}
.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}
.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

.nomargin {
    position: relative;
    margin-left: -.9em;
    margin-top: .1em;
    margin-bottom: -.2em;
}

.tooltip-inner {
    background-color: red;
}
.numeric-only, .numeric-only-negative, .text-right {text-align: right;}

/* --- checkbox and radio snippet */

/*--- tokenize2 --- */
.tokenize-dropdown > .dropdown-menu{width:auto;background-color: #2d608f;font-weight: normal;}
.tokenize-dropdown > .dropdown-menu li.locked,.tokenize-dropdown > .dropdown-menu li > a{font-weight: normal;}
.tokens-container { margin-bottom: 0px; padding: 0px;}
.tokenize > .tokens-container {padding: 0px;}
.tokenize > .tokens-container >.placeholder{color: #2d608f;}

.tableexport-caption {background-color: #f6fdff;}
fieldset {
    border: 1px solid #2d608f;
    padding-top: 4px;
    padding-left: 6px;
    padding-right: 6px;  
    margin-bottom: 12px;  
}
legend.scheduler-border {
    font-size: 1em !important;
    font-weight: normal !important;
    font-style: italic;
    text-align: left !important;
    width:auto;
    padding: 0 10px;
    border-bottom:none;
    color: #005a9b;
}
.txt-legend{color: #005a9b;}
.bold {font-weight: bold;}
.text-yellow {
  color: gold;
}
.text-orange {
  color: orange;
}
a.text-success:hover,
a.text-success:focus {
  color: #ffff99;
}
.table > thead > tr > td.yellow,
.table > tbody > tr > td.yellow,
.table > tfoot > tr > td.yellow,
.table > thead > tr > th.yellow,
.table > tbody > tr > th.yellow,
.table > tfoot > tr > th.yellow,
.table > thead > tr.yellow > td,
.table > tbody > tr.yellow > td,
.table > tfoot > tr.yellow > td,
.table > thead > tr.yellow > th,
.table > tbody > tr.yellow > th,
.table > tfoot > tr.yellow > th {
    background-color: #ffff99;
}
.table-hover > tbody > tr > td.yellow:hover,
.table-hover > tbody > tr > th.yellow:hover,
.table-hover > tbody > tr.yellow:hover > td,
.table-hover > tbody > tr:hover > .yellow,
.table-hover > tbody > tr.yellow:hover > th {
  background-color: yellow;
}

.table > thead > tr > td.graydark,
.table > tbody > tr > td.graydark,
.table > tfoot > tr > td.graydark,
.table > thead > tr > th.graydark,
.table > tbody > tr > th.graydark,
.table > tfoot > tr > th.graydark,
.table > thead > tr.graydark > td,
.table > tbody > tr.graydark > td,
.table > tfoot > tr.graydark > td,
.table > thead > tr.graydark > th,
.table > tbody > tr.graydark > th,
.table > tfoot > tr.graydark > th {
    background-color: #AAA;
}
.table-hover > tbody > tr > td.graydark:hover,
.table-hover > tbody > tr > th.graydark:hover,
.table-hover > tbody > tr.graydark:hover > td,
.table-hover > tbody > tr:hover > .graydark,
.table-hover > tbody > tr.graydark:hover > th {
  background-color: #AAA;
}

.pre-scrollable {
    max-height: 840px;
    overflow-y: scroll;
}

.small_font {
    font-size-adjust: 0.48;
}
/* -- colorbox -- */
#cboxLoadedContent{border-top:12px solid #005a9b; border-bottom:2px solid #005a9b; border-left:2px solid #005a9b; border-right:2px solid #005a9b; background:#f6fdff}

.cursor_pointer { cursor: pointer; }
.form-control::-moz-placeholder {
  color: #2d608f;  
}
.form-control:-ms-input-placeholder {
  color: #2d608f;
}
.form-control::-webkit-input-placeholder {
  color: #2d608f;
}
.bordered {
    border: 1px solid #2d608f;
    padding: 0px;
}
.nav-tabs{border-color: #005a9b;}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border: 1px solid #005a9b;
  border-bottom-color: transparent;
  background-color: #f6fdff;
}
.nav-tabs > li > a:hover {
  background-color: #3dd1fb;
}
.placeholder{color: #2d608f}
.bg-muted {background-color: #ccc;}
.bg-warning {background-color: #f4a460;}
.bg-info {background-color: #ba55d3;}
.bg-transparent {background-color: #f6fdff;}
.bg-yellow{background-color: yellow;}
.text-danger, .alert-danger {color:#e61c1c;}
.text-warning, .alert-warning {color:#cf7500;}
.text-info, .alert-info {color:#b813ae;}
.text-success, .alert-success {color: #078801;}
.text-white {color: #ffffff;}
.has-error .form-control {border-color:#e61c1c; color:#e61c1c;}
.has-warning .form-control {border-color:#cf7500; color:#cf7500;}
.has-warning {border-color:#cf7500; color:#cf7500;}
.btn-success {background-color: #0abc02;}
.has-error .control-label {color:#e61c1c;}
.has-warning .control-label {color:#cf7500;}
.btn-success {background-color: #0abc02;}
.btn-danger {background-color: #e61c1c;}
/* -- Chart.js -- */
canvas {
  border: 1px dotted #005a9b;
}
.chart-container {
  position: relative;
  margin: auto;
  padding-bottom: 6px;
}

/*******************************************/
#programmazione_attivita .fc-agendaWeek-view tr {
    height: calc((100vh - 250px)/13);
}
#programmazione_attivita .fc-agendaWeek-view th {
    vertical-align: middle;
    text-transform: uppercase;
    font-size: 16px;
}
#programmazione_attivita .event_confirm_btn {
    
}
/*******************************************/
#attivita_capoarea .fc-agendaWeek-view tr {
    height: calc((100vh - 250px)/13);
}
#attivita_capoarea .fc-bg {    
    background-color: #e9e9ef;
}
#attivita_capoarea .fc-header-toolbar h2{    
    color: #6493b7;
}
/*******************************************/

/* tinyMCE font size*/
.tox .tox-tbtn--select {width: 34px !important;}

a#lm_collapse, a#lm_expand {
    padding-top:2px !important;
}

/*******************************************/
#riunione_calendar .fc-agendaWeek-view tr {
    height: calc((100vh - 300px)/13);
}
#riunione_calendar .fc-agendaWeek-view th {
    vertical-align: middle;
    text-transform: uppercase;
    font-size: 16px;
}
#riunione_calendar .event_confirm_btn {
    
}
/*******************************************/

table[id$="_detail_form_table"] thead ,
table[id$="_detail_form_table"] tfoot {
    color: #fff;
}
table[id$="_detail_form_table"] .form-control-static {
    color: #000;
}

#toast-container{
    top: calc(50% - 100px);
}
.toast{
    opacity: 0.95 !important;
}

/*********************************************/

.my-toolbar .btn-group{
    margin: 0 1px 0 0;    
}

.toolbar_row a{
    margin: 0 1px 0 0;
}