body {
    background: url("../images/bg.jpg") center center no-repeat #fff;
    background-attachment: fixed;
    background-size: cover;
}

.navbar {
    background-image: none;
    background-color: rgba(240, 240, 240, 0.8);
}

.navbar-nav > li > a {
    color: #777 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.navbar-nav > .active > a {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #000 !important;
    text-shadow: 0 0 3px #777;
}

main > *:first-child {
    margin-top: 100px;
}

.panel {
    background-color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.25);
}

.panel-body {
    padding: 30px;
}

.panel-body > h1, .panel-body > h2 {
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1em 0;
    text-align: center;
}

.quote {
    margin: 30px auto;
    padding-left: 40%;

}
.quote-text {
    font-size: 22px;
    font-style: italic;
    line-height: 1.35;
    color: #555;
    text-align: right;
}
.quote-text:before {
    content: '\00ab';
}
.quote-text:after {
    content: '\00bb';
}
.quote-translation {
    font-size: 15px;
    font-style: italic;
    line-height: 1.35;
    color: #999;
    text-align: right;
}
.quote-translation:before {
    content: '(';
}
.quote-translation:after {
    content: ')';
}
.quote-author {
    margin-top: 20px;
    font-size: 22px;
    font-style: italic;
    line-height: 1.35;
    text-align: right;
    color: #555;
}
.quote-author:before {
    content: '\2015';
    display: inline-block;
    margin-right: 0.5em;
}

.slider {
    margin-bottom: 50px !important;
}

.slider li {
    text-align: center;
}

.slider a {
    display: inline-block;
    padding: 0 10px;
}

.slider a > img {
    display: inline-block;
}

.remaining {
    color: red;
}

.donation-button-block {
    margin-top: 40px;
}

.donation-modal {
    max-width: 700px;
}

button.close > span:first-child:before {
    content: "+";
    display: block;
    font-family: Arial, sans-serif;
    font-weight: normal;
    transform: rotate(45deg) scale(1.8);
}

.form-submit {
    margin-top: 30px;
    margin-bottom: 0;
}

.form-submit > input {
    margin-bottom: 0;
}

#yd-form label {
    display: block;
    font-weight: normal;
    text-align: center;
}

.donation-bank-details {
    margin: 0 auto;
    width: auto;
}

.donation-bank-details th {
    text-align: left;
    padding-right: 10px;
}

.donation-bank-details {
    margin-bottom: 30px !important;
}

.donation-bank-details + p > a {
    text-decoration: underline !important;
}

#form-donation-old-student > label {
    cursor: pointer;
}

#item-donation-old-student {
    height: auto;
    margin: 0;
}

.footer-links {
    padding: 0;
    margin: 40px auto;
    display: table;
    list-style-type: none;
}

.footer-links > li {
    display: table-cell;
    border-left: 1px solid #ddd;
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.7);
}

.footer-links > li:first-child {
    border-left: 0 none;
}

.footer-links a {
    display: inline-block;
    padding: 0;
    line-height: 1.0;

}

.social-icon:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-repeat: no-repeat;
    position: relative;
    top: 2px;
}

.social-facebook:before {
    background-image: url('../images/facebook.png');
}

.social-vk:before {
    background-image: url('../images/vk.png');
}

li.done {
    text-decoration: line-through;
}

.gallery {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: center;
}
.gallery li {
    display: inline-block;
    margin: 0 10px;
}

body:not(.finished) .final-result {
    display: none;
}

.finished .current-progress {
    display: none;
}

.finished .progress {
    display: none;
}

.finished .donation-button-block {
    display: none;
}

.finished .donation-modal-trigger {
    display: none;
}

.card-number {
    border: 0 none;
    background-color: transparent;
}
