body{font-size: 1.3rem!important;    
     font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.disabled a,
a.disabled {
    pointer-events: none;
}

a:hover {
    color: #15848F;
}

a {
    color: #1798A5;
}

.side-nav li a:not(.button) {
    color: #15848F;
}

.side-nav li a:not(.button):hover {
    color: #15848F;
}

h1,h2,h3,h4{font-family: 'Vesper Libre',serif;}
.h1, h1 {
    font-size: 3.8rem!important;
}
.h2, h2 {
    font-size: 2.5rem!important;
}
.h3, h3 {
    font-size: 2rem!important;
}
header {
    background-color: #fff;
    color: #3a3a3a;
    padding: 10px 0px;
    box-shadow: 0px 1px rgba(0, 0, 0, 0.24);
}
header h2{line-height: 85px;}
header .header-title {
    padding-left:80px
}

legend {
    color:#15848F;
}



.actions.columns {
    margin-top:1rem;
    border-left: 5px solid #15848F;
    padding-left: 15px;
    padding: 32px 20px;
}

.actions.columns h3 {
    color:#15848F;
}

.related table {
    border: 0;
    width: 100%;
    table-layout: fixed;
}

.index table thead {
    height: 3.5rem;
}

.header-help {
    float: right;
    margin-right:2rem;
    margin-top: -80px;
    font-size:16px;
}

.header-help span {
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    padding: 0.25rem 0.5rem 0.375rem;
    font-size: 0.8rem;
    background-color: #0097a7;
    color: #FFF;
    border-radius: 1000px;
}

.header-help a {
    color: #fff;
}

ul.pagination li a {
    color: rgba(0, 0 ,0 , 0.54);
}

ul.pagination li.active a {
    background-color: #DCE47E;
    color: #FFF;
    font-weight: bold;
    cursor: default;
}
ul.pagination .disabled:hover a {
    background: none;
}

.paginator {
    text-align: center;
}

.paginator ul.pagination li {
    float: none;
    display: inline-block;
}

.paginator p {
    text-align: right;
    color: rgba(0, 0 ,0 , 0.54);
}

.desc:after {
    content: " \2193";
}
.asc:after {
    content: " \2191";
}

.form .error-message {
    display: block;
    padding: 0.375rem 0.5625rem 0.5625rem;
    margin-top: -1px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: normal;
    font-style: italic;
    color: rgba(0, 0, 0, 0.54);
}

.required > label {
    font-weight: bold;
}
.required > label:after {
    content: ' *';
    color: #C3232D;
}

select[multiple] {
    min-height:220px;
    background: none;
}
input[type=checkbox],
input[type=radio] {
    margin-right: 0.5em;
}

.date select,
.time select,
.datetime select {
    display: inline;
    width: auto;
    margin-right: 10px;
}

.error label,
.error label.error {
    color: #C3232D;
}

.view h2 {
    color: #6F6F6F;
}

.view .columns.strings {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
}

.view .numbers {
    background-color: #B7E3EC;
    color: #FFF;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right: 0.7rem;
}

.view .columns.dates {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
    background-color:#DCE47E;
    color: #fff;
}

.view .columns.booleans {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
    background-color: #8D6E65;
    color: #fff;
}

.view .strings p {
    border-bottom: 1px solid #eee;
}
.view .numbers .subheader, .view .dates .subheader {
    color:#747474;
}
.view .booleans .subheader {
    color: #E9E9E9
}

.view .texts .columns {
    margin-top:1.2rem;
    border-bottom: 1px solid #eee;
}

/** Notices and Errors **/
.cake-error,
.cake-debug,
.notice,
p.error,
p.notice {
    display: block;
    clear: both;
    background-repeat: repeat-x;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
}

.cake-debug,
.notice,
p.notice {
    color: #000000;
    background: #ffcc00;
}

.cake-error,
p.error {
    color: #fff;
    background: #C3232D;
}

pre {
    background: none repeat scroll 0% 0% #FFF;
  /*  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);*/
    margin: 15px 0px;
    color: rgba(0, 0 ,0 , 0.74);
    padding:5px;
}

.cake-error .cake-stack-trace {
    margin-top:10px;
}

.cake-stack-trace code {
    background: inherit;
    border:0;
}

.cake-code-dump .code-highlight {
    display: block;
    background-color: #FFC600;
}

.cake-error a,
.cake-error a:hover {
    color:#fff;
    text-decoration: underline;
}

.checks {
    padding:30px;
    color: #626262;
    background-color: #B7E3EC;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-bottom: 2em;
}

.checks h4 {
    margin-bottom: 1.5rem;
}

.checks hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.checks .success,
.checks .problem {
    margin-left: 10px;
}
.checks .success:before,
.checks .problem:before {
    line-height: 0px;
    font-size: 28px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
}

.checks .success:before {
    content: "✓";
    color: green;
    margin-right: 9px;
}

.checks .problem:before {
    content: "✘";
    color: red;
    margin-right: 9px;
}

.top-bar.expanded .title-area {
    background: #01545b;
}

.top-bar.expanded, .top-bar,.top-bar-section ul li,.top-bar-section li:not(.has-form) a:not(.button) {
    background: #e57b0d;
}

.top-bar-section li:not(.has-form) a:not(.button):hover {
    background-color: #308e97;
    background: #308e97;
}

.side-nav li.heading {
    color: #1798A5;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.4375rem 0.875rem;
}

#actions-sidebar {
    background: #fafafa;
}

