/**

    Custom fonts

**/

@font-face {
  font-family: "Optima";

  font-style: normal;

  font-weight: normal;

  src: local("Optima"), url("../fonts/OPTIMA.woff") format("woff");
}

@font-face {
  font-family: "Optima Italic";

  font-style: normal;

  font-weight: normal;

  src: local("Optima Italic"), url("../fonts/Optima_Italic.woff") format("woff");
}

@font-face {
  font-family: "Optima Medium";

  font-style: normal;

  font-weight: normal;

  src: local("Optima Medium"), url("../fonts/Optima Medium.woff") format("woff");
}

@font-face {
  font-family: "Optima Bold";

  font-style: normal;

  font-weight: normal;

  src: local("Optima Bold"), url("../fonts/OPTIMA_B.woff") format("woff");
}

@font-face {
  font-family: "Diplomacy Bold";

  font-style: normal;

  font-weight: normal;

  src: local("Diplomacy Bold"),
    url("../fonts/Diplomacy-Bold.woff") format("woff");
}

/**

    Container and main css

**/

.container,
.wpb_row.vc_row-fluid.normal {
  /* max-width: min(1080px, 80%) !important; */
}

p {
  line-height: 1.5 !important;
}

.background-blue {
  background-color: #174586;

  color: #ffffff;
}

.background-blue h1,
.background-blue h2,
.background-blue h3,
.background-blue h4,
.background-blue h5,
.background-blue h6,
.background-green h1,
.background-green h2,
.background-green h3,
.background-green h4,
.background-green h5,
.background-green h6 {
  color: #ffffff;
}

.background-green {
  background-color: #3ea41b;

  color: #ffffff;
}

.optima {
  font-family: "Optima Bold", "Arial" !important;
}

.green, .green * {
  color: #3ea41b;
}

.blue, .blue * {
  color: #174586;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.hidden {
  display: none !important;
}

/**

    Header navigation underline styling

**/

.nav-double-border .main-nav > ul.menu > li.current-menu-item > a:before,
.nav-double-border .main-nav > ul.menu > li:hover a:before {
  display: none;
}

.nav-double-border .main-nav > ul.menu > li.current-menu-item > a:after,
.nav-double-border .main-nav > ul.menu > li:hover a:after {
  transform: translateY(-10px);

  height: 1.5px;

  border-bottom: 1.5px;
}

.nav-double-border .main-nav > ul > li {
  padding-bottom: 0;
}

.nav-double-border .main-nav {
  line-height: 40px;

  margin-top: 2rem;
}

.header {
  overflow: hidden;
}

.main-nav {
  /* position: absolute;

  bottom: 10px;

  right: 0;

  line-height: inherit; */
}

#inner-header {
  display: flex;

  justify-content: space-between;
}

.main-nav li a {
  padding: 0 10px !important;
}

.pix-menu {
  margin-right: 20px;
}

.pix-menu-trigger,
.nav-trigger,
.pix-menu-trigger,
span:after,
.pix-menu-trigger,
span:before {
  width: 25px !important;
}

.pix-menu-trigger,
.nav-trigger {
  position: initial;

  display: block;

  width: 18px;

  height: 16px;

  cursor: pointer;

  top: 50%;

  margin-top: 0;
}

.pix-menu-trigger span:after {
  transform: translateY(300%);
}

.pix-menu-trigger span:before {
  transform: translateY(-300%);
}

.pix-menu-trigger span,
.nav-trigger .mobile-menu {
  margin-top: 1px;
}

@media screen and (max-width: 480px) {
  .header .container {
    padding: 0;
  }
}

/* .dark-logo, .dark .light-logo {

  max-width: 10em;

} */

#logo {
	flex: 1;
}

@media screen and (max-width: 1024px) {
  #logo {
    line-height: 100px !important;
  }
}

@media screen and (max-width: 767px) {
  #logo {
    line-height: 100px !important;
  }

  .pix-menu,
  .pix-flyin-sidebar {
    height: 100px !important;

    line-height: inherit;
  }
}

.dark-logo,
.dark .light-logo img {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  .dark-logo,
  .dark .light-logo {
    max-width: 9em;
  }
}

