﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

header .navbar .nav-item {
    margin-left: 0.5rem;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 105px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    padding: 10px 0;
    margin-top: 20px;
    /*line-height: 60px;*/ /* Vertically center the text there */
}

/*.footer .privacy-lnk:not(:hover) {
    color: #6c757d;
}*/

#cookieConsent {
    border-radius: 0;
    border-width: 1px 0 0 0;
    border-top-color: #e7e7e7;
    padding: inherit;
    border-radius: 0;
    bottom: 0;
    margin: 0;
    position: fixed;
    width: 100%;
    z-index: 600;
}

.privacy-content {
    font-size: 16px;
}

.navbar-header {
    position: relative;
    top: -4px;
}

.navbar-brand > .icon-banner {
    position: relative;
    top: -2px;
    display: inline;
}


.navbar .dropdown-item a.text-muted,
.navbar .dropdown-item .nav-link {
    text-decoration: none;
}

.navbar .dropdown-item:active a.text-muted {
    color: #fff !important;
}

.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: '';
        }

/*Margin and Padding helpers*/
/*xs*/
.p-0 {
    padding: 0;
}

.p-x-0 {
    padding-left: 0;
    padding-right: 0;
}


.p-y-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.p-xs {
    padding: .25em;
}

.p-x-xs {
    padding: 0 .25em;
}

.p-y-xs {
    padding: .25em 0;
}

.p-t-xs {
    padding-top: .25em;
}

.p-r-xs {
    padding-right: .25em;
}

.p-b-xs {
    padding-bottom: .25em;
}

.p-l-xs {
    padding-left: .25em;
}

.m-0 {
    margin: 0;
}

.p-x-0 {
    padding-left: 0;
    padding-right: 0;
}


.p-y-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.m-x-0 {
    margin-left: 0;
    margin-right: 0;
}


.m-y-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.m-x-auto {
    margin-left: auto;
    margin-right: auto;
}

.m-y-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.m-xs {
    margin: .25em;
}

.m-x-xs {
    margin: 0 .25em;
}

.m-y-xs {
    margin: .25em 0;
}

.m-r-xs {
    margin-right: .25em;
}

.m-l-xs {
    margin-left: .25em;
}

.m-t-xs {
    margin-top: .25em;
}

.m-b-xs {
    margin-bottom: .25em;
}
/*sm*/
@media (min-width:768px) {
    /*sm*/
    .p-sm {
        padding: .5em;
    }

    .p-x-sm {
        padding: 0 .5em;
    }

    .p-y-sm {
        padding: .5em 0;
    }

    .p-t-sm {
        padding-top: .5em;
    }

    .p-r-sm {
        padding-right: .5em;
    }

    .p-b-sm {
        padding-bottom: .5em;
    }

    .p-l-sm {
        padding-left: .5em;
    }

    .m-sm {
        margin: .5em;
    }

    .m-x-sm {
        margin: 0 .5em;
    }

    .m-y-sm {
        margin: .5em 0;
    }

    .m-t-sm {
        margin-top: .5em;
    }

    .m-r-sm {
        margin-right: .5em;
    }

    .m-b-sm {
        margin-bottom: .5em;
    }

    .m-l-sm {
        margin-left: .5em;
    }
}

/*md*/
@media (min-width: 992px) {
    .p-md {
        padding: 1em;
    }

    .p-x-md {
        padding: 0 1em;
    }

    .p-y-md {
        padding: 1em 0;
    }

    .p-t-md {
        padding-top: 1em;
    }

    .p-r-md {
        padding-right: 1em;
    }

    .p-b-md {
        padding-bottom: 1em;
    }

    .p-l-md {
        padding-left: 1em;
    }

    .m-md {
        margin: 1em;
    }

    .m-x-md {
        margin: 0 1em;
    }

    .m-y-md {
        margin: 1em 0;
    }

    .m-t-md {
        margin-top: 1em;
    }

    .m-r-md {
        margin-right: 1em;
    }

    .m-b-md {
        margin-bottom: 1em;
    }

    .m-l-md {
        margin-left: 1em;
    }
}

/*lg*/
@media (min-width: 1200px) {
    .p-lg {
        padding: 1.5em;
    }

    .p-x-lg {
        padding: 0 1.5em;
    }

    .p-y-lg {
        padding: 1.5em 0;
    }

    .p-t-lg {
        padding-top: 1.5em;
    }

    .p-r-lg {
        padding-right: 1.5em;
    }

    .p-b-lg {
        padding-bottom: 1.5em;
    }

    .p-l-lg {
        padding-left: 1.5em;
    }

    .m-lg {
        margin: 1.5em;
    }

    .m-x-lg {
        margin: 0 1.5em;
    }

    .m-y-lg {
        margin: 1.5em 0;
    }

    .m-t-lg {
        margin-top: 1.5em;
    }

    .m-r-lg {
        margin-right: 1.5em;
    }

    .m-b-lg {
        margin-bottom: 1.5em;
    }

    .m-l-lg {
        margin-left: 1.5em;
    }
}
/*xl*/
.p-xl {
    padding: 3em;
}

.p-x-xl {
    padding: 0 3em;
}

.p-y-xl {
    padding: 3em 0;
}

.p-t-xl {
    padding-top: 3em;
}

.p-r-xl {
    padding-right: 3em;
}

.p-b-xl {
    padding-bottom: 3em;
}

.p-l-xl {
    padding-left: 3em;
}

.m-xl {
    margin: 3em;
}

