@import url("../fonts/rubik.css");
@import url("custom.css");
@import url("bootstrap-icons.css");
@import url("toastr.css");

body {
	font-family: var(--bs-font-sans-serif);
	/*padding-top: 6rem;*/
}
.fixed-top {
  position: fixed !important;
  }
/*
.nav-link {
	color: #374a5c;
	font-weight: 500;
}
*/

.bg-danger {
	color: #fff;
}

.bg-live {
	background-color: #CE2B37;
}

.bg-verdino {
	background-color: rgba(143, 255, 143, 0.5);
}

.btn-verdino {
	background-color: rgba(143, 255, 143, 0.5);
}

.btn-verdino:hover {
	background-color: rgba(143, 255, 143, 1);
}

.verdino {
	color: rgba(143, 255, 143, 1);
}

.text-gray {
	color: var(--bs-gray-600);
}

.badge-verdino {
  color: #000;
  background-color: rgba(143, 255, 143, .5); }
  a.badge-verdino:hover, a.badge-verdino:focus {
    color: #000;
    background-color: #bd2130; }
  a.badge-verdino:focus, a.badge-verdino.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(143, 255, 143, 1); }

.testo-gradiente {
	background: rgb(143,255,143);
	background: linear-gradient(90deg, rgba(143,255,143,1) 40%, rgba(0,232,232,1) 60%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* multi-item carousel */
.carousel-cell {
  width: 28%;
  height: 250px;
  /*
  height: 200px;
  margin-right: 10px;
  background: #8C8;
  border-radius: 5px;
  */
  counter-increment: carousel-cell;
}

@media (max-width: 576px) {
	.carousel-cell {
		width: 100%;
	}
}

.carousel-cell.is-selected {
  /*background: var(--bs-gray-100);*/
  background: transparent;
}

.icon-content {
            position: relative;
            z-index: 1;
}
.icon-content::before {
            content: '';
            position: absolute;
            top: -0.3rem;
            left: -0.3rem;
            width: 100%;
            height: 100%;
            background-image: url('../img/triangolo.png');
            background-size: 70%;
            background-repeat: no-repeat;
            opacity: 0.2; /* Adjust opacity level */
            z-index: -1; /* Ensure background image is behind the text */
        }

.icon-content-mini {
            position: relative;
            z-index: 1;
            line-height: 2.5rem;
            top: 0.5rem;
            padding-left: 0.5rem;
}
.icon-content-mini::before {
            content: '';
            position: absolute;
            top: -0.3rem;
            left: -0.3rem;
            width: 100%;
            height: 100%;
            background-image: url('../img/triangolo.png');
            background-size: 2.5rem;
            background-repeat: no-repeat;
            opacity: 0.2; /* Adjust opacity level */
            z-index: -1; /* Ensure background image is behind the text */
        }

.bg-transparent {
	background: rgba(0,0,0,1);
}

nav .nav-link{
  position: relative;
}

nav .nav-link:before {
  background: none repeat scroll 0 0 transparent;
  bottom: -3px;
  content: "";
  display: block;
  height: 3px;
  left: 70%;
  position: absolute;
  background: var(--bs-primary);
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

nav .nav-link.nav-link-white:before {
  background: var(--bs-white);
}
nav .nav-link:hover:before {
  width: 100%;
  left: 0;
}

nav .nav-link.active{
  border-bottom: 3px solid var(--bs-primary);
}

nav .nav-link.nav-link-white.active{
  border-bottom: 3px solid var(--bs-white);
}

.nav-item a.fs-3 {
  display: flex;
  align-items: center;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
}

.border-verdino {
  border-color: rgba(143, 255, 143, 1) !important;
}

.border-dashed {
	border-style: dashed !important;
	border-color: --bs-gray-400;
}

.npag:hover {
	box-shadow: var(--bs-box-shadow-sm);
	background-color: var(--bs-primary);
}


.bottom-1 {
  bottom: 1rem !important;
}

.right-1 {
  right: 1rem !important;
}

.headerbtn:hover{
	color: var(--bs-primary);
}

.nod {
	text-decoration: none;
}

.nav-underline .nav-link,
.nav-underline .show > .nav-link {
  font-weight: 400;
}

.nav-underline .nav-link.active,
.nav-underline .show > .nav-link {
  font-weight: 500;
  color: var(--bs-nav-underline-link-active-color);
  border-bottom-color: var(--bs-primary);
}

.bg-dashed {
  background-image: url('../img/bg-dashed.png');
  background-repeat: repeat-y;
  background-position: center top;
}


.fs-7 {
  font-size: 0.7rem !important;
}

.fs-10 {
  font-size: 0.35rem !important;
}

.schedaattivita {
	border-radius: 4px 16px 16px 4px;
	-webkit-border-radius: 4px 16px 16px 4px;
	-moz-border-radius: 4px 16px 16px 4px;
}

.blurdiv {
    -webkit-filter: blur(4px);
    -moz-filter: blur(4px);
    -o-filter: blur(4px);
    -ms-filter: blur(4px);
    filter: blur(4px);
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .h-sm-100 {
        height: 100% !important;
    }

    .h-sm-75 {
        height: 75% !important;
    }

    .h-sm-50 {
        height: 50% !important;
    }

    .h-sm-25 {
        height: 25% !important;
    }
}


/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .h-md-100 {
        height: 100% !important;
    }

    .h-md-75 {
        height: 75% !important;
    }

    .h-md-50 {
        height: 50% !important;
    }

    .h-md-25 {
        height: 25% !important;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .h-lg-100 {
        height: 100% !important;
    }

    .h-lg-75 {
        height: 75% !important;
    }

    .h-lg-50 {
        height: 50% !important;
    }

    .h-lg-25 {
        height: 25% !important;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .h-xl-100 {
        height: 100% !important;
    }

    .h-xl-75 {
        height: 75% !important;
    }

    .h-xl-50 {
        height: 50% !important;
    }

    .h-xl-25 {
        height: 25% !important;
    }
}

.accordion-button-not-b {
  --bs-accordion-border-width: 0;
}

.accordion-button-not::after {
  background-image: initial;
}

.accordion-button-not:not(.collapsed)::after {
  content: none;
}

.accordion-button-not-temp::after {
  background-image: initial;
}

.accordion-button-not-temp:not(.collapsed)::after {
  background-image: initial;
}


.menuprofilo  {
	color: var(--bs-gray-700) !important;
	font-size: 1rem;
	font-weight: 500;
}


.menuprofilo:hover {
	color: var(--bs-primary) !important;
	font-size: 1rem;
}

.menuprofilo.active {
	color: var(--bs-dark) !important;
}
.menuprofilo.active i{
	color: var(--bs-primary);
}

.btn-modimg {
	background-color: white;
	position:absolute;
	bottom:0;
	right:0;
	border: none;
	 border-radius: 4px 0px 0px 0px;
	 -webkit-border-radius: 4px 0px 0px 0px;
	 -moz-border-radius: 4px 0px 0px 0px;
	 box-shadow: none;
}
.btn-modimg:hover {
	background-color: var(--bs-light);
	 border-radius: 4px 0px 4px 0px;
	 -webkit-border-radius: 4px 0px 4px 0px;
	 -moz-border-radius: 4px 0px 4px 0px;
}

.icon-link {
  font-weight: 500;
}

.btn-pre {
  background-color: white !important;
  border-color: white !important;
  font-size: .875rem;
  color: var(--bs-gray-700);
  font-weight: 400;
  opacity: .8;
  padding: 6px 12px;
}

.btn-pre.active, .btn-pre:hover {
  color: #374A5C;
  opacity: 1;
}

.btn-pre.active {
  color: #374A5C;
  opacity: 1;
  font-weight: 500;
}

.btn-none {
  background-color: transparent !important;
  border-color: none !important;
  border-width: 0;
  box-shadow: none;
  font-size: 1rem;
  color: #374A5C;
}

.btn-none:active {
  background-color: transparent !important;
  border-color: none !important;
  border-width: 0;
  box-shadow: none;
  font-size: 1rem;
  color: #374A5C;
}

.detail-header {
  font-weight: 500;
}


@media (min-width: 1400px) {
  .container-md {
    max-width: 1140px;
  }
}

@media (min-width: 1200px) {
    .btn-lg, .btn-group-lg > .btn {
        --bs-btn-font-size: 1.25rem;
    }
}

.card-risultati {
  max-width: 500px;
  margin: auto;
  padding: 0rem 1rem 1rem;;
}

.card-streaming {
  max-width: 500px;
}

.card-body-streaming {
  margin: auto;
  padding: 1rem 2.25rem 3rem;
}

form.formsonarmap {
  max-width: 1000px;
  width: 100%;
  margin: auto !important;
}

form.formsonarmap .btn, .fs-6,
.bi-circle-fill .verdino{
  font-size: .87rem !important;
}

.btn-muted-header {
  padding: .5rem .8rem;
  box-shadow: none;
}
.btn-header {
  background-color: #F5F5F5;
  color: #6C757D;
  padding: .1rem .375rem;
  border: none;
  box-shadow: none;
}

.btn-header:hover {
	background-color: var(--bs-dark);
	color: var(--bs-light);
}

.ul-sonarmap-detail > .nav-item {
	margin-bottom: 0rem;
	margin-top: 0rem;
	padding-top: 0rem;
}

.ul-sonarmap-detail > .nav-item > .nav-link {
	margin-top: -1rem;
}

.table-datails {
	border-collapse: separate;
    border-spacing: 0 1em;
}

.text-accent{
 color: var(--bs-gray-900);
}

.offcanvas-largo {
	min-width: 600px;
	max-width:100% !important;
}

.offcanvas-subtitle {
	font-size: 16px;
	font-weight: 500;
}

.offcanvas-body p {
	font-size: 16px;
	line-height: 24px;
}

.scheda-privata-border {
	width:100%;
	height:100%;
	background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='lightgrey' stroke-width='2' stroke-dasharray='6%2c 10' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
	border-radius: 16px;
	border-width: 0;
}

.tag {
	font-weight: 500;
}

.tag-border {
	border-width: 0;
}

.btn-outline-gray-400 {
  --bs-btn-color: var(--bs-gray-dark);
  --bs-btn-border-color: var(--bs-gray-400);
  --bs-btn-hover-color: var(--bs-gray-400);
  --bs-btn-hover-bg: var(--bs-gray-dark);
  --bs-btn-hover-border-color: var(--bs-gray-dark);
  --bs-btn-focus-shadow-rgb: 245, 245, 245;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #f5f5f5;
  --bs-btn-active-border-color: #f5f5f5;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #f5f5f5;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #f5f5f5;
  --bs-gradient: none;
}

.border-gray-400 {
	border-color: var(--bs-gray-400) !important;
}

.bg-extra-light {
  --bs-bg-opacity: 1;
  background-color: var(--bs-gray-200) !important;
}

.stroke-1 {
	-webkit-text-stroke: 1px;
}

.pointer {
	cursor: pointer;
}


.grid-item { width: 24%; }
.grid-item--width2 { width: 45%; margin: 1rem;}
/*@media (max-width: 768px) {*/
@media (max-width: 1200px) {
	.grid-item { width: 95%; }
	.grid-item--width2 { width: 98%; margin: 0.2rem;}
}

/* area upload video */
#drop_zone {
  border: 2px dashed #bbb;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 25px;
  text-align: center;
  font: 20pt bold 'Helvetica';
  color: #bbb;
}
.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
/* fine area upload video */


.cardaggiungiimmagina{
  width: 100%;
  padding-top: 57%; /* 1:1 Aspect Ratio */
  position: relative; /* If you want text inside of it */
  background-color: white;
  background: url('../img/add.png');
  background-size: cover;
}
.cardaggiungiimmagina:hover{
  background-color: #F6F7F4;
}

#modalbandi a:not(.btn),#intestazionebandi a:not(.btn),#pills-tabContent a:not(.btn) {
	font-weight: normal;
	text-decoration-line: underline;
}
#modalbandi a:hover,#intestazionebandi a:hover,#pills-tabContent a:hover:not(.btn) {
	color: var(--bs-primary);
}
.linku {
	font-weight: normal;
	text-decoration-line: underline;
}
.linku:hover {
	color: var(--bs-primary);
}

@media (max-width: 768px) {
	#dropdownServizi {width: 100% !important;}
}
@media (min-width: 768px) {
	#dropdownServizi {min-width: 50rem;}
}

.btn-semilight {
  --bs-btn-color: --bs-dark;
  --bs-btn-bg: #ced4da;
  --bs-btn-border-color: #ced4da;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #d0d0d0;
  --bs-btn-hover-border-color: #c4c4c4;
  --bs-btn-focus-shadow-rgb: 208, 208, 208;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #c4c4c4;
  --bs-btn-active-border-color: #b8b8b8;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #ced4da;
  --bs-btn-disabled-border-color: #ced4da;
}
.btn-outline-semilight {
  --bs-btn-color: --bs-dark;
  --bs-btn-border-color: #ced4da;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #ced4da;
  --bs-btn-hover-border-color: #ced4da;
  --bs-btn-focus-shadow-rgb: 245, 245, 245;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #ced4da;
  --bs-btn-active-border-color: #ced4da;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #ced4da;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ced4da;
  --bs-gradient: none;
}


.form-floating > .form-select {
  padding-top: 1.6rem;
  }

#accordionFiltri  .accordion-button {
	font-weight: 500;
}

.bg-extralight {
	background-color: var(--bs-gray-200);
}

.btn-lg {
	font-weight: 800;
	color: var(--bs-dark) !important;
}

.navbar .nav-link {
	font-size: 1.125rem;
}

/* nascondo le frecce dal cmapo input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number]{
    -moz-appearance: textfield;
}


.fileUpload {
    overflow: hidden;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    left: -20px;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.label-top-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.6rem;
 }

.label-top-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
 }

.btn-xs, .btn-group-xs > .btn {
  --bs-btn-padding-y: 0.125rem;
  --bs-btn-padding-x: 0.25rem;
  --bs-btn-font-size: 0.7rem;
  --bs-btn-border-radius: var(--bs-border-radius-sm);
}
