
/* 
  GENERAL STYLE
  -------------------------------------
*/
/* @font-face {
  font-family: uniqueLight;
  src: url(../Fonts/GE-SS-Unique-Light.otf);
} */

/* @font-face {
  font-family: uniqueBold;
  src: url(../Fonts/GE-SS-Unique-Bold.otf);
} */

@font-face {
  font-family: HelveticaNeue;
  src: url(../Fonts/HelveticaNeue_2.ttf);
}

:root {
  --white: #fff;
  --light-grey: #EFEFEF;
  --medium-grey: #d9d5d5;
  --shadow-grey: #aaa;
  --text-medium-grey: #444444;
  --light-green: #00FF9C12;
  --medium-green: #0B8C5F;
  --custom-green: #01784A;
  --medium-gold: #9E8D59;
  --custom-brown: rgb(158, 141, 89);
}

body {
  font-family: uniqueLight;
  background: url(../images/dots.svg) center center no-repeat;
  background-size: cover;
  
}


h1, h2, h3, h4, h5, h6, p, li, a, span {
  font-family: uniqueLight !important;
}

.responsive {
  width: 100%;
  height: 100%;
}

.text-gold {
  color: var(--medium-gold) !important;
}

.text-green {
  color: var(--medium-green) !important;
}

.box-content {
  background: linear-gradient(150deg, var(--medium-grey), var(--light-grey)) padding-box, 
              linear-gradient(150deg, var(--light-grey), var(--medium-grey)) border-box;
  border-radius: 30px;
  border: 4px solid transparent;
  color: var(--text-medium-grey);
  font-size: 14px;
  text-align: center;
  padding: 10px;
  filter: blur(0.4px) drop-shadow(0px 4px 12px var(--shadow-grey));
  line-height: 2;
  z-index: 3;
  outline: none !important;
}

.icon {
  position: absolute;
  top: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  left: calc(50% - 50px);
  background: linear-gradient(150deg, var(--medium-grey), var(--light-grey)) padding-box, 
              linear-gradient(150deg, var(--light-grey), var(--medium-grey)) border-box;
  border: 4px solid transparent;
  color: var(--text-medium-grey);
  filter: blur(0.4px) drop-shadow(0px 5px 12px var(--shadow-grey));
  box-shadow: inset 7px 7px 20px var(--shadow-grey);
  line-height: 2;
  z-index: 3;
}

.overlay {
  position: absolute;
  inset: 0;
  top: 0;
  z-index: 0;
  filter: drop-shadow(0 -54px 50px black);
  background-color: #11774f3d;
  opacity: .5;
}




/* 
  Grouped STYLE
  -------------------------------------
*/
.slider-graph .health-image,
.health-resources .health-image {
  position: absolute;
  inset: 0;
  filter: opacity(0.3);
}

.slider-graph .slide-box .box-content:before {
  content: '';
  display: block;
  position: absolute;
  top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  left: calc(50% - 40px);
  background: linear-gradient(150deg, var(--medium-grey), var(--light-grey)) padding-box, 
              linear-gradient(150deg, var(--light-grey), var(--medium-grey)) border-box;
  border: 3px solid transparent;
  color: var(--text-medium-grey);
  padding: 10px;
  filter: blur(0.4px);
  line-height: 2;
  z-index: 3;
}

.traffic-accident .box-image .box-content, 
.covid .box-content,
.general-health .box-image .box-content,
.health-resources .box-image .box-content,
.medical-events .box-image .box-content {
  padding-top: 60px;
  text-align: left;
  filter: opacity(.8) drop-shadow(0 11px 20px var(--shadow-grey));
}


/* Slider Graph */
.general-health .slide-box {
  /* margin-top: 50px; */
  z-index: 3;
}

.slider-graph .slide-box {
  top: 230px;
  /* margin-top: 50px; */
  z-index: 3;
}

.general-health .slide-box .box-content,
.slider-graph .slide-box .box-content {
  position: relative;
  padding-top: 65px;
  filter: none;
  margin-top: 50px;
}

.slider-graph .slide-box .box-content h4 {
  direction: ltr;
}

