/* Galeria Start */
.content-all{
    width:160px;
    margin: auto;
    perspective: 800px;
    position: relative;
    margin-top: 50px;
    margin-bottom: 130px;
    }
    .content-carrousel{
    width:100%;
    position:absolute;
    animation: rotar 30s infinite linear;
    transform-style: preserve-3d;
    }
    .content-carrousel:hover{
    animation-play-state: paused;
    cursor: pointer;
    }
    
    .content-carrousel figure{
    width:120%;
    height:135px;
    overflow: hidden;
    position:absolute;
    box-shadow: 0px 0px 20px 0px black;
    transition: all 300ms;
    }
    
    .content-carrousel figure:hover{
      box-shadow: 0px 0px 0px 0px black;
      transition: all 300ms;
    }
  
  
    /* Mostrar el cuadro de texto al hacer hover sobre el contenedor */
    .content-carrousel figure:hover{
      display: block;
    }
    .content-carrousel figure:nth-child(1){transform:rotateY(30deg) translateZ(360px);}
    .content-carrousel figure:nth-child(2){transform:rotateY(60deg) translateZ(360px);}
    .content-carrousel figure:nth-child(3){transform:rotateY(90deg) translateZ(360px);}
    .content-carrousel figure:nth-child(4){transform:rotateY(120deg) translateZ(360px);}
    .content-carrousel figure:nth-child(5){transform:rotateY(150deg) translateZ(360px);}
    .content-carrousel figure:nth-child(6){transform:rotateY(180deg) translateZ(360px);}
    .content-carrousel figure:nth-child(7){transform:rotateY(210deg) translateZ(360px);}
    .content-carrousel figure:nth-child(8){transform:rotateY(240deg) translateZ(360px);}
    .content-carrousel figure:nth-child(9){transform:rotateY(270deg) translateZ(360px);}
    .content-carrousel figure:nth-child(10){transform:rotateY(300deg) translateZ(360px);}
    .content-carrousel figure:nth-child(11){transform:rotateY(330deg) translateZ(360px);}
    .content-carrousel figure:nth-child(12){transform:rotateY(360deg) translateZ(360px);}
    
    .content-carrousel img{
    width:110%;
    transition: all 300ms;
    }
    
    .content-carrousel img:hover{
    transform: scale(1.2);
    transition: all 300ms;
    }
    
    @keyframes rotar{
      from{
        transform: rotateY(0deg);
      }to{
        transform: rotateY(360deg);
      }
    }
    /* Galeria End */

    .card-big-shadow {
        max-width: 520px;
        position: relative;
    }
    
    .coloured-cards .card {
        margin-top: 30px;
    }
    
    .card[data-radius="none"] {
        border-radius: 0px;
    }
    .card {
        border-radius: 8px;
        box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
        background-color: #FFFFFF;
        color: #252422;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
    }
    
    
    .card[data-background="image"] .title, .card[data-background="image"] .stats, .card[data-background="image"] .category, .card[data-background="image"] .description, .card[data-background="image"] .content, .card[data-background="image"] .card-footer, .card[data-background="image"] small, .card[data-background="image"] .content a, .card[data-background="color"] .title, .card[data-background="color"] .stats, .card[data-background="color"] .category, .card[data-background="color"] .description, .card[data-background="color"] .content, .card[data-background="color"] .card-footer, .card[data-background="color"] small, .card[data-background="color"] .content a {
        color: #FFFFFF;
    }
    .card.card-just-text .content {
        padding: 50px 65px;
        text-align: center;
    }
    .card .content {
        padding: 20px 20px 10px 20px;
    }
    .card[data-color="blue"] .category {
        color: #7a9e9f;
    }
    
    .card .category, .card .label {
        font-size: 14px;
        margin-bottom: 0px;
    }
    .card-big-shadow:before {
        background-image: url("http://static.tumblr.com/i21wc39/coTmrkw40/shadow.png");
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        bottom: -12%;
        content: "";
        display: block;
        left: -12%;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 0;
    }
    #whatwedo h4, .h4 {
        font-size: 1.5em;
        font-weight: 600;
        line-height: 1.2em;
    }
    #whatwedo h6, .h6 {
        font-size: 0.9em;
        font-weight: 600;
        text-transform: uppercase;
    }
    .card .description {
        font-size: 16px;
        color: #66615b;
    }
    .content-card{
        margin-top:30px;    
    }
    #whatwedo a:hover, a:focus {
        text-decoration: none;
    }
    
    /*======== COLORS ===========*/
    .card[data-color="blue"] {
        background: #b8d8d8;
    }
    .card[data-color="blue"] .description {
        color: #506568;
    }
    
    .card[data-color="green"] {
        background: #d5e5a3;
    }
    .card[data-color="green"] .description {
        color: #60773d;
    }
    .card[data-color="green"] .category {
        color: #92ac56;
    }
    
    .card[data-color="yellow"] {
        background: #ffe28c;
    }
    .card[data-color="yellow"] .description {
        color: #b25825;
    }
    .card[data-color="yellow"] .category {
        color: #d88715;
    }
    
    .card[data-color="brown"] {
        background: #d6c1ab;
    }
    .card[data-color="brown"] .description {
        color: #75442e;
    }
    .card[data-color="brown"] .category {
        color: #a47e65;
    }
    
    .card[data-color="purple"] {
        background: #baa9ba;
    }
    .card[data-color="purple"] .description {
        color: #3a283d;
    }
    .card[data-color="purple"] .category {
        color: #5a283d;
    }
    
    .card[data-color="orange"] {
        background: #ff8f5e;
    }
    .card[data-color="orange"] .description {
        color: #772510;
    }
    .card[data-color="orange"] .category {
        color: #e95e37;
    }

    /* Redes */
  .contenedor-redes-sociales {
    margin: 10px 0;
    padding: 0;
    text-align: center;
}

