.callinv_wrap {
    box-sizing: border-box;
    display: none;
    width: 400px;
    height: 240px;
    border: 1px solid #006fdb;
    border: 2px solid white;
    position: fixed;
    right: 20px;
    top: 20px;
    border-radius: 5px;
    background-color: #ecf5ff;
    opacity: 0;
    animation: modalShow 1s ease forwards;
    z-index: 2000;
    padding: 0 !important;
    max-width: 300px;
}

.callinv_wrap-title {
    padding: 10px 0 10px 0;
    text-align: center;
    background-color: #1071d5;
    color: #fff;
    font-weight: bold;
    position: relative;
    font-size: 18px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.callinv_wrap textarea[name="comm"] {
    border: 2px solid #0c5caa;
    min-height: 40px;
    max-height: 40px;
    margin-bottom: 0;
    width: 250px;
}

.callinv_wrap select[name="cn"] {
    width: 250px;
    margin: 7px 0;
    padding: 5px;
}

.callinv_wrap #form2 br {
    display: none;
}

.callinv_wrap-title i {
    cursor: pointer;
    position: absolute;
    right: 17px;
    top: 12px;
    font-size: 25px;
}

.callinv_wrap-descr {
    margin-top: 30px;
    padding: 0 15px 0 15px;
    text-align: center;
}

.modal-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    font-size: 13px;
}

.modal-input input {
    width: 250px;
    margin-top: 10px;
    padding: 8px 5px 8px 5px !important;
    outline: none;
    border: 2px solid #0c5caa;
    transition: 0.3s all;
}

.modal-input input:focus {
    transition: 0.3s all;
    border: 2px solid #1071d5;
}

.modal-input button {
    margin-top: 20px;
    width: 150px;
    height: 40px;
    color: #fff;
    background-color: #1071d5;
    border: none;
    cursor: pointer;
    transition: 0.3s all;
    text-transform: uppercase;
}

.modal-input button:hover {
    transition: 0.3s all;
    background-color: #0c5caa;
}

.form-text-success {
	padding: 15px 10px 15px 10px;
}

@media (max-width: 310px) {
    .callinv_wrap {
        width: 90%;
    }
}

@media (max-width: 310px) {
    .modal-input input,
    .modal-input select,
    .modal-input textarea {
        width: 90% !important;
    }
}

@keyframes modalShow {
    0% {
        opacity: 0;
        transform: translateY(-25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes modalClose {
    0% {
        opacity: 1;
        transform: translateY(0px);
    }
    100% {
        opacity: 0;
        transform: translateY(-25px);
    }
}
