﻿body {
  margin-top: 65px;
  background-color: #fff;
}

.twentytwelve {
    border-radius: 10px;
    box-shadow: inset 0 3px 18px -2px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border: 1px solid #e3e3e3;
}

.twentytwelve h2 {
    color: #8cc63f;
}

.navbar-default {
  background-color: rgb(67, 142, 185);
}

.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover {
    color: #fff;
}

.navbar-default .logo {
    transform: translateY(18px);
}

.navbar-default .navbar-nav > li > a {
    color: #f2f2f2;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #fff;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background: #64b4e2;
    color: #fff;
}

.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;
}
.page-consent .client-logo {
  float: left;
}
.page-consent .client-logo img {
  width: 80px;
  height: 80px;
}
.page-consent .consent-buttons {
  margin-top: 25px;
}
.page-consent .consent-form .consent-scopecheck {
  display: inline-block;
  margin-right: 5px;
}
.page-consent .consent-form .consent-description {
  margin-left: 25px;
}
.page-consent .consent-form .consent-description label {
  font-weight: normal;
}
.page-consent .consent-form .consent-remember {
  padding-left: 16px;
}
.grants .page-header {
  margin-bottom: 10px;
}
.grants .grant {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid lightgray;
}
.grants .grant img {
  width: 100px;
  height: 100px;
}
.grants .grant .clientname {
  font-size: 140%;
  font-weight: bold;
}
.grants .grant .granttype {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant .created {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant .expires {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant li {
  list-style-type: none;
  display: inline;
}
.grants .grant li:after {
  content: ', ';
}
.grants .grant li:last-child:after {
  content: '';
}

.body-content {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.page-header {
    margin-top: 0;
}

.login-page {
    max-width: 500px;
}

.app-links {
    margin: 30px 0 20px;
}

/*
.app-link {
    float: left;
    width: 125px;
    height: 125px;
    display: flex;
    text-align: center;
    border: 1px solid #F2F2F2;
    border-radius: 20px;
    padding: 15px;
    margin-right: 15px;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    background-image: linear-gradient(#9ad8fb, #60b8ea);
    
    transition: background-color 0.2s;
}

.app-link:hover {
    background-color: #f6f6f6;
    text-decoration: none;
}

.app-link svg {
    fill: #fff;
    height: 50px;
    margin-bottom: 8px;
    
    transition: fill 0.2s;
}

.app-link:hover svg {
    fill: #23527c;
}
*/

.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;
}


/*******************************
    THE ISLEY BROTHERS
*******************************/
.make-me-wanna-shout {
    max-width: 700px;
    margin: 0 auto 20px; 
}

/*******************************
    LOONEY TOONS
*******************************/
.marvin-the-martian {
    max-width: 700px;
    margin: 0 auto;
}

.marvin-the-martian .control-label {
    font-weight: normal;
}

.daffy-duck {
    padding: 0 50px;
}

.bugs-bunny {
    border-top: 1px solid #e5e5e5;
    background: #f5f5f5;
    padding: 20px 0;
}

.bugs-bunny .rabbit-season {
    padding: 0 20px;
    text-align: right;
}

.bugs-bunny .duck-season {
    display: flex;
    flex-direction: row-reverse;
    padding-right: 20px;
}

.bugs-bunny .duck-season .btn {
    margin-left: 0.5em;
}

.porky-pig {
    font-size: 1.4em;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.wiley-coyote {
    margin-top: 10px;
}

.help-me-rhonda {
    line-height: 1em !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.help-me-rhonda 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 .glyphicon {
    transform: rotate(90deg);
}

@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;
    }
}
