/*******************************************
 AWAG.css overwrite 開始
********************************************/
/* TODO: 口座情報 card 縦配列となった場合の高さ調整　　  デフォルト  height:  19px;  */
.mdl-textfield__output {
	border: none;
	border-bottom: 1px solid white;
	display: block;
	font-size: 1rem;
	font-family: "Helvetica", "Arial", sans-serif;
	margin: 0;
	padding: 4px 0;
	width: 100%;
	background: 0 0;
	text-align: left;
	color: inherit;
	height: auto;
}

/* TODO: card 部の背景色　デフォルト　background-color: #e3f2fd;　*/
.card-title {
    background-color: #2979AF;
    color: rgba(255, 255, 255, 0);
}

/* TODO: card 部のフォントサイズ　　デフォルト　16px　color なし　*/
.card-title-text {
    font-size: 1.2rem;
    color: #ebe5e5;
}

/* TODO?: テキスト部のフォントサイズ、色　
        デフォルト　color: #d50000;　font-size: 12px;　margin-top: 3px;　
*/
.awag-textfield__error {
	color: #d50000;
	position: absolute;
	font-size: 12px;
	margin-top: 3px;
	display: block;
}

.align-bottom {
	bottom: 20px;
	position: absolute;
}

/**
 認可画面表示
 mdlのCSSが画面幅に合わせてスタイルを切り替えてくるので、認可画面をそれに合うように修正
  企業情報と画像が縦ならびになる境界は639pxに指定
*/
.awag-api-info {
	margin-top: 40px;
}

.awag-api-info dl {
	display: block;
	margin: 0;
	vertical-align: top;
}

.awag-api-info dl dt {
	font-size: medium;
	margin-bottom: 10px;
    background-color: #2979AF;
    color: #ffffff;
    font-weight: normal;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
	padding: 5px 5px 5px 10px;
}

.awag-api-info dl dd {
    font-size: medium;
    margin-bottom: 20px;
	padding: 10px 15px 0 20px;
}

.awag-logo {
	position: relative;
	margin-top: 40px;
	float: right;
	display: block;
}

.awag-logo dl dt {
    font-size: medium;
    font-weight: normal;
    margin-bottom: 10px;
    background-color: #2979AF;
    color: #ffffff;
    padding: 5px 5px 5px 10px;
}

.awag-logo dl dd {
    font-size: medium;
    margin-bottom: 20px;
    padding: 10px 15px 0 20px;
    text-align: center;
}

