:root {
	--prot: #f21d25;
	--prot_light: #ff222b;
	--text_color: #f21d25;
	--text_color2: #6d6d6d;
	--inverse_text_color: rgba(255, 255, 255, 0.9);
	--light_gray: #edeeef;
	--dark_gray: #9A8F97;
	 --hover_alt-button: #adadad;
	--foreground: #fff;
	--inverse_foreground: #342E37;
	--header_color: #ff222b;
	--background: #fafafa;
	--border_radius: 4px;
	--gap-px: 10px;
	--selection-background: #708da6;

.article, .article-details, #adminForm{
    background-color: #FFFFFF;
    border-radius: 10px; 
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header#sp-header.full-header.full-header-center {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* First step: slightly smaller when width is 1480px or less */
@media (max-width: 1480px) {
  .logo-image {
    height: 60px;
  }
}

/* Second step: even smaller when width is 1350px or less */
@media (max-width: 1350px) {
  .logo-image {
    height: 40px;
  }
}

/* Third step: even smaller at 1150px or less */
@media (max-width: 1150px) {
  .logo-image {
    height: 36px;
  }
}

/* padding voor main body (so that the content of for example the photopage does not overlap with the footer */
#sp-main-body{
  padding: 10px 10px 100px 10px !important; 
  background-image: url(/images/banners/protlogo-half-v5.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: fixed;
  background-position: 100% 50%;
  background-color: #FFFFFF;
}

/* Add margin to body on desktop */
@media only screen and (min-width: 1200px) {
    #sp-main-body {
    padding: 10px 50px 100px 50px !important;
  }
}

#sp-homepage-banner {
  min-height: 200px;
}

.col-lg-12 {
  margin-top: 50px;
}

#sp-position2 {
  margin-top: 0px;
}

.modal {
  z-index: 10001;
}

/* For inschrijven modal to display correctly */
.modal-body iframe {
  width: 100%;
}
  
.sp-sign-in {
  color: #FFFFFF !important;
}

.offcanvas-menu .offcanvas-inner .sp-sign-in .signin-text {
  display: inline !important
}

.offcanvas-menu .offcanvas-inner .sp-sign-in .user-text {
  display: inline !important;
  font-size: 18px;
}

.offcanvas-menu .sp-profile-wrapper .sp-profile-dropdown {
  display: block !important;
  position: relative !important;
  margin: 1rem !important;
  font-size: 18px;
  left: 0;
}

  
}

.offcanvas-menu .sp-profile-wrapper .sp-profile-dropdown:hover {
  animation: none !important
}

.offcanvas-menu .sp-profile-wrapper:hover .sp-profile-dropdown {
  animation: none !important
}

.offcanvas-menu .offcanvas-inner .sp-module {
  width: 100% !important;
}

.offcanvas-menu .offcanvas-inner .sp-module {
  width: 100% !important;
}

.offcanvas-menu .offcanvas-inner .sp-sign-in {
  font-size: 18px;
  color: #000000 !important;
}

.offcanvas-menu .sp-profile-wrapper .sp-profile-dropdown .custom_user_login_menu .menu a{
  padding: 0 15px;
}

.offcanvas-menu .sp-profile-wrapper .sp-profile-dropdown .custom_user_login_menu .menu {
 margin: 0px !important;
}

/* Weghalen van padding rondom menu items (Vereniging, studie etc.) zodat inlog icoon minder snel naar beneden springt wanneer deze dan niet meer op de balk past*/  
#sp-menu{
  padding: 0px;
  }

/* Zwart maken van menu items in drop-down menu's*/
.sp-dropdown-items .sp-menu-item a{
  color: #000000 !important;
}

/* Homepage articles */
.articles-leadingimage-left .article-header h2 {
  margin: 0;
}

/* For companies buttom */
.company-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  background-color: #f21d25; /* Protagoras red */
  color: #ffffff !important;

  padding: 12px 16px;
  border-radius: 0; /* full block look */

  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.company-btn:hover {
  background-color: #a80000; /* darker red */
  color: #ffffff !important;
}

.articles-leadingimage-left .article {
    display: grid;
    grid-template-columns: .5fr 1fr;
    gap: 1em;
}

/* Mobile view: stack image above text */
@media (max-width: 768px) {
    .articles-leadingimage-left .article {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .articles-leadingimage-left .article .article-intro-image {
        order: -1; /* Ensures the image appears before the text */
    }
}

  
.articles-leadingimage-left .article .article-intro-image {
    margin: 0;
}
*/
/* RSEvents modal */
.modal-body .iframe {
  width: 100%;
}

.modal-body .com-rseventspro {
  overflow-x: hidden;
}

/* Sponsor Banner */ 
#sp-sponsor-banner{
  padding-top: 150px; 
  margin-top: -200px !important;
  /* Updated gradient syntax with standard commas */
  background-image: linear-gradient(to top, #ffffff 20%, rgba(255, 255, 255, 0));
  background-color: transparent !important;
  
  /* The Fix: Bring it to the front */
  position: relative;
  z-index: 10;
}

/* Agenda pagina */
#adminForm {
  margin-bottom: 10px;
}

