/*
Theme Name: Bright Minds
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/*Add your own styles here:*/
.container {max-width: 1350px;}

.main_color strong, strong, .main_color b {color:inherit;}
.publications .main_color a {color:#ffffff;}

.special_amp, .main_color .special_amp {
    font-family:  inherit;
     font-style: normal;
    font-size: inherit;
    font-weight: inherit;
	color:inherit;
}

.av-special-heading .av-subheading p {font-size: 22px;}
.template-page .entry-content-wrapper h1, .html_modern-blog .avia-content-slider .slide-entry-title, .html_modern-blog #top .post-entry .post-title {letter-spacing: 1px;}
#top .av_inherit_color a {text-decoration: none;}

/* post slider for team */
h3.slide-entry-title a, #top h3.slide-entry-title a {font-size: 20px; font-weight: 400;}
.our-team h3.slide-entry-title a, #top.our-team h3.slide-entry-title a {font-weight:700;} 
div.slide-entry-excerpt {font-size: 15px; line-height: 20px;}
div.slide-meta {display:none;}
#top .avia-slideshow-arrows a.avia-svg-icon {background-color:#1c262c; border-radius: 500px}

/* team page */
#top #wrap_all #banner {
  background: url(/wp-content/uploads/2020/11/annie-spratt-QckxruozjRg-unsplash-1.jpg) 50% 0% no-repeat;
  background-size: cover;
  color:#ffffff; position: relative;
}
#top #wrap_all #banner .container { z-index: 2; padding-top: 155px; padding-bottom: 50px;}
#banner .av-section-color-overlay { opacity: 0.3; background-color: #050505;}
@media(min-width: 991px) { #top #wrap_all #banner .widget_text {  width: 47%; }}
#top #wrap_all #av_section_1 .widget_text h1, #top #wrap_all #banner .widget_text h1 {    font-size: 22px; letter-spacing: 1px;}
#top #wrap_all #av_section_1 .widget_text h2, #top #wrap_all #banner .widget_text h2 {    font-size: 50px; letter-spacing: 1px;}
.main_color .avia-content-slider .slide-image { background-color: transparent; border-radius: 0px;}
.avia-content-slider .slide-image, .avia-content-slider .slide-image img { border-radius: 0px;}
.avia-content-slider .posttype-team .slide-image img { margin: 0px;}
.avia-team-member { display: grid;grid-template-columns: 30% 70%;grid-template-rows: repeat(3, auto);grid-column-gap: 15px;grid-row-gap: 0px; }
.avia-team-member .team-img-container { grid-area: 1 / 1 / 4 / 2;  }
#top #wrap_all .main_color .avia-team-member h3.team-member-name {color:#1c262c; }
.avia-team-member h3.team-member-name { grid-area: 1 / 2 / 2 / 3;  }
.avia-team-member .team-member-description { grid-area: 2 / 2 / 3 / 3;color:#7a7a7a; line-height: 28px; }
.avia-team-member .team-member-affiliation { grid-area: 3 / 2 / 4 / 3; }
article.team .post_delimiter { display: none;}
#top .av-hover-overlay-fade_out .av-masonry-image-container {width: 285px; height: 399px;}
.av-fixed-size .av-masonry-entry .av-inner-masonry-content {bottom: 60px;}
.av-masonry-entry .av-inner-masonry-content {padding-left: 0;}
.main_color .container .av-inner-masonry-content {background: inherit;}
#top.our-team #team1.main_color img {max-width:250px; height: auto; }
.av-masonry-entry .avia-arrow {display: none;}
#top #main .av-masonry-entry .av-masonry-entry-title.entry-title  {		
	color: #ffffff; /* Apply the !important rule if the titles color do not change*/
	font-weight:700;
	font-size: 20px;
	text-align:left!important;
}
/* Title Background */
#top .av-masonry-entry.isotope-item figcaption,
#top .av-masonry-entry.isotope-item .avia-arrow {
	background: inherit;
}


/**** single team ****/
#top.single-team .fullsize .template-blog .big-preview img, #top .fullsize .template-blog .post-meta-infos {display:none;}
.single-team .main_color {background-color:#ffffff;}
.single-team .main_color p {font-size: 16px; color:#7a7a7a; text-align:left; line-height: 28px;}
#top .fullsize .template-blog .post .entry-content-wrapper {max-width:100%;}

/* hamburger menu sooner! */
@media only screen and (max-width: 1175px) {
  nav.main_menu {
    display: block !important;
  }
  #avia-menu .menu-item {
    display: none;
  }
  .av-burger-menu-main.menu-item-avia-special {
    display: block;
  }

}

.av-burger-overlay-inner {
    text-align: left;
    padding-left: 20px;
}
#top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a {
    font-size: 20px;
}
#top #wrap_all #header #avia-menu ul li.current-menu-item a {		
    color: #fff;
    background: #000;    
}

