/*
Theme Name:   SMS
Theme URI:    https://uni-foundation.eu
Description:  Student Mobility Summit theme
Author:       EUF
Template:     Divi
Version:      1.0.1
*/



/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1405px) {
.et_mobile_device .et_pb_section_parallax .et_pb_parallax_css {
        background-attachment:fixed;
    }
 
}


/* fonts */

.et_password_protected_form h1, .et_password_protected_form p{
	color: #ffffff;
} 

h2 {
	font-family: Futura;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 1px;
}


a { 
	text-decoration: underline var(--primary-color); 
	color: var(--dark-color);
	
}

footer a { text-decoration: none; }



/* Colors */

:root {
--darkest-color: #05085e;  /*dark blue*/
--dark-color: #7b3cd4; /*violet*/
--primary-color: #ca00c7; /*hot pink*/
--secondary-color: #ff5943;  /*salmon*/
}

/* text colors:*/

.primary-txt { color: var(--primary-color); }
.secondary-txt { color: var(--secondary-color); }
.dark-txt { color: var(--dark-color); }
.darkest-txt { color: var(--darkest-color); }


/*old colors*/
.darkgreen { color: #15220C; }
.emerald { color: #356049; }
.limegreen { color: #A7B139; }
.honeydew { color: #D2E4DC; }

.agenda-speaker { 
	color: #356049; 
}

.white-bcg { background-color: #ffffff; }

.fit-content { width: fit-content; } 


p.et_pb_contact_field {
  color: #ffffff;
}
.et_pb_contact_right {
  color: #ffffff;
}

.et-pb-contact-message {
	color: #ffffff;
}

.white-text a, .white-text {
	color: #ffffff;
}

.black-text, .black-text h2, .black-text h4 {
	color: #000000;
}


blockquote {
	border-left: 3px solid;
	border-color: #000000;
}

/* Register button */
.sms_register_btn {
	background-color: var(--primary-color)!important;
}

/* THREE BOXES */
.three-boxes h3 {
	text-transform: uppercase;
}



/* Notification
 * make success message centered */
.et-pb-contact-message {
	text-align: center;
}

/* Notification form */
div.et_contact_bottom_container {
	margin-top: 0;
}

/* MENU
 * small computer screen */
#top-menu {margin-left: 1em;}

/* Mobile menu */
span.mobile_menu_bar_toggle::before {
	color: #BDE9FF;
}

.et_mobile_menu {
	border-top: 3px solid #BDE9FF;
}

#mobile_menu1 {
	background-color: #053C5E;
}

@media (max-width: 980px) {
    .et_pb_menu--style-left_aligned .et_pb_menu__wrap .sms-main-menu {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-start;
    }
}

/* Three boxes - keynotes, hackathons, trainings
 * makes the titles at the boxes smaller on narrow computers 
 * 
 * 
 * .kht-box h3 {
	font-size: 1em;
}
*/

@media only screen and (max-width: 1087px) and (min-width: 981px)  {
	.kht-box h2 {
		font-size: 26px!important;
	}
} 


/* ACCORDION 
 * change open and close toggle icons to arrow carrot */
.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "\32";
}


.et_pb_toggle_close .et_pb_toggle_title:before {
	content: "\33";
}

/* Image max size 700px */
.img-700 {
	max-width: 700px;
}

/* PROGRAMME 
 * tabs*/
li.et_pb_tab_active {
background-color: var(--secondary-color)!important;	
}

@media only screen and (min-width: 550px) {
	.programme-tabs, span.date {
		font-size: 65px;
		line-height: 0.7;
	}
	td:nth-child(1) {
	text-align: right; }
	td:nth-child(2) {
		width: 600px;
	}
}

/* tab controls on mobile */
@media only screen and (max-width: 549px) {
	.et_pb_tabs_controls li a {
	padding: 7px;
}
	.entry-content tr td {
padding: 0 0 5px 0;
		line-height: 1.3;
	}	


   table tr {
    display: block;        /* make rows behave like block elements */
    margin-bottom: 20px;   /* space between rows */
    border-bottom: 1px solid #d4deff; /* divider */
    padding-bottom: 10px;  /* optional spacing inside */
  }

  table td {
    display: block;        /* stack cells */
    padding: 5px 0;        /* adjust spacing inside cells */
  }   
}

#programme table td em {
	color: var(--darkest-color);
}


/* Make the first two columns (time and place) as narrow as possible 
BEGIN */

.programme-table {
  width: 100%;
  table-layout: auto;
}

.programme-table td {
  padding: 6px 10px;
}

/* Shrink-wrap columns */
.programme-table .col-1-time,
.programme-table .col-2-location {
  width: 1%;
  white-space: nowrap;
}

/* Flexible column */
.programme-table .col-3-activity {
	width: 100%;
  table-layout: auto;
}

.programme-table td .col-3 {
	width: auto;
}

/* Change place color */
.programme-table .col-1-time
{
	color: #05085e!important;
}

/* Make the first two columns (time and place) as narrow as possible 
END */






/*programme styling for mobiles*/
@media only screen and (max-width: 549px) {
/* make large numbers smaller on phones */	
	.programme-tabs, span.date {
		font-size: 30px!important;
		line-height: 0.7;
	}
/* collapse table rows on mobile */	
	td { display: block; }
}
/*programme styling for mobiles - end*/


tr {
	padding: 0;
}

/* change programme text colors */
td:nth-child(1) {
	color: var(--secondary-color);
}

td:nth-child(2) {
	color: #ffffff;
}

.entry-content tr td  {
	border: none;
}

td {
	vertical-align: top;
}

/* toggle inside a tab */
 
/* removed: 	border: 1px solid var(--secondary-color);
*/

/*
div .hackathon-toggle {
	padding: 10px 10px;
	background-color: rgba(0, 0, 0, 0);
}

.hackathon-toggle h5 {
	font-weight: 700!important;
	color: #000000!important;
}

.hackthon-toggle h5::before {
	color: var(--secondary-color);
} 

.hackathon-toggle ul {
	padding-bottom: 0;
} */

/* style ordered lists (not only) inside the toggle. Hackathons, Workshops, Trainings */

.programme-toggle {
	border: solid 1px var(--secondary-color);
}

td div.et_pb_module.et_pb_toggle_item.programme-toggle {
	background-color: transparent;
}

div.et_pb_module.et_pb_toggle_item.programme-toggle h5 {
	color: #000000;
}

.programme-toggle h5.et_pb_toggle_title::before {
	color: var(--secondary-color);
}

.et_pb_toggle_item.programme-toggle em {
	font-size: 14px;
}

ol {
  list-style-position: outside!important;
	margin-left: 20px;
	margin-right: 15px;
}

li {
	padding-bottom: 8px;
}

/* Button inside toggle */
#programme .et_pb_button_module_wrapper {
	margin-bottom: 0;
}


/* 2025 circles */
.dot-fig {
	height: 18px;
  width: 18px;
	margin-right: 5px;
  background-color: #B4A7D6;
  border-radius: 50%;
  display: inline-block;
}

.dot-spirulina {
	height: 18px;
  width: 18px;
	margin-right: 5px;
  background-color: #3D85C6;
  border-radius: 50%;
  display: inline-block;
}

.dot-strawberry {
		height: 18px;
  width: 18px;
	margin-right: 5px;
  background-color: #CC0000;
  border-radius: 50%;
  display: inline-block;
}

.dot-tofu {
		height: 18px;
  width: 18px;
	margin-right: 5px;
  background-color: #F1C232;
  border-radius: 50%;
  display: inline-block;
}

.dot-olive {
		height: 18px;
  width: 18px;
	margin-right: 5px;
  background-color: #556B2F;
  border-radius: 50%;
  display: inline-block;
}

/* TRACKS */
#tracks h4 span {
	font-size: 23px;
	line-height: 1;
}


