/* Estilos de fuente */
@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Cormorant+Infant:wght@500;700&family=STIX+Two+Math&family=Source+Serif+Pro:wght@600&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

header::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.2;
  position: absolute;
}

header {
  background: url(../img/contablesHeader.png) no-repeat center center;
  box-sizing: border-box;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: relative;
}

header .SM {
  background-color: #0262b0 !important;
  overflow-x: hidden;
  display: flex;
  padding: 0 2%;
  height: 5.5vh;
  position: relative;
}

.SM .contacts {
  width: 82%;
  display: inline-flex;
  border-right: #ffffff solid;
}

.SM .contacts p {
  color: #ffff;
  font-size: 95%;
  margin: 0 2%;
}

.SM .media ul {
  margin: 1% 0 0;
  padding: 0;
}

.SM .media ul li {
  display: inline-block;
  width: 25px;
  margin: 2px 5px 0px 5px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 4px;
}

.SM .media ul li a {
  color: #0262b0;
  display: block;
  width: 100%;
  height: 100%;
  font-size: 18px;
}

/* --------- Line Top ---------*/

header .line_top hr {
  position: relative;
  margin-top: 4px;
  width: 100%;
  height: 7px;
  background-color: #0262b0;
}

/* ----------- Header ----------- */

.container_H {
  padding: 0 2% 15%;
}

header img {
  width: 237px;
  height: auto;
  margin-left: 0px;
}

header .navbar {
  background-color: transparent !important;
  padding: 0;
  margin-top: 0;
}

.container_H nav button {
  font-size: 40px;
  outline: none;
  border: none;
}

.container_H button i {
  color: #0262b0;
}

.container_H nav ul li a {
  color: #0262b0 !important;
  font: normal normal bold 18px/21px Arial;
}

.container_H nav ul div {
  background-color: transparent !important;
  border: none;
}

.container_H nav ul div a {
  background-color: transparent !important;
}

/* ----------- Title Header ----------- */

.title_header {
  position: relative;
  width: 100%;
  display: flex;
}

header .title_header hr {
  width: 70px;
  margin-left: 0px;
  background-color: #931201;
  height: 4px;
}

header .title_header h1 {
  font: normal normal bold 50px/45px Source Serif Pro;
  color: #053249;
  margin: 6% 0 6%;
  text-align: start;
}

