/* General styles
-------------------------------------------------- */

.title {
    font-size: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

input:invalid {
    color: red;
}

/* Handle BS4 feedback messages https://github.com/twbs/bootstrap/issues/23454 */
.form-group ~ .invalid-feedback {
    display: block;
    margin-top: -1rem;
}

/* .form-control-feedback {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #E74C3C;
} */

.svg-text {
    width: 1.4em;
    height: 1.4em;
    vertical-align: text-bottom;
}


/* Navbar styles
-------------------------------------------------- */
.navbar-brand {
    font-family: 'Sniglet', cursive;
}


/* Account page styles
-------------------------------------------------- */
@media (min-width: 768px) {
    .form-horizontal .form-group.row > .col-form-label {
        text-align: right;
    }
}

.row-border:before {
    content: '';
    width: 50%;
    height: 1px;
    margin-left: 25%;
    background: #eee;
    margin-bottom: 1rem;
}


/* Calendar page styles
-------------------------------------------------- */
.calendar-active {
    color: #77edb2;
}

.calendar-inactive {
    color: #ff6363;
}

.form-check {
    padding-left: 0;
}

.fc-toolbar h2 {
    font-size: 1.5rem;
}


/* Big picture page styles
-------------------------------------------------- */
body.big-picture {
    background: url('../images/sky-1920.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;

    height: 100%;
    min-height: 35rem;
    position: relative;
    margin-bottom: 0;
}

html.big-picture {
    height: 100%;
}


/* Subscriptions page styles
-------------------------------------------------- */

.calendar-url {
    word-wrap: break-word;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #eee;
    opacity: 0.7;
    z-index: 1;
}

.masthead {
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
    z-index: 2;
}

.masthead .masthead-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    min-height: 35rem;
    height: 100%;
    background-color: rgba(0, 140, 186, 0.8);
    transform: skewY(4deg);
    transform-origin: bottom right;
}

.masthead .masthead-content h1 {
    font-size: 2.5rem;
}

.masthead .masthead-content p {
    font-size: 1.2rem;
}

.masthead .masthead-content p strong {
    font-weight: 700;
}

@media (min-width: 768px) {
    .masthead {
        height: 100%;
        min-height: 0;
        width: 40.5rem;
        padding-bottom: 0;
    }
    .masthead .masthead-bg {
        min-height: 0;
        transform: skewX(-8deg);
        transform-origin: top right;
    }
    .masthead .masthead-content {
        padding-left: 3rem;
        padding-right: 10rem;
    }
    .masthead .masthead-footer {
        font-size: smaller;
        padding-left: 3.9rem;
    }
}


/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 110px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;

    /* Set the fixed height of the footer here */
    height: 80px;
    padding-top: 10px;
}


/* Sign in form styles
-------------------------------------------------- */
.form-signin-logo {
    margin-top: 20px;
}

.form-signin {
    max-width: 400px;
    padding: 19px 29px 29px;
    margin: 60px auto 20px;
    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-signup {
    max-width: 400px;
    padding: 19px 29px 29px;
    margin: 0 auto;
    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,
.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .alert {
    margin-top: 10px;
}

.form-switch {
    max-width: 400px;
    padding: 19px 29px;
    margin: 20px auto 0;
    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);
}

.forgot-password {
    float: right;
    position: relative;
    top: -15px;
}

@media (max-width: 767px) {

    /* Buttons stack vertically in mobile so move the margin to the top */
    .form-signin .btn + .btn {
        margin-left: 0;
    }
}


/* Sign up form styles
-------------------------------------------------- */

.signupflow {
    max-width: 400px;
    margin: 20px auto 0;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 2px;
    background-color: #f1f1f1;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.circle {
    /* width and height can be anything, as long as they're equal */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1.428571429;
    text-align: center;
    padding: 6px 0;
    cursor: default;
}