.general-health .slide-box button,
.slider-graph .slide-box button {
  background-color: var(--white);
  width: 40px;
  height: 40px;
  top: 60%;
  border-radius: 50%;
  outline: none !important;
  filter: drop-shadow(0 4px 3px var(--shadow-grey));
}

.general-health .slide-box button:hover,
.slider-graph .slide-box button:hover {
  transform: scale(1.2);
  top: 54%;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  -moz-transition: all .5s ease;
  transition: all .5s ease;
}

.general-health .slide-box button.slick-prev,
.slider-graph .slide-box button.slick-prev {
  right: -70px;
  left: auto;
}

.general-health .slide-box button.slick-prev:before,
.slider-graph .slide-box button.slick-prev:before {
  content: url('../images/arrow-right.svg');
  display: block;
  transform: scale(.6) translate(3px, 2px);
}

.general-health .slide-box button.slick-next,
.slider-graph .slide-box button.slick-next {
  left: -80px;
  right: auto;
}

.general-health .slide-box button.slick-next:before,
.slider-graph .slide-box button.slick-next:before {
  content: url('../images/arrow-left.svg');
  display: block;
  transform: scale(.6) translate(-3px, 0);
}

.general-health .slide-box .slick-dots,
.slider-graph .slide-box .slick-dots {
  bottom: unset;
  top: -80px;
  width: max-content;
  left: calc(50% - 263px);
  padding: 7px 8px;
  background: var(--light-grey);
  border-radius: 30px;
  color: var(--text-medium-grey);
  filter: opacity(0.9) drop-shadow(0 2px 4px var(--shadow-grey));
}

.general-health .slide-box .slick-dots li,
.slider-graph .slide-box .slick-dots li {
  width: max-content;
  height: auto;
  width: 160px;
}

.general-health .slide-box .slick-dots li.slick-active,
.slider-graph .slide-box .slick-dots li.slick-active {
  background: var(--custom-green);
  color: var(--light-grey);
  padding: 10px 8px;
  border-radius: inherit;
  filter: drop-shadow(0 0 1px #555);
}

.covid .overlay,
.traffic-accident .overlay {
  transform: drop-shadow(0 -54px 50px black) brightness(0.5);
}

.general-health .slide-box .box-content img.responsive,
.traffic-accident .box-image .box-content.content-chart img.responsive {
  object-fit: contain;
}

.traffic-accident .box-image .image-health:hover img,
.general-health .box-image .image-health:hover img,
.medical-events .box-image .image-health:hover img,
.health-resources .box-image .image-health:hover img {
  transform: scale(1.2);
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  -moz-transition: all .5s ease;
  transition: all .5s ease;
}






/* 
  HOME PAGE STYLE
  -------------------------------------
*/
section {
  min-height: 100vh;  
  position: relative;
}

section > img {
  position: absolute;
  inset: 0;
}

.ministry-of-health {
  position: relative;
  background: url('../images/moh.svg') center center no-repeat;
  background-size: cover;
  opacity: 0.7;
}

.ministry-of-health .shadow-image {
  position: absolute;
  width: 100%;
  inset: unset;
  bottom: 0;
  display: block;
  left: 0;
  right: 0;
  opacity: .8;
}

/* Health Resources */
section.health-resources {
  min-height: 80vh;
}

.health-resources .first-box.box-content {
  position: absolute;
  top: -70px;
}

.health-resources .box-image .grid-box {
  /* position: relative; */
  z-index: 1;
  align-self: flex-end;
}

.health-resources .box-image {
  top: 245px;
  z-index: 3;
}

.health-resources .box-image .box-content {
  transform: translateX(+35px);
}

.health-resources .box-image .box-content h4 {
  font-weight: 300;
  text-align: center;
}

.health-resources .box-image .image-health {
  transform: translateX(-35px);
  overflow: hidden;
  filter: drop-shadow(0px 20px 20px #333);
}

/* Slider Graph */
.slider-graph {
  min-height: 115vh;
}

.slider-graph .box-content {
  opacity: .8;
}

/* Medical Events */
.medical-events {
  min-height: 120vh;
}
.medical-events .box-image .grid-box {
  z-index: 1;
  align-self: center;
}

.medical-events .box-image .box-content:not(.content-chart) {
  transform: translateX(-60px);
}

.medical-events .box-image .box-content h4 {
  line-height: 1.2;
  font-weight: 300;
  text-align: center;
}

.medical-events .box-image .image-health {
  transform: translateX(60px);
  overflow: hidden;
  filter: drop-shadow(0px 20px 20px #333);
}

/* General Health */
.general-health {
  min-height: 100vh;
}

.general-health .box-image .grid-box {
  z-index: 1;
  align-self: center;
}

.general-health .box-image .box-content {
  transform: translateX(60px);
}

.general-health .box-image .box-content h4 {
  font-weight: 300;
  text-align: center;
}

.general-health .box-image .image-health {
  transform: translateX(-60px);
  overflow: hidden;
  filter: drop-shadow(0px 20px 20px #333);
}

/* Covid */
.covid .box-content h4 {
  margin-left: auto;
}

.covid .box-content #map {
  transform: translateY(-30px);
}

.covid .box-content #map #map_inner a[href="https://simplemaps.com"] {
  opacity: 0 !important;
}

.covid .box-content #map #map_inner #tt_sm_map .tt_sm {  
    box-shadow: unset;
    z-index: 1000000;
    opacity: unset;
    font: unset;
    background: var(--custom-brown);
    color: unset;
    padding: 10px;
    border-radius: 50%;
    /* overflow: hidden; */
    position: fixed;
    width: 90px;
    height: 90px;
    position: fixed; /* Floating above */
    transition: transform 0.23s; /* Sticking effect */
    pointer-events: none; /* Allow clicking trough the div */
    transform: translate(-40px, -60px);
}

.covid .box-content #map #map_inner #tt_sm_map .tt_sm::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -7px;
  left: 35px;
  z-index: 1;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--custom-brown);
}


