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

CCS GENERALE

**************************/
a{
  text-decoration: none;
}
body{
  /*#444444*/
  color: black;
  background-color: #d6d6d6;
  font-family: "Saira Condensed";
}
.bg-custom-header-modal{
  background-color: black;
}
#page-container{
  padding-top: 30px;
}
.active{
  background-color: white;
}
.active a{
  color: black!important;
}
.min-height{
  min-height: 300px;
}
.text-justify{
  text-align:justify;
}
.bg-green{
  background: #198754;
}
.bg-red{
  background: #cb2837;
}
@media screen and (max-width: 991px) {
  .my-margin-responsive{
    margin-top: 30px;
  }
  .my-text-center{
    text-align: center;
  }
}
.container-tessuto{
  background: #c6c6c6;
  padding: 20px;
}
.custom-shadow{
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

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

CCS I BOTTONI

**************************/
.btn-custom{
  border: none;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.btn-custom:hover{
  box-shadow: 0px 0px 23px 0px rgba(0, 0, 0, 0.34);
}

.btn-large{
  padding: 16px 30px;
}
.btn-small{
  padding: 12px 20px;
}

.btn-custom-outline{
  font-size: 14px;
  background-color: #FFFFFF00;
  border-width: 1px 1px 1px 1px;
  text-transform: uppercase;
}

.btn-outline-color-green{
  background:#d6d6d6;
  border: 1px solid #198754;
  color: #198754;
}
.btn-outline-color-green:hover{
  border: 1px solid #157347;
  background: #157347!important;
  color: white!important;
}

.btn-outline-color-red{
  background:#d6d6d6;
  border: 1px solid #cb2837;
  color: #cb2837;
}
.btn-outline-color-red:hover{
  border: 1px solid #cb2837;
  background: #cb2837!important;
  color: white!important;
}

.btn-outline-color-blu{
  background:#d6d6d6;
  border: 1px solid #1559bd;
  color: #1559bd;
}
.btn-outline-color-blu:hover{
  border: 1px solid #1559bd;
  background: #1559bd!important;
  color: white!important;
}
.btn-outline-color-dark{
  background:#d6d6d6;
  border: 1px solid black;
  color: black;
}
.btn-outline-color-dark:hover{
  border: 1px solid black;
  background: black!important;
  color: white!important;
}
.btn-color-dark{
  background: black;
  border: 1px solid black;
  color: white;
}

.page-link-custom{
  background: black!important;
  color: white;
}
.page-link-custom:hover{
  background: white!important;
  color: black!important;
  border: 1px solid black;
}
.page-link-custom.disabled, .page-link-custom:disabled{
  color: white;
  background-color: #4c5b66!important;
}
button:focus{
  outline: 0!important;
  box-shadow: none!important;
}
.page-item:focus{
  outline: 0!important;
  box-shadow: none!important;
}
/*************************

CCS PER LE FORM

**************************/
.form-label label{
  text-transform: uppercase;
  font-weight: 700;
  color: #636363;
  font-size: 14px;
}
label{
  font-weight: 700;
  font-size: 16px;
}
.form-select:focus {
  border-color: black;
  outline: 0;
  box-shadow: none;
}
.form-control:focus {
  outline: 0;
  box-shadow: none;
  border-color: black;
}


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

CCS I MODAL

**************************/
.modal {
  top: 70px;
}
.btn-close-custom {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: .25em .25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: .25rem;
  opacity: .5;
}

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

CCS IL LOADER

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

.ajax-loader{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 30px;
  color: #354048;
  z-index: 20;
}

.loader-active #container-card-items{
  opacity: 0.5;
}
#loader-items{
  position: absolute;
  height: 100%;
  width: 100%;
}
/*************************

CCS PER LE TABELLE

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

table th, .table td {
  padding: 0.75rem;
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
}


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

CCS PER ALERT CUSTOM

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

.alert {
  border-radius: 0;
  -webkit-border-radius: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.11);
  display: table;
  width: 100%;
}

.alert-white {
  background-image: linear-gradient(to bottom, #fff, #f9f9f9);
  border-top-color: #d8d8d8;
  border-bottom-color: #bdbdbd;
  border-left-color: #cacaca;
  border-right-color: #cacaca;
  color: #404040;
  padding-left: 61px;
  position: relative;
}

.alert-white.rounded {
  border-radius: 3px;
  -webkit-border-radius: 3px;
}

.alert-white.rounded .icon {
  border-radius: 3px 0 0 3px;
  -webkit-border-radius: 3px 0 0 3px;
}

.alert-white .icon {
  text-align: center;
  width: 45px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #bdbdbd;
  padding-top: 15px;
}


.alert-white .icon:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  border: 1px solid #bdbdbd;
  position: absolute;
  border-left: 0;
  border-bottom: 0;
  top: 50%;
  right: -6px;
  margin-top: -3px;
  background: #fff;
}

.alert-white .icon i {
  font-size: 20px;
  color: #fff;
  left: 12px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
}

/*============ colors ========*/
.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-white.alert-success .icon,
.alert-white.alert-success .icon:after {
  border-color: #54a754;
  background: #60c060;
}

