body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #F05F40;
}

hr.light {
  border-color: #fff;
}

a {
  text-decoration: none;
  color: #F05F40;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
}

.btn-link{
  background-color: #26214C !important;
  color: #fff;
  padding: 5px 17px;
  font-size: 15px;
  float: right;
  margin-top: 1em;
  border-radius: 25px;
}

.btn-link:hover{
  color: #fff;
}

#services{
  margin-bottom: 2em;
}

#services a{
  text-decoration: none;
}

.bg-primary {
  background-color: #26214C !important;
}

.bg-dark {
  background-image: url("../images/banner.png");
}

.bg-enfermeria {
  background-image: url("../images/tec-enfermeria.png");
}

.bg-premium {
  background-color: #F9F9F9 !important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

#calendar1, #calendar2{
  padding: 20px 0px;
  background: #26214C;
  border-radius: 15px;
}

#calendar1 a, #calendar2 a{
  text-decoration: none;
}

#calendar1 p, #calendar2 p{
  color: #fff;
}

#calendarios .down:hover{
  font-weight: 600;
}

section {
  padding: 2rem 0;
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 600;
  text-transform: uppercase;
  color: red;
  font-family: 'Montserrat', sans-serif;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: red;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #26214c;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #009FE3;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #009FE3 !important;
  font-weight: 600;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: white;
}

@media (min-width: 992px) {
  #mainNav {
    border-color: white;
    background-color: white;
    color: yellow;
  }
  #mainNav .navbar-brand {
    color: yellow;
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: yellow;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #26214c;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #009FE3;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: black;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: black;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #26214c;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #009FE3;
  }
}

header.masthead {
  background-image: url("../images/banner.png");
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  margin-top: -15%;
  font-size: 2rem;
}

header.masthead p {
  font-weight: 300;
}

@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  header.masthead {
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }

  header.masthead h1 {
    font-size: 3rem;
  }
}


@media screen and (max-width: 1200px) {
  #banners, #banners2{
    margin-top: 5%;
  }
}

@media screen and (max-width: 768px) {
  .centrar-img{
    width: 80%;
    display: block;
    margin: auto;
  }
}

@media screen and (max-width: 800px) {
  #slider{
    padding-top: 1%;
  }
}

@media screen and (max-width: 385px) {
  #slider{
    padding-top: 15%;
  }
  #banners, #banners2{
    margin-top: 30%;
  }
}

@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 4rem;
  }
}

.service-box {
  max-width: 400px;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(240, 95, 64, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Montserrat', sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.text-primary {
  color: #F05F40 !important;
}

.btn-boton{
  background: #41c0f0;
  text-decoration: none;
  color: white;
  border-radius: 5px;
  padding: 10px 15px;
}

.titulos{
  background: #009FE3;
  color: #fff;
  padding: 10px 0;
  border-radius: 10px;
}

.titulos h1{
  font-size:36px;
  font-weight: bold;
  text-align: center;
}

#submit{
  background: #41c0f0;
  color: #fff;
  border: none;
  padding: 10px 50px;
  cursor: pointer;
}

#submit:hover{
  background: #009FE3;
}

.btn-boton:hover{
  background:#009FE3;
  color: #fff;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Montserrat', sans-serif;
}

.btn-xl {
  padding: 0.5rem 1.5rem;
  color: #26214C;
}

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

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #ee4b28 !important;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}