@media screen and (max-width: 767px) {
  div#inner-header {
   /* margin-right: -15px;
    margin-left: -15px; */
  }
}

@media screen and (max-width: 480px) {
  #logo {
    display: inline-block;

    max-width: 60% !important;
  }
}

/**

    Footer styling 

**/

/* #footer {

  background-position: center;

  background-size: 60em;

  background-position: 50% 55%;

} */

/* .pageFooterCon {

  background-color: rgba(0, 27, 114, 0.88) !important;

  min-height: 200px;

} */

.widget .widgettitle,
#pageFooterCon .widget .widgettitle {
  font-family: inherit;

  font-size: 18px;
}

.copyright p,
.copyright p a {
  font-family: inherit;

  font-size: 12px;
}

.footer-container {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 20px;

  flex-grow: 1;

  margin: 12px 0;

  color: white !important;
}

.footer-container a {
  color: white !important;
}

#pageFooterCon.pageFooterCon {
  padding: 30px 0 10px;
}

/**

    before and after horizontal lines for titles

**/

h1 {
  /* color: #174586; */
}

h1.fancy::before,
h1.fancy::after,
h2.fancy::before,
h2.fancy::after,
h3.fancy::before,
h3.fancy::after,
h4.fancy::before,
h4.fancy::after {
  /* display: inline-block;

    content: "";

    border-top: 2px solid black;

    width: 4rem;

    margin: 0 1rem;

    transform: translateY(-0.7rem); */
}

/* @media only screen and (min-width: 600px) {

  h1.fancy::before,

  h1.fancy::after,

  h2.fancy::before,

  h2.fancy::after,

  h3.fancy::before,

  h3.fancy::after,

  h4.fancy::before,

  h4.fancy::after {

    content: "";

    display: inline-block;

    height: 2px;

    background: black;

    width: 4rem;

    position: relative;

    vertical-align: middle;

  }



  h1.fancy::before,

  h2.fancy::before,

  h3.fancy::before,

  h4.fancy::before {

    left: -0.5em;

    margin-left: -50%;

  }



  h1.fancy::after,

  h2.fancy::after,

  h3.fancy::after,

  h4.fancy::after {

    right: -0.5em;

    margin-right: -50%;

  }

} */

/**

 Project filter styling

 */

@keyframes expand {
  from {
    transform: scale(0);

    opacity: 0;
  }
}

.project-row * {
  animation: expand 0.5s ease-in-out;
}

#filter-form {
  display: flex;

  flex-flow: wrap;

  column-gap: 10px;

  row-gap: 10px;
}

#filter-form > div {
  flex-basis: 300px;

  flex-grow: 1;

  display: flex;

  gap: 10px;
}

.filter-row label {
  font-family: "Diplomacy Bold", Arial, sans-serif !important;

  font-size: 16px;
}

.dropdownWrapper {
  box-sizing: border-box;

  position: relative;

  display: inline-block;

  flex-grow: 1;
}

.dropdownWrapper .dropdown {
  transition: 0.2s;

  overflow: hidden;

  box-sizing: border-box;

  padding: 8px;

  font-family: "Diplomacy Bold", Arial, sans-serif !important;

  font-size: 18px;

  text-align: center;

  width: 100%;

  cursor: pointer;

  border: solid 1px #231f20;
  color: #231f20;

  font-weight: 400;
}

.dropdownWrapper .dropdown .dropdown-itemsWrapper li {
  font-family: "Diplomacy Bold", Arial, sans-serif;
}

.dropdownWrapper .dropdown::selection {
  background: transparent;
}

.dropdownWrapper .dropdown:after {
  transition: 0.1s;

  display: initial;

  color: #231f20;

  cursor: pointer;

  position: absolute;

  right: 12px;

  content: "▼";

  top: 50%;

  transform: translateY(-50%);
}

.dropdownWrapper .dropdown.active {
  color: #231f20;

  background: #fff;

  /* border: 1px solid #ea0128; */

  border-bottom-right-radius: 0;

  border-bottom-left-radius: 0;
}

.dropdownWrapper .dropdown.active:after {
  color: #231f20;

  transform: translateY(-50%) rotateX(180deg);

  transition: 0.1s;
}

