html,
body {
    height: 100%;
    background-color: #000;
    color: #fff;
    font-family: 'Muli', sans-serif;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 20px 15px 20px;
}

.container-fluid {
    margin: 0 60px;
    padding: 20px 0;
}

h1 {
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    line-height: 24px;
    float: left;
}

.gallery {
    background: url('/images/BKG.png') no-repeat center 100px #181a1d;
    min-height: 900px;
    padding: 40px;
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    grid-row-gap: 50px;
    grid-column-gap: 30px;
}

.gallery .image {
    height: 390px;
    background-color: #0e0f10;
    text-align: center;
    padding-top: 45px;
    box-sizing: border-box;
    border: 1px solid black;
    cursor: pointer;
    position: relative;
}

.gallery .image:hover, .gallery .image.active {
    border: 1px solid #24b3e8;
    background-color: #0e0f10;
}

.gallery .image.active .check {
    background: url('/images/check_on.png');
}

.gallery .image.active .name {
    color: #24b3e8;
}

.gallery .image img {
    max-width: 340px;
    max-height: 250px;
}

.gallery .image .name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    display: block;
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.check {
    width: 30px;
    height: 30px;
    background: url('/images/check_off.png');
    position: absolute;
    top: 10px;
    right: 10px;
}

.signature {
    float: right;
    margin-top: 20px;
}

footer {
    height: 80px;
    box-sizing: border-box;
    padding-top: 25px;
    padding-bottom: 25px;
    position: fixed;
    bottom: 0px;
    background-color: #000;
    width: 100%;
}

footer .pull-left {
    margin-left: 60px;
}

footer .pull-right {
    margin-right: 60px;
}

a.phone {
    padding-left: 35px;
    height: 27px;
    display: inline-block;
    background: url('/images/telephone.png') no-repeat left center;
    margin-left: 30px;
    margin-right: 30px;
}

a.email {
    padding-left: 35px;
    height: 27px;
    display: inline-block;
    background: url('/images/at.png') no-repeat left center;
}

.btn-send {
    border-radius: 20px;
    background-color: #24b3e8;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    width: 240px;
    height: 40px;
    display: block;
    text-align: center;
    line-height: 40px;
    border: none;
    cursor: pointer;
}

.btn-send:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-send:hover:not(:disabled) {
    text-decoration: none;
    color: #ffffff;
    background-color: #337ab7;
}

.gallery .alert {
    height: 50px;
    text-align: center;
    align-self: center;
    justify-self: center;
    width: 550px;
    max-width: 100%;
}

input[type=password], input[type=text], input[type=email] {
    background-color: #9b9b9b;
    border:none;
}

.gallery.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.preview {
    width: 500px;
    max-width: 100%;
    text-align: center;
    position: absolute;
}

.preview img {
    border-radius: 4px;
    -webkit-box-shadow: 6px 10px 22px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 6px 10px 22px 0px rgba(0,0,0,0.75);
    box-shadow: 6px 10px 22px 0px rgba(0,0,0,0.75);
    max-width:400px;
}

.preview .form-group {
    margin: 50px 0;
}

.preview .btn-send {
    margin: auto
}

.help-block {
    font-weight: bold;
    font-size: 16px;
}

.has-error .help-block {
    color: red;
}

.site-error {
    margin-top: 250px;
    text-align: center;
}

.site-error h1 {
    float: none;
    margin-bottom: 50px;
}

.site-error .alert {
    display: none;
}