﻿html {
  margin: 0;
  padding: 0;
}

.navbar {
  list-style: none;
  bottom: -28rem;
  right: 0rem;

  margin-top: auto;
  margin-left: auto;
  height: 255px;
  width: 200px;
  bottom: 0;
}

.btn {
  font-size: 22px;
  line-height: 25px;
  border-radius: 0.5em;
  padding: 0.375rem 3rem 0.6rem 3rem;
}

.home-slide {
  padding: 0;
  height: 100vh;
}

.navbar-expand-sm .navbar-nav {
  flex-direction: column;
}

.navbar-nav {
  width: 100% !important;
}

.collapse {
  text-align: left;
  width: 100%;
}

.btn-login {
  background-color: rgba(234, 59, 82, 1);
}

.show span {
  display: none;
}

.show ul {
  margin-left: auto !important;
}

.navbar-menu .navbar-nav .nav-link {
  color: #000 !important;
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
  transition: ease 0.5s;
}

.navbar-menu.light .navbar-nav .nav-link {
  color: white !important;
}

.navbar-menu .navbar-nav .active {
  color: rgba(234, 59, 82, 1) !important;
}

.navbar-menu.light .navbar-nav .active {
  color: rgba(234, 59, 82, 1) !important;
}

.navbar-menu.dark .navbar-nav .active {
  color: white !important;
}

.navbar-collapse {
  flex-grow: 0.5;
}

.nav-link {
  display: inline;
}

.carousel-item {
  height: 100vh;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#HomeSectionProject .carousel-caption h5 {
  color: rgba(234, 59, 82, 1) !important;
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 40px;
}

#HomeSectionProject {
  padding: 0;
}

.carousel-indicators {
  bottom: 30px;
}

#HomeSectionProject .carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 60px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 1;
  transition: none;
}

#HomeCtc {
  position: relative;
}

#HomeSectionProject .carousel-indicators .active {
  color: rgba(234, 59, 82, 1) !important;
}

#HomeSectionEvent .carousel-item {
  background-image: url("../Images/Home/home-events_background.jpg");
}

#HomeSocial {
  color: #e83b51;
  font-size: 30px;
  margin-bottom: 25px;
}

#HomeContact {
  color: #fff;
  background-color: #e83b51;
  font-size: 28px;
}

.to-bottom {
  position: absolute;
  width: 100%;
  bottom: 0;
}

#HomeHeader {
  background: url(../Images/Home/1screen-homepage.svg);
  background-repeat: no-repeat;
  background-position-y: top;
  background-position-x: center;
  background-size: cover;
}

#HomeLogin {
  background: url(../Images/Home/login-homepage_.svg);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  background-size: cover;
  display: flex;
}

#HomeSectionProject {
  background: url(../Images/Home/bg-video.jpg);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  background-size: cover;
  display: flex;
}

#HomeSectionEvents {
  background: url(../Images/Home/home-events_background_v2.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
}

#HomeGallery {
  padding: 50px 80px;
}

.homelogin-container {
  margin: auto auto auto auto;
  padding: 10px 15%;
  display: flex;
}

#HomeLogin .login-title {
  color: rgba(234, 59, 82, 1) !important;
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 0;
}

#HomeLogin .login-text {
  padding-top: 1.5rem;
  font-size: 20px;
}

#HomeLogin .btn {
  margin-top: 2rem;
}

#HomeLogin .homeevent-container {
  width: 12rem;
  height: 12rem;
  display: flex;
  margin: auto;
  border-radius: 100%;
  background-color: #fff;
	border:10px solid #000;
}

#HomeLogin .homeevent-container a{
  margin:auto;
	color:#fff;
	font-size:17px;
}

#HomeSectionProject .login-title {
  color: #fff !important;
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 0;
}

#HomeSectionEvents .homeevent-container {
  width: 32rem;
  height: 32rem;
  display: flex;
  margin: auto;
  border-radius: 100%;
  background-color: #fff;
}

#HomeSectionEvents .img-bg {
  width: 100%;
}

#HomeSectionEvents .event-title {
  color: rgba(234, 59, 82, 1) !important;
  font-size: 54px;
  font-weight: bold;
}

#HomeSectionEvents .event-text {
  margin-top: 1rem;
  font-size: 18px;
  width: 65%;
}

