/*
Theme Name: RollemaMedia
Theme URI: https://www.rollemamedia.nl/
Author: Rollema Media
Author URI: https://www.rollemamedia.nl/
Description: Een door Rollema Media ontwikkelde template.
Version: 2023-03
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: rollemamedia
*/

html, body { margin: 0; padding: 0; }

.elementor-widget:not(:last-child) { margin-bottom: 0 !important; }

select { -moz-appearance: none; -webkit-appearance: none; appearance: none; padding: 15px 40px 15px 15px; border: 1px solid #ccc; border-radius: 3px; color: #2d2d2f; background: #fff url('https://cdn.onlinewebfonts.com/svg/img_295694.svg') no-repeat; background-size: 14px; background-position: 97% 50%; }
input,
textarea { border: 1px solid #ccc; border-radius: 3px; padding: 10px; font-family: "Fira Sans"; font-size: 15px; font-weight: 300; }

main { max-width: 1600px; margin: 0 auto; }
main .container { padding: 10px; }

header h1 { padding: 0 10px; }

.melding-balk { padding: 10px; color: #fff; text-align: center; }
.melding-balk a { color: #fff; }

.fal.fa-user-circle { margin-right: 8px; font-size: 16px; }

/* FAQ - Begin */
.faq { margin: 0; }
.faq .subtitel { font-size: 20px; font-weight: 500; }
.faq .single-faq { background: #eee; padding: 20px; font-size: 14px; border-radius: 10px; margin: 0 0 20px; }
.faq .faq-vraag a { text-decoration: none; font-weight: 500; display: flex; align-items: center; }
.faq .faq-vraag a:before { content: "\f13a"; font-weight: 300; font-family: "Font Awesome 6 PRO"; font-size: 18px; margin-right: 10px; transition: .3s; }
.faq .faq-vraag.active a:before { content: "\f139"; }
.faq .faq-antwoord { margin: 10px 0 0 0; }
.faq .faq-antwoord p:nth-last-child(-n+1) { margin: 0; }
/* FAQ - Einde */

 
.grecaptcha-badge { opacity: 0 !important; } 

/* rollover */

.personeelsleden-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.personeelsleden-grid .personeelslid { flex: 23%; text-align: center; position: relative; max-width: 50%; width: 50%; }
.personeelsleden-grid .personeelslid .media-wrapper { position: relative; width: 100%; height: auto; overflow: hidden; }
.personeelsleden-grid .personeelslid .media-wrapper img,
.personeelsleden-grid .personeelslid .media-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; }
.personeelsleden-grid .personeelslid .media-wrapper video { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.3s ease; }
.personeelsleden-grid .personeelslid .media-wrapper:hover video { opacity: 1; }
.personeelsleden-grid .personeelslid .media-wrapper:hover img { opacity: 0; }
.personeelsleden-grid .personeelslid .info .functie { font-size: 18px ; }
.personeelsleden-grid .personeelslid .info .pers-tekst { font-style: italic; } 

/* Einde rollover */



/* personeelsleden home */
.personeelhome-grid { display: flex !important; flex-wrap: wrap; gap: 40px; justify-content: center;  }
.personeel-home { display: flex; align-items: center; width: 100%; gap: 20px; padding: 10px; border: 1px solid #FAFAFA; border-radius: 8px; background-color: #FAFAFA; flex: 0 1 300px; }
/* Info links */
.personeelhome-grid .personeel-home .info-home {  flex: 1; justify-content: center; }
/* Naam en functie styling */
.personeelhome-grid .personeel-home .info-home h3 { margin: 0 0 5px 0; font-size: 1.0em; }
.personeelhome-grid .personeel-home .info-home .functie {  margin: 0 0 10px 0; color: #555; }
/* Foto rechts */
.personeelhome-grid .personeel-home .media-wrapperhome { width: 175px; height: 175px; overflow: hidden; border-radius: 8px; }
.personeelhome-grid .personeel-home .media-wrapperhome img.foto-home { width: 100%; height: 100%; object-fit: cover; }


/* Einde personeelsleden home */


@media only screen and (max-width: 1440px) { 
    .personeelhome-grid .personeel-home { flex: 1 1 48%; max-width: 33%; justify-content: center;} 
}  

@media only screen and (max-width: 1023px) { 
    .personeelhome-grid .personeel-home { flex: 1 1 48%; max-width: 45%; } 
    .personeelslid { flex: 48%; text-align: center; position: relative; max-width: 50%; width: 50%; }
} 


@media only screen and (max-width: 768px) {
    .personeelhome-grid .personeel-home { flex: 1 1 48%; max-width: 100%; }
    .elementor-shortcode .personeelhome-grid { flex-direction: column; }
    .elementor-shortcode .personeelhome-grid .personeelslid { width: 100%; }
    .elementor-shortcode .personeelhome-grid .personeelslid .media-wrapper { width: 100%; height: 300px; }
}

@media only screen and (max-width: 600px) {
    .personeelslid { flex: 100%; text-align: center; position: relative; max-width: 100%; width: 100%; }
}