/* Colors:
logo-green: #41B783
edu-blue: #009FDB
med-blue: #0092CE
dk-blue: #022BA1
dk-aqua: #056AA0

/img/:
green-globe-logo.jpg
us-dev-goals-banner.jpg
top-background.jpg
*/

/*Sampled from bg photo
155898 - ocean-blue
045785 - forest-green
177479 - hunter-green*/

@font-face {
  font-family: cicle-gordita;
  src: url(font/cicle/cicle-gordita.ttf) format("truetype");
}

@font-face {
  font-family: cicle-fina;
  src: url(font/cicle/cicle-fina.ttf) format("truetype");
}

@font-face {
  font-family: cicle-shadow;
  src: url(font/cicle/cicle-shadow.ttf) format("truetype");
}

@font-face {
  font-family: architect;
  src: url(font/architect.ttf) format("truetype");
}

a {
    text-decoration: none;
    color: #022BA1;
    font-weight: 450;
}
a:hover {
    text-decoration: none;
    color: #02A12B;
}

.page {
    background-color: #0092CE;
    background-color: #ffffff;
    color: #333333;
    text-align: center;
    width: 100%;
    /*display: inline-block;*/
    min-height: 10%;
    margin: auto;
    padding: 0px;
  }

.container {
    background-image: url("/img/top-background.jpg");
    background-size: cover;
    color: #333333;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 0px;
  }

.header {
    letter-spacing: 2px;
    font-size: 2.4vw;
    color: #41B783;
    text-align: left;
    font-weight: bold;
    width: 96%;
    margin: auto;
    margin-bottom: 2%;
    padding: 0%;
  }

.sub-header {
    font-size: 2.4vw;
    color: #022BA1;
    text-align: center;
    font-style: italic;
    font-weight: bold;
    width: 94%;
    display: inline-block;
    padding: 0%;
    padding-left: 0%;
    margin: auto;
  }

  .header-sub-title {
    font-size: 1.8vw;
    font-weight: bold;
    color:#146d90;
    font-style: italic;
  }

.header-section-wrapper {
  text-align: center;
  width: 100%;
  vertical-align: top;
}
.header-section-01 {
    width: 20%;
    display: inline-block;
    margin: 1%;
}
.header-section-02 {
    width: 70%;
    display: inline-block;
    margin: 1%;
    padding-right: 5%;
    vertical-align: top;
}

.upper-left-logo-img {
  float: right;
}

 .section-header {
  font-size: 2vw;
  color: #022BA1;
  font-weight: 400;
  font-style: italic;
  width: 100%;
  text-align: left;
  margin: .5%;
}

 .section-title {
  font-size: 1.8vw;
  color: #02662B;
  font-weight: bold;
  width: 100%;
  text-align: left;
  margin: 2%;
}

 .section-item {
  font-size: 1.8vw;
  color: #022b66;
  font-weight: bold;
  width: 100%;
  text-align: left;
  margin: 1%;
  margin-left: 3%;
}

.section-item-2 {
  font-size: 1.8vw;
  color: #2299cc;
  font-weight: bold;
  width: 100%;
  text-align: left;
  margin: 1%;
  margin-left: 1%;
}

.section-content {
    /*background-color: #444444;*/
/*    opacity: 0.8;*/
    font-size: 1.6vw;
    font-weight: bold;
    color: #333333;
    text-align: left;
    min-height: 16px;
    width: 90%;
/*    display: inline-block;*/
    margin: 3px;
    margin-left: 3%;
    padding: 3px;
}

.quotes-wrapper {
  margin: 10px;
  margin-bottom: 40px;
}

.quote {
  font-family: architect;
  font-size: 24px;
  font-style: italic;
  font-weight: bold;
}

.quote-by {
  font-family: architect;
  color: #000000;
  font-size: 18px;
  margin-bottom: 10px;
  margin-left: 20px;
}