.dropdownWrapper .dropdown-itemsWrapper {
  top: calc(100% - 1px);

  opacity: 1;

  z-index: 1;

  color: #231f20;

  font-family: "Diplomacy Bold", Arial, sans-serif !important;

  font-size: 18px;

  text-align: center;

  transition: 0.2s;

  box-sizing: border-box;

  position: absolute;

  width: 100%;

  max-height: 200px;

  overflow-y: auto;

  border: 1px solid #231f20;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 40%), 0 6px 20px 0 rgb(0 0 0 / 40%);

  margin: 0;

  padding: 0;
}

.dropdownWrapper .dropdown-itemsWrapper::-webkit-scrollbar {
  background: #fff;

  width: 8px;

  border-bottom-right-radius: 4px;
}

.dropdownWrapper .dropdown-itemsWrapper::-webkit-scrollbar-track {
  padding-left: 1px;

  /* border-left: 1px solid #ea0128; */

  -webkit-box-shadow: none;
}

.dropdownWrapper .dropdown-itemsWrapper::-webkit-scrollbar-thumb {
  box-sizing: border-box;

  position: absolute;

  margin-left: 1px;

  background: #ccc;

  -webkit-box-shadow: none;
}

.dropdownWrapper .dropdown-itemsWrapper.inactive {
  border: 0px;

  opacity: 0;

  height: 0px;
}

.dropdownWrapper .dropdown-itemsWrapper li {
  margin: 0px;

  transition: 0.1s;

  box-shadow: 0 3px 5px #ccc;

  cursor: pointer;

  list-style: none;

  padding: 8px 10px;

  background: #fff;

  width: auto;

  height: auto;

  border-bottom: 1px solid #231f20;

  border-top: none;

  font-family: "Diplomacy Bold", Arial, sans-serif !important;

  font-weight: 400;
}

.dropdownWrapper .dropdown-itemsWrapper li::selection {
  background: transparent;
}

.dropdownWrapper .dropdown-itemsWrapper li:hover {
  background: #b7b7b7;
}

.filter-button-row {
  justify-content: flex-end;
}

.filter-btn {
  /* float: right; */

  background: #231f20;

  /* border-radius: 6px; */

  color: white;

  border: none;

  font: initial;

  -webkit-transition: all ease 0.4s;

  -moz-transition: all ease 0.4s;

  -ms-transition: all ease 0.4s;

  -o-transition: all ease 0.4s;

  transition: all ease 0.4s;

  padding: 8px;

  /* margin: 4px 6px; */

  height: inherit !important;

  overflow: hidden;

  position: relative;

  -webkit-backface-visibility: hidden;

  font-family: "Diplomacy Bold", Arial, sans-serif !important;

  font-size: 16px;
}

.filter-btn.clear {
  background: #fff;

  border: solid 1px #231f20;

  color: #231f20;

  transition: ease-in 300;

  /* font-size: 22px; */
}

.filter-btn:disabled,
.filter-btn[disabled] {
  border: 1px solid #999999;

  background-color: #cccccc;

  color: #666666;
}

/**

    filter loader 

*/

.overlay {
  left: 0;

  top: 0;

  width: 100%;

  height: 100%;

  position: fixed;

  background: #222;
}

.overlay__content {
  align-items: center;

  height: 70px;

  /* left: 50%; */

  position: relative;

  /* top: 50%; */

  /* transform: translate(-50%, -50%); */

  display: flex;
}

.spinner {
  width: 45px;

  height: 45px;

  display: inline-block;

  border-width: 2px;

  border-color: rgba(255, 255, 255, 0.05);

  border-top-color: #231f20;

  animation: spin 1s infinite linear;

  border-radius: 100%;

  border-style: solid;

  margin-top: 0;

  top: inherit;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/**

 Project card and News card single styling

 */

.news-row,
.project-row {
  display: flex;

  flex-direction: row;

  flex-wrap: wrap;
}

.news-column,
.project-column {
  display: flex;

  flex-direction: column;

  padding-left: 15px;

  padding-right: 15px;
}

.news-card {
  flex: 1;

  flex-direction: column;

  display: flex;
}

.img-responsive {
  /* min-height: min(300px, 18vw);

  width: auto;

  object-fit: cover; */

  display: block;

  position: absolute;

  top: 50%;

  left: 50%;

  min-height: 100%;

  min-width: 100%;

  object-fit: cover;

  transform: translate(-50%, -50%);
}

.news-card,
.news-body,
.project-card {
  flex: 1;
}

.project-card .project-title h4,
.news-card .news-title h4 {
  /* height: 3em; */

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

  margin: 0;

  font-family: "Optima Bold", "Arial" !important;

  /* color: #174586; */
}

.project-section {
  padding-bottom: 50px;
}

.card {
  /* background: white; */

  /* border-radius: 6px; */

  /* overflow: hidden; */

  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); */

  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); */

  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);



  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); */
}

