

/*=============================================================

    License: MIT
    http://opensource.org/licenses/MIT

========================================================  */


textarea.text_observ {
    border: 1px solid rgb(227, 227, 227);
    width: 100%;
}

.intervention-table td,
.intervention-table th {
    text-align: center;
    vertical-align: middle !important;
}

.intervention-table thead {
    background: #eae9e9;
}
.intervention-table th {
   padding: 10px !important;
   font-size: 16px;
}

.map_result {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 20px;
    margin-bottom: -5px;
}

table.calendar {
    margin: auto;
    border-collapse: collapse;
}
table.calendar .days td {
    width: 80px;
    height: 80px;
    padding: 4px;
    border: 1px solid #999;
    vertical-align: top;
    background-color: #DEF;
}
table.calendar .days td:hover {
    background-color: #FFF;
}
table.calendar .highlight {
    font-weight: bold;
    color: #00F;
}



label.res_val {
    border: 1px solid #999;
    padding: 5px 10px;
    cursor: pointer;
}
label.res_val input {
    appearance: none;
    width: 0;
    height: 0;
    opacity: 0;
}
label.res_pos {
    border-radius: 5px 0 0 5px;
    transition: all 0.3s;
}
label.res_neg {
    border-radius: 0 5px 5px 0;
    transition: all 0.3s;
}
input.res_neg,
input.res_pos {
    display: none;
}
input.res_neg:checked ~ label.res_neg {
    background-color: #D9534F;
    color: #FFF;
    border-color: #D43F3A;
}
input.res_pos:checked ~ label.res_pos {
    background-color: #64b729;
    color: #fff;
    border-color: #54a51a;
}


/*==============================================

    GENERAL  STYLES    

=============================================*/

body {
    font-family: 'Open Sans', sans-serif;
    background: rgba(135,214,209,1)!important;
    background: -moz-radial-gradient(center, ellipse cover, rgba(135,214,209,1) 0%, rgba(92,177,201,1) 80%, rgba(33,159,194,1) 100%)!important;;
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(135,214,209,1)), color-stop(80%, rgba(92,177,201,1)), color-stop(100%, rgba(33,159,194,1)))!important;;
    background: -webkit-radial-gradient(center, ellipse cover, rgba(135,214,209,1) 0%, rgba(92,177,201,1) 80%, rgba(33,159,194,1) 100%)!important;;
    background: -o-radial-gradient(center, ellipse cover, rgba(135,214,209,1) 0%, rgba(92,177,201,1) 80%, rgba(33,159,194,1) 100%)!important;;
    background: -ms-radial-gradient(center, ellipse cover, rgba(135,214,209,1) 0%, rgba(92,177,201,1) 80%, rgba(33,159,194,1) 100%)!important;;
    background: radial-gradient(ellipse at center, rgba(135,214,209,1) 0%, rgba(92,177,201,1) 80%, rgba(33,159,194,1) 100%)!important;;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87d6d1', endColorstr='#219fc2', GradientType=1 )!important;;
    width: 100%;
    min-height: 100%;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

#wrapper {
    width: 100%;
    background:#2C3E50;
}

#page-wrapper {
    padding: 15px 15px;
    min-height: 600px;
    background:#F3F3F3;
}

#page-inner {
    width: 100%;
    margin: 0px 20px 10px 0px;
    background-color: #FFF !important;
    min-height: 1000px;
    /*background-color: #F5F5F5 !important;*/
    /*padding: 10px;*/
    /*border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;*/
}

/*div#wrapper nav.navbar.navbar-default.navbar-cls-top div.navbar-header a img{
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}*/

.text-center {
    text-align:center;
}

.no-boder {
    border:1px solid #f3f3f3;
}

h1 {
    color: #2C3E50;
    font-size: 40px;
}
h2 {
    color: #333;
    font-size: 26px;
}

h4 {
    padding-top:10px;
}

