/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  /*padding-bottom: 40px;*/
  color: #5a5a5a;
  /*Funciona*/
  background: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #64686d;
  line-height: 26px;
  min-width: 100%;
  /*padding-top: 5%*/
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    /*color: #272727;*/
    color: #636363;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */
/* Special class on .container surrounding .navbar, used for positioning it into place. */
#main-menu {
  /*background: rgba(255, 255, 255, 0.9);*/
  background: rgb(119, 23, 26);
  opacity: 0.9;
}

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}

/* Login
-------------------------------------------------- */
#login {
  margin-top: 60px;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
/*.carousel {
  height: 600px;
  margin-bottom: 5px;
}*/
.carousel {
    height: auto;
    margin-bottom: 1%;
    /*padding-bottom: 3%;*/
    margin-top: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  /*height: 600px;*/
  height: 640px;
  /*width: auto;*/
}
/*.carousel .item para moviles*/
@media only screen and (min-width: 320px) and (max-width: 320px) {
  .carousel .item {
    /*height: 480px;*/
    width: 320px;
  }
}
@media only screen and (min-width: 360px) and (max-width: 360px) {
  .carousel .item {
    /*height: 640px;*/
    width: 360px;
  }
}
@media only screen and (min-width: 384px) and (max-width: 384px) {
  .carousel .item {
    /*height: 480px;*/
    width: 384px;
  }
}
@media only screen and (min-width: 375px) and (max-width: 375px) {
  .carousel .item {
    /*height: 480px;*/
    width: 375px;
  }
}
@media only screen and (min-width: 412px) and (max-width: 412px) {
  .carousel .item {
    /*height: 732px;*/
    width: 412px;
  }
}
@media only screen and (min-width: 414px) and (max-width: 414px) {
  .carousel .item {
    /*height: 736px;*/
    width: 414px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 768px) {
  .carousel .item {
    /*height: 1024px;*/
    width: 768px;
  }
}

.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
  /*object-fit: fill;*/
  /*overflow: hidden*/
  /*padding-top: 60px;*/
}

/*.carousel-inner > .item > img {
  width: 100%;;
  height: 80%;
  object-fit: cover;
  overflow: hidden;
}*/
/*Agregado*/
#carousel-img {
  background-image: -webkit-linear-gradient(90deg, #6e171a 0%, #6e171a 100%);
  opacity: 0.75;
  font-size: 2.4em;
  color: #fffcfc;
  border-bottom: 2px solid #e8e8e8;
  border-top: 2px solid #e8e8e8;
  margin-bottom: -3.5%;
  width: 100%;
}
@media only screen and (min-width: 320px) and (max-width: 599px) {
  #carousel-img {
    font-size: 1.25em;
    margin-bottom: -12%;
  }
}
@media only screen and (min-width: 768px) and (max-width: 900px) {
  #carousel-img {
    font-size: 2.25em;
    margin-bottom: -8%;
  }
}
/* CUSTOMIZE THE CAROUSEL TESTIMONIAL
-------------------------------------------------- */
#item-testimonial {
    height: 100% !important;
    padding-top: 2% !important;
    width: 100% !important;
    padding-left: 1.5% !important;
    padding-right: 1.5% !important;
}

element.style {
    height: 768.8px;
}
#item-testimonial {
    height: 100% !important;
    padding-top: 2% !important;
    width: 100% !important;
    padding-left: 1.5% !important;
    padding-right: 1.5% !important;
}
.carousel .item {
    /* height: 600px; */
    height: 640px;
    /* width: auto; */
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}
.beta-xref {
  text-decoration: underline;
  /*border-bottom: 3px solid black;*/
}

/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    /*padding-right: -1px;*/
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

/* NAVBAR CSS
-------------------------------------------------- */
.navbar-nav li a {
  text-decoration: none;
  /*color: #337ab7!important;*/
  /*color: #45aed6!important;*/
  color: #ffffff!important;
}

.navbar-nav li a:hover {
  text-decoration: none;
  color: #4d9de2!important;
}

/*.navbar-nav > li > a {
  padding-bottom: 40px;
}*/
.navbar-nav > li.active > a,
.navbar-nav > li.open > a{
  background: transparent;
  /*border-top: 3px solid #4d9de2;*/
  /*border-top: 3px solid #438a99;*/
  border-top: 3px solid #b96e71;
  color: #842e31!important;
}

