* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  position: relative;
  background: #eeeeec;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  font-family: "Open Sans", sans-serif;
  font-size: 100%;
  margin: 340px  0;
}

.customSlider {
  opacity: 0;
  display: none;
}
.customSlider + label {
  position: relative;
  top: 35px;
  left: 15px;
  cursor: pointer;
}
.customSlider + label:before, .customSlider + label:after {
  background: #FFFFFF;
  position: absolute;
  content: "";
}
.customSlider + label:before {
  top: -90px;
  left: -60px;
  width: 80px;
  height: 40px;
  background: #ccc;
  border-radius: 20px;
  transition: background 0.75s;
}
.customSlider + label:after {
  height: 34px;
  width: 34px;
  top: -87px;
  left: -55px;
  border-radius: 50%;
  transition: all 0.5s;
}
.customSlider:checked + label:after {
  height: 34px;
  width: 34px;
  top: -87px;
  left: -19px;
  border-radius: 50%;
}
.customSlider:checked ~ .wrapper {
  color: #fff;
  transition: background 0.6s ease;
  background: #31394D;
}
.customSlider:checked ~ .wrapper .top-icons i {
  color: #fff;
}
.customSlider:checked ~ .wrapper .profile .name {
  color: #FDFEFF;
}
.customSlider:checked ~ .wrapper .profile .title {
  color: #7C8097;
}
.customSlider:checked ~ .wrapper .profile .description {
  color: #FDFEFF;
}
.customSlider:checked ~ .wrapper .icon h4 {
  color: #FFFFFF;
}
.customSlider:checked ~ .wrapper .icon p {
  color: #666B7D;
}

