html, body {
    background-color: #fff;
    color: #636b6f;
    font-weight: 100;
    height: 100vh;
    margin: 0;
    background-image: url('/storage/img/welcome-bg.jpg');
    background-size: cover;
    background-position: center;
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.absolute-center {
    position: absolute;
    margin: 0 auto;
    width: 100%;
}

.absolute-center > * {
    display: table;
    margin: 0 auto;
}

.position-ref {
    position: relative;
}

.top-right {
    position: absolute;
    right: 30px;
    top: 18px;
}

.top-right > ul > li {
    background-color: #AF1B33;
    text-decoration: none;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-right: 6px;
    text-transform: uppercase;
}

.top-right > ul > li > a {
    color: #fff;
    padding: 10px 15px;
}

.top-right a:hover, .top-right a:focus, .top-right .open>a, .top-right a:hover, .top-right .open>a:hover {
    background-color: transparent !important;
}

.block-wrapper {
    bottom: 100px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 550px;
    width: 90%;
}

.block {
    color: #444242;
    text-transform: uppercase;
    font-weight: 900;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 8px 14px 16px 14px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.block-subtitle {
    background-color: #AF1B33;
    color: #fff;
    padding: 10px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    text-transform: uppercase;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.block h1 {
    font-weight: 900;
}

@media screen and (min-width: 768px) {
    .block h1 {
        font-size: 42px;
    }
}

/* login menu */
#login-dp {
    min-width: 350px;
    padding: 14px 14px 0;
    overflow:hidden;
    background-color: #504F51;
    border-color: #504F51;
    color: #fff;
    margin-top: 18px;
}
#login-dp a {
    color: #fff;
}
#login-dp .help-block {
    font-size:12px
}
#login-dp .bottom {
    background-color:rgba(255,255,255,.8);
    border-top:1px solid #ddd;
    clear:both;
    padding:14px;
}
#login-dp .social-buttons {
    margin:12px 0
}
#login-dp .social-buttons a {
    width: 49%;
}
#login-dp .form-group {
    margin-bottom: 10px;
}
#login-dp form {
    margin-top: 10px;
}
@media(max-width:768px) {
    #login-dp {
        background-color: inherit;
        color: #fff;
    }
    #login-dp .bottom {
        background-color: inherit;
        border-top:0 none;
    }
}

/* arrow on dropdown menu */
.dropdown.open:before {
    position: absolute;
    bottom: -21px;
    left: 0;
    display: inline-block;
    border-right: 37px solid transparent;
    border-bottom: 17px solid #504F51;
    border-left: 37px solid transparent;
    content: '';
}

.dropdown.open:after {
    position: absolute;
    bottom: -20px;
    left: 1px;
    display: inline-block;
    border-right: 36px solid transparent;
    border-bottom: 16px solid #504F51;
    border-left: 36px solid transparent;
    content: '';
}

/* bootstrap overrides */

.navbar-right {
    float: right!important;
    margin-right: -15px;
}

.navbar-nav {
    float: left;
    margin: 0;
}

.navbar-nav>li {
    float: left;
}

.nav>li>a {
    font-size: 14px;
}

.navbar-right .dropdown-menu {
    right: 0;
    left: auto;
}

@media (max-width: 767px) {
    #login-dp {
        background-color: #504F51;
    }
    .navbar-nav .open .dropdown-menu {
        position: absolute;
        float: inherit;
    }
}

@media (max-width: 500px) {
    #login-dp {
        background-color: #504F51;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: right;
    }

    .navbar-nav>li {
        float: right;
    }

    .top-right {
        right: 0;
        z-index: 2;
    }
    .dropdown.open:before, .dropdown.open:after {
        display: none;
    }
}

.form-control, output {
    font-size: 18px;
    line-height: 18px;
}

/* bigger input placeholder */
input, input::-webkit-input-placeholder {
    font-size: 18px;
    line-height: 20px;
}