/* 
 * Ořezaný Bootstrap jen pro potřeby formuláře Contact Form 11
 * Neobsahuje tagy body, h1-h6 atd., aby nepřepisoval styl vašeho webu.
 */

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }

.col-md-6, .col-md-10, .col-md-12, .col-lg-4, .col-lg-7 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
}

.ml-auto { margin-left: auto !important; }
.mb-4, .my-4 { margin-bottom: 1.5rem !important; }
.mb-5, .my-5 { margin-bottom: 3rem !important; }
@media (min-width: 992px) { 
  .mb-lg-0, .my-lg-0 { margin-bottom: 0 !important; } 
}

.pr-5, .px-5 { padding-right: 3rem !important; }
.py-2, .py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.px-4, .px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.my-6 {margin-top: 20px;}
.rounded-0 { border-radius: 6px !important; }

.form-group {
  margin-bottom: 1rem;
}

/* === Úpravy Colorlib Contact Form 11 podřízené vašemu webu === */

.form-control {
  display: block;
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--footer-border);
  padding: 0;
  border-radius: 0;
  color: var(--text);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-control:not(textarea) {
  height: 55px;
}

textarea.form-control {
  padding-top: 20px;
  resize: vertical;
}

.form-control:active, 
.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--accent);
}

.form-control::placeholder {
  color: var(--text);
  opacity: 0.5;
}

form.border-right {
  border-right: 1px solid var(--footer-border);
  padding-right: 4rem;
  margin-bottom: 3rem;
}

@media (max-width: 991.98px) {
  form.border-right {
    border-right: none !important;
    padding-right: 0 !important;
  }
}

.btn-primary {
  height: 55px;
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 10px 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s background ease;
  width: auto;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
}