.calcpaint {
    display: inline-block;
    vertical-align: middle;
    margin: 8px;
}

.calcpaint-button {
    display: flex;
    align-items: center;
    color: #2983b1;
}

.calcpaint span {
    color: #000;
    text-transform: none;
	font-weight: bold;
}

.calcpaint span:hover {
    text-decoration: underline;
}

.calcpaint svg {
    margin-right: 10px;
    color: #000;
}


/* from agency */
.count-paint-popup {
    position: fixed;
    right: 0;
    top:50%;
    transform: translateY(-50%) translateX(100%);;
    font-family: inherit;
    max-width:300px;
    box-shadow: -5px 5px 15px rgba(0,0,0,.1);
    /*display: none;*/
    z-index:10000;
    background: #fff;
    transition: all .3s linear;
}
.count-paint-popup p {
	line-height: 1;
}
.count-paint-popup.active {
   /*display: initial;*/
    transform: translateY(-50%) translateX(0);
}

@media screen and (max-width:500px) {
    .count-paint-popup {
        max-width: 100%;
        width:100%;
        height:100%;
        display: flex;
        align-items:center;
        justify-content: center;
    }
}

.count-paint-popup__content {
    padding:50px;
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    /*position: relative;*/
}

@media screen and (max-width:500px) {
    .count-paint-popup__content {
        padding:10px;
    }
}

.count-paint-popup__form {
    display: flex;
    flex-direction: column;   
}

.count-paint-popup__form input::placeholder {
    font-size: 12px;
        
}

.count-paint-popup__title {
    color: #4c4c4d; 
    font-size: 19px;
    font-weight:500;
    text-align: center;
    margin-bottom: 30px;
}

.count-paint-popup__form label {
    color: #4c4c4d; 
    margin-bottom:5px;
    font-size:14px;
}

.count-paint-popup__form input {
    color: #4c4c4d;    ;
    border:1px solid #eee;
    padding:10px;
    font-size:16px;
    margin-bottom: 20px;
}

.count-paint-popup__form input:focus,
.count-paint-popup__form input:focus-visible{
    border-color:#0184b5;
}

.count-paint-popup__second-title {
    color: #4c4c4d; 
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
	font-weight: bold;
}

.count-paint-popup__summary,
.count-paint-popup__summary p {
    display: flex;
    justify-content: center;
    gap: 5px;
    color: #0184b5;
    font-size: 16px;
    transition: 0.5s;
    cursor: pointer;
	margin: 0;
}

.count-paint-popup__summary:hover {
    color: #006990;
}

.how-much-paint-submit {
    color: #fff !important;
    background: #2f2f2e;
    border-radius: 5px;
    padding: 15px 5px;
    margin-top:20px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-size:14px;
    font-weight:400;
    cursor: pointer;
    transition: 1s;
}

.how-much-paint-submit:hover {
    background: #0184b5;
}

.open-count-paint-btn {
    cursor: pointer;
}

.count-paint-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9999;
}

.close-cross {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

@media screen and (max-width:500px) {
    .close-cros {
        right: 40px;
        top: 40px;
    }

}


.count-paint-layer.active {
    display: block;
}


.count-of-layers {
    display: flex;
    margin-top:10px;
    justify-content: center;
    font-size: 13px;
}
.count-of-layers p {
	margin-bottom: 0;
}

.how-much-layers {
    padding: 0 4px;
}