/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 5rem;
    padding-bottom: 20px;
    background-color: #eee;
    overflow-x: hidden;
    /* font: 15px/23px 'Open Sans', Segoe UI, Arial, sans-serif; */
    font-family: 'Open Sans', Segoe UI, Arial, sans-serif;
}

pre {
    max-width: 100%;
    white-space: pre-wrap;
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: #f6f8fa;
    border-radius: 3px;
    margin: 5px 0;
}

iframe.form-control {
    user-select: none;
    background-color: #ddd;
    height: 165px;
}

a {
    color: #4174c5;
}

.btn {
    cursor: pointer;
}

.center {
    display: block;
    margin: 0 auto;
}

.container {
    min-height: calc(100vh - 310px);
    position: relative;
}
.container .row {
    margin-bottom: 2rem;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    background: #28435d;
}
.navbar-toggleable-md .navbar-collapse {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    width: 100%;
}
.navbar-nav {
    flex-direction: row;
}

.form-stack input:first-of-type {
    margin-bottom: -1px !important;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-stack input:last-of-type {
    margin-bottom: 0.5rem !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.alert {
    transition: 0.5s opacity;
}
.alert.hidden {
    opacity: 0;
}
.nav-user {
    color: rgba(255, 255, 255, 0.75);
    align-self: center;
    margin-right: 30px;
}
.visitor .nav-user {
    color: #eac148;
}
.visitor {
    height: 100%;
}
.visitor body {
    background-color: #2b425a;
    padding-top: 0px;
    height: 100%;
    color: white;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3c6e89+0,2c425a+100 */
    background: #3c6e89; /* Old browsers */
    background: -moz-linear-gradient(top, #3c6e89 0%, #2c425a 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #3c6e89 0%, #2c425a 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #3c6e89 0%, #2c425a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3c6e89', endColorstr='#2c425a',GradientType=0 ); /* IE6-9 */
    background-attachment: fixed;
}
.visitor h2 {
    font-weight: 800;
}
.visitor header {
    background-color: #325272 !important;
}
.visitor header > a {
    width: 960px;
    height: 176px;
    padding-top: 10px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(https://boroughs.org/img/logos/PSAB_Logo.png);
    background-position: center;
    max-width: 100%;
    display: block;
}
.visitor header .title {
    font-size: 0px;
    text-transform: uppercase;
    color: #cab46d;
    font-family: helvetica;
    margin-top: 66px;
    margin-bottom: -30px;
    letter-spacing: 4px;
    width: 773px;
    float: right;
    text-shadow: 0px 3px 5px rgba(51, 49, 49, 1);
    font-weight: 700;
}
.visitor header img {
    display: none;
}

.visitor nav {
    padding: 0 5em;
    /* margin-bottom: 2em; */
    border-top: 3px solid #dcb145;
    border-bottom: 1px solid #dee0e5;
    box-shadow: none;
    background: #f2f4f9;
}

.visitor .nav-user {
    cursor: default;
}
.visitor nav .navbar-nav .nav-link {
    color: #eac148;
}
.visitor .nav-user,
.visitor nav .navbar-nav .nav-link {
    color: #3e474c;
    font-size: 17px;
    padding: 19px 20px;
}
.visitor body {
    color: #3e474c;
    background: #f2f4f9;
}
.visitor #visitor-message-container > h2 {
    color: #3e474c;
    margin: 0px -9999rem;
    padding: 1.68rem 10000rem;
    /* margin-top: -64px; */
    margin-bottom: 20px;
    background: #fff;
}
.visitor .btn {
    background: #325272;
    border: none;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 20px;
    font-size: 13px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    transition: background 0.3s, color 0.2s, border 0.3s;
    -webkit-transition: background 0.3s, color 0.2s, border 0.3s;
    -moz-transition: background 0.3s, color 0.2s, border 0.3s;
    padding: 10px 20px;
}

.visitor footer {
    background: #28435d;
    border-top: 3px solid #dcb145;
    margin: -100px -9999rem;
    padding: 1.35rem 9999rem;
    position: absolute;
    bottom: 0;
    color: #808ca4;
}
.visitor input {
    margin-bottom: 1rem !important;
}

#list-webinar-container .list-group-item > a,
#list-webinar-container .list-group-item > span,
#list-webinar-container .list-group-item .item-group__pending > span {
    display: flex;
    flex: 1;
    color: #014c8c;
}
#list-webinar-container .list-group-item abbr {
    margin: 0 0px 0 5px;
}

#list-webinar-container .btn {
    cursor: pointer;
    background: transparent;
}
#list-webinar-container .btn.btn-delete:hover {
    color: red;
}
#list-webinar-container .btn:hover {
    background-color: #eee;
}
#list-webinar-container .btn.disabled {
    color: rgba(0, 0, 0, 0.25);
    cursor: not-allowed;
}
#list-webinar-container .btn.disabled:hover {
    color: rgba(0, 0, 0, 0.25);
    background-color: transparent;
}

.item-group {
    flex: 1;
}

#deprecation-alert {
    text-align: center;
    color: red;
    margin-bottom: 2rem;
}

#login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 700px) {
    .visitor header > a {
        background: none;
        display: flex;
        padding: 20px;
    }
    .visitor header img {
        display: block;
        max-width: 45%;
    }
    .visitor header .title {
        font-size: 19px;
        float: none;
        flex: 2;
        margin: auto;
    }
    .visitor nav {
        padding: 0 0em;
    }
    .navbar-nav {
        flex-direction: column;
        flex: 1;
    }
    .visitor .nav-user {
        margin: 0;
    }
    .visitor nav .navbar-nav .nav-link {
        text-align: center;
    }
    #login-container h2 {
        margin: -50px -2rem 30px -2rem;
        padding: 1.68rem 1rem;
    }
    #login-container form {
        padding: 0 2rem;
    }
    #login-container p {
        font-size: 12px;
    }
    .visitor footer {
        padding: 1.35rem 10003rem;
        position: static;
        margin-top: 0;
    }
}