#HomeSectionEvents .calendar {
  color: rgba(234, 59, 82, 1) !important;
  margin-top: 4.5rem;
  font-size: 30px;
  font-weight: bold;
}

#HomeSectionEvents .icon-calendar {
  width: 3.5rem;
  margin-top: -2rem;
  margin-right: 0.8rem;
}

.vertical-alig {
  margin: auto;
}

.home-slide-no-h-mobile {
  height: 30vh;
}

#HomeSectionProject .carousel-item {
  height: 30vh;
}
#HomeCtc {
  height: 140vh;
}


.login-mobile {
    display: none;
}

a {
    color: #ea3b52;
    text-decoration: none;
}

a:hover {
    color: #c82333;
    text-decoration: none;
}


/*=============================================== Home.aspx media query============================= */
/* Large Screen (1600)  */
@media (min-width: 400px) {
  #HomeSectionProject .carousel-item {
    height: 100vh;
  }
}
@media (min-width: 600px) {
  .home-slide-no-h-mobile {
    height: 100vh;
  }

  #HomeCtc {
    position: relative;
    height: 100vh;
  }
}

@media (min-width: 1401px) {
  .to-bottom {
    position: absolute;
  }

  .embed-responsive {
    height: 100vh;
  }

  #HomeHeader .carousel-item {
    height: 80vh;
  }

  #HomeSectionProject .carousel-caption h5 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  #HomeSectionProject .carousel-indicators .active {
    background-color: rgba(234, 59, 82, 1) !important;
  }

  #HomeSectionEvents {
    height: 100vh;
  }

  #HomeSectionEvents .img-bg {
    width: 100%;
    height: 100vh;
  }
}

/* Large Screen  */

@media (min-width: 1170px) and (max-width: 1400px) {
  .to-bottom {
    position: absolute;
  }

  #HomeHeader .carousel-item {
    height: 80vh;
  }

  #HomeSectionSignIn .carousel-item {
    height: 80vh;
  }

  #HomeSectionEvents .img-bg {
    width: 100%;
  }

  #HomeSectionEvents .icon-calendar {
    width: 1.9rem;
    margin-top: -1.1rem;
    margin-right: 1rem;
  }
}

/* Normal desktop :992px. */

@media (min-width: 992px) and (max-width: 1169px) {
  .to-bottom {
    position: absolute;
  }

  #HomeHeader .carousel-item {
    height: 70vh;
  }

  #HomeSectionProject .carousel-caption {
    width: 100%;
    right: 0;
    left: 0;
  }

  #HomeSectionSignIn .carousel-item {
    height: 70vh;
  }

  #HomeSectionEvents .img-bg {
    width: 100%;
  }

  #HomeSectionEvents .icon-calendar {
    width: 1.9rem;
    margin-top: -1.1rem;
    margin-right: 1rem;
  }
}

@media (min-width: 800px) and (max-width: 991px) {
  #HomeHeader .carousel-item {
    height: 55vh;
  }

  #HomeSectionProject .carousel-caption {
    width: 70%;
  }

  #HomeSectionProject p {
    font-weight: 500;
  }

  #HomeSectionSignIn .carousel-item {
    height: 55vh;
  }

  #HomeSectionEvents .img-bg {
    width: 100%;
  }
}

/* Tablet desktop :768px. */

@media (min-width: 768px) and (max-width: 799px) {
  #HomeHeader .carousel-item {
    height: 45vh;
  }

  #HomeSectionProject .carousel-caption {
    width: 70%;
  }

  #HomeSectionProject p {
    font-weight: 500;
  }

  #HomeSectionSignIn .carousel-item {
    height: 45vh;
  }

  #HomeSectionEvents {
    height: 100vh;
  }

  #HomeSectionEvents .img-bg {
    width: 100%;
    height: 100vh;
  }

  #HomeSectionEvents .icon-calendar {
    width: 1.9rem;
    margin-top: -1.1rem;
    margin-right: 1rem;
  }
	
	.homelogin-container {
    padding: 10px 7%;
    
}
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  #HomeHeader .carousel-item {
    height: 40vh;
  }

  #HomeSectionProject .carousel-caption {
    width: 100%;
  }

  #HomeSectionSignIn .carousel-item {
    height: 40vh;
  }

  #HomeSectionEvents .img-bg {
    width: 100%;
  }

  #HomeSectionEvents .icon-calendar {
    width: 1.5rem;
    margin-top: -0.5rem;
    margin-right: 1rem;
  }
	
	#HomeLogin .griglia {
    float: left;
	width:100%;
	padding:20px 20px;
  }
	
	#HomeLogin .home-slide {
    height: auto !important;
}
	span a {
    font-size: 20px;
}
	
}