/* REGISTRATION
 * 
 * 
 * 
 *  */
/* Change the ticket name */
#register div.its-name {
	font-family: 'Futura PT',Helvetica,Arial,Lucida,sans-serif;
	text-transform: uppercase;
}

div.its-desc {
	color: #15220C!important;
}

/* Price styling */
#register .its-price-value {
	font-family: 'Futura PT',Helvetica,Arial,Lucida,sans-serif;
}

/* Register button 
#register .btn-success.its-submit-button, #register .inv-reg-button, #register .inv-back-button {
	font-size: 20px;
	font-family: 'Futura PT',Helvetica,Arial,Lucida,sans-serif;
	padding: 0.3em 1em;
    line-height: 1.7em!important;
	border: none;
	border-radius: 0;
	color: #000000!important;
	letter-spacing: 1px;
	background-color: #A7B139;
}
*/

/* Style input fields */
#register input, #register select {
	border-radius: 0;
}

/* Style form headers */

#register .cf-ticket-header {
	font-size: 26px;
	font-family: 'Futura PT',Helvetica,Arial,Lucida,sans-serif;
	color: var(--primary-color)!important;
}

#register small.cf-subtitle-text {
	font-size: 16px;
}

.cf-ftseparator {
	color: #000000;
}

/* Labels */
.control-label.cf-mdcontrol-label {
	font-size: 17px!important;
}

/* Form checkboxes */
.cf-container .inv-md-checkbox input[type="checkbox"]+label:before {
	background-color: #eff5f3;
}

.cf-container .inv-md-checkbox input[type="checkbox"]:checked+label:before {
	background-color: #ffffff;
}

/* swap order of hint text and checkboxes  */
div.cf-multiselect {
	display: flex!important;
  flex-direction: column-reverse!important;
	margin-bottom: 30px;
}

