/*
*   FUORI FATTURA WEB
*
*   Primary: #4285F4
*   Secondary: #3976DA
*/
@media (min-width: 1300px) {
    .modal-lg {
        width: 1300px;
    }
}

body, html {
    background-color: #eeeeee;
}
body{
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    color: #333333;
    font-family: Roboto;
    overflow: hidden;
}
.hide {
    display: none;
}
.relative {
    position: relative;
}.number {
    float: right;
}
div > ul > li {
    float: left;
}
.clearfix {
    clear: both;
}
.scrollable {
    overflow: auto;
}
.flex {
    display: flex;
    flex: 1;
}
.flex-no-grow {
    display: flex;
    flex: 0;
}
.layout-column {
    flex-direction: column;
}
.layout-row {
    flex-direction: row;
}
.relative {
    position: relative;
}
.layout-padding {
    padding: 10px 15px;
}
.no-padding {
    padding: 0px !important;
}
.modal-backdrop {

}
span.primary {
    color: #4285F4;
}
.form-group {
    margin-bottom: 0px;
}
input, textarea, select {
    border-radius: 0px;
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
input.error, textarea.error, select.error {
    box-shadow: 0px 0px 8px rgba(224, 92, 80, 1);
}
input:focus, input:hover,
textarea:focus, textarea:hover,
select:focus, select:hover {
    background: #e2e2e2;
}
input[readonly], select[disabled] {
    background: #fafafa;
}
.input-group-btn .btn {
    margin-top: -14px;
    height: 40px;
}
.btn {
    background-color: #F2F2F2;
    border-radius: 0px;
}
.btn, .btn-primary {
    width: 100%;
    line-height: 18px;
    border: 0px;
    padding: 11px 12px;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn:hover, .btn:focus, .btn:active {
    background: #e2e2e2;
}
.btn-primary {
    background-color: #4285F4;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #3976DA !important;
}
.dropdown-menu {
    margin: 0px;
    border: 0px;
    border-radius: 0px;
}
.dropdown-menu .btn {
    margin: 5px 0;
}

/* SLIDE */
.slide{
    transition: opacity 0.2s, flex-grow 0.2s;
}
.slide-solo {
    flex-grow: 1;
    opacity: 1;
}
.slide-primary {
    flex-grow: 2;
    opacity: 1;
    box-shadow: -2px 0px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.slide-secondary {
    flex-grow: 1;
    opacity: 1;
}
.slide-closed {
    flex-grow: 0 !important;
    opacity: 0;
}

/* TABBAR */
.tab-content {
    overflow: auto;
    flex: 1;
    display: flex;
}
.tab-content .tab-pane.active {
    flex: 1;
    display: flex;
}
.nav-item {
    background-color: #f2f2f2;
}
.nav-item a {
    color: #777;
}
.nav-item.active {
    background-color: #ffffff;
}
.nav-item.active a {
    border-top: 0px !important;
    border-radius: 0px !important;
}

/* GRIGLIA */
.rts-grid {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.grid-icon {
    padding-right: 5px;
    color: #777777;
    line-height: 36px;
    font-size: 24px;
    cursor: pointer;
}

.grid-icon:hover{
    color:#4285F4;
}

/*
span.grid-icon {
    margin-top: -30px;
}
*/
/* MAIN NAVBAR */
.navbar-primary, .main-navbar {
    background: #4285f4;
    color: #FFFFFF !important;
    border-radius: 0px;
    border: 0px !important;
    margin-bottom: 0px;
}
.main-navbar{
    display: flex;
    z-index: 2;
}
.main-navbar .navbar-brand, .main-navbar .navbar-brand:hover, .main-navbar .navbar-brand:focus {
    color: #FFFFFF;
}
.navbar .title {
    margin-left: 16px;
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 12px;
    line-height: 1.1;
}
.navbar .header-btn .fa {
    font-size: 20px;
    margin-right: 6px;
}
.navbar .header-btn {
    margin-right: 6px;
    color: #FFF;
    padding: 16px 10px;
    line-height: 1.1;
    cursor: pointer;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.navbar .header-btn:hover {
    background-color: #3976DA;
}
.main-navbar .main-navbar-container {
    padding: 0 10px;
    width: 100%;
}
.main-navbar .dropdown > .btn {
    background: none;
    border: 0;
    padding: 0px 20px 0px 14px;
    line-height: 50px;
    border-radius: 0px;
}
.main-navbar .open>.dropdown-toggle.btn-primary:focus, .main-navbar .open>.dropdown-toggle.btn-primary:hover{
    background: #3976DA;
}
.main-navbar .btn .fa {
    padding-left: 6px;
}

/* USER-MENU */
.main-navbar .user-menu {
    width: 300px;
    color: #333;
    padding: 10px;
}
.user-menu p {
    font-weight: bold;
    margin-left: 2px;
}

/* ASIDE */
.ng-aside .modal-content {
    display: flex;
    flex-direction: column;
}

/* SKELETON */
.content{
    display: flex;
    flex-direction: column;
    flex: 1;
}
.page {
    z-index: 1;
}

/* SECTION */
.section .section-body {
    overflow: auto;
}
.section {
    background-color: #FFF;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.section-body .title {
    margin-top: 0px;
    margin-left: 14px;
    color: #888;
    margin-bottom: 20px;
}
.section-body .title .fa {
    color: #888;
}
.header-section {
    border-bottom: 1px solid #D9D9D9;
/*    margin-bottom: 10px;*/
    width: 100%;
    display: flex;
    padding: 0 16px;
}
.header-section.with-border {
    border: 1px solid #D9D9D9;
}
.header-section h4 {

}
.header-section .title {
    margin-left: 16px;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.1;
}
.header-section .header-btn {
    margin-right: 6px;
    color: #333;
    padding: 10px;
    line-height: 1.1;
    cursor: pointer;
    transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.header-section .header-btn .fa {
    margin-right: 6px;
    font-size: 18px;
}
.header-section .header-btn:hover {
    color: #4285F4;
}
.header-section .header-btn-back {
    margin-left: -16px;
}
/* ACCORDO */
.accordo-testata {
    padding-top: 10px;
    overflow: auto;
    width: 100%;
}
.accordo-testata input{
    margin-bottom: 10px;
}
.accordo-righe{
    height: 200px;
    margin-top: 20px;
    display: flex;
    position: relative;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    min-height: 200px;
}

/* LOGIN */
.login-form{
    background-color: #fff;
    border-bottom: 2px solid #ccc;
    padding: 15px;
    align-self: center;
    justify-content:center;
}

/* DATEPICKER */
.uib-datepicker .btn-info.active {
    background-color: #4285F4 !important;
    border-color: #3976DA !important;
}
.uib-datepicker .btn-group .btn {
    width: auto;
}

/* MODAL */
.modal-content {
    border-radius: 0px;
    border: 0px;
}
.modal-footer .btn {
    width: auto;
}

/* TOAST */
.ng-toast__message .alert {
    background-color: #404040;
    color: #ebebeb;
    border: 0;
    box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28)
}
.alert-error-msg {
    background-color: #e05c50 !important;
    color: #FFF !important;
    z-index:999 !important;
}

/* UPLOAD */
.btn-uploader {
     margin-bottom: 15px;
}
.uploader {
    background: #F2F2F2;
    border: 5px dashed #cacaca;
    padding: 15px;
    transition: border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 15px;
}
.uploader.dragover {
    border-color: #4285F4;
}

/* STATI ACCORDI */
.ac-status-red,
.ac-status-2 input,
.ac-status-2 select,
.ac-status-2:before {
    color: #d23f31;
}
.ac-status-green,
.ac-status-3 input,
.ac-status-3 select,
.ac-status-3:before {
    color: #1ea362;
}
.ac-status-orange,
.ac-status-1 input,
.ac-status-1 select,
.ac-status-1:before{
    color: #f07a19;
}
.ac-status-gray,
.ac-status-0 input,
.ac-status-0 select,
.ac-status-0:before,
.ac-status-4 input,
.ac-status-4 select,
.ac-status-4:before,
.ac-status-5 input,
.ac-status-5 select,
.ac-status-5:before {
    color: #888888;
}

.ac-status-0 input, .ac-status-1 input, .ac-status-2 input, .ac-status-3 input, .ac-status-4 input, .ac-status-5 input {
    padding-left: 25px;
}
.ac-status-0:before, .ac-status-1:before, .ac-status-2:before, .ac-status-3:before, .ac-status-4:before, .ac-status-5:before {
    font-family: FontAwesome;
    top: 34px;
    position: absolute;
    left: 20px;
}
.ac-status-0-with-symbol:before {
    content: "\f016";
}
.ac-status-1-with-symbol:before {
    content: "\f04c";
}
.ac-status-2-with-symbol:before {
    content: "\f00d";
}
.ac-status-3-with-symbol:before {
    content: "\f00c";
}
.ac-status-4-with-symbol:before {
    content: "\f023";
}
.ac-status-5-with-symbol:before {
    content: "\f014";
}

/* OVERLAY */
.overlay-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}
.overlay-progress .message-box {
    background-color: #FFF;
    box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
    padding: 15px;
}

/* CERTIFICAZIONE */
.certificazione .file {
    background: #F2F2F2;
    padding: 20px 15px;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.certificazione .file .fa {
    margin-right: 10px;
}
.certificazione .file.exists {
    cursor: pointer;
}
.certificazione .file.exists:hover {
    color: #4285f4;
}
.certificazione .file.not-exists {
    opacity: 0.6;
    padding: 11px 15px;
}

/* ADMIN */
.scrollable {
    overflow: auto;
}
.admin-bar h4 {
    font-size: 16px;
}
.admin-bar .header-btn h4 {
    float: right;
    margin: 0;
}
.admin-bar .header-btn.selected {
    color: #4285F4;
}
.list .list-element {
    background-color: #FFFFFF;
}
.list .list-element-head {
    padding: 10px 10px;
    line-height: 24px;
    border-bottom: 1px solid #eee;
    transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}
.list .list-element-body {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}
.list .list-element-head:hover {
    background: #ebebeb;
}
.list-element-head.selected {
    font-weight: bold;
}
.list .list-element-head:hover .shortcut {
    opacity: 1;
}
.list .list-element-head .shortcut {
    padding: 0px 10px;
    line-height: 24px;
    opacity: 0.4;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.list .list-element-body .btn-primary {
    width: auto;
    padding-left: 30px;
    padding-right: 30px;
}
.list.list-tables {
    min-width: 240px;
    max-width: 240px;
    border-right: 1px solid #D9D9D9;
}

.table-detail {
    background-color: #e6e6e6;
    padding: 15px;
}
.table-detail .list {
    border-bottom: 1px solid #D9D9D9;
}

/* CHECKBOX */
.rts-checkbox {
	width: 120px;
	height: 40px;
	background: #f2f2f2;
	border-radius: 50px;
	position: relative;
}
.rts-checkbox:before {
	content: 'Si';
	position: absolute;
	top: 10px;
	left: 13px;
	height: 2px;
	color: #4285f4;
	font-size: 16px;
}
.rts-checkbox:after {
	content: 'No';
	position: absolute;
	top: 10px;
	left: 84px;
	height: 2px;
	color: #111;
	font-size: 16px;
}
.rts-checkbox label {
	display: block;
	width: 52px;
	height: 22px;
	border-radius: 50px;

	transition: all .5s ease;
	cursor: pointer;
	position: absolute;
	top: 9px;
	z-index: 1;
	left: 12px;
	background: #c1c1c1;
}
.rts-checkbox input[type=checkbox]:checked + label {
	left: 60px;
	background: #4285f4;
}
.rts-checkbox input[type=checkbox] {
    visibility: hidden;
}

/* STAMPE */
.form {
    background-color: #FFFFFF;
    padding-top: 10px;
    padding-bottom: 10px;
}
.form .btn-primary {
    width: auto;
}

/* YES/NO HIE */
.grid-icon.grid-icon-hie-yes:before {
    font-family: FontAwesome;
    color: #4285F4 !important;
    content: '\f00c';
}
.grid-icon.grid-icon-hie-no:before {
    font-family: FontAwesome;
    color: #bbb !important;
    content: '\f00d';
}
.grid-icon.grid-icon-hie-no:hover::before {
    content: '\f00c' !important;
}

.fontawesome-font{
  font-family: FontAwesome, Arial;
}

.help-text{
    opacity: 0.7;
    font-weight: 100;
}

/*******************************************************************

    SPOSTIAMO LE COSE DELLA LIBRERIA CHE E' BELLO!

*******************************************************************/
.angularjs-toast ul.toast-container {
    top: initial;
    bottom: -100vh !important;
}

.alert-success{
    background-color: #7fc763 !important;
}
.alert-error{
    background-color: #f55b5b !important;
}
.alert-warning{
    background-color: #ffd12b !important;
}
.alert-info {
    background-color: #4285f4 !important;
}