.awag-logo img {
	position: relative;
	display: block;
	width: 250px;
    height: 100px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

.awag-terms dl dt {
    font-size: medium;
    font-weight: normal;
    margin-bottom: 10px;
    color: #ffffff;
    background-color: #2979AF;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
	padding: 5px 5px 5px 10px;
}

.awag-terms dl dd {
	font-size: small;
}

@media screen and (min-width: 840px) {
    .awag-api-info {
        margin: 0;
    }
    .awag-logo {
        margin-top: 0;
    }
    .awag-terms {
        margin: 0;
        width: calc(100% - 32px);
    }
}

@media screen and (min-width: 679px) {
	.awag-api-info {
	    margin-left: 0;
		position: relative;
		float: left;
		display: block;
        width: calc(50% - 16px);
		padding: 0 30px 0 0;
		border-right: 3px dotted #eee;
		vertical-align: top;
	}
	.awag-api-info dl {
		display: block;
		margin: 0;
		vertical-align: top;
	}
	.awag-api-info dl dt {
        font-size: large;
        font-weight: normal;
        margin-bottom: 10px;
        background-color: #2979AF;
        color: #ffffff;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
		padding: 5px 5px 5px 10px;
	}
	.awag-api-info dl dd {
        font-size: medium;
        margin-bottom: 20px;
		padding: 10px 15px 0 20px;
	}
	.awag-logo {
		float: right;
		display: block;
		padding: 0 10px 10px 40px;
        width: calc(50% - 16px);
	}
    .awag-logo dl dt {
        font-size: large;
        font-weight: normal;
        margin-bottom: 10px;
        background-color: #2979AF;
        color: #ffffff;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
		padding: 5px 5px 5px 10px;
	}
	 .awag-logo dl dd {
      font-size: medium;
      margin-bottom: 20px;
      padding: 10px 15px 0 20px;
      text-align: center;
  }
	.awag-logo img {
		width: 250px;
        height: 100px;
	}
	.awag-terms {
        margin: 0;
        width: calc(100% - 32px);
    }
    
    .awag-terms dl dt {
        font-size: large;
        font-weight: normal;
        margin-bottom: 10px;
        color: #ffffff;
        background-color: #2979AF;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
        padding: 5px 5px 5px 10px;
    }

    .awag-terms dl dd {
        font-size: small;
	}
}

/**
パスワード再設定へのリンク
*/
.awag-pwd-reset a {
	cursor: pointer;
}

.mdl-mega-footer {
    color: #4f4f4f;
}

.mdl-mega-footer__link-list {
    color: #4f4f4f;
}

.mdl-mega-footer__link-list li{
    font-size:1rem;
}

.mdl-logo{
    margin-bottom: 16px;
    color: #4f4f4f;
    font-size: 1rem;}

.mdl-card__title{
    padding: 10px 0px 10px 20px;
}

.account-text{
    padding: 20px 0px 0px 12px;
}
.account-text-inner{
    padding: 0px 0px 0px 0px;
}
.user-text{
    padding: 0px 0px 0px 12px;
    margin-bottom:20px
}

/**
テーブル内のフォント
*/
.mdl-data-table{
    border-collapse: collapse;
    table-layout: fixed;}
.mdl-data-table th{
    font-size:0.8rem;
}
.mdl-data-table td{
    font-size:0.8rem;
}

/**
アプリケーションの停止のページネーション
*/
.container{
    left: 0;
    right: 0;
    bottom: 30px;
    font-family: 'Roboto', sans-serif;
    margin-left: 0px;
    }

.pagination{
    font-size: 1rem;
    margin-bottom: 0px;
    align-content: left;
}
.pagination span{
    height: 30px;
    width: 30px;
    color: rgba(0,0,0,.5);
    transition: color 2s;
    cursor: pointer;
    display: inline-block;
    line-height: 30px;
    text-align: center;
    margin-left: 5px;
    margin-right: 5px;
}
.pagination span[active]{
    background: #2979AF;
    border-radius: 50%;
    color: white;
    text-align: center;
}
.pagination span[active]:hover{
    color: white;   
}
.pagination span:hover{
    color: rgba(0,0,0,1);
    transition: color 2s;
}
.pagination span:first-child{
    margin-left: 10px;
}
.pagination span:last-child{
    margin-right: 10px;
}

.mdl-layout {
    overflow: visible;
}
.mdl-layout__drawer {
    position: fixed;
}
.mdl-layout__content {
    display: block;
    overflow: visible;
    margin-top: 64px;
}
.is-small-screen .mdl-layout__content {
    margin-top: 56px;
}
.mdl-layout__header {
    position: fixed;
}
.mdl-layout__obfuscator {
    position: fixed;
}

.mdl-data-table td{
    padding-top: 6px;
    padding-bottom:  6px;
}
.mdl-expansion {
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    box-sizing: border-box;
}
.mdl-expansion__summary {
    padding-left: 24px;
    padding-right: 24px;
    height: 48px;
    display: flex;
    outline: none;
}  
    
.mdl-expansion__summary::after {
    font-family: 'Material Icons';
    content: '\e313';
    font-size: 24px;
    font-weight: normal;
    font-style: normal;
    display: inline-flex;
    flex-direction: column;
    user-select: none;
    justify-content: center;
    margin-left: auto;
    color: rgba(0, 0, 0, .38);
}

.mdl-expansion__summary::-webkit-details-marker {
    display: none;
}

.mdl-expansion__header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 500;
    flex-basis: 60%;
    margin-right: 16px;
}
    
