* {
    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: 400px 0;}
.customSlider {
    opacity: 0;
    display: none;
}
.customSlider+label {
    position: relative;
    top: 35px;
    left: 15px;
    cursor: pointer;
}
.customSlider+label:after, .customSlider+label:before {
    background: #fff;
    position: absolute;
    content: ""}
.customSlider+label:before {
    top: -90px;
    left: -60px;
    width: 80px;
    height: 40px;
    background: #ccc;
    border-radius: 20px;
    transition: background .75s;
}
.customSlider+label:after {
    height: 34px;
    width: 34px;
    top: -87px;
    left: -55px;
    border-radius: 50%;
    transition: all .5s;
}
.customSlider:checked+label:after {
    height: 34px;
    width: 34px;
    top: -87px;
    left: -19px;
    border-radius: 50%}
.customSlider:checked~.wrapper {
    color: #fff;
    transition: background .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: #fff;
}
.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 .6s ease;
    border-radius: 10px;
    padding: 20px 20px 20px 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .2);
}
.wrapper .top-icons i {
    color: #fff;
    font-size: 25px;
}
.wrapper .top-icons a {
    text-align: center;
}
.wrapper .top-icons a:hover {
    text-decoration: none;
    opacity: .8;
}
.wrapper .top-icons a span {
    color: #fff;
    display: block;
    text-decoration: none;
    font-size: 12px;
    margin-top: 10px;
        font-weight: 600;
        text-shadow: 1px 1px #000;
}
.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: .8em;
}
.wrapper .profile {
    margin-top: 2.2em;
    position: relative;
}
.adress:after, .wrapper .profile:after {
    width: 100%;
    height: 1px;
    content: " ";
    display: block;
    margin-top: 1.3em;
    background: #e9eff6;
}
.wrapper .profile .check {
    right: 105px;
    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, #bb030a, #ea1b24);
}
.wrapper .profile .thumbnail {
    width: 150px;
    height: 150px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    border-radius: 100%;
    box-shadow: 0 13px 26px rgba(0, 0, 0, .2), 0 3px 6px rgba(0, 0, 0, .2);
    margin-top: -100px;
    background: #ffe2ce;
}
.wrapper .profile .name {
    color: #2d354a;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}
.wrapper .profile .title {
    color: #c22545;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    padding-top: .5em;
    padding-bottom: .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 .description.text-left{
    text-align: left;
}
.wrapper .profile .btn {
    color: #fff;
    width: 130px;
    height: 42px;
    outline: 0;
    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, .16), 0 3px 6px rgba(0, 0, 0, .16);
    background:linear-gradient(to bottom right, #d03759, #a41834);
    margin-top: 20px;
}
.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, .2), 0 3px 6px rgba(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(3) a {
    background: linear-gradient(to bottom right, #3fc954, #22872c);
}

.wrapper .social-icons .icon h4 {
    color: #080911;
    font-size: 13px;
    margin-top: 1.3em;
    margin-bottom: .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: .9em;
    font-weight: 400;
}
.concept a {
    color: #ac1966;
    text-decoration: none;
}
.banner {
     background-image: url(../img/imagen-destacada.jpg);
    background-size: cover;
    height: 300px;
    margin-top: -20px;
    margin-right: -20px;
    margin-left: -20px;
    border-radius: 11px 10px 0 0;
    position: relative;
    background-position: center top;

}

.gallery .fa {
    position: absolute;
    margin: auto;
    right: 5px;
    bottom: 5px;
    background: #fff;
    width: 30px;
    height: 30px;
    font-size: 15px;
    color: #6c6c6c;
    text-align: center;
    line-height: 32px;
    border-radius: 5px;
}
.owl-carousel .owl-item img{
    width: 100%;
        border: 1px solid #f1f1f1;
}
.projects{
    text-align: center;
    font-size: 20px;
    color: #4a4644;
}
.top-icons {
    position: relative;
    width: 90%;
    margin-left: 5%;
    top: 10px;
}
.adress {
    margin-top: 20px;
}
.adress h4 {
    margin-bottom: 5px;
    font-size: 16px;
    color: #000;
}
.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: #a91534;
}
.services{
        background: #f7f7f7c9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ebebeb;
}
h2.inactive {
    color: #ccc;
}
h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}
.button, input[type=button], input[type=reset], input[type=submit] {
    background-color: #2f9cee;
    border: none;
    color: #fff;
    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(0 0 0 / 62%);
    box-shadow: 0 10px 30px 0 rgb(0 0 0 / 62%);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 5px 20px 40px 20px;
}
.button, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    background-color: #000000;
}
.button, input[type=button]:active, input[type=reset]:active, input[type=submit]:active {
    -moz-transform: scale(.95);
    -webkit-transform: scale(.95);
    -o-transform: scale(.95);
    -ms-transform: scale(.95);
    transform: scale(.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 0;
    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 #a91534;
}
input[type=text]:placeholder, textarea:placeholder {
    color: #ccc;
}
.modal-sm {
    width: 400px;
}
.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #56baed;
    content: "";
    transition: width .2s;
}
.underlineHover:hover {
    color: #0d0d0d;
}
.underlineHover:hover:after {
    width: 100%}
h1 {
    color: #60a0ff;
}
:focus {
    outline: 0;
}
#icon {
    width: 40%;
    border-radius: 100%;
    margin-top: 15px;
    background: #000000;
    border: 1px solid #a91534;
}
#modalContact .modal-body {
    padding: 0;
}
.close {
    position: absolute;
    right: -10px;
    width: 40px;
    height: 40px;
    background: #000!important;
    opacity: 1;
    color: #fff;
    text-shadow: none;
    top: -10px;
    border-radius: 100%;
    z-index: 99;
    transition: all .2s;
}
.close:hover {
    background: #fff!important;
    color: #000!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: 0 0!important;
    position: relative;
    top: -20px;
    right: -40px;
}
.img-custom {
    width: 100%;
    margin-top: -6px;
}
    .gallery {
    margin: 20px 0;
}
.owl-carousel .owl-item img {
        width: 100%;

}
.owl-next span, .owl-prev span{
    top: 0%!important;
    background: red!important;
    position: absolute!important;
    color: #fff!important
}
.owl-prev, .owl-next{
    background: none!important;
} 
.owl-prev span{
    left: 5px;
    right: auto!important;
}
.owl-next span{
    right: 0px;
    left: auto!important;
}
@media (max-width:450px) {
    body {
    height: auto;
    margin: 20px 0;
}
.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;
}
.owl-theme .owl-dots .owl-dot span{
    width: 25px;
}
}