@font-face {
  	font-family: GillSans; 
	src: url("../fonts/GillSans.ttf"),
  		 url("../fonts/GillSans.otf");
}
@font-face {
  	font-family: GillSans; 
	font-weight: bold; 
   	src: url("../fonts/GillSansBold.ttf"),
  		 url("../fonts/GillSansBold.otf");
}

/* COMMON */
html {
  font-size: 16px;
  color: #555;
}
body {
  font-family: GillSans;
  font-size: 0.8rem;
  color: #555;
}
.container-fluid {
  padding: 0;
  height: auto !important;
  min-height: 100%;
}
.row {
  margin-right: 0;
  margin-left: 0;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
h1 {
  font-size: 1.4rem;
  margin-bottom: 1.8rem;
}
h4 {
  line-height: 30px;
}
a,
a:hover {
  color: inherit;
  text-decoration: none;
}
.hideCustom,
.catflow-layout.catflow-preview .hideCustom {
  display: none;
}
.catflow-layout .hideCustom {
  display: block;
}
.radio label,
.checkbox label {
  line-height: 21px;
}
.btn,
.btn:hover,
.btn:focus {
  font-size: 0.9rem;
  color: #ffffff;
  background-color: #3b95d1;
  padding: 0.4rem 0.8rem;
  /* font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border: none;
    outline: none;*/
}
.danger.btn,
.danger.btn:hover,
.danger.btn:focus {
  background-color: rgb(158, 11, 15);
}
.danger.btn:active:focus {
  background-color: rgba(158, 11, 15, 0.8);
}
.btn:active:focus {
  color: #ffffff;
  background-color: #3276b1;
  transform: scale(1.05);
  border: 0;
  /*outline: none;*/
}
button.btn.btn-default.cancel {
  background-color: #fff;
  border: solid 0.05rem #cfcfcf;
  color: #333;
}
.form-control {
  height: 2.7rem;
  font-size: 1rem;
  border: solid 0.05rem #cfcfcf;
  margin-bottom: 1rem;
}
.form-control:focus {
  border-color: rgba(59, 149, 209, 0.5);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(59, 149, 209, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(59, 149, 209, 0.6);
}
.pointer {
  cursor: pointer;
}
.link {
  cursor: pointer;
  color: #3b95d1;
}
.spinner {
  position: fixed;
  z-index: 2000;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(2, 51, 115, 0.2);
  display: flex;
  align-items: center;
  backdrop-filter: blur(5px);
}
.spinner > div {
  margin: auto;
}
.spinner > div > div {
  /*background-image: url(../img/users/spinner.svg);*/
  background-size: 100%;
  background-repeat: no-repeat;
  width: 6rem;
  height: 6rem;
  margin: auto;
}
.containerBox {
  max-width: 30rem;
  padding: 1.5rem;
  border: solid 0.05rem #cfcfcf;
  margin-left: auto;
  margin-right: auto;
}
.customAlert p {
  display: none;
  font-weight: bold;
  border-style: solid;
  font-size: 0.8rem;
  border-width: 1px;
  padding: 10px;
  margin: 15px 0 25px;
}
.customAlert p.error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
.customAlert p.success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.customAlert p.info {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}
.description {
  font-size: 1rem;
}

/* HEADER */
.header {
  padding-bottom: 1rem;
}
.header .top > .catflow-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-align-items: flex-end;
  align-items: flex-end;
  padding: 1rem 1.5rem;
  -webkit-box-shadow: 0px 5px 15px -15px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 5px 15px -15px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 5px 15px -15px rgba(0, 0, 0, 0.75);
  color: #3b95d1;
  font-size: 14px;
}
.header .top > .catflow-container > .catflow-element {
  /*
  -ms-flex: 1;
  flex: 1;
  */
  margin-left: 1rem;
}
.header .top .logo {
  width: 15rem;
  margin-left: 0 !important;
}
.header .top .container_right > .catflow-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-justify-content: flex-end;
  justify-content: flex-end;
}
.header .top .container_right > .catflow-container > .catflow-element {
  padding: 0.2rem 0 0.2rem 0;
}
div.container_right > * > div.catflow-container {
  padding-bottom: 0px !important;
  padding-top: 15px !important;
  padding-right: 15px !important;
  height: auto !important;
}
.catflow-layout.catflow-preview .header .userAdministrationButton,
.header .userAdministrationButton {
  display: none;
}
.catflow-layout .header .userAdministrationButton {
  display: block;
}
.header .userAdministrationButton,
.header .pipe {
  border-right: solid 1px;
  margin-right: 1rem;
  padding-right: 1rem;
}
.header .top .container_nameUser_logout > .catflow-container {
  display: flex;
  flex-direction: row;
}
.header .logged_user p {
  font-weight: bold;
}
.header .logged_user p:after {
  content: "\00a0\00a0|\00a0\00a0";
}

