body {
    font-family: "Lato";
}

h4 {
    padding: 10px;
}

section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;

}



.iconos {
    margin-top: 15px;
    height: 120px;
}


.carousel-caption * {

    text-decoration: none;
    font-size: 46px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    transition: 0.5s padding;
    text-align: center;
}

.carousel-caption h3 {
    text-decoration: none;
    font-size: 36px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    transition: 0.5s padding;
    text-align: center;
}

/* CONTACTO */

.btn {
    box-shadow: 0 3px 3px 0 rgba(33, 37, 41, .1)
}

.btn-primaryiber {
    background-color: #648B35;
    border-color: #648B35;
    color: white;
    font-size: 23px;
    font-style: italic;
    padding: 7px 25px 7px 25px;
}

.primaryiber:active,
.btn-primaryiber:focus,
.btn-primaryiber:hover {
    background-color: white;
    color: #648B35;
    border-color: #648B35;
}

.font-weight-light {
    font-weight: 100 !important
}




.header-contacto {
    background-color: #FBB03B;
}


.contactoIBER {
    margin: 20px;
    padding: 20px;

}

.form-check-input {

    border-top-color: #6b8941;
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: #6b8941;
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: #6b8941;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: #6b8941;
    border-left-style: solid;
    border-left-width: 1px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    color: #6b8941;

}

.form-check-label {
    color: #6b8941;
}

.IBER {
    border: 0;
    outline: 0;
    background: transparent;
    border-bottom: 1px solid #6b8941;
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 18px;
    line-height: 3.5;
    color: #6b8941;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/**/


#myBtn {
    display: none;
    position: fixed;
    top: 40%;
    right: 0px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #6b8941;
    font-size: 54px;
    color: white;
    border-radius: 50% 0 0 50%;
    padding-left: 20px;
    padding-right: 20px;
    width: 100px;
    
}

#myBtn:hover {
    background-color: #555;
}


.header_cierre {
    background-color: #FBB03B;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 24px;
    font-style: italic;
    color: #000;
    justify-content: center;
    line-height: 2;
}

.ocultar {
    display: none;
}

.flechas {

    position: fixed;
    top: 600%;
    right: 0px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #6b8941;
    font-size: 54px;
    color: white;
    border-radius: 50% 0 0 50%;
    padding-left: 20px;
    padding-right: 20px;
    width: 100px;
}

.pie {
    background-color: #6b8941;
    height: 150px;

}

.pielogo {
    display: block;
    margin: auto;
    height: 60px;
}


.zoom {
    position: relative;
    height: 600px;
}

.zoom .zoom-desc {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    transition: 0.5s padding;
    text-align: center;
    font-size: 52px;
    position: absolute;
    bottom: 30%;
    right: 10px;
    padding-left: 20px;
    padding-right: 20px;
    vertical-align: middle;
}


.img-anim {
    width: 100%;
    height: 600px;
    background-size: 110% 110%;
    background-position: center center;
    animation: shrink 5s infinite alternate;
}


@media only screen and (min-width: 320px) and (max-width: 810px) and (min-device-width: 320px) and (max-device-width: 810px) and (orientation: portrait) {
    .zoom {
        height: 200px;
    }

    .img-anim {

        height: 200px;
    }

    .zoom .zoom-desc {
        background-color: rgba(0, 0, 0, 0.2);
        color: white;
        transition: 0.5s padding;
        text-align: center;
        font-size: 18px;
        position: absolute;
        bottom: 30%;
        right: 10px;
        padding-left: 20px;
        padding-right: 20px;
        vertical-align: middle;

    }

    .iconos {
        margin-top: 15px;
        height: 90px;
    }


    .carousel-caption * {

        text-decoration: none;
        font-size: 18px;
        background-color: rgba(0, 0, 0, 0.3);
        color: white;
        transition: 0.5s padding;
        text-align: center;
    }

    .carousel-caption h3 {
        text-decoration: none;
        font-size: 14px;
        background-color: rgba(0, 0, 0, 0.3);
        color: white;
        transition: 0.5s padding;
        text-align: center;
    }
    #myBtn {
        font-size: 30px;
        border-radius: 60% 0 0 60%;
        padding-left: 5px;
        padding-right: 5px;
        width: 60px;
    
    }

}

@media only screen and (min-width: 320px) and (max-width: 1024px) and (min-device-width: 320px) and (max-device-width: 1024px) and (orientation: landscape) {
    .zoom {
        height: 300px;
    }

    .img-anim {

        height: 300px;
    }

    .zoom .zoom-desc {
        background-color: rgba(0, 0, 0, 0.2);
        color: white;
        transition: 0.5s padding;
        text-align: center;
        font-size: 18px;
        position: absolute;
        bottom: 30%;
        right: 10px;
        padding-left: 20px;
        padding-right: 20px;
        vertical-align: middle;

    }

    .iconos {
        margin-top: 15px;
        height: 90px;
    }


    .carousel-caption * {

        text-decoration: none;
        font-size: 24px;
        background-color: rgba(0, 0, 0, 0.3);
        color: white;
        transition: 0.5s padding;
        text-align: center;
    }

    .carousel-caption h3 {
        text-decoration: none;
        font-size: 18px;
        background-color: rgba(0, 0, 0, 0.3);
        color: white;
        transition: 0.5s padding;
        text-align: center;
    }



}


@keyframes shrink {
    0% {
        background-size: 110% 110%;
    }

    100% {
        background-size: 100% 100%;
    }
}








@media screen and (max-width: 1080px) {

    #carouselExampleCaptions {
        display: block;
    }

    .accordion {
        display: none;

    }

}

@media screen and (min-width: 1081px) {

    #carouselExampleCaptions {
        display: none;
    }

    .accordion {
        display: block;

    }

}