.clear { clear:both; }
body { overflow-x: hidden; }

/***** TOP BAR *****/
body.header_style_2 .header_top .logo a { margin-top: 0!important; }
/***** MENU *****/
/* Custom top menu style */
#custom_top_menu { float: right; margin: 15px 0; }
#custom_top_menu li { float: left; list-style: none; margin: 0 10px; }
.top_menu_nav .sub-menu { display: none; top: 33px; padding: 20px 5px; position: absolute; margin: 0; background: #fff; z-index: 1; -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.27); -moz-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.27); box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.27); -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; }
.top_menu_nav .sub-menu.opened { display: block; }
#custom_top_menu li .sub-menu li { float: none; padding: 10px; }


/* Menu modification for blog element */
.main_menu_nav .blog a { color: #fff!important; background: #382246; border-radius: 5px; }

/***** HOME *****/
/* Home box customization */
.spaced h2 { letter-spacing: 1px; }
.info_box.style_3 .info_box_text {  }
.info_box.style_3 .info_box_text h6 { font-size: 14px; }

/* Google Maps locations/offices customization */
.stm_gmap { display: none; }
.stm_gmap_wrapper .gmap_addresses { background: rgba(255,255,255,0.8); }
.stm_gmap_wrapper .gmap_addresses .addresses .item ul li,
.stm_gmap_wrapper .gmap_addresses .addresses .item .title { color: #382246; }
.stm_gmap_wrapper .gmap_addresses .addresses .item.focused ul li,
.stm_gmap_wrapper .gmap_addresses .addresses .item:hover ul li { color: #ac899f; }
.stm_gmap_wrapper .gmap_addresses .addresses .item { border-right: 1px solid #382246; }
.stm_gmap_wrapper .gmap_addresses .addresses .owl-item:last-child .item { border-right: 0; }

/* Footer */
.widget.widget_text .widget_title { font-size: 20px; }

/* News lists */
.stm_news .news_list li .image { height: 160px; }

/***** PAGES *****/
/* Common page title style */
.page_title { background-color: #fff; margin-bottom: 25px; }
.page_title h1:after { background: #ac899f; }

/* Servicios grid */
.stm_services .item .item_wr .item_thumbnail img,
.stm_works_custom .item .image img { max-height: 170px; }

/* Negocios grid */
.stm_works_custom { position: relative; margin: 0 -15px; font-size: 0; }
.stm_works_custom .item { position: relative; display: inline-block; vertical-align: top; width: 25%; padding: 0 15px; margin: 0 0 57px; font-size: 14px; }
.stm_works_custom .item .info > p { line-height: 18px; font-size: 13px; }
.stm_works_custom .item .info h5 { padding: 0; margin: 0 0 9px; }
.stm_works_custom .item .info h5:before { content: ''; display: block; width: 47px; height: 5px; background: #ac899f; margin: 0 0 18px; }
.stm_works_custom .item .info h5:after { display: none; }
.stm_works_custom .item .info h5 a { text-decoration: none !important; color: #382246; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; }
.stm_works_wr.grid.style_2 .stm_works_custom .item .info { padding: 0; border: 0; }
.stm_works_custom .item .image { margin: 0 0 30px; }
.stm_works_custom .item .info .read_more { text-transform: lowercase; font-weight: 500; font-size: 13px; transition: color 0.2s linear; color: #222222; font-family: Poppins; }
.stm_works_custom .item .info .read_more span { vertical-align: middle; line-height: 13px; }
.stm_works_custom .item .info .read_more .stm_icon { margin: 2px 0 0 5px; font-size: 12px; vertical-align: middle; color: #ac899f; }

/***** SINGLE *****/
/* Servicios */
h4:after { display: none; }

/* Staff member */
.staff-member .col { padding: 0; }
.staff-member .col .member-info > div { margin-bottom: 10px; color: #414042; }
.staff-member .col .member-info a { color: #414042; }
.staff-member .col .member-info .name { font-weight: 800; margin-bottom: 0; }
.staff-member .col .member-info .pos { font-weight: bold; font-size: 12px; }
.staff-member .col .member-info i { margin-right: 10px; display: inline; vertical-align: middle; width: 25px; text-align: center; }
.staff-member .col .member-info i.stm-marker,
.staff-member .col .member-info i.fa-user { font-size: 20px; }
.staff-member .col .member-info i.fa-briefcase { font-size: 18px; }
.staff-member .col .member-info span { display: inline; vertical-align: middle; }

.staff_info p span.trap:before { content:'...'; display: inline; }
.staff_info p span.trap.nope:before { display: none; }
.staff_info .show-arrow { display: block; cursor: pointer; }
.staff_info .show-arrow.rotate { background: url("../images/read-more.png"); transform: rotate(180deg); -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); height: 15px; width: 25px; text-indent: -9999px; }
.staff_info p span.hidden-text { display: none; }

.trimmed-excerpt { height: 55px; margin-bottom: 10px; overflow: hidden; position: relative; }
.trimmed-excerpt.showing { height: auto; }
/*.trimmed-excerpt:after { content: '...'; display: block; position: absolute; left:0; right: 0; margin: auto; }*/
.trimmed-excerpt p { margin: 0!important; }

/* Negocios */
.work-tabs .vc_tta-panels-container .vc_tta-panel-body { padding: 30px 60px!important; }
.work-tabs .vc_tta-panels-container .vc_tta-panel-body .wpb_wrapper ul li ul li { padding-left: 0; }
.work-tabs .vc_tta-panels-container .vc_tta-panel-body .wpb_wrapper ul li ul li:before { display: none; }
.work-tabs .vc_tta-tabs-container li.vc_tta-tab a { background-color: #a9879e!important; }
.work-tabs .vc_tta-tabs-container li.vc_tta-tab .vc_tta-title-text { color: #382246; font-weight: bold; }
.work-tabs .vc_tta-tabs-container li.vc_active a { background-color: #382246!important; }
.work-tabs .vc_tta-tabs-container li.vc_active .vc_tta-title-text { color: #a9879e; font-weight: bold; }
.contact-button button { background-color: #a9879e!important; border: none!important; color: #fff!important; }
.contact-button button:hover i,
.contact-button i { color: #fff!important; }

/* Blog */
article.post .h1.page_title_2 { color: #382246; }
.post_details_wr .stm_post_info { border-top: 1px solid #382246; margin-bottom: 25px; }
.stm_post_details { font-weight: bold; color: #8e8e8e; }
.stm_post_info .post_thumbnail img { width: 100%; }
.post_bottom.media { text-align: right; margin-bottom: 25px; }
.media-right { display: inline-block; }
.wpb_text_column p { color: #000000; }
.tags.media-body { display: inline-block; width: auto; float: left; }
.comment-reply-title { text-transform: none; }
.stm_post_details ul { /*width: 100%;*/ }
article.post,
article.noticia,
article.papers { text-align: justify; }
.page_title { margin-bottom: 0; padding-bottom: 0; }

/*.vc_grid-container .vc_gitem-zone { height: 160px; }
.vc_grid-container .vc_gitem-zone h5 {  }
.vc_grid-container .vc_gitem-zone h5:before {  }*/

/* Papers */
.post_list_ul .papers,
.post_list_ul .noticia,
.post_list_ul .newsletter { text-align: justify; }
.pdf_download { border: 1px solid #d1d1d1; background-color: #eee; margin-bottom: 20px; }
.pdf_download img { margin: 10px 20px!important; }
.post_thumbnail_papers { margin-bottom: 20px; text-align: center; }

/* Noticias */
.post-type-archive-noticia .post_thumbnail,
body.blog .post_thumbnail { height: 380px; }

/* Ofertas externas */
body.single-oferta-externa h3:after { display: none; }



/* News shortcode */
/*.stm_news .news_list li .image { width: 45%; float: left; margin: 0; }
.stm_news .post_inner { position: relative; }
.stm_news .post_inner:after { content: ''; display: block; width: 47px; height: 5px; background: #ac899f; margin: 20px 0; position: absolute; }
.stm_news_unit-block { float: right; width: 55%; }
.stm_news_unit-block h5:before { display: none!important; }
.stm_news_unit-block h5 { font-size: 16px; padding-left: 10px; line-height: 18px; }
.stm_news .news_list li .date { margin-left: 10px; font-size: 12px; position: absolute; bottom: 0; padding: 0 0 0 18px; }*/

/***** CONTACTO *****/
.stm_contacts_widget ul li .icon.fax { font-size: 17px!important; }
.stm_contacts_widget ul li .icon.pin { font-size: 27px!important; }
.input-group.right { text-align: right; }
.contact-services-block { padding-left: 15px!important; padding-right: 15px!important; margin-top: 34px; }
.contact-services-block .icon_box.style_1.hexagon .icon i { color: #fff; }
.contact-services-block .icon_box { width: 25%; float: left; text-align: center; cursor: pointer; }
body .vc_tta-container .vc_tta.vc_general.vc_tta-tabs.theme_style.vc_tta-o-no-fill .vc_tta-tabs-container .vc_tta-tabs-list { background: #fff; border-bottom: 2px solid #382246; }
body .vc_tta-container .vc_tta.vc_general.vc_tta-tabs.theme_style .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab.vc_active a { background: #ac899f; color: #382246; border: 1px solid #ac899f; border-bottom: 0; }
body .vc_tta-container .vc_tta.vc_general.vc_tta-tabs.theme_style .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab a { background: #fff; color: #382246; border: 1px solid #ac899f; border-bottom: 0; }
.stm_contacts_widget { padding: 46px 50px; }
.wpcf7-recaptcha { padding: 0; background: none; }
div.wpcf7-response-output.wpcf7-spam-blocked { background-color: #ffd9d9; color: #ff0000; }

/***** FOOTER *****/
/* Footer */
.footer_logo img { height: auto!important; }
#menu-extra-links a { color: #ac899f!important; font-weight: bold; }
.portales a { color: #fff; text-transform: uppercase; font-weight: bold; background: #ac899f; display: block; padding: 5px 20px; }
.portales a:last-child { margin-top: 10px; }
section#text-3 { margin-bottom: 20px!important; }

/***** FORM *****/
.lopd input { width: 25px; margin-top: 20px; float: left; margin-right: 20px; }
.lopd .input-group { float: left; width: auto; }
.lopd input:active,
.lopd input:focus { outline: none; box-shadow: none; }
.lopd p { float: left; margin-top: 32px; }
.form-title { padding-bottom: 5px; border-bottom: 1px solid #ccc; margin-bottom: 20px; width: 98%; margin-left: auto; padding-left: 0; margin-right: auto; float: none; }
.lopd-acc { display: none; position: relative; padding: 40px; width: 65%; text-align: center; background: rgba(0,0,0,0.8); color: #fff; margin: 50px auto; }
.show-lopd { text-decoration: underline; color: #ac899f; font-weight: bold; cursor: pointer; }
.close-lopd { color: #fff; position: absolute; top: 10px; right: 10px; font-weight: bold; cursor: pointer; }


/****** LANDING ******/
#landing { overflow-x: hidden; }
#landing .white-text p { color: #fff; }
#landing .white-text p strong { color: #fff; }
#landing #download-paper { padding: 10px 50px; color: #fff; font-size: 18px; font-weight: bold; background: #ad89a0; display: inline-block; cursor: pointer; }
#landing h2 { letter-spacing: 0em; }
#landing h2:after { display: none; }
#landing .landing-logo { margin-bottom: 150px; }
#landing #landing-header { background: url("http://www.jda.es/wp-content/uploads/2016/01/bg-pensiones.jpg"); background-size: cover; background-position: center; }
#landing h5 { font-size: 21px; margin-bottom: 30px; }
#landing #form-paper { width: 300px; margin: 50px auto; text-align: center; }
#landing #form-paper input { float: right; border: 0; box-shadow: 0px 0px 1px #382246; padding: 5px; font-weight: normal; }
#landing #form-paper p { color: #000; font-weight: bold; margin-bottom: 25px; text-align: left; padding-left: 25px; }
#landing #form-paper .submit,
#landing #form-thanks .download-paper  { margin-top: 50px; background: #483056; color: #fff; font-weight: bold; font-size: 18px; display: inline-block; padding: 8px 75px; cursor: pointer; }
#landing .paper-author { margin-top: 50px; }
#landing #form-thanks { display: none; text-align: center; margin-bottom: 50px; }

.staff_list ul li .staff_info h4 { color: #382246; }

@media screen and (max-width: 1200px){
	.info_box.style_3 .info_box_text { top: 115px; }
	.stm_works_custom .item .image { overflow: hidden; }
	.icon_box.style_1.icon_left.middle .icon,
	.icon_box.style_1.icon_left_transparent.middle .icon,
	.icon_box.style_1.icon_left .icon,
	.icon_box.style_1.icon_left_transparent .icon { display: block; margin: auto; float: none; width: 50px!important }
	.icon_text { text-align: center; }
	.icon_box.style_1.icon_left.middle .icon_text,
	.icon_box.style_1.icon_left_transparent.middle .icon_text { display: block; }
	article.stm_service .vc_col-md-9 { width: 100%; }
}

@media screen and (max-width: 992px){
	.tp-parallax-wrap { left: 85px!important; }
	.top_nav .top_nav_wrapper > ul > li, .top_nav .main_menu_nav > ul > li { font-size: 13px; }
	#home-services .vc_col-sm-4 { width: 50%; margin: auto; float: none; }
	.info_box.style_3 .info_box_text { top: 150px; }
	.icon_box.style_1.hexagon.hexanog_animation { padding: 0; }
	.margin-top-25 { margin-top: 25px; }
	.logo a img { max-width: 150px; }
	.stm_contacts_widget { padding: 20px; }
	.contact-services-block .icon_box { width: 50%; padding-left: 15px; }
	#landing .paper-author { margin-top: 70px; }
	#landing #landing-header { background-position: 75% center; }
}

@media screen and (max-width: 769px){
	.lopd-acc { width: 100%; }	
	.info_box.style_3 .info_box_text { top: 0; }
	#home-services .vc_col-sm-4,
	.info_box_image img { /*width: 340px;*/ width: 100%; }
	.hexagon-services .vc_col-sm-4 { margin-bottom: 25px; }
	.hexagon-services .icon { width: 65px!important; margin-bottom: 15px!important; }
	.widget_nav_menu { margin-top: 50px!important; }
	.top_bar { display: block!important; }
	#custom_top_menu { float: none; margin: 15px 0; padding: 0; clear: both; text-align: center; }
	#custom_top_menu li { float: none; list-style: none; margin: 0 10px; display: inline; position: relative; } 
	#custom_top_menu li .sub-menu li { display: block; }
	#custom_top_menu li .sub-menu { width: 210px; left: -62px; top: 16px; }
	#landing .paper-author { margin-bottom: 70px; margin-top: 0; }
}

@media screen and (max-width: 667px){
	.staff_list { text-align: center; }
	.staff_list ul li .staff_image img { margin: auto; }
	.stm_services.cols_4 .item,
	.stm_works_custom .item { width: 100%; }
	.stm_services .item .item_wr .item_thumbnail img, .stm_works_custom .item .image img { max-height: none; height: auto; width: 100%; }
	.contact-services-block .icon_box { width: 25%; padding-left: 15px; }
}

@media screen and (max-width: 600px){
	.post-type-archive-noticia .post_thumbnail,
	body.blog .post_thumbnail { height: 220px; }
}

@media screen and (max-width: 399px){
	#custom_top_menu li a { font-size: 11px; }	
}