.index table {
    margin-top: 0rem;
    border: 0;
    width: 100%;
    table-layout: fixed;
}
fieldset {
    border: none;
    padding: 1.25rem;
    margin: 1.125rem 0;
}

fieldset legend {
    border-bottom: 2px solid #1798A5;
    width: 100%;
    line-height: 2rem;
}


button {
    background:#f5620c;
    color:#fff;
}

div.message {
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    background-color: #a0d3e8;
    color: #626262;
    top: 15px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    height: 50px;
    line-height: 2.5em;
}
div.message.error {
    color: #C3232D;
    font-weight: bold;
    background-color: transparent;
}
div.message.hidden {
    height: 0;
}


.vertical-table th {
    padding: 0.5625rem 0.625rem;
    font-size: 0.875rem;
    color: #1798A5;
    border: none;
    text-align: left;
}

.vertical-table {
    vertical-align: middle;
}

.vertical-table td {
    text-align: right;
}

.content {
    padding: 2rem;
}

/* Use 'one true layout' methods to get equal height columns */
.container {
    overflow: hidden;
    min-height: 75px;
 
    
}

/* Force equal height by overflowing */
.content,
#actions-sidebar {
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}
@media(max-width: 640px) {
    #actions-sidebar {
        padding-bottom: 2rem;
        margin-bottom: 0;
    }
}

.content h3 {
    color: #be140b;
    padding-bottom: 0.5rem;
    margin-bottom: 20px;
}

.content h4 {
    color: #be140b;
    padding-bottom: 0.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #be140b;
}

.content .related h4 {
    color: #4d8f97;
    padding-bottom: 0.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 0px;
}

table td {
    vertical-align: top;
    word-break: break-all;
}

.main {
    padding-top: 100px;
    clear: both;
}

.notaattiva{opacity: 1!important;}

