/*
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 : 16-feb-2018, 13.37.32
    Author     : Pasquale Chieco
*/

.fabutton {
    background: none;
    padding: 0px;
    border: none;
}

form.inline-form{
    display: inline;
}

.backBar{
    margin: 10px 20px;
    margin-bottom: 10px;
    border: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
    opacity: 1;
    transition: all .2s ease;
    position: relative;
}

body.mobile .backBar {
    margin: 10px 0;
}

.backBar .search-wrapper
{
    margin-right: 15px;
}

.backBar input.search
{
    height: 41px;
}

.backBar h3{
    margin-top: 5px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.backBar a.btn.back{
    border:none;
}

.ui-autocomplete { position: absolute; cursor: default;z-index:9999 !important;}  

.clearfix::after, form::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.panel{
    margin-bottom: 0;
}

.navbar-left {
    float: left !important;
}

body.mobile .oct_panel{
    margin: 10px 0;
}

.oct_panel{
    margin-top: 10px;
    padding: 10px 17px;
    background: #fff;
    /*    border: 1px solid #E6E9ED;*/
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
    opacity: 1;
    transition: all .2s ease;
    position: relative;
}

.oct_panel .oct_title {
    border-bottom: 2px solid #E6E9ED;
    padding: 1px 5px 6px;
    overflow: visible;
    height: 34px;
}
.oct_panel, .oct_title {
    margin-bottom: 10px;
}

.oct_panel .oct_title .dropdown-menu{
    border-radius: 0;
}

.oct_title h2 {
    margin: 5px 0 6px;
    float: left;
    display: block;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 400;
}
.oct_title h2 {
    overflow: hidden;
}
.oct_title h2 {
    text-overflow: ellipsis;
}
.oct_title h2 {
    white-space: nowrap;
    text-overflow: ellipsis;
}

.oct_title .panel_toolbox {
    float: right;
}

.oct_title .navbar-right {
    margin-right: 0 !important;
}

.oct_title .navbar-left {
    margin-left: 0 !important;
}

.oct_title .panel_toolbox > li {
    float: left;
    cursor: pointer;
}

.oct_title .panel_toolbox > li.search {
    padding:0 10px;
}

.oct_title .panel_toolbox > li > a {
    padding: 5px;
    color: #C5C7CB;
    font-size: 14px;
}

.oct_content {
    padding: 0 5px 6px;
    margin-top: 5px;
    width: 100%;
    max-height: 100%;
    position: relative;
}


.oct_content.ridotto {
    height: 0;
    max-height: 0%;
    overflow: hidden;
}

.oct_panel .oct_panel_in{
    margin: 10px 20px;
    padding: 0;
    box-shadow: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
    opacity: 1;
    transition: all .2s ease;
    position: relative;
}

.oct_panel .oct_panel_in.no-margin{
    margin:0;
    margin-top:10px;
}

.container-fluid,
#page-content-wrapper{
    background-color: #f7f7f7;
}

.center{
    text-align: center;
}

.oct_panel.no-margin{
    margin:0;
    margin-bottom:20px;
}

.oct_panel.no-margin-2
{
    margin:0;
    margin-bottom:20px;
    margin-top: 10px;
}

span.uppercase{
    text-transform: uppercase;
}


/** Sub menu Actions **/
.submenu{
    border-bottom: 1px solid #eaeaea;
    padding: 2px;
    /*padding-bottom: 14px;*/
    background: #535353;
    border-top: 1px solid #f3f3f3;
}

.submenu a.btn{
    display: inline-block;
    height: 60px;
    border-radius: 0;
    padding: 18px;
}

#chooseModal .modal-dialog .modal-content,
#errorsModal .modal-dialog .modal-content{
    border-radius: 0;
    font-size: 0.9em;
}

#chooseModal .modal-header,
#errorsModal .modal-header{
    border-radius: 0;
    background: #535353;
    color: whitesmoke;
}

#chooseModal .modal-header h5,
#errorsModal .modal-header h5{
    display: block;
    width: 100%;
}

#chooseModal .modal-header .icon,
#errorsModal .modal-header .icon{
    color: #fff;
    padding: 10px;
    padding-left: 0;
}

#chooseModal .modal-header .title,
#errorsModal .modal-header .title{
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 800;
}

#chooseModal .options{
    text-align: center !important;
    padding: 0 10%;
}

#chooseModal .options .option{
    background: #B1093D;
    color: #fcfcfc;
    height: 80px;
    width: 100px;
    padding: 15px;
    border-radius: 0;
    margin: 5px;
}

#chooseModal .options .option .btn-label{
    display:block;
    text-align: center;
    font-size: 0.5em;
    font-weight: bold;
    text-transform: uppercase;
    overflow: hidden;
}

#chooseModal .text{
    text-align: center;
    padding: 10px;
    font-size: 1.3em;
}

#developer_features{
    position: fixed;
    bottom: -200px;
    right: 10px;
    transition: all 2s ease 0s;
}
#developer_features.active{
    bottom:10px;
}

#developer_features_settings{
    height: 200px;
    width: 200px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

input.hidden{
    display: none;
}

input.not_hidden{
    color: #000;
    background-color: #dadada;
    border-color: #bcbcbc;
}

/*
CALENDAR FORM
usato nei commitment per indicare le quantità spedite per settimana
*/
.year{
    border: 1px solid #e3e3e3;
}

.year-label{
    font-weight: bolder;
    font-size: 1.2em;
    width: 100%;
    background: #666;
    font-family: 'Roboto', sans-serif;
    padding:0.4em 0.7em;
    color:white;
    margin-bottom: 10px;
}

.year-content{
    padding: 10px;
}

.week{
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
}

.week-label{
    position: absolute;
    top:0px;
    left:0px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.7em;
    padding: 1px 5px;
    color: #888;
}

.week input{
    width: 50px;
    height: 40px;
    padding:0;
    text-align: center !important;
    border: 1px solid #e3e3e3;
    font-weight: bolder;
    letter-spacing: 0.5px;
}