.m-x-xl {
    margin: 0 3em;
}

.m-y-xl {
    margin: 3em 0;
}

.m-t-xl {
    margin-top: 3em;
}

.m-r-xl {
    margin-right: 3em;
}

.m-b-xl {
    margin-bottom: 3em;
}

.m-l-xl {
    margin-left: 3em;
}


/* social-buttons  */
.social-buttons > div {
    padding: 2px;
}
.ext-login-buttons > a {
    padding: 2px;
}

.btn-csam {
    color: #fff;
    background-color: #a0a6ac;
    border-color: rgba(0,0,0,.2);
}

    .btn-csam:hover {
        color: #fff;
        background-color: #848d94;
        border-color: rgba(0,0,0,.2);
    }

    .btn-csam:active {
        color: #fff;
        background-color: #778088;
        border-color: rgba(0,0,0,.2);
    }

.icon-csam {
    background-image: url('../img/csam.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
}


.btn-azuread {
    color: #fff;
    background-color: #0086e6;
    border-color: rgba(0,0,0,.2);
}

.icon-pdlad {
    background-image: url('../img/pdl-ad-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}

.btn-pdlad {
    color: #fff;
    background-color: #CC0332;
    border-color: rgba(0,0,0,0.2)
}

    .btn-pdlad:focus, .btn-pdlad.focus {
        color: #fff;
        background-color: #CC0332;
        border-color: rgba(0,0,0,0.2)
    }

    .btn-pdlad:hover {
        color: #fff;
        background-color: #CC0332;
        border-color: rgba(0,0,0,0.2)
    }

    .btn-pdlad:active, .btn-pdlad.active, .open > .dropdown-toggle.btn-pdlad {
        color: #fff;
        background-color: #CC0332;
        border-color: rgba(0,0,0,0.2)
    }

        .btn-pdlad:active:hover, .btn-pdlad.active:hover, .open > .dropdown-toggle.btn-pdlad:hover, .btn-pdlad:active:focus, .btn-pdlad.active:focus, .open > .dropdown-toggle.btn-pdlad:focus, .btn-pdlad:active.focus, .btn-pdlad.active.focus, .open > .dropdown-toggle.btn-pdlad.focus {
            color: #fff;
            background-color: #CC0332;
            border-color: rgba(0,0,0,0.2)
        }

    .btn-pdlad:active, .btn-pdlad.active, .open > .dropdown-toggle.btn-pdlad {
        background-image: none
    }

    .btn-pdlad.disabled:hover, .btn-pdlad[disabled]:hover, fieldset[disabled] .btn-pdlad:hover, .btn-pdlad.disabled:focus, .btn-pdlad[disabled]:focus, fieldset[disabled] .btn-pdlad:focus, .btn-pdlad.disabled.focus, .btn-pdlad[disabled].focus, fieldset[disabled] .btn-pdlad.focus {
        background-color: #CC0332;
        border-color: rgba(0,0,0,0.2)
    }

    .btn-pdlad .badge {
        color: #CC0332;
        background-color: #fff
    }

.btn-azuread:hover {
    color: #fff;
    background-color: #0072c6;
    border-color: rgba(0,0,0,.2);
}

.btn-azuread:active {
    color: #fff;
    background-color: #0068b3;
    border-color: rgba(0,0,0,.2);
}


.icon-azuread {
    background-image: url('../img/azure-ad.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}

.validation-summary ul {
    list-style-type: none;
    padding: 5px;
    margin: 0;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

.nav-item-b {
    border-radius: 1.5rem;
    border: 1px solid #dee2e6;
}

.nav-item-b .nav-link {
    padding-right: .5rem;
    padding-left: .5rem;
}

.nav-item-user {
    padding: 0 0.3rem;
    color: #17a2b8;
}

.nav-item-user > a, .nav-item-user .dropdown-toggle::after {
    color: #17a2b8;
}

.nav-item-lang .dropdown-menu {
    position: absolute;
    min-width: 20px;
}


.btn-signout {
    padding: 0px;
}

.my-apps .card-body {
    min-height: 122px;
}

.my-apps .my-app-desc {
    margin-bottom: 10px;
}

.my-apps .card-img-logo {
    margin-top: 10px;
    max-width: 224px;
    height: 64px;
}

.my-app-desc b:hover {
    cursor: pointer;
}


/*.languages {
    padding: 1em;
}

.languages select {
    background-color: #333;
    color: #fff;
}

    .languages select:focus {
        box-shadow: none;
        border-color: #ccc;
    }*/

/*** twitter typeahead ***/

.twitter-typeahead {
    width: 100%;
} 

.tt-menu,
.gist {
    text-align: left;
}

/*.typeahead,*/
/*.tt-hint,*/
.tt-query {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    outline: none;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu {
    width: max-content;
    max-width: 450px;
    min-width: 305px;
    max-height: 233px;
    overflow-y: auto;
    margin: 12px 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion p {
    margin: 0;
}

.tt-suggestion:last-child {
    border-bottom: none !important;
}

.gist {
    font-size: 14px;
}

#custom-templates .empty-message {
    padding: 5px 10px;
    text-align: center;
}

#multiple-datasets .league-name {
    margin: 0 20px 5px 20px;
    padding: 3px 0;
    border-bottom: 1px solid #ccc;
}

#scrollable-dropdown-menu .tt-menu {
    max-height: 150px;
    overflow-y: auto;
}

#rtl-support .tt-menu {
    text-align: right;
}


