/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.page-child .wp-post-image, .page-template .wp-post-image {
	display: none;
}

input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select{
    background: #ffff!important;
    width: 100%!important;
}
textarea {
    background: #ffff!important;
    width: 100%!important;
    height: 100px!important;
}
input[type="submit"]{
    color: #ffffff;
    background-color: #f18b3c!important;
    width: 100%!important;
}

@media (max-width: 767px) {
	
	.site-content > .elementor > .elementor-section-wrap > section:first-child {
		margin-top: -100px !important;
	}
	
}


/* ARTICULOS/ENTRADAS RELACIONADAS*/
.rel_posts {
  border-top: 1px dotted gray;
  padding-top: 20px;
}
.rel_posts:after {
  content: "";
  display: block;
  margin-bottom: 10px;
  padding-bottom: 10px;
  clear: both;
}
.rel_posts ul {
  width: 100%;
}
.rel_posts ul li {
  list-style: none;
  width: 30%;
  float: left;
  margin-left: 20px;
}
.rel_posts ul li .title_rel {
  display: block;
  padding: 4px;
margin: 0;
}
.rel_posts ul {
    width: 100%;
    margin: 0;
}
@media only screen and (max-width: 600px) {
  .rel_posts ul li {
    width: 100%;
    margin-left: 15px;
    margin-bottom: 15px;
  }
  .rel_posts ul li:nth-child(odd) {
    clear: both;
  }
}

body{
	overflow-x: hidden;
}

html {
	overflow-x: hidden;
}


/* GENERAL */

/* Iconos flotantes de contacto */
.elementor-view-stacked.elementor-shape-circle.elementor-widget.elementor-widget-icon {
    width: auto !important;
}

/* 
 * ====================================================
 * DIRECTORIO SDI 
 * ====================================================
 * */


/* PÁGINA PRINCIPAL DEL DIRECTORIO */

/* Mapa */
.drts-map-container .drts-map-map {
    height: 370px !important;
}
.drts-map-map.drts-popover-ignore-click {
    z-index: 1;
}

/* Sidebar */
h2.widget-directorio-title {
    font-size: 1.2em;
    font-weight: 400 !important;
    color: #444444;
}
.dir-sidebar-location li a h2 {
    font-size: 1em;
    margin-bottom: 10px;
}

/* Lista de integradores */

.drts-no-image::before, .drts-no-image::after {
    display: none;
}
.drts-display-element-entity_field_directory_photos-1.directory-listing-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.drts-display-element-entity_field_directory_photos-1.directory-listing-photo a img {
    object-fit: scale-down;
    object-position: center;
}

.drts-display-element-entity_field_post_title-1 a {
    font-size: 0.9em !important;
    font-weight: 700 !important;
    color: #272727;
}
.drts-display-element-entity_field_directory_category-1 {
    display: none;
}

.drts-display-element.drts-display-element-text-1 h1 {
	font-size: 2.4em;
	color: #474747;
	margin-bottom: 1.5em;
}




@media only screen and (min-width: 900px) {
	.drts-view-entities-list-row>div>.drts-view-entity-container, .drts-view-entities-masonry-container>.drts-view-entity-container {
		margin-bottom: 30px !important;
	}
}


/* PÁGINA DE DETALLE DEL INTEGRADOR */

/* Contenedor de información principal */


@media screen and (max-width: 995px) {
	/*.detalle-int .drts-row.drts-gutter-lg {
		display: flex;
		flex-direction: column-reverse;
	}*/
}



/* Ajustar imagen principal del integrador */
/*.detalle-int .drts-display-element:first-child {
    align-items: center !important;
    display: flex;
    justify-content: center;
}*/
.detalle-int .drts-display-element:first-child {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.dir-int-left-column-img .detalle-int-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 320px;
}
.drts-display-element-entity_field_directory_photos-1 img {
    object-fit: contain;
	object-position: top;
}
.drts-slider-photos.drts-field-photoslider.drts-slider-photos-photo-no-padding {
    background-color: #ffffff !important;
}

/* Categoría del integrador */
h2.dir-int-cat {
    font-size: 1.2em;
}

/* Lista de servicios */
.dir-int-service .drts-display-element {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
}
.dir-int-service .drts-display-element span {
    color: #f18a30;
}
.dir-int-service .drts-display-element h2 {
    font-size: 1.1em;
    line-height: 1em;
}

/* Mapa */
div#drts-map-map-0 {
    z-index: 1;
}


/* Formulario */
input.form-field, textarea.form-field {
    border: 1px solid #aaaaaa;
    margin-bottom: 10px;
}

@media only screen and (min-width: 1200px) {
	/* Contenedor de información del integrador  */
	.drts-display--detailed, .drts.drts-main, .drts-entity-term .drts.drts-main {
		max-width: 1020px !important;
		margin: 0 auto !important;
	}
}



/* PÁGINA DE REGISTRO AL DIRECTORIO */

.drts-form.drts-frontendsubmit-loginorregister.drts-frontendsubmit-login-register-form {
    display: flex;
    align-items: center;
}
.drts-frontendsubmit-loginorregister header.entry-header, .integradores_dir_ltg header.entry-header {
    display: none;
}


/* PANEL DE ADMINISTRACIÓN DEL INTEGRADOR */

/* Mensaje de "No se encontraron directorios" */
.drts-view-entities-none-found {
    text-align: center;
    color: #6d6b6b;
    font-style: italic;
}

/* Título principal */
.drts-dashboard-panel header.entry-header h1.entry-title {
    text-align: center;
    color: #474747;
    font-size: 2.4em;
}