/*********************************************************************************
	
	Template Name: Karbar - Multipurpose Bootstrap 4 Template
	Template URI: https://themeforest.net/user/themes-hub   
	Description: Karbar is a best templete for your corporate/business website which comes with unique design and user friendly code.  
	Author: Themes-Hub
	Author URI: https://hastech.company/
	Version: 1.0

	Note: This is custom css. All custom styles (user styles) declare here.

**********************************************************************************/
.menu {
  margin-right: 50px;
  margin-left: auto;
}

.h-900 {
  height: 900px;
}

.mt-450 {
  margin-top: 450px;

}

.leaflet-control-layers {
  border-radius: 10px !important;
}

#map-filer .dropdown-menu {
  position: unset !important;
}

/* #map-filer .dropdown-menu {

  width: 300px;
  top: 150px !important;
  left: 5px !important;
  overflow: scroll;
  overflow-x: hidden;
  height: 48em;
}

#map-filer2 .dropdown-menu {
  width: 300px;
  top: 150px !important;
  left: 2px !important;
  overflow: scroll;
  overflow-x: hidden;
  height: 48em;
} */

.header nav.menu li.cr-dropdown ul {
  width: 300px;
}

.page-content {
  margin-top: 0;
}

.page-content-main {
  margin-top: 0px;
}


i {
  margin-right: 10px;
}

.header-sidemenu nav.menu ul li {
  padding: 0px 0px;
}

.dropdown-menu ul>li>a.cvdropdown,
.cv-submenu ul>li>a.cvdropdown2 {
  background-position: 100% 75%;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.dropdown-menu ul>li>a.cvdropdown {
  background-image: url('../images/down.png');
}

.dropdown-menu ul>li>a.cvdropdown2 {
  background-image: url('../images/up.png');
}

/* 
header .container {
  max-width: max-content;
  margin-left: 50px;
  margin-right: 50px;
} */

.header nav.menu ul li {
  padding: 0 5px;
}

.logo {
  margin-right: 50px;
}

.negative-image {
  -webkit-filter: invert(1);
  filter: invert(1);
  margin-top: 20px;
}

/* TIMELINE CSS */

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/**, html,body{
  padding:0px;
  margin:0px;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
  perspective:800px;
}
body{
  background-color:#227093;
  width:100%;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
}*/
.timeline {
  width: 800px;
  background-color: transparent;
  /*#1D1501;*/
  color: #fff;
  padding: 30px 20px;
  /*box-shadow:0px 0px 10px rgba(0,0,0,.5);*/
}

.timeline ul {
  list-style-type: none;
  border-left: 2px solid #1D1501;
  padding: 10px 5px;
}

.timeline ul li {
  padding: 20px 20px;
  position: relative;
  cursor: pointer;
  transition: .5s;
}

.timeline ul li span {
  display: inline-block;
  background-color: #3C2F10;
  /*#1685b8;*/
  color: #fff;
  border-radius: 25px;
  padding: 2px 5px;
  font-size: 15px;
  text-align: center;
}

.timeline ul li .content h3 {
  color: #3C2F10;
  /*#34ace0;*/
  font-size: 17px;
  padding-top: 5px;
}

.timeline ul li .content p {
  padding: 5px 0px 15px 0px;
  font-size: 15px;
  color: #3C2F10;
}

.timeline ul li:before {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  background-color: #3C2F10;
  border-radius: 50%;
  left: -11px;
  top: 28px;
  transition: .5s;
}

.timeline ul li:hover {
  background-color: #fff;
  /*#071f2a;*/
}

.timeline ul li:hover:before {
  background-color: #d19610;
  /*#0F0;*/
  box-shadow: 0px 0px 10px 2px #d19610;
}

.underline {
  border-bottom: 5px solid #d19610;
}

#timeline {
  min-height: 650px;
}


@media (max-width:300px) {
  .timeline {
    width: 100%;
    padding: 30px 5px 30px 10px;
  }

  .timeline ul li .content h3 {
    color: #34ace0;
    font-size: 15px;
  }

}

/* END OF TIMELINE CSS */

/* TAB LAYOUTS */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700");
@import url("https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css");


*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
}

/*.tab {*/
/*  margin-left: 50px;*/
/*}*/

.tab section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}

.tab input {
  display: none;
}

.tab label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 3px 12px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
}

.tab label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

