/*
 Theme Name:     Santos Ochoa Tiendas
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/* COLORS */
/* -------------------- */
body,
body#tinymce.wp-editor.post-format-standard,
body#tinymce.wp-editor.page-template-page-template-post {
	color: #333;
}
.et_pb_widget a,
#left-area .post-meta a,
.page-template-page-template-post #main-content .page.type-page .entry-content h2,
.page-template-page-template-post #main-content .page.type-page .entry-content h5,
#main-content .post.et_pb_post .entry-content h2,
#main-content .post.et_pb_post .entry-content h5,
body#tinymce.wp-editor.post-format-standard h2,
body#tinymce.wp-editor.post-format-standard h5,
body#tinymce.wp-editor.page-template-page-template-post h2,
body#tinymce.wp-editor.page-template-page-template-post h5 {
	color: #9d2235;
}
#main-content .post.et_pb_post .entry-content h6,
.page-template-page-template-post #main-content .page.type-page .entry-content h6,
body#tinymce.wp-editor.post-format-standard h6,
body#tinymce.wp-editor.page-template-page-template-post h6 {
	color: #2ea3f2;
}
/* --------------------- */

/* POSTS */
.blog #main-content .post.sticky.format-aside {
	margin-bottom: 50px;
}
.blog #main-content .post.sticky.format-aside .entry-content {
	display: none;
}
.blog #main-content .post.sticky.format-aside h2 {
	font-size: 18px;
	margin-bottom: 10px;
}
.blog #main-content .post.sticky.format-aside .post-meta {
	display: none;
}
.archive #main-content .post.et_pb_post,
.blog #main-content .post.et_pb_post,
.search #main-content .post.et_pb_post {
    margin-bottom: 90px;
}
.archive #main-content .post.et_pb_post h2.entry-title,
.blog #main-content .post.et_pb_post h2.entry-title,
.search #main-content .post.et_pb_post h2.entry-title {
    font-size: 28px;
}
.archive #main-content .post.et_pb_post.format-standard .entry-featured-image-url,
.blog #main-content .post.et_pb_post.format-standard .entry-featured-image-url,
.search #main-content .post.et_pb_post.format-standard .entry-featured-image-url {
	display: none;
}
.archive #main-content .post.format-aside,
.search #main-content .post.format-aside {
	display: none;
}
/* Style posts */
#main-content .post.et_pb_post .entry-content {
	padding-top: 20px;
}
#main-content .post.et_pb_post .entry-content h2,
.page-template-page-template-post #main-content .page.type-page .entry-content h2,
body#tinymce.wp-editor.post-format-standard h2,
body#tinymce.wp-editor.page-template-page-template-post h2 {
	font-weight: normal;
	font-size: 24px;
    line-height: 1.2em;
}
#main-content .post.et_pb_post .entry-content h3,
.page-template-page-template-post #main-content .page.type-page .entry-content h3,
body#tinymce.wp-editor.post-format-standard h3,
body#tinymce.wp-editor.page-template-page-template-post h3 {
	font-weight: normal;
	font-size: 18px;
}
#main-content .post.et_pb_post .entry-content h4,
.page-template-page-template-post #main-content .page.type-page .entry-content h4,
body#tinymce.wp-editor.post-format-standard h4,
body#tinymce.wp-editor.page-template-page-template-post h4 {
	font-weight: normal;
	font-size: 14px;
	margin-bottom: 15px;
}
#main-content .post.et_pb_post .entry-content h5,
.page-template-page-template-post #main-content .page.type-page .entry-content h5,
body#tinymce.wp-editor.post-format-standard h5,
body#tinymce.wp-editor.page-template-page-template-post h5 {
	font-weight: normal;
	line-height: 1.7em;
	font-size: 14px;
}
#main-content .post.et_pb_post .entry-content h6,
.page-template-page-template-post #main-content .page.type-page .entry-content h6,
body#tinymce.wp-editor.post-format-standard h6,
body#tinymce.wp-editor.page-template-page-template-post h6 {
	font-weight: normal;
	line-height: 1.7em;
	font-size: 14px;
}

/* DIVI */
.page-template-page-template-post #main-content .et_pb_section.et_pb_section_1 {
    padding: 0;
}
.page-template-page-template-post #main-content .et_pb_row_SO_NOPADDING {
	padding: 0;
	width: 100%;
}

/* Meta posts */
#left-area .post-meta {
	font-size: 12px;
	border-radius: 3px;
	padding: 8px;
	margin-top: 15px;
	background-color: #efefef;
}

