/*
Theme Name: Inserail
Description: Custom Theme for Inserail
Author: Lander Marketing
Author URL: https://lander.es
Template: enfold/enfold
Version: 1.0.0
Text Domain: inserail
*/

/*** GENERAL ***/
span.yline {
    height: 6px;
    min-width: 5em;
    background-color: gold;
    display: inline-block;
    margin: 0 auto 6px 6px;
}
.white {color:white !important;}
.gold {color: gold !important;}
.mb1 {margin-bottom:1em !important;}
.mt1 {margin-top:1em !important;}
.align-bottom {position: absolute; bottom:0;}
.align-top {position: absolute; top:0;}
strong {font-weight: 700 !important;}
h1, h2 {text-transform: unset !important;}
/*** BUTTONS ***/
#top .avia-button.avia-color-dark {color: gold !important;border-color: gold !important;}
/*** MAIN MENU ***/
.menu.av-main-nav li {border-left:1px solid rgb(248, 248, 248);}
.header_color .avia-menu-fx, .header_color .avia-menu-fx .avia-arrow {background-color: gold !important;}
.avia-menu-fx {height:6px !important;}
.avia_current_lang {display: none;}
@media only screen and (max-width: 768px) {
    .av-language-switch-item { display:none;}
}
/*** Language Select Menu ***/
#menu-selector-idiomas {margin-top:0px;margin-bottom:0px;height:22px;}
#menu-selector-idiomas li:not(:last-child) {padding-right:6px !important;border-right:1px solid grey !important;margin-right:6px !important;}
/*** PAGE HEADERS ***/
#top #wrap_all .slideshow_align_caption h2.avia-caption-title {text-shadow: 2px 2px 3px rgba(8,8,8,0.8);font-size:300% !important;}
@media only screen and (max-width: 768px) {
    #top #wrap_all .slideshow_align_caption h2.avia-caption-title {font-size:200% !important;}
}
/*** DROP DOWN MENU ***/
.html_header_top .header_color .main_menu ul:first-child >li > ul, .html_header_top #top .header_color .avia_mega_div > .sub-menu {
    border-top: 6px solid gold !important;
}
/*** SOCIAL ICONS TOP ***/
.html_bottom_nav_header #top .av-logo-container .social_bookmarks, .header_color .social_bookmarks a {
    font-size:18px !important;
    color: #4d4d4d !important;
}
.header_color .social_bookmarks a:hover {color:silver !important;}

/*** HOME PAGE SLIDER ***/
#top #wrap_all .slideshow_align_caption h2.avia-caption-title {margin-bottom:1.3em; color:white;}
#top .slideshow_align_caption .avia-button.avia-color-light {
    color: #252525;
    border: 3px solid transparent;
    background: #c9c9c9;
    font-size:18px;
}
#top .av-control-minimal .avia-slideshow-arrows a:before {
    border: none !important;
}
#top .slideshow_inner_caption .slideshow_align_caption {
    display: table-cell;
    vertical-align: bottom;
    position: relative;
    padding-bottom:4em;
}
/*** HOME PAGE ACTIVITIES ***/
#home_activities h3.av-special-heading-tag a {text-decoration: none;}

/*** HOME PAGE GALLERY - SERVICES ***/
#home_services {
    clear: both;
	padding: 0px;
	margin: 0px;
}
#home_services .home_services_col {
	padding: 0px;
    margin: 0px;
    float:left;
    width: 16.66%;
    text-align:center;
    padding-bottom: .5rem;
    height: 480px;
    margin-bottom:1.4rem;
    background-image: url('services_bg.gif');
    background-position-x: center;
    background-position-y: bottom;
    background-repeat: no-repeat;
}
#home_services .home_services_col img {
    width:100%;
    max-width:202px;
    height:auto;
    margin: 0px auto;
    transition: all 0.7s;
}
#home_services .home_services_col img:hover {
    transform: scale(1.1);
    border:2px solid silver;
}
#home_services .home_services_col h3 {
    font-size: 95%;
}
@media only screen and (max-width: 1081px) {
    #home_services .home_services_col { width:33.33%;}
}
@media only screen and (max-width: 780px) {
    #home_services .home_services_col { width:50%;}
}
@media only screen and (max-width: 480px) {
    #home_services .home_services_col { width:100%;}
}

/*** HOME PAGE PROJECTS ***/
#home_projects {background-repeat: repeat !important;}

