body {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
    color: #777;
}

a {
    color: #cd1d1f;
}

a:hover, a:active {
    color: #9a1f24;
}

a:focus {
    color: #9a1f24;
    outline: 0 none;
}

nav {
    max-width: 500px;
    padding: 0 15px 0 15px;
    margin: 0 auto 8px;
    display: block;
    overflow: hidden;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    list-style-type: none;
    padding: 0 0 0 15px;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {   
    border-color: rgba(215, 40, 40, 0.9);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(215, 40, 40, 0.3);
    outline: 0 none;
}

.logo {
    display: block;
    margin: 0 auto 20px auto;
}

.no-underline:hover, .no-underline:active, .no-underline:focus {
    text-decoration: none;
}

.no-shorts {
    text-align: center;
}

.btn-primary {
    background-color: #cd1d1f;
    border-color: #c7312e;
}

.btn-primary:hover {
    background-color: #9a1f24;
    border-color: #74161b;
}

.btn-primary:focus {
    background-color: #9a1f24;
    border-color: #74161b;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(215, 40, 40, 0.3);
    outline: 0 none;
}

.form-signin {
    max-width: 500px;
    padding: 19px 29px 29px;
    margin: 0 auto 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
       -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.form-signin .form-signin-heading {
    margin-bottom: 10px;
}

.form-signin input[type="text"] {
    font-size: 16px;
    height: auto;
    margin-bottom: 15px;
    padding: 7px 9px;
}

h2.form-signin-heading {
    font-size: 20px;
    text-align: center;
    padding-bottom: 15px;
}

.control-label {
    font-size: 14px;
}

label.col-sm-12.control-label {
    text-align: center;
    margin-top: -15px;
}

label.col-sm-12.control-label.confirm {
    font-weight: normal;
}

.text-ellipsis {
    max-width: 450px;
    overflow: hidden;
}

.pinch-url {
    overflow: hidden;
    text-wrap: nowrap;
    display: block;
    max-width: 450px;
    text-overflow: ellipsis;
}