/*
Theme Name:         El Olivar de Santa Teresa
Author:             DD Lineal
Author URI:         http://ddlineal.es

License:            GPL v2
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
*/

/*************************
	FONTS
*************************/
@font-face {
    font-family: 'barlowblack';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-black-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowblack_italic';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-blackitalic-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-blackitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowbold';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-bold-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowbold_italic';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-bolditalic-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowextrabold';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-extrabold-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-extrabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowextrabold_italic';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-extrabolditalic-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-extrabolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowextralight';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-extralight-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-extralight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowextralight_italic';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-extralightitalic-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-extralightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowitalic';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-italic-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowlight';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-light-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowlight_italic';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-lightitalic-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'barlowmedium';
    src: url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-medium-webfont.woff2') format('woff2'),
         url('/wp-content/themes/cjcm/assets/stylesheet/fonts/custom/barlow-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


/*************************
	GENERAL THEME
*************************/
/* a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
	font-family:barlowmedium;
} */

/********************
Rojo : 		#ff2826
Amarillo: 	#f8b713
Azul:		#00b7ab
********************/
.no-margin{
	margin: 0 !important;
}
.mk-header.pre-sticky .mk-grid.header-grid {
    padding-top: 10px;
}
.mk-header.pre-sticky .header-logo {
    padding-top: 15px;
}
#theme-page .theme-page-wrapper {
    margin: 0px auto !important;
}
#theme-page .theme-page-wrapper .theme-content {
    padding: 0px 20px !important;
}
.cjcm-separator-section .page-section-content {
    padding-top: 0 !important;
}

@media only screen and (max-width:1140px){
	.cjcm-separator-section .page-section-content .mk-padding-wrapper {
		padding-right: 0;
		padding-left: 0;
	}
}

.white h1, .white h2, .white h3, .white p, .white p strong, .white li {
    color: #fff !important;
}

.cjcm-separator-section .vc_separator .vc_sep_line {
    border-top-width: 50px !important;
    /* border-color: #00b7ab !important; */
	margin-top: -1px;
}
.title-background::before {
    content: '';
    background-image: url('/wp-content/themes/cjcm/assets/images/custom/title-background.png');
    background-size: 200px auto;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    max-width: 600px;
    height: 200px;
    width: 600px;
    text-align: center;
    margin-left: -300px;
    z-index: 0;
	top: -60px;
	left:50%;
}@media only screen and (max-width:540px){
	.title-background::before{
		background-size: 130px auto;
		margin-left: -200px;
		top: -40px;
	}
}@media only screen and (max-width:375px){
	.title-background::before{
		background-size: 90px auto;
		margin-left: -130px;
		top: -30px;
	}
}
.title-background.double-line::before {
    text-align: center !important;
    top: 40px;
    left: 45% !important;
}@media only screen and (max-width:540px){
	.title-background.double-line::before{
		background-size: 150px auto;
		margin-left: -160px;
	}
}@media only screen and (max-width:375px){
	.title-background.double-line::before{
		background-size: 90px auto;
		margin-left: -100px;
		top: -30px;
	}
}
.title-h h1 {
	text-align:center;
    font-family: barlowbold;
    z-index: 10;
    position: relative;
    line-height: 100% !important;
}@media only screen and (max-width:540px){
	.title-h h1 {
		font-size: 60px !important;
	}
}@media only screen and (max-width:375px){
	.title-h h1 {
		font-size: 40px !important;
	}
}
@media only screen and (max-width:830px){
	.title-h.title-long-word h1 {
		font-size: 75px !important;
	}
}@media only screen and (max-width:630px){
	.title-h.title-long-word h1 {
		font-size: 55px !important;
	}
}@media only screen and (max-width:530px){
	.title-h.title-long-word h1 {
		font-size: 40px !important;
	}
}@media only screen and (max-width:375px){
	.title-h.title-long-word h1 {
		font-size: 35px !important;
	}
}@media only screen and (max-width:375px){
	.title-background.title-long-word::before{
		margin-left: -170px;
	}
}
.cjcm-button {
    margin: 0 !important;
}
.cjcm-button > a.mk-button {
    border-radius: 30px;
    font-size: 15px;
    text-decoration: none;
}
.cjcm-button > a.mk-button span {
    text-decoration: none;
    text-shadow: none;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}



