/*
body {
    background-color: red!important;
}
*/

.form-layout {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.form-layout .form-item-layout {
    display: flex;
}

@media screen and (max-width: 767px) {
    .form-layout .form-item-layout {
        display: block;
    }
}

.form-layout .form-item-layout label {
    width: 200px;
}

@media screen and (max-width: 767px) {
    .form-layout .form-item-layout label {
        display: block;
        width: auto;
        margin-bottom: 0.25rem;
    }
}

.form-layout .form-item-layout .form-input-layout label {
    width: auto;
}

.form-layout .form-item-layout .form-input-layout {
    width: 500px;
    margin-bottom: 15px;
}

@media screen and (max-width: 767px) {
    .form-layout .form-item-layout .form-input-layout {
        width: 100%;
    }
}

.form-layout * {
    box-sizing: border-box;
}

input[type="text"] {
    outline: none;
    font-size: inherit;
}

input[type="checkbox"] {
    display: none;
}

/*
input[type="text"]:focus {
    border: solid 1px red;
}
*/

input:focus {
    border-color: #66afe9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(57, 154, 216, 0.6);
    outline: 0 none;
}

.formrun-has-error {
    border: solid 1px #e53d41!important;
}

.formrun-system-show {
    color: #e53d41!important;
    margin-top: 0.1rem;
}

.form-input-l {
    width: 100%;
    padding: 0.85rem;
    border-radius: 0.25rem;
    border: solid 1px /*#212A41*/rgb(33 42 65 / 50%);
}

.formrun button {
    /*background: transparent;*/
    border: none;
    outline: none;
    appearance: none;
}

.form-contact-button {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    width: 300px;
    height: 55px;
    display: inline-block;
    color: white;
    line-height: 1rem;
    background: #159C4D;
    text-align: center;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.5s 0s ease;
    position: relative;
    z-index: 999;
}

.form-contact-button:hover {
    color: #159C4D;
    background: white;
    border: 1px solid #159C4D;
}

.form-align-center {
    text-align: center;
}

.form-required-item {
    background-color: #c62e24;
    color: #fff;
    padding: 0.15rem 0.5rem 0.2rem;
    font-size: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 0.25rem;
    top: -0.18rem;
    position: relative;
}

.form-agreement {
    padding: 1rem 1.2rem;
    margin-bottom: 40px;
    font-size: 0.8rem;
    background-color: rgb(33 42 65 / 10%);
}

.form-agreement .form-agreement-title {
    margin-top: 0;
    margin-bottom: 0.1rem; 
}

.form-agreement p:last-child {
    margin-bottom: 0;
}

.form-agreement a {
   color: #399ad8;
   text-decoration: none;
}

.form-agreement a:hover {
   text-decoration: underline;
}



.form-agreement-button {
    /*border: 1px solid #212a41;*/
    background-color: rgb(57 154 216 / 20%);
    margin: 0 auto;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    display: block;
}

.form-agreement-checkbox {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}



.form-agreement-checkbox:before {
    content: '';
    position: absolute;
    width: 17px;
    height: 17px;
    left: 14px;
    top: 15px;
    border: 1px solid #7b7b7b;
    background: #fff;
}

.form-agreement-checkbox:after {
    z-index: 1;
    content: '';
    position: absolute;
    top: 24px;
    left: 20px;
    display: block;
    margin-top: -8px;
    width: 5px;
    height: 11px;
    border-right: 3px solid #08b904;
    border-bottom: 3px solid #08b904;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}



.form-agreement-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    left: -26px;
    top: 16px;
    width: 17px;
    height: 17px;
    display: block;
    box-shadow : 41px 0 #fff;
    -moz-box-shadow: 41px 0 #fff;
    -webkit-box-shadow: 41px 0 #fff;
    -ms-box-shadow: 41px 0 #fff;
    -o-box-shadow: 41px 0 #fff;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    z-index: 2;
}

.form-agreement-checkbox input[type="checkbox"]:checked {
    box-shadow : none;
}

::placeholder {
  color: #bbb;
}



.form-text1 {
    text-align: center;
    margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
    .form-text1 {
        text-align: left;
    }
}

.form-text2 {
    display: none;
}
