@import "mobile-menu.css";
@import url('colors.css');

html {
  height: 100%;
  max-height: 100%;
}

:root {
  --te-color: #38395b;
  --te-hover-color: #cd1a3a;
  --bs-nav-pills-link-active-bg: #cd1a3a!important;
}

/* GENERAL SETTINGS */
html,
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
}

body.noscroll {
  overflow: hidden;
}

.table > tbody > tr > td {
  vertical-align: middle;
}

.container {
  max-width: 1160px;
  position: relative;
  margin: 0 auto;
}
/* Kule reklam ayarlaması */
.ad-tower {
  position: absolute;
  width: 160px;
  height: 600px;
  top: 147px!important;
}
.ad-tower-left {
  left: calc(50% - 740px);
}
.ad-tower-right {
  right: calc(50% - 740px);
}

/* General Links */
a,
a:hover {
  text-decoration: none !important;
}
.dropdown-item.active,
.dropdown-item:active {
  color: initial;
  background-color: initial;
}

/* TITLES */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1;
}

.mini-title {
  font-size: .625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* FOCUS BOX-SHADOW */
.btn.focus,
.btn:focus,
.accordion-button:focus,
.btn-primary:active:focus,
.form-select:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: none;
}

/* NAVIGATION */
header .navbar-brand img {
  height: 50px;
  max-height: 75px;
}

header .navbar .nav-link {
  height: 100%;
  line-height: 50px;
}

header .navbar-expand .navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
}

header .dropdown-menu[data-bs-popper] {
  margin-top: 0;
}

header .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.9);
  border: 0;
  border-radius: 0;
}

header .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.8);
}

header .dropdown-menu .dropdown-item:focus,
header .dropdown-menu .dropdown-item:hover {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.9);
}

header #top-bar ul:first-child li:first-child a {
  padding-left: 0 !important;
}

header #top-bar ul:last-child li:last-child a {
  padding-right: 0 !important;
}

header #top-bar {
  font-size: 14px;
}

#countdown {
  width: 30px;
  display: inline-block;
}

/* Mobile Header Dark Mode */
#ci-mobile-header.bg-primary .burger::before,
#ci-mobile-header.bg-primary .burger span,
#ci-mobile-header.bg-primary .burger::after {
  background: #fff;
}

/* DROPDOWN HOVER MENU */
@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    margin-top: 0;
    border-top: 3px solid var(--te-hover-color);
    width: 270px;
  }

  .navbar .nav-item .dropdown-menu .dropdown-item {
    white-space: normal;
  }

  .navbar .nav-item .dropdown-menu.shop-cart {
    width: 320px;
    padding: 10px;
  }

  .navbar .nav-item .dropdown-menu-end {
    right: 0;
  }

  /* DROPDOWN OPENING EFFECT */
  .navbar .nav-item .dropdown-menu {
    display: block;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top center;
    transition: all .3s cubic-bezier(.18, .89, .32, 1.28);
  }

  .navbar .nav-item .dropdown-menu.show {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* HEADER OPTIONS */
/* #ci-header ul.main-menu li.nav-item:first-child a.nav-link {
padding-left: 0;
} */

#ci-header nav .navbar-brand {
  display: none;
}

#ci-header.sticky-top {
  position: sticky !important;
}

#ci-header.sticky-top nav {
  background: #fff;
  transition: width 1s, height 1s, background-color 1s, transform 1s;
}

#ci-header.sticky-top nav .navbar-brand {
  display: block;
}

/* SEARCH BAR */
.has-search .form-control {
  padding-left: 2.375rem;
  border: 0;
  background-color: rgba(255, 255, 255, 0.7);
}

.sticky-top .has-search .form-control {
  padding-left: 2.375rem;
  border: 1;
  background-color: #efefef;
}

.form-control::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.has-search .form-control-feedback {
  position: absolute;
  z-index: 2;
  display: block;
  width: 2.375rem;
  height: 2.375rem;
  line-height: 2.375rem;
  text-align: center;
  pointer-events: none;
  color: rgba(0, 0, 0, 0.3);
}

/* STATISTICS */
.vote-box h6 {
  letter-spacing: .8px;
  font-weight: 600;
}

/* PROGRESS BAR */
.progress {
  height: 8px;
}

.progress-cb {
  height: 40px;
  background-color: #393a5b;
}

.progress-mv {
  height: 35px;
  background-color: #393a5b;
}

.progress .pr-per {
  position: absolute;
  font-size: 30px;
  color: white;
  font-weight: bold;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
}

.progress .progress-bar {
  animation-name: animateBar;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: .4s;
}

@keyframes animateBar {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

/* CANDIDATE */
.election-candidate {
  margin-top: 10px;
  border-top: 1px solid #efefef;
  padding-top: 10px;
}

.party-box {
  margin-top: .5rem;
  border-top: 1px solid #efefef;
  padding-top: .5rem;
}

/* TURKEY MAP */
:is(.turkey-map-section, .city-map-section) .nav-pills .nav-link {
  color: var(--te-color);
  padding: 10px 10px;
  border: 2px var(--te-color) solid;
  font-size: 16px;
  margin-right: 2px;
  margin-left: 2px;
  border-radius: 25px;
  text-transform: uppercase;
}

:is(.turkey-map-section, .city-map-section) .nav-pills .nav-link.active,
:is(.turkey-map-section, .city-map-section) .nav-pills .show>.nav-link {
  background-color: var(--te-color);
  color: white;
}

.turkey-map-section .city-select .form-select {
  width: 300px;
  padding: 10px 15px;
  font-size: 16px;
  background-color: #f7f7f7;
  border-radius: 25px;
}
.little-percent {
  font-size: 17px;
}

.city-map-section .city-mask {
  width: 100%;
  height: 350px;
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

/* CB PROFILE PAGE */
.subpage-master .progress-cb {
  height: 20px;
}

.subpage-master .progress .pr-per {
  font-size: 15px;
}

.subpage-master.about-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.subpage-master.about-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 46, 0.5);
}

.subpage-master .container {
  z-index: 999;
  position: relative;
}

table tr:last-child td,
table tr:last-child th {
  border-bottom-width: 0 !important;
}

/* BAŞLIKLARDAKİ ÇİZGİ */
.title-line {
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.section-title .city-select .form-select {
  width: 190px;
  padding: 5px 15px;
  font-size: 14px;
  background-color: #f7f7f7;
  border-radius: var(--bs-border-radius-pill) !important;
}

.subpage-master .city-select .form-select {
  width: 190px;
  padding: 5px 15px;
  font-size: 15px;
  background-color: #f7f7f7;
  border-radius: var(--bs-border-radius-pill) !important;
}
.city-map-single .nav-link {
  color: var(--te-color);
  background-color: #ddd;
  margin-right: 10px;
}
.city-map-single .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: var(--te-color);
}
/* Tablo Mantığı */
.table-row {
  display: flex;
  flex-direction: row;
}

.table-col {
  display: flex;
  flex: 1;
  padding: .5rem;
  border: 1px solid #dee2e6;
}
