

/* MODAL EXTRA */

.CSSgal {
	position: relative;
	overflow: hidden;
	height: 100%; /* Or set a fixed height */
}

/* SLIDER */

.CSSgal .slider {
	height: 100%;
	white-space: nowrap;
	font-size: 0;
	transition: 0.8s;
}

/* SLIDES */

.CSSgal .slider > * {
	font-size: 1rem;
	display: inline-block;
	white-space: normal;
	vertical-align: top;
	height: 100%;
	width: 100%;
	background: none 50% no-repeat;
	background-size: cover;
}

/* PREV/NEXT, CONTAINERS & ANCHORS */

.CSSgal .prevNext {
	position: absolute;
	z-index: 1;
	top: 50%;
	width: 100%;
	height: 0;
}

.CSSgal .prevNext > div+div {
	visibility: hidden; /* Hide all but first P/N container */
}

.CSSgal .prevNext a {
	background: #fff;
	position: absolute;
	width:       60px;
	height:      60px;
	line-height: 60px; /* If you want to place numbers */
	text-align: center;
	opacity: 0.7;
	-webkit-transition: 0.3s;
					transition: 0.3s;
	-webkit-transform: translateY(-50%);
					transform: translateY(-50%);
	left: 0;

  display: flex;
    justify-content: center;
    align-items: center;
  /* background: #172859; */
  border: 1px solid #172859;

}

i.fas.fa-chevron-circle-left {
    font-size: 49px;
    color:  #172859;
}
i.fas.fa-chevron-circle-right {
    font-size: 49px;
    color: #172859;
}

.CSSgal .prevNext a:hover {
	opacity: 1;
}
.CSSgal .prevNext a+a {
	left: auto;
	right: 0;
}


.nasc_logo {
    width: 28px;
    height: 39px;
    position: absolute;
    top: 11px;
    right: 25px;
    background: #ffffff;
}

h3.title_cluster {
    font-weight: 900;
    letter-spacing: 3px;
    background: #0e245b;
    padding: 15px;
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    /* text-align: center; */
}


/* INFO POINT */
button.info_point_btn {
    position: absolute;
    right: 40px;
    text-decoration: none;
    border: 2px solid #202c54;
    background: #0e245b29;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    font-size: 19px;
}

.title_info_form {
  display: block;
    width: 100%;
    font-family: Poppins;
    font-size: 39px;
    color: #333333;
    line-height: 1.2;
    text-align: left;
    padding-bottom: 44px;
}


/* NAVIGATION */

.CSSgal .bullets {
	position: absolute;
	z-index: 2;
	bottom: 0;
	padding: 10px 0;
	width: 100%;
	text-align: center;
}
.CSSgal .bullets > a {
	display: inline-block;
	width:       30px;
	height:      30px;
	line-height: 30px;
	text-decoration: none;
	text-align: center;
	background: rgba(255, 255, 255, 1);
	-webkit-transition: 0.3s;
					transition: 0.3s;
}
.CSSgal .bullets > a+a {
	background: rgba(255, 255, 255, 0.5); /* Dim all but first */
}
.CSSgal .bullets > a:hover {
	background: rgba(255, 255, 255, 0.7) !important;
}

/* NAVIGATION BUTTONS */
/* ALL: */
.CSSgal >s:target ~ .bullets >* {      background: rgba(255, 255, 255, 0.5);}

/* ACTIVE */
#s1:target ~ .bullets >*:nth-child(1) {background:  #172859; color: white;}
#s2:target ~ .bullets >*:nth-child(2) {background:  #172859; color: white;}
#s3:target ~ .bullets >*:nth-child(3) {background:  #172859; color: white;}
#s4:target ~ .bullets >*:nth-child(4) {background:  #172859; color: white;}
#s5:target ~ .bullets >*:nth-child(5) {background:  #172859; color: white;}
/* More slides? Add here more rules */
#c1:target ~ .bullets >*:nth-child(1) {background:  #172859; color: white;}
#c2:target ~ .bullets >*:nth-child(2) {background:  #172859; color: white;}

/* PREV/NEXT CONTAINERS VISIBILITY */
/* ALL: */
.CSSgal >s:target ~ .prevNext >* {      visibility: hidden;}
/* ACTIVE: */
#s1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#s2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}
#s3:target ~ .prevNext >*:nth-child(3) {visibility: visible;}
#s4:target ~ .prevNext >*:nth-child(4) {visibility: visible;}
#s5:target ~ .prevNext >*:nth-child(5) {visibility: visible;}
/* More slides? Add here more rules */
#c1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#c2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}

