/** OVERRIDES TO GENERAL.CSS **/
body:not(.homepage) main, aside {
	font-size: 1.125rem; /* 1.1875 is way too big on most screens. We should change this in the global CSS. */
}

body.page_together-for-lau.giving-tuesday main h1{
display:none;
}

aside a.green_button.em {
  margin-top: 1.5rem;
  width: 91%;
  height: 2rem;
  text-align: center;
  font-size: 1.20rem;
  padding-top: 0.7rem;
}

aside:not(.skip_style) {
	margin-top: 6.1rem;
	font-size: 1rem;
}

.sub_nav {
	font-size: unset;
}

.info {
    margin-bottom: 1.5em;
    font-style: italic;
    color: #00614b;
}

blockquote::after {content:none;}
blockquote::before { content:none; margin-right:unset; }
blockquote { margin:revert; font-style:unset; }


/** END OF OVERRIDES TO GENERAL.CSS **/

.page_2024 .info_list { display:none; }
.page_2024 main h1:first-child { display:none; }
.page_2024 .out_wrap.back_link { display:none; }
.page_spread-the-word .out_wrap.back_link { display:none; }

.page_emergency-lebanon .info_list { display:none; }
.page_emergency-lebanon .grid2 p { font-size:1rem; }
.page_emergency-lebanon .grid2 .green_button strong { font-size:120%; }
.page_emergency-lebanon .main_nav > ul > li:last-of-type a {
    color: #636363;
    background: unset;
}
.page_emergency-lebanon aside hr { border:1px solid white; margin-top:2em;}

.page_news_article figure {
  text-align: left;
}
body.page_donors .grid { gap: 1.5rem; }

body.page_donors .grid a {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   padding: 10px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Box shadow for better appearance */
 }

body.page_donors .grid img {
   width: 100%; 
   height: 200px; 
   object-fit: cover; 
}

body.page_donors .grid span {
   margin-top: 10px;
 }
.slick-slide img {
  display: inline-block;
}
#logo {
  font-size: 0;
  float: left;
}

#logo:before {
  display: none;
}

.siteLogo {
  float: left;
  width: 120px;
  margin-left: 27px;
  position: relative;
  color: #006751;
  font-weight: normal;
  padding-top: 5px;
  font-size: 1.5rem;
  line-height: 1.5rem;
}


.siteLogo span  {
    font-family: 'FranklinGothEF-MedCon', sans-serif;
    font-weight: 500;
}

.siteLogo h1 {
  font-size: 17px;
  font-weight: normal;
  margin: 0;
}


.siteLogo:before {
    content: '';
    height: 55px;
    width: 1.5px;
    opacity: 0.7;
    background-color: #006751;
    position: absolute;
    left: -15px;
    top: 0px;
}

.siteLogo:visited,
.siteLogo:hover {
  color: #006751 !important;
}

.secondary_nav a {
  font-size: 1rem;
  margin-top: 0.3em;
}

.secondary_nav ul {
  padding-top: 0;
}

.quick_action {
  height: 16px;
  width: 16px;
}

.quick_action svg {
  height: 16px;
  width: 16px;
}

.main_nav > ul > li:last-of-type a {

    color: #ffffff;
    background: #00614b;
}

.main_nav > ul > li:last-of-type a:hover {
   background: #307f6c;
}
.out_wrap {
  max-width: 1180px;
}

aside a{
  text-decoration: none;
}

aside a h4{
  color:#01614b
}


/* Giving Tuesday: Aside progress table */



div.donors {
  grid-template-columns: 1fr;
  background-color: #fbf6f6;
  gap: 0;
  padding: 1rem 4rem;
  margin-bottom: 0;
}

div.donors span {
font-size: 269%;
font-family:'bree serif', serif;
color: #005c49 /*  #C5E86E */;
}

