
.cst-layer-bg {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.8s;
    -webkit-transition: opacity 0.8s;
    z-index: 9999998;
}
.cst-layer-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -400px;
    opacity: 0;
    transition: opacity 0.8s;
    -webkit-transition: opacity 0.8s;
    z-index: 9999999;
    background-color: #f9f9f9;
    border: 2px solid #a1a1a1;
    width: 800px;
}
.cst-layer-wrap * {
    color: #000;
}
.cst-layer-bg.on {
    opacity: 0.8;
}
.cst-layer-wrap.on {
    opacity: 1;
}
.cst-layer-bg.off,
.cst-layer-wrap.off {
    opacity: 0;
}
.cst-layer-box {
    margin: 40px 40px 50px 40px;
}
.cst-layer-row {
    margin-top: 15px;
    text-align: left;
}
.evt-auth-row.tit {
    text-align: center;
}
.evt-auth-row.tit > span {
    display:inline-block;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    border-bottom: 2px solid #6e9663;
}
.cst-layer-row.cst-layer-buttons-box {
    margin-top: 25px;
    text-align: center;
}
.cst-close {
    position: absolute;
    right: 0px;
    top: -45px;
    font-size: 4rem;
    font-weight: 100;
    color: #fff;
    text-decoration: none;
}
.cst-close:hover {
    color: #fff;
}
.cst-layer-row input[type=text],
.cst-layer-row input[type=tel],
.cst-layer-row input[type=number] {
    font-size: 20px !important;
    color: #666 !important;
    display: flex !important;
    height: 49px !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    width: calc( 100% ) !important;
    outline: none !important;
    background-color: #fff !important;
}
.cst-layer-row textarea {
    font-size: 20px !important;
    color: #666 !important;
    display: flex !important;
    height: 175px !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    width: calc( 100% ) !important;
    background-color: #fff !important;
    resize: none;
}
.cst-layer-row button[type=submit] {
    display: inline-block !important;
    border: 0;
    background-color: #6e9663;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 60px;
    border-radius: 30px !important;
    overflow: hidden;
}
.cst-layer-row ::-webkit-input-placeholder { /* Edge */
  color: #CCC;
}

.cst-layer-row :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #CCC;
}

.cst-layer-row ::placeholder {
  color: #CCC;
}
.cst-layer-col-left {
    float: left;
    width: 49%;
}
.cst-layer-col-right {
    float: right;
    width: 49%;
}

.btn-accentprime,
.btn-consumers,
.btn-doctors {
    cursor: pointer;
}


@media screen and (max-width:982px) {

    .cst-layer-wrap {
        left: 20px;
        right: 20px;
        margin-left: 0;
        width: auto;
    }

}
@media screen and (max-width:600px) {

    .cst-layer-col-left {
        width: 100%;
    }
    .cst-layer-col-right {
        float: left;
        width: 100%;
    }
    .cst-layer-col-right > .cst-layer-row {
        margin-top: 15px !important;
    }
	.evt-auth-row.tit > span {
    
    font-size: 23px;
    font-weight: 500;
    line-height: 1.2;
    border-bottom: 2px solid #6e9663;
    }
	
	.cst-layer-row button[type=submit] {
    display: inline-block !important;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 46px;
	}


.cst-layer-row textarea {
    font-size: 18px !important;
    color: #666 !important;
    display: flex !important;
    height: 145px !important;

}

}
@media screen and (max-width:450px) {
    .cst-layer-box {
        margin: 20px 20px 30px 20px;
    }
    .evt-auth-row.tit {
        font-size: 26px;
    }
    .cst-layer-row.ipts {
        margin-top: 20px !important;
    }
    .cst-layer-row input[type=text],
    .cst-layer-row input[type=tel],
    .cst-layer-row input[type=number] {
        font-size: 18px !important;
        height: 41px !important;
        padding: 0 10px !important;
    }
    .cst-layer-row textarea {
        font-size: 18px !important;
        padding: 10px 10px !important;
    }
    .cst-layer-row button[type=submit] {
        font-size: 20px;
        width: 200px;
        height: 50px;
    }


}