/*******************
	HOME
*******************/
.title-background-right h2 {
	font-family:barlowbold;
	font-size: 90px !important;
	color: #fff;
    text-align: right;
	position: relative;
}@media only screen and (max-width:1074px){
	.title-background-right h2 {
		font-size:70px !important;
	}
}@media only screen and (max-width:860px){
	.title-background-right h2 {
		font-size:60px !important;
	}
}@media only screen and (max-width:695px){
	.title-background-right h2 {
		font-size:50px !important;
	}
}@media only screen and (max-width:595px){
	.title-background-right h2 {
		font-size:35px !important;
	}
}@media only screen and (max-width:450px){
	.title-background-right h2 {
		font-size:30px !important;
	}
}@media only screen and (max-width:400px){
	.title-background-right h2 {
		font-size:25px !important;
	}
}

.title-background-right::before {
    content: '';
    background-image: url('/wp-content/uploads/2019/03/detalle-texto-madridlate.png');
    background-size: 260px auto;
    background-repeat: no-repeat;
    background-position: 100% 0;
    position: absolute;
    bottom: 0;
    height: 200px;
    text-align: center;
    margin-right: 0;
    z-index: 0;
    top: -60px;
    margin-left: 0;
    width: 108%;
}@media only screen and (max-width:695px){
	.title-background-right::before {
		background-size: 210px auto;
		background-position: 95% 0;
	}
}@media only screen and (max-width:595px){
	.title-background-right::before {
		background-size: 170px auto;
	}
}
.home-hastag-title {
    margin: 40px 0 !important;
}
.home-hastag-title p {
    text-align: right;
}
.home-hastag-title strong {
    background: #ff2826;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 34px;
    color: #fff !important;
}@media only screen and (max-width:695px){
	.home-hastag-title strong {
		font-size:24px;
	}
}@media only screen and (max-width:595px){
	.home-hastag-title strong {
		font-size:20px;
	}
}
.home-hastag-text {
    margin-bottom: 40px !important;
}
.home-news-title h3 {
    font-family: barlowbold;
    font-size: 24px !important;
    text-transform: uppercase !important;
    color: #ff2826 !important;
    line-height: 100%;
	padding-top: 50px;
}
/* .news-button a {
    border-radius: 50px !important;
    background: red !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: bold;
    height: auto;
    padding: 10px 25px !important;
} */
.home-what-we-do-column {
    margin-bottom: 80px;
}
.home-what-we-do-logo {
    margin-bottom: 10px !important;
}
.home-what-we-do-title h3 {
    font-family: barlowbold;
    font-weight: normal !important;
    line-height: 110%;
    color: #00b7ab !important;
    font-size: 35px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
}


/*******************
	PARTICIPA
*******************/
.create-your-association-models-text {
    min-height: 110px !important;
}
.work-areas-description h3 {

    font-size: 30px !important;
    font-family: barlowbold;
    text-transform: uppercase !important;

}

/*******************
	NEWS
*******************/
.cjcm-blog-type-thumbnail .mk-blog-thumbnail-item.content-align-right .item-wrapper {
    float: right;
    padding: 5px 30px 15px;
}
.cjcm-blog-type-thumbnail h3.the-title {
	font-family: barlowbold;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 120%;
    color: #ff2826 !important;
    
}
.cjcm-blog-type-thumbnail .mk-teader-button a.mk-button {
    border-radius: 50px;
    background: #ff2826;
    color: #fff;
    border: none;
}
/* .cjcm-blog-type-thumbnail  */.blog-share-container {
    margin-top: 8px;
}
/* .cjcm-blog-type-thumbnail */ .blog-social-share {
    position: relative;
    padding-top: 0px;
    padding-bottom: 30px;
    transition: 1s ease !important;
    margin-left: 30px;
    margin-top: -27px;
}
/* .cjcm-blog-type-thumbnail  */.blog-social-share::before {
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    margin-top: 9px;
    -webkit-transform: rotate(-225deg);
    -ms-transform: rotate(-225deg);
    transform: rotate(-225deg);
    background-color: #252525;
    content: "";
    margin-left: -15px;
}
/* .cjcm-blog-type-thumbnail */ .blog-social-share li {
    margin-top: 4px;
    float: left !important;
}
.mk-blog-magazine-item.magazine-featured-post .the-excerpt {
    margin-top: 50px !important;
}
.cjcm-blog-type-grid h3.the-title a {
    font-size: 18px;
    line-height: 50%;
    font-family: barlowbold;
    color: red;
}