@media only screen and (max-width: 767px) {
    body {
        font-size: 20px; 
    }
}

/* hide instant search */
#top #searchform .ajax_search_response { display: none !important; }

/* Transparent Sticky Header */ 
#top .av_header_transparency.av_header_sticky {
  position: fixed;
  opacity: 1;
  margin-top: 0px !important;
  background:rgba(0,0,0,0.5)!important;
}
.html_header_top.html_header_sticky #header {
  background-color: #000000;
}
#header.header_color .header_bg {
    background: transparent;
}
.av-logo-container .logo  a {
    display: flex;
    align-items: center;
    position: relative;
    flex-direction: row-reverse;
}
.av-logo-container .logo  a > img { position: absolute;}
.av-logo-container .logo  img.avia-standard-logo { position: relative;}
#top .avia-button:hover {background: #ffffff;  border: #ffffff; color:#154fe0;}

#footer-page div, #footer-page p, #footer-page a {color:#ffffff; font-size: 13px;}
iframe {
  display: block;  /* Removes inline default spacing */
  height: 100vh;   /* Fills 100% of the screen height */
  width: 100vw;    /* Fills 100% of the screen width */
  border: none;    /* Removes default borders */
}

/*** contact form ****/
/* Align Enfold contact form labels inline with input fields */
/*#top .avia_ajax_form p.form_element {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#top .avia_ajax_form p.form_element label {
    display: inline-block;
    margin-bottom: 0;
    width: 30%; /* Adjust label width as needed 
    text-align: left;
	
}*/
.avia_ajax_form p {margin: 0;}
#top .avia_ajax_form p.form_element {align-items:top;}

#top .avia_ajax_form p.form_element input, 
#top .avia_ajax_form p.form_element select, 
#top .avia_ajax_form p.form_element textarea {
    display: inline-block;
    width: 66% !important; /* Adjust input width to fill the remaining space */
    float: none !important;
    margin-bottom: 0;
}

#top .avia_ajax_form p.form_element textarea {
    height: 60px !important;       /* Reduces default height down from 150px+ */
    min-height: 60px !important;   /* Prevents theme styles from overriding height */
    rows: 1 !important;            /* Fallback value for standard form rows layout */
}
textarea, 
#top textarea {
    line-height: 32px !important; /* This dictates the exact height of each text row */
    background-image: linear-gradient(transparent 96%, #cccccc 96%) !important; /* Creates the border line */
    background-size: 100% 32px !important; /* Must match the line-height exactly to align with text */
    background-attachment: local !important; /* Ensures the lines scroll naturally with the text */
    border: 0px 0px 1px solid #fff; /* Keeps a regular frame border around the textarea box */
    padding: 0 10px !important; /* Left/Right padding only so text doesn't misalign with lines */
}

/* Remove border container accents from the main Enfold contact form element */
#top .avia_ajax_form,
#top .avia_ajax_form fieldset {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Remove all box borders except the bottom border line on fields */
#top .avia_ajax_form p.form_element input, 
#top .avia_ajax_form p.form_element select, 
#top .avia_ajax_form p.form_element textarea {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #fff !important;
    box-shadow: none !important;
}
#top label {font-size: 16px; }
/* Center the form action element container */
#top .avia_ajax_form p.form_element_button {
    text-align: center;
    clear: both;
    float: none !important;
    width: 25% !important;
	
}

/* Style the submit button to be blue and centered */
#top .avia_ajax_form input[type="submit"], #top .avia_ajax_form p.form_element input[type="submit"] {
    background-color: #204ee0 !important; /* Adjust blue hex code here */
    color: #ffffff !important;            /* Text color */
    border: none !important;      /* Optional border color */
    margin: 20px auto !important;
    display: inline-block !important;
    float: none !important;
    border-radius: 20px;
	text-transform: uppercase;
	font-size: 16px;
	max-width: 25%;
	padding: 6px 8px;
	font-family: inherit;
}

/* Button hover state styling */
#top .avia_ajax_form input[type="submit"]:hover {
    background-color: #204ee0 !important; /* Darker blue color on hover */
    color: #ffffff !important;
}

#top.our-science .avia-button {text-transform: none;}