/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here...Remember to change the Version number above! */ 

.fl-menu .sub-menu {min-width:280px;}

.swiper-slide figure img {max-height:80px;width:auto;}

.type-speaker .fl-post-image {}

.type-speaker .fl-post-image img {min-width:245px;height:auto;border-radius:50%;}

.fl-post-spkr-role {min-height:150px;}

.type-speaker.fl-post-grid-post {border:none;}

.spkthumb img {width:80px;height:auto;border-radius:50%;}

.speaker-modal-content {width: 80%;
    background: #fff;
    padding: 50px;
    margin: auto;
}

.speaker-modal-content img {width:280px;height:auto;border-radius:50%;}

.fl-builder-content-508 {height:0;}

.fl-builder-content-508 .fl-post-feed-post {border:none;margin:none !important;}

.speaker-modal-content .fl-post-excerpt {font-size:16px;}

@media screen and (max-width:995px) {
	
	.type-speaker .fl-post-image {text-align:center;}

	.type-speaker .fl-post-image img {margin:auto;min-width:265px;max-width:265px;}
}

/* --- Base Contact Form 7 Styles (Modified) --- */

/* Target the main form container */
.wpcf7 {
    /* Set max-width and center the form */
    max-width: 600px;
    margin: 0 auto;
    padding: 0; /* Removed padding to blend into surrounding page structure */
    
    /* --- MODIFICATION 1: BACKGROUND REMOVED --- */
    background-color: transparent; /* Makes the form background transparent */
    border: none; /* Removes the border */
    border-radius: 0; /* Removes border radius */
    box-shadow: none; /* Removes the box shadow */
    /* ------------------------------------------- */
    
    font-family: Arial, sans-serif;
}

/* Clearfix for form items (often needed for layout) */
.wpcf7 form {
    overflow: hidden;
}

/* --- Label Styles (Modified) --- */

/* Style for labels (if you use them) */
.wpcf7-form label {
    display: block; /* Make label take up its own line */
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    
    /* --- MODIFICATION 2: INCREASED LABEL SIZE --- */
    font-size: 16px; /* Increased from 14px to 16px */
    /* ------------------------------------------ */
}

/* --- Input Field Styles (Text, Email, URL, Tel, Textarea) --- */

/* Target all common input types and the textarea */
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7-form textarea,
.wpcf7-form select {
    /* General styling */
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.3s ease; 
	color:#2f2f2f;
}

/* Style on focus */
.wpcf7-form input:not([type="submit"]):focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: #007bff; 
    outline: none; 
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* --- Submit Button Styles (Unchanged) --- */

.wpcf7-form input[type="submit"] {
    width: auto;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    background-color: #28a745; 
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

/* --- Validation and Message Styles (Unchanged) --- */

/* General style for CF7 messages */
.wpcf7-response-output {
    margin: 1em 0;
    padding: 10px;
    border-radius: 4px;
    border: 2px solid;
    font-weight: bold;
    text-align: center;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    border-color: #28a745; 
    background-color: #d4edda; 
    color: #155724; 
}
/* ... rest of the validation styles ... */
.wpcf7-not-valid {
    border-color: #dc3545 !important; 
}

.time-slot-row {position:relative;border-bottom:5px solid #f2f2f2;padding-bottom:20px;margin:0 20px;}

.start-time {position: absolute;
    top: 112px;
    left: -175px;
    transform: rotate(270deg);
    width: auto;}


.fl-post-grid-post.type-speaker {border:1px solid #f2f2f2;padding:8px;position:relative;}

.fl-post-grid-post.type-speaker .fl-post-more-link {position:absolute;bottom:20px;left:29%;}

.mfp-close-btn-in .mfp-close {background-color:#333;border-radius:50%;padding:3px;color:#fff !important; font-weight:bold !important; font-size:40px;}

.fl-builder-content-508 {height:1px;overflow:hidden;}

@media (min-width: 768px) { 

.hpboxhead {min-height:120px;}

.hpboxtext {min-height:406px;}
	
}