/* 
Design with ❤️ by Andrea Madaschi for Croce Rossa Italiana - Comitato di Bergamo OdV

*/

/** stili vari doppiati**/
.bg-primary-2 {
    background-color: var(--color-primary);
    color: white;
}

/** temporanei **/
.t4-megamenu .dropdown-menu {
    background-color: var(--color-primary);
}


/** START HEADER **/
.not-at-top #t4-header.t4-sticky{
    background-color: var(--color-primary);
}
.logo-img {
    padding: 1rem 0;
}
/*.not-at-top .navbar-brand {
    max-width: 10%;
}*/
.mx-auto {
    margin-right:0px!important ;
}

/** END HEADER **/

/** START CAROUSEL **/
.carousel-caption {
    bottom:auto;
    top:25%;
}
/** END CAROUSEL **/

.text-body-primary {
    color: var(--color-primary);
}
.text-bg-primary {
    background-color: var(--color-primary)!important;
}

.zindex-100000 {
    z-index: 100000;
}

.bg-pers .img{
    object-fit:cover;!important
}

.videofullscreen{
  position:absolute;
  overflow: hidden;
  width:100% !important;
  height:100% !important;
  object-fit: cover;

}

.no-container {
    padding: 0;!important
    margin:0;!important
}

.no-container .container{
    min-width: 100%;
    max-width: 100%;
    padding: 0;
    margin:0;!important
}

.aaa {
    z-index: 1!important;
}
.bbb {
    z-index: 2;
    position: relative;
}



/* Position text in the middle of the page/image */
.bg-text {
    margin: 100px;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;
  transform: none;
  z-index: 2;
  max-width: 80%!important;
  
  text-align: center;
}

.bg-cover .custom  {
    background-size: cover!important;
}

.teatro .t4-section-inner {
    padding:0!important;
}

.fiaccolata .t4-section-inner {
    padding:0!important;
}

/**footnav**/
.t4-footnav .t4-module .navbar .nav>li a.nav-link {
    color:#f1f1f1;
}

/**PERCORSI CAMMINATA**/
.btn-green {
    background-color: green;
}
.btn-red {
    background-color: red;
}

.patrocinio {
    max-width: 70%;
    display: grid
}

.t4-sponsor img  {
    margin: 1em;

    max-width: 100%;
}

/**@include media-breakpoint-down(sm) {
    .t4-sponsor img  {
        padding: 0em;
    }
}**/
.accordion {
    --t4-accordion-bg: transparent;
    --t4-accordion-btn-focus-border-color: transparent;
    --t4-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(37, 0, 97, 0.25);
}

.accordion-button:not(.collapsed) {
    color: var(--color-light);
    background-color: var(--color-primary);
    box-shadow: none;
}






/**CORREZIONI BOOTSTRAP**/
.border-primary {
    border-color: var(--color-primary)!important;
}