div.donors p {
  border-bottom: 1px solid #a6abaf;
  padding: 2rem 0;
  line-height: 2.5rem;
  text-align: center;
  margin: 0;
  /* font-weight: bold; */
  font-size: 1.35rem;
  padding-top: 3rem;
  text-transform: capitalize;
}

div.donors p:first-of-type {
  padding-top: 1.5rem;
}

div.donors p:last-of-type {border-bottom: none;padding-bottom: 1.1rem;padding-top: 2.6rem;}

/* start of Giving Tuesday: Aside progress */

.progress-bg {
    margin: 0 auto;
    width: 100%;
    height: 3.5rem;
    text-align: right; 
    background: #fbf6f6 ;
    margin-bottom: 3rem;
}
.progress-bar {
    height: 3.5rem;
    float: left;
    background-color: #c5e86d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-bg p.goal, .progress-bg p.raised {
	margin: 0;
	padding: 0;
	text-align: left;
	display: inline-block;
    font-weight:bold;
}


.progress-bg p.raised {

}

.progress-bg p.goal {
    text-align: right;
    transform: rotate(90deg);
    transform-origin: right top;
    margin-top: 3rem;
}

body .progress-bg p.raised {
    -webkit-animation: fadein 4s; /* Safari and Chrome */
       -moz-animation: fadein 4s; /* Firefox */
        -ms-animation: fadein 4s; /* Internet Explorer */
         -o-animation: fadein 4s; /* Opera */
            animation: fadein 4s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari and Chrome */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}​

/* Opera */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}​


body .progress-bg div {
	-webkit-animation: progress-bar 2s ease forwards;
	-moz-animation: progress-bar 2s ease forwards;
	-o-animation: progress-bar 2s ease forwards;
	animation: progress-bar 2s ease forwards;
}
/* end of Giving Tuesday: Aside progress bar */


.giving-tuesday main h3::before, .giving-tuesday aside.skip_style h3::before  {
  content: "";
  padding: 1em 1em;
  width: 2.8rem;
  height: 2.8rem;
  display: block;
  position: absolute;
  z-index: -1;
  background-image: url(https://giving.lau.edu.lb/images/circle.png);
  background-size: 5.6rem;
  background-repeat: no-repeat;
}

.giving-tuesday main h3, .giving-tuesday aside.skip_style h3 {
  position: relative;
  margin-left: 0rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  height: 5.5rem;
  display: grid;
  align-items: center;
  padding-left: 1.5rem;
  margin-top: 1rem;
}
.giving-tuesday aside.skip_style h3 {
  margin-bottom: 2rem;
}

body.page_graduating-class-endowed-scholarship main.full_width h1 {
  text-align: center;
}

p.photoposts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

p.photoposts a img {
    border-radius: 1rem;
}

body.page_donors h1 {text-align: center;}

body.page_donors .donors-list {columns: 3;}

body.page_donors .donors-list p {
    background: linear-gradient(90deg, #f5f5f5, white);
    padding: 1rem;
    margin-top: 0px;
}

@media only screen and (min-width: 980px)
{
.news_grid {
    grid-template-columns: repeat(2, 1fr);
}
}
@media only screen and (min-width: 801px)
{
  .homepage .brief_item figcaption {
     width: 37%;
      margin: 0 2%;
  }

.brief_item > div {
    width: 59%;
}

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

  body.homepage .page_title + div.out_wrap > a {
    padding-top: 1rem;
    display: inline-block;
  }

  table.donors td p span{
    opacity: 1;
  }

  .main_nav > ul > li:last-of-type ul li a {
    color: #636363;
    background: none;
  }
}
@media only screen and (max-width: 801px)
{
    body.page_donors .donors-list {
      columns: 2;
  }

  .slick-list {
    height: auto!important;
  }
  .brief_item figcaption {
    min-height: 100px;
}
}
@media only screen and (max-width: 640px)
{
  body.page_donors .donors-list {
      columns: 1;
  }
}