@media (max-width: 980px) {
	.et_right_sidebar #sidebar {
    		margin-top: 60px;
	}
}

/* WIDGETS */
.widget_media_image a {
	text-align: center;
	display: block;
	padding: 40px 60px;
	border: 1px solid #efefef;
}
.widget_media_image a img {
	/*max-width: 195px;*/
}

/* WIDGET EVENTS */
.widget_em_widget li {
	display: block;
	line-height: 1.2;
	margin-top: 11px;
	padding-top: 7px;
	border-top: 1px dashed #dfdfdf;
}
.widget_em_widget li:first-child {
	margin-top: 1px;
}
.widget_em_widget li img {
	float: left;
	width: 50px;
	margin: 3px 10px 0 0;
}
.widget_em_widget li strong {
	display: block;
	margin: 0 0 5px 0;
}
.widget_em_widget li span {
	display: block;
	font-size: 11px;
}
.widget_em_widget li span.date {
	clear: both;
    margin-top: 8px;
}
.widget_em_widget li span.date:first-letter {
    text-transform: uppercase;
}

/* EVENTS */
div.css-search div.em-search-main .em-search-submit {
	background: #9D2235;
	padding: 6.5px 11px;
}
.css-events-list table.events-table th.event-time {
    width: 170px;
}
.css-events-list table.events-table th.event-photo {
    width: 100px;
}
.css-events-list table.events-table tbody td:first-child:first-letter {
    text-transform: uppercase;
}

.css-events-list ul.events-new-table {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 0;
}
.css-events-list ul.events-new-table li {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px dashed #dfdfdf;
	clear: both;
	overflow: hidden;
	line-height: 1.3;
}
.css-events-list ul.events-new-table li .image {
	float: left;
	margin-right: 20px;
}
.css-events-list ul.events-new-table li h2 {
	font-size: 20px;
	display: inline;
}
.css-events-list ul.events-new-table li h2 a {
	color: #9d2235;
}
.css-events-list ul.events-new-table li p {
	line-height: 1.2;
}

@media (max-width: 980px) {
	.css-events-list ul.events-new-table li h2 {
		font-size: 18px;	
	}
	.css-events-list ul.events-new-table li p {
                clear: both;
        }
	.css-events-list table.events-table th.event-photo {
	    	width: 50px;
	}
}
.css-events-list table.events-table td p {
	line-height: 1.2;
}

/* EVENT */
.event-template-default.single-event .entry-content .info {
	overflow: hidden;
}
.event-template-default.single-event .entry-content img {
	float: left;
	width: 30%;
	margin-right: 5%;
}
.event-template-default.single-event .entry-content .data {
	float: left;
	width: 65%;
}
.event-template-default.single-event .entry-content span.date:first-letter {
    text-transform: uppercase;
}

@media (max-width: 980px) {
	.event-template-default.single-event .entry-content img {
		float: none;
		width: 100%;
		margin-right: 0;
	}
	.event-template-default.single-event .entry-content .data {
		float: none;
		width: 100%;
	}
}

.event-template-default.single-event .inscription {
	clear: both;
	margin-top: 40px;
	padding: 30px;
	background: #E8F7F2;
}
.event-template-default.single-event .inscription .et_pb_contact p input,
.event-template-default.single-event .inscription .et_pb_contact p textarea {
	background-color: #fff;
}
.event-template-default.single-event .inscription .em-booking-form-details {
	width: 100%;
	padding: 0;
}
.event-template-default.single-event .inscription .em-booking-form-details label {
	line-height: 1.1;
	font-size: 12px;
	font-weight: bold;
	display: none;
}
	.event-template-default.single-event .inscription .em-booking-form-details .input-checkbox label {
		display: block;
		margin-bottom: 3%;
	}
.event-template-default.single-event .inscription .em-booking-form-details input.input {
	width: 100%;
}
.event-template-default.single-event .inscription .input-field-data_privacy_consent {
	font-size: 12px;
}
.event-template-default.single-event .inscription .et_pb_contact_form {
	margin: 0;
}
.event-template-default.single-event .inscription p.et_pb_contact_field {
	padding: 0;
	/*margin: 0;*/
}
.event-template-default.single-event .inscription .em-booking-buttons input{
	color: #fff;
    background-color: #2ab27b;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-color: #2ab27b !important;
    white-space: nowrap;
    padding: 9px 17px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
