body {
    background: #fff;
}

body .container {
    margin: 0 auto;
    padding: 0;
}

#container {
    max-width: 1170px;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

/* retomar luego */
.link-to-home {
    /*display: none;*/
    height: 100%;
}

.add-border {
    border-top: 0.5px solid #d7d7d2;
}

.background-slow-gray {
    background-color: #F4F4F4;
}

.background-gray, #topbar.background-gray  {
    background-color: #d7d7d2;
}

.background-white {
    background-color: #fff;
}

#tmenu, #tmenu > li {
    background: #F4F4F4;
}

#tmenu li .first-item {
    padding-inline-start: 2px;
}

#topmenu {
    padding-top: 0;
}

#topbar {
    /*background-position: center;*/
    height: 165px;
    min-height: 165px;
    background: none;
}

.main-menu {
    position: sticky;
    inset: 0;
    z-index: 1;
}

.menu-fixed {
    position: fixed;
    top:0;
    background-color: rgba(245, 245, 245, 0.9);
    width: 100%;
    z-index: 1;
}

.menu-fixed #tmenu, #tmenu > li {
    background-color: rgba(245, 245, 245, 0);
}

.wrap-link-to-home {
    height: 100%;
}

.navbar-sticky-top {
    position: sticky;
    top: 0;
    margin-bottom: 0;
    z-index: 1;
}

.banner-logo .container {
    display: flex;
    height: 165px;
    align-items: center;
}

.banner-logo .home-image-link {
    max-width: 400px;
    display: block;
    margin-inline: auto;
    padding-inline: 20px;
}

.banner-logo .logo-img {
    width: 100%;
    object-fit: contain;
}

/* Index */

#container .nbox .gr {
    width: 96%;
}

#container .nbox, #container .box-index {
    background: #fff none;
    margin-bottom: 20px!important;
}

.container.container-news {
    padding-top: 20px!important;
}

#container .box-index:hover {
/*box-shadow: 0 0 3px #d7d7d2;*/
}


/* end Index */

/* carousel */

.container-carousel {
    padding: 15px 0;
}

.carousel-title {
    margin-top: 0;
}

.carousel-title a {
    font-size: 3.4rem;
    line-height: 40px;
    color: #415f65;

    letter-spacing: normal;
}

.carousel-text {
    display: flex;
    flex-direction: column;
}

#carousel-news .carousel-text .carousel-read-more {
    margin-block-start: auto;
}

.box-shadow {
    box-shadow: 0 0 3px #d7d7d2;
}

.item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

#carousel-news {
    margin-top: 15px;
}

#carousel-news .carousel-control {
    background: none;
    color: white;
}

#carousel-news .item p {
    font-size: 1.6rem;
    margin-top: 30px;
    margin-block: 0;
    width: 98%;
}

.container-item {
    display: flex;
}

.container-item .cols {
    padding: 30px;
}

/* end carousel */

.clear-both {
    clear: both;
}

.color-white {
    color: #fff;
}

#footer footer.row {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

footer {
    padding: 10px;
}

footer h5 {
    font-size: 20px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #fff;
    border-bottom: 1px solid #fff;
}

footer > div h4 {
    font-weight: bold;
    font-size: 40px;
}

#footer footer .social-networks {
    margin-top: 30px;
    /*position: absolute;
    bottom: 0;*/
}

#footer footer .social-networks a {
    margin-left: 0;
    margin-right: 10px;
    height: auto;
    justify-content: center;
}

#footer footer ul {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

#footer input,
#footer textarea {
    background-color: #a85349;
}

#footer footer input,
#footer footer textarea {

}

#footer .form-control,
#footer input::placeholder,
#footer textarea::placeholder
{
    color: white;
}

#footer footer ul li a {
    color: white;
}

#footer .white-logo {
    max-width: 100%;
    display: block;
    /*margin: auto;*/
}

#footer .wrap-white-logo {
   /* display: flex;
    justify-content: center;*/
    /*border-right: 1px solid white;*/
}

#footer .wrap-white-logo .privacy {
    display: block;
    margin-block: 20px;
    color: white;
    font-size: 16px;
}

#container {
    width: 100%;
    margin-block: 0;
}

#content {
    padding-block: 40px;
    padding-inline: 20px;
}

.margin-0 {
    margin: 0!important;
}

.padding-0 {
    padding: 0!important;
}

.carousel-indicators {
    background: rgba(33, 33, 33, 0.3);
    margin-left: 0;
    border-radius: 20px;
    padding: 8px;
    bottom: 36px;
    width: auto;
    transform: translateX(-50%);
}

.carousel-control .glyphicon-chevron-left {
    left: 25%;
}

.carousel-control .glyphicon-chevron-right {
    right: 25%;
}

.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
    padding: 16px;
    width: 56px;
    height: 56px;
    background: rgba(33, 33, 33, 0.8);
    border-radius: 50%;
}

@media only screen and (max-width : 1370px) {
    .container-item .cols {
        padding: 10px 30px;
    }

    .item img {
        height: 360px;
        object-fit: cover;
    }

    .carousel-indicators {
        bottom: 16px;
    }
}

@media only screen and (max-width : 949px) {
    .carousel-title a {
        font-size: 25px;
        line-height: 30px;
    }

    .item img {
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
        padding: 12px;
    }
}

@media only screen and (min-width : 768px) and (max-width : 949px) {
    .item img {
        height: 100%;
        object-fit: cover;
    }
}

@media only screen and (max-width : 767px) {
    .item img {
        height: 100%;
        object-fit: cover;
    }

    .home-container {
        width: 100%;
    }

    .container-item {
        display: block;
    }

    .container-carousel .carousel-text {
        padding-block-start: 0;
    }

    #carousel-news .carousel-text .carousel-read-more {
        margin-block-start: 20px;
    }
}

#footer .footer-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 40px;
}

@media only screen and (max-width : 500px) {
    .item img {
        height: 100%;
        object-fit: cover;
    }
}

@media only screen and (max-width : 380px) {
    .item img {
        height: 100%;
        object-fit: cover;
    }
}

@media screen and (min-width: 992px) {
    #footer .footer-container {
        flex-direction: row;
    }

    #footer .box {
        flex: 1;
    }

    #footer footer.row {
        flex-direction: row;
    }

    #footer footer .social-networks a {
        justify-content: flex-start;
    }
}

@media screen and (min-width: 1200px) {
    /*#content {*/
    /*    padding-block: 30px;*/
    /*}*/

    #footer .footer-container {
        padding-inline: 0;
    }
}

@media (min-width: 768px) {
    .banner-logo .home-image-link {
        max-width: 600px;
    }

    #content {
        padding-inline: 0;
    }
}