
.chatblock2 {
    position: fixed;
    bottom: 45px;
    left: 45px;
    width: 74px;
    height: 236px;
    z-index: 99999;
    transition: all ease .3s;
    font-family: "Open Sans", sans-serif;
}
.chatblock2.close {
    height: 74px;
}


.chatblock2.active {
    background-color: rgba(255, 255, 255, 0.5);
}



.chatblock {
    position: fixed;
    bottom: 45px;
    width: 230px;
    height: 236px;
    left: -250px;
    z-index: 999999;
    transition: all ease .3s;
    display: flex;
    font-family: "Open Sans", sans-serif;
}

.chatblock__close {
    content: '';
    display: block;
    right: -10px;
    top: -10px;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    border-radius: 25px;
    background-repeat: no-repeat;
    background-image: url(../images/close_chat2desk.png);
    background-position: center;
    background-size: 70%;
    cursor: pointer;
}

.chatblock label {
    font-size: 12px;
    font-family: "Open Sans", sans-serif;
}

.chatblock label a {
    color: #000;
    font-size: 12px;
    font-family: "Open Sans", sans-serif;
    text-decoration: underline;
}

.chatblock form {
    background-color: #fff;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    transition: all ease .3s;
    box-shadow: 0px 5px 25px rgb(0 0 0 / 15%);
    font-family: "Open Sans", sans-serif;
}
.chatblock.active {
    left: 130px;
}
.chatblock.active form {
    display: flex;
}
.chatblock.active form input[type="text"] {
    width: calc(100% - 10px);
    height: 40px;
    padding-left: 10px;
    box-shadow: 0 0 2px;
    border-radius: 5px;
    border: none;
    font-family: "Open Sans", sans-serif;
}
.chatblock form > *:not(:last-child) {
    margin-bottom: 8px;
    font-family: "Open Sans", sans-serif;
}



.chatblock form button {
    width: 100%;    
    border: none;
    outline: none;
    padding: 10px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;  
    background-color: #41B4E6;
    color: #fff;
    font-family: "Open Sans", sans-serif;
}


.chatblock form input[type="checkbox"] {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
}

.chatblock.active form input[type="text"].error {
    border:1px solid red;
}
.chatblock.active form input[type="checkbox"].error {
    border:1px solid red;
    box-shadow: 0 0 3px red;
}



@media screen and (max-width: 1024px) {
    .chatblock {
        bottom: 0;
    }
    .chatblock.active {
        left: 75px;
        height: 230px;
    }
    .chatblock2 {
        bottom: 0;
        left: 0;
        width: 64px;
        height: 215px;
    }
}
