body {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  background: #2e407d;
}
input:invalid, textarea:invalid {
  border: none;
  box-shadow: none;
  outline: none;
}
.wrapper {
  background: #fff;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.owl-carousel .owl-item img {
  width: auto;
  margin: auto;
}
section, .footer {
  overflow: hidden;
}
p:not(:first-child) {
  margin-top: 1em;
}
p a {
  color: #2e407d;
}
p a:hover {
  text-decoration: underline;
}

.top {
  background: #2e407d;
  color: #fff;
  padding-top: .5em;
  padding-bottom: .5em;
}
.top .container {
  display: flex;
  justify-content: flex-end;
  -webkit-justify-content: flex-end;
  align-items: center;
}/*
.top .container a {
  display: inline-block;
}
.top .container .search {
  display: inline-block;
}*/
.top a:not(:first-child) {
  margin-left: .5em;
}
.top, .header, .footer, section {
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}
.header {
  background: #fff;
}
.header .logo {
  max-width: 180px;
}
.nav {
  text-transform: uppercase;
  color: #2e407d;
}
.nav li:not(:first-child) {
  margin-left: 2em;
}
.nav a {
  display: block;
  letter-spacing: .125em;
  max-width: initial;
  text-align: center;
}
.nav a {
  transition: all 200ms;
  border-bottom: solid 1px transparent;
}
.nav .active a {
  border-color: #00aeef;
}
.nav a:hover, .nav .active a {
  color: #00aeef;
}
.search {
  margin-right: 40px;
}
.search form {
  text-transform: uppercase;
  color: #808080;
  display: flex;
}
#q {
  font-family: Nunito, sans-serif;
  flex-basis: 200px;
  box-sizing: border-box;
  padding: .2em 1em;
  background-color: #122461;
  letter-spacing: .125rem;
  text-transform: uppercase;
  border: 1px solid #122461;
  font-size: 12px;
  transition: all 200ms;
}
#q::placeholder {
  color: #00aeef;
  font-size: 12px;
}
#q:focus {
  border: 1px solid #00aeef;
  outline: none; 
}
.search button {
  flex: 1;
  background: #00aeef;
  color: #fff;
  padding: .2em .5rem;
  line-height: inherit;
  width: 20px;
  text-align: center;
  box-sizing: content-box;
}
.slider {
  position: relative;
}
.home-slider {
  padding-bottom: 30%;
  position: relative;
  background: #000;
}
#video video {
  width: 85%;
  display: block;
  margin: 0 auto;
}
.video {
  padding-bottom: 40%;
  overflow: hidden;
  position: relative;
}
.video video {
  position: absolute;
  top: 33.33333333%;
  left: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%;
  min-height: 100%;
}
.service video {
  width: 100%;
  display: block;
}
.welcome {
  background: #eee;
  padding-top: 80px;
  padding-bottom: 80px;
}
.welcome img {
  margin: auto;
  min-width: 480px;
  width: 480px;
}
.heading {
  font-size: 1.7em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .125em;
  text-align: center;
  position: relative;
  line-height: 1.25;
}
.heading:not(:first-child) {
  margin-top: 1em;
}
.heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #808080;
  margin: 1em auto 2em;
}
#contact {
  padding-bottom: 80px;
}
.main {
  padding-top: 120px;
  padding-bottom: 40px;
}
.main .grid > li {
  padding: 5px;
}
.main .sello {
  position: absolute;
  width: 200px;
  right: 100px;
  top: -89px;
}
.logos {
  padding-top: 20px;
  padding-bottom: 60px;
}
.logos .container, #rse .container {
  max-width: 800px;
}
.grid {
  list-style-type: none;
}
#rse .grid {
  border-bottom: solid 1px #2e407d38;
  margin-bottom: 20px;
}
#rse .grid:last-child {
  border-bottom: none;
}
#rse .button {
  padding: 4px 8px;
  font-size: 11px;
  text-transform: uppercase;
}
span.button {
  display: inline-block;
  margin-top: .5em;
}
.inner-container {
  position: relative;
}
.main .inner-container {
  padding-bottom: 100%;
}
.img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.img img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
}
.img-container::before {
  content: '';
  pointer-events: none;
  background: rgba(0, 0, 0, .2);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: .25s;
}
.img-container:hover::before {
  background: rgba(0, 0, 0, .75);
}
.main h3 {
  color: #fff;
  text-transform: uppercase;
  padding: 2em;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  line-height: 1;
  letter-spacing: .125rem;
}
.somos {
  padding-top: 60px;
  padding-bottom: 60px;
}
.action {
  margin-top: 20px;
}
.header-page {
  position: relative;
  display: flex;
  background-color: #2e407d;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 400px;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 30px;
  color: #fff;
  margin-left: -20px;
  margin-right: -20px;
}
.header-page:after {
  content: '';
  pointer-events: none;
  background: rgba(0, 0, 0, 0.33);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: .25s;
}
.header-page .heading {
  z-index: 15;
  text-shadow: 1px 1px 2px rgba(73, 73, 73, 1);
}
.header-page .heading::after {
  background: #fff;
}
.footer {
  background: #2e407d;
  color: #fff;
  padding-top: 30px;
  padding-bottom: 20px;
}
.footer p {
  font-size: 12px;
  line-height: 1.25;
  margin-top: 0 !important;
}
.footer h3 {
  font-weight: 600;
  margin-bottom: 1em;
}
.footer .flex {
  border-top: 1px solid #aaa;
  text-transform: uppercase;
  margin-top: 20px;
  padding-top: 20px;
  letter-spacing: .125em;
}
.footer-nav ul {
  display: flex;
  justify-content: space-between;
}
.footer-nav li:not(:first-child) {
  margin-left: 2em;
}
.footer-nav a:hover {
  color: #fff;
}
.footer p a {
  color: #fff;
}
.social-fixed {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  margin: 0;
  padding: 0;
  z-index: 1000;
}
.social-fixed li a {
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 19px;
}
.social-fixed li a.facebook {
  background-color: #4267b2;
}
.social-fixed li a.youtube {
  background-color: #ff2a2a;
}
.social-fixed li a.instagram {
  background: -webkit-radial-gradient(70% 70%,ellipse,#ee583f 8%,#d92d77 42%,#bd3381 58%);
  background: radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);
}
.social-fixed li a.linkedin {
  background-color: #0073b1;
}
.content {
  padding-top: 40px;
  padding-bottom: 40px;
}
#company .container {
  max-width: 800px;
}
.gray {
  background: #ddd;
}
.gray.service {
  margin-bottom: 0px;
}
div.gray {
  margin-bottom: 40px;
}
.gray .inner-container {
  padding: 40px 60px;
}
.gray.service .inner-container {
  max-width: 600px;
  margin: 40px auto;
}
.content ul:not(.grid):not(.owl-carousel):not(.results) {
  list-style: square;
  column-count: 2;
  column-gap: 40px;
  max-width: 400px;
  margin: auto;
}
.service ul:not(.grid) {
  margin: 1em;
  list-style: square;
}
.content ul:not(.grid):not(.owl-carousel):not(.results):not(.pagination) > li, .service ul:not(.grid) > li {
  padding: 0 1em;
}
.owl-carousel.flex {
  height: 100%;
}
.owl-carousel.flex .owl-stage-outer, .owl-carousel.flex .owl-stage-outer * {
  height: 100%;
}
.owl-carousel.flex .img {
  padding-bottom: 0;
}
.main-content {
  flex: 1;
}
.sidebar {
  flex-basis: 360px;
  margin-left: 40px;
}
.content#noticias {
  padding-top: 0;
}
/*
#noticias .grid > li:first-child {
  width: 100%;
}
#noticias .grid > li:first-child .img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0;
}

#noticias .grid > li:first-child .inner-container {
  padding: 60px 0;
}
#noticias .grid > li:first-child .caption {
  max-width: 800px;
}
#noticias .grid > li:first-child h3 {
  text-align: center;
}
#noticias .caption {
  padding: 40px;
  position: relative;
  background: #ddd;
  font-size: 16px;
}
*/
#noticias .heading::after {
  margin-bottom: 1em;
}
.button-container {
  text-align: right;
}
#noticias .button-container {
  margin-top: 1em;
}
.more {
  text-transform: uppercase;
  font-weight: 600;
}
.more:hover, h3 a:hover {
  text-decoration: underline;
}
.container-small {
  max-width: 800px;
  text-align: center;
}
.form-group {
  overflow: hidden;
}
.ajax-form .grid {
  margin: -10px;
}
.ajax-form .grid > li {
  padding: 10px;
}
form:not(.ajax-form) label {
  display: block;
  font-weight: 600;
}
.ajax-form label {
  float: left;
  margin-right: .5em;
}
.ajax-form .overflow-hidden {
  border-bottom: 1px solid #ccc;
}
form:not(.ajax-form) .form-control {
  border-bottom: 1px solid #ccc;
  max-width: 360px;
}
form:not(.ajax-form) .form-group:not(:first-child) {
  margin-top: 1em;
}
.ajax-form .form-control {
  width: 100%;
  box-sizing: border-box;
}
.ajax-form {
  padding-top: 80px;
}
.red {
  color: #c00;
}
.button {
  display: inline-block;
  padding: .25em 2.5em;
  background: #2e407d;
  color: #fff;
}
.iframe-container {
  position: relative;
  padding-bottom: 0;
  width: 100%;
  margin: auto;
  margin-top: 0;
}
.iframe-container iframe {
  width: 100%!important;
}
/*.iframe-container > * {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}*/
.img-block {
  width: 100%;
}
.share {
  text-align: right;
}
.share a {
  display: inline-block;
  font-size: 1.25em;
  text-decoration: none;
  color: #fff;
  line-height: 2;
  width: 2em;
  text-align: center;
  border-radius: 50%;
}
.share .fa-facebook-f {
  background: #3b5998;
}
.share .fa-twitter {
  background: #4099ff;
}
.share .fa-whatsapp {
  background: #34af23;
  display: none;
}
#post h1 {
  font-size: 1.7em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .125em;
  line-height: 1.25;
}
#post .excerpt {
  font-size: 16px;
}
.html-content {
  margin-top: 20px;
}
.html-content > *:not(:first-child) {
  margin-top: 1em;
}
.sidebar > div:not(:first-child) {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ccc;
}
.other .caption {
  margin: 30px 40px;
}
.archive ol {
  padding: 0 40px;
  margin-top: 1em;
}
.archive {
  padding-bottom: 20px;
}
.other h3.heading {
  font-size: 16px;
  text-align: left;
}
.archive h3 {
  font-weight: 600;
  font-size: 16px;
}
.content .flex {
  align-items: flex-start;
}
.overflow-hidden.form-group-file {
  border-color: transparent;
}
.results h3 {
  font-weight: 600;
  font-size: 16px;
}
.results li:not(:first-child) {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}
.overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  opacity: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
}
.overlay .message {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #2e407d;
  padding: 1em;
  margin: 0;
  display: inline-block;
  color: #fff;
  display: none;
}
.owl-dots {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
}
.somos .owl-dots {
  position: static;
  margin-top: 20px;
}
.owl-dot {
  display: block;
  width: 8px;
  height: 8px;
  border: 2px solid #ddd;
  transition: .25s;
  margin: 0 2px;
  border-radius: 50%;
}
.owl-dot.active, .owl-dot:hover {
  background: #ddd;
}
.alert {
  display: inline-block;
  padding: .5em 1em;
  background: #c00;
  color: #fff;
}
.countdown {
  padding-top: 0px;
  padding-bottom: 40px;
  color: #2e407d;
  text-transform: uppercase;
  text-align: center;
}
.date table {
  max-width: 360px;
  margin: auto;
  table-layout: fixed;
}
.date .td-header td {
  font-size: 3em;
  font-weight: bold;
}
.date td {
  padding: .5em;
}
.pager {
    margin-top: 40px;
    text-align: center;
}
.pagination {
    display: flex;
    list-style: none;
    justify-content: center;
    list-style: none !important;
}

.pagination li > * {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
}
.pagination li.active > * {
    background-color: #2e407d;
    color: white;
}

.pagination li:hover:not(.active) > * {background-color: #ddd;}
.pagination li > * {
    border-radius: 5px;
}

.pagination li.active > *{
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
.date{
    font-size:11px;
}
.footer-nav{
    width: 100%;
}
}