﻿body {
    min-height: 100vh;
}

i {
    color: #993366
}

.btn-primary {
    background-color: #993366
}

.form-label {
    color: #993366
}

.text-particip {
    color: #993366
}

.bg-crosscut {
    background-color: #EAF1DD
}

.bg-functional {
    background-color: #E5DFEC
}

.image-gallery {
    /* Mobile first */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .image-gallery .ig-column {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

.ig-item img {
    width: 100%;
    border-radius: 5px;
    height: 100%;
    object-fit: cover;
    filter: url(https://participstorage.blob.core.windows.net/ptc-static/images/grayscale.svg#grayscale);
    /* Firefox 3.5+ */
    filter: gray;
    /* IE6-9 */
    -webkit-filter: grayscale(1);
    /* Google Chrome & Safari 6+ */
}

@media only screen and (min-width: 768px) {
    .image-gallery {
        flex-direction: row;
    }
}

.ig-item {
    position: relative;
    /* cursor: pointer; */
}

.ig-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    /* center overlay content */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ig-overlay a {
        text-decoration: none;
        color: white;
        padding: 0 1rem 0 1rem;
        font-weight: bold;
    }

    .ig-overlay spanX {
        padding: 0 1rem 0 1rem;
        font-weight: bold;
    }

.ig-item:hover .ig-overlay {
    transform: scale(1);
}

.ig-item:hover img {
    filter: none;
    -webkit-filter: none;
}

#mapcontainer svg {
    border: 1px dotted black;
    width: 690px;
    height: 470px;
}

div.tooltip {
    position: absolute;
    text-align: center;
    width: 170px;
    height: 40px;
    padding: 2px;
    font: 12px sans-serif;
    background: lightsteelblue;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
}

.list-group-item ul, ol, p {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.navbar {
    padding-bottom: 12px;
}

.pageimage {
    background-image: url(https://participstorage.blob.core.windows.net/ptc-static/images/banner/worldmap-paper-993366-1920px.jpg);
}

.pageimagetop {
    margin-top: 75px;
    min-height: 120px;
    clip-path: ellipse(75% 95% at 65% 0%);
    background-position: 0px 75px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100%;
}

.pageimagebottom {
    min-height: 120px;
    clip-path: ellipse(80% 85% at 65% 100%);
    background-attachment: fixed;
    background-position: bottom 0px right 0px;
    background-repeat: no-repeat;
    background-size: 100%;
}

.pageimagetop h1 {
    padding: 0px;
    margin: 0px;
    color: #f8f9fa;
    font-weight: bold;
    font-size: 3.5rem;
    text-shadow: -1px 1px 2px #555, 4px 3px 3px #444, 1px -1px 2px #555, -1px -1px 0 #555;
}

@media only screen and (max-width: 575px)
{
    .pageimagetop, .pageimagebottom {
        min-height: 120px;
    }
    .pageimagebottom {
        background-position: bottom 150px right 0px;
    }
    .pageimagetop h1 {
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 20px;
    }
}

@media only screen and (min-width: 576px) {
    .pageimagetop, .pageimagebottom {
        min-height: 175px;
    }
    .pageimagebottom {
    }
    .pageimagetop h1 {
        font-size: 2.5rem;
        font-weight: 500;
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 768px) {
    .pageimagetop, .pageimagebottom {
        min-height: 200px;
    }
    .pageimagebottom {
    }
    .pageimagetop h1 {
        font-size: 3rem;
        font-weight: 500;
        margin-bottom: 30px;
    }
    #mapcontainer svg {
        width: 690px;
        height: 470px;
    }
}

@media only screen and (min-width: 1200px) {
    .pageimagetop, .pageimagebottom {
        min-height: 300px;
    }
    .pageimagebottom {
    }
    .pageimagetop h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 40px;
    }
    #mapcontainer svg {
        width: 825px;
        height: 550px;
    }
}

@media only screen and (min-width: 1600px) {
    .pageimagetop, .pageimagebottom {
        min-height: 350px;
    }
    .pageimagebottom {
    }
    .pageimagetop h1 {
        font-size: 4rem;
        font-weight: 700;
        margin-bottom: 50px;
    }
}

@media only screen and (min-width: 2000px) {
    .pageimagetop, .pageimagebottom {
        min-height: 450px;
    }
    .pageimagebottom {
    }

    .pageimagetop h1 {
        font-size: 5rem;
        font-weight: 700;
        margin-bottom: 60px;
    }
}