.navbar-nav > li:hover > a {
  background: transparent;
  /*border-top: 3px solid #4d9de2;*/
  border-top: 3px solid #b96e71;
  color: #b96e71!important;
}

/* Nuestros servicios labels CSS
-------------------------------------------------- */
.media-heading-modal {
  text-align: -webkit-auto !important;
  padding-top: 2.7% !important;
  font-size: inherit !important;
  color: #5597d0 !important;
}

.media-heading-modal-last {
  /*padding-top: 2.2% !important;*/
  padding-top: 1.25% !important;
  /*font-size: smaller !important;*/
  font-size: inherit !important;
  color: #5597d0 !important;
}

.media-heading-modal:hover {
  color: #337ab7 !important;
}

.media-heading-modal-last:hover {
  color: #337ab7 !important;
}

/* Nuestros Servicios Icons CSS
-------------------------------------------------- */
/*.media.service-box:first-child {
  margin-top: 80px;
}*/
.media.service-box {
  /*margin: 25px 0;*/
  margin-top: 1.5%;
}
.media.service-box .pull-left {
  margin-right: 20px;
}
.media.service-box .pull-left > i {
  font-size: 24px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  width: 64px;
  border-radius: 100%;
  /*color: #45aed6;*/
  color: #842e31;
  box-shadow: inset 0 0 0 1px #d7d7d7;
  -webkit-box-shadow: inset 0 0 0 1px #d7d7d7;
  transition: background-color 400ms, background-color 400ms;
  position: relative;
}
.media.service-box .pull-left > i:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  margin-top: -10px;
  right: -10px;
  border: 4px solid #fff;
  border-radius: 20px;
  /*background: #45aed6;*/
  background: #842e31;
}
/*.media.service-box:hover .pull-left > i {
  background-image: -moz-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -webkit-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -ms-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  color: #fff;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.8);
  -webkit-box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.8);
}*/
.media.service-box:hover .pull-left > i {
  background-image: -moz-linear-gradient(90deg, #842e31 0%, #842e31 100%);
  background-image: -webkit-linear-gradient(90deg, #842e31 0%, #842e31 100%);
  background-image: -ms-linear-gradient(90deg, #842e31 0%, #842e31 100%);
  color: #fff;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.8);
  -webkit-box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.8);
}

/*Agregado*/
/* Responsive Iframe CSS
-------------------------------------------------- */
/*Puedo usar padding-bottom: 56.25%; para 16:9 y padding-bottom: 75%; para 4:3*/

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.embed-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 98%;
    height: 100%;
}

/* CSS de los titulos de cada seccion
-------------------------------------------------- */
.section-header {
  margin-bottom: 50px;
}
.section-header .section-title {
  font-size: 2em;
  font-weight: 600;
  /*color: #272727;*/
  color: #636363;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 20px;
  margin: 0 0 20px;
}
.section-header .section-title:before {
  content: "";
  position: absolute;
  width: 140px;
  bottom: 0;
  left: 50%;
  margin-left: -70px;
  height: 1px;
  background: #ebebeb;
}
.section-header .section-title:after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: -11px;
  left: 50%;
  margin-left: -12px;
  border: 5px solid #fff;
  border-radius: 20px;
  /*background: #45aed6;*/
  background: #842e31;
}

/*Funciona*/
/* CSS de los titulos de cada seccion y contenedores de certificados
-------------------------------------------------- */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 3%;
}
/*.certificate-row {
  margin-left: 20% !important;
  margin-right: 20% !important;
  margin-bottom: 20%;
}*/
.testimonial-row {
  margin-left: 15% !important;
  margin-right: 15% !important;
}
.row-contact {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#testimonial-container {
  /*background-image: -webkit-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);*/
  background-image: -webkit-linear-gradient(90deg, #6e171a 0%, #380002 100%);
  width: 100%;
}
#testimonial {
  height: 100%;
  color: #fff !important;
  font-weight: 600;
}
}
.testimonial h2 {
  color: #fff !important;
}
#certificaciones-container {
  background: #eeeeee;
  width: 100%;
}
#cert {
  /*padding-bottom: 3%;*/
  padding-bottom: 25px;
}

#certificaciones {
  margin-top: 5%;
}

/* get-in-touch Section CSS
-------------------------------------------------- */