@media (max-width: 767px) {
  #HomeHeader .carousel-item {
    height: 50vh;
  }

  #HomeSectionProject .d-none {
    display: inline !important;
  }

  #HomeSectionProject .carousel-caption {
    width: 100%;
    padding-left: 0%;
    left: 0%;
  }

  #HomeSectionProject .carousel-caption h5 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  #HomeSectionProject .carousel-indicators li {
    width: 30px;
  }

  .carousel-indicators {
    bottom: 18px;
  }

  #HomeSectionProject h1 {
    font-size: 20px;
  }

  #HomeSectionProject p {
    font-size: 12px;
    font-weight: bold;
  }

  #HomeSectionSignIn .carousel-item {
    height: 50vh;
  }
#HomeSectionProject .carousel-caption h5 {
	display: none;
}

#HomeSectionProject .carousel-indicators li {
	display: none;
}

#HomeLogin .login-text {
    font-size: 15px;

}

#HomeSectionEvents .event-text {
	font-size: 15px;
	width: 75%;
}
	#HomeLogin .griglia {
    float: left;
	width:100%;
	padding:20px 20px;
  }
	
	
	.homelogin-container {
    padding: 10px 20px !important;
}

#HomeLogin img {
    width: 40% !important;
}

p {
    font-size: 15px !important;
}
	
	.cuore-mobile {
    display: none;
}
	#HomeLogin .login-title {
		margin-bottom: 20px;
        margin-top: 30px;
}
	
	.login-mobile {
    display: block;
		padding-bottom:30px;
}
	
	#HomeLogin.home-slide {
    height: auto !important;
}
	
	#HomeCtc.home-slide {
    height: 140vh !important;
}
	span a {
    font-size: 20px;
}
	
	.small a{
    font-size: 14px !important;
    font-weight: 400;
}
	
}

/* small mobile :320px. */

@media only screen and (min-width: 480px) and (max-width: 599px) {
  #HomeHeader .carousel-item {
    height: 65vh;
  }

  #HomeSectionSignIn .carousel-item {
    height: 65vh;
  }

  #HomeSectionEvents .carousel-item {
    height: 65vh;
  }

  .navbar {
    display: none;
  }

  #HomeSectionEvents .img-bg {
    width: 100%;
  }

  #HomeSectionEvents .icon-calendar {
    width: 1.5rem;
    margin-top: -0.7rem;
    margin-right: 0.5rem;
  }

#HomeSectionProject .carousel-caption h5 {
	display: none;
}

#HomeSectionProject .carousel-indicators li {
	display: none;
}

#HomeLogin .login-text {
    font-size: 15px;

}

#HomeSectionEvents .event-text {
	font-size: 15px;
	width: 75%;
}
	
	#HomeLogin .griglia {
    float: left;
	width:100%;
	padding:20px 20px;
  }
	
	.homelogin-container {
    padding: 10px 20px !important;
}

#HomeLogin img {
    width: 40% !important;
}

p {
    font-size: 15px !important;
}
	#HomeLogin.home-slide {
    height: auto !important;
}
	.small a{
    font-size: 80% !important;
    font-weight: 400;
}
}

