body {
    font-family: 'Titillium Web', sans-serif;
    font-weight:300;
  background-image: url('../images/bg.png');
  background-attachment: fixed;
  background-size: 100%;
  background-repeat: repeat-y;
}

.handtitle {
  font-family: "Corinthia", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 6.7rem;
}

a {
	color: #f22c07;
	text-decoration: none;
    cursor: pointer !important;
}

a:hover {
	color: #9c2715;
}

.minimenu {
    font-size: 0.9rem;
}

.socialico {
	font-size: 4rem;
}

.dida {
  font-size: .9rem;
}

/* eventi news mostre */
.ev_data {
    font-size: 1.7rem;
    color: #cccccc;
    position: relative;
    letter-spacing: 1px;
    display: block;
}

.ev_citta {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
    display: block;
    position: relative;
    left:-27px;
}

.ev_titolovenue {
    font-size: 1.5rem;
    color: #f22c07;
    text-transform: uppercase;
    position: relative;
    top: -20px;
    transform: rotate(-1.8deg);
    display: block;
}

.ev_tipo {
    font-size: 0.9rem;
    color: #f22c07;
    text-transform: uppercase;
    background: none;
    border: 1px solid #fff;
    padding: 3px 8px;
    border-radius: 5px;
    transform: rotate(-2.8deg);
    display: block;
    margin-bottom: 19px;
}

.ev_info {
    font-size: 1.2rem;
    color: #ddd;
    line-height: 1.5;
    text-align: justify;
}

.ev_link {
    display: inline-block;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(to bottom, rgba(242,44,7,1) 0%, rgba(156,39,21,1) 100%);
    padding: 8px 12px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    position: relative;
    left: 20px;
}

.ev_link:hover {
    background: linear-gradient(135deg, #c9302c, #a52723);
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    position: relative;
}

.onwhiteg {
  color:#888888 !important;
}

.onwhite {
  color:#000000 !important;
}

.redborder {
  border: 1px solid #9c2715;
}

.anno {
  text-align: start !important;
  margin-left: 38px;
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d9534f, transparent);
}



.gotop {
  position: fixed;
  bottom:1rem;
  right: 1rem;
  z-index: 99;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .8rem;
        padding-left: .8rem;
    }
}


/*VIDEO*/
header {
  position: relative;
  background-color: black;
  height: 95vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.4;
  z-index: 1;
}

/* Media Query for devices withi coarse pointers and no hover functionality */

/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */

@media (pointer: coarse) and (hover: none) {
  header {
    /*background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;*/
    background-color: #000;
  }

  header video {
    display: block;
    left:36%;
  }
}

/*FINE VIDEO*/

.b-yellow-divider {
  height: 3rem;
  background-color: rgba(156, 39, 21, .9);
  border-top: 5px solid rgba(242, 44, 7, .7);
  border-bottom: 5px solid rgba(156, 39, 21, .9);
  border-width: 5px 0;
  box-shadow: inset 0 .5em 1.5em rgba(242, 44, 7, .7), inset 0 .125em .5em rgba(156, 39, 21, .99);
  background-image: url(../images/bg-title-e.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.b-yellow-divider-legni {
  height: 3rem;
  background-color: rgba(156, 39, 21, .9);
  border-top: 5px solid rgba(242, 44, 7, .7);
  border-bottom: 5px solid rgba(156, 39, 21, .9);
  border-width: 5px 0;
  box-shadow: inset 0 .5em 1.5em rgba(242, 44, 7, .7), inset 0 .125em .5em rgba(156, 39, 21, .99);
  background-image: url(../images/bg-title-e.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.b-yellow-divider-tele {
  height: 3rem;
  background-color: rgba(0, 53, 52, .9);
  border-top: 5px solid rgba(0, 105, 90, .7);
  border-bottom: 5px solid rgba(0, 53, 52, .9);
  border-width: 5px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 105, 90, .7), inset 0 .125em .5em rgba(0, 53, 52, .99);
  background-image: url(../images/bg-title-t.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.b-yellow-divider-altro {
  height: 3rem;
  background-color: rgba(156, 39, 21, .9);
  border-top: 5px solid rgba(242, 44, 7, .7);
  border-bottom: 5px solid rgba(156, 39, 21, .9);
  border-width: 5px 0;
  box-shadow: inset 0 .5em 1.5em rgba(242, 44, 7, .7), inset 0 .125em .5em rgba(156, 39, 21, .99);
  background-image: url(../images/bg-title-e.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.b-yellow-divider-scritte {
  height: 3rem;
  background-color: rgba(156, 39, 21, .9);
  border-top: 5px solid rgba(242, 44, 7, .7);
  border-bottom: 5px solid rgba(156, 39, 21, .9);
  border-width: 5px 0;
  box-shadow: inset 0 .5em 1.5em rgba(242, 44, 7, .7), inset 0 .125em .5em rgba(156, 39, 21, .99);
  background-image: url(../images/bg-title-e.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 1200px) {
    .display-4 {
        font-size: 3.4rem;
    }
}

.b-example-divider {
  height: 3rem;
  background: rgb(242,44,7);
  background: linear-gradient(to bottom, rgba(242,44,7,1) 0%, rgba(156,39,21,1) 100%);
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  background-image: url(../images/bg-title.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 992px) {
  .rounded-lg-3 { border-radius: .3rem; }
}

.fw-mbold {
    font-weight: 400!important;
}

.goldlili {
	color:#d22716;
	font-weight: 500;
}

.liliframe {
	  border: 0; 
	  width: 70%; 
	  height: 753px;
}

@media(max-width:845px) {
  
	.liliframe {
	  border: 0; 
	  width: 99%; 
	  height: 753px;
	}

}


.bg-mare {
  background-image: url(../images/bgmare2.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  bottom:0px;
  left:0px;
  width: 100%;
  height:3.7rem;
}


.shadow-lg {
  background-color: #ffffff;
}


.fancybox__caption {
    text-align: center;
}

div.opere {
    max-height: 1000px; /* Valore sufficientemente grande */
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}


.shadowgray-lg {
    background-color: rgba(255,255,255,0.8);
}

.onlydesktop {
    display:block;
}
.onlymobile {
    display: none;
}

@media(max-width:845px) {
    .onlydesktop {
        display: none;
    }
    .onlymobile {
        display:block;
    }
    .btnserie {
        padding: .2rem .3rem !important;
        font-size: 0.9rem !important;
    }
    .btnseriecont {
        margin-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

.testointroopere {
    display: none;
}

.btn-outline-active {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
