/**
* Template Name: OnePage - v4.9.2
* Template URL: https://bootstrapmade.com/onepage-multipurpose-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: 'Montserrat', sans-serif;
  color: #444444;
  line-height: 1.7;
  font-size: 16px;
  
}

a {
  color: #DB2021;
  text-decoration: none;
}

a:hover {
  color: #7A6B37;
  text-decoration: none;
}

p{
  margin-bottom: 1rem;
}
.anuncio{
  padding: 16px 0;
  
  border-top:  1px solid #ccc;
  font-weight: 600;
  font-size: 20px;
  color: #124265!important;
  text-align: center;
}
.anuncio span{
  font-weight: 800;
  color: #ffffff;
  background-color:#DB2021 ;
  padding: 8px;
  border-radius: 10px;
  margin-left: 10px;
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #DB2021;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #7A6B37;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #DB2021;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}



.menu-secundario .sub-navbar {
  background-color: #fff!important;
  color: #000!important;
  box-shadow: 0px 2px 15px rgba(18, 66, 101, 0.08);
}
.menu-secundario .sub-navbar a {
  background-color: #fff!important;
  color: #000!important;
  box-shadow: none;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  background: #ffffff;
  z-index: 997;
  padding: 15px 0;
  border-bottom: 1px solid #e6f2fb;
}

#header.header-scrolled {
  border-color: #fff;
  box-shadow: 0px 2px 15px rgba(18, 66, 101, 0.08);
}

#header .logo {
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #DB2021;
}

#header .logo a {
  color: #DB2021;
}

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

@media (max-width: 992px) {
  #header .logo {
    font-size: 14px;
  }
}
#header-top{
  margin-top: 53px;
  height: 60px;
  background-color: #fff;
  box-shadow: 0 0 29px 0 rgba(18, 66, 101, 0.08);

}
#header-top h1 {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  position: relative;
  background-color: transparent;
  background-image: url("../img/ban.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 100px;

}

@media (min-width: 1180px) {
  #hero {
    background-size: contain;
  }
}


#hero:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  padding-top: 80px;
}

#hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 72px;
  color: #124265;
  text-shadow: 1px -1px 1px rgba(255,255,255,0.4);
}

#hero h2 {
  color: #5e5e5e;
  margin: 10px 0 0 0;
  font-size: 22px;
}

#hero .btn-get-started {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 14px 50px;
  border-radius: 5px;
  transition: 0.5s;
  margin-top: 30px;
  color: #fff;
  background: #DB2021;
}

#hero .btn-get-started:hover {
  background: #7A6B37;
}

#hero .icon-boxes {
  margin-top: 100px;
}

#hero .icon-box {
  padding: 50px 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(18, 66, 101, 0.08);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

#hero .icon-box .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#hero .icon-box .title a {
  color: #124265;
  transition: 0.3s;
}

#hero .icon-box .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

#hero .icon-box .icon {
  margin-bottom: 20px;
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 36px;
  line-height: 1;
  color: #DB2021;
}

#hero .icon-box:hover {
  transform: scale(1.08);
}

#hero .icon-box:hover .title a {
  color: #DB2021;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-height: 800px) {
  #hero {
    height: auto;
    background-size:contain ;
  }
}

@media (max-width: 992px) {
  #hero {
    height: auto;
    background-size: cover ;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 45px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f8fbfe;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 40px;
  padding-bottom: 0;
  color: #124265;
}

@media (max-width: 480px) {
  .section-title p {
    font-size: 16px;
  }
}


.section-title h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
  padding-bottom: 0;
  color: #DB2021;
}

@media (max-width: 820px) {
  section  {
    padding: 20px 0;
  }
  .section-title h2{
    margin-bottom: 0px;

  }
}
#contact .form-group{
  margin-bottom: 45px;
}
/*--------------------------------------------------------------
# Convocatoria texto
--------------------------------------------------------------*/
.convocatoria .content  {
  text-align: justify;
}
@media (max-width: 720px) {
  .convocatoria .content  {
    text-align: left;
  }
}
.convocatoria h3{
  color: #DB2021;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 1rem;
}

.convocatoria .content ul {
  list-style: circle;
  list-style-position: inside;
  padding: 0;
}

.convocatoria .content ul li {
  padding-left: 28px;
  position: relative;
}

.convocatoria .content ul li+li {
  margin-top: 10px;
}

.convocatoria .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #DB2021;
  line-height: 1;
}

.convocatoria .content p:last-child {
  margin-bottom: 0;
  color: #DB2021;
  font-weight: 600;
}
.convocatoria .content ol li::marker  {
  color: #DB2021;
  font-weight: 600;
}
.convocatoria .content ol li  {
  padding-left: 5px;
  margin-bottom: 1.7rem;
}
.convocatoria .content b  {
  color: #DB2021;
  font-weight: 600;
}

.convocatoria .content .btn-learn-more {
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.3s;
  line-height: 1;
  background: #DB2021;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid #DB2021;
  margin: 12px;
}
@media (max-width: 480px) {
  .convocatoria .content .btn-learn-more   {
    display: block;
  }
}
.convocatoria .content .btn-learn-more:hover {
  background: #ffffff;
  color: #DB2021;
  text-decoration: none;
}



/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #DB2021;
  float: left;
  width: 44px;
  height: 44px;
  background: #e3f0fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #124265;
}

.contact .info p {
  margin-bottom: 0;
  font-size: 14px;
  color: #217bbc;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #DB2021;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}
.form-group p{
  font-weight: 600;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

input{
  color: #DB2021;
}


.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #DB2021;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #DB2021;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #7A6B37;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f8fbfe;
  min-height: 40px;
  margin-top: 72px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 58px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #1a5e90;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  padding: 2rem;
  background: #777777;
  box-shadow: 0px 2px 15px rgba(18, 66, 101, 0.08);
}
#footer img{
  width: 25%;
  margin-right: 2rem;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
  text-transform: uppercase;
  font-size: 600;
  display: inline-flex;
  justify-content: center;
}
@media (max-width: 480px) {
  #footer img{
    width: 71%;
    margin-bottom: 1.5rem;
  }
  #footer .credits {
    display:block;
    
  }
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #DB2021;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 5px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #7A6B37;
  color: #fff;
  text-decoration: none;
}

.modal-header{
  justify-content: center;
  color: #DB2021;
}
.modal-title{
  font-weight: 800;
}
.modal-body{
  text-align: center;
  font-weight: 400;
  font-size: 18px;
  padding: 60px 30px 0px;
}
.modal-body span{
  text-align: center;
  font-weight: 600;
  font-size: 24px;
}
.custom-close{
font-size: 22px;
font-weight: 800;
}

.convocatoria-registro {
  padding-top: 100px;
}
.convocatoria-registro h2{
  font-size: 24px;
  line-height: 1.5;
}
.convocatoria-registro h4{
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
}
.convocatoria-registro h5{
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 10px;
}
.c-rojo{
  color: #DB2021;
}
/* boton top  */
#to_the_top {
  width: 72px;
  height: 72px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  background: url('../img/top_icon.png') no-repeat 0 0;

  z-index: 1000;
/*  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;*/
}
/* /boton top  */