﻿body,
html {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
}

.layout-grid {
    display: grid;
    height: 100vh;
    grid-template-rows: 64px 1fr;
    grid-template-columns: 100%;
}

.layout-header {
    background: transparent linear-gradient(90deg, #235ba8 0%, #00a9e1 100%) 0% 0% no-repeat padding-box;
    grid-template-columns: 80px 1fr 80px;
    grid-template-rows: 1fr;
    color: #ffffff;
    padding: 0 16px;
    display: flex;
    align-items: center;
    font: 500 20px/32px Roboto, "Open Sans", sans-serif;
    letter-spacing: normal;
    white-space: nowrap;
    color: #ffffff;
    box-sizing: border-box;
}

.layout-body {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 15px;
    background-color: #f6f6f6;
}

.grid-center-lg {
    display: grid;
    grid-template-columns: 1fr 80% 1fr;
}

.grid-center-md {
    display: grid;
    grid-template-columns: 1fr 50% 1fr;
}

.grid-panel {
    background-color: white;
    padding: 1% 10% 8% 10%;
    border-radius: 5px;
    box-shadow: 0 0.5rem 1rem -0.5rem rgba(0,0,0,.25);
}

.panel-head-center {
    text-align: center;
    margin-bottom: 25px;
}

.panel-actions-center {
    text-align: center;
    margin-top: 25px;
}

.visits-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px;
    grid-auto-rows: 100px;
    grid-row-gap: 12px;
    margin-top: 12px;
}

.visit-panel {
    background-color: white;
    /*padding: 1% 10% 8% 10%;*/
    padding-bottom: 5px;
    border-radius: 5px;
    box-shadow: 0 0.5rem 1rem -0.5rem rgba(0,0,0,.25);
    height: 100%;
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    align-items: center;
}

.visit-heading {
    font-size: 18px;
    font-weight: 700;
}

.visit-info {
    font-size: 15px;
    color: #7f7f7f;
}

.nav-tabs {
    font-size: 18px;
}

    .nav-tabs > li > a {
        color: #1a406b;
        background-color: white;
        border: 1px solid #f2f2f2;
    }

        .nav-tabs > li > a:hover {
            color: #1a406b;
            border: 1px solid #1a406b;
            background-color: #ccc;
        }

    .nav-tabs > li.active > a {
        background-color: #1a406b !important;
        color: white !important;
    }

.date-icon {
    display: grid;
    grid-template-rows: 20px 1fr;
    border: 1px solid #1a406b;
    border-radius: 5px;
    justify-items: center;
    justify-self: center;
    min-width: 70px;
}

    .date-icon > .month {
        background-color: #1a406b;
        color: white;
        width: 100%;
        text-align: center;
    }

    .date-icon > .day {
        height: 50px;
        font-size: 20px;
        padding-top: 8px;
    }
/*BUTTONS AND LABELS*/
.control-label {
    color: #7f7f7f !important;
    text-transform: uppercase !important;
}

.btn-orn {
	background-color: #61BAD3;
	color: white;
}

	.btn-orn:hover {
		background-color: #A9DAE9;
		color: white;
	}

.btn-visits {
    background-color: pink !important;
    min-width: 100px;
}

.btn-visit-active {
    text-decoration: none;
    background-color: #1a406b;
    color: white;
    border-radius: 5px;
    border: 1px solid #1a406b;
    min-width: 150px;
    padding: 10px 15px;
    display: inline-block;
}

.login-page {
    margin-top: 100px;
    display: grid;
    grid-template-columns: 1fr 350px 1fr;
}

.login-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    background-color: #f2f2f2;
    /* box-shadow: 0px 5px 5px #ccc; */
    border-radius: 5px;
    border-top: 1px solid #e9e9e9;
}

.login-title {
    font-size: 24px;
    color: #000000DE;
}

.login-sub-title {
    font-size: 16px;
    color: #00000099;
    margin: 16px 0 32px 0;
}


.login-input {
    height: 48px;
}

.login-remember {
    margin-top: 4px;
}

.remember-username {
    font-weight: normal;
}

.login-header {
    text-align: center;
}

    .login-header img {
        width: 300px;
        margin-bottom: 50px;
    }

.inputss {
    margin: 0 7px 20px;
}

.button-row {
    margin: 7px;
}

.externals {
    margin-left: 52px;
    margin-bottom: 20px;
    padding-right: 52px;
}

.login-button {
    background-color: #235ba8;
    color: #ffffff;
    font-size: 16px;
    border-radius: 24px;
    height: 48px;
    margin: 30px 0;
}

.login-button:hover,
.login-button:active:focus {
    color: #ffffff;
    outline: unset;
}

.login-button:active,
.login-button:focus {
    color: #ffffff;
    background-color: #163969;
    outline: unset;
}


.btn-blue {
    background-color: #1a406b;
    color: white;
    font-size: 20px;
}

#btn-signup {
    margin-top: 15px;
    font-size: 20px;
}

#error-message {
    display: none;
}



.google-login-btn {
    background: url('btn_google_signin_dark_normal_web2x.png') no-repeat;
    background-size: 255px 61px;
    width: 255px;
    height: 61px;
    display: block;
}

    .google-login-btn:hover {
        background: url('btn_google_signin_dark_focus_web2x.png') no-repeat;
        background-size: 255px 61px;
        width: 255px;
        height: 61px;
        display: block;
    }

a.google-login-btn {
    position: relative;
    margin: 0 auto;
}

/*end custom*/

.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: '';
        }

.dl-horizontal dt{
    width: 300px !important;
    margin-right: 15px;
}