.accordion>.card .card-header{background-color: #feb24252;margin-bottom: 0px;}
.card-body{
    padding: 0.6rem 1rem;
    border-bottom:1px solid rgba(0,0,0,.125);
}
.card-body .text-red{
    color:red;
    
}
    .screen-reader-text {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .search-form {
        width: 20%;
        float: left;
        padding-right: 20px;
        margin-top: 15px;
    }
    .search-term {
        width: 100%;
        margin: 0 0 5px 0;
    }
    .search-terms {
        display: table;
        margin: 0 0 10px 0;
    }
    .search-filters {
        overflow: hidden;
        margin: 0 0 10px 0;
        background: #eee;
        padding: 5px;
       
    }
    .search-filters-title {
        font-weight: 700;
        font-size: 1.2em;
        margin: 0 0 10px 0;
    }
    .filter-group {
        margin: 0 0 5px 0;
        clear:both;
    }
    .cloned-filters {
        display: none; 
    }
    .search-results {
        width: 80%;
        float: right;
        padding-bottom: 100px; /* just scrolling space */
    }


    .form-check-label{margin-left:4px;}
    /*@media (max-width: 1000px) {
        body {
            width: 90%;
        }
    }*/
  .has-feedback .form-control-feedback{
        position: absolute;
        top: 15px;
    }
    .search-results table th{text-align: center;}
  
    @media (max-width: 1024px) {
        body,
        .search-form,
        .search-results {
            width: 100%;
        }
        .search-form {
            padding: 0;
        }
        .search-terms {
            display: table;
            width: 100%;
            margin: 0;
        }
        .search-terms > div {
            display: table-row; 
        }
        .search-terms > div > span {
            display: table-cell;
        }
        .search-term-wrap {
            padding-right: 10px;
        }
        .search-button {
            width: 100%;
        }
        .search-filters-title {
            color: #ff5000;
            margin: 0;
        }
        .search-filters.pinned {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.2);
        }
    }
    
    
    @media (min-width: 1440px){
        .container {
            max-width: 1340px;
        }
    }
    @media (min-width: 1600px){
        .container {
            max-width: 1440px;
        }
    }
    
    .table-striped>tbody>tr.riganota:nth-child(even)>td{
        background-color: #f9f9f9;
    }
    .table-striped>tbody>tr.riganota:nth-child(odd)>td{
        background-color: #ffffff;
    }
    tr.riganota>td{border-top: 1px solid #fff!important;}
    tr.riganota>td div.card-body {
        padding: 0.3rem;
        border:none;
        background-color: #fefeac!important;
    }
    
    tr.inevidenza{background-color: #ff7919!important; }
    tr.inevidenza>td{background-color: transparent!important; }
    
    .checkbox{padding-left:0px!important;font-size: 0.7em;margin:3px 0;}
    .checkbox label{display: inline-block!important;    border: none!important;font-weight: 400}
    .checkbox input[type=checkbox]{margin-top:-3px;box-shadow: none;margin-left:0px!important;width:16px!important; }
    #sidebar select>option{font-size:0.9em;}
        #tbl td{word-break: break-word;}
    .testatabolla tbody tr:nth-of-type(odd) {
    background-color: rgb(254, 254, 172)!important;
}

tr.expired td{
    background-color:#ff3c5e!important;
    color:white;
}


tr.toexpire td{
    background-color:pink!important;
    
}


tr.green  td {
    background-color:#a6ffa5!important;
}

.legenda {
  float: left;
  width: 20px;
  height: 20px;
  margin: 5px;
  border: 1px solid rgba(0, 0, 0, .2);
}

.squareexpired {
  background: #ff3c5e;
}

.squarepink {
  background: pink;
}

.squareyellow{
    background: #fefeac;
}

.squaregreen{
    background: #a6ffa5;
}
.navbar-brand {
    float: left;
    padding: 0 25px 0 0;
    
}

@media (min-width: 1920px){
.container {
    max-width: 1760px!important;
}
}
@media (min-width: 1600px){
.container {
    max-width: 1480px!important;
}
}
/* Login page */
h1.login{font-size: 5rem;text-transform: capitalize;
    word-spacing: -0.2rem;
    line-height: 1.1;}
.login input[type="text"],.login input[type="password"]{
    min-height: 52px;
    font-size: 1.7rem;
    line-height: 20px;
    padding: 0 15px;
}
.login label{
    color: #241c15;
    font-weight: 500;
    display: block;
    max-width: 635px;
    padding-bottom: 2px;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
        font-size: 1.6rem;
    line-height: 18px;
    margin-bottom: .5rem;
}
.p1{
    font-weight: 500!important;
    color: #ffffff;
    background-color: #007c89;
    -ms-transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    font-size: 1.8rem!important;
    height: 52px!important;
    line-height: 52px!important;
    padding: 0 .75rem!important;

}
.p1:active, .p1.active {
    background-color: #004e56!important;
    transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
}

.p1:hover {
    cursor: pointer;
    color: #ffffff;
    background-color: #006570!important;
}
/* end login page*/

    #myTabContent{
    position: relative;
    top: 38px;
    left: -511px;
    margin-bottom:100px;
    }
    
    
    .nav{margin-bottom: 10px!important;    background-color: firebrick;}
    .nav a{color:white}
    .nav a:hover{color:black;background-color: firebrick;opacity: 0.7;}
    .nav-tabs .nav-link{border-bottom: 1px solid #ddd!important;
    display: inline;
    padding: 10px 16px;
    margin-left:0px;margin-right:0px;
    }
    .nav-tabs .nav-link.active{
        background-color: #fafaed!important;
        border-bottom: none!important;
    }
    .tab-content{
        background-color: #fafaed!important;
        margin-top: -10px;
    }
    
    .tab-content{min-height: 390px;border : 1px solid; border-color:transparent #dee2e6 #dee2e6 #dee2e6;}
    
    /*file upload*/
.files input {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 120px 0px 85px 35%;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}
.files input:focus{     outline: 2px dashed #92b0b3;  outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear; border:1px solid #92b0b3;
 }
.files{ position:relative}
.files:after {  pointer-events: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 50px;
    right: 0;
    height: 56px;
    content: "";
    background-image: url(https://image.flaticon.com/icons/png/128/109/109612.png);
    display: block;
    margin: 0 auto;
    background-size: 100%;
    background-repeat: no-repeat;
}
.color input{ background-color:#f1f1f1;}
.files:before {
    position: absolute;
    bottom: 10px;
    left: 0;  pointer-events: none;
    width: 100%;
    right: 0;
    height: 57px;
    content: " or drag it here. ";
    display: block;
    margin: 0 auto;
    color: #2ea591;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
}
/*end file upload*/
div.submit{float: left;
    padding-right: 10px;}
.modalmsg{
    font-weight: bold;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    color: #626262;
    z-index: 999;
    overflow: hidden;
    min-height: 50px;
    line-height: 2.5em;
}
.success{
    color: #318830!important;
}
.error{
    color: #dc3545!important;
}
.modal-header{
    background-color: #22adc3!important;
    color: #fff!important;
}
.modal-dialog-centered {
    min-height: 120px!important;
    
}
#pills-tabContent{border:none!important;background-color:transparent!important;margin-top:0px!important;}

.btn{
        text-transform: capitalize;
        font-weight: 700!important;
        letter-spacing: 0.05em;
    }
    
 .broker-table th{text-align: center;}   
 
 /*table th,table td{white-space: nowrap;}*/

 #mainmenu{float:right;}
 .maincontainer{clear:both;margin-top:30px;}
 #mainmenumobile{min-width:180px;float:right;width: 100%;}   
 #accountmenu{float:left;}
 .navbar-brand{margin-right:0.5rem!important;}
  @media (min-width: 576px){
    
      .modal-dialog {
        max-width: 570px!important;
        margin: 1.75rem auto;
    }
    .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: 4px;
    }
   
 }
 
@media (min-width: 768px){
 
    #mainmenu{float:left;}
    #mainmenumobile{float:left;}
     #accountmenu{float:right;}
     
    .container {
        max-width: 95%!important;
    }  
    .main {
        padding-top: 90px;
    }
    

 }
@media (min-width: 848px){
   .navbar-brand{margin-right:2.5rem!important;}
   .container {
        max-width: 95%!important;
    }
    .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: 6px;
    }

 }
 @media (min-width: 992px){
    .container {
        max-width: 95%!important;
    }
    .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: 8px;
    }
    .nav>li>a {
        padding: 8px 5px!important;
        font-size: 0.95em;
    }


   
 }
 @media (min-width: 1100px){
    .nav>li>a {
        font-size: 0.98em;
    }
 }

 @media (min-width: 1200px){
    .container {
        max-width: 95%!important;
    }
  
    .col-xl-3 {
        -ms-flex: 0 0 25%!important;
        flex: 0 0 25%!important;
        max-width: 25%!important;
    }
    .col-xl-9 {
        -ms-flex: 0 0 75%!important;
        flex: 0 0 75%!important;
        max-width: 75%!important;
    }  
    .nav>li>a {
        padding: 8px 12px!important;
        font-size: 1em;
    }
    
 }

  @media (min-width: 1320px){
    .container {
        max-width: 89%!important;
    }
    
 }
 

#menu.navbar-light {
  font-size: 16px;
}



  @media (min-width: 1440px){
    .container {
        max-width: 88%!important;
    }
    .main {
        padding-top: 90px;
    }
 }
 
select option:checked{
  background: #6faff5 -webkit-linear-gradient(bottom, #6faff5 0%, #6faff5 100%);
 color: #777 !important;
}
#accountmenu button{display:block!important;}
#accountmenu .dropdown-menu{
    border: 1px solid #ddd;
    border-radius: 0px;
    box-shadow: none;
    
}
.top10{
    top:-10px!important;
}
.red{color: red;}
footer {
    height: 60px;
    line-height: 95px;
    color: #fff;
    text-align: right;
    background: linear-gradient(180deg, transparent 45%, red 100%);
    padding-right: 10px;
}

header {
    position: relative;
    top: 145px;
    margin-bottom:145px;
}
.nav{display: block!important;font-size:1.4em;}

 #nav1{width : calc( 100% - 50px )}
#nav2{width : 50px;position:absolute;top:0px; right: 0px;line-height: 122px;}
@media (min-width: 640px){
  #nav1{width : calc( 100% - 50px )}
  #nav2{width : 50px;position:absolute;top:0px; right: 0px;line-height: 19.5px;}
  header {
      position: relative;
      top: 30px;
       margin-bottom:30px;
  }
  .nav{display: flex!important;font-size:1em;}
}