* {
    box-sizing: border-box;
}

*:focus {
    outline: 0 !important;
}

body {
    font-size: 16px;
    font-family: Arial;
    max-width: 1200px;
    margin: auto;
}

a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
}

.cssVisible0 {
    display: none;
}

.container-custom {
    width: 85%;
    margin: auto;
}

.SDPub img {
    max-width: 100%;
}

.separador-gris {
    background-color: rgb(242, 242, 242);
}

.separador-gris.y1 {
    height: 1rem;
}

.separador-gris.y2 {
    height: 2rem;
}

.separador-gris.y3 {
    height: 3rem;
}

.separador-gris.y4 {
    height: 4rem;
}

.separador-gris.y5 {
    height: 5rem;
}
.div-gris {
    background-color: rgb(242, 242, 242);
}

@media only screen and (max-width:960px) {
    .container-custom {
        width: calc(100% - 1.5rem);
    }
}


/************************Header estilos***********************/

header .top-header {
    margin-top: .8rem;
    margin-bottom: .8rem;
}

header .top-header {
    color: black;
    font-weight: 600;
}

header .top-header #h-date {
    font-weight: 400;
    font-size: 1.2rem;
}

header .user-option {
    margin-right: 2rem;
}

header .user-option>* {
    padding: .5rem;
}

header .user-option .btn-suscription {
    background-color: rgb(174, 7, 0);
}
header .user-option .user-name{
	padding-left: 5px;
    font-size: 1.2rem;
}
header .user-option .user-name:not(:empty):before{
	content:"Hola, ";
}

header .user-option .menu-user a {
    display: block;
    color: black;
    padding: .5rem;
}

header .social-header a,
header .user-option .icon-user {
    font-size: 2rem;
    font-weight: 500;
    color: black;
    border: 2px solid black;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    width: 3rem;
    height: 3rem;
}

header .bottom-header {
    background-color: rgb(210, 35, 35);
	position:relative;
}

header .bottom-header .logo {
    color: white;
    font-size: 2.5rem;
}

header .bottom-header button.navbar-toggler {
    background-color: transparent;
    color: white;
    font-size: 4rem;
    border: none;
    padding-left: .5rem;
    padding-left: .5rem;
}

header .bottom-header select[name="r"],
header .bottom-header select[name="rd"],
header .bottom-header select[name="rdm"] {
    width: 5px;
}

header .bottom-header .burger-menu {
    background-color: rgb(242, 242, 242);
}

header .bottom-header .burger-menu .categories-header {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

header .bottom-header .burger-menu .categories-header li {
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    padding: 1rem 0rem;
}

header .bottom-header .burger-menu .categories-header li .sm-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-flex-item-align: center;
    align-items: center;
    color: rgb(77, 77, 77);
}

header .bottom-header .burger-menu .categories-header li img {
    height: 6rem;
}

header .bottom-header .burger-menu .categories-header span {
    display: block;
    margin-top: -1rem;
    text-align: center;
}

header .bottom-header .burger-menu .categories-header li:hover img {
    filter: brightness(0);
}

header .bottom-header .burger-menu .categories-header .selected-menu {
    opacity: 0.9;
}

header .bottom-header .burger-menu .categories-header .sm-item:hover {
    background-color: white;
}

header .bottom-header .burger-menu .categories-header .sm-item:hover a {
    color: black;
}
@media only screen and (min-width:640px){
	header .bottom-header .burger-menu {
		display:block;
	}
	header .navbar-toggler.toggler-example{
		display:none;
	}
	header .bottom-header >.container-custom{
		height:58px;
	}
}
@media only screen and (max-width:640px) {
    .top-header,
    .bottom-header>.container-custom {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .top-header>div:last-child {
        justify-content: space-between;
        margin-top: .4rem;
    }
    .top-header>div,
    .bottom-header>.container-custom>div {
        width: 100%;
        -ms-flex: 1 0 100%;
        -webkit-box-flex: 1 0 100%;
        flex: 1 0 100%;
    }
    .bottom-header .div-from {
        -ms-flex: 1 0 auto;
        -webkit-box-flex: 1 0 auto;
        flex: 1 0 auto;
    }
    header .bottom-header .logo {
        font-size: 2.4rem;
    }
	
    .bottom-header .form-search-header {
        width: 100%;
    }
    header .bottom-header button.navbar-toggler {
        padding-top: .7rem;
    }
	header .bottom-header .burger-menu{
		position:absolute;
		left:0;
		right:0;
		z-index:100;
	}
    header .bottom-header .burger-menu .categories-header {
        -webkit-box-orient: column;
        -ms-flex-direction: column;
        flex-direction: column;
		background-color: rgb(242, 242, 242);
		width: 100%;		
    }
    header .bottom-header .burger-menu .categories-header li {
        width: calc(100% - 1rem);
        margin: auto;
    }
    header .bottom-header .burger-menu .categories-header li:not(:first-child) {
        border-top: 1px solid rgb(77, 77, 77);
    }
    header .bottom-header .burger-menu .categories-header li .sm-link {
        -ms-flex-direction: row;
        -webkit-box-direction: row;
        flex-direction: row;
        justify-content: flex-start;
        margin-left: 2rem;
    }
    header .bottom-header .burger-menu .categories-header li img {
        height: 3rem;
    }
    header .bottom-header .burger-menu .categories-header span {
        margin-top: 0;
    }
	
	header .bottom-header .burger-menu .b-modal{
		position: absolute;
		top: 0;
		background: rgba(0,0,0,0.3);
		bottom: 0;
		height: 100vh;
		left: 0;
		right: 0;
		z-index: -6;
		overflow:no-scroll
	}
	
}
@media only screen and (max-width:400px){
	header .bottom-header .logo img{
        width: 135px;
    }
}

/************************Header fin estilos***********************/


/************************sitemap  estilos**************************/

#site-map {
    background-color: rgba(210, 35, 35);
    color: white;
}