/*** HOME PAGE FIXES FOR WPML FUCK UPS ***/
#home_activities {
    background-color: #0070e8;
    background-repeat: no-repeat;
    background-image: url(/wp-content/uploads/2019/11/fondo-Actividad-1920.jpg);
    background-attachment: scroll;
    background-position: center center;
}

#home_projects {
    background-repeat: no-repeat;
    background-image: url(/wp-content/uploads/2019/11/fondo-Proyectos-1920.jpg);
    background-attachment: scroll;
    background-position: center center;
    margin-top: 0px;
    margin-bottom: 32px;
}

/*** PORTFOLIO CATEGORIES ***/
.archive .category-term-description {
    margin-bottom: 25px;
    color: #00284d;
    font-size: 150%;
    font-weight: 600;
    border-bottom: 3px solid gold;
}

/*** Portfolio Cetegories Sidebar ***/
.portfolio-categories li { padding-top:4px; padding-bottom:4px;}
.portfolio-categories li.current-cat {
    background: #f8f8f8;
    width: 100%;
    padding-right: 52px;
}
.main_color .sidebar .portfolio-categories .current-cat>a {
    color:  #222222;
    font-weight: bold;
}

/*** Portfolio Single ***/
.av_promobox {margin-top:0px !important;margin-bottom:0px !important;}
/*** FORMS ***/
.required:before {
	content:"\e83f";
    font-family: 'entypo-fontello';
    margin-left: 6px;
}

/*** Noticas Page ***/
.page-id-28 .sidebar_right .inner_sidebar {color:white;}
.page-id-2011 .sidebar_right .inner_sidebar {color:white;}
.page-id-2029 .sidebar_right .inner_sidebar {color:white;}
.html_elegant-blog .av-vertical-delimiter.by_john {
    width: 96px;
    border-top-width: 4px;
    border-top-color: gold;
}
.html_elegant-blog #top .post-entry .post-meta-infos.by_john {
    text-align: left;
    border-top-width: 0px;
    border-bottom-width: 0px;
    margin-top: 0px;
    float: unset;
}
.johns_post_resume_seperator {
    border: solid #f6f6f6;
    border-width: 1px 0 0;
    clear: both;
    margin: 16px auto 24px;
    height: 0;
    width: 80%; 
}

/*** Contacto Page ***/
.golden-bottom:after {
    content:" ";
    height: 4px;
    min-width: 5em;
    width:5em;
    background-color: gold;
    display: block;
    margin: 8px auto 4px 0px;
}
#inserail-contact-wrapper {
    background-color: rgba(255,255,255,0.6);
    border: 1px solid silver;
    padding: 2em;
    display: grid;
    grid-template-columns: 50% 50%;
}
#inserail-form-left, #inserail-form-right {padding:0 2em;}
#inserail-form-left input:focus {border: 2px solid grey;}
#inserail-form-right input[type=submit] {float:right;}

@media only screen and (max-width: 768px) {
    #inserail-contact-wrapper { display:block;}
}

.wpcf7-response-output {background-color:#ffffff;}


/*** FOOTER ***/
#footer .avia_textblock.av_inherit_color a {text-decoration: none;}
#footer .post-entry.portfolio {padding-top:0px; padding-bottom:0px; border:none;}
#footer .post-entry .fallback-post-type-icon {display:none;}
#footer .post-entry .johns_post_resume_seperator {display:none; margin:0px 0px 0px 0px;}
#footer .post-entry .post_delimiter, #footer .post-entry .post_delimiter::after {display:none !important; border-color:transparent !important; margin:0px !important; padding:0px !important;}
#top #wrap_all .all_colors #footer .post-entry h2.post-title.entry-title,
#top #wrap_all .all_colors #footer .post-entry h2.post-title.entry-title a {color:white; font-family: roboto; font-weight:400; font-size:16px; letter-spacing: normal; line-height: normal; margin-bottom: 0px; padding-bottom:0px;}
#top #wrap_all .all_colors #footer .post-entry .entry-content-wrapper {text-align:left;font-size:16px;line-height:inherit;}
#top #wrap_all .all_colors #footer a:hover, #top #wrap_all .all_colors #copyright a:hover {color:rgba(255,255,255,0.8) !important;}
/* Hide White bar that shows up at bnottonm of secondary pages */
#after_section_2 {display:none !important;}