.square-btn-adjust {
    border: 0px solid transparent; 
   -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

p {
    font-size:14px;
    line-height:20px;
    padding-top:10px;
}

.row-alert {
    background-color: #f64545 !important;
}
.row-alert:hover {
    background-color: #f64545 !important;
}
.row-alert a {
    color: #FFF;
}

.row-warning {
    background-color: #ffe031 !important;
}
.row-warning:hover {
    background-color: #ffe031 !important;
}
.row-warning a {
    color: #000;
}

.row-negative {
    background-color: #efac39 !important;
}
.row-negative:hover {
    background-color: #efac39 !important;
}
.row-negative a {
    color: #000;
}

/*==============================================

   DASHBOARD STYLES    

=============================================*/

.panel-back {
    background-color:#F8F8F8;
}

.noti-box {
    min-height: 100px;
    padding: 20px;
    
    display: flex;
    align-items: center;
}

.noti-box .icon-box {
    display: block;
    float: left;
    margin: 0 15px 0 0;
    width: 60px;
    height: 60px;
    line-height: 60px;
    vertical-align: middle;
    text-align: center;
    font-size: 32px;
}

.text-box p {
    /*margin: 0 0 3px;*/
    margin: 0;
    /*line-height: 60px;*/
    padding: 0;
}

.main-text {
    font-size: 20px;
    font-weight:600;
}

.set-icon {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

.bg-color-green {
    background-color: #00CE6F;
    color: #fff;
}

.bg-color-blue {
    background-color: #A95DF0;
    color: #fff;
}

.bg-color-red {
    background-color: #DB0630;
    color: #fff;
}

.bg-color-brown {
    background-color: #B94A00;
    color: #fff;
}

.icon-box-right {
    display: block;
    float: right;
    margin: 0 15px 10px 0;
    width: 70px;
    height: 70px;
    line-height: 75px;
    vertical-align: middle;
    text-align: center;
    font-size: 40px;
}


.main-temp-back {
    background: #8702A8;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
}


.main-temp-back .text-temp {
    font-size: 40px;
}

.back-dash {
    padding:20px;
    font-size:20px;
    font-weight:500;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background-color:#2EA7EB;
    color:#fff;
}

.back-dash p {
    padding-top:16px;
    font-size:13px;
    color:#fff;
    line-height:25px;
    text-align:justify;
}

.back-footer-green {
    background-color: #009B50;
    border-top: 0px solid #fff;
}

.back-footer-red {
    background-color: #AF0000;
    border-top: 0px solid #fff;
}

.color-bottom-txt {
   color: #000;
    font-size: 16px;
    line-height: 30px;
}

/*CHAT PANEL*/
.chat-panel .panel-body {
    height: 450px;
    overflow-y: scroll;
}

.chat-box {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat-box li {
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #808080;
}

.chat-box li.left .chat-body {
    margin-left: 90px;
}

.chat-box li .chat-body p {
    margin: 0;
    color: #8d8888;
}

.chat-img>img {
    margin-left:20px;
}



/*==============================================

    MENU STYLES    

=============================================*/


.user-image {
    margin: 50px auto;
    /*-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;*/
    /*max-height:170px;*/
    max-width: 200px;
}

.navbar-cls-top .navbar-brand {
	color: #fff;
    background: #C90000;
    width: 260px;
    text-align: center;
    height: 60px;
    font-size: 30px;
    font-weight: 700;
}

.active-menu {
    background-color:#C90000!important;
}

.arrow {
    float: right;
}

.fa.arrow:before {
    content: "\f104";
}

.active > a > .fa.arrow:before {
    content: "\f107";
}

.nav-second-level li,
.nav-third-level li {
    border-bottom: none !important;
}

.nav-second-level li a {
    padding-left: 37px;
}

.nav-third-level li a {
    padding-left: 55px;
}

.sidebar-collapse , .sidebar-collapse .nav{
	background: none;
}

.sidebar-collapse .nav {
	padding: 0;
}

.sidebar-collapse .nav > li > a {
	color:#fff;
	/*background:#202020;*/
	text-shadow: none;
}

.sidebar-collapse > .nav > li {
	border-bottom: 1px solid rgba(107, 108, 109, 0.19);
}

.sidebar-collapse .nav > li > a:hover,
.sidebar-collapse .nav > li > a:focus {
	/*background:#32485d;*/
    background: #0d263e;
	outline: 0;

}



.nav-second-level > li > a:before ,

.nav-third-level > li > a:before {

	content:"";

	display:block;

	position:absolute;

	left:20px;

	width:15px;

	height:1px;

	background:#ff0000;

	top:20px;

}

.nav-second-level > li > a:after,
.nav-third-level > li > a:after {
	content:"";
	display:block;
	position:absolute;
	left:20px;
	width:1px;
	height:100%;
	background:#ff0000;
	top:0px;
	z-index:10;
}

.nav-second-level  > li:last-child > a:after,

.nav-third-level  > li:last-child > a:after {

	height:50%;

}

.nav-third-level > li > a:after,

.nav-third-level > li > a:before  {

	left:40px;

}

.navbar-side {

	border:none;

	background-color: #2C3E50;

	

}

.navbar-cls-top {

	background:#2C3E50;

	border-bottom:none;

	

}

.navbar-cls-top .navbar-brand:hover {



background: #C90000;

color:#fff;



}



.navbar-default {

border:0px solid black;

     

}

.navbar-header {

 background:#2C3E50;

}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {

background-color: #B40101;

}

.navbar-default .navbar-toggle {

border-color: #fff;

}



.navbar-default .navbar-toggle .icon-bar {

background-color: #FFF;

}

.nav > li > a > i {

    margin-right:10px;

}

/*==============================================

    UI ELEMENTS STYLES     

=============================================*/

.btn-circle {
    width: 50px;
    height: 50px;
    padding: 6px 0;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

#lg .panel-default > #lg div.panel-heading {
    background-color: #333!important;
    border-color: #333;
    color: #fff;
}

#lg.panel {
    background-color: #333;
    border: none!important;
}

div#lg.panel.panel-default div.panel-heading {
    background-color: #333;
    border: none!important;
    color: #ccc;
}

.table > thead > tr > th, .table > tbody > tr > th, 
.table > tfoot > tr > th, .table > thead > tr > td, 
.table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 3px 8px;
}