.contenedor-redes-sociales a {
    position: relative;
    display: inline-block;
    height: 36px;
    width: 160px;
    line-height: 35px;
    padding: 0;
    color: #fff;
    border-radius: 50px;
    background: #fff;
    margin: 5px;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
}
.contenedor-redes-sociales a:hover{
  cursor: pointer;
}
.contenedor-redes-sociales a:hover span.circulo {
    left: 100%;
    margin-left: -35px;
    background: #fff;
}

.contenedor-redes-sociales a:hover span.titulo {
    opacity: 0;
}

.contenedor-redes-sociales a:hover span.titulo-hover {
    opacity: 1;
    color: #fff;
}

.contenedor-redes-sociales a span.titulo-hover {
    opacity: 0;
}

.contenedor-redes-sociales a span.circulo {
    display: block;
    color: #fff;
    position: absolute;
    float: left;
    margin: 3px;
    line-height: 30px;
    height: 30px;
    width: 30px;
    top: 0;
    left: 0;
    transition: all 0.5s;
    border-radius: 50%;
}

.contenedor-redes-sociales a span.circulo i {
    width: 100%;
    text-align: center;
    font-size: 16px;
    line-height: 30px;
}

.contenedor-redes-sociales a span.titulo, .contenedor-redes-sociales a span.titulo-hover {
    position: absolute;
    text-align: center;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 400;
    transition: .5s;
}

.contenedor-redes-sociales a span.titulo {
    right: 15px
}

.contenedor-redes-sociales a span.titulo-hover {
    left: 15px
}


/*----------Colores de los botones----------*/

.contenedor-redes-sociales .facebook {
    border: 2px solid #3b5998;
}

.contenedor-redes-sociales .facebook:hover, .contenedor-redes-sociales .facebook span.circulo {
    background: #3b5998;
}

.contenedor-redes-sociales .facebook:hover span.circulo, .contenedor-redes-sociales .facebook span.titulo {
    color: #3b5998;
}

.contenedor-redes-sociales .twitter {
    border: 2px solid #1da1f2;
}

.contenedor-redes-sociales .twitter:hover, .contenedor-redes-sociales .twitter span.circulo {
    background: #1da1f2;
}

.contenedor-redes-sociales .twitter:hover span.circulo, .contenedor-redes-sociales .twitter span.titulo {
    color: #1da1f2;
}

.contenedor-redes-sociales .gplus {
    border: 2px solid #d63cb5;
}

.contenedor-redes-sociales .gplus:hover, .contenedor-redes-sociales .gplus span.circulo {
    background: #d63cb5;
}

.contenedor-redes-sociales .gplus:hover span.circulo, .contenedor-redes-sociales .gplus span.titulo {
    color: #d63cb5;
}