.wrapper {
  width: 400px;
 
  background: #ffff url(../img/bg.png);
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  transition: background 0.6s ease;
  border-radius: 10px;
  padding: 20px 20px 20px 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.wrapper .top-icons i {
  color: #fff;
  font-size: 25px;
}
.wrapper .top-icons a{
  text-align: center;
  width: 100px;
    height: 80px;
    background: linear-gradient(to bottom right, #f5a92f, #e33014);
    border-radius: 10%;
    opacity: 0.9;
    padding: 5px;

}

.wrapper .top-icons a:hover{
  text-decoration:  none;
  opacity: 0.8;
}

.wrapper .top-icons a span{
    color: #fff;
    display: block;
    text-decoration: none;
    font-size: 12px;
    margin-top: 10px;
}
.wrapper .top-icons a:nth-of-type(1) {
  float: left;
}
.wrapper .top-icons a:nth-of-type(2) {
  float: right;
}
.wrapper .top-icons a:nth-of-type(3) {
  float: right;
  padding-right: 0.8em;
}
.wrapper .profile {
  margin-top: 2.2em;
  position: relative;
}
.wrapper .profile:after, .adress:after {
  width: 100%;
  height: 1px;
  content: " ";
  display: block;
  margin-top: 1.3em;
  background: #dbdbdb;
}
.wrapper .profile .check {
right: 125px;
    position: absolute;
    top: 100px;
}
.wrapper .profile .check i {
  color: #fff;
  width: 20px;
  height: 20px;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  border-radius: 100%;
  background:linear-gradient(to bottom right, #fd9070, #ff5b38);
}
.wrapper .profile .thumbnail {
  width: 124px;
  height: 124px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
  border-radius: 100%;
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.2);
  margin-top: -100px;
  background: #fff;
}
.wrapper .profile .name {
  color: #2D354A;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}
.wrapper .profile .title {
color: #fe603c;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    padding-top: 0.5em;
    padding-bottom: 0.7em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.wrapper .profile .description {
  color: #080911;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 1.3em;
}
.wrapper .profile .btn {
  color: #fff;
  width: 130px;
  height: 42px;
  outline: none;
  font-size: 15px;
  border: none;
  display: block;
  cursor: pointer;
  font-weight: 300;
  margin-left: auto;
  margin-right: auto;
  border-radius: 70px;
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.16);
  background:linear-gradient(to bottom right, #fd9070, #ff5b38);
}
.wrapper .social-icons {
  display: flex;
  margin-top: 1.2em;
  justify-content: space-between;
}
.wrapper .social-icons .icon {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.wrapper .social-icons .icon a {
  color: #fff;
  width: 60px;
  height: 60px;
  font-size: 28px;
  line-height: 60px;
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.2);
}

.wrapper .social-icons .icon a i{
    margin-top: 16px;
}/*
.wrapper .social-icons .icon:nth-of-type(1) a {
  background: linear-gradient(to bottom right, #17a1f0, #0260d5);
}
.wrapper .social-icons .icon:nth-of-type(2) a {
  background: linear-gradient(to bottom right, #ebbd02, #b80191);
}*/
.wrapper .social-icons .icon:nth-of-type(1) a {
  background: linear-gradient(to bottom right, #3fc954, #22872c);
}
.wrapper .social-icons .icon:nth-of-type(2) a {
  background: linear-gradient(to bottom right, #17a1f0, #0260d5);
}
.wrapper .social-icons .icon:nth-of-type(3) a {
  background: linear-gradient(to bottom right, #5e5e5e, #262626);
}
.wrapper .social-icons .icon:nth-of-type(4) a {
  background: linear-gradient(to bottom right, #639FF9, #6452E9);
}
.wrapper .social-icons .icon h4 {
  color: #080911;
  font-size: 13px;
  margin-top: 1.3em;
  margin-bottom: 0.2em;
}
.wrapper .social-icons .icon p {
  color: #666B7D;
  font-size: 12px;
}
.facebook{
  background:#0e92f3!important;
}
.instagram{
  background:#eb356e!important;
}
.concept {
  position: absolute;
  bottom: 25px;
  color: #AAB0C4;
  font-size: 0.9em;
  font-weight: 400;
}
.concept a {
  color: #ac1966;
  text-decoration: none;
}

.banner{
background-image: url(../img/imagen-destacada.jpg);

    background-size: cover;
    height: 350px;
    margin-top: -20px;
    margin-right: -20px;
    margin-left: -20px;
    border-radius: 11px 10px 0px 0px;
    position: relative;

}
.top-icons{
      position: relative;
    width: 90%;
    margin-left: 5%;
    top: 10px;
}

.adress{
  margin-top: 20px;

}

.adress h4{
margin-bottom:5px;
    font-size: 16px;

}
.adress p{
margin-bottom: 15px;
font-size: 15px;
}

.adress p a{
  text-decoration:none;
  color: #747374;
  border-bottom: 1px dashed;
}

#formContent {
margin-top: -80px;
  text-align: center;
}

.legend-modal{
    font-size: 15px;
    margin: 10px 0;
}
.preheader{
   width: 100%;
    height: 80px;
    background: #fc642b;
}


/* TABS */

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #5fbae9;
}



/* FORM TYPOGRAPHY*/

input[type=button], input[type=submit], input[type=reset],.button  {
  background-color: #2f9cee;
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgb(247 182 158);
  box-shadow:0 10px 30px 0 rgb(247 182 158);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 5px 20px 40px 20px;

}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover,.button  {
  background-color: #fc642b;
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active, .button {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type=text], textarea {
  background-color: #e1e1e1;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px 0px;
    width: 95%;
  border: 2px solid #e1e1e1;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}
 textarea {
  height: 150px;
 }
input[type=text]:focus, textarea:focus {
  background-color: #fff;
  border-bottom: 2px solid #fc642b;
}

input[type=text]:placeholder, textarea:placeholder {
  color: #cccccc;
}

.modal-sm{
  width:400px;
}


/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #56baed;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after{
  width: 100%;
}

h1{
    color:#60a0ff;
}

/* OTHERS */

*:focus {
    outline: none;
} 

#icon {
    width: 40%;
    border-radius: 100%;
    margin-top: 15px;
    background: #fff;
    border: 1px solid #e9ad86;
}

#modalContact .modal-body{
padding:0px;
}

.close{
  position: absolute;
    right: -10px;
    width: 40px;
    height: 40px;
    background: black!important;
    opacity: 1;
    color: #fff;
    text-shadow: none;
    top: -10px;
    border-radius: 100%;
    z-index: 99;
}

.close:hover{
  background: #454545!important;
  color: #fff!important;
  opacity: 1!important;
}

.button{
  width: 100%;
    margin: 10px 0 30px;
}

label.error{
text-align: left;
    color: red;
    font-size: 11px;
    font-style: italic;
    display: block;
    margin-left: 10px;
}

.notification{
width: 95%;
    margin-left: 2.5%;
    font-size: 14px;
    text-align: left;
}

.alert-dismissable .close{
    background: none!important;
    position: relative;
    top: -20px;
    right: -40px;
}
.title-gallery{
    margin-top: 20px;
    font-size: 17px;
    text-align: center;
    color: #434040;
}
.gallery{
margin: 20px 0;
}
.gallery a img{
width: 100%;

}
.gallery.now a img{
width: 100%;
    height: 150px;
    object-fit: cover;
}

.gallery .fa{
    position: absolute;
    margin: auto;
    right: 5px;
    bottom: 5px;
    background: #434040ba;
    width: 30px;
    height: 30px;
    font-size: 15px;
    color: #fff;
    text-align: center;
    line-height: 32px;
    border-radius: 5px;
}
.mfp-counter{
  display: none!important
}
@media (max-width: 450px){
body{
height: auto;
}
.modal-sm{
width: 95%!important;
margin-left: 2.5%!important;
}
.wrapper{
width: 95%;
    margin: 10px 0;
}
.wrapper .social-icons .icon h4{
font-size: 11px;
    margin-top: 7px;
    text-align: center;
}
body{
  margin: 30px  0;
}
}
