/* Bootstrap Custom Styles for Dispecerat Tractari Auto */
/* Using Bootstrap 3.3.7 styling with custom county button styling */

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.btn:active,
.btn:focus,
.btn:hover {
  color: #333;
  text-decoration: none;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn:disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

/* County Buttons (Butoane Judete) - EXACT Wayback Machine Style */
.btn-judete {
  width: 100% !important;
  text-align: left;
  margin-bottom: 5px;
  color: #FC0 !important;
  background-color: #000 !important;
  padding: 10px 15px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  border: none;
  display: block;
  font-weight: normal;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-judete:hover {
  width: 100% !important;
  text-align: left;
  margin-bottom: 5px;
  color: #000 !important;
  background-color: #FC0 !important;
  text-decoration: none;
}

.btn-judete a {
  color: #FC0 !important;
  text-decoration: none;
  display: block;
  width: 100%;
}

.btn-judete a:hover {
  color: #000 !important;
  text-decoration: none;
}

/* 2-Column Grid for County Buttons */
.jlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  column-gap: 4px;
  row-gap: 4px;
}

.jlist > li {
  display: block;
  margin-bottom: 0;
  width: 100%;
}

.jlist > li > a.btn-judete {
  margin: 0;
}

/* Container & Grid */
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

.row {
  margin-right: -15px;
  margin-left: -15px;
}

.row:after,
.row:before {
  display: table;
  content: " ";
}

.row:after {
  clear: both;
}

.col-md-5,
.col-md-7,
.col-sm-12,
.col-xs-6,
.col-sm-6,
.col-lg-4 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-6 {
  width: 50%;
  float: left;
}

.col-sm-6 {
  float: left;
}

.col-sm-12 {
  width: 100%;
  float: left;
}

.col-md-5 {
  width: 41.66666667%;
  float: left;
}

.col-md-7 {
  width: 58.33333333%;
  float: left;
}

.col-lg-4 {
  width: 33.33333333%;
  float: left;
}

@media (max-width: 767px) {
  .hidden-sm,
  .hidden-xs {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .col-sm-6,
  .col-sm-12 {
    width: 100%;
  }
}

@media (max-width: 1199px) {
  .col-md-5,
  .col-md-7 {
    width: 100%;
  }
}

/* Navbar */
.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 20px;
  border: 1px solid #e5e5e5;
}

.navbar-default {
  background-color: #f8f8f8;
  border-color: #e7e7e7;
}

.navbar-default .navbar-brand {
  color: #777;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #5e5e5e;
  background-color: transparent;
}

.navbar-default .navbar-nav > li > a {
  color: #777;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #333;
  background-color: transparent;
}

.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
  color: #555;
  background-color: #e7e7e7;
}

.nav {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav > li {
  position: relative;
  display: block;
}

.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}

.navbar-header {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-collapse {
  max-height: 340px;
  padding-right: 15px;
  padding-left: 15px;
  overflow-x: visible;
  border-top: 1px solid #e7e7e7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar-toggle {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.navbar-toggle:focus {
  outline: 0;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #888;
  border-radius: 1px;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

/* Jumbotron */
.jumbotron {
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  color: inherit;
  background-color: #eeeeee;
}

.jumbotron h1 {
  color: inherit;
}

.jumbotron p {
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 200;
}

.container .jumbotron {
  border-radius: 6px;
  padding-left: 15px;
  padding-right: 15px;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text {
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Lists */
.jlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jlist > li {
  display: block;
  margin-bottom: 8px;
}

/* Main Container */
.main-container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.left {
  margin-bottom: 60px !important;
}

/* Responsive */
@media (max-width: 767px) {
  .navbar-collapse {
    margin: -15px -15px 0;
  }

  .navbar-collapse.collapse {
    display: none;
  }

  .navbar-collapse.collapse.in {
    display: block;
  }

  .navbar-toggle {
    display: block;
  }

  .col-xs-6 {
    width: 50%;
  }
}