/* Agenda item styling */
.rsepro-new-layout-container li {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: space-between;
    align-items: center;
    padding: 16px; /* Increase padding for a more spacious look */
    background-color: var(--foreground);
    border: 1px solid var(--light_gray);
    border-radius: var(--border_radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft, modern shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 10px;
    text-align: center; /* Center align text */
}

/* Thumbnail styling */
.rsepro-new-layout-container li img {
    width: auto; /* Full width of the item */
    max-height: 280px; /* Limit the maximum height of the thumbnail */
    border-radius: var(--border_radius); /* Rounded corners */
}

/* Hover effect for modern look */
.rsepro-new-layout-container li:hover {
    transform: scale(1.02); /* Slightly enlarge on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Active click feedback */
.rsepro-new-layout-container li:active {
    transform: scale(0.98); /* Slightly shrink on click */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Compact shadow on click */
}

.rsepro-event-categories-block,
.rsepro-event-location-block,
.rsepro-event-tags-block {
    display: inline-block;
    margin: 0px 5px 0px 5px; /* Optional: Adds space between the 3 elements */
}

.registration-status-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.8em;
    color: #28a745; /* Green color for open registration */
}

.registration-status-icon .fa-users-slash {
    color: #dc3545; /* Red color for closed registration */
}

.rsepro-event-image {
    max-width: 600px;
}

/* Agenda 'show' event pagina */

/* Flexbox for two columns layout */
.event-flex-grid {
  display: flex;
  flex-wrap: wrap;  /* Allow wrapping of columns on smaller screens */
}

/* Left column takes up 2/3 of the space */
.event-details-left {
  flex: 2; /* This takes 2 parts of the available space */
  padding-right: 20px; /* Add some space between the columns */
}

/* Right column takes up 1/3 of the space */
.event-details-right {
  flex: 1; /* This takes 1 part of the available space */
}

/* For small screens (mobile), stack columns */
@media (max-width: 768px) {
  .event-flex-grid {
      flex-direction: column; /* Stack the columns vertically on mobile */
  }
  
  .event-details-left,
  .event-details-right {
      flex: 1 1 100%; /* Make both columns take full width on mobile */
      padding-right: 0; /* Remove the right padding on mobile */
  }

  .event-details-right {
      order: -1
  }
}

/* Block container styling */
.rsepro-event-details-block {
  border: 1px solid #ddd; /* Light border around the block */
  border-radius: 8px; /* Rounded corners for a modern look */
  padding: 15px; /* Spacing inside the block */
  background-color: #f9f9f9; /* Light background for contrast */
  margin: 20px 0; /* Space around the block */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Container for each event item */
.rsepro-event-item {
  display: flex;
  align-items: center; /* Align icons and text vertically in the middle */
  gap: 8px; /* Space between the icon and text */
  margin-bottom: 5px; /* Space between items */
  font-weight: bold; /* Make text bold */
}

/* Icon styling */
.rsepro-event-item i {
  font-size: 16px; /* Standardize icon size */
  width: 20px; /* Fixed width for all icons to align text consistently */
  text-align: center; /* Center the icon within the fixed width */
}

/* Text styling */
.rsepro-event-item span,
.rsepro-event-item a {
  line-height: 1.5; /* Ensure proper text height */
  display: inline-block; /* Ensure consistent alignment */
}
  
#rsepro-event-guests {
    list-style: none; /* Remove default list bullets */
    padding: 0;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
}

#rsepro-event-guests li {
    display: block;
    float: none !important;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
    height: auto;
    width: auto;
    text-align: left;
}

#rsepro-event-guests li:nth-child(even) {
    background-color: #fff;
}

#rsepro-event-guests li:last-child {
    border-bottom: none;
}

#rsepro-event-guests li:hover {
    background-color: #f0f0f0;
}

#rsepro-event-guests a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Let the profile name flow out of its div */
#sp-header .row.align-items-center{
  flex-wrap: nowrap !important;
}

/* CSS for fullscreen mode */
body.fullscreen #sp-header,
body.fullscreen #sp-footer-desktop,
body.fullscreen #sp-footer-mobile,
body.fullscreen .sticky-header-placeholder,
body.fullscreen #offcanvas-toggler,
body.fullscreen .sp-scroll-up {
  display: none !important;
}

body.fullscreen .article-header {
  display: none !important
}

body.fullscreen {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
}

body.fullscreen #sp-main-body {
  padding: 0 !important;
  margin: 0 !important;
  height: 100vh;
  width: 100vw;
}

body.fullscreen #sp-component {
  padding: 0 !important;
  margin: 0 !important;
  flex: 1;
  max-width: 100%;
}

body.fullscreen .container,
body.fullscreen .container-inner,
body.fullscreen .row,
body.fullscreen .article-details {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100%;
  width: 100%;
  height: 100%;
}

body.fullscreen .article-can-edit {
  display: none !important;
}
  
/* custom css for phocagallery */
/* Hover effect of the images */  
.pg-svg-box:hover {
        transform: scale(1.05);
        transition: transform 0.5s;
    }

/* block intro image margin */
.article-intro-image.float-vacancy {
    margin: 0px !important;
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid #f5f5f5;
    overflow: hidden;
    padding: 20px 0px 20px 0;
    height: 140px;            
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

/* Headers */
/* Headers */
h1, h2, h3, h4, h5, h6, h7, h8 {
    color: var(--header_color);
}