/* SLIDER ANIMATION POSITIONS */

#s1:target ~ .slider {transform: translateX(   0%); -webkit-transform: translateX(   0%);}
#s2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
#s3:target ~ .slider {transform: translateX(-200%); -webkit-transform: translateX(-200%);}
#s4:target ~ .slider {transform: translateX(-300%); -webkit-transform: translateX(-300%);}
#s5:target ~ .slider {transform: translateX(-400%); -webkit-transform: translateX(-400%);}

#c1:target ~ .slider {transform: translateX(   0%); -webkit-transform: translateX(   0%);}
#c2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
/* #s5:target ~ .slider {transform: translateX(-400%); -webkit-transform: translateX(-400%);} */
/* da qui gestire le prossime slideshow con ordine crescente */

/* More slides? Add here more rules */


/* collection style carosello con etichette */
.bullets.bull_collection {
    display: flex;
    justify-content: space-evenly;
}

/* ACTIVE CAROSELLO COLLECTIOn */
#s1:target ~ .bullets.bull_collection >*:nth-child(1) {background:white;color: #172859;font-weight: bold;border-bottom: 5px solid #001e64c2;border-radius: 0px;}
#s2:target ~ .bullets.bull_collection >*:nth-child(2) {background:white;color: #172859;font-weight: bold;border-bottom: 5px solid #001e64c2;border-radius: 0px;}
#s3:target ~ .bullets.bull_collection >*:nth-child(3) {background:white;color: #172859;font-weight: bold;border-bottom: 5px solid #001e64c2;border-radius: 0px;}
#s4:target ~ .bullets.bull_collection >*:nth-child(4) {background:white;color: #172859;font-weight: bold;border-bottom: 5px solid #001e64c2;border-radius: 0px;}
#s5:target ~ .bullets.bull_collection >*:nth-child(5) {background:white;color: #172859;font-weight: bold;border-bottom: 5px solid #001e64c2;border-radius: 0px;}



.CSSgal .bullets.bull_collection  > a {
    display: inline-block;
    width: auto;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    text-align: center;
    background: rgba(255, 255, 255, 1);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.CSSgal .bullets.bull_collection  > a:hover {
  font-weight: 800;
}


.carosello_margine_slides {
  margin-bottom: 65px;
}

.CSSgal{
	color: #fff;
	text-align: center;
}
.CSSgal .slider h2 {
	margin-top: 40vh;
	font-weight: 200;
	letter-spacing: -0.06em;
	word-spacing: 0.2em;
	font-size: 3em;
}
.CSSgal a {
	border-radius: 50%;
	margin: 0 3px;
	color: rgba(0,0,0,0.8);
	text-decoration: none;
}

/* Bob */
@-webkit-keyframes hvr-bob {
  0% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }

  50% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }

  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}

@keyframes hvr-bob {
  0% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }

  50% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }

  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}

@-webkit-keyframes hvr-bob-float {
  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}

@keyframes hvr-bob-float {
  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
}

.hvr-bob {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* box-shadow: 0 0 1px rgba(0, 0, 0, 0); */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.hvr-bob:hover, .hvr-bob:focus, .hvr-bob:active {
  -webkit-animation-name: hvr-bob-float, hvr-bob;
  animation-name: hvr-bob-float, hvr-bob;
  -webkit-animation-duration: .3s, 1.5s;
  animation-duration: .3s, 1.5s;
  -webkit-animation-delay: 0s, .3s;
  animation-delay: 0s, .3s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}


h5#modal_item_title {
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0px;
    margin-bottom: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
    color: #202C54;
}

p#item_tessut {
    color: #202C54;
}

.box_dett {
    display: flex;
    justify-content: center;
}
h2.title_desc {
    font-size: 18px;
    color: #202c54;
    font-weight: 700;
}

.row.descrizione {
    margin-right: 0px;
    margin-left: 0px;
}

.p_2 {
  margin-bottom: 50px;
}

/* ************* */
/* EXTRA CUSTOM  */
/* ************* */
/* #extra_modal_body_custom {
  background: #EDEDED;
} */
.video_section_custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title_modal_custom {
  text-align: center;
}