@media screen and (max-width: 747px) {
  header .media {
    width: auto;
  }
  .container_H {
    width: auto;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 640px) {
  header .contacts p {
    margin: 0 auto;
  }
  .container_H {
    padding: 0 0 15%;
  }
}
/* --- Barra --- */

.line_div hr {
  background-color: #f0f3f7;
  height: 10px;
  border: none;
  width: 100%;
}

/* --- Record --- */

section .Record__Nav {
  margin: 0 5%;
}

.Record__Nav ul {
  margin: 0 1%;
}

.Record__Nav ul li {
  display: inline-block;
}

.Record__Nav ul li a {
  margin: 0;
  padding: 0;
}

.Record__Nav ul li p {
  font: normal normal bold 14px/16px Arial;
  color: #0262b0;
}

/* --- Services --- */

.Services {
  overflow-x: hidden !important;
  background-color: #f0f3f7;
  display: flex;
}
.Container_Services .services {
  margin: 0 5% 5%;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 780px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.services .contents_Services {
  margin: 0 2%;
  padding: 0;
}

.contents_Services h3 {
  color: #0262b0;
  font-family: Source Serif Pro;
  margin-bottom: 4%;
}

.contents_Services hr {
  background-color: #9b2617;
  height: 3px;
  width: 60px;
  margin-left: 0%;
}

.contents_Services .link_Services {
  text-align: right;
  margin-bottom: 5%;
}

.link_Services a {
  color: #931201;
  font: normal normal bold 16px/18px Arial;
}

.services .imgs {
  margin: auto;
  padding: 0 5%;
}

.services .imgs img {
  margin: auto;
}

/* -------------------- other services --------------------  */

section .visit {
  margin: 0 2% 0 6%;
}

.visit hr {
  margin-left: 0;
  background-color: #931201;
  height: 4px;
  width: 80px;
}

.visit h2 {
  font: normal normal bold 35px/48px Source Serif Pro;
  color: #0262b0;
}

.visit ul .contables {
  opacity: 0.49;
  pointer-events: none;
}

.visit ul li {
  display: inline-block;
  margin: 0 2% 0 0;
}

.visit ul img {
  width: 173px;
}

.visit ul hr {
  margin-bottom: 1px;
  margin-left: 0;
  background-color: #931201;
  height: 3px;
  width: 55px;
}

.visit ul p {
  font: normal normal normal 14px/20px Source Serif Pro;
  color: #0262b0;
}

@media screen and (max-width: 880px) {
  section .visit ul {
    text-align: center;
  }
}

/* -------------------- Footer -------------------- */

.container_footer {
  background-color: #053249;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 2% 5%;
}

ul {
  list-style-type: none;
  padding: 0%;
}

/* ----------- Logo Footer ----------- */

.container_footer .logo {
  margin: 0 5% 0 0;
}

.container_footer .logo img {
  width: 250px;
}

/* ----------- Service Footer ----------- */

.container_footer .Services_footer {
  width: 100%;
  justify-content: center;
}

.container_footer .Services_footer h3 {
  text-align: start;
  font: normal normal Arial;
  color: #fafafa;
}

.container_footer .Services_footer hr {
  background-color: #fafafa;
  margin: 0;
  height: 3px;
  width: 80px;
}

.container_footer .Services_footer .services-footer {
  margin-top: 2%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.services-footer .list_footer {
  margin-right: 10%;
  text-align: start;
}

.services-footer .list2_footer {
  text-align: start;
}

.services-footer ul li a {
  color: #fafafa;
  font: normal normal 18px/21px Arial;
}

/* ----------- Contacs Footer ----------- */

.container_footer .contacts_footer {
  margin: 0;
  width: 70%;
}

.contacts_footer .footer_btn {
  text-align: center;
}

.contacts_footer .footer_btn ul li a {
  color: #fafafa;
  font: normal normal 18px/21px Arial;
}

.contacts_footer .footer_btn ul li p {
  color: #fafafa;
  margin-top: 2%;
  font: normal normal 18px/21px Arial;
}

/* --- Media Footer --- */

.media_footer ul {
  justify-content: center;
  display: flex;
  width: 100%;
  margin-bottom: 7%;
}

.media_footer ul li {
  text-align: center;
  display: inline-block;
  margin: 0 5%;
  width: 30px;
  background-color: #fafafa;
  border-radius: 4px;
}

.media_footer ul li a {
  color: #053249;
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  font-size: 20px;
}

@media screen and (max-width: 880px) {
  .container_footer {
    flex-direction: column;
    padding-bottom: 5%;
    margin: 0 auto;
  }

  .container_footer .logo {
    text-align: center;
    margin: 0 0 5% 0;
  }

  .container_footer .Services_footer {
    text-align: center;
    margin: 0 0 5% 0;
  }

  .container_footer .Services_footer h3 {
    text-align: center;
  }

  .container_footer .Services_footer hr {
    text-align: center;
    margin: 0 auto;
  }

  .Services_footer .services-footer {
    margin: 0 auto;
    justify-content: center;
  }

  .Services_footer .services-footer .list_footer {
    margin: 0 auto;
    padding: 0 2%;
    text-align: center;
  }

  .Services_footer .services-footer .list2_footer {
    margin: 0 auto;
    padding: 0 2%;
    text-align: center;
  }

  .container_footer .contacts_footer {
    width: 100%;
    margin: 0;
  }

  .contacts_footer .footer_btn {
    text-align: center;
  }

  .contacts_footer .footer_btn ul li a {
    margin-top: 0;
  }

  .contacts_footer .footer_btn ul li p {
    margin-top: 0;
  }

  .media_footer ul {
    justify-content: center;
    margin-bottom: 2%;
  }
}

.footer_down {
  padding: 0% 5%;
  width: 100;
  text-align: center;
  background-color: #cccccc;
}

.footer_down p {
  color: #fafafa;
  display: inline-block;
  padding: 4px 0;
  margin: 0;
  align-items: center;
  font: normal normal normal 15px/18px Arial;
}