#get-in-touch {
  width: 100%;
  padding-left: 0%;
  padding-right: 0%;
}
#get-in-touch .container{
  padding-top: 5%;
  width: auto !important;
  opacity: 0.75;
  color: #fffcfc;
}
#get-in-touch h1,
#get-in-touch h2 {
  color: #fff;
}

/* contact Section CSS
-------------------------------------------------- */
#contact {
  position: relative;
  overflow: hidden;
}
#contact .container-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(69, 174, 214, 0.3);
  z-index: 1;
}
#contact .contact-form {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  margin-top: 50px;
}
#contact .contact-form h3 {
  margin-top: 0;
}
#contact .container-wrapper .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-right: auto;
  margin-left: auto;
}
/* #Selections CSS
-------------------------------------------------- */
#selections {
    /*background-image: -webkit-linear-gradient(90deg, #2c8cb3 0%, #2caab3 100%);*/
    /*opacity: 0.9;*/
    text-align: -webkit-auto;
    position: relative;
    width: 100%;
    font-size: 1.25em;
    color: #636363;
}

/* Footer CSS
-------------------------------------------------- */
/*#footer {
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
  background: #2e2e2e;
}
#footer a {
  color: #fff;
}
#footer a:hover {
  color: #45aed6;
}
#footer ul {
  list-style: none;
  padding: 0;
  margin: 0 -7.5px;
}
#footer ul > li {
  display: inline-block;
  margin: 0 7.5px;
}
@media only screen and (min-width: 768px) {
  #footer .social-icons {
    float: right;
  }
}*/
.form-control {
  box-shadow: none;
  -webkit-box-shadow: none;
}

/* Portfolio CSS
-------------------------------------------------- */
#portfolio {
  padding: 100px 0;
  background: #f5f5f5;
}
#portfolio .portfolio-filter {
    list-style: none;
    display: inline-block;
    padding-bottom: 3%;
}
#portfolio .portfolio-filter > li {
  float: left;
  display: block;
}
#portfolio .portfolio-filter > li a {
  display: block;
  padding: 7px 15px;
  background: #e5e5e5;
  color: #64686d;
  position: relative;
}
#portfolio .portfolio-filter > li a:hover,
#portfolio .portfolio-filter > li a.active {
  background: #45aed6;
  color: #fff;
  box-shadow: 0 -3px 0 0 #318daf inset;
  -webkit-box-shadow: 0 -3px 0 0 #318daf inset;
}
#portfolio .portfolio-filter > li a.active:after {
  content: " ";
  position: absolute;
  bottom: -33%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: #0a7197 transparent transparent transparent;
}

/* Agregado */
#portfolio .portfolio-filter > li a {
  border-radius: 15px 15px 15px 15px;
}

#portfolio .portfolio-items {
  margin: -15px;
}
#portfolio .portfolio-item {
  width: 24.9%;
  float: left;
  padding: 1.5%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
#portfolio .portfolio-item .portfolio-item-inner {
  position: relative;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info {
  opacity: 0;
  transition: opacity 400ms;
  -webkit-transition: opacity 400ms;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info h3 {
  font-size: 16px;
  line-height: 1;
  margin: 0;
  color: #fff;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info .preview {
  position: absolute;
  top: -18px;
  right: 12px;
  border-radius: 50%;
  background-image: -moz-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -webkit-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -ms-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 0 2px #fff;
  -webkit-box-shadow: 0 0 0 2px #fff;
}
#portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

/* Login modal CSS
-------------------------------------------------- */
.modal-dialog {
  opacity: 0.9;
}
/* New Login CSS
-------------------------------------------------- */
.box {
    /*prueba 1*/
    border: 1px solid rgb(200, 200, 200);
    box-shadow: rgb(77, 78, 66) 0px 5px 5px 2px;
    background-image: -webkit-linear-gradient(90deg, #f7f7f7 0%, #4e4e4e 100%);
    border-radius: 5px;
    margin-left: 69.5%;
    top: 0.5%;
    width: 30%;
    z-index: 2;
    padding: 0.5%;
    position: absolute;
    opacity: 0.9;
}
@media (min-width: 908px) {
  .box {
    margin-left: 76.5%;
    width: 23%;
  }
}

.box h2 {
    text-align:center;
    color:#fff;
    font-size: 1.5em;
}

@media (min-width: 908px) and (max-width: 990px) {
  .box h2 {
    font-size: 1.25em!important;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .box {
    display: none;
  }
}

@media (min-width: 768px) {
  #modal_login {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1016px) {
  #txtUser {
    font-size: 0.65em!important;
  }
  #txtPassword {
    font-size: 0.65em!important;
  }
}

@media (min-width: 769px) {
  .carousel-control {
    margin-top: 5%!important;
  }
}
/* login CSS
-------------------------------------------------- */

#login .form .btn{
  background: #842e31;
  border-color: #842e31!important;
  float: right;
}