.url-display {
  font-size: 1.8vw;
  color: #2299cc;
  font-weight: bold;
  width: 100%;
  text-align: left;
  margin: 1%;
  margin-left: 10%;
}
.section-wrapper {
    text-align: left;
    width: 92%;
    display: block;
    vertical-align: middle;
    margin: auto;
    padding: 0px;
}

.content-wrapper {
  background-color: #ddeeff;
  border-radius: 15px;
  padding: 2%;
  opacity: 0.8;
  margin-top: 10px;
  }

.news-listing {
  width: 100%;
  color: #022BA1;
  font-size: 1.4vw;
  text-align: left;
  vertical-align: top;
  margin-top: 0.1%;
  margin-left: 1%;
  padding: 0px;
}

.news-link {

}

.news-divider {
  margin:auto; 
  margin-top: 1%;
  margin-bottom: 1%;
/*  border-radius: 5px; 
  background-color: rgb(21, 88, 152); 
  opacity: 0.4;*/
  width:84%; 
  min-height: 3px; 
}

.news-list-img-container {
  width: 10%;
  display: inline-block;
  margin: 0.5%;
  border-radius: 15px;
}

.news-list-img {
  display: inline-block;
  margin: auto;
  border-radius: 15px;
}

.news-list-title {
  font-size: 1.4vw;
  display: inline-block;
  width: 80%;
  font-weight: bold;
}


.news-list-date {
  font-size: 1vw;
  display: inline-block;
  font-style: italic;
}

.news-wrapper {
  width: 100%;
  font-family: cf-thin-sans;
}

.news-description {
  width: 96%;
  margin: 1.8%;
}

.news-box {
  width: 45%;
  margin: 1.8%;
  display: inline-block;
  vertical-align: top;
  text-align: left;
  border: solid  5px #6688ee;
  border-radius: 15px;
}



.news-img {
  width: 50%;
/*  float: right;*/
  display: inline-block;
  margin: 2%;
  border-radius: 15px;
}

.news-date {
  font-size: 1.5vw;
  font-weight: normal;
  font-style: italic;
  width: 72%;
  text-align: right;
  float: right;
  margin-right: 5%;
/*  margin: 2%;*/
}

.news-title {
  font-size: 1.6vw;
  font-weight: bold;
  width: 96%;
  text-align: left;
  margin: 2%;
}

.news-content {
  font-size: 2vw;
  width: 96%;
  text-align: left;
  float: left;
  margin: 2%;
}

.news-url-out {
  width: 100%;
  text-align: center;
}

.news-body {
  font-size: 2vw;
  font-weight: normal;
  width: 100%;
  text-align: left;
  margin: 2%;
}

.news-url {
  font-size: 1.4vw;
  font-weight: normal;
  text-align: left;
  margin: 2%;
}

.sub-nav-button {
    padding: 5px;
    font-size: 2.4vw;
    color: #022BA1;
    font-weight: bold;
    background-color: #33cc66;
    border: 2px solid #222222;
    border-radius: 4px;
    text-align: center;
    width: 24%;
    display: inline-block;
    margin: 2%;
}

.sub-nav-button:hover {
    background-color: #3399cc;
    color: #222222;
    border: 3px solid #eeeeee;
}






/* === Project Wrapper (Box Layout, Homepage View) === */
.projects-wrapper {
  width: 90%;
  background-color: #ddeeff;
  border-radius: 15px;
  padding: 2%;
  opacity: 0.8;
  margin: auto;
}

.project-box {
  width: 45%;
  margin: 1.8%;
  display: inline-block;
  vertical-align: top;
  text-align: left;
  border: solid 5px #6688ee;
  border-radius: 15px;
}

.project-img {
  /* width: 66%; Uncomment if needed */
}


