/*
Theme Name: ProjectUm
Author: DV
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


#popmake-172{
	background-color: rgba(255, 255, 255, .85);	
}

@media only screen and (min-width: 1024px) {
	#popmake-172{
		width: 30% !important;	
	}
}

#popmake-172 form{
	width: 90%;
	margin: auto;
}

.wpcf7  [type='submit'], .wpcf7 [type='reset'], .wpcf7 input, .wpcf7 textarea, .wpcf7 select {
    font: inherit;
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px 20px;
    transition: all .2s;
    color: #000;
    outline: none;
    border-radius: 4px;
}


.wpcf7 .wpcf7-acceptance label {
    display: flex;
	font-size: 12px;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    width: 40px;
    padding: 0;
    margin-right: 15px;
    margin-left: -15px;
}

.wpcf7 .wpcf7-acceptance a { text-decoration: underline; }

.popmake h5{
	font-size: 22px;
	text-align: center;
	margin: 10px auto 25px !important;
}


.wpcf7  [type='submit']{
    color: #fff;
	background-color: #E95522;
}


/* оба текста занимают одно место */
.service__blocks-item-list-item-text,
.service__blocks-item-list-item-vsplyvayushhij_tekst {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* всплывающий по умолчанию скрыт */
.service__blocks-item-list-item-vsplyvayushhij_tekst {
    position: absolute;
    top: 0;
    left: 0;
	padding: 20px;
    width: 100%;
    
    opacity: 0;
    visibility: hidden;
}

/* если есть всплывающий текст — при hover */
.service__blocks-item-list-item-content:has(.service__blocks-item-list-item-vsplyvayushhij_tekst):hover 
.service__blocks-item-list-item-text {
    opacity: 0;
    visibility: hidden;
}

.service__blocks-item-list-item-content:has(.service__blocks-item-list-item-vsplyvayushhij_tekst):hover 
.service__blocks-item-list-item-vsplyvayushhij_tekst {
    opacity: 1;
    visibility: visible;
}