.page_steps .tabs{

    margin-top: 2rem;
}
.page_steps .tabpanel {
    border-bottom: 5px solid #f1f1f1;
    margin-bottom: 0.75rem;
}

.page_steps .tabs a {
	padding-left: 2rem;
}

.page_steps #tabs{
	counter-reset: count;
	position: relative;
	font-size: 1.2rem;
}

.page_steps #tabs li{
	counter-increment: count;
	margin-right: 0.4rem;
}


.page_steps #tabs li:before{
	content:'\2713';
	background-color: #006e58;
	color: white;
	border-radius: 50%;
	padding: 0.1rem 0.5rem;
	font-size: 1rem;
	position: absolute;
	top: 0.8rem;
}

.page_steps #tabs li.active_item:before,
.page_steps #tabs li.active_item ~ li:before {
	content: counter(count);
}


.page_steps .tabs a{
	background-color: transparent;
	text-decoration: none;
	color: #555555;
}

.page_steps .tabs a.active{
	background-color: transparent;
	color: inherit;
	text-decoration: none;
	font-weight: bold;
}

.page_steps .tabs li.active_item ~ li a {
	color:#9e9e9e;
}
.page_steps .tabs li.active_item ~ li:before {
	background-color: #9e9e9e!important;
}

/* video overlay - used on HP and in inside pages */
.video-overlay {
    position: fixed;
    z-index: 20;
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: none;
}

.video-overlay .video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-overlay .close-iframe {
    position: absolute;
    display: block;
    width: 25px;
    top: -40px;
    right: 0;
    background-color: transparent;
}

.page_career-fair h2 + .grid {
   margin-top: 1rem;
}

.page_career-fair .list_grid a {
    display: block;

    padding-bottom:1rem;
    text-align: center;
    font-weight: bold;
    border: 2px solid #f1f1f1;
}



.checkboxes label {
    padding: 0.5rem;
    color: #959595;
}

.page_career-fair .list_grid  a:hover {
    background: #74A49B;
    color: #ffffff;
    text-decoration: none;

}
.page_career-fair .list_grid a:hover {
    background: #74A49B;
    color: #ffffff;
    text-decoration: none;

}

.links_with_icons {
	margin: 1rem 0;
}

.links_with_icons a {
	display: block;
	min-height: 2.5rem;
	margin-bottom: 1rem;
	padding-left: 4rem;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 3.3rem 2.2rem;
	color: inherit;
	text-decoration: none;
}

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


.deadlines { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/deadlines.svg); }
.tuition { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/tuition.svg); }
.visit { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/visit.svg); }
.contact { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/contact.svg); }
.chat { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/chat.svg); }
.vtour { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/vtour.svg); }
.career-plan { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/career-plan.svg); }
.career-portal { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/career-portal.svg); }
.career-mentoring { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/career-mentoring.svg); }

.career-contact { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/career-contact.svg); }