#login h4,label,a{
  color: #842e31;
}

/* Modal CSS
-------------------------------------------------- */
/*To center modal*/
.modal {
    position: fixed;
    padding-top: 5% !important;
    /*padding-bottom: 20% !important;*/
}

.modal-backdrop.in {
  opacity: 0 !important;
}
/*.modal-lg {
  width: 60% !important;
  height: auto !important;
}*/

.modal-content {
  text-align: center !important;
  vertical-align: middle !important;
  border-radius: 30px 30px 30px 30px !important;
}

.modal-header {
  /*background: #337ab7!important;*/
  background: #842e31!important;
  border-radius: 30px 30px 0 0 !important;
}

.modal-footer .btn{
  background: #842e31!important;
  border-color: #842e31!important;
}

.modal-title {
  color: white !important;
}

.modal-body {
  text-align: center !important;
}

.media-heading-modal {
  text-align: -webkit-auto !important;
  padding-top: 2.7% !important;
  font-size: inherit !important;
  color: #5597d0 !important;
}

.media-heading-modal-last {
  padding-top: 2.2% !important;
  font-size: smaller !important;
  color: #5597d0 !important;
}

.media-heading-modal:hover {
  color: #337ab7 !important;
}

.media-heading-modal-last:hover {
  color: #337ab7 !important;
}

/* Quienes integran nuestra empresa CSS
-------------------------------------------------- */
#cta {
  text-align: center;
  /*padding: 50px 0;*/
  background-color: #eeeeee;
  padding-top: 5%;
  padding-bottom: 3%;
}
#cta h2 {
  margin-top: 0;
}
#cta .btn {
  margin-top: 40px;
}
#cta2 {
  text-align: center;
  background: #242a33 url(../images/cta2/cta2-bg.jpg) no-repeat 50% 50%;
  background-size: cover;
  color: #fff;
  padding-top: 70px;
}
#cta2 .btn {
  margin-top: 10px;
}
#cta2 h2 {
  color: #fff;
  font-size: 44px;
  line-height: 1;
}
#cta2 h2 > span {
  color: #45aed6;
}

#cta2-image {
  display: -webkit-inline-box;
}

/*Agregado*/
#services {
  padding-top: 5%;
  padding-bottom: 1%;
}
#about {
  padding-top: 0%;
}
.col-md-5 {
  margin-top: 1.5%;
}
.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
    padding-top: 1%;
    padding-bottom: 10% !important;
    text-align: justify;
}
#sucursales {
  padding-top: 5%;
}

/*Social Icons CSS*/
.social:hover {
     -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
     -o-transform: scale(1.1);
 }
 .social {
     -webkit-transform: scale(0.8);
     /* Browser Variations: */

     -moz-transform: scale(0.8);
     -o-transform: scale(0.8);
     -webkit-transition-duration: 0.5s;
     -moz-transition-duration: 0.5s;
     -o-transition-duration: 0.5s;
 }

/*
    Multicoloured Hover Variations
*/
#social-fb {
  vertical-align: super;
  padding-left: 3%;
  font-size: 2.2em;
}
#social-tw {
  vertical-align: super;
  padding-left: 3%;
  font-size: 2.2em;
}
#social-gp {
  vertical-align: super;
  padding-left: 3%;
  font-size: 2.2em;
}
#social-em {
  vertical-align: super;
  padding-left: 3%;
  font-size: 2.2em;
}
#social-pinterest {
  vertical-align: super;
  padding-left: 3%;
  font-size: 2.2em;
}
 #social-fb:hover {
     color: #3B5998;
 }
 #social-tw:hover {
     color: #4099FF;
 }
 #social-gp:hover {
     color: #d34836;
 }
 #social-em:hover {
     color: #f39c12;
 }
 #social-pinterest:hover {
     color: #b5071a;
 }