.covid .box-content #map #map_inner #tt_sm_map .tt_name_sm {
  background: #fff;
  padding: 10px;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  text-align: center;
  line-height: 1;
  filter: drop-shadow(0px 2px 3px #333);
  display: flex;
  flex-flow: column;
}

.covid .box-content #map #map_inner #tt_sm_map .tt_name_sm span.city {
  font-size: 17px;
  margin-top: 10px;
}

.covid .box-content #map #map_inner #tt_sm_map .tt_name_sm span.count {
  font-size: small;
}

.covid .box-content #map #map_inner #tt_sm_map .tt_name_sm span.city,
.covid .box-content #map #map_inner #tt_sm_map .tt_name_sm span.count {
  color: var(--custom-green);
}

/* Traffic Accident */
.traffic-accident .box-image {
  top: 50px;  
}

.traffic-accident .box-image .grid-box {
  z-index: 1;
  align-self: center;
}

.traffic-accident .box-image .box-content:not(.content-chart, .statistical-book) {
  transform: translateX(-60px);
}

.traffic-accident .box-image .box-content h4 {
  font-weight: 300;
  text-align: center;
}

.traffic-accident .box-image .image-health {
  transform: translateX(+60px);
  overflow: hidden;
  filter: drop-shadow(0px 20px 20px #333);
}


.traffic-accident .box-image .box-content.statistical-book {
  padding-top: 10px;
}

.traffic-accident .box-image .book-icon {
  left: 35px;
  top: -22px;
}

.traffic-accident .box-image .box-content.statistical-book h4 {
  transform: translateX(+120px);
  margin-bottom: 0;
}

.traffic-accident .box-image .box-content.statistical-book .more {
  float: right;
  display: block;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-right: 50px;
  cursor: pointer;  
}

.traffic-accident .box-image .box-content.statistical-book .more:after {
  content: url('../images/arrow-down.svg');
  display: inline-block;
  margin-left: 5px;
  transform: scale(.6) translateY(5px);
}

.traffic-accident .box-image .box-content.statistical-book .content {
  margin-top: 38px;
}