/*******************
	GALERIA
*******************/
.cjcm-photo-gallery article {
    margin-bottom: 40px !important;
}

/*******************
	NORMATIVA
*******************/
.normativa-models-title {
    min-height: 130px;
}


/*******************
	RECURSOS
*******************/
.recursos-doc-title a {
    display: block;
    line-height: 130%;
    margin-bottom: 0px;
    min-height: 90px;
}
/*******************
	ENTITIES
*******************/
.entities-row .wpb_column > .vc_column-inner > .wpb_wrapper {
    border: 3px solid #ff2826;
}
.entity-title {
    margin-bottom: 15px !important;
    margin-top: 20px !important;
	min-height:60px;
}
.entity-description {
    display: none;
}
.entity-image {
    margin-bottom: 0 !important;
}
.entity-button {
    margin-bottom: 30px !important;
}
.entity-description {
    padding: 0 20px;
}

/*******************
	CONTACT
*******************/
span.wpcf7-list-item {
    display: block;
	margin-bottom: 10px;
}
.padding-contact input, .padding-contact textarea, .padding-contact select {
    width: 100% !important;
    margin-bottom: 20px;
    border: none;
    background: transparent;
    border-bottom: 5px solid #ff2a28;
	transition: 0.3s ease !important;
}
.padding-contact input:focus, .padding-contact textarea:focus, .padding-contact select:focus {
    border: none;
    border-bottom: 1px solid #ff2a28;
	transition: 0.3s ease !important;
	background: transparent;
}
#form-enviar {
    border: 1px solid #ff2a28;
    color: #ff2a28;
    max-width: 200px;
    float: right;
    min-height: 50px;
}
#form-enviar:hover {
    background: #ff2a28;
    color: #fff;
    transition: 1s ease !important;
        transition-property: all;
        transition-duration: 1s;
        transition-timing-function: ease;
        transition-delay: 0s;
}
.padding-contact .acepta-rgpd span, .padding-contact .acepta-newsletter span {
    margin-top: 20px;
    margin-bottom: 1px;
    padding-bottom: 10px;
}
.padding-contact input[type="checkbox"], .padding-contact input[type="radio"] {
    border: 2px solid !important;
    height: 20px;
    width: 15px !important;
    margin-bottom: 2px;
}

/**** Contact Room ****/
.contact-room {
    margin: 50px 0;
}
.padding-contact .italic {
    font-size: 14px;
}



/*****************
	GALLERY
******************/
@media only screen and (max-width:1024px){
	.cjcm-photo-gallery .description {
		display: none;
	}
	.cjcm-photo-gallery .the-title {
		font-size: 25px !important;
	}
	.cjcm-photo-gallery.mk-photo-album .item-meta{
		padding: 10px !important;
	}
}


/*****************
	LEGAL
******************/
.legal-text h3 {
    margin-bottom: 50px;
}
.legal-text h4 {
    margin-top: 50px !important;
}

/*****************
	FOOTER
******************/
#mk-footer {
    background: #fff;
    padding-top: 0;
}
#mk-footer .mk-padding-wrapper {
    padding: 0;
}



/*****************
	LANDING
******************/
@media only screen and (max-width:768px){
	.landing-intro-section .background-layer{
		background-position: right top !important;
	}
}
.landing-intro-text p {
    color: #fff;
}
.title-h.landing {
    padding-top: 80px;
	padding-bottom:80px;
}
.title-h.landing h1 {
    text-align: center;
    color: #fff;
    font-size: 100px;
    font-family: barlowbold;
}@media only screen and (max-width:540px){
	.title-h.landing h1 {
		font-size: 60px;
	}
}@media only screen and (max-width:375px){
	.title-h.landing h1 {
		font-size: 40px;
	}
}

.landing-contact-icon img {
    max-width: 100px !important;
}
.landing-contact-text a {
    color: #fff;
    font-size: 21px;
    font-family: barlowmedium;
}
.landing-rrss-icon img {
    max-width: 100% !important;
    width: 120px !important;
}