.login {
    width: 100%;
    height: auto;
    margin-bottom: 50px;
}

.loginHeader {
    background: #04639b;
    padding: 15px 20px;
    border-bottom: 4px solid #063e5f;
}

.loginHeaderError {
	background: #d62c2c;
	border-bottom: 4px solid #81090a;
	padding: 15px 20px;
}

.loginTitle {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin: 5px 0;
    position: relative;
    padding-left: 26px;
}

.loginTitle img {
    margin-right: 10px;
}

.loginTitle::before {
    content: "";
    background: url(../images/login-lock.png) no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: -3px;
    width: 16px;
    height: 20px;
}

.loginSubtitle {
    font-size: 14px;
    color: #fff;
}

.contactBody {
    background: #f2f2f2;
    padding: 27px 0 0;
    border-top: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.contactDiv {
    max-width: 580px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.formId {
    color: #343434;
    line-height: 1.2;
    margin-bottom: 15px;
    display: block;
}

.formId .upper {
    font-size: 14px;
    display: block;
    margin-left: 6px;
}

.formId .lower {
    font-size: 11px;
}

.formGroup {
    margin-bottom: 34px;
}

.formInput {
    width: 100%;
    height: auto;
    border: none;
    background: #fff;
    border-bottom: 2px solid #909090;
    font-size: 20px;
    padding: 7px 13px;
    box-sizing: border-box;
    color: #000;
}

.formInput:focus {
    outline: none;
    border-bottom: 2px solid #0177bf;
}

.firstUser {
    float: left;
}

.forgotPass {
    float: right;
}

.firstUser a,
.forgotPass a {
    color: #343434;
    font-size: 14px;
    font-weight: bold;
    display: block;
    text-decoration: none;
}

.firstUser a:hover,
.forgotPass a:hover {
    text-decoration: underline;
}

.btnSubmit {
    float: right;
    width: 100%;
    display: block;
    padding: 15px 0;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 7px;
    background: #1a84c5;
    border: none;
    cursor: pointer;
    background: -moz-linear-gradient(top, #1a84c5 0%, #1a84c5 46%, #0076be 48%, #0076be 92%, #04598c 94%, #04598c 100%);
    background: -webkit-linear-gradient(top, #1a84c5 0%,#1a84c5 46%,#0076be 48%,#0076be 92%,#04598c 94%,#04598c 100%);
    background: linear-gradient(to bottom, #1a84c5 0%,#1a84c5 46%,#0076be 48%,#0076be 92%,#04598c 94%,#04598c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a84c5', endColorstr='#04598c',GradientType=0 );
    box-sizing: border-box;
}

.btnSubmit:hover {
    opacity: .8;
}

.errorHeader .loginFooter {
    width: 100%;
    height: auto;
    padding: 22px 0;
    background: #cbcbcb;
	border-bottom: 5px solid #a5a5a5;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

.loginFooter .btnSubmit {
   	max-width: 580px;
	width: 100%;
	height: auto;
	margin: 0 auto;
	float: none;
}

.loginFooter {
	margin-top: 40px;
	padding: 25px 0;
    background: #cbcbcb;
    border-bottom: 5px solid #a5a5a5;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.mb10 {
	margin-bottom: 10px !important;
}

.loginHeaderError {
	display: none;
}

@media (max-width: 600px) {

    .loginForm,
    .errorHeader .loginFooter .btnSubmit {
        width: 100%;
    }
	
	.contactDiv {
		width: 90%;
		margin: 0 auto;
	}
}

@media (max-width: 375px) {

    .userType {
        margin-bottom: 0;
    }

    .firstUser {
        margin-bottom: 15px;
    }

    .firstUser {
    	float: left;
    }
    .forgotPass {
        float: right;
    }

    .firstUser a, .forgotPass a {
    	font-size: 12px;
    }
}

.wpcf7-form label {
    font-size: 14px;
    display: block;
    margin-left: 6px;
    color: #343434;
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form textarea {
    width: 100%;
    height: auto;
    margin: 15px 0 34px;
    border: none;
    background: #fff;
    border-bottom: 2px solid #909090;
    font-size: 20px;
    padding: 7px 13px;
    box-sizing: border-box;
    color: #000;
}

.wpcf7-form input[type=text]:focus,
.wpcf7-form input[type=email]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-bottom: 2px solid #0177bf;
} 


.wpcf7-form input[type=submit] {
    width: 100%;
    display: block;
    padding: 15px 0;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 7px;
    background: #1a84c5;
    border: none;
    cursor: pointer;
    background: -moz-linear-gradient(top, #1a84c5 0%, #1a84c5 46%, #0076be 48%, #0076be 92%, #04598c 94%, #04598c 100%);
    background: -webkit-linear-gradient(top, #1a84c5 0%,#1a84c5 46%,#0076be 48%,#0076be 92%,#04598c 94%,#04598c 100%);
    background: linear-gradient(to bottom, #1a84c5 0%,#1a84c5 46%,#0076be 48%,#0076be 92%,#04598c 94%,#04598c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a84c5', endColorstr='#04598c',GradientType=0 );
    box-sizing: border-box;
}

span.wpcf7-not-valid-tip {
    color: #f00;
    font-size: 1em;
    display: block;
    float: right;
    margin-top: -29px;
}

/* Modal Styles */
.modalBackdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: #000;
    opacity: .5;
    filter: opacity(50);
}

.modalContact {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1010;
}

.modalContent {
    position: relative;
    max-width: 500px;
    margin: 30px auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0 0 .3rem .3rem;
}

.modalHeader {
    padding: 15px;
    border-bottom: 1px solid #eceeef;
    display: flex;
    justify-content: space-between;
}

.modalHeader h5 {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 20px;
    font-weight: bold;
}

.modalClose {
    cursor: pointer;
    border: 0;
    background: 0 0;
    -webkit-appearance: none;
    font-family: sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    filter: opacity(50);
}

.modalClose:hover,
.modalClose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.75;
    filter: opacity(75);
}

.modalBody {
    padding: 15px;
    border-bottom: 4px solid #1d84c3;
}

.modalBody p {
    text-align: center;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

.fade.show {
    opacity: 1;
}

.modalContact.fade .modalContent {
    -webkit-transition: -webkit-transform .5s ease-out;
    transition: -webkit-transform .5s ease-out;
    -o-transition: -o-transform .5s ease-out;
    transition: all .5s ease-out;
    -webkit-transform: translate(0,-25%);
    -o-transform: translate(0,-25%);
}

.modalContact.show .modalContent {
    -webkit-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}

.error .modalBody {
    border-color: #c11313;
}

.error .modalHeader h5 {
    color: #c11313;
}

.success .modalBody {
    border-color: #1d84c3;
}

.success .modalHeader h5 {
    color: #1b85c6;
}

.wpcf7-validation-errors,
.ajax-loader,
.wpcf7-mail-sent-ok {
    display: none !important;
}

span.wpcf7-not-valid-tip {
    font-size: 12px;
}

.contactTxtBlock p {
    font-size: 14px;
    color: #343434;
    text-align: center;
    margin-bottom: 10px;
}

.contactTxtBlock {
    text-align: center;
}
.wpcf7-form input,
.wpcf7-form textarea {
    font-family: Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}