/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-top: 3rem;
    padding-bottom: 3rem;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 0rem;
    max-width: 1024px;
    width: 100%;
    margin: auto;
    top: -10px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption-custom {
    z-index: 10;
    max-width: 300px;
    text-align: center;
    display: block;
    position: relative;
    min-width: 100px;
    width: auto;
    border: solid 1px #0000000c;
    cursor: pointer;
}
.carousel-caption-custom > b{
    font-family: Roboto;
    text-shadow: 0 1px 5px black;
    text-decoration: none;
    text-align: center;
}
.carousel-caption-custom.active{
    background-color : rgba(128, 128, 128, 0.527);
}
/* Declare heights because of positioning of img element */
.carousel-item {
    height: 400px;
}
.carousel-links{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.carousel-item .container-access-link{
    width: 100%;
    display: block;
    z-index: 1;
    position: relative;
    height: 100%;
}
.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
}
.carousel-indicators{
    bottom: 40px !important;
    display: none;
}
/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}
.marketing h2 {
    font-weight: 400;
}
.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 3rem auto; /* Space out the Bootstrap <hr> more */
}
.featurette-divider-bold{
    width: 50%;
    border-top: 3px solid;
}
/* Thin out the marketing headings */
.featurette-heading {
    letter-spacing: -.1rem;
    font-weight: 700 !important;
}
.featurette .featurette-description img{
    width: 100%;
    max-width: 250px;
    height: 200px;
    object-fit: cover;
}
.featurette-inside-text{
    max-width: 768px;
}
.featurette div{
    z-index: 1;
}
.featurette {
    position: relative;
}
.featurette-inside-image{
    height: auto;
    object-fit: cover;
    object-position: center;
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    position: relative;
    grid-area: 1 / 1 / span 3 / span 3;
    filter: blur(4px);
}
.image-inside{
    height: 400px;
    display: grid;
}
.image-inside > div{
    grid-area: 2 / 2 / auto / span 1;
    position: relative;
}
.featurette div .featurette-inside-text, .featurette div p, .featurette-heading{
    text-shadow: 2px 2px 4px black;
    object-fit: contain;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
}
.featurette-heading-b, .featurette-inside-text-b{
    text-shadow: none !important;
    color: black !important;
    object-fit: contain;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
}
.featurette-description{
    position: relative;
    flex-direction: row;
}
#countriesList{
    display: flex;
    flex-direction: column;
}
#countriesList li{
    list-style: none;
    margin: 5px 0;
}
#countriesList img{
    width: 100px;
    height: 60px;
    max-width: 100px;
    max-height: 60px;
    object-fit: contain;
}
.featurette div h2{
    margin: 40px auto;
}
.featurette div p{
    font-weight: 200;
    margin-bottom: 50px;
}
/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption-custom p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 40px;
    }
}

/* @media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
} */

@media (max-width: 768px){
    /* Carousel height for responsive */
    .carousel-item {
        height: 300px;
    }
    .featurette div p{
        width: 90% !important;
        font-size: 1.3em;
    }
    .featurette-description:nth-child(even){
        flex-direction: column;
    }
    .featurette-description:nth-child(odd){
        flex-direction: column-reverse;
    }
    .featurette-description img, .featurette-description p{
        margin: 15px auto;
    }
    .carousel-indicators{
        display: flex;
    }
    .carousel-links{
        display: none;
    }
}
@media (max-width: 500px){
    .featurette div h2{
        font-size: 8vw;
        margin: 30px auto;
    }
    .featurette div p{
        font-size: 4.5vw;
        margin-bottom: 25px;
    }
    .carousel-item {
        height: 250px;
    }
}