/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.interior {
  margin: 0 auto;
  max-width: 58em;
  width: 100%;
}

section {
  min-height: 100vh;
}

.main_footer {
  bottom: 0;
  color: #fff;
  font-size: 0.8em;
  padding: 0.5em 0;
  position: fixed;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}


/* ============================= Menu =================================  */

.logo {
  cursor: pointer;
}

.main_header > .interior {
  display: flex;
  display: -webkit-flex;
padding-top: 1em;
}

.head_logo h1 {
  display: none;
}

.main_header .head_logo > a {
  background-image: url("../img/seven_logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 3.3em;
  width: 10em;
}

.main_header .menu {
  list-style: outside none none;
  margin: 0.5em 0 0;
  padding: 0;
}
.main_header .menu > li {
  display: inline-block;
  margin: 0 0.5em;
}
.main_header .menu li > a {
  font-size: 0.85em;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
}

.main_header .menu li > a:hover {
    color: #ef7521;
}

.main_header {
  position: absolute;
  width: 100%;

}

.head_logo {
  width: 20%;
}
.head_menu {
  text-align: right;
  width: 80%;
}


.menu li:hover > ul {
display: block;
}

.menu li ul {
  display: none;
  padding: 0;
  position: absolute;
  text-align: left;
  margin: 0;
  padding-top: 1em;
  list-style: none;
}

.header .menu li ul {
  background-color: rgba(255, 255, 255, 1);
  list-style: outside none none;
  margin-left: -1em;
  margin-top: 0;
  padding-top: 0;
  z-index: 1;
}

.header .menu li ul li {
  line-height: 1em;
  padding: 0.5em 1em;
}

.header .menu li ul li:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

/* ============================= Menu 2 =================================  */

.header > .interior {
  display: flex;
  display: -webkit-flex;
}

.head_logo h1 {
  display: none;
}

.header .head_logo > a {
  background-image: url("../img/seven_logo_blue.svg");
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 3.3em;
  margin-top: 0.75em;
  width: 9.5em;
}

.header .menu {
  list-style: outside none none;
  padding: 0;
}
.header .menu > li {
  display: inline-block;
  height: 4.5em;
  line-height: 4em;
  margin: 0 0.5em;
  padding: 0 0.35em;
}

.header .menu > li:hover {
background-color: rgba(28, 54, 96, 0.1);
}

.header .menu li > a {
  font-size: 0.85em;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  color: #1c3660;
  cursor: pointer;
}

.header .menu li > a:hover {
    color: #ef7521;
}


.header {
  background-color: rgba(255, 255, 255, 1);
  background-image: url("../img/white_line.png");
  background-position: top center;
  background-size: cover;
position: fixed;
width: 100%;
z-index: 99999;
opacity: 0;
transform:translateY(-100%);
-webkit-transform:translateY(-100%);
transition: all 0.3s ease 0s;
-webkit-transition: all 0.3s ease 0s;
}

.fixed_head .header {
  opacity: 1;
transform:translateY(0%);
-webkit-transform:translateY(0%);
}

.head_logo {
  width: 20%;
}
.head_menu {
  text-align: right;
  width: 80%;
}

.header::after {
  background-image: url("../img/sombra.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  content: " ";
  display: block;
  height: 1em;
  position: absolute;
  width: 100%;
}


/* ============================= Home =================================  */

.home {
  background-image: url("../img/bg_home.jpg");
background-position: center center;
background-size: cover;
}

.home h2 {
  color: white;
  font-size: 2.25em;
  font-weight: 600;
  left: 50%;
  line-height: 1.2em;
  position: absolute;
  text-align: center;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.arrow_down {
  bottom: 12%;
  color: #fff;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.arrow_down > img {
  display: block;
  margin: 1em auto;
}



/* ============================= Quienes =================================  */

.quienes {
  background-image: url("../img/quienes_somos_bg.jpg");
  background-position: center center;
  background-size: cover;
}

.quienes .interior {
  height: 100vh;
  position: relative;
}

.quienes > h2 {
  background-image: url("../img/pestana_azul.png");
  background-position: center top;
  background-repeat: repeat-x;
  background-size: contain;
  color: #ef7521;
  font-weight: 300;
  height: 3.4em;
  line-height: 3.2em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.quienes article {
    font-size: 0.85em;
    width: 100%;
}

.col_2_container {
  background-color: #fff;
  color: #4d4d4d;
  display: flex;
  display: -webkit-flex;
  font-weight: lighter;
}

.col_2 > h3 {
  font-weight: 600;
  margin: 0;
}

.col_2:first-child {
  background-image: url("../img/quienes_bg_b.jpg");
  background-position: center bottom;
  background-repeat: no-repeat;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  color: #4d4d4d;
}

.quienes_list_cont {
  display: flex;
  display: -webkit-flex;
  padding: 1em;
}

.quienes_list_cont > div {
  width: 50%;
}

.quienes_list {
  list-style: outside none none;
  margin: 0;
  padding: 0;
}

.quienes_list > li {
  background-color: #ececec;
  background-image: url("../img/bg_skew.png");
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
  color: #1c3660;
  display: block;
  font-weight: 600;
  margin-bottom: 0.5em;
  padding: 0.5em 1em;
  width: 100%;
}
.quienes_list_cont p {
  color: #ef7521;
  margin: 0 0 1em;
}

.quienes_list_cont > div img {
  margin-top: 2em;
}

.footer_container {
  background-color: rgba(28, 54, 96, 0.6);
  color: #fff;
  font-weight: lighter;
  margin-top: 1em;
  display: flex;
  display: -webkit-flex;
}

.quienes_list_cont_foot {
  display: flex;
  display: -webkit-flex;
}
.quienes_list_cont_foot div {
  width: 50%;
}
.quienes_list_cont_foot div:nth-child(2) {
  background-color: #5472a1;
  color: white;
  font-weight: lighter;
  text-align: center;
  margin-bottom: 1.5em;
}

.quienes_list_cont_foot span {
  font-size: 2.5em;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

.quienes_list_cont_foot img {
  width: 50%;
}

.quienes .col_2 > p {
  margin: 1em;
}

.quienes .col_2:nth-child(2) {
  background-image: url("../img/quienes_bg_a.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

.quienes_foot {
  background-color: rgba(255, 255, 255, 0.7);
  bottom: 1.5em;
  color: #1c3660;
  font-weight: 500;
  min-height: 6.3em;
  padding: 1em;
  position: absolute;
}






.footer_container > div {
   padding: 1em; 
}

.footer_container > div:first-child {
  background-color: #30466d;
  color: #ef7521;
  font-size: 2em;
  font-weight: lighter;
  line-height: 2em;
  padding: 0.5em;
  text-align: center;
  text-transform: uppercase;
  width: 25%;
}

.footer_container > div:nth-child(2) {
  width: 60%;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.footer_container > div:nth-child(3) {
  width: 15%;
}

.footer_container img {
  display: block;
  margin: 0 auto;
  width: 70%;
}

.quienes article {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}




/* ============================= Que hacemos =================================  */

.que {
  background-image: url("../img/qhacemos_bg.jpg");
  background-position: center center;
  background-size: cover;
}

.que .interior {
  height: 100vh;
  position: relative;
}

.que > h2 {
  background-image: url("../img/pestana_azul.png");
  background-position: center top;
  background-repeat: repeat-x;
  background-size: contain;
  color: #ef7521;
  font-weight: 300;
  height: 3.4em;
  line-height: 3.2em;
  margin: 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.graphic_container {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 50%;
}

.graphic_container > img {
  position: absolute;
  width: 100%;
}

.graphic_container > img:first-child {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -58%);
  -webkit-transform: translate(-50%, -58%);
  width: 50%;
  z-index: 10;
}

.graphic_container > img:nth-child(2) {
  position: relative;
  width: 100%;
}

.graphic_container > img {
  position: absolute;
  width: 100%;
}

.info_box > h3 {
  background-color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1em;
  padding: 0.5em;
}

.info_box > p {
  background-color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1em;
  padding: 0.5em;
}

.info_box {
  color: #666666;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 27em;
  font-size: 0.75em;
}

.info_box.orange_box {
  margin-left: -36%;
  margin-top: -13%;
}

.info_box.red_box {
  margin-left: -40.5%;
  margin-top: 11%;
  width: 20em;
}

.info_box.blue_box {
  margin-left: 19%;
  margin-top: 22%;
  width: 21em;
}

.info_box.dark_blue_box {
  margin-left: 40%;
  margin-top: 5%;
  width: 21em;
}

.info_box.green_box {
  margin-left: 36%;
  margin-top: -14%;
}

.info_box.orange_box > h3 {
  color: #ef7521;
  text-decoration: underline;
}
.info_box.red_box > h3 {
  color: #cb003c;
  text-decoration: underline;
}
.info_box.blue_box > h3 {
  color: #009ee2;
  text-decoration: underline;
}
.info_box.dark_blue_box > h3 {
  color: #002c5c;
  text-decoration: underline;
}
.info_box.green_box > h3 {
  color: #93c01f;
  text-decoration: underline;
}




/* ============================= Portafolio =================================  */

.galeria {
  background-image: url("../img/portafolio_bg.jpg");
background-position: center center;
background-size: cover;
}

.galeria .interior {
  position: relative;
  color: white;
  padding-bottom: 5em;
}

.galeria > h2 {
  background-image: url("../img/pestana_azul.png");
  background-position: center top;
  background-repeat: repeat-x;
  background-size: contain;
  color: #ef7521;
  font-weight: 300;
  height: 3.4em;
  line-height: 3.2em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.galeria_box {
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  margin-top: 3em;
}


.galeria article {
  margin-top: 3em;
}


.title_box {
  text-align: center;
}

.title_box > .text {
  font-size: 1.5rem;
}

.galeria .title_box {
  padding-top: 2em;
  text-transform: uppercase;
}

.galeria_item {
  background-position: center center;
  background-size: cover;
  display: block;
  height: 35vh;
  position: relative;
  width: 23%;
  margin: 1%;
}

.galeria_item:hover > .gal_item_bg {
  opacity: 1;
}

.gal_item_bg {
  background-color: rgba(0, 44, 92, 0.9);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;

  transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
}

.gal_item_bg > img:first-child {
  display: block;
  margin: 1em auto;
}
.gal_title {
  color: #ef7521;
  font-size: 1em;
  font-weight: lighter;
  margin: 0;
  text-align: center;
}
.gal_item_bg > img:nth-child(4) {
  display: block;
  margin: 1em auto;
}
.gal_subtitle {
  color: #5472a1;
  display: block;
  font-size: 0.85em;
  text-align: center;
}
.gal_type {
  background-color: #ef7521;
  bottom: 0;
  font-size: 0.75em;
  left: 50%;
  padding: 0.5em 1em;
  position: absolute;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}




/* ============================= noticias =================================  */

.noticias {
  background-image: url("../img/noticias_bg.jpg");
background-position: center center;
background-size: cover;
}

.noticias .interior {
  position: relative;
  color: white;
}

.noticias > h2 {
  background-image: url("../img/pestana_azul.png");
  background-position: center top;
  background-repeat: repeat-x;
  background-size: contain;
  color: #ef7521;
  font-weight: 300;
  height: 3.4em;
  line-height: 3.2em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  position: absolute;
  width: 100%;
}

.alert_box {
  background-color: rgba(255, 255, 255, 0.6);
  color: #1c3660;
  left: 50%;
  margin: 0 auto;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 70%;
}

.alert_box > h4 {
  font-weight: 700;
}

.alert_box > p {
  font-size: 0.85em;
}

.orange_btn.goto_contacto {
  background-color: #ef7521;
  display: inline-block;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.5em 1em;
  text-transform: uppercase;
}



/* ============================= contacto =================================  */

.contacto {
  background-image: url("../img/contacto_bg.jpg");
background-position: center center;
background-size: cover;
padding-bottom: 3.5em;
}

.contacto .interior {
  color: white;
  min-height: 100vh;
  position: relative;
}

.contacto > h2 {
  background-image: url("../img/pestana_azul.png");
  background-position: center top;
  background-repeat: repeat-x;
  background-size: contain;
  color: #ef7521;
  font-weight: 300;
  height: 3.4em;
  line-height: 3.2em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  position: absolute;
  width: 100%;
}

.mapa {
  margin-bottom: 3em;
  margin-top: 7em;
  width: 100%;
}

.google_map_link {
  color: white;
  font-size: 0.85em;
  text-decoration: none;
  padding: 0.5em 0
}

.google_map_link::before {
  background-color: white;
  content: " ";
  display: inline-block;
  height: 1px;
  position: relative;
  top: -3px;
  width: 43%;
}

.google_map_link::after {
  background-color: white;
  content: " ";
  display: inline-block;
  height: 1px;
  position: relative;
  top: -3px;
  width: 42%;
}

.contact_info {
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  display: -webkit-flex;
  font-size: 0.85em;
  margin-top: 1em;
  padding: 2em;
  position: relative;
}
.contact_info > div:nth-child(1) {
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  margin-right: 1em;
  padding-right: 1em;
  width: 30%;
}
.contact_info > div:nth-child(2) {
  width: 70%;
}
.orange_btn.send_form {
  position: absolute;
}

.input_form {
  background-color: rgba(28, 54, 96, 0.6);
  border: 0 none;
  border-radius: 0.3em;
  display: inline;
  margin-bottom: 0.5em;
  padding: 0.4em 0.5em;
  width: calc(50% - 1.2em);
}

.textarea_form {
  background-color: rgba(28, 54, 96, 0.6);
  border: 0 none;
  border-radius: 0.3em;
  display: inline;
  height: 9em;
  margin-bottom: 1.3em;
  padding: 0.4em 0.5em;
  width: calc(100% - 1.2em);
}

.orange_btn.send_form {
  background-color: orange;
  bottom: 0;
  color: #1c3660;
  display: block;
  font-weight: 600;
  padding: 0.5em 2em;
  position: absolute;
  right: 2.2em;
  text-decoration: none;
  text-transform: uppercase;
}



.modal_container {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: -1;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
}

.open .modal_container {
  opacity: 1;
  z-index: 99999;
}

.open {
  overflow: hidden;
}

.bg_close {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: -1;
}

/*
.modal {
  background-color: #002c5c;
  color: #fff;
  font-size: 0.85em;
  left: 50%;
  max-width: 55em;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 80%;
}
*/

.modal {
  background-color: #002c5c;
  color: #fff;
  font-size: 77%;
  left: 50%;
  max-width: 55em;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 40%;
}
.ajax_content > img {
  width: 100%;
}

.portafolio_info {
  display: flex;
  display: -webkit-flex;
  font-size: 0.85em;
  padding: 1em 1em 3em;
  border-top: 1px solid #ef7521;
}

.portafolio_info ul {
  margin: 0;
}

.ajax_content > h2 {
  background-color: rgba(0, 44, 92, 0.7);
  color: #ef7521;
  font-weight: lighter;
  margin: 0 0 0 1em;
  padding: 0.5em;
  position: absolute;
}

.close_modal {
  background-color: white;
  margin-right: 1em;
  padding: 1em;
  position: absolute;
  right: 0;
  cursor: pointer;
}

.portafolio_type {
  background-color: #ef7521;
  bottom: 0;
  color: white;
  display: inline-block;
  font-weight: 500;
  padding: 0.5em 1em;
  position: absolute;
  right: 1em;
}

.noticias article {
  display: flex;
  flex-wrap: wrap;
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
  padding-top: 8em;
}
.noti_box {
  background-color: #002c5c;
  text-align: right;
  width: calc(33% - 1em);
  margin: 0.5em;
  position: relative;
}
.noti_image {
  background-image: url("../img/posts/post_01.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 10vw;
  width: 100%;
}
.noti_info {
  padding: 1em;
  text-align: left;
  margin-bottom: 1.5em;
}
.noti_info > h4 {
  color: #ef7521;
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
}
.noti_box span {
  display: inline-block;
  font-size: 0.7em;
  margin-bottom: 0.5em;
}
.noti_text {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.85em;
  padding-top: 0.5em;
}
/*
.read_more {
  background-color: #ef7521;
  color: white;
  display: inline-block;
  font-size: 0.85em;
  margin-right: 1em;
  padding: 0.3em 0.5em;
  text-decoration: none;
}
*/
.read_more {
  background-color: #ef7521;
  bottom: 0;
  color: white;
  display: block;
  font-size: 0.85em;
  margin-right: 1em;
  padding: 0.3em 0.5em;
  position: absolute;
  right: 1em;
  text-decoration: none;
}


.noticia_modal {
  background-color: rgba(25, 55, 93, 0.9);
  bottom: 0;
  left: 0;
  overflow: auto;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
}
.ful_noti_container {
  margin: 7em auto 5em;
  max-width: 50em;
  width: 100%;
}
.ful_noti_container > img {
  max-height: 28em;
  width: 100%;
}
.full_noti_info > h2 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 400;
  margin: 0.5em 0;
  padding-bottom: 0.5em;
  text-align: center;
  text-transform: uppercase;
  color: #EC7430;
}
.full_noti_info > div:nth-child(2) {
  font-size: 0.8em;
  text-align: center;
}
.full_noti_info > div:nth-child(3) {
  font-size: 0.9em;
  margin-top: 1.5em;
}
.close_modal_noti {
  background-color: #ec7430;
  color: white;
  cursor: pointer;
  height: 2.5em;
  padding-top: 2em;
  position: fixed;
  right: 8vw;
  text-align: center;
  top: 0;
  width: 3em;
}
.full_noti_info {
  background-color: rgba(0, 0, 0, 0.3);
  margin-top: 0.5em;
  padding: 1em;
}
.open_noti .noticia_modal {
  opacity: 1;
  visibility: visible;
}

body.open_noti{
  overflow: hidden;
}

.open_modal_noti {
  cursor: pointer;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 50em) {
    /* Style adjustments for viewports that meet the condition */
    .head_menu {
  display: none;
}
.head_logo {
  width: 100%;
}
.main_header .head_logo > a {
  margin: 0 auto;
}
.home h2 {
  font-size: 8vw;
}


.quienes article {
  left: 0;
  position: relative;
  top: 0;
  transform: none;
  -webkit-transform: none;
}
.col_2_container {
  display: block;
}
.quienes_list_cont {
  display: block;
  padding: 1em;
}
.quienes_list_cont > div {
  width: 100%;
}
.quienes_list_cont > div img {
  margin-bottom: 2em;
  margin-top: 0;
}
.quienes_list_cont_foot {
  display: block;
}
.quienes_list_cont_foot div {
  display: none;
}
.quienes_list_cont_foot div:nth-child(2) {
  display: block;
  width: 100%;
  margin: 0;
}
.quienes .interior {
  height: auto;
  min-height: 100vh;
  position: relative;
}
.quienes_foot {
  bottom: auto;
  position: relative;
}
.quienes .col_2 > p {
  padding: 1em;
  margin: 0;
}


.que .interior {
  height: auto;
  min-height: 100vh;
  padding-top: 5em;
  position: relative;
}
.info_box {
  color: #666666;
  font-size: 0.75em;
  left: 0;
  position: relative;
  top: 0;
  transform: none;
  -webkit-transform: none;
  width: 100%;
}
.info_box p {
display: block;
}

.info_box.orange_box, .info_box.dark_blue_box, .info_box.blue_box, .info_box.green_box, .info_box.red_box {
  margin-left: 0;
  margin-top: 0;
  width: auto;
}

.graphic_container {
  display: none;
}
.galeria article {
  margin-top: 0;
}
.galeria_item {
  width: 100%;
}
.galeria .interior {
  height: auto;
  min-height: 100vh;
}

.noti_box {
  width: 100%;
}
.noti_image {
  height: 50vw;
}

.google_map_link {
  display: block;
  text-align: center;
}
.google_map_link:before {
  display: none;
}
.google_map_link:after {
  display: none;
}
.contact_info {
  display: block;
}
.contact_info > div:nth-child(1) {
  border: 0 none;
  margin-bottom: 2em;
  margin-right: 0;
  padding-right: 1em;
  width: 100%;
}
.contact_info > div:nth-child(2) {
  width: 100%;
}
.header .head_logo > a {
  display: block;
  margin: 0.75em auto 0;
}

.interior {
  margin: 0 auto;
  max-width: 58em;
  width: calc(100% - 2em);
}

.quienes_list > li {
  width: 91%;
}
.modal {
  width: 100%;
}

.portafolio_info {
  border-top: 1px solid #ef7521;
  display: flex;
  display: -webkit-flex;
  font-size: 0.85em;
  margin-bottom: 4em;
  padding: 1em;
}
/*.info_box > p {
  display: inline-block;
}*/
.ajax_content > h2 {
  font-size: 1.4em;
}

.que {
  padding: 1em
}


}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