/* === Project Section (Modern Blurred Card View) === */
.projects-section {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px 30px;
  max-width: 800px;
  margin: 20px auto;
  backdrop-filter: blur(8px);
  color: #022b66;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* === Project Items and Entries === */
.section-item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dot-circle {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #2e6e6d;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}


/* === Project Titles and Links === */
.project-title {
  width: 96%;
  margin: 1.8%;
  font-size: 2vw;
  font-weight: bold;
  text-align: left;
}

.project-title a {
  font-size: 1.1em;
  font-weight: bold;
  color: #022b66;
  text-decoration: none;
}

.project-title a:hover {
  text-decoration: underline;
}


/* === Project Descriptions === */
/*.project-description {
  width: 96%;
  margin: 1.8%;
  margin-left: 1.5em;
  font-size: 0.9em;
  font-weight: 600;
  color:    #2e6e6d;
  line-height: 1.4;
}*/


.project-description a {
      width: 96%;
  margin: 1.8%;
  margin-left: 1.5em;
  color: #2e6e6d;         /* Your dark teal */
  font-weight: 600;
  text-decoration: none;
  display: inline-block;  /* Helps with layout consistency */
}

.project-description a:hover {
  color: #333333; 
}


/* === Add Button === */
.form-add-button {
  background-color: #44c767;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.form-add-button:hover {
  background-color: #2ebc57;
}











.video-frame {
  width: 80%;
  padding: 10px;
  margin: auto;
  text-align: center;
  border: solid 1px;
  border-radius: 15px;
  background-color: #001122;
}

/*.photo-gallery {
  text-align: center;
}
*/
/* Style for photo gallery container */
.photo-gallery {
    width: 100%;
}

/* Updated style for each photo cell within the gallery */
.front-photo-cell {
    width: 32%;
    display: inline-block;
    text-align: center;
    font-size: 1.5vw; /* Adjusted for dynamic resizing based on viewport width */
    font-weight: bold;
    vertical-align: top;
    margin-bottom: 20px; /* Adds space below each photo */
}

/* Style for images to make them responsive and fill their container */
.front-photo-cell img {
    width: 100%;
    height: auto;
}

/* Style for titles below images */
.front-photo-cell .caption {
    color: #146d90; /* Updated font color */
    margin-top: 10px; /* Space between image and text */
    display: block; /* Ensures the div behaves as a block element below the image */
}

.front-photo-cell a {
    color: #146d90; /* Ensure link color matches the caption for consistency */
    text-decoration: none; /* No underline on the links */
}





.notification {
    font-size: 15px;
    font-style: italic;
    color: #996666;
    text-align: left;
    margin-left: 10px;
}

.footer {
    /*background-color: #000000;*/
    font-size: 11px;
    color: #cccccc;
    text-align: center;
    width: 96%;
    display: inline-block;
    min-height: 10%;
    margin: auto;
    padding: 2%;
  }


.green-screen {
/*    background-color: #111111;*/
    color: #00ff00;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.5;
    padding: 24px;
    margin: 24px;
}

/*Front page:*/
.top-spacer {
  padding-top: 5%;
}

.pdf-link {
  font-size: 2vw;
  line-height: 1.5;
}

.middle-spacer {
  padding: 6%;
  display: inline-block;
}


.button-row {
  width: 100%;
  text-align: center;
}

.button-wrapper {
  width: 36%;
  display: inline-block;
  color: #222222; /* Text color */
  font-size: 1.8vw; /* Font size based on viewport width */
  font-weight: bold;
  text-align: center;
}

.front-button-01 {
    width: 90%; /* Set the initial width as a percentage */
    padding-top: 88%; /* Set the initial height as a percentage (maintains a 2:1 aspect ratio) */
    background-image: url('/img/ethos-logo-1200-tr.png'); /* Replace 'your-image.jpg' with your image file path */
    background-size: cover;
    background-position: center;
    vertical-align: middle; /* Corrected 'center' to 'middle' for vertical alignment */
    display: inline-block;
    border: 3px solid #333; /* Border color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2), 0px 8px 16px rgba(0, 0, 0, 0.3); /* Shadow for 3D effect with a blurred drop shadow */
    transition: transform 0.2s, box-shadow 0.2s;
}

.front-button-01:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}


.front-button-02 {
    width: 90%; /* Set the initial width as a percentage */
    padding-top: 88%; /* Set the initial height as a percentage (maintains a 2:1 aspect ratio) */
    background-image: url('/img/green-globe-logo-tr.png'); /* Replace 'your-image.jpg' with your image file path */
    background-size: cover;
    background-position: center;
    color: #fff; /* Text color */
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    vertical-align: center;
    display: inline-block;
    border: 3px solid #333; /* Border color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2), 0px 8px 16px rgba(0, 0, 0, 0.3); /* Shadow for 3D effect with a blurred drop shadow */
    transition: transform 0.2s, box-shadow 0.2s;
}

.front-button-02:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.front-title {
  font-size: 2vw;
  font-weight: bold;
  text-align: center;
  color: #022BA1;
  margin: 3%;
}

.front-subtitle {
  font-size: 2.2vw;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  letter-spacing: 1px;
  color: #02A12B;
  margin: 3%;
}

/*.front-photo-cell {
  width: 24%;
  display: inline-block;
  text-align: center;
  font-size: 1.4vw;
  font-weight: bold;
  vertical-align: top;
}*/

.donations-wrapper {
  width: 80%;
  margin: auto;
  margin-bottom: 10px;
  text-align: center;
  color: #0B4396;
  font-size: 2vw;
}

.donation-button {
    width: 31%; /* Set the initial width as a percentage */
    padding-top: 11%; /* Set the initial height as a percentage (maintains aspect ratio) */
    padding: left: 5%;
    padding: right: 5%;
    background-color: rgba(0, 0, 0, 0); /* transparency */
    background-image: url('/img/donate-button-tr.png'); 
    background-size: cover;
    background-position: center;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    vertical-align: center;
    display: inline-block;
/*    border: 3px solid #333; */
    border-radius: 44px; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2), 0px 8px 16px rgba(0, 0, 0, 0.3); /* Shadow for 3D effect with a blurred drop shadow */
    transition: transform 0.2s, box-shadow 0.2s;
}
.donation-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}