i.fas.fa-download {
    background: #001e64;
    height: 47px;
    padding: 12px 15px;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* width: 47px; */
    color: white;
    font-size: 18px;
    left: 15px;
    border-radius: 4px;
    margin-right: 10px;
}

.footer_extra_cont a {
    position: absolute;
    left: 15px;
    color: #001e64;
    font-weight: 700;
}

.text_video {
    padding: 10px 40px;
    color: #444;
    font-size: 14px;
    text-align: left;

    width: 82%;
}

.text_video h3 {
    color: #031f57;
    line-height: 27px;
    font-size: 20px;
    font-weight: 600;
}
.text_video p {
    line-height: 27px;
    font-size: 16px;
    /* font-size: 16px; */
}

.modal-header.extra_cont {
    background: #001e64;
    color: white;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
button.close.close_extra_cont {
    color: white;
    position: absolute;
    right: 9px;
    top: 5px;
}
i.fas.fa-camera {
    font-size: 19px;
}

textarea#descrizione {
    resize: none;
    width: 100%;
    height: 90px;
    border-color: #BEBEBE;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #BEBEBE;
}

textarea#descrizione:focus {
    outline: none !important;
    border-bottom-color: #000;
}
textarea#descrizione:hover {
    outline: none !important;
    border-bottom-color: #000;
}


.form-check.form-check-inline {
    margin: 5px 0px;
}

.scelta_tipo {
    margin-bottom: 25px;
    padding: 0 15px;
}

.modal-body.body_form_contact {
    padding: 60px;
    position: relative;
}

.form-control {
    border-bottom-color: #000;
    background: 0 0;
    border: none;
    border-bottom-color: #BEBEBE;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    min-height: 40px;
    padding: 6px 10px;
    width: 100%;
    border-radius: 0;
    -webkit-appearance: none;
    box-shadow: none;
    font-size: 14px;
    -webkit-transition: border .2s ease-in-out;
    -moz-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}

.form-control:focus {
  box-shadow: none;
  border-bottom-color: rgba(255, 75, 90, 0.5);
}

.form-control:active {
  box-shadow: none;
  border-bottom-color: rgba(255, 75, 90, 0.5);
}

.form-control:hover {
  border-bottom-color: #000;
}

.form-check.privacy_policy {
    margin-bottom: 20px;
}

button.btn.btn-primary.btn_submit {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    min-width: 160px;
    height: 50px;
    background-color: #ff4b5a;
    border-radius: 25px;
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    box-shadow: 0 10px 30px 0px rgba(255, 75, 90, 0.5);
    -moz-box-shadow: 0 10px 30px 0px rgba(255, 75, 90, 0.5);
    -webkit-box-shadow: 0 10px 30px 0px rgba(255, 75, 90, 0.5);
    -o-box-shadow: 0 10px 30px 0px rgba(255, 75, 90, 0.5);
    -ms-box-shadow: 0 10px 30px 0px rgba(255, 75, 90, 0.5);
}
#arrow_form {
    margin-left: 7px;
    display: inline-block;
    transition: all 0.7s;
}


span.label_contact_su {
    position: absolute;
    left: -108px;
    top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #001f60;
}

.best_seller {
    margin-bottom: 20px;
    width: 260px;
}


/* input[type='radio']:before {
  content:'';
  display:block;
  width:60%;
  height:60%;
  margin: 20% auto;
  border-radius:50%;
}
input[type='radio']:checked:before {
  background:#ff4b5a;
  border-color: #ff4b5a;
} */

button.close.close_form_vr {
    /* background: red; */
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 27px;
    border: 2px solid #ff4b5a;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    color: red;
    display: flex;
    justify-content: center;
    align-items: center;
}

button.btn.btn-primary.btn_submit:hover > #arrow_form {
  /* margin-left: 25px; */
  -webkit-transform: translateX(12px);
  transform: translateX(12px);

}
button.btn.btn-primary.btn_submit:hover {
    background: #001f60;
    box-shadow: 0 10px 30px 0px #001f60;
    -moz-box-shadow: 0 10px 30px 0px #001f60;
    -webkit-box-shadow: 0 7px 14px -3px #001f60a6;
    -o-box-shadow: 0 10px 10px 0px #001f60;
    -ms-box-shadow: 0 10px 30px 0px #001f60;
}