/* MAIN */
.main {
  padding: 0 1.5rem;
  margin-bottom: 7rem; /* footer space */
}
.container_checkbox_select_instance label,
.container_checkbox_select_all_instance label {
  cursor: default;
}
.annotations-view-textarea[readonly] {
  background-color: #ffffff;
}

.sfondobg {
  height: 100vh;
  background-image: url(../img/ADP-bg.png);
  background-position: center top;
  background-repeat: no-repeat;
}
/* DATATABLE */
.data-table table.dataTable {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}
.data-table .form-control {
  font-size: inherit;
  height: 1.8rem;
  margin-bottom: 0;
}
.data-table .row > div {
  padding: 0;
}
.data-table .row.length_filter {
  background-color: #eee;
  padding: 1rem;
  border: solid 1px #ccc;
  border-bottom: none;
}
.data-table label {
  margin-bottom: 0;
}
.data-table .advanced_search_btn a {
  color: #023373;
}
.data-table .table-bordered > thead > tr > th {
  border-bottom: none;
}

/* Usati per nascondere prima colonna del datyaTable alttimenti il check non funziona */
.hide-1st-col td:first-child  {
 	display: none;
}
.hide-1st-col th:first-child  {
 	display: none;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #007be4;
  border-color: #007be4;
}
.pagination > li > a,
.pagination > li > span {
  color: #023373;
}

/* FOOTER */
.footer {
  background-color: #f1f1f1;
  padding: 1.5rem 1.5rem;
  /*margin-top: 3rem;*/
  bottom: 0;
  position: absolute;
  width: 100%;
  min-height: 4rem;
}

/* MOBILE */
@media only screen and (max-width: 767px) {
  /* COMMON */
  body {
    font-size: 1rem;
  }
  h1,
  p {
    text-align: center;
  }
  .containerBox {
    padding: 0;
    border: none;
  }

  /* HEADER */
  .header .top > .catflow-container {
    flex-direction: column;
    align-items: center;
  }
  .header .top .container_right > .catflow-container {
    flex-direction: column;
    margin-top: 2rem;
  }
  .header .userAdministrationButton,
  .header .pipe {
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 1rem;
    border-right: none;
  }
  .header .nav {
    text-align: center;
  }

  /* DATATABLE */
  .data-table .dataTables_filter {
    margin-top: 0.8rem;
  }
  .data-table .advanced_search_btn {
    margin-top: 0.8rem;
  }
  .data-table .dataTables_info {
    margin-bottom: 0.5rem;
  }

  .dtr-control {
  	display: none; 
  }
  
  /* FOOTER */
  .footer {
    text-align: center;
  }
}

/* -- NEW -- */

div.container_download > div.catflow-container {
  display: flex;
  align-items: center;
  flex-direction: row;
}

#uploadbutton {
  display: none;
}

div.uploadcontainer > div.catflow-container > label,
div.uploadcontainer > div.catflow-container > label:hover,
div.uploadcontainer > div.catflow-container > label:focus,
div.uploadcontainer > div.catflow-container > label:active {
  background-image: url(../img/upload.png);
  background-color: transparent !important;
  background-repeat: no-repeat;
  background-position: center;
  width: 26px;
  height: 18px !important;
  margin-top: -2.5px;
  box-shadow: none !important;
}

.customCheckbox span.checkmark {
  position: absolute;
  top: 0.1em;
  left: 0;
  height: 1.2em;
  width: 1.2em;
  background: #ffffff;
  border: 1px solid #6a6d72;
  margin-left: 5px;
  margin-top: 2px;
}

.customCheckbox span.checkmark2 {
  position: absolute;
  top: 0.1em;
  left: 0;
  height: 1.2em;
  width: 1.2em;
  background: #ffffff;
  border: 1px solid #6a6d72;
  /*margin-left: 5px;*/
  margin-top: 2px;
}