.expertise-link {
  font-weight: bold;
  font-size: 1.2em;
  color: #00264d;
  text-decoration: none;
}

.expertise-link:hover {
  text-decoration: underline;
}







/* Start media queries */

/* Extra Small to Small screens */
@media (max-width: 480px) {
  /* Styles for extra small to small screens here */
  /* Example: Uncomment and adjust the margin if needed
  .sub-header {
    margin-bottom: 20%;
  }
  */
  .news-box {
    width: 96%;
  }
}

/* Small to Medium screens */
@media (max-width: 650px) {
  /* Styles for small to medium screens here */
  /* Example: Uncomment and adjust the margin if needed
  .sub-header {
    margin-bottom: 15%;
  }
  */
}

/* Medium screens */
@media (min-width: 481px) and (max-width: 768px) {
  /* Styles for medium screens here */

}

/* Medium to Large screens */
@media (max-width: 900px) {
  .news-box {
    width: 94%; /* Full width for smaller screens */
  }
}

/* Large to Extra Large screens */
@media (min-width: 769px) and (max-width: 900px) {
  .news-box {
    width: 48%; /* Adjust width to show two boxes side by side */
    margin-right: 4%; /* Optional, adjust for spacing between boxes */
  }
  .news-box:last-child {
    margin-right: 0; /* Remove margin for the last box */
  }
}

/*@media (min-width: 901px) and (max-width: 1026px) {
    .news-box {
        width: 50%; /* Adjust this width to display two boxes side by side */
        /* Additional styling here if needed */
    }
}
*/

/* Extra Large screens */
@media (max-width: 1200px) {
  /* Styles for extra large screens here */
  /* Example: Uncomment and adjust the margin if needed
  .sub-header {
    margin-bottom: 5%;
  }
  */
}

.subscribe-button {
  background-color: #3cb371; /* MediumSeaGreen */
  color: white;
  padding: 0.4em 1em;
  border-radius: 0.3em;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.subscribe-button:hover {
  background-color: #2e8b57; /* SeaGreen */
  color: #cccccc;
}


