/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

.bg-black {
    background-color: #000;
}

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #cacaca;
  /* background-image: url('../images/background.png'); */
  background-size: 100%;
  background-position: top center;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #000;
  /* text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5); */
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
}


.cover-container {
  max-width: 64em;
  padding-top: 0px!important;
}

.box_registration {
  margin: 20px 0px;
}

.box_description {
  margin: 30px 0px 40px 0px;
}
/*
 * Header
 */

header img {
  width: 100%;
}
.masthead {
  margin-bottom: 0.5rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

/* .header-mobile {
  background-image: url('../images/header.jpg');
  height: 177px;
  background-size: 100%;
  background-position: top center;
  background-repeat: no-repeat;
} */

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.cover-heading {
  padding: 0.5rem;
  background-color: #b51d1d;
  margin-bottom: 0px;
}

.cover-heading-1 {
  padding: 0.5rem;
  color: #0061a0;
  margin-bottom: 20px;
  font-size: 19px;
  text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

.cover-heading-2 {
  padding: 0.5rem;
  background-color: #0061a0;
  margin-bottom: 0px;
  color: #FFF;
}

.card-body h5 {
  color: #b51d1d
}

.card-body .card-text {
  color: #0A194E
}

.legal {
  text-align: justify;
}

.legal h4, .legal h5 {
  margin-top: 20px;
  margin-bottom: 5px;
}

.legal .subtitle{
  margin-bottom: 0px;
}

.box-legal {
  height: 150px;
  overflow-y: scroll;
  text-align: justify;
  border: 1px solid #e2e2e2;
  padding: 10px;
  margin-bottom: 15px;
}

.box-legal h3 {
  font-size: 1.4em
}

.box-legal table {
  text-align: left;
}

.box-legal a {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}

.privacy-check {
  background-color: #fff;
  padding: 10px;
  text-align: left;
  border: 1px solid #e2e2e2;
}

.form-check-label a {
  color: #000;
}
.content {
  min-height: 500px;
}
.content_legal {
  background-color: #FFF;
  padding: 0.5rem;
  background-size: 100%; 
  text-align: left;
}

.content_legal a{
  color: #0061a0;
  text-decoration: underline;
}

.content {
  /* background-image: url('../images/background-content.jpg'); */
  padding: 0.5rem;
  background-size: 100%;
  background: #FFFFFF;
}

#generic_nav_1 {
  background-color: #0061a0;
  color: #FFF;
}

#generic_nav_1 h1 {
  font-size: 20px;
  margin-bottom: 0px;
}

.btn-primary {
  background-color: #0061a0;
  border-color: #0061a0;
}


footer p {
  margin-bottom: 0px;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
  .content {
    /* background-image: url('../images/background-content.jpg'); */
    padding: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .card-text {
    font-size: 0.9rem;
  }
  .content {
    /* background-image: url('../images/background-content.jpg'); */
    padding: 2rem;
  }
}


.content video {
  width: 100%;
}

.video-title {
  background-color: #c3c3c3;
  padding: 1rem;
  text-align: left;
}

.video-title h5 {
  color: #b51d1d;
}

.video-title p {
  color: #0a194e;
}

/* E */ 
/* .fix-height-card {
  min-height: 220px;
}

.fix-height-h5 {
  min-height: 75px;
} */
/* ---end--- */

/*
 * Cover
 */
.cover {
  padding: 0 0rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

.archive {
  /* background-image: url('../images/background-archive.jpg'); */
  padding: 1.5rem 2rem;
}

/*
 * Footer
 */
.mastfoot {
  color: #000;
  background-color: #97c11f;
  padding: 1rem;
  font-weight: bold;
}

.media-body h5 {
  color: #4E5457;
  font-size: 16px;
  font-weight: bold;
}

/*
* Nav
*/
.my-nav {
  /* height:50px; */
  padding: 15px 0px;
  background-color: #FFF;
  width: 100%;
  margin-bottom: 0.5rem;
}

.my-small-nav {
  padding: 5px 0px;
  background-color: #97c11f;
  color: #261452;
  width: 100%;
  margin-bottom: 0.5rem;
}
#generic_nav a  {
  color: black;
}
/* .navbar-nav > li {
  float: right;
  width: 20%;
} */
.doc {
  float: right;
}
.navbar .navbar-nav > li > a {
  padding-top: 15px;
}

.my-nav a:hover {
  padding-top: 15px;
  font-weight: bold;
}

.navbar-nav {
  flex-direction: initial !important;
  width: 100%;
}
.text-left {
  text-align: left;
}
.text_modal {
  color: black;
}

.alert-margin {
  margin-top: 30px !important;
  padding: 20px !important;
}
.close{
  color: #fff !important;
}

#errors label.error,
#errors-mini label.error{
    display: block;
}

#errors .alert, 
#errors-mini .alert {
    margin-bottom: 0px;
}
.space-box {
  margin-bottom: 0.5rem;
}
.space_box_event {
  margin-bottom: 20px;
}

.datetime_font_home {
  font-size: 12px;
}

.box_ok_register {
  text-align: center;
  margin-bottom: 20px;
}

.highlight {
  background: #bbbbbb;
}

.highlight p {
  margin-bottom: 0px;
}

.grey {
  color: #b0aeae;
}

.blue {
  color: #0065a4;
}

.coral {
  color: #f05758;
}

.green {
  color: #8bc63e;
}

.logout {
  color: #bc0b1d !important; 
  font-weight: bold;
}

.tavola_rotonda{
  max-width: 60px !important;
}