.project-card,
.news-card {
  margin-bottom: 40px;
}

.project-card:hover,
.news-card:hover {
  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); */
}

.project-card-content,
.news-card-content {
  /* padding: 16px 24px;

  color: #666666; */
}

.project-card-content .project-title *,
.news-card-content .news-title * {
  font-size: 18px;

  line-height: 1.2;

  display: inline-block;
}

/* .project-card-content .project-title *:hover {

  color: rgba(0, 27, 114, 1);

} */

.project-card-content .project-body,
.news-card-content .news-body {
  font-size: 12px;

  font-weight: 400;

  display: -webkit-box;

  /* -webkit-line-clamp: 3; */

  -webkit-box-orient: vertical;

  overflow: hidden;

  /* height: 6.2rem; */
}

.project-card-content .project-country.green,
.project-single .project-single-title .project-single-country.green,
.news-card-content .news-country.green {
  color: #3ea41b;
}

.project-card-content .project-country.blue,
.project-single .project-single-title .project-single-country.blue,
.news-card-content .news-country.blue {
  color: #174586;
}

.project-card-content .project-learn-more {
  font-weight: bold;

  text-transform: uppercase;

  font-size: 12px;

  text-align: right;
}

.project-card-content hr {
  border: 1px solid rgba(112, 112, 112, 0.2);
}

.project-card .project-title {
  /* padding-top: 10px; */

  padding-top: 18px;

  line-height: 1;
}

.news-card-content .news-category span {
  font-size: 14px;

  /* color: #9b1a2d; */

  /* text-transform: uppercase; */
}

.news-card-content .news-date {
  font-size: 12px;
}

.news-card-content .news-author,
.news-body .news-author {
  display: flex;

  align-items: center;
}

.news-card-content .news-author i,
.news-body.news-author i {
  font-size: 20px;
}

.news-card-content .news-author span,
.news-body .news-author span {
  margin-left: 10px;

  font-size: 13px;

  text-transform: uppercase;

  font-weight: 400;
}

.news-card-content hr,
.news-body hr {
  border: 1px solid rgba(112, 112, 112, 0.2);

  width: 80px;

  margin: 10px 0;
}

.news-card .news-image .overlay {
  position: absolute;

  top: 0;

  bottom: 0;

  left: 0;

  right: 0;

  height: inherit;

  width: inherit;

  opacity: 0;

  transition: 0.3s ease;

  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 12px;
}