@media only screen and (min-width: 276px) and (max-width: 479px) {
  #HomeHeader {
    background: url(../Images/Home/logo-stefunwine-mobile.svg);
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: center;
    background-size: cover;
  }

  #HomeLogin {
    background: none;
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: center;
    background-size: cover;
  }

  .homelogin-container {
    margin: auto;
  }

  #HomeSectionEvents .homeevent-container {
    width: 21rem;
    height: 21rem;
  }

  #HomeSectionEvents .event-title {
    font-size: 35px;
  }

  #HomeSectionEvents .event-text {
    font-size: 14px;
  }

  #HomeSocial {
    font-size: 18px;
  }

  #HomeGallery {
    padding: 25px;
  }

  .navbar {
    display: none;
  }

  #HomeLogin .login-title {
    font-size: 35px;
  }
	
	#HomeSectionProject .login-title {
    font-size: 35px;
  }
	

  #HomeSectionEvents .img-bg {
    width: 100%;
  }

  #HomeSectionEvents .calendar {
    margin-top: 1.5rem;
    font-size: 25px;
  }

  #HomeSectionEvents .icon-calendar {
    width: 1.5rem;
    margin-top: -0.9rem;
  }
#HomeSectionProject .carousel-caption h5 {
	display: none;
}

#HomeSectionProject .carousel-indicators li {
	display: none;
}

#HomeLogin .login-text {
    font-size: 15px;

}

#HomeSectionEvents .event-text {
	font-size: 15px;
	width: 75%;
}
	#HomeLogin .griglia {
    float: left;
	width:100%;
	padding:20px 20px;
  }
	
	.homelogin-container {
    padding: 10px 20px !important;
}

#HomeLogin img {
    width: 40% !important;
}

p {
    font-size: 15px !important;
}
	#HomeLogin.home-slide {
    height: auto !important;
}
}


.lightbox {
  background-color: rgba(0, 0, 0, 0.8);
  overflow: scroll;
  position: fixed;
  display: none;
  z-index: 1;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}
.lightbox-container {
  position: relative;
  max-width: 960px;
  margin: 7% auto;
  display: block;
  padding: 0 3%;
  height: auto;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .lightbox-container {
    margin-top: 10%;
  }
}
@media screen and (max-width: 414px) {
  .lightbox-container {
    margin-top: 13%;
  }
}
.lightbox-content {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.lightbox-close {
  text-transform: uppercase;
  background: transparent;
  position: absolute;
  font-weight: 300;
  font-size: 12px;
  display: block;
  border: none;
  color: white;
  top: -22px;
  right: 3%;
}
.video-container {
  padding-bottom: 56.25%;
  position: relative;
  padding-top: 30px;
  overflow: hidden;
  height: 0;
}
.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

/* IGNORE FORM THIS POINT ON */



#playme {
  background: rgba(234, 59, 82, 1);
  font-weight: 400;
  border: none;
  color: white;
  padding: 10px 30px;
  display: inline-block;
  font-size: 22px;
  margin: 0;
}


#HomeLogin img {
	width:20%;
	padding-top:20px;
  }

.cuore {
	position:relative;
	margin:auto;
	width:120px;
	height:96px;
	-moz-transform:rotate(0);
	-webkit-transform:rotate(0);
	-ms-transform:rotate(0);
	-o-transform:rotate(0);
	transform:rotate(0);
}
	.cuore:before {
		content:"";
		width:60px;
		height:96px;
		position:absolute;
		top:0;
		left:60px;
		background:#ea3b52;
		border-radius:60px 60px 0 0;
		-moz-transform:rotate(-45deg);
		-webkit-transform:rotate(-45deg);
		-ms-transform:rotate(-45deg);
		-o-transform:rotate(-45deg);
		transform:rotate(-45deg);
		-moz-transform-origin:0 100%;
		-webkit-transform-origin:0 100%;
		-ms-transform-origin:0 100%;
		-o-transform-origin:0 100%;
		transform-origin:0 100%;
	}
	.cuore:after {
		content:"";
		width:60px;
		height:96px;
		position:absolute;
		left:0;
		top:0;
		background:#ea3b52;
		border-radius:60px 60px 0 0;
		-moz-transform:rotate(45deg);
		-webkit-transform:rotate(45deg);
		-ms-transform:rotate(45deg);
		-o-transform:rotate(45deg);
		transform:rotate(45deg);
		-moz-transform-origin:100% 100%;
		-webkit-transform-origin:100% 100%;
		-ms-transform-origin:100% 100%;
		-o-transform-origin:100% 100%;
		transform-origin:100% 100%;
	}


a:hover .cuore:before {
		background:#c82333;
	}

a:hover .cuore:after {
		background:#c82333;
	}

.sign-in-cuore {
	z-index:100; 
	position:relative; 
	top:17px; 
	font-size:22px;
}

