

/**************************HOME CSS**************************/

.home-publications-rubros {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.home-publications-rubros>.pub-dest {
    -ms-flex: 1 0 70%;
    -webkit-box-flex: 1 0 70%;
    flex: 1 0 70%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-direction: column;
    flex-direction: column;
}

.pub-dest header {
    font-size: 2rem;
    line-height: 2.4rem;
}

.pub-dest header img {
    width: 5rem;
    filter: brightness(0.29) saturate(225) hue-rotate(125.5deg);
}

.pub-dest header span {
	vertical-align: middle;
}

.pub-dest .content {
    position: relative;
    background-color: rgb(242, 242, 242);
}

.pub-dest .content>div {
    -ms-flex: 1;
    -webkit-box-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
	flex-wrap:wrap;
	gap:1em 0 ;
}
.pub-dest .content>div .list-item {
    -ms-flex:  0 32%;
    -webkit-box-flex: 	0 32%;
    flex:  0 32%;
	max-width:32%;
}
.pub-dest .content .block-publish img {
    height: 150px;
}

.pub-dest .content .bootom-link:before {
    position: absolute;
    top: 0;
    content: "";
    width: 50%;
    height: 1px;
    background-color: rgb(179, 179, 179);
}

.pub-dest .content .bootom-link {
    padding: 1rem;
    font-size: 2rem;
    line-height: 2.5rem;
    color: rgb(51, 51, 51);
    position: absolute;
    bottom: 0;
    left: 0;
}

.pub-dest .content .bootom-link.text-right:before {
	position: absolute;
    top: 0;
    content: "";
    width: 50%;
    height: 1px;
    background-color: rgb(179, 179, 179);
}

.pub-dest .content .bootom-link.text-right {
    padding: 1rem;
    font-size: 2rem;
    line-height: 2.5rem;
    color: rgb(51, 51, 51);
    position: absolute;
    bottom: 0;
    right: 0;
	left: auto;
	text-align: right;
}

.home-publications-rubros .ad-lateral {
    -ms-flex: 1 0 30%;
    -webkit-box-flex: 1 0 30%;
    flex: 1 0 30%;
	
}
.SDPub {
	text-align: center;
    margin: auto;
}
@media only screen and (min-width:960px) {
    .pub-dest .content {
        padding: 3rem;
        padding-bottom: 5rem;
    }
}

@media only screen and (max-width:960px) {
    .home-publications-rubros>* {
        width: 100%;
		flex:1 0 100%!important;
    }
    .pub-dest .content {
        padding: 1rem;
        padding-bottom: 5rem;
    }
}

@media only screen and (max-width:768px) {
    .pub-dest .content .block-publish img {
        height: 100px;
    }
}

@media only screen and (max-width:560px) {
    .pub-dest .content .block-publish img {
        height: 150px;
    }
    .pub-dest .content .block-publish {
        margin-bottom: 2rem;
    }
    .home-publications-rubros,
    .pub-dest .content>div {
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 2rem;
    }
    /*.pub-dest .content .bootom-link {
        position: relative;
        width: -moz-fit-content;
        width: fit-content;
    }*/
    .pub-dest .content>div .list-item {
        -ms-flex: 1 0 100%;
        -webkit-box-flex: 1 0 100%;
        flex: 1 0 100%;
		max-width:100%;
    }
}


/***********************carousel *****************************/

#carousel-hero {
    position: relative;
}

#carousel-hero .item>div {
    height: 300px;
    position: relative;
    background-position: center;
    background-size: cover;
}

#carousel-hero .legend {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80%;
    background: rgba(0, 0, 0, 0.4);
    color: white;
}

#carousel-hero .legend>div {
    -ms-flex-align: center;
    -ms-flex-item-align: center;
    align-items: center;
    height: calc(100%);
}

#carousel-hero .legend .home-rubro-title {
    font-size: 4rem;
    line-height: 4.8rem;
}

#carousel-hero .legend .home-rubro-description a {
    color: #fff;
    text-decoration: underline;
}

#carousel-hero .legend .btn-hero {
    background-color: #ccff00;
    color: #000;
    padding: 0.5rem 1em;
    font-size: 20px;
    border-radius: 3rem;
    font-weight: 700;
	
    transform: translateY(-2px);
}

#carousel-hero .carousel-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%;
    transform: translateX(-50%);
    z-index: 10;
}

#carousel-hero .carousel-arrow .carousel-control {
    color: #FFF;
    font-size: 4rem;
    width: -moz-fit-content;
    width: fit-content;
}


/***********************carousel fin*****************************/

/**oculto la navbar ya que aparece mucho mas abajo*/
.navbar-esp{
	display:none;
}