/*--------------Mediaqueries--------------*/

@media screen and (max-width: 480px) {
    .contenedor-redes-sociales a {
        width: 100%;
        margin: 0;
        margin-bottom: 10px;
    }
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto; }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0; }

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none; }
  .modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    -ms-transform: translate(0, -50px);
    transform: translate(0, -50px); }
    @media (prefers-reduced-motion: reduce) {
      .modal.fade .modal-dialog {
        -webkit-transition: none;
        -o-transition: none;
        transition: none; } }
  .modal.show .modal-dialog {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none; }

.modal-dialog-scrollable {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-height: calc(100% - 1rem); }
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden; }
  .modal-dialog-scrollable .modal-header,
  .modal-dialog-scrollable .modal-header2,
  .modal-dialog-scrollable .modal-header3,  
  .modal-dialog-scrollable .modal-footer {
    -ms-flex-negative: 0;
    flex-shrink: 0; }
  .modal-dialog-scrollable .modal-body {
    overflow-y: auto; }

.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem); }
  .modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    content: ""; }
  .modal-dialog-centered.modal-dialog-scrollable {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%; }
    .modal-dialog-centered.modal-dialog-scrollable .modal-content {
      max-height: none; }
    .modal-dialog-centered.modal-dialog-scrollable::before {
      content: none; }

.modal-content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0; }

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000; }
  .modal-backdrop.fade {
    opacity: 0; }
  .modal-backdrop.show {
    opacity: 0.5; }

.modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem; }
  .modal-header2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem; }
    .modal-header3 {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: start;
      -ms-flex-align: start;
      align-items: flex-start;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
      padding: 1rem 1rem;
      border-bottom: 1px solid #dee2e6;
      border-top-left-radius: 0.3rem;
      border-top-right-radius: 0.3rem; }
  .modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto; }
    .modal-header2 .close {
      padding: 1rem 1rem;
      margin: -1rem -1rem -1rem auto; }
      .modal-header3 .close {
        padding: 1rem 1rem;
        margin: -1rem -1rem -1rem auto; }

.modal-title {
  margin-bottom: 0;
  line-height: 1.5; }

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem; }

.modal-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem; }
  .modal-footer > :not(:first-child) {
    margin-left: .25rem; }
  .modal-footer > :not(:last-child) {
    margin-right: .25rem; }

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll; }

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto; }
  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem); }
    .modal-dialog-scrollable .modal-content {
      max-height: calc(100vh - 3.5rem); }
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem); }
    .modal-dialog-centered::before {
      height: calc(100vh - 3.5rem); }
  .modal-sm {
    max-width: 300px; } }

@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px; } }

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px; } }