div.cf-multiselect small.form-text {
	margin-bottom: 10px!important;
}

/* Promo code  */
.cf-mdcontrol-label {
	color: #000000!important;
	font-size: 13px!important;
}



/* SOLD OUT 
 * make the overlay sold out text smaller and blue*/

.its-soldout-overlay {
	font-size: 16px;
	color: #053C5E;
}

/* align sold-out text right and remove price and counter
.its-soldout-overlay {
	text-align: right;
}
.its-sold-out .its-counter, .its-sold-out .its-pricing  {display:none;}  */

/* Style the sold-out early bird registration text */
.its-sold-out .its-desc {
	color: #31313b!important;
	text-decoration: none!important;
	font-weight: 500!important;
}

/*Sold out ribbon*/
/* Ribbon 11 */

.ribbon11 {
width: 150px;
height: 150px;
overflow: hidden;
position: absolute;
top: -50px;
left: 0;
z-index:10;
}

.ribbon11 span {
position: absolute;
display: block;
width: 225px;
padding: 10px 0;
background-color: #053C5E;

color: #fff;
font: 600 16px/1 Urbanist, sans-serif;
text-transform: uppercase;
text-align: center;
right: -25px;
top: 30px;
transform: rotate(-45deg);
}

/* Ribbon 12 */

.ribbon12 {
width: 150px;
height: 150px;
overflow: hidden;
position: absolute;
top: -50px;
left: 0;
z-index:10;
}

.ribbon12 span {
position: absolute;
display: block;
width: 225px;
padding: 10px 0;
background-color: var(--primary-color);

color: #000000;
font: 600 16px/1 Urbanist, sans-serif;
text-transform: uppercase;
text-align: center;
right: -25px;
top: 30px;
transform: rotate(-45deg);
}

a.pricebox {
	color: #eff5f3;
	text-decoration: none;
}

a.pricebox:hover {
	text-decoration: underline;
}

.sold-out {
 opacity: 0.7;	
}








/*  DIVI OPTIONS - TIMELINE  */
/* Other number of columns */
.twelve-columns {width: 8.33%; float: left;}
.ten-columns .et_pb_module {width: 10%; float: left;}
.nine-columns .et_pb_module {width: 11.11%; float: left;}
.eight-columns .et_pb_module {width: 12.5%; float: left;}
.seven-columns .et_pb_module {width: 14.28%; float: left;}
.six-columns .et_pb_module {width: 16.66%; float: left;}
.five-columns .et_pb_module {width: 20%; float: left;}

@media (max-width: 980px){
.ten-columns .et_pb_module {width: 20%;}
.nine-columns .et_pb_module {width: 33.3%;}
.eight-columns .et_pb_module {width: 25%;}
.seven-columns .et_pb_module {width: 25%;}
.six-columns .et_pb_module {width: 33.3%;}
.five-columns .et_pb_module {width: 33.3%;}
}
 
@media all and (max-width: 767px) {
.ten-columns .et_pb_module {width: 100%;}
.nine-columns .et_pb_module {width: 100%;}
.eight-columns .et_pb_module {width: 100%;}
.seven-columns .et_pb_module {width: 100%;}
.six-columns .et_pb_module {width: 100%;}
.five-columns .et_pb_module {width: 100%;}
}




/* Password protected page margins */

.et_password_protected_form {
	margin-top: 15%;
	margin-bottom: 15%;
}




/* Expand and collapse text by PeeAye creative https://www.peeayecreative.com/how-to-expand-and-collapse-text-in-divi/ */

/*collapse and set the height of the toggle text*/

.pa-toggle-text .et_pb_text_inner {
	max-height: 120px;
	transition: max-height 0.3s ease-out;
	overflow: hidden;
}


/*add gradient to the collapsed text*/

.pa-toggle-text .et_pb_text_inner:after {
	content: "";
	display: inline-block;
	position: absolute;
	pointer-events: none;
	height: 100px;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: linear-gradient(0deg, #053c5e 10%, transparent);
}


/*style the expand text link*/

.pa-toggle-text .pa-text-expand-button {
	padding: 0.5em;
	text-align: center;
}


/*change the cursor to a pointed when hovering over the expand text link*/

.pa-toggle-text .pa-text-expand-button span {
	cursor: pointer;
}


/*define the font family for the toggle icon*/

.pa-toggle-text .pa-text-expand-button .pa-text-toggle-icon {
	font-family: ETMODULES, "sans-serif";
}


/*set the max height and transition of the expanded toggle*/

.pa-toggle-text .pa-text-toggle-expanded {
	max-height: 2000px;
	transition: max-height 0.3s ease-in;
}


/*hide the gradient when the toggle is expanded*/

.pa-toggle-text .pa-text-toggle-expanded.et_pb_text_inner:after {
	background: none;
}