.email { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/email-icon.svg); }
.whatsapp { background-image: url(/National_Library/oe_/https://www.lau.edu.lb/_ui/whatsapp-logo.svg); }







.xp_grid span {
	-webkit-transition: all 200ms ease-out;
	-moz-transition: all 200ms ease-out;
	-o-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
}

.xp_grid {
	margin-bottom: 5rem;
}

.xp_grid_2_col {
	max-width: 888px;
	margin: 0 auto;
}

.xp_grid picture,
.xp_grid img {
	width: 100%;
}

.xp_grid img {
	display: block;
}

.xp_grid a:link,
.xp_grid a:visited {
	display: inline-flex;
	position: relative;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	width: 45%;
	margin-right: 2%;
}

.xp_grid span {
	position: absolute;
	top: 30%;
	left: 0;
	width: 100%;
	padding: 10%;
	box-sizing: border-box;
	text-align: center;
	z-index: 5;
	font-size: 1.625rem;
	font-weight: bold;
	line-height: 1.3;
	color: #FFFFFF;
}

.xp_grid.square span {font-size: 1.225rem;}

.xp_grid span:after {
	position: absolute;
	top: -180%;
	left: -80%;
	width: 250%;
	height: 500%;
	content: "";
	background-color: rgba(48,127,108,0.8);
	z-index: -1;
}

.xp_hero {
	position: relative;
	margin-bottom: -10rem;
}

.xp_hero .info {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 4%;
	width: 40%;
	padding: 0 3%;
	color: #DEDEDE;
    font-size: 1.9rem;
	/*text-align: center;*/
	text-shadow: 1px 1px 3px rgba(0,0,0,0.35);
}

.xp_hero img {
	z-index: -1;
	width: 100%;
}

.xp_hero.horizontal  {margin-bottom: 0;}
.xp_hero.horizontal  .info {width: 94%; top: 17%; right:0; color: #fff; background-color: rgba(0,0,0,0.22); font-size: 1.3rem;}

.slider,
.video {
	margin-bottom: 3rem;
}

.prev_page {
	float: left;
	padding-right: 1em;
}
.prev_page:before {
	padding-right: 0.5em;
	content: "<";
}

.next_page {
	float: right;
	padding-left: 1em;
}
.next_page:after {
	padding-left: 0.5em;
	content: ">";
}


.page_housing .tabpanel {
    margin-bottom: 0rem;
}

.page_housing .tabpanel > h3{
    margin-top: 0;
}
.page_housing .icons p img {
    max-width: 100%;
}

.program_main > img {
    width: 53% !important;
}
.program_main .side_text {
    width: 46% !important;
    min-height: 350px;
}

/* special styling for transfer campaign*/
.page_transfer .xp_hero .info {
	left: 0;
	background-color: rgba(0,0,0,0.4);
	top: 30%;
	width: 50%;
	text-align:left;
}

.page_transfer .xp_hero .info .larger {font-size: 1.5em;}

.page_transfer .xp_grid_2_col span {top: 25%; line-height: 1;}
.page_transfer .xp_grid_2_col span em {    
	font-size: 0.6em;
    text-align: left;
    font-style: normal;
}

.page_2022 aside .purple_textbox span {
    font-size: smaller;
    display: block;
    margin-top: 1em;
    font-weight: normal;
}



/* Success Stories Block CSS starts here
-----------------------------------------------*/
.full_width .grid {
    grid-template-columns: 1fr 1fr 1fr;
}
.page_housing .full_width .grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.stories {
	padding-bottom: 4.375rem;
	background: #F2F2F2;
	padding-top: 55px;
}

.stories #stories_list {
	margin-top: 40px;
}
.stories .item {
	position: relative;
	height: 100%;
	overflow-y: hidden;
	box-shadow: 0.1rem 0.1rem 1rem rgba(0, 0, 0, 0.1);
	

}

.stories .item h3 {
	margin: 0;
	display: block;

	font-size: 1.3em;
	line-height:  1.3em;
	font-weight: bold;
	color: #fff;
}

.stories .item a {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	color:  #FFFFFF;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    mix-blend-mode: color-burn;
    border-radius: 5px;

}
.stories .item a:after
{

}
.item a:hover ~ .item__overlay, .item a:focus ~ .item__overlay {
	transform: translate3d(0, 0, 0);
	background: #489FAD;
	
	mix-blend-mode: normal;
}
.item a:hover, .item a:focus {
    background: none

}
.item a:hover ~  .item__overlay .item__body , .item a:focus ~  .item__overlay .item__body  {
    opacity: 1;
}
.stories img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.item__overlay {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	position: absolute;
	width: 100%;
	top: 0;
	transition: transform 300ms;
	transform: translate3d(0, calc(100% - 11.5rem), 0);
	font-size: 16px;
	line-height: 22px;
	color: #fff;
	padding: 15px;
	border-radius: 5px;
}


.item__body {
	flex-grow: 1;
	padding-top: 1rem;
	opacity: 0;
}

.item__body p {
	margin: 0;
}

.stories .icon {
	display: block;
	width: 37px;
	height: 37px;
    margin-bottom: .5rem;
}
.stories .link {
	margin-top: 40px;
}

/* CSS GRID */

@supports (display: grid) {
	
	.xp_grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 8px; }
	.xp_grid.square {grid-gap: 20px; }
	.xp_grid span { top: auto; }
	
	.xp_grid a:link,
	.xp_grid a:visited { width: auto; margin-right: 0; }
	
	.xp_grid a:first-of-type {
		-webkit-clip-path:polygon(0% 25%,100% 11%,100% 100%,0% 100%);
		clip-path:polygon(0% 25%,100% 11%,100% 100%,0% 100%);
	}

	.xp_grid a:nth-of-type(2) {
		-webkit-clip-path:polygon(0% 0%, 100% 10%,100% 100%,0% 100%);
		clip-path:polygon(0% 0%, 100% 10%,100% 100%,0% 100%);
	}

	.xp_grid a:first-of-type:before,
	.xp_grid a:nth-of-type(2):before {
		position: absolute; display: block; left: 0; content: ""; width: 100%; background: #FFFFFF; z-index: 10;
	}
	.xp_grid a:first-of-type:before {
		top: 10%; height: 17%;
		-webkit-clip-path:polygon(0% 25%,100% 0%,100% 18%,0% 100%);
		clip-path:polygon(0% 25%,100% 0%,100% 18%,0% 100%);
	}
	.xp_grid a:nth-of-type(2):before {
		top: 0; height: 12%;
		-webkit-clip-path:polygon(0% 0%, 100% 10%,100% 100%,0% 16%);
		clip-path:polygon(0% 0%, 100% 10%,100% 100%,0% 16%);
	}

	.xp_grid a:first-of-type img { padding-top: 10%; }
	.xp_grid a:nth-of-type(2) img { transform: scale(1.2); }
	
	
	@media only screen and (min-width: 981px) {
	
		.xp_grid_3_col { grid-template-columns: repeat(3, 1fr); }
		.xp_grid_3_col a:nth-of-type(3) { -webkit-clip-path:polygon(0% 15%, 100% 25%,100% 100%,0% 100%); clip-path:polygon(0% 15%, 100% 25%,100% 100%,0% 100%); }
		.xp_grid_3_col a:nth-of-type(3):before { position: absolute; display: block; left: 0; content: ""; width: 100%; background: #FFFFFF; z-index: 10; }
		.xp_grid_3_col a:nth-of-type(3):before { top: 15%; height: 12%; -webkit-clip-path:polygon(0% 0%, 100% 10%,100% 100%,0% 16%); clip-path:polygon(0% 0%, 100% 10%,100% 100%,0% 16%); }
		.xp_grid_3_col a:nth-of-type(3) img { padding-top: 10%; }
		
	}
	


}



/* Edge Hack */
@supports (-ms-ime-align:auto) {
	
	.xp_grid a:first-of-type:before,
	.xp_grid a:nth-of-type(2):before,
	.xp_grid_3_col a:nth-of-type(3):before { display: none; }
	
	.xp_grid a:first-of-type img { padding-top: 0; }
	.xp_grid a:nth-of-type(2) img { transform: scale(1); }
	
}

@media only screen and (max-width: 1200px) {
	.page_transfer .xp_hero .info {
		top: 35%;
		width: 60%;
	}
}

@media only screen and (min-width: 981px) {
	
	.xp_grid a:hover span { opacity: 0; }
	.xp_grid_2_col span { font-size: 2.125rem; }
	.page_transfer .wide_text {margin-top: 2em; padding: 0 4em;}
	.video-overlay .video-iframe { width: 70%;  }
}

@media only screen and (max-width: 980px) {

	.page_steps #tabs li:before{
		position: relative;
    	top: 0px;
	}
	.page_steps .tabs a{
		padding-left: 1rem;
	}
	
	.xp_grid { grid-template-columns: repeat(2, 1fr); }
	.xp_hero .info { top: 30%; font-size: 1.5rem; }
	.xp_hero.horizontal  .info {top: 19%; font-size: 1.1rem; line-height: normal;}
	.page_housing .full_width .grid {
    grid-template-columns: 1fr 1fr 1fr 1fr; }
	
   iframe {
        width: 100%;
        max-width: 100%;
    }

}

@media only screen and (max-width: 780px) {

	.xp_hero { margin-bottom: -6rem; }
	.xp_hero .info { width: 50%; font-size: 1.3rem; }
	.program_main .side_text { min-height:auto; }
	.xp_hero.horizontal  .info {top: 70%; }
	.page_housing .full_width .grid { grid-template-columns: 1fr 1fr 1fr ; } 
}


@media only screen and (max-width: 620px) {
	.page_transfer .xp_hero .info {
		top: 40%;
		width: 63%;
		font-size:85%;
	}
	.page_transfer .xp_grid_2_col span {top: 22%; font-size: 1.4rem;}
	.page_transfer .xp_hero .info .larger {font-size: large;}

    .video-overlay .video-iframe {
        width: 96%;
    }
}

@media only screen and (max-width: 580px) {
	.xp_hero.horizontal  .info {top: 75%; font-size: 1.1rem;}
	.checkboxes label {
    display: block;
    } 
}

@media only screen and (max-width: 480px) {
	
	.xp_grid { grid-gap: 0.2em; }
	.xp_grid span { padding: 5%; font-size: 1.25rem; }
	.xp_hero { margin-bottom: -4rem; }
	.xp_hero .info { right: 0; font-size: 1.1rem; }
	.xp_hero.horizontal {margin-bottom: 13em;}
	.xp_hero.horizontal  .info {top: 129%; background-color: rgba(0,0,0,0.7);}
	.page_housing .full_width .grid { grid-template-columns: 1fr 1fr ; } 

	
}

@media only screen and (max-width: 420px) {
	.xp_hero.horizontal {margin-bottom: 10em;}
	.xp_hero.horizontal  .info {top: 135%; }

}

@media only screen and (max-width: 320px) {
	.xp_hero.horizontal  .info {top: 150%; }
	.page_housing .full_width .grid { grid-template-columns: 1fr ; } 

}
@media print {
  .page_handbook_byblos .top_nav_group, .page_handbook_beirut .top_nav_group,.page_handbook_byblos  .page_title ,.page_handbook_byblos .subnav_toggle,.page_handbook_byblos .sub_nav,.page_handbook_byblos aside , .page_handbook_beirut .page_title , .page_handbook_beirut .subnav_toggle,  .page_handbook_beirut .sub_nav,  .page_handbook_beirut aside, #tabs, main h2.toggle_h2 a:after, main h3.toggle_h3 a:after {
    display: none;
  }
  .collapsible, .tabpanel,  .tabpanel h2  {display: block !important;}
  .page_handbook_byblos .main_size, .page_handbook_byblos main:not(.full_width), .page_handbook_beirut .main_size, .page_handbook_beirut main:not(.full_width) {  width: 100%;  }
  .lau_logo {
    background-image: url('https://web-archive.nli.org.il/National_Library/oe_/https://toolbox.lau.edu.lb/_ui/lau-logo-retina-green.png') !important;     
    -webkit-print-color-adjust: exact !important;   /* Chrome, Safari, Edge */
    color-adjust: exact !important; 
  }
}