/*Nuevo Footer*/
@import url("http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css");

#footer-container {
  width: 100%;
  padding-left: 0%;
  padding-right: 0%;
}
#footer {
    padding-top: 30px;
    clear: both;
    display: block;
    background-image: -webkit-linear-gradient(90deg, #9e9a9a 0%, #5d5d5d 100%);
    color: #fffcfc;
}

#footer .widgettitle {
    margin: 0px;
    padding: 0px 0px 15px;
    border-bottom: medium none;
}
#footer h4 {
    color: #FFF;
}

#footer ul {
    list-style: outside none none;
}

#footer li {
    padding: 7px 0px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
    margin: 0px;
}

#footer li a {
    color: #DDD;
}
#contactenos {
  color: #fff;
}
.icon-text {
  vertical-align: super;
  padding-left: 3%;
}

#sub-floor {
    opacity: 0.9;
    background-image: -webkit-linear-gradient(90deg, #751719 25%, #751719 100%);
    opacity: 0.85;
    padding: 10px 0px;
}
.viboz-link {
  color: #fff;
  text-decoration: underline;
}
.viboz-link:hover {
  color: #c07c7f;
  font-size: 1.5em;
}
/*.viboz-link:hover::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  height: 1px;
  width: 100%;
  background: #444;
  background: linear-gradient(left, transparent 0%,#444 50%,transparent 100%);
}*/

/*Agregado*/
.map-responsive{
    overflow:hidden;
    padding-bottom:50%;
    position:relative;
    height:0;
}

.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.map-container {
    position: relative;
    padding-bottom: 50%;
    height: 0;
    overflow: hidden;
    margin-left: 3.5%;
    margin-bottom: 3%;
    margin-right: 3%;
}
.map-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 98%;
    height: 100%;
}

@media only screen and (min-width: 320px) and (max-width: 766px) {
  .certificate-row {
    margin-bottom: 165% !important;
  }
  .col-xs-6 {
    width: 100% !important;
  }
}
@media only screen and (min-width: 320px) and (max-width: 599px) {
  .map-legend {
    width: 100% !important;
    font-size: 1em !important;
  }
}
@media only screen and (min-width: 600px) and (max-width: 766px) {
  .map-legend {
    width: 50% !important;
    font-size: 1.25em !important;
  }
}
@media only screen and (min-width: 767px) and (max-width: 768px) {
  .certificate-row {
    margin-left: 6% !important;
    margin-right: -13% !important;
    margin-bottom: 46% !important;
  }
  .certificate-row .col-xs-6 {
    width: 42% !important;
  }
  .row .col-xs-6 {
    width: 100%;
  }
  .map-legend {
    width: 50% !important;
    font-size: 1.5em !important;
  }

}
@media only screen and (min-width: 769px) and (max-width: 991px) {
  .col-xs-6 {
    width: 102% !important;
    margin-left: -1% !important;
  }
  .map-legend {
    width: 51% !important;
    font-size: 1.7em !important;
  }
}
@media only screen and (min-width: 769px) {
  .certificate-row {
    margin-left: 20% !important;
    margin-right: 20% !important;
    margin-bottom: 20%;
  }
  #get-in-touch .container{
    margin-top: -2.6%;
  }
}
@media only screen and (min-width: 480px) and (max-width: 769px){
  #get-in-touch .container{
    /*margin-top: -7%;*/
    /*margin-top: -2.6%;*/
    margin-top: -4.1%;
  }
}
@media only screen and (min-width: 456px) and (max-width: 479px) {
  #get-in-touch .container{
    margin-top: -7.5%;
  }
}
@media only screen and (min-width: 420px) and (max-width: 455px) {
  #get-in-touch .container{
    margin-top: -8%;
  }
}
@media only screen and (min-width: 328px) and (max-width: 419px) {
  #get-in-touch .container{
    margin-top: -9.1%;
  }
}
@media only screen and (min-width: 320px) and (max-width: 327px) {
  #get-in-touch .container{
    margin-top: -11.5%;
  }
}
@media only screen and (min-width: 300px) and (max-width: 319px) {
  #get-in-touch .container{
    margin-top: -12.5%;
  }
}
/*Collapse items*/
/***
User Profile Sidebar by @keenthemes
A component of Metronic Theme - #1 Selling Bootstrap 3 Admin Theme in Themeforest: http://j.mp/metronictheme
Licensed under MIT
***/

