/* GENERAL */

body{
    font-family: 'Lato', sans-serif;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

a.simple_link{
   color: #EB0029;
   font-size: 16px;
   cursor: pointer;
}

a.simple_link:hover{
   color: #333;
   text-decoration: none;
}

.container_all{
    min-width: 1200px !important;
}

.container{
    width: 100%;
    min-width: 1200px;
    max-width: 100%;
}

.save{
    background-color: green !important;
    margin-right: 13px;
}

.save:hover{
    background-color: #78b578 !important;
}

.btn_red {
    background-color: #EB0029;
    border: 0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    margin-top: 30px;
}

.btn_red:hover {
    background-color: #D26177;
}

.login_amm{
   background-color: #EB0029 !important;
}

.login_amm:hover{
   background-color: #D26177 !important;
}

.btn_red span {
    margin-right: 10px;
}

.add_component_ico{
    float: left;
    color: #EB0029;
    height: 49px;
    text-align: center;
    line-height: 83px;
}

.add_component_ico span.glyphicon{
    color: #EB0029;
    cursor: pointer;
}

.add_component_ico span.glyphicon:hover{
    color: #333;
}

.add_credits_ico{
    float: left;
    color: #EB0029;
    height: 49px;
    text-align: center;
    line-height: 52px;
}

.add_credits span.glyphicon{
    color: #EB0029;
    cursor: pointer;
}

.add_credits_ico span.glyphicon:hover{
    color: #333;
}

.btn_download{
    background-color: #EB0029;
    border: 0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    width: 201px;
    display: block;
}

.btn_download span {
   margin-right: 10px;
}

.btn_download:hover{
    text-decoration: none;
    color: white;
    background-color: #D26177;
}

.completato{
   color: green;
}

.da_completare{
   color: #EB0029;
}

:focus{
   border-color: #EB0029;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0), 0 0 8px rgba(102,175,233,0) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0), 0 0 8px rgba(102,175,233,0) !important;
}

/* /GENERAL */

/* NAVBAR */

.navbar {
    border-radius: 0;
    /*min-height: 137px;*/
    min-height: 90px;
    border-bottom: 0;
}

.navbar h2{
    color: white;
    margin: 0;
    /*line-height: 137px;*/
    line-height: 88px;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-inverse .navbar-nav>li>a {
    color: white;
    /*line-height: 107px;*/
    line-height: 59px;
}

.navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav>li>a:hover {
    color: #EB0029;
    background-color: transparent;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
    color: #EB0029;
    background-color: #080808;
}

.navbar-brand>img {
    height: 60px;
}

.menu_back{
    position: absolute;
    width: 100%;
    bottom: 90px;
}

.menu_back_btn{
    padding: 15px;
    line-height: 17px;
    font-size: 15px;
    color: #6a6a6a;
    border-top: 1px solid #d5d8df;
    display: block;
}

.menu_back_btn:last-child{
    border-bottom: 1px solid #d5d8df;
}

.menu_back_btn:hover {
   color: #e4002b;
   text-decoration: none;
}

/* /NAVBAR */

/* TITLE */

.titolo_box{
    background-color: #EB0029;
    padding-bottom: 16px;
    padding-top: 1px;
    padding-left: 120px;
    padding-right: 15px;
    color: #fff;
    margin-right: -120px;
    margin-left: -120px;
    margin-top: -35px;
    margin-bottom: 30px;
}

/* /TITLE */

/* SIDEBAR */

.main{
    top: 95px;
    padding: 30px 120px 0 120px;
}
.main .row{
    padding: 0px;
    margin: 0px;
}

nav.sidebar{
    top: 90px;
}

nav.sidebar.navbar {
    border-radius: 0px;
}

.sidebar .navbar-nav>li>a {
    /*color: white;*/
    color: #6a6a6a;
    line-height: 17px;
    font-size: 15px;
}

nav.sidebar, .main{
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

nav.sidebar .navbar-brand{
    height: 80px;
    background-color: #EB0029;
    font-size: 17px;
    line-height: 56px;
    color: white;
}

.main{
    position: absolute;
    margin-left: 40px;
    float: right;
}

nav.sidebar:hover + .main{
    margin-left: 200px;
}

nav.sidebar.navbar.sidebar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-left: 0px;
}
nav.sidebar .navbar-brand, nav.sidebar .navbar-header{
    text-align: center;
    width: 100%;
    margin-left: 0px;
}

nav.sidebar a{
    padding-right: 13px;
}

nav.sidebar .navbar-nav > li:first-child{
    /*border-top: 1px #e5e5e5 solid;*/
    border-top: 0;
}

nav.sidebar .navbar-nav > li{
    /*border-bottom: 1px #e5e5e5 solid;*/
    border-bottom: 1px #d5d8df solid;
}

nav.sidebar .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

nav.sidebar .navbar-collapse, nav.sidebar .container-fluid{
    padding: 0 0px 0 0px;
}

.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: #777;
}

nav.sidebar{
    width: 200px;
    height: 100%;
    margin-left: -160px;
    float: left;
    z-index: 1000;
    margin-bottom: 0px;
}

nav.sidebar li {
    width: 100%;
}

nav.sidebar:hover{
    margin-left: 0px;
}

.forAnimate{
    opacity: 0;
}


.main{
    width: calc(100% - 200px);
    margin-left: 200px;
    min-width: 1000px !important;
}


nav.sidebar{
    margin-left: 0px;
    float: left;
    background-color: #ebebeb;
    color: #777;
}

nav.sidebar .forAnimate{
    opacity: 1;
}


nav.sidebar .navbar-nav .open .dropdown-menu>li>a:hover, nav.sidebar .navbar-nav .open .dropdown-menu>li>a:focus {
    color: #CCC;
    background-color: transparent;
}

nav:hover .forAnimate{
    opacity: 1;
}
section{
    padding-left: 15px;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    color: #6a6a6a;
    background-color: #dcdcdc;
}

.sidebar .navbar-brand:focus, .sidebar .navbar-brand:hover {
    color: #fff;
    background-color: #EB0029;
}

/*no collapse*/

.navbar-collapse.collapse.off {
    display: block !important;
    border: 0 !important;
}
.navbar-collapse.collapse.off ul {
    margin: 0;
    padding: 0;
}

.navbar-nav.no-collapse>li,
.navbar-nav.no-collapse {
    float: left !important;
}

.navbar-right.no-collapse {
    float: right!important;
}

.nav_dati_aggiuntivi{
   margin-top: 15px;
   border-top: 1px #d5d8df solid;
}

/* /SIDEBAR */

/* FORM */

.box_form{
    margin-top: 30px;
}

.box_form .input-group{
    width: 100%;
}

.box_form p{
    font-size: 20px;
    font-weight: bold;
}

.search_title{
    font-size: 20px;
    font-weight: bold;
}

.box_form input{
    padding: 15px;
    height: 49px;
    font-size: 16px;
    border-radius: 0;
    border: 1px solid #e6e6e6;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0);
}

.box_form select {
    width: 40%;
    color: #999999;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
    border: 1px solid #e6e6e6;
    height: 49px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    border-radius: 0 !important;
    -webkit-appearance: none;
    cursor: pointer;
    background: transparent url("../graphics/arrow-select.svg") no-repeat 97% center;
    background-size: 20px;
}

.box_form textarea{
    padding: 15px;
    height: 200px;
    font-size: 16px;
    border-radius: 0;
    border: 1px solid #e6e6e6;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0);
}

.box_form input::-webkit-input-placeholder {
   color: #999999;
   font-size: 16px;
}

.box_form input:-moz-placeholder { /* Firefox 18- */
   color: #999999;
   font-size: 16px;
}

.box_form input::-moz-placeholder {  /* Firefox 19+ */
   color: #999999;
   font-size: 16px;
}

.box_form input:-ms-input-placeholder {
   color: #999999;
   font-size: 16px;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: white;
    opacity: 1;
    border-radius: 0;
    cursor: default;
}

.input_error{
   color: #d20000;
   font-size: 16px;
   display: none;
}

.not_mail{
   color: #d20000;
   font-size: 16px;
   display: none;
}

.pw_no_match{
   color: #d20000;
   font-size: 12px;
   display: none;
}
.checkbox_empty{
   color: #d20000;
   font-size: 12px;
   display: none;
}

.policy_empty{
   color: #d20000;
   font-size: 12px;
   display: none;
}

.radio_empty{
   color: #d20000;
   font-size: 12px;
   display: none;
}

.option_empty{
   color: #d20000;
   font-size: 12px;
   display: none;
}

.radio {
     margin-top: 0;
     margin-bottom: 10px;
}

.radio label {
    line-height: 26px;
    padding-left: 17px;
}

.checkbox label::before {
    width: 25px;
    height: 25px;
    left: 0;
    margin-left: -20px;
}

.checkbox label {
    padding-left: 17px;
    line-height: 26px;
}

.checkbox label::after {
    width: 25px;
    height: 25px;
    padding-top: 1px;
    font-size: 21px;
    margin-top: -2px;
}

   /* Datepicker */
   .datepicker td.active:hover,
   .datepicker td.active:hover:hover,
   .datepicker td.active:focus,
   .datepicker td.active:hover:focus,
   .datepicker td.active:active,
   .datepicker td.active:hover:active,
   .datepicker td.active.active,
   .datepicker td.active:hover.active,
   .datepicker td.active.disabled,
   .datepicker td.active:hover.disabled,
   .datepicker td.active[disabled],
   .datepicker td.active:hover[disabled] {
       color: #ffffff;
       background-color: #d20000;
   }

   .datepicker td.active, .datepicker td.active:hover {
    color: #ffffff;
    background-color: #d20000;
    background-image: -moz-linear-gradient(top, #d20000, #d20000);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#d20000), to(#d20000));
    background-image: -webkit-linear-gradient(top, #d20000, #d20000);
    background-image: -o-linear-gradient(top, #d20000, #d20000);
    background-image: linear-gradient(to bottom, #d20000, #d20000);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d20000', endColorstr='#d20000', GradientType=0);
    border-color: #d20000 #d20000 #d20000;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
   /* Datepicker */

   .input_mandatory{
      color: #d20000;
      font-size: 12px;
   }

   /* Fieldset */

   fieldset{
      margin-top: 30px;
      margin-bottom: 0;
   }

   fieldset legend{
      margin-top: 0;
      margin-bottom: 0;
   }

   /* /Fieldset */

   .input-group-btn:first-child>.btn, .input-group-btn:first-child>.btn-group {
    z-index: 2;
    height: 49px;
    margin-left: -1px;
    line-height: 36px;
    font-size: 16px;
    font-weight: bold;
    border: 0;
    border-radius: 0;
    background-color: #EB0029;
    color: white;
}

.input-group-btn:first-child>.btn:hover, .input-group-btn:first-child>.btn-group:hover {
   background-color: #D26177;
   color: white;
}

.max_character{
    color: #EB0029;
    position: absolute;
    top: 200px;
}

.box_compagnia .max_character{
    top: 173px;
}

.form-control:focus {
    border-color: #e4002b;
}

/* /FORM */

/* COMPAGNIA */

 .box_compagnia{
    margin-top: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e6e6;
 }

 .box_compagnia:first-child{
    margin-top: 30px;
 }

 .box_compagnia:last-child{
    margin-bottom: 0;
    border-bottom: 0;
 }

 #add-component{
   width: 213px;
   cursor: pointer;
}

.remove_componente{
   cursor: pointer;
}

 /* /COMPAGNIA */

 /* MODALE */

 .modal-content{
    border-radius: 0;
}

.modal-footer button{
   margin: 0;
}

 /* /MODALE */

 /* TABELLA */

 .table{
    width: 50%;
    margin-bottom: 0;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.table>thead{
   border-top: 1px solid #ddd
}

.table>tfoot{
   border-bottom: 1px solid #ddd;
}

.riepilogo_table>tfoot>tr>th:nth-child(2){
   text-align: right;
}

.riepilogo_table>tbody>tr>td:nth-child(1){
   width: 60%;
}

.riepilogo_table>tbody>tr>td:nth-child(2){
   width: 30%;
   text-align: right;
}

.riepilogo_table>tbody>tr>td:nth-child(3){
   width: 10%;
   text-align: center;
   line-height: 26px;
}

.table input{
   width: 100%;
   height: auto;
   padding: 1px 5px 1px 5px;
   font-size: 14px;
}

.riepilogo_table>tbody>tr>td:nth-child(2) input{
   text-align: right;
}

.remove_tr{
   color: #EB0029;
   cursor: pointer;
}

.remove_tr:hover{
   color: #333;
}

#add-costo{
    cursor: pointer;
    width: 180px;
}

#add-ricavi{
    cursor: pointer;
    width: 180px;
}

.table>tbody>tr>td{
   padding-top: 14px;
}

 /* /TABELLA */

 /* DATATABLE */
 .table-bordered>thead>tr>th{
   padding-top: 15px;
   padding-bottom: 15px;
 }

 table.dataTable thead .sorting:after,
 table.dataTable thead .sorting_asc:after,
 table.dataTable thead .sorting_desc:after,
 table.dataTable thead .sorting_asc_disabled:after,
 table.dataTable thead .sorting_desc_disabled:after {
    bottom: 13px;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #EB0029;
    border-color: #EB0029;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #EB0029;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    z-index: 2;
    color: #EB0029;
    background-color: #eee;
    border-color: #ddd;
}

div.dataTables_wrapper div.dataTables_filter input {
    height: 30px;
}

.sorting:focus {
    border-color: #ddd !important;
}

.td_accettazione{
   text-align: center;
}

 /* /DATATABLE */

 /* TOOLTIP */
 .tooltip_fteatro{
    color: #EB0029;
    cursor: pointer;
}
  /* /TOOLTIP */

 /* ACCETTAZIONE */
 #radioBtn .notActive{
    color: #334;
    border-color: #EB0029;
    background-color: #fff;
}

#radioBtn .notActive:hover{
   color: #EB0029;
}

#radioBtn .active{
   background-color: #EB0029;
    border-color: #EB0029;
    color: #fff;
}

tr.accettato{
   background-color: #e4f5de !important;
}

tr.non_accettato{
   background-color: #fbe9e9 !important;
}

/* /ACCETTAZIONE */

/* LIGHTBOX */

.ekko-lightbox a{
    text-decoration: none;
}

.link_gallery{
   color: #EB0029;
}

.link_gallery:hover,
.link_gallery:active,
.link_gallery:focus,
.link_gallery:visited{
   color: #6a6a6a;
   text-decoration: none;
}

/* /LIGHTBOX */

/* BOX FILTER */

.box_filter p{
    font-weight: normal;
    font-size: 16px
}

.box_filter input{
   height: 25px;
   padding-top: 3px;
   padding-bottom: 5px;
   border-color: #cccccc;
}

.box_filter>.col-xs-1>select,
.box_filter>.col-xs-2>select,
.box_filter>.col-xs-3>select,
.box_filter>.col-xs-4>select,
.box_filter>.col-xs-5>select,
.box_filter>.col-xs-6>select,
.box_filter>.col-xs-7>select,
.box_filter>.col-xs-8>select,
.box_filter>.col-xs-9>select,
.box_filter>.col-xs-10>select,
.box_filter>.col-xs-11>select,
.box_filter>.col-xs-12>select {
    width: 100%;
    color: #999999;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 0;
    padding-bottom: 2px;
    border: 1px solid #cccccc;
    height: 25px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    border-radius: 0 !important;
    -webkit-appearance: none;
    cursor: pointer;
    background: transparent url(../graphics/arrow-select.svg) no-repeat 97% center;
    background-size: 20px;
}

/* /BOX FILTER */

/* ============================================================ MEDIA QUERIES ============================================================ */

@media screen and (max-width: 1200px) {
    .main{
        padding: 30px 60px 0 60px;
    }

    .titolo_box {
        background-color: #EB0029;
        padding-bottom: 16px;
        padding-top: 1px;
        padding-left: 60px;
        padding-right: 15px;
        color: #fff;
        margin-right: -60px;
        margin-left: -60px;
        margin-top: -35px;
        margin-bottom: 30px;
    }

}

@media screen and (max-width: 991px) {

}

@media screen and (max-width: 767px) {
   .sidebar .navbar-nav>li>a {
      padding-left: 30px;
      padding-top: 15px;
      padding-bottom: 15px;
   }
   .off{
      width: 214px;
   }
}

@media screen and (max-height: 760px) {
    .navbar-nav>li>a {
        padding-top: 8px;
        padding-bottom: 7px;
    }

    .menu_back_btn {
       padding: 8px 15px 7px 15px ;
   }

}