.ftco-section {
  background: #fff; }
  .ftco-section h2 {
    margin-bottom: 0; }

.modal-dialog {
  max-width: 600px; }

.modal-content {
  overflow: hidden;
  border: none;
  position: relative;
  padding: 0 !important;
  -webkit-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
  -moz-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24); }
  .modal-content .modal-header {
    position: relative;
    padding: 0;
    border: none;
    height: 230px;
    background: #915eff;
    background: -moz-linear-gradient(45deg, #915eff 0%, #3264c2 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, #915eff), color-stop(100%, #3264c2));
    background: -webkit-linear-gradient(45deg, #915eff 0%, #3264c2 100%);
    background: -o-linear-gradient(45deg, #915eff 0%, #3264c2 100%);
    background: -ms-linear-gradient(45deg, #915eff 0%, #3264c2 100%);
    background: linear-gradient(45deg, #915eff 0%, #3264c2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#915eff', endColorstr='#3264c2', GradientType=1 ); }
    .modal-content .modal-header2 {
      position: relative;
      padding: 0;
      border: none;
      height: 230px;
      background: #b2c9f5;
      background: -moz-linear-gradient(45deg, #b2c9f5 0%, #709ef3 100%);
      background: -webkit-gradient(left bottom, right top, color-stop(0%, #b2c9f5), color-stop(100%, #709ef3));
      background: -webkit-linear-gradient(45deg, #b2c9f5 0%, #709ef3 100%);
      background: -o-linear-gradient(45deg, #b2c9f5 0%, #709ef3 100%);
      background: -ms-linear-gradient(45deg, #b2c9f5 0%, #709ef3 100%);
      background: linear-gradient(45deg, #b2c9f5 0%, #709ef3 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2c9f5', endColorstr='#709ef3', GradientType=1 ); }
      .modal-content .modal-header3 {
        position: relative;
        padding: 0;
        border: none;
        height: 230px;
        background: #b8a11e;
        background: -moz-linear-gradient(45deg, #b8a11e 0%, #d63cb5 100%);
        background: -webkit-gradient(left bottom, right top, color-stop(0%, #b8a11e), color-stop(100%, #d63cb5));
        background: -webkit-linear-gradient(45deg, #b8a11e 0%, #d63cb5 100%);
        background: -o-linear-gradient(45deg, #b8a11e 0%, #d63cb5 100%);
        background: -ms-linear-gradient(45deg, #b8a11e 0%, #d63cb5 100%);
        background: linear-gradient(45deg, #b8a11e 0%, #d63cb5 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b8a11e', endColorstr='#d63cb5', GradientType=1 ); }
  .modal-content button.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
    width: 40px;
    height: 40px;
    z-index: 1;
    color: #fff; }
  .modal-content .modal-body {
    border: none;
    overflow: hidden;
    margin-top: -180px;
    z-index: 2; }
    .modal-content .modal-body .icon_modal {
      width: 300px;
      height: 300px;
      border-radius: 50%;
      margin: 0 auto;
      margin-bottom: 5px; }
    .modal-content .modal-body h2 {
      font-weight: 700;
      color: #fff; }
    .modal-content .modal-body h4 {
      font-size: 18px; }
    .modal-content .modal-body h3 {
      font-weight: 800;
      font-size: 22px; }
      .modal-content .modal-body h3 span {
        font-weight: 300; }

.ftco-degree-bg {
  position: relative; }
  .ftco-degree-bg:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -30px;
    overflow: visible;
    width: 50%;
    height: 60px;
    z-index: 1;
    -webkit-transform: skewY(-10deg);
    -moz-transform: skewY(-10deg);
    -ms-transform: skewY(-10deg);
    -o-transform: skewY(-10deg);
    transform: skewY(-10deg);
    background-color: #fff; }
  .ftco-degree-bg:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -30px;
    overflow: visible;
    width: 50%;
    height: 60px;
    z-index: 1;
    -webkit-transform: skewY(10deg);
    -moz-transform: skewY(10deg);
    -ms-transform: skewY(10deg);
    -o-transform: skewY(10deg);
    transform: skewY(10deg);
    background-color: #fff; }

    /* Redes Fin */
    
.cardRed h3{
  font-weight: 300!important;
  font-size: 25px !important;
}

.cardRed h4{
  font-size: 18px !important;
  font-weight: 300 !important;
}

.cardRed.cardRed-carousel {
  border: 0;
  margin-bottom: 30px;
  margin-top: 30px;
  border-radius: 6px ;
  color: rgba(0,0,0,.87);
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
}

.cardRed.cardRed-carousel img{
  border-radius: 6px;
}



.carouselRed-indicators {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carouselRed .carouselRed-indicators {
  bottom: 5px;
}

.carouselRed .carouselRed-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  text-indent: -999px;
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12), 0 1px 5px 0 rgba(0,0,0,.2);
  border-radius: 2px;
}

.carouselRed .carouselRed-indicators .active{
  margin: 11px 10px; 
} 

.carouselRed .carouselRed-indicators li {
  margin: 11px 10px;
}

.carouselRed .carouselRed-indicators .active {
  margin-top: 10px;
  transform: scale(1.5);
  box-shadow: 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);
}

.carouselRed-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carouselRed-item {
  position: relative;
  display: none;
  align-items: center;
  width: 100% !important;
  transition: transform .6s ease;
  backface-visibility: hidden;
  perspective: 1000px;
}

.carouselRed-item.active {
  display: block;
}

.carouselRed .carouselRed-caption {
  padding-bottom: 45px;
}

.carouselRed .carouselRed-caption .material-icons {
  position: relative;
  top: 5px;
}

.carouselRed .carouselRed-control-next .material-icons{
  z-index: 5;
  display: inline-block;
  font-size: 50px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  margin: auto;
}

.carouselRed .carouselRed-control-prev .material-icons {
  z-index: 5;
  display: inline-block;
  font-size: 50px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  margin: auto;
}