﻿
/* RESET */
/*---------------------------------*/

.navbar {border-radius: 0;}
.navbar .glyphicon{margin-right: 10px;}
.navbar .nav {font-size: 1.1em; text-transform: uppercase;}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

h1 .glyphicon{margin-right: 10px;}
h1 {color: #143342;}

.navbar-inverse {background-color: black; border-color: black;}
.navbar-inverse .navbar-brand {color: #fff; height: 60px; font-size: 13px; padding-top: 34px; width: 80px;
  background: url(../images/logo-totalcrm.png) 10px 50% no-repeat;  background-repeat: no-repeat; background-size: 60px;}
.navbar-brand-title {font-size: 3em; font-weight:bold; color: #fff;}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {color: #fff;}
.navbar-inverse .navbar-nav > li > a {color: #fff;}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {color: #0e649b;}


.navbar-inverse .navbar-toggle {
  border-color: #143342;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #143342;
}

.btn-default {
    background-color: #143342;
    border-color: #000;
    color: #fff;
}

.form-inline.form-pa {margin-bottom: 20px;}
.form-inline.form-pa label {display: block;}
.form-inline.form-pa .form-group {margin-right: 20px;}
.form-inline.form-pa .checkbox {margin-right: 20px;}
.form-inline.form-pa .form-control {display: block;}

.datepicker.dropdown-menu {font-size: 11px;}

/* CLASSI EIDOS */
/*---------------------------------*/

/*errori*/
.err {width: 100%; float: left}
.err ul {
   list-style: outside none none;   
}
.err ul li {
    color:Red;   
    font-weight: bold;
}

.inputDt {width:95px;}
.inputTxt {width:210px;}
.inputArea {width:210px; height:80px;}
.inputCod {width:100px;}

/*dimensione glyphicon nella tabella*/
.gly-size {font-size: 2em;}

/*div nascosto nella tabella*/
.subrow {display:none; font-size: 0.8em; margin: 10px 0; padding: 5px; background: #eee;}

/*pager*/
.mypager td:first-child {padding: 10px 0;}
.mypager a, .mypager span{
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.mypager span{
    color: #000;
    background-color: #eee;
}


/*Form Profilazione*/
.f-step-1-1 {padding: 15px 0;}
.f-step-1-1 [class*="col-"] {padding-right: 5px; padding-left: 5px;}
.f-step-1-2 {padding: 15px; margin-top: 35px; background: #eee;}
.f-step-1-1 .form-group{padding: 10px 0}
.f-step-1-1 .form-group,
.f-step-1-2 .form-group {width: 100% !important}
.f-step-1-1 .form-control,
.f-step-1-2 .form-control {width: 100% !important}
.f-step-1-2-1  {margin-top: 20px}
.f-step-1-2-1 .checkbox {width: 100% !important;}
.f-step-1-2-1 .checkbox  input{margin-right: 8px;}
.f-step-2-1 .row,
.f-step-2-2 .row{border-bottom: 1px solid #ddd}
.f-step-2-1 .form-group,
.f-step-2-2 .form-group{padding: 5px 0}
.f-step-2-1 .panel,
.f-step-2-2 .panel,
.f-step-2-3 .panel{margin: 15px}

.f-step-2-1 .panel .panel-heading a,
.f-step-2-2 .panel .panel-heading a,
.f-step-2-3 .panel .panel-heading a {display: block; font-weight: bold; outline: 0;}
.f-step-2-1 .panel .panel-heading a:hover, .f-step-2-1 .panel .panel-heading a:focus,
.f-step-2-2 .panel .panel-heading a:hover, .f-step-2-2 .panel .panel-heading a:focus,
.f-step-2-3 .panel .panel-heading a:hover, .f-step-2-3 .panel .panel-heading a:focus {text-decoration: none;}

.f-step-2-3 label {font-weight: normal}
.f-step-2-3 .form-group {padding: 5px 0; width: 100%; border-bottom: 1px solid #ddd}
.f-step-2-3 .form-group:last-child {border-bottom: 0}
.f-step-2-3-1 {padding: 15px; margin-top: 5px; background: #eee;}
.f-step-2-3-1 .checkbox {width: 100%!important;}
.f-step-2-3-1 .checkbox input {margin-right: 8px;}
.f-step-2-3-1 textarea {width: 100%!important;}

@media (max-width:991px) {
.f-step-1-1 .form-group{padding: 3px 0; margin-bottom: 10px;}
.f-step-1-2 {margin-top: 15px;}

}




/* FOOTER */
footer {font-size:0.8em; padding: 15px 0; margin-top: 50px; border-top: 1px solid #222}


/* INTEGRAZIONE BOOTSTRAP */
    .btn-file {
    position: relative;
    overflow: hidden;
    }
    .btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
    }
    

/*** MODAL Larghezza ***/
.modal.modal-wide .modal-dialog{width: 85%;}    
    

/*** CUSTOM STATUS ***/    
.r {background-color:#d9534f !important; color:White !important;}
.g {background-color:#5cb85c !important; color:White !important;}
.y {background-color:#f0ad4e !important; color:White !important;}
.b {background-color:#337ab7 !important; color:White !important;}
.x {background-color:#5bc0de !important; color:White !important;}

.r a {color:White !important;}
.g a {color:White !important;}
.y a {color:White !important;}
.b a {color:White !important;}
.x a {color:White !important;}

/*** CUSTOM FORM-INTERFACE ***/    
th {white-space: nowrap !important;}
td {white-space: nowrap !important;}  
    
.tabsmall th {font-size:11px !important;}
.tabsmall td {font-size:12px !important; padding:1px 0px 0px 3px !important; margin:0 !important; white-space: normal !important;}
    
.input-xs {
    height: 22px;
    padding: 2px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}


/*** MONITORAGGIO ***/


    .dashboard .panel-footer { min-height: 100px;}
    .dashboard .big { font-size: 40px;}
    .panel-green {border-color: #5cb85c;}
    .panel-green > .panel-heading {border-color: #5cb85c; color: #fff; background-color: #5cb85c;}
    .panel-green > a {color: #5cb85c;}
    .panel-red { border-color: #d9534f;}
    .panel-red > .panel-heading {border-color: #d9534f; color: #fff; background-color: #d9534f;}
    .panel-red > a {color: #d9534f;}
    .panel-red > a:hover { color: #b52b27;}
    .panel-yellow { border-color: #f0ad4e;}
    .panel-yellow > .panel-heading {border-color: #f0ad4e; color: #fff; background-color: #f0ad4e;}
    .panel-yellow > a { color: #f0ad4e;}
    .panel-yellow > a:hover {color: #df8a13;}            
    
        
 .homepanel {margin-bottom: 25px; }
 
/*** loading ***/
    #divloading {position: fixed; display:none; top: 0; left: 0; width: 100vw; height: 100vh; padding: 30px; background: rgba(0,0,0,0.8); z-index: 10;}
    .spinner {width: 40px; height: 40px; position: absolute; background-color: #6a6a6a; top: 48%; left:48%; -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out; animation: sk-rotateplane 1.2s infinite ease-in-out;}
    @-webkit-keyframes sk-rotateplane {
    0% { -webkit-transform: perspective(120px) }
    50% { -webkit-transform: perspective(120px) rotateY(180deg) }
    100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
    }
    @keyframes sk-rotateplane {
    0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
    } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
    } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
    }



/*** TOGGLE ***/
 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
} 
/***. END TOGGLE ***/



/***/
.info-name {font-weight: bold;}
.info-link {padding-top: 7px;}

.evisit-tp { width:32px; height:32px; }

.inputreadonly {border:none; }

#modalDet table td { white-space: normal !important; }
.container-modal {margin: 15px;}

.max {width:100% !important;}
.max textarea {width:100% !important;}