﻿body {
  margin-top: 65px;
  background-color: #fff;
}

a,
.btn-link {
    color: rgb(67, 142, 185);
}

q {
}
    q::before {
        content: "“";
    }
    q::after {
        content: "”";
    }

.btn-primary {
    background-color: rgb(67, 142, 185);
}

.nice-box {
    border-radius: 10px;
    box-shadow: inset 0 3px 18px -2px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border: 1px solid #e3e3e3;
    margin: 20px auto;
}

.nice-box .h2 {
    color: #8cc63f;
}

.navbar-light {
  background-color: rgb(67, 142, 185);
}

.navbar-light .navbar-brand,
.navbar-light .navbar-brand:hover {
    color: #fff;
}

.navbar-light .logo {
    transform: translateY(3px);
    height: 30px;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav > li > a {
    color: #f2f2f2;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav > li > a:hover {
    color: #fff;
}

.navbar-light .navbar-nav > .open > a, .navbar-light .navbar-nav > .open > a:hover, .navbar-light .navbar-nav > .open > a:focus {
    background: #64b4e2;
    color: #fff;
}

.nav-item.dropdown.open .dropdown-menu {
    display: block;
}

.navbar-header {
  position: relative;
  top: -4px;
}
.navbar-brand > .icon-banner {
  position: relative;
  top: -2px;
  display: inline;
}
.icon {
  position: relative;
  top: -10px;
}
.logged-out iframe {
  display: none;
  width: 0;
  height: 0;
}

.body-content {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.page-header {
    margin-top: 0;
}

.login-alt {
    position: relative;
    text-align: center;
    width: 100%;
}
    .login-alt > .border {
        border: none !important;
    }
    .login-alt > .border > .or {
        background: #fff;
        line-height: 1em;
        padding: 0 0.5em;
        position: relative;
        top: -0.25em;
    }
    .login-alt > .border > hr {
        position: absolute;
        margin: 0;
        top: 0.5em;
        width: 100%;
    }

.login-page {
    max-width: 500px;
}

.app-links {
    margin: 30px 0 20px;
}

.app-link {
    display: flex;
    flex-direction: column;
    float: left;
    width: 125px;
    height: 125px;
    align-items: center;
    color: #666666;
    font-weight: bold;
}

.app-link:hover {
    text-decoration: none;
}

.app-link--icon {
    display: flex;
    width: 100px;
    height: 100px;
    align-items: center;
    justify-content: center;
    border: 1px solid #F2F2F2;
    border-radius: 10px;
    margin-bottom: 5px;
    background-image: linear-gradient(#f5f5f5, #f2f2f2);
    box-shadow:
            inset 0 1px 1px #fff,
            0 2px 2px rgba(0, 0, 0, 0.2);
}

.app-link--icon svg {
    height: 50px;
    fill: #666;
}

.app-link.cleanroom .app-link--icon {
    background-image: linear-gradient(#66bee2, #1f9aa7); 
    border-color: #61bbde;
    box-shadow:
            inset 0 1px 1px #88e2ff,
            0 2px 2px rgba(0, 0, 0, 0.3);
}

.app-link.cleanroom:hover .app-link--icon {
    background-image: linear-gradient(#66bee2, #26adbb); 
}

.app-link.cleanroom:active .app-link--icon {
    box-shadow: inset 0 3px 10px #4aa8bf, 0 2px 2px rgba(0, 0, 0, 0.3);
}

.app-link.cleanroom .app-link--icon svg {
    fill: #f7fdff;
}

.app-link.ratelocker .app-link--icon {
    background-image: linear-gradient(#50d486, #389e62);
    border-color: #5cc587;
    box-shadow: inset 0 1px 1px #7af3ac, 0 2px 2px rgba(0, 0, 0, 0.3);
}

.app-link.ratelocker:hover .app-link--icon {
    background-image: linear-gradient(#50d486, #48b776);
}

.app-link.ratelocker:active .app-link--icon {
    box-shadow: inset 0 3px 10px #32b569, 0 2px 2px rgba(0, 0, 0, 0.3); 
}

.app-link.ratelocker .app-link--icon svg {
    fill: #f7fdff;
}

validation-summary {
    max-width: 700px;
    margin: 20px auto;
}

.page-size {
    max-width: 700px;
}

.navbar {
    padding-left: 10px;
    padding-right: 10px;
}

.page-size .control-label {
    font-weight: normal;
}

.add-v-padding {
    padding: 0 50px;
}

.button-strip {
    border-top: 1px solid #e5e5e5;
    background: #f5f5f5;
    padding: 20px 0;
}

.button-strip .button-strip-content {
    padding: 0 20px;
    text-align: right;
}

.button-strip .button-strip-content-flex {
    display: flex;
    flex-direction: row-reverse;
    padding-right: 20px;
}

.button-strip .button-strip-content-flex .btn {
    margin-left: 0.5em;
}

.quoted-emphasis {
    font-weight: bold;
    font-style: italic;
    text-transform: capitalize;
}
    .quoted-emphasis::before {
        content: "“";
    }
    .quoted-emphasis::after {
        content: "”";
    }

.sub-heading {
    font-size: 1.4em;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.sub-heading .fa-user,
.sub-heading .fa-lock {
    width: 0.6em;
    height: 0.6em;
    transform: translateY(-1px);
}

.copywrite-notice {
    margin-top: 10px;
}

.nav-dropdown-button {
    line-height: 1em !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.nav-dropdown-button small {
    display: block;
}

.nav--app-icon svg {
    width: 11px;
    transform: translate(-6px, 2px); 
    fill: #666;
}

.logged-out-timer {
    font-size: 0;
}

.logged-out-timer::after {
    content: '5';
    font-size: 14px;
    animation: final-count-down 5s ease-in forwards,
               pulsate 1.2s alternate infinite 5s ease-in-out;
}

.logged-out-rocket {
    display: inline-block;
    animation: byebye 5s ease-in forwards;
}

.logged-out-rocket .fa-plane {
    width: 1em;
}

.logged-out-rocket .fa-plane path {
    fill: var(--gray-dark);
}

@keyframes pulsate {
    from {
        opacity: 1;
    }
    
    50% {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}

@keyframes final-count-down {
    0% {
        opacity: 1;
        content: '5';
    }
    
    10% {
        opacity: 0;
    }

    20% {
        opacity: 1;
        content: '4';
    }

    30% {
        opacity: 0;
    }

    40% {
        opacity: 1;
        content: '3';
    }

    50% {
        opacity: 0;
    }

    60% {
        opacity: 1;
        content: '2';
    }

    70% {
        opacity: 0;
    }
    
    80% {
        content: '1';
        opacity: 1;
    }
    
    90% {
        opacity: 0;
    }

    100% {
        content: '0';
    }
}

@keyframes byebye {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    to {
        transform: translateX(100px) scale(0.5);
        opacity: 0;
    }
}