.mdl-expansion__subheader {
    font-size: .75rem;
    color: rgba(0, 0, 0, .54);
}
    
.mdl-expansion__secondary-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    flex-basis: 30%;
    color: rgba(0, 0, 0, .87);
    margin-right: 16px;
}
  
.mdl-expansion__content {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    
}
    
.mdl-expansion[open] .mdl-expansion__summary::after {
    transform: scaleY(-1);
}

.error{
    margin-left: 20px;
}

/* .material-icons{
    vertical-align: middle;
} */

/*　AWAG標準のエラー枠では重なりが生じる場合があるため、付加するマージン枠*/
.awag-error-spacer{
    padding:16px
}

@media screen and ( min-width:760px )
{
    .awag-error-spacer{
    padding:8px 
    }
}

/* AWAG標準のWEB認識は1024だが1024でMenuバーがでて(240px)縮むので考慮を行い4の倍数にあわせ1280pxで調整*/
@media screen and ( min-width:1280px )
{
    .awag-error-spacer{
    padding:0    
    }
}

/* software keyboard表示のため、入力フィールドのサイズを変更するためMDLから継承したクラスを定義 */
.mdl-textfield__input.mdl-textfield-with-sw-keyboard {
	display: inline-block;
	width: calc(100% - 54px);
}

.material-icons.material-icons-with-sw-keyboard {
	font-size: 48px;
}

.mdl-textfield.mdl-textfield-with-sw-keyboard-textfield.is-focused .mdl-textfield__label.mdl-textfield-with-sw-keyboard_label:after{
	width: calc(100% - 54px);
}

/* 下線(太線)を表示するため、MDLから継承したクラスを定義 */
.mdl-card__actions.mdl-card--border.mdl-card--border--bottomline{
	border-bottom: 1px solid rgba(0,0,0,.1);
}

/* テーブルの横幅を画面内に固定 */
.mdl-data-table.mdl-shadow--2dp.mdl-data-table--fixwidth{
    width: calc(100% - 16px);
}

/* テーブル内の文字列を改行 */
.mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric--break_word{
	white-space: normal;
	word-wrap: break-word;
	padding: 10px;
}
.mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric--break_all{
    white-space: normal;
    word-break : break-all;
    padding: 10px;
}

/* output表示部分の改行 */
.mdl-cell.mdl-cell--break_word{
    word-wrap: break-word;	
}
.modal-body.modal-body--break_word{
    word-wrap: break-word;  	
}

/* フッターを最下部に配置するため、mainHTMLの高さを固定 */
#mainHTML{
	min-height: calc(100vh - 296.8px);
	/* 上部エラーメッセージ表示時、フッターが浮かないようにする。 */
    margin-top: 8px;
    /* Firefoxで表示したときにフッターが浮かないようにする。 */
    margin-bottom: 8px;
}

/*-----------------------------------------------*/
/*アコーディオンメニューの定義*/
.accordion_container {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    box-sizing: border-box;

}
/*アコーディオンメニューのヘッダー定義*/
.accrodion-menu-expansion_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 500;
    flex-basis: 60%;
    margin-right: 16px;
}
.accordion_container label {
    border-radius: 5px;
    cursor :pointer;
    padding-left: 24px;
    padding-right: 24px;
    height: 48px;
    display: flex;
    outline: none;

}
.accordion_container label:after {
    font-family: 'Material Icons';
    content: '\e313';
    padding-right: 5px;
    font-size: 24px;
    font-weight: normal;
    font-style: normal;
    display: inline-flex;
    flex-direction: column;
    user-select: none;
    justify-content: center;
    margin-left: auto;
    color: rgba(0, 0, 0, .38);
}
/*アイコンの切替*/
.accordion_container input:checked ~ label:after {
    font-family: 'Material Icons';
    content: '\e316';
}
/*チェックボックスを消す*/
.accordion_container input {
    display: none;
}
/*コンテンツを非表示にする*/
.accordion_container .accordion_expand {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}
/*コンテンツを表示する*/
.accordion_container input:checked ~ .accordion_expand {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}