/*
 * 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.jpg');
  background-repeat: repeat-y;
  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;
}

.title-form {
  margin-top: 10px;
  font-size: 1.2rem
}

.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: 13px;
  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;
  text-align: justify;
}

.cover-heading-2 {
  padding: 0.5rem;
  background-color: #E63036;
  margin-bottom: 20px;
  color: #FFF;
  text-align: center;
}

.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;
}
#terms {
  height: 200px;
  overflow-y: scroll;
}

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

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

td > p {
  margin-bottom: 0px !important;
}
.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 {
 background-color: #fff;
 color: #005297;
 padding-bottom: 20px;
 /* border-top: 1px solid #005297; */
}
footer img {
  margin-bottom: 20px;
}

.footer_text {
  /* text-align: center; */
  padding-top: 10px;
}

footer a {
  color: #005297;
}

footer a:hover {
  text-decoration: underline;
  color: #005297;
}

.footer_hr {
  margin-top: 0px; 
  margin-bottom: 0px; 
  width: 90%; 
  border: 1px solid #e73138;
}

@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: #d5dadd;
}

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

.cf_link {
  color: #005297 !important;
}
.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;
}

.no-arrow {
  -moz-appearance: textfield;
}
.no-arrow::-webkit-inner-spin-button {
  display: none;
}
.no-arrow::-webkit-outer-spin-button,
.no-arrow::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ---AUTOCOMPLETE--- */

.typeahead {
  z-index: 1051;
}

.typeahead.tt-hint {
  color: lightgrey;
}

.tt-suggestion.tt-cursor,
.tt-suggestion:hover {
  color: #000;
  background-color: #e9ecef;
}

/*If using icon span before input, like <i class="fa fa-asterisk prefix"></i>*/

span.twitter-typeahead {
  /* width: calc(100% - 3rem); */
  /*   margin-left: 3rem; */
  width: 100%;
}

/* Aspect of the dropdown of results*/

.typeahead.dropdown-menu,
span.twitter-typeahead .tt-menu {
  min-width: 100%;
  background: white;
  /*as large as input*/
  border: none;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  border-radius: 0;
  /* font-size: 1.2rem; */
}

/*Aspect of results, done*/
span.twitter-typeahead .tt-suggestion {
  /*   color: #4285f4; */
  cursor: pointer;
  padding: 1rem;
  text-transform: capitalize;
  font-weight: 400;
}
/* md */
.form-group.input-material {
  position: relative;
  margin-top: 50px;
  margin-bottom: 50px;
}
.form-group.input-material label {
  color: #b1bbc4;
  font-size: 16px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 7px;
  transition: 0.1s ease all;
  -moz-transition: 0.1s ease all;
  -webkit-transition: 0.1s ease all;
}
.form-group.input-material .form-control {
  border: none;
  border-bottom: 2px solid #ced4da;
  border-radius: 0px;
  background: transparent;
  padding-left: 5px;
  box-shadow: none;
  /* active state */
  /* invalid state */
}
.form-group.input-material .form-control:focus,
.form-group.input-material .form-control[value]:not([value=""]) {
  border-bottom-color: #007bff;
  color: #000;
}

/* ---LEGAL---*/
.title_legal {
  background: #ededed;
  padding-left: 3px;
  font-weight: bold;
  text-align: left;
}

.blue {
  color: #005297;
}

.subtitle {
  color: #e63036;
  font-weight: bold;
}
ul.letter_list {
  list-style-type: lower-alpha;
}
ul.roman_list {
  list-style-type: upper-roman;
}

.overflow-auto {
  overflow: auto !important;
}
.scorri_label {
  background: #fb8c00;
  padding: 15px;
  margin-bottom: 20px;
}

.scorri_label p {
  margin-bottom: 0px;
  font-weight: bold;
  color: #fff;
  font-size: 20px;
  text-align: center;
}
.red {
  color: #e63036;
}
.cv_margin {
  margin-top: 15px;
}