.panel-group {
  padding-top: 50px;
}
.panel-default {
  border-radius: 0;
  border: none;
  background: none;
  margin-bottom: 0;
  padding-bottom: 14px;
}
.panel-default > .panel-heading {
  border: none;
  background: none;
  padding: 0;
}
.panel-default > .panel-heading + .panel-collapse .panel-body {
  border: none;
  padding: 0 0 0 32px;
}
.panel-default h5 {
  font: 300 19px "Open Sans", Arial, sans-serif;
  padding: 0;
  margin: 0 0 5px;
}
.panel-group .panel+.panel {
  margin-top: 15px;
}
/*.panel-default .accordion-toggle:before {
  content: "";
  width: 21px;
  height: 21px;
  display: inline-block;
  background: #e54a1a url(http://keenthemes.com/assets/bootsnipp/toggle-icons.png) no-repeat 6px 10px;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  top: 4px;
}*/
/*agregado*/
.panel-default {
  height: 300%;
}
.panel-default .collapsed:before {
  background: #495764 url(http://keenthemes.com/assets/bootsnipp/toggle-icons.png) no-repeat 6px -148px;
}
.panel-default .panel-title:hover .collapsed:before {
  background-color: #e54a1a;
}
.panel-default .accordion-toggle,
.panel-default .accordion-toggle:focus,
/*.panel-default .accordion-toggle:hover,*/
.panel-default .accordion-toggle:active {
  /*color: #1ea9e3;*/
  color: #842e31;
  text-decoration: none;
}
.panel-default .collapsed {
  /*color: #5f6f7e;*/
  /*color: #842e31;*/
  color: #636363;
}

/*.service-item {
  text-align: -webkit-center;
  color: #337ab7;
  color: #1ea9e3;
  color: #771a1c;
  font-weight: bolder;
  font-size: 1.25em;
}*/
.service-item {
  text-align: justify;;
  color: #737373;
  font-size: 0.85em;
  font-weight: normal;
}

.service-icon-title {
  font-weight: 700;
}

/*gallery*/
.gallery {
  filter: gray; /* IE6-9 */
  /*-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */*/
    -webkit-box-shadow: 0px 2px 6px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 2px 6px 2px rgba(0,0,0,0.75);
    box-shadow: 0px 2px 6px 2px rgba(0,0,0,0.75);
    margin-bottom:20px;
}

.gallery:hover {
  filter: none; /* IE6-9 */
  -webkit-filter: grayscale(0); /* Google Chrome, Safari 6+ & Opera 15+ */

}

/*Footer container*/
.container-footer {
  margin: 0 auto;
  max-width: 1280px;
  width: 90%;
}

@media only screen and (min-width: 601px) {
  .container-footer {
    width: 60%;
  }
}

@media only screen and (min-width: 993px) {
  .container-footer {
    width: 60%;
  }
}