.alert-info {
  background-color: #d9edf7;
  border-color: #98cce6;
  color: #3a87ad;
}

.alert-white.alert-info .icon,
.alert-white.alert-info .icon:after {
  border-color: #3a8ace;
  background: #4d90fd;
}


.alert-white.alert-warning .icon,
.alert-white.alert-warning .icon:after {
  border-color: #d68000;
  background: #fc9700;
}

.alert-warning {
  background-color: #fcf8e3;
  border-color: #f1daab;
  color: #c09853;
}

.alert-danger {
  background-color: #f2dede;
  border-color: #e0b1b8;
  color: #b94a48;
}

.alert-white.alert-danger .icon,
.alert-white.alert-danger .icon:after {
  border-color: #ca452e;
  background: #da4932;
}


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

CCS PER MESSAGGI DI INFORMAZIONE

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

.blink_me_alert{
  animation: blink_me_alert 2s linear infinite;
}
@keyframes blink_me_alert {
  50% {
    opacity: 0;
  }
}

.box-message {
  background-color: white;
  width: calc(100% - 30px);
  padding: 1em 1em 1em 1.5em;
  border-left-width: 6px;
  border-left-style: solid;
  border-radius: 3px;
  position: relative;
  line-height: 1.5;
  text-align: center;
}

.box-message:before{
  color: white;
  width:  1.5em;
  height: 1.5em;
  position: absolute;
  top: 1em;
  left: -3px;
  border-radius: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

.message--error {
  border-left-color: #842029;
  background: #f8d7da;
}
.message--error:before{
  font-family: "Font Awesome 5 Free";
  background-color: #842029;
  content: "\f714";
}

.message--warning {
  border-left-color: #664d03;
  background: #C6986A;
}
.message--warning:before{
  font-family: "Font Awesome 5 Free";
  background-color: #664d03;
  content: "\f12a";
}

.message--success {
  border-left-color: #0f5132;
  background: #d1e7dd;
}
.message--success:before{
  font-family: "Font Awesome 5 Free";
  background-color: #0f5132;
  content: "\f00c";
}

.message--info {
  border-left-color: #055160;
  background: #cff4fc;
}
.message--info:before{
  background-color: #055160;
  font-family: "Font Awesome 5 Free";
  content: "\f129";
}




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

CCS PER BOTTONE DELETE DELLE IMMAGINI

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


.image-area {
  position: relative;
}

.remove-image {
  display: block;
  position: absolute;
  top: -10px;
  right: -10px;
  border-radius: 10em;
  padding: 2px 6px 3px;
  text-decoration: none;
  font: 700 21px/20px sans-serif;
  background: #555;
  border: 3px solid #fff;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 2px 4px rgba(0,0,0,0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  -webkit-transition: background 0.5s;
  transition: background 0.5s;
}
.remove-image:hover {
  background: #E54E4E;
  padding: 3px 7px 5px;
  top: -11px;
  right: -11px;
}
.remove-image:active {
  background: #E54E4E;
  top: -10px;
  right: -11px;
}


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

CCS PER WIZARD

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

#step-wizard{
  position: relative;
  margin: 0px 5px;
}
.step-wizard__step__divider{
  width: 86px;
  height: 2px;
  background-color: #f1f1f1;
  position: relative;
  top: -60px;
  left: 88px;
}
.step-wizard__step__divider2{
  width: 79px;
  height: 2px;
  background-color: #f1f1f1;
  position: relative;
  top: -60px;
  left: 78px;
}
@media screen and (max-width: 479px) {
  .step-wizard__step__divider{
    display: none;
  }
  .step-wizard__step__divider2{
    display: none;
  }
  .step-wizard__step {
    display: block!important;
  }
}
.step-wizard__step.step-wizard__step--active {
  color: black;
}
.step-wizard__step {
  display: inline-block;
  text-align: center;
  margin: 20px;
  color: #a8a6a6;
}
.step-wizard__step__index {
  width: 50px;
  height: 50px;
  background-color: #f1f1f1;
  border-radius: 50%;
  font-size: 20px;
  line-height: 50px;
  margin: 10px auto;
  opacity: 0.6;
}
.step-wizard__step.step-wizard__step--active .step-wizard__step__index {
  background-color: black;
  color: #fff;
  opacity: 1;
}
