body {
    font-family: "Poppins", sans-serif;
    color: #707170;
}

/* h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font: normal normal 600 35px/53px Poppins;
    color: #014B7C;
    letter-spacing: 0px;

} */

.card-title{
    color: #444444;
}

.card-text{
    color: #014B7C;
}

.media-description {
    word-wrap: normal !important;
    word-break: normal !important;
}

a {
    text-decoration: none;
}

.mw-30 {
    max-width: 30% !important;
}

.mw-70 {
    max-width: 70% !important;
}

.grid-1col {
    grid-template-columns: auto;
    grid-column-gap: 0;
    grid-row-gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #707070;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #707070;
    margin-bottom: 10px;
    cursor: pointer;
}



.footer-funding{
    color: #014B7C;
    opacity: 1;
}

.footer-funding-border-bottom {
    border-bottom: 1px solid #707070;
}

.footer-funding-border-right {
    border-right: 1px solid #707070;
}

.footer-funding-border-left {
    border-left: 1px solid #707070;
}

.copyright p {
    margin-top: 10px;
}

footer p {
    font-size: 13px;
    font-weight: 400;
}

.bg-image-full {
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
}

.home{
    background-image: url('/img/coverphoto_dots.svg'), url('/img/cyprus.svg');
    background-repeat: no-repeat, no-repeat;
    background-size: cover, contain;
    background-position: center, center;
    background-origin: content-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-height: 530px !important;
}

.landing-content{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
    position: relative;
    /* left: 40%;
    top: 15%;  v1.0 version VALUES*/
    width: 55%;
    left: 45%;
    justify-content: center;
    /* top:33%; */
    /* vertical-align: middle; */
}
#landing-subcontent{
    background: transparent url('/img/rowimage.svg') 0% 0% no-repeat padding-box;
    display: table;
    background-color: #014B7C;
    position: relative;
    width: 100%;
    background-size: cover;
}

.landing-header{
    font: normal normal 600 35px/53px Poppins, sans-serif;
    letter-spacing: 0px;
    color: #014B7C;
    opacity: 1;
}

.subsection-header{
    font: normal normal 600 30px/53px Poppins, sans-serif;
    letter-spacing: 0px;
    color: #ffffff;
    opacity: 1;
}

.btn-primary{
    background-color: #014B7C;
    border-color: #014B7C;
}

.btn-primary:hover {
    color: #fff;
    background-color: #014B7C;
    border-color: #014B7C;
}

.w-min {
    width: min-content !important;
}

.nap-description{
    border: 1px solid #707070;
    background-color: #014B7C;
}

.login-box {
    max-width: 450px;
    background-color: rgba(255,255,255,0.93);
    box-shadow: 0px 3px 6px rgb(0 0 0 / 27%);
    margin-top: 40px;
}

.home-box {
    /* width: 30rem; */
    height: 20rem;
    /* max-width: 450px; */
    background-color: rgba(255,255,255,0.93);
    box-shadow: 0px 3px 6px rgb(0 0 0 / 27%);
    margin-top: 40px;
    border-radius: 10px;
    padding: 1rem 1rem;
    border: 0;
}


.btn-search{

    color: #444444;
    border-color: #ced4da;
    border-radius: 0 0.3rem 0.3rem 0;
}

.media-grid{
    list-style-type: none;
    padding-left: 0;
    /* display: flex;
    flex-wrap: wrap; */
}

.media-item{
    flex: 50%;
    margin-bottom: 10px;
}

.organization-image {
    max-width: 150px;
    height: 150px;
}

.wide .media-item {
    width: auto;
}

.media-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #ddd;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    border-radius: 3px;
}

.media-view span{
    display: none;
}

.btn-nap {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border: 1px solid;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 5px;
    max-width: 120px;
}

.btn-nap.action-button {
    color: #ffffff;
    background: #316297;
}

.alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
  }

  .fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
  }
  .fade.in {
    opacity: 1;
  }

  .home-box-link{
    text-decoration: none;
    color: #014B7C;
    font-weight: 500;
  }

  .nav-simple, .nav-aside {
    padding-left: 0;
    margin: 0;
    list-style: none;
    padding-bottom: 0;
}

  .nav-simple > li, .nav-aside > li {
    font-size: 12px;
    line-height: 1.16666667em;
    padding: 7px 25px;
    border-bottom: 1px dotted #ddd;
}

.nav-simple li a, .nav-aside li a {
    color: #333;
    font-size: 14px;
    line-height: 1.42857143;
    margin: -7px -25px;
    padding: 7px 25px;
    text-decoration: none;
}

.hidden {
    display: none !important;
}

.badge {

    background: #014B7C 0% 0% no-repeat padding-box;
    border-radius: 3px;
    opacity: 1;
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 15px;
    font-weight: normal;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.item-count{
    margin-right: 2px;
    float: right;
}

.dataset-heading a {
    color: #014B7C;
    font-weight: 600;
}


/* devanagari */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}

/* latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


.page-spacing-content {
    /* width: 100vw;
    position: relative;
    left: 7.5%;
    right: 6%; */
    margin-left: 7vw;
    /* margin-right: 0vw; */
}

