
.w3-row-padding img {margin-bottom: 12px}
/* Set the width of the sidebar to 120px */
.w3-sidebar {width: 130px;background: #222;}
/* Add a left margin to the "page content" that matches the width of the sidebar (120px) */
#main {margin-left: 120px}
/* Remove margins from "page content" on small screens */
@media only screen and (max-width: 600px) {#main {margin-left: 0}}

/* ===== DESKTOP - If the screen size is 601px or more, set the font-size of <div> to 80px */
@media only screen and (min-width: 601px) {
div.row {font-size: 20px; }
input {width:40%;}
}


/* = DESKTOP - End */ 

/* ===== MOBILE - If the screen size is 600px or less, set the font-size of <div> to 30px */
@media only screen and (max-width: 600px) { 
div.row {font-size: 16px;}
input {width:100%;}
.w3-button-top {display:none !important;}
}
/* = MOBILE - End */ 

* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

html {
  font-family: "Lucida Sans", sans-serif;
}

.header_index {
  background-color: #fff;
  color: #000;
  padding: 15px;
}


/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}
.container::after {
  content: "";
  clear: both;
  display: table;
}


* {box-sizing:border-box;}
.some-class {
  width:200px;
  padding:20px;
}
*, *:before, *:after {
  box-sizing: border-box;
}



img {
  /* border: 1px solid #ddd; */
  border-radius: 4px;
  padding: 5px;
  width: 200px;
  max-width: 100%;
  height: auto;
}
.img_header1 {display: block;
  margin-left: auto;
  margin-right: auto;
 }

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
} 

.form-error {
    color: red;
}
.form-success{
    color: green;
}
.input-error{
    box-shadow: 0 0 0 2px red;
}

form {text-align:center;}
.titolo { font-weight:500; text-align:center; font-size:2em;}


input, textarea {
  font-family:inherit;
  font-size: inherit;
}

 
 input[type=text] {
  margin:10px 0;  
  padding:10px;
  border:0;
  box-shadow:0 0 15px 4px rgba(0,0,0,0.06);
}
.border-customized-input {
   border: 2px solid #eee;
}

.border-removed-input {
  border: 0;
}

.rounded-input {
  padding:10px;
  border-radius:10px;
}

.button_index {
  /* remove default behavior */
  appearance:none;
  -webkit-appearance:none;

  /* usual styles */
  padding:10px;
  border:none;
  background-color:#6990ae;
  color:#fff;
  font-weight:600;
  border-radius:5px;
  width:16%; 
  margin-top:30px;
} 
 
.button {
  /* remove default behavior */
  appearance:none;
  -webkit-appearance:none;

  /* usual styles */
  padding:10px;
  border:none;
  background-color:#405766;
  color:#fff;
  font-weight:600;
  border-radius:5px;
  width:52%; 
}

.button_index:hover {
  background-color: #444;
}

.button:hover {
  background-color: #444;
}

label {
  display:block;
}
input:required + span:after {
  content: "Required";
}

#__lpform_username{display:none;}
#__lpform_password{display:none;}


input[type="text"],input[type="password"]{
	margin-top: 30px;
	height: 45px;
	width: 300px;
	font-size: 18px;
	margin-bottom: 20px;
	background-color: #E8F0FE;
	padding-left: 10px;
	border-style: none;
}

/*
 .form-input::before{
	content: "\f007";
	font-family: "FontAwesome";
	padding-left: 07px;
	padding-top: 40px;
	position: absolute;
	font-size: 35px;
	color: #2980b9; 
} 

.form-input:nth-child(2)::before{
	content: "\f023";
}*/

.form-input {margin-bottom: -35px;}


#subtitolo{font-size:16px !important;}
.w3-jumbo {font-size:40px !important; margin-bottom:-20px; color:#AA9538;}
.tit1{font-size:2em; font-weight:200;  text-transform: uppercase; text-align:center;}
.titolo_azione{margin-bottom:-30px;} 
.titolo_sezione {color:#AA9538 !important; font-size:3em; text-align: center;}
.campi {
  margin-left:20px;  
  padding:5px;
  border-style: solid;
  border:3px;
  box-shadow:0 0 25px 4px rgba(0,0,0,0.06); 
  font-weight:800;
  background-color:#fff !important; color:#000 !important;
}
.sub_tit{color:#fff; margin-top:-40px; margin-bottom: 20px;}
.tit2{font-size:1.8em; font-weight:1200;  text-transform: uppercase; text-align:left; color:#fff;}
.acquista{color:red; margin-left: 20px; font-weight:1200; }
.w3-xlarge {
  font-size: 35px !important;
}
.non_disponibile{color:red;}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.utile{color: #20a04f;}

.w3-button-top {
  width:6% !important;
  border: none;
  display: inline-block;
  padding: 8px 0px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: #222;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;}
  
  .w3-button-top:hover {
  color: #fff;
  background-color: #000;
}

.w3-button-top-mobile {
  width:100% !important;
  border: none;
  display: inline-block;
  padding: 8px 0px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: #222;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;}
  
  .w3-button-top-mobile:hover {
  color: #fff;
  background-color: #000;
}


   .macos-input {
        border: 1px solid #aaa;
        border-radius: 8px;
        padding: 12px 15px;
        font-size: 16px;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }

    .macos-input:focus {
        border-color: #007aff; /* Colore di accento macOS */
        box-shadow: 0 0 3px rgba(0, 122, 255, 0.5);
    }

    .macos-select {
        appearance: none;
        padding-right: 25px; /* per evitare che il testo sovrapponga la freccia di default */
    }

    .flex-container {
        display: flex;
        justify-content: space-between;
        gap: 10px; /* spazio tra gli elementi flex */
    }

    .half-input {
        width: calc(50% - 5px); /* larghezza dimezzata e tenuto conto dello spazio tra gli elementi */
    }

    .macos-confirm-button, .macos-cancel-button {
        border-radius: 8px;
        padding: 10px 20px;
        font-size: 16px;
        transition: background-color 0.2s ease;
    }

    .macos-confirm-button {
        background-color: #007aff;
        color: white;
    }

    .macos-confirm-button:hover {
        background-color: #005bb5;
    }

    .macos-cancel-button {
        background-color: #d1d1d6;
        color: #333;
    }

    .macos-cancel-button:hover {
        background-color: #b8b8bb;
    }

    .mac-style {
      border-radius: 8px;
      border: 1px solid rgba(0, 0, 0, 0.3);
      padding: 10px;
      width: 95%; /* ridotta al 95% per far sì che non fuoriescano */
      box-sizing: border-box;
  }

  .custom-field {
      margin-bottom: 12px;
  }

  .swal2-popup {
      font-size: 1.1rem !important;
      width: 50% !important; /* Aumentata la larghezza */
  }

  .swal2-title {
      font-weight: 500;
  }

  .swal-subbox {
    background-color: #f3f3f3; /* Ad esempio, un grigio chiaro come background */
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px; /* Distanza tra il box e il titolo successivo */
}

.swal-title {
    margin-bottom: 10px;
    font-weight: bold;
}
.colorful-border {
    border: 5px solid #FF5733;
    border-radius: 10px;
}

.custom-input, .custom-select {
    width: 80%;  /* Aumenta questa percentuale se vuoi che siano ancora più larghi */
    padding: 5px;
    border-radius: 5px;
    box-sizing: border-box;
}

.placeholder-option {
    color: grey;
}
 
.btn-custom {
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 20px;
    border: none;
    cursor: pointer;
}
.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}
.btn-modify {
    background-color: #2196F3;
    color: white;
}
.btn-delete {
    background-color: #F44336;
    color: white;
}