.view-expiration .juloawrapper {
    text-align: center;
}

.view-expiration label:first-child {
    display: none;
}


/*==============================================

    MEDIA QUERIES     

=============================================*/


@media only screen and (max-width: 1200px) and (min-width: 992px) {
    .noti-box {
        display: block;
    }

    .noti-box .icon-box {
        float: none;
        margin: 0 auto;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 26px;
    }

    .main-text {
        font-size: 16px;
        text-align: center;
    }

    .inter_action {
        width: 100%;
    }

    #end_intervention {
        margin-top: 0 !important;
    }
}

@media only screen and (max-width: 1053px) and (min-width: 993px){
    .job_row .col-md-7 {
        width: 54.333%;
    }
}

@media only screen and (min-width: 992px) {
    .elimina_col {
        width: 5.33333333%;
    }

    .order_col {
        width: 4.33333333%;
    }

    .stato_col {
        width: 15.33333333%;
    }
}

@media only screen and (max-width: 992px) {
    .job_row {
        padding-bottom: 20px !important;
    }

    .pagination > li > a, .pagination > li > span {
        padding: 2px 8px;
    }

    .dataTables_wrapper div:last-child .col.sm-6 {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 992px) and (min-width: 768px){

    .navbar-side {
        width: 60px !important;
    }

    #page-wrapper {
        margin: 0 0 0 60px !important;
    }

    ul#main-menu li a span {
        display: none;
        position: absolute;
        top: 0px;
        left: 60px;
        background: #0d263e;
        padding: 5px 10px;
    }

    ul#main-menu li a:hover span {
        display: block;
    }

    .user-image {
        margin: 20px auto;
        max-width: 50px;
    }

    .navbar-header a img {
        margin-left: 60px;
    }

    ul#main-menu {
        margin-top: -58px;
    }
}

