@charset "UTF-8";
.pivcac-reader {
    color: #424242;
}
.row-federated {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    margin: -5px 0 10px
}

.row-federated h4 {
    -ms-flex-positive: 0;
    flex-grow: 0;
    flex: 1;
    /*width: 100%;*/
/*     margin-left: calc(25% - 10px); */
    padding: 5px 10px;
    margin: 0;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.3;
    white-space: normal;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}


.row-federated .partner-button, .row-federated .partner-button div:first-child {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    /* width: calc(100% - 30px) */
/*     width: calc(25% -10px); */
    min-width: 50px;
    min-height: 50px;
    /*min-height: 100px;*/
/*     max-height: 50px;     */
/*     margin: 15px */
}

.row-federated .btn-block {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: calc(100% - 10px);
    padding: 0;
    margin: 10px
}

@media screen and (min-width:400px) {
    .row-federated .btn-block {
        max-width: calc(50% - 20px)
    }
}

@media screen and (min-width:600px) {
    .row-federated .btn-block {
        max-width: calc(25% - 20px);
        flex-direction: row;
    }
}

@media screen and (min-width:992px) {
    .row-federated .btn-block {
        max-width: calc(20% - 20px);
        flex-direction: row;
    }
}

.login-header {
	margin-top: -30px;
	margin-bottom: 0px;
	padding: 0px;
}


.login-banner div:first-child {
    padding: 10px 0;
}

.login-banner * {

    max-width: 50em;
}

.login-banner.alert {
	margin-bottom: 0px;
	padding: 0px;
	border: 0px;
}

/* Fixes to make upstream error pages mesh with the rest of the design */
a.btn.btn-submit {
	color: #fff;
	background-color: #317ab9;
	border-color: #2c6da5;
	margin-top: 15px;
}

/* PIV and un/pw box alignment */
#piv-box .login-form {
    position: relative;
    height: calc(100% - 49px); /*100% minus margin and padding of the well*/
}
#piv-box a.btn {
    position: absolute;
    bottom: 32px; /*height and margin of change password link*/
}
@media screen and (max-width: 767px) {
    #piv-box .login-form {
        position: static !important;
    }
    #piv-box a.btn {
        position: static !important;
    }
}

#serviceui div.row div.col-xs-12 p {
	margin-bottom: 0px;
}

.row-piv>div[class^=col-]>:only-child {
	margin: auto auto 15px;
	width: auto;
}

.row-piv picture img {
	width: auto;
}

#servicelogo img {
	max-width: 100%;
}

.initially-hidden {
    display: none;
  }

.serviceui-inner {
    display:flex; align-items: center;
  }

.row-federated > form {
    display: contents;
}

.serviceui-row {
    display: flex; align-items: center;
}

.healthcheck-table {
    width: 800px;
}