.counter-box {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}
.med-error {
    border-right: 3px solid #e60024;
    padding: 12px 16px;
    margin: 15px 0 30px 0;
    font-family: 'IRANSansX', serif !important;
    font-size: 13px;
    background: #f8f8f8;
}
.med-login-info {
    border-right: 3px solid #6d5dfc;
    padding: 12px 16px;
    margin: 15px 0 30px 0;
    font-family: 'IRANSansX', serif !important;
    font-size: 13px !important;
    background: #f8f8f8;
}
.med-login-info > label {
    font-size: 13px !important;
}
.med-rp-counter {
    width: 200px;
    text-align: center;
    margin: 16px auto !important;
}
.med-rp-counter > .tiles,
.med-rp-counter > .labels {
    width: 100%;
    text-align: center;
}
.med-rp-counter > .labels {
    margin: 4px 0;
    padding: 0;
}
.med-rp-counter > .tiles > span,
.med-rp-counter > .labels > span {
    display: inline-block !important;
    text-align: center !important;
    box-sizing: border-box !important;
    width: 50px !important;
}

/* style for forms [start] */
.med-form-container {
    max-width: 100% !important;
    width: 375px;
    font-family: 'IRANSansX', serif !important;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
}
.med-form-container .form-group > label,
.med-athenticate-gp > label {
    display: block;
    font-family: 'IRANSansX', serif !important;
    font-size: 14px;
    margin-bottom: 8px;
    width: 100%;
}
.med-form-container .form-group > input {
    display: block;
    font-family: 'IRANSansX', serif !important;
    font-size: 14px;
    padding: 12px 18px !important;
    border: 1px solid #eaeaea;
    width: 100%;
    box-sizing: border-box;
    margin:0 !important;
}
.med-authenticate-form-container .authenticate-field-username{
    border: 0;
    outline: 0;
}
.med-authenticate-gp {
    direction: ltr;
    text-align: center;
    margin: auto
}
.med-authenticate-box label {
    display: block;
    font-family: 'IRANSansX', serif !important;
    font-size: 14px;
    margin-bottom: 8px;
    width: 100%;
}
.med-authenticate-gp .med-input {
    width: 64px;
    height: 64px;
    display: inline-block;
    font-size: 14px;
    border: 1px solid #c9c9c9;
    box-sizing: border-box;
    padding: 4px;
    text-align: center;
}
.med-form-container input[type='submit'] {
    padding: 12px 16px;
    border: none;
    background: #5770ad;
    width: 100%;
    box-sizing: border-box;
    font-family: 'IRANSansX', serif !important;
    outline: none;
    cursor: pointer;
    transition: all 0.5s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
}
.med-form-container input[type='submit']:hover {
    filter: brightness(85%);
    color: #fff;
}
.med-form-container input[type='submit']:active {
    filter: brightness(70%);
    color: #fff;
}
.med-form-container .edit-button {
    padding: 12px 16px;
    border: 2px solid #5770ad;
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: 'IRANSansX', serif !important;
    outline: none;
    cursor: pointer;
    transition: all 0.5s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    font-weight: 500;
    color: #5770ad;
    text-align: center;
    line-height: 20px;
    margin-top: 8px;
    text-decoration: none;
}
.med-form-container .edit-button:hover {
    text-decoration: none;
    filter: brightness(90%);
}
.med-form-container .edit-button:active {
    filter: brightness(70%);
}
p.form-group {
    max-width: 100%;
    margin: 0 0 16px 0;
}
.med-form-container .form-group .necessary {
    margin: 0 4px;
    color: #ff5858;
    font-size: 16px;
}
.med-readonly-input {
    border: 0;
    text-align: left;
    width: 100%;
    min-height: 24px;
    font-size: 14px;
    font-weight: 100;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
    font-family: 'IRANSansX', serif;
    background: inherit;
}
.med-readonly-input:active,
.med-readonly-input:focus {
    border: 0;
    outline: 0;
}
.med-form-container .signup-submit,
.med-form-container .login-submit,
#med_registerpress_resetpassword_button {
    margin-top: 1rem;
}
.med-form-container .g-recaptcha {
    margin-top: 1rem;
    max-width: 100% !important;
}
.med-header {
    margin-bottom: 1.5rem;
}
.med-rp-lightbox {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba( 0, 0, 0, 70% );
    z-index: 999;
    padding: 30px;
}
.med-rp-lightbox > .inner-box {
    width: 720px;
    max-width: 100% !important;
    background: #fff;
    margin: auto;
    padding: 30px;
    position: relative;
    top: 175px;
    z-index: 999;
}
.med-rp-lightbox > .inner-box .field-box {
    margin: 15px 0;
}
.med-rp-lightbox > .inner-box .field-box > input[type=text] {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
}
.med-rp-lightbox > .inner-box .field-box > input[type=submit] {
    padding: 12px 16px;
    border: none;
    background: #5770ad;
    width: 100%;
    box-sizing: border-box;
    font-family: 'IRANSansX', serif !important;
    outline: none;
    cursor: pointer;
    transition: all 0.5s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
}
.med-rp-lightbox > .inner-box .field-box > input[type=submit]:hover {
    filter: brightness(85%);
    color: #fff;
}

/*responsive*/
@media only screen and ( max-width: 1200px ) {
    .med-rp-lightbox > .inner-box {
        top: 150px;
    }
}
@media only screen and ( max-width: 992px ) {
    .med-rp-lightbox > .inner-box {
        top: 75px;
    }
}
@media only screen and ( max-width: 767px ) {
    .med-rp-lightbox > .inner-box {
        top: 60px;
    }
    .med-authenticate-gp .med-input {
        width: 50px;
        height: 50px;
    }
}
@media only screen and ( max-width: 540px ) {
    .med-form-container .g-recaptcha {
        overflow: scroll;
    }
    .med-rp-lightbox > .inner-box {
        top: 30px;
    }
}