.overlay.mix {
  background: linear-gradient(135deg, #174586 50%, #3ea41b 50%);
}

.overlay.blue {
  background: #174586;
}

.overlay.green {
  background: #3ea41b;
}

.news-card .news-image .overlay .overlay-title {
  font-family: "Optima Bold", Arial !important;

  font-size: 2em;

  color: #fff;

  line-height: 1.2em;
}

.news-card .news-image .overlay:hover {
  opacity: 1;
}

.project-card .project-image,
.news-card .news-image {
  position: relative;

  width: 100%;

  height: 0;

  padding-bottom: 100%;
}

.project-card .project-image .program-overlay {
  display: flex;
  justify-content: space-between;

  position: absolute;

  bottom: 0;

  left: 0;

  width: 100%;

  color: white;

  font-family: "Diplomacy Bold";

  font-size: 20px;

  padding-left: 8px;

  padding-right: 8px;
}

.program-overlay .program-type {
  font-family: "Optima Italic";
  text-transform: uppercase;
}

.project-card .project-image .program-overlay.green {
  background-color: #3ea41b;
}

.project-card .project-image .program-overlay.blue {
  background-color: #174586;
}

@media only screen and (max-width: 400px) {
  .news-card-content .news-meta {
    flex-direction: column;
  }

  .project-card,
  .news-card {
    margin-left: -15px;

    margin-right: -15px;
  }
}

@media only screen and (min-width: 400px) {
  .news-card-content .news-meta .news-date::before {
    content: " - ";

    padding-left: 5px;
  }
}

/**

    Single News & Project

 */

/* @media screen and (min-width: 1200px) {

  .container.project-single {

    width: 1650px;

    padding-right: 10px;

    padding-left: 10px;

  }

} */

.project-single-content {
  padding-top: 50px;

  padding-bottom: 50px;
}

/* .project-single-country,

.news-single-category {

  border-top: 1px solid rgba(112, 112, 112, 0.2);

  border-bottom: 1px solid rgba(112, 112, 112, 0.2);

  padding: 10px 0;

  margin-bottom: 10px;

} */

.project-single-title {
  text-align: center;

  margin-bottom: 24px;
}

.project-single .project-single-title * {
  color: rgba(0, 27, 114, 1);

  font-size: 28px;

  font-family: "Optima Bold", Arial;
}

img.project-single-img {
  margin-left: calc(50% - 50vw);

  margin-right: calc(50% - 50vw);

  min-width: 100vw;

  object-fit: cover;

  max-height: 800px;
}

.news-single {
  margin-bottom: 80px;

  margin-top: 80px;
}

/**

    Contact form 7 styling

 */

.wpcf7-form input,
.wpcf7-form textarea {
  background: white;

  border: 2px solid #231f20;

  border-radius: 0;

  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); */

  margin-top: 0px;

  font-family: inherit;
}

.wpcf7-form textarea {
  min-height: 100px;

  height: 100px;

  max-width: 100%;

  min-width: 100%;
}

.wpcf7-form,
.wpcf7-form label,
.wpcf7-form input {
  width: 100%;

  max-width: none;

  color: inherit;
}

.wpcf7 p {
  margin-bottom: 15px;
}

input.wpcf7-form-control.wpcf7-submit {
  background: #231f20;

  color: white;

  border: none;

  width: auto;

  box-shadow: none;

  font-size: 12px;

  padding: 0px 50px;

  height: 50px;

  width: 300px;
}

input.wpcf7-form-control.wpcf7-submit {
  font-family: "Diplomacy Bold", Arial;

  font-size: 18px;

  display: block;

  margin: 0 auto;
}

.wpcf7-spinner {
  display: block;

  text-align: center;

  margin: 12px auto;
}

/**

    Details table - project single template

 */

.project-single-details {
  color: #174586;
}

.single table {
  border: none;

  width: auto;

  font-size: 16px;
}

.single table th,
.single table td {
  padding: 0px 20px;

  border: none;

  color: black;

  vertical-align: initial;
}

.single table tr td:first-child {
  border-right: 1px solid black;

  font-weight: bold;

  padding-left: 0;
}

/**

    Revolution Slider

 */

.uppercase {
  text-transform: uppercase !important;
}

.no-link-style,
.no-link-style a {
  color: white !important;
}

a {
  font-family: inherit !important;
}

/* input.wpcf7-form-control.wpcf7-submit {

  margin-top: 12px;

  background: #174586 !important;

} */

/**

  Guidelines and templates page, documents accordion

**/

.documents-accordion h4,
.documents-accordion h4 * {
  font-family: "Optima Bold", Arial;

  font-size: 26px;
}

.documents-accordion.blue * {
  color: #174586;
}

.documents-accordion.green * {
  color: #3ea41b;
}

/* #documents-accordion

  .vc_tta-color-white.vc_tta-style-flat

  .vc_tta-panel

  .vc_tta-panel-heading {

  background: transparent;

} */

/**

 AWSM Teams plugin

**/

.awsm-personal-info h3 {
  font-family: "Optima Bold", Arial;
}

.cards-style.style-3 figure {
  border: none !important;
}

.cards-style.style-3 figcaption {
  padding: 10px 20px;
}
