/* SECTIONS */

.section {
    padding-top: 2rem;
/*    padding-bottom: 100px;*/
}

.background {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
}

@media (min-width:768px) {
    .section {
        padding-top: 6.5rem;
    }

    .background {
        display: block;
    }
}



/* FORMS */

.title {
    margin-bottom: 1.5rem;
}

.title .title-icon {
    font-size: 1.2em;
}

.form-container {
    width: 100%;
    max-width: 20rem;
}

fieldset:disabled {
    opacity: 0.5;
}

.spinner {
    display: none;
}

form.sending .spinner {
    display: inline-block;
}



/* ALERTS */

.alert {
    font-size: 0.875em;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0.625rem;
}

.alert-dismissible .close {
    font-size: 1.5em;
    color: inherit;
}

@media (min-width:768px) {
    .alert {
        font-size: 1em;
    }
}

.dark-alert.alert-primary {
  color: #cce5ff;
  background-color: #004085;
  border-color: #002752;
}

.dark-alert.alert-primary hr {
  border-top-color: #002752;
}

.dark-alert.alert-primary .alert-link {
  color: #cce5ff;
}

.dark-alert.alert-success {
  color: #d4edda;
  background-color: #155724;
  border-color: #0b2e13;
}

.dark-alert.alert-success hr {
  border-top-color: #0b2e13;
}

.dark-alert.alert-success .alert-link {
  color: #d4edda;
}

.dark-alert.alert-info {
  color: #d1ecf1;
  background-color: #0c5460;
  border-color: #062c33;
}

.dark-alert.alert-info hr {
  border-top-color: #062c33;
}

.dark-alert.alert-info .alert-link {
  color: #d1ecf1;
}

.dark-alert.alert-warning {
  color: #fff3cd;
  background-color: #856404;
  border-color: #533f03;
}

.dark-alert.alert-warning hr {
  border-top-color: #533f03;
}

.dark-alert.alert-warning .alert-link {
  color: #fff3cd;
}

.dark-alert.alert-danger {
  color: #f8d7da;
  background-color: #721c24;
  border-color: #491217;
}

.dark-alert.alert-danger hr {
  border-top-color: #491217;
}

.dark-alert.alert-danger .alert-link {
  color: #f8d7da;
}



/* RATING */

.rating .star {
    display: inline-block;
    color: #d3d3d3;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

.rating .star i {
    font-size: 36px;
}

.rating[data-rating="0"] .star:nth-child(-n+0),
.rating[data-rating="1"] .star:nth-child(-n+1),
.rating[data-rating="2"] .star:nth-child(-n+2),
.rating[data-rating="3"] .star:nth-child(-n+3),
.rating[data-rating="4"] .star:nth-child(-n+4),
.rating[data-rating="5"] .star:nth-child(-n+5) {
    color: #dbb655;
}

.rating .value {
    font-size: 36px;
    margin-left: 8px;
}