/*label[for*='1']:before {
  content: '\f1cb';
}

label[for*='2']:before {
  content: '\f17d';
}

label[for*='3']:before {
  content: '\f16b';
}

label[for*='4']:before {
  content: '\f1a9';
}*/

.tab label:hover {
  color: #888;
  cursor: pointer;
}

.tab input:checked+label {
  color: #3C2F10;
  border: 1px solid #ddd;
  border-top: 2px solid orange;
  border-bottom: 1px solid #fff;
}

#tab1:checked~#content1,
#tab2:checked~#content2,
#tab3:checked~#content3,
#tab4:checked~#content4,
#tab5:checked~#content5,
#tab6:checked~#content6,
#tab7:checked~#content7,
#tab8:checked~#content8,
#tab9:checked~#content9,
#tab10:checked~#content10,
#tab11:checked~#content11,
#tab12:checked~#content12,
#tab13:checked~#content13 {
  display: block;
}

@media screen and (max-width: 650px) {
  .tab label {
    font-size: 15px;
  }

  .tab label:before {
    margin: 0;
    font-size: 18px;
  }

  .timeline {
    width: 100%;
    background-color: transparent;
    color: #fff;
    padding: 30px 0px;
  }
}

@media screen and (max-width: 400px) {
  .tab label {
    padding: 15px;
  }
}

/* END OF TAB LAYOUTS */

@media (min-width: 1200px) {
  .d-none {
    max-width: 1300px;
  }
}

#myModal2,
#myModal3 {
  z-index: 9999 !important;
}

#myModal3 .modal-dialog {
  width: 60% !important;
  max-width: 60% !important;
}

/* .leaflet-popup-body p {
  font-size: 12px;
  font-weight: normal;
} */
/* .leaflet-control-layers:hover {
  box-shadow: none !important;
  background: none !important;
} */

.custom-filter-info {
  padding: 10px;
  background: #fff;
  width: 65px;
  border-radius: 10px;
}

.leaflet-popup-content-wraper {

  margin-left: 90px;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  /* margin-top: -50px; */
}

/* map */

#loader {
  position: absolute;
  left: 0px;
  z-index: 9999;
  right: 0px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0.5);
}

/* CSS for Cloud Topoi */
ul.cloud {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  line-height: 2.75rem;
  width: 90%;
}

ul.cloud a {
  /*   
  Not supported by any browser at the moment :(
  --size: attr(data-weight number); 
  */
  --size: 4;
  --color: #a33;
  color: var(--color);
  font-size: calc(var(--size) * 0.25rem + 0.5rem);
  display: block;
  padding: 0.125rem 0.25rem;
  position: relative;
  text-decoration: none;
  /* 
  For different tones of a single color
  opacity: calc((15 - (9 - var(--size))) / 15); 
  */
}

ul.cloud a[data-weight="1"] {
  --size: 0.6;
}

ul.cloud a[data-weight="2"] {
  --size: 0.7;
}

ul.cloud a[data-weight="3"] {
  --size: 0.8;
}

ul.cloud a[data-weight="4"] {
  --size: 0.9;
}

ul.cloud a[data-weight="5"] {
  --size: 1;
}

ul.cloud a[data-weight="6"] {
  --size: 1.5;
}

ul.cloud a[data-weight="7"] {
  --size: 2;
}

ul.cloud a[data-weight="8"] {
  --size: 2.5;
}

ul.cloud a[data-weight="9"] {
  --size: 3;
}

ul.cloud a[data-weight="10"] {
  --size: 3.5;
}

ul.cloud a[data-weight="11"] {
  --size: 4;
}

ul.cloud a[data-weight="12"] {
  --size: 4.5;
}

ul.cloud a[data-weight="14"] {
  --size: 5;
}

ul.cloud a[data-weight="15"] {
  --size: 6;
}

ul.cloud a[data-weight="16"] {
  --size: 7;
}

ul.cloud a[data-weight="18"] {
  --size: 8;
}

ul.cloud a[data-weight="19"] {
  --size: 9;
}

ul.cloud a[data-weight="21"] {
  --size: 8;
}

ul.cloud a[data-weight="38"] {
  --size: 11;
}

ul.cloud a[data-weight="39"] {
  --size: 12;
}

ul.cloud a[data-weight="41"] {
  --size: 13;
}

ul.cloud a[data-weight="52"] {
  --size: 14;
}

