body {
  padding-top: 3em;
  margin-bottom: 6em; /* por footer fixed-bottom (la altura crece al disminuir el tamaño) */
}

/* HEADER
-------------------------------------------------- */
#header {
  height: 26px;
}

#header .logo {
  margin: 0;
  padding: 4px;
}

#header .logo img {
  max-height: 50px;
}

/* NAVBAR
-------------------------------------------------- */
.navbar .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar .navbar-nav .nav-link {
  color: #ffffff;
  font-size: 1.1em;
  padding-right: 1.2em;
}


.navbar .navbar-nav .nav-item {
  position: relative;
}

.navbar .navbar-nav .nav-item::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #ffffff;
  width: 0%;
  content: "";
  height: 4px;
}

.navbar .navbar-nav .nav-item:hover::after {
  width: 100%;
}

.active {
  font-weight:bold;
}

/* RETURN TO TOP (ADMIN PAGES)
-------------------------------------------------- */
#return-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
  display: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#return-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  left: 16px;
  top: 13px;
  font-size: 19px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#return-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
}

#return-to-top:hover i {
  color: #fff;
  top: 5px;
}

/* PHOTO PAGE
-------------------------------------------------- */
.photo-wrapper {
  margin-top: -56px;
  height:350px;
}

.photo-wrapper img {
  object-fit: cover;
  min-width: 100%;
  height:350px;
}

.photo-wrapper h1 {
  margin-top: -70px;
  font-size:220%;
  font-weight:800;
  text-align: center;
  color:#011A99;
  text-shadow: 0 0 1px #011a99,
    0 0 10px #F2F3F4,
    0 0 30px #ffffff;
}

@media (max-width: 768px) {
  .photo-wrapper img {
    object-fit:fill;
  }

  .photo-wrapper h1 {
    margin-top: -80px;
  }
}

/* CONTENT
-------------------------------------------------- */
.content-wrapper {
  background: #fff;
  margin:0 auto 2em auto;
  padding: 0;
}

.content-text {
  color: #546069;
  text-align: justify;
  font-size: 1.1em;
}

.content-text li {
  line-height:170%;
}

@media (max-width: 768px) {
  .content-text {
    padding: 0 1em 2em 1em;
  }
}

/* FOOTER
-------------------------------------------------- */
.footer-wrapper {
  margin-top: 2em;
  background: #F4F4F4;
  /*background: radial-gradient(circle, rgba(87,158,110,1) 0%, rgba(76,154,111,1) 50%, rgba(96,141,137) 100%);*/
  padding-top: 10px;
  text-align: center;
}

.footer-text {
  color:#1B1811;
  font-size: 90%;
  font-weight: 600;
  margin: 0;
  padding: 0 0 0.1em 0;
  text-align: center;
}

.footer-txt {
  font-size: 100%;
  font-weight: 600;
}


/* HOME
-------------------------------------------------- */
.home-img {
  background: #FFFFFF;
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}

/* SCIENTIFIC PROGRAM
-------------------------------------------------- */
.scientific_program {
  /*width:100%;
  font-size: 14px;  */
}

.sp_table {
  width: 100%;
  color:#000000;
  border: 1px solid black;
  text-align:left;
}

.sp_table th {
  border: 1px solid black;
  padding:5px 10px;
  vertical-align:middle;
  text-align: center;
  background: #C00000;
  color:#ffffff;
}

.sp_table td {
  border: 1px solid black;
  padding:5px 10px;
  vertical-align:middle;
}

.sp_table p {
  margin: 0;
}

.sp_day {
  font-size: 120%;
  font-weight:800;
  background: #4E79C1;
  color:#FFCB03;
}

.sp_hour {
  width: 8em;
  text-align: center;
}

.sp_conf {
  color: #0000ff;
}

.sp_title0 {
}

.sp_title1 {
  font-weight:600;
}

.sp_title2 {
  font-weight:600;
  font-style: italic;
}

.sp_name {
  font-weight:800;
}

.sp_green {
  background: #E2EFD9;
}

.sp_blue {
  background: #D9E2F3;
}

.sp_session {
  vertical-align:top;
  background: #FAE2D5;
}

.sp_session td {
  vertical-align:top;
  background: #FAE2D5;
}

.sp_sep {
  font-size:6px;
  padding:0;
}

.sp_link {
  font-weight:700;
  text-decoration: none;
  color:#000000;
}

.sp_mesa_title td {
  text-align: center;
  font-weight:700;
  font-size: 120%;
  background: #C00000;
  color:#ffffff;
}

.sp_mesa td {
  vertical-align:top;
}

.sp_label {
  width: 9em;
  font-style: italic;
}

.p_main div.row {
  margin-bottom: 4px;
  margin-top: 4px;
  border: 1px solid;
}

.p_mesa_title {
  text-align: center;
  font-weight:700;
  font-size: 120%;
  background: #8A193A;
  color:#ffffff;
}

.p_label {
  color:#2E5894;
  text-align:left;
  font-style: italic;
}

.p_title1 {
  font-weight:600;
}


.inscription-new-form th {
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #E0E0E0;
  margin: 0 2em;
  padding: .5em 2em;
}