/* .stages li.active .highlight {
    color: #fff;
    background: #014B7C;
}

.stages li.active:before {
    color: #014B7C;
    background: #fff;
}

.stages li.active:after {
    border-color: rgba(140, 198, 138, 0);
    border-top-color: #014B7C;
    border-bottom-color: #014B7C;
}

.stages li.complete:before {
    color: #014B7C;
    background: #eef6ed;
}


.stages li.complete .highlight {
    color: #eef6ed;
    background: #014b7c87;
} */

.error-block {
    border-radius: 0 0 3px 3px;
    display: block;
    padding: 8px 8px 3px;
    background: #c6898b;
    color: #fff;
    width: auto;
}


.masp-card {
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.93);
    box-shadow: 0px 3px 6px rgb(0 0 0 / 27%);
    margin-top: 10px;
    height: 100%;
}

#media-item .masp-card {
    max-width: 100% !important;
}

.stretched-link span {
    display: none;
}

ul.media-grid li {
    width: 48%;
    margin: .5em 1%;
    float:left;
 }

 .cy-border-bottom {
    border-bottom: 2px solid #014B7C!important;
}

.cy-border-end{
    border-right: 1px solid #707170!important;
}

.cy-primary-color{
    color: #014B7C;
}

.copyright {
    background-color: whitesmoke;
}

.caption {
    font-size: 0.8125rem;
    line-height: 1.22rem;
    font-weight: normal;
}

.main {
    margin-top: 9.5rem;
}

.stages li.active .highlight {
    color: #fff;
    background: #014B7C;
}
.stages li.active:before {
    color: #014B7C;
    background: #fff;
}

.stages li.active:after {
    border-color: rgba(140, 198, 138, 0);
    border-top-color: #014B7C;
    border-bottom-color: #014B7C;
}

.stages li.complete .highlight {
    color: #ffffff;
    background: #3583b7;
}

.stages li.complete:before {
    color: #3583b7;
    background: #ffffff;
}

.stages li.complete:after {
    border-color: rgba(197, 226, 196, 0);
    border-top-color: #3583b7;
    border-bottom-color: #3583b7;
}

.pill a {
    color: #FFF;
}

.btn.white-action-button {
    color: #316297;
    background: #ffffff;
}

.btn.white-action-button:focus {
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.form-actions {
    overflow: unset;
}

.leaflet-control-layers-overlays > label {
    text-transform: capitalize;
}

.leaflet-control-layers-overlays > label::after {
    content: unset;
}


.announcement-card {
    /* max-width: 400px; */
    margin: 0 auto;
  }

  .left-align {
    text-align: left; /* Left-justify the content */
  }

  .crop-text-3 {
    -webkit-line-clamp: 3;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .underline{
    text-decoration: underline;
  }


/*-------------------------------------------------------------------------------------------*/
/*----------------------------------------- FOOTER ------------------------------------------*/
/*-------------------------------------------------------------------------------------------*/

footer .logo {
    height: 30px;
    width: auto;
    background-color: transparent;
    mask: none;
    -webkit-mask: none;
}

footer.footer_small .logo {
    height: 25px;
    width: auto;
    background-color: transparent;
    mask: none;
    -webkit-mask: none;
}

.footer-link {
    color: #707170;
}

.about_funding_logo {
    height: 50px;
    width: auto;
}

footer.footer_small .about_funding_logo {
    height: 25px;
    width: auto;
}


/* OVERWRITING CKAN CLASSES */

/*Same as CKAN - copied here to resolve conflict with bootstrap*/
.btn-default { 
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

/*Same as CKAN - copied here to resolve conflict with bootstrap*/
.btn-default:hover { 
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.module-content {
    padding-top: 0 !important;
}

.page-header .content_action {
    margin-top: 3px;
}

.collapse.in {
    display: block !important;
}

.accordion-item:not(:first-of-type) {
    border-top: 1px solid rgba(0,0,0,.125) !important;
}

.image-upload .btn-default:hover,
.image-upload .btn-default.hover {
    color: #212529 !important ;
    background-color: #e6e6e6 !important;
    border-color: #adadad !important;
}

#user-edit-form .btn {
    width: fit-content;
}

/* @MEDIA */
@media (max-width: 767px) {
    /* accommodate for header.*/
    .js .main .secondary .filters {
        top: 109px; 
    }

    .js body.filters-modal .secondary .filters .hide-filters {
        top: 19px;
        right: 24px;
        scale: 1.3;
    }
}

@media (min-width: 768px) {
    .cy-border-start {
        border-left: 2px solid #ffffff !important;
    }

    .grid-md-2col {
        grid-template-columns: auto auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }
}

@media (min-width: 992px) {
    .about_funding_logo.adjustible_logo {
        height: clamp(30px, 2.5vw, 50px);
    }

    .border-lg-end-custom {
        border-right: 2px solid #707070 !important;
    }
}

@media (min-width: 1200px){
    .mw-xl-100 {
        max-width: 100% !important;
    }

    #media-item .masp-card {
        max-width: 600px !important;
    }
}