@media(min-width:768px) {
    
    #page-wrapper {
        margin: 0 0 0 260px;
        padding: 20px;
        min-height: 1200px;
    }

    #page-wrapper > #page-inner {
        padding: 15px;
    }

    .navbar-side {
        z-index: 1;
        position: absolute;
        width: 260px;
    }
    .navbar {
        border-radius: 0px; 
        text-align: right;
    }
}

@media only screen and (max-width: 767px) {
    .userBtn {
        float: none !important;
        text-align: center;
        margin: 5px 0 15px;
    }

    #end_intervention {
        margin-top: 0 !important;
    }

    .user-image {
        margin: 20px auto;
    }
}

@media only screen and (max-width: 760px), (min-width: 768px) and (max-width: 1100px) {
    
    /*html body div#wrapper nav.navbar.navbar-default.navbar-cls-top div {
        clear: both;
        padding: 0px !important;
    }*/

    /*div#wrapper nav.navbar.navbar-default.navbar-cls-top div.navbar-header {
        text-align: center;
    }*/

    table, thead, tbody, td, th, tr {
        display: block !important;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr { border: 1px solid #ccc; }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 5%;
    }

    table#dataTables-maintenance tbody tr td,
    table.datatable-progress tbody tr td,
    table.datatable-finished tbody tr td,
    table.tableModal tbody tr td,
    table.intervention-table:first-child tbody tr td { 
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 100px; 
    }

    table.datatable-assigned tbody tr td {
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 125px; 
    }

    
    
    table#dataTables-maintenance tbody tr td:before,
    table.datatable-progress tbody tr td:before,
    table.datatable-assigned tbody tr td:before,
    table.datatable-finished tbody tr td:before,
    table.tableModal tbody tr td:before,
    table.intervention-table:first-child tbody tr td:before { 
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        /*top: 6px;*/
        left: 6px;
        /*width: 45%; */
        padding-right: 10px; 
        white-space: nowrap;
        font-weight:bold;
    }

    table#dataTables-maintenance tbody tr td:nth-of-type(1):before { content:"Selezziona: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(2):before { content:"Titolo: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(3):before { content:"Settore: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(4):before { content:"Cadenza: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(5):before { content:"Totali: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(6):before { content:"Finiti: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(7):before { content:"Mancanti: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(8):before { content:"Scadenza: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(9):before { content:"Prossimo: ";}
    table#dataTables-maintenance tbody tr td:nth-of-type(10):before { content:"Alert: ";}

    table.datatable-progress tbody tr td:nth-of-type(1):before { content:"Titolo: ";}
    table.datatable-progress tbody tr td:nth-of-type(2):before { content:"Cadenza: ";}
    table.datatable-progress tbody tr td:nth-of-type(3):before { content:"Data inizio: ";}
    table.datatable-progress tbody tr td:nth-of-type(4):before { content:"Alert: ";}

    table.datatable-assigned tbody tr td:nth-of-type(1):before { content:"Selezziona: ";}
    table.datatable-assigned tbody tr td:nth-of-type(2):before { content:"Titolo: ";}
    table.datatable-assigned tbody tr td:nth-of-type(3):before { content:"Cadenza: ";}
    table.datatable-assigned tbody tr td:nth-of-type(4):before { content:"Data assegnata: ";}
    table.datatable-assigned tbody tr td:nth-of-type(5):before { content:"Scadenza: ";}
    table.datatable-assigned tbody tr td:nth-of-type(6):before { content:"Alert: ";}

    table.datatable-finished tbody tr td:nth-of-type(1):before { content:"Titolo: ";}
    table.datatable-finished tbody tr td:nth-of-type(2):before { content:"Cadenza: ";}
    table.datatable-finished tbody tr td:nth-of-type(3):before { content:"Data finita: ";}
    table.datatable-finished tbody tr td:nth-of-type(4):before { content:"Stampato: ";}
    table.datatable-finished tbody tr td:nth-of-type(5):before { content:"Archiviato: ";}
    table.datatable-finished tbody tr td:nth-of-type(6):before { content:"Negativo: ";}

    table.tableModal tbody tr td:nth-of-type(1):before { content:"Nr: ";}
    table.tableModal tbody tr td:nth-of-type(2):before { content:"SA: ";}
    table.tableModal tbody tr td:nth-of-type(3):before { content:"Elemento: ";}
    table.tableModal tbody tr td:nth-of-type(4):before { content:"Lavoro: ";}

    table.intervention-table:first-child tbody tr td:nth-of-type(1):before { content:"Nr: ";}
    table.intervention-table:first-child tbody tr td:nth-of-type(2):before { content:"SA: ";}
    table.intervention-table:first-child tbody tr td:nth-of-type(3):before { content:"Elemento: ";}
    table.intervention-table:first-child tbody tr td:nth-of-type(4):before { content:"Lavoro: ";}
    table.intervention-table:first-child tbody tr td:nth-of-type(5):before { content:"Esito: ";}
    table.intervention-table:first-child tbody tr td:nth-of-type(6):before { content:"Osservazioni: ";}
    table.intervention-table:first-child tbody tr td:nth-of-type(7):before { content:"Azione: ";}
}

@media screen and (max-width: 520px) {
    .panel-heading {
        overflow: hidden;
    }

    .panel .pull-right {
        margin-top: 10px;
        clear: both;
    }
}

.elimina_col p {
    padding-top: 0;
}

.order_col {
    text-align: center;
}

.job_row > div {
    padding-left: 10px;
    padding-right: 10px;
}

.panel-title {
    line-height: 25px;
    overflow: hidden; 
}

table .label {
    display: inline-block;
}

.error {
    color: red;
}

.job_row {
    border-bottom: 1px solid #ede6e6;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.new_main_form .form-group {
    margin: auto;
    padding: 10px 0;
}

.jobs_form .form-group {
    margin: auto;
}

.bg-color-default {
    background-color: #777;
    color: #FFF;
}

table.dataTable, table.dataTable td, table.dataTable th {
    box-sizing: border-box !important;
}

.width100 {
    width: 100px !important;
}

.width150 {
    width: 150px !important;
}

.inter_action {
    text-align: center;
}

.multi-wrapper .non-selected-wrapper, 
.multi-wrapper .selected-wrapper {
    height: 400px !important;
}

#iniziaLavoro_a, #fineLavoro_a {
    background-color: #db0630 !important;
}
#iniziaLavoro_a:hover, #fineLavoro_a:hover {
    background: #a80828 !important;
}
/*.inizia_lavoro_btn i {
    margin-right: 10px;
    font-size: 2em;
}*/

input[type="file"] {
    display: block;
  }
  .imageThumb {
    max-height: 75px;
    border: 2px solid;
    padding: 1px;
    cursor: pointer;
  }
  .pip {
    display: inline-block;
    margin: 10px 10px 0 0;
  }
  .remove {
    display: block;
    background: #444;
    border: 1px solid black;
    color: white;
    text-align: center;
    cursor: pointer;
  }
  .remove:hover {
    background: white;
    color: black;
  }
  /* modifiche apportate al css per la parte di lavoro fine, foto */
  .btn-sm, .btn-group-sm > .btn {
    padding: 10px 50px;
    font-size: 16px;
    margin-bottom: 50px;
}
.modal-footer .btn + .btn {
    margin-bottom: 10px;
    margin-left: 10px;
}

btn:last-child > .btn-group {
    margin-left: -1px;
    margin-top: -5px;
}
.input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
    margin-top: 0px;
    margin-bottom: 10px;
}