/*! SVG Türkiye Haritası | CSS | MIT Lisans | dnomak.com */
.panel{
  display: none; /* Hidden by default */
  z-index: 1;	
  overflow: hidden;
  height: 0;
  transition: all .9s ease;
	 
}
.panel.open{
  display: block; /* show by default */
  z-index: 2;	
  height: 650px;
  overflow:  hidden; /* Enable scroll if needed */
  }	

.turkey-map-container {
    max-width: 980px;
    width: 100%;
    height: auto;
    margin: 50px auto 0 auto;
}

@media screen and (min-width: 980px) {
    .switch-container {
        float: right;
        width: max-content;
    }
}

.switch-container .text {
    display: block;
    float: left;
    padding: 0 10px;
    color: #5a5a5a;
    font-size: 16px;
    line-height: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: orangered;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.map {
    width: 100%;
}

.map svg {
    width: 100%;
    height: auto;
}

.il-isimleri {
    display: none;
    max-width: 400px;
    position: absolute;
    -webkit-box-shadow: 0 0 25px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 25px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 25px 2px rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 20px;
    background: #ffffff;
    padding: 15px;
	
}

.il-isimleri .progressbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.il-isimleri .progressbar .bar {
    width: 1%;
    height: 5px;
    background-color: orangered;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
}

.il-isimleri a {
    text-decoration: none;
    color: #515151;
}

.il-isimleri .popup {
    float: left;
    width: 100%;
    height: auto;
		
}

.il-isimleri .popup a .image {
    float: left;
    display: block;
    width: 90px;
    height: 90px;
    background-size: 90px 90px;
	
}

.il-isimleri .popup .content {
    float: left;
    width: calc(100% - 100px);
    margin-left: 10px;
	
}

.il-isimleri .popup .content a .news-location {
    color: #505050;
    font-size: 20px;
    font-family: AktivGrotesk-Regular;
    font-weight: bold;
    margin-bottom: 5px;
}

.il-isimleri .popup .content a:hover .news-location {
    color: orangered;
}

.il-isimleri .popup .content a .news-location img {
    float: left;
    height: 18px;
    margin-right: 5px;
}

.il-isimleri .popup .content a .news-title {
    color: #505050;
    font-size: 17px;
    font-family: AktivGrotesk-Regular;
    margin-bottom: 5px;
}

.il-isimleri .popup .content a:hover .news-title {
    color: orangered;
}

.il-isimleri .popup .content a .news-date {
    color: orangered;
    font-size: 13px;
    font-family: AktivGrotesk-Regular;
    font-weight: bold;
}

#map {
    cursor: pointer;
    fill: #9696A6;
}

@media screen and (max-width: 979.98px) {
    .switch-container {
        margin: -10px auto 20px auto;
        float: unset;
        width: max-content;
    }

    .turkey-map-container {
        width: 90%;
        margin: 50px 5% 0 5%;
    }
}

@media screen and (max-width: 600px) {
    .il-isimleri {
        display: none;
        position: relative;
        margin-bottom: 15px;
        line-height: 18px;
    }

    .il-isimleri .popup .content a .news-location {
        font-size: 15px;
    }

    .il-isimleri .popup .content a .news-title {
        font-size: 14px;
    }

    .il-isimleri .popup .content a .news-date {
        font-size: 12px;
    }
}

@media screen and (max-width: 424.98px) {
    .turkey-map-container {
        margin-top: 30px;
    }

    .switch-container .text {
        font-size: 15px;
        line-height: 23px;
    }
}

@media screen and (max-width: 374.98px) {
    .switch-container .text {
        font-size: 14px;
    }

    .il-isimleri {
        padding: 10px;
    }

    .il-isimleri .popup .content a .news-location {
        font-size: 14px;
    }

    .il-isimleri .popup .content a .news-title {
        font-size: 13px;
    }

    .il-isimleri .popup .content a .news-date {
        font-size: 11px;
    }
}
	