.customCheckbox input[type="checkbox"] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.customCheckbox input[type="checkbox"]:checked ~ span.checkmark:after,
.customCheckbox input[type="checkbox"]:checked ~ span.checkmark2:after {
  display: block;
}

.customCheckbox span.checkmark:after,
.customCheckbox span.checkmark2:after {
  content: "";
  position: absolute;
  left: 0.35em;
  top: 0;
  width: 0.35em;
  height: 0.8em;
  border: solid #00a76d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: unset;
  display: none;
}

/*
@media screen and (max-width: 1367px) {
  div.dataTables_scrollBody {
    max-height: 27vh !important;
    height: 27vh !important;
  }
}
*/

/* new spinner */

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #023373;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

.datatable_full_height .row.datatable {
  height: calc(100vh - 25.5rem);
}

.datatable_full_height .row.length_filter {
  height: 4rem;
}

.datatable_full_height .row.info_paging {
  height: 2.5rem;
  padding-top: 0.2rem;
}

.datatable_full_height .dataTables_scroll {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.datatable_full_height .dataTables_scrollHead {
  flex: 0 0 auto;
}
.datatable_full_height .dataTables_scrollBody {
  flex: 1 1 auto;
}

div.shadow {
  /*
  box-shadow: 5px 0px 10px -5px rgba(2, 51, 115, 0.75);
  -webkit-box-shadow: 5px 0px 10px -5px rgba(2, 51, 115, 0.75);
  -moz-box-shadow: 5px 0px 10px -5px rgba(2, 51, 115, 0.75);
  border-radius: 1rem;
  */
  padding: 1rem;
  margin-bottom: 1rem;
}

div.modal {
  background-color: rgba(1, 51, 115, 0.2) !important;
  backdrop-filter: blur(5px) !important;
}

.hideC {
  display: none !important;
}

label.catflow-fileinput {
  background-color: rgb(2, 51, 115);
}

table.data-table > thead > tr > th,
table.data-table > tbody > tr > th,
table.data-table > tfoot > tr > th,
table.data-table > thead > tr > td,
table.data-table > tbody > tr > td,
table.data-table > tfoot > tr > td {
  /*
  border: none !important;
  */
  border: 1px solid #ccc !important;
}

table.data-table > thead {
  background-color: #ddd;
  color: #4A7BA8;
}

.table-bordered {
  border: none !important;
}

/* new css for pdf iframe */

div.container-view {
  height: 100%;
  width: 100%;
}

div.container-iframe-handler {
  height: 1.5rem;
  padding: 0.5rem;
}

div.container-iframe-handler > div.catflow-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

div.iframe-space > div.catflow-container > iframe {
  width: 100%;
  padding: 1rem;
  height: 100%;
}

div.iframe-space {
  height: calc(100% - 1.5rem);
}

.iframeFlex {
  display: flex;
  flex-direction: row;
}
.table_flex {
  width: 60% !important;
}

.iframe_css {
  width: 40%;
  border-radius: 1rem;
  box-shadow: 3px 3px 8px -3px rgb(2 51 115 / 75%);
  -webkit-box-shadow: 3px 3px 8px -3px rgb(2 51 115 / 75%);
  -moz-box-shadow: 3px 3px 8px -3px rgb(2 51 115 / 75%);
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.hideCustom {
  display: none !important;
}

/* dropdown menu */
.drop-menu {
  background-color: #3b95d1;
  text-align: center;
  color: #ffffff;
  position:absolute;
  margin-top: 2px;
  z-index: 999;
}

.menu-lingua-pos {
  margin: 0px 0px 0px calc(100vw - 490px);
}
.menu-lingua-pos-en {
  margin: 0px 0px 0px calc(100vw - 510px);
}
.menu-lingua-pos-de {
  margin: 0px 0px 0px calc(100vw - 530px);
}

.menu-item {
  font-weight: bold;
}

.drop-menu-item {
  padding-top: 5px;
  padding-bottom: 5px;
}

.drop-menu-item:hover {
	background-color: #007be4;
}

.arrow-up {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid black;
  float: right;
  margin-top: -12px;
  margin-right: -12px;
}

.arrow-down {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top:5px solid black;
  float: right;
  margin-top: -12px;
  margin-right: -12px;
}