
/* General Containers */
.imgs_container {
    padding-top: 15px;
    padding-bottom: 15px;
}

.parent_sites {
    position: relative;
    text-align: center;
}



.btns_container {
    position: absolute;
    bottom: 1px;
}

.area_img {
    border-color: #808080;
    background-color: #ddd;
}

.area_heading {
    font-size: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.area_t {
    font-size: 14px;
}

.area_p {
    font-size: 18px;
}

.img-thumbnail:hover {
    border-color: #606060;
}

.map_image {
    width: 50%;
    height: auto;
    margin-bottom: -25px !important;
    margin-top: -25px !important;
}

.sites_top_definitions {
    color: #B8B8B8;
    font-size: 32px;
    font-weight: bold;
    text-shadow: -1px 0 #000, 0 2px #000, 1px 0 #000, 0 -1px #000;
}

#sites_parent{border-radius: 5px;}


.map-wrap{
  width: 100%;
  min-height: 260px;
  height: clamp(260px, 45vw, 520px);

  display: flex;
  flex-direction: column;

  padding: 12px;
  overflow: hidden;
}

.map-flag-row{
  display: flex;
  justify-content: center;
  align-items: center;
}


.country-flag{
  width: auto;
  height: auto;
  max-width: 100%;

  /* premium border look */
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 6px;

  /* subtle depth */
  box-shadow:
    0 0 0 1px rgba(255,255,255,.6) inset,
    0 2px 8px rgba(0,0,0,.22);

  background: #fff; /* important for transparent PNGs */
  object-fit: contain;
}



.map-canvas{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0; /* important for flex children to size correctly */
}

.country-map{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}



/* Title-looking button */
.map-title-btn {
  background-color: #ffc107; /* Bootstrap warning */
  border: 1px solid #6c757d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  transition: 0.2s;
}

.map-title-btn:hover { background-color: #e0a800; transform: translateY(-1px); }
.map-title-btn:active { transform: translateY(0); }

/* On very small screens reduce height a bit */
@media (max-width: 576px){
  .map-wrap{ height: 320px; }
}

/* Media Queries */

/* Large screens up to 992px */


/* Medium screens up to 768px */
@media screen and (max-width: 768px) {
    .map_image {
        width: 75%;
        height: auto;
    }

    .sites_top_definitions {
        font-size: 24px;
    }
}

/* Small screens up to 576px */
@media screen and (max-width: 576px) {
    .map_image {
        margin-bottom: auto !important;
        margin-top: auto !important;
    }

    

    .area_heading {
        font-size: 30px;
    }

    .area_p {
        font-size: 16px;
    }
}

/* Extra small screens up to 320px */
@media screen and (max-width: 320px) {
    .area_heading {
        font-size: 24px;
    }

    .area_p {
        font-size: 14px;
    }
}

/* Tiny screens up to 240px */
@media screen and (max-width: 240px) {
    
    
    .btns_container .btn {
        width: 21px;
        height: 20px;
        font-size: 6px;
    }

    .area_heading {
        font-size: 20px;
    }

    .area_p {
        font-size: 12px;
    }
}

/* Extremely small screens up to 140px */
@media screen and (max-width: 140px) {
   

    .btns_container .btn {
        width: 16px;
        height: 15px;
        font-size: 3px;
    }
	
}





