body {
    width: 100%;
    max-width: 1024px;
    margin: auto;
    background-color: #eee;
}

.modal-container {
    position: relative;
}

@media (min-width: 768px) {
    .modal-container {
        padding-top: 2%;
    }
    .modal-dialog {
        transform: scale(.8);
    }
}

.modal-container > * {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    display: block;
}

.logo {
    font-size: 1.5em;
    padding: 8px;
}

.logo i {
    color: #aaa;
}

.logo:hover i {
    color: inherit;
}

.logo img {
    max-width: 150px;
}

.watermark {
    position: absolute;
    opacity: .25;
    font-size: 500px;
    right: -10px;
    bottom: -130px;
    line-height: 1;
}

.modal-content {
    overflow: hidden;
}

.modal-header, .modal-body, .modal-footer {
    position: relative;
}

.form-group.img-rounded {
    position: relative;
    background-color: #fff;
}

label input {
    font-weight: normal;
}

@-webkit-keyframes rotating /* Safari and Chrome */
{
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

.alert.with-icon {
    position: relative;
    min-height: 50px;
    padding-left: 50px;
    text-align: left;
}
.alert.with-icon::before {
    position: absolute;
    left: 9px;
    top: 9px;
    width: 32px;
    height: 32px;
    line-height: 1;
    padding: 0;
    margin: 0;
    font: normal normal normal 16px/1 octicons;
    font-size: 32px;
    display: block;
    text-decoration: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
}
.alert.alert-danger.with-icon::before {
    content: '\f026';
}
.alert.alert-warning.with-icon::before {
    content: '\f02d';
}
.alert.alert-success.with-icon::before {
    content: '\f076';
}
.alert.alert-info.with-icon::before {
    content: '\f059';
}