.container-footer .row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
.container-footer .btn {
  background-color: #76171a!important;
  border-color: #76171a!important;
}
.attribution {
  display: inline-block;
  text-align: left;
}
.copyright {
  display: inline-block;
}
@media only screen and (min-width: 578px) and (max-width: 586px){
  .attribution {
    margin-left: -5%;
  }
}
@media only screen and (min-width: 587px) and (max-width: 591px){
  .attribution {
    margin-left: -2%;
  }
}
@media only screen and (min-width: 592px) and (max-width: 596px){
  .attribution {
    margin-left: -1%;
  }
}
@media only screen and (min-width: 597px) and (max-width: 606px){
  .attribution {
    margin-left: 0%;
  }
}
@media only screen and (min-width: 607px) and (max-width: 612px){
  .attribution {
    margin-left: 1%;
  }
}
@media only screen and (min-width: 613px) and (max-width: 617px){
  .attribution {
    margin-left: 2%;
  }
}
@media only screen and (min-width: 618px) and (max-width: 623px){
  .attribution {
    margin-left: 3%;
  }
}
@media only screen and (min-width: 624px) and (max-width: 628px){
  .attribution {
    margin-left: 4%;
  }
}
@media only screen and (min-width: 629px) and (max-width: 634px){
  .attribution {
    margin-left: 5%;
  }
}
@media only screen and (min-width: 635px) and (max-width: 640px){
  .attribution {
    margin-left: 6%;
  }
}
@media only screen and (min-width: 641px) and (max-width: 646px){
  .attribution {
    margin-left: 7%;
  }
}
@media only screen and (min-width: 647px) and (max-width: 652px){
  .attribution {
    margin-left: 8%;
  }
}
@media only screen and (min-width: 653px) and (max-width: 658px){
  .attribution {
    margin-left: 9%;
  }
}
@media only screen and (min-width: 659px) and (max-width: 665px){
  .attribution {
    margin-left: 10%;
  }
}
@media only screen and (min-width: 666px) and (max-width: 671px){
  .attribution {
    margin-left: 11%;
  }
}
@media only screen and (min-width: 672px) and (max-width: 678px){
  .attribution {
    margin-left: 12%;
  }
}
@media only screen and (min-width: 679px) and (max-width: 685px){
  .attribution {
    margin-left: 13%;
  }
}
@media only screen and (min-width: 686px) and (max-width: 692px){
  .attribution {
    margin-left: 14%;
  }
}
@media only screen and (min-width: 693px) and (max-width: 699px){
  .attribution {
    margin-left: 15%;
  }
}
@media only screen and (min-width: 700px) and (max-width: 706px){
  .attribution {
    margin-left: 16%;
  }
}
@media only screen and (min-width: 707px) and (max-width: 714px){
  .attribution {
    margin-left: 17%;
  }
}
@media only screen and (min-width: 715px) and (max-width: 721px){
  .attribution {
    margin-left: 18%;
  }
}
@media only screen and (min-width: 722px) and (max-width: 729px){
  .attribution {
    margin-left: 19%;
  }
}
@media only screen and (min-width: 730px) and (max-width: 737px){
  .attribution {
    margin-left: 20%;
  }
}
@media only screen and (min-width: 738px) and (max-width: 746px){
  .attribution {
    margin-left: 21%;
  }
}
@media only screen and (min-width: 747px) and (max-width: 754px){
  .attribution {
    margin-left: 22%;
  }
}
@media only screen and (min-width: 755px) and (max-width: 763px){
  .attribution {
    margin-left: 23%;
  }
}
@media only screen and (min-width: 764px) and (max-width: 767px){
  .attribution {
    margin-left: 24%;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px){
  .attribution {
    margin-left: 25%;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px){
  .attribution {
    padding-left: 15%;
  }
}
@media only screen and (min-width: 1200px){
  .attribution {
    padding-left: 18%;
  }
}
/*modal images*/
.bigger-image {
    position:relative;
    /*padding-top:66.59%;*/
    padding-top:100%;
}

.bigger {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
}

/*en lugar de modal images ahora uso este*/
a.fancybox img {
    border: none;
    box-shadow: 0 1px 7px rgba(0,0,0,0.6);
    -o-transform: scale(1,1); -ms-transform: scale(1,1); -moz-transform: scale(1,1); -webkit-transform: scale(1,1); transform: scale(1,1); -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
}
@media (min-width: 320px) and (max-width: 767px){
  a.fancybox img{
    border: none;
    box-shadow: 0 1px 7px rgba(0,0,0,0.6);
    -o-transform: scale(1,1);
    -ms-transform: scale(1,1);
    -moz-transform: scale(1,1);
    -webkit-transform: scale(1,1);
    transform: scale(2,1);
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    height: 220px;
    width: 75%;
  }
}

@media (min-width: 768px) and (max-width: 769px){
  .gallery{
    margin-bottom: 118px;
    margin-top: 55px;
  }
  a.fancybox img{
    transform: scale(1.5,1.5);
    margin-left: 25%!important;
  }
}
a.fancybox:hover img {
    position: relative; z-index: 999; -o-transform: scale(1.03,1.03); -ms-transform: scale(1.03,1.03); -moz-transform: scale(1.03,1.03); -webkit-transform: scale(1.03,1.03); transform: scale(1.03,1.03);
}
/*new map*/
.marketing{
  width: 100%;
}
#map {
    height:100%;
}
#legend {
  background-image: -webkit-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  opacity: 0.9;
  width: 100%;
  margin-bottom: 3%;
  padding-bottom: 2%;
  margin-top: 5%;
}
.legend-icons {
  color: white !important;
  text-decoration: none !important;
  font-size: 0.85em;
}