#site-map>ul {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex-wrap: wrap;
}

#site-map ul>li {
    flex: 1 0 auto;
}

#site-map ul>li>.art-body {
    border-left: #fff 1px solid;
    padding: 0 .5rem;
    font-size: 12px;
}

#site-map ul li header div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    -webki-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    margin-bottom: .5rem;
    width: -moz-fit-content;
    width: fit-content;
}
#site-map ul li header a div {
	color:white;
}
#site-map ul li header div img {
    height: 6rem;
    width: 6rem;
    margin: auto;
    filter: brightness(100)
}

#site-map .art-body a {
    color: white;
}

@media only screen and (max-width:960px) {
    #site-map>ul>li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    #site-map ul>li>.art-body {
        font-size: 16px;
    }
    #site-map ul li header div .art-title {
        font-size: 1.3em;
        margin-top: 0em;
    }
}

@media only screen and (max-width:460px) {
    #site-map>ul>li {
        width: 100%;
        -ms-flex: 1 0 100%;
        -webkit-box-flex: 1 0 100%;
        flex: 1 0 100%;
		margin:0;
    }
    #site-map>ul>li:not(:first-child) {
        border-top: 1px solid rgb(77, 77, 77);
        margin-top: 1rem;
    }
    #site-map ul li header div {
        width: 100%;
        -ms-flex-align: center;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }
    #site-map ul li header div img {
        margin: 0px;
        width: 9rem;
        margin-left: -3rem;
    }
    #site-map ul>li>.art-body {
        margin-left: 3rem;
    }
}


/************************sitemap fin estilos***********************/


/************************footer  estilos***********************/

footer {
    background-color: rgb(210, 35, 35);
    color: #FFF;
}

footer div {
    margin-left: 1rem;
    margin-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}


/************************foote fin estilos***********************/

select[name="r"],
select[name="rd"],
select[name="rdm"] {
    display: inline-block;
    padding: 0 10px;
    z-index: 10;
    border-right: none;
    box-shadow: 0 0 11px 0px rgba(0, 0, 0, 0.59);
    font-family: "Din Alternate Bold", "Roboto";
    font-size: 20px;
    width: -moz-fit-content;
    width: fit-content;
}

select[name="r"]:focus,
select[name="rd"]:focus,
select[name="rdm"]:focus {
    border: 1px solid #ccc!important;
    outline: none;
    border-right: none!important;
}

input[name="q"] {
    display: inline-block;
    box-shadow: 0 0 11px 0px rgba(0, 0, 0, 0.59);
    position: relative;
    flex: auto;
    margin-left: -5px;
}

input[name="q"]:focus {
    border: 1px solid #ccc!important;
    outline: none;
    border-left: none!important;
}

@media(max-width:768px) {
    select[name="rdm"] {
        font-size: 14px;
        max-width: 35%;
    }
    input[name="q"] {
        font-size: 14px;
    }
    .form-search-header {
        margin-top: 7px;
    }
    .search-header {
        max-width: 97%;
    }
}

.search-header {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.search-header button:hover {
    color: #000A;
    background: transparent;
}

.search-header button {
    border: 0;
    border-radius: 0;
    color: #000;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 15px;
    font-weight: bold;
    position: absolute;
    bottom: 3px;
    right: 3px;
    padding: 6px 10px;
}



/***********************gris nav *****************************/

.gris-nav {
    background-color: rgb(242, 242, 242);
    font-size: 2rem;
}

.gris-nav a {
    color: rgb(77, 77, 77);
    line-height: .9em;
    padding: 0 1rem;
    margin: 2rem 0;
}

.gris-nav a:not(:first-child) {
    border-left: 1px solid rgb(77, 77, 77)
}
@media only screen and (max-width:560px) {
    .gris-nav>div {
        -webkit-box-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .gris-nav a:not(:first-child) {
        border-left: none;
        border-top: 1px solid rgb(77, 77, 77)
    }
    .gris-nav a {
        color: rgb(77, 77, 77);
        padding: 2rem 1rem;
        margin: 0;
    }
}

/***********************gris nav fin*****************************/




/**************busqueda card********************/

.block-publish,
.block-publish:hover {
    background-color: #FFF;
    color: #000;
    display: block;
    margin: .2rem 1rem;
}

.block-publish .body {
    padding: 1.5rem;
}

.block-publish .body .description {
    font-size: 2rem;
    line-height: 2.5rem;
    height: 5.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.block-publish .body .price {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-top: 2rem;
}

.block-publish .footer {
    text-align: center;
}

.block-publish .footer span {
    color: rgb(179, 179, 179);
    border-top: 1px solid rgb(179, 179, 179);
    padding: .2rem 1.5rem;
}

.block-publish img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

@media only screen and (max-width:768px) and (min-width:460px) {
    .block-publish .body .description {
        font-size: 1.6rem;
        line-height: 1.9rem;
        height: 4rem;
    }
    .block-publish .body .price {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
}


/*************** estilo de los carteles BL_**********************/
.BL_LoadingBox_Dialog, .BL_MessageBox_Dialog, .BL_WindowBox_Dialog {
	border: 5px solid #ffc4c2;
}
.BL_LoadingBox_Text, .BL_MessageBox_Text {
    color: #990500;
}