ul.cloud a[data-weight="60"] {
  --size: 15;
}


ul.cloud[data-show-value] a::after {
  content: " (" attr(data-weight) ")";
  font-size: 0.7rem;
}

ul.cloud li:nth-child(2n+1) a {
  --color: #181;
}

ul.cloud li:nth-child(3n+1) a {
  --color: #33a;
}

ul.cloud li:nth-child(4n+1) a {
  --color: #c38;
}

/*
ul.cloud a {
  opacity: calc((15 - (9 - var(--size))) / 15); 
}*/

ul.cloud a:focus {
  outline: 1px dashed;
}

ul.cloud a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background: var(--color);
  transform: translate(-50%, 0);
  opacity: 0.15;
  transition: width 0.25s;
}

ul.cloud a:focus::before,
ul.cloud a:hover::before {
  width: 100%;
}

@media (prefers-reduced-motion) {
  ul.cloud * {
    transition: none !important;
  }
}

/* END OF CSS for Cloud Topoi */

.map-filters {
  width: 75%;
  left: -100%;
  position: fixed;
  z-index: 99;
  background-color: #404040;
  box-shadow: 0px 0px 20px #404040;
  transition: 1s;
}

.map-filters.open-filter {
  left: 0;
}

.open-sidebar-btn {
  position: fixed;
  left: 0;
  font-size: 20px;
  cursor: pointer;
  background-color: #404040;
  color: white;
  padding: 10px 15px;
  border: none;
  transition: 1s;
}

.open-sidebar-btn.close-filter {
  /* width: 80%; */
  left: 75%;
  z-index: 99;
}


.filter-options {
  padding: 0;
}

.list-style {
  list-style-type: none;
  background-color: #404040;
}

.filters-title {
  background-color: #606060;
}

.nav-tabs .nav-link,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: white !important;
  background-color: transparent;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-item.show .nav-link {
  border-color: transparent transparent transparent;
}

.nav-tabs .nav-link.active {
  border-bottom: 3px solid #d19610;
  border-color: transparent transparent #d19610;
}

.nav-tabs {
  border-color: #606060;
}

.map-filters .nav-link {
  /* padding: 15px; */
  padding: 10px 0 10px 0;
  text-align: center;
  font-size: 14px;
}


.map-filters .tab-content {
  max-height: 530px;
  overflow-y: auto;
}


/* width */
.leaflet-control-layers-expanded .leaflet-control-layers-list::-webkit-scrollbar,
.map-filters .tab-content::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.leaflet-control-layers-expanded .leaflet-control-layers-list::-webkit-scrollbar-track,
.map-filters .tab-content::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.leaflet-control-layers-expanded .leaflet-control-layers-list::-webkit-scrollbar-thumb,
.map-filters .tab-content::-webkit-scrollbar-thumb {
  background: #606060;
  border-radius: 10px;
}

/* Handle on hover */
.leaflet-control-layers-expanded .leaflet-control-layers-list::-webkit-scrollbar-thumb:hover,
.map-filters .tab-content::-webkit-scrollbar-thumb:hover {
  background: #404040;
}

#map {
  /* height: 800px; */
  width: 100%;
}

#filterTopos {
  border: 1px solid #ddd;
}

#filterTopos .nav-item .nav-link.active {
  background-color: #fff !important;
}

@media only screen and (min-width: 767px) {
  .map-filters {
    width: 40%;
  }

  .open-sidebar-btn.close-filter {
    left: 40%;
  }

  #btnResetFilterApomniLayer {

    left: 20px !important;
  }
}


/* Tablet */
@media only screen and (min-width: 992px) {
  .page-content {
    margin-top: 115px;
  }

  .open-sidebar-btn {
    display: none;
  }

  /* #map {
    width: 78%;
  } */

  .map-filters {
    width: 40%;
  }

}

/* Desktop */
@media only screen and (min-width: 1024px) {
  .map-filters {
    width: 27%;
    position: unset;
    left: 0;
  }

  #btnResetFilterApomniLayer {

    left: 260px;
  }
}

@media screen and (min-width: 1280px) {
  #btnResetFilterApomniLayer {

    left: 290px;
  }
}

@media screen and (min-width: 1280px) {

  /*For Big TV's (HD Screens) */
  .map-filters .tab-content {
    max-height: 550px !important;
    overflow-y: auto;
  }

}