/**TYPED JS**//**
@import url(http://fonts.googleapis.com/css?family=Ubuntu:400,500);
* {
  padding: 0;
  margin: 0; }
 
body {
  font-family: "Ubuntu", sans-serif;
  font-size: 100%;
  background: #f8f8f8; }
 
a {
  text-decoration: none;
  color: #666; }
  a:hover {
    color: #999; }
 
p {
  line-height: 2em;
  margin: 0 0 20px; }
 
.wrap {
  max-width: 700px;
  margin: auto; }
 
.header {
  width: 100%;
  min-height: 450px;
  margin: 0 auto 30px;
  padding: 10px 0;
  background-size: 100%; }
  @media screen and (max-width: 1500px) {
    .header {
      background-size: auto; } }
  .header .h1 {
    margin: 10px 0 20px;
    font-size: 2.5em;
    text-align: center;
    color: #fff;
    text-shadow: #000 0px 2px 4px; }
 
.head-wrap {
  margin: 30px auto 30px;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  text-align: center; }
 
.tagline {
  display: block;
  padding: 20px 0 0;
  opacity: 0;
  color: #fff;
  font-weight: 600;
  text-shadow: #000 0px 1px 3px;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out; }
 
.shift-text {
  margin: 80px auto 110px; }
  .shift-text .text-body {
    height: 120px; }
  .shift-text .tagline {
    opacity: 0.9; }
 
/* text editor styles *//*
.text-editor-wrap {
  display: block;
  margin: auto;
  max-width: 530px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.8) 0px 20px 70px;
  clear: both;
  overflow: hidden;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out; }
 
.title-bar {
  padding: 5px 0;
  font-family: "Lucida Grande", sans-serif;
  font-size: 0.75em;
  text-align: center;
  text-shadow: rgba(255, 255, 255, 0.8) 0px 1px 0px;
  background-color: #f8f8f8;
  background-image: -webkit-linear-gradient(top, #e8e8e8, #bcbbbc);
  background-image: -moz-linear-gradient(top, #e8e8e8, #bcbbbc);
  background-image: linear-gradient(top, #e8e8e8, #bcbbbc);
  box-shadow: inset rgba(255, 255, 255, 0.7) 0px 1px 1px;
  border-bottom: #6a6a6a 1px solid; }
 
.text-body {
  height: 250px;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 10px;
  color: #f0f0f0;
  text-shadow: #000 0px 1px 0px;
  font-family: "Consolas", "Courier New", "Courier";
  font-size: 1.75em;
  line-height: 1.40em;
  font-weight: 500;
  text-align: left;
  overflow: hidden;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out; }
 
.h2 {
  margin: 10px 0; }
 
.note {
  text-align: center; }
 
.inline-code {
  padding: 2px 5px;
  background: #fff;
  border: #CCC 1px solid;
  border-radius: 4px; }
 
hr {
  margin: 20px 0;
  border: 0;
  border-bottom: #fff 1px solid;
  border-top: #f0f0f0 1px solid; }
 
pre {
  margin: 0 auto 20px;
  padding: 20px;
  color: #444;
  font-family: "Consolas", "Courier New", "Courier";
  font-weight: 500;
  background: #fff;
  border: #EEE 1px solid;
  border-radius: 10px;
  overflow: auto; }
 
.typed-cursor {
  opacity: 1;
  font-weight: 100;
  -webkit-animation: blink 0.7s infinite;
  -moz-animation: blink 0.7s infinite;
  -ms-animation: blink 0.7s infinite;
  -o-animation: blink 0.7s infinite;
  animation: blink 0.7s infinite; }
 
@-keyframes blink {
  0% {
    opacity: 1; }
 
  50% {
    opacity: 0; }
 
  100% {
    opacity: 1; } }
@-webkit-keyframes blink {
  0% {
    opacity: 1; }
 
  50% {
    opacity: 0; }
 
  100% {
    opacity: 1; } }
@-moz-keyframes blink {
  0% {
    opacity: 1; }
 
  50% {
    opacity: 0; }
 
  100% {
    opacity: 1; } }
@-ms-keyframes blink {
  0% {
    opacity: 1; }
 
  50% {
    opacity: 0; }
 
  100% {
    opacity: 1; } }
@-o-keyframes blink {
  0% {
    opacity: 1; }
 
  50% {
    opacity: 0; }
 
  100% {
    opacity: 1; } }
.btn-wrap {
  display: block;
  margin: 0 auto 1em;
  clear: both;
  text-align: center; }
 
.btn {
  display: inline-block;
  position: relative;
  margin: 0 10px 5px;
  text-align: left;
  vertical-align: top; }
  @media screen and (max-width: 500px) {
    .btn {
      display: block; } }
  .btn > a {
    display: block;
    position: relative;
    padding: 0.8em 1.75em 0.7em;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.3) 0px -1px 0px;
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1em;
    text-align: center;
    background-color: #3479b4;
    border-radius: 4px;
    z-index: 0;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out; }
    .btn > a:hover {
      background-color: #4f92cc; }
  .btn p {
    line-height: 1em; }
    .btn p a {
      color: #333; }
      .btn p a:hover {
        color: #CCC; }


        @import url(https://fonts.googleapis.com/css?family=Ubuntu:400,500);

*{
	padding:0;
	margin:0;
}

body{
	font-family: "Ubuntu", sans-serif;
	font-size: 100%;
	background:#f8f8f8;
}

a{
	text-decoration: none;
	color:#666;
}
a:hover{
	color:#999;
}

button {
	padding: 10px;
	border-radius: 3px;
	background: #E0E0E0;
	border: #CCC 1px solid;
}

p{
	line-height: 2em;
	margin:0 0 20px;
	text-align: center;
}

hr{
	border: 0;
	border-bottom: #CCC 2px solid;
	margin: 30px auto;
}

.title{
	font-size: 4em;
}

.wrap{
	max-width: 600px;
	margin:50px auto;
}

.type-wrap{
	margin:10px auto;
	padding:20px;
	background:#f0f0f0;
	border-radius:5px;
	border:#CCC 1px solid;
}

.links{
	margin:20px 0;
	font-size: 0.75em;
}
**/