{
$(".result").addClass( "hidden" );
$("#myModalLabel").html('Сообщение отправлено!');
$("#cButton").removeClass( "hidden" );
$(".modal-header").addClass("text-center");
$('#name').val('');
$('#email').val('');
$('#message').val('');
$('#phone').val('');
}
$(".result").removeClass( "hidden" ); .....
wrapper .content {
margin: 69px 20px 0px 20px;
}
wrapper .content .block {
width: 292px;
float: left;
margin: 0 10px 58px 10px;
}
wrapper .content .block .inner {
top: 0;
bottom: 0;
left: 0;
right: 0;
}
wrapper .content .block .image {
width: 292px;
height: 292px;
display: flex;
justify-content: center;
align-items: center;
background: white;
}
wrapper .content .block .text {
display: flex;
flex-direction: column;
align-items: center;
width: 263px;
margin: 0 auto;
text-align: center;
}
wrapper .content .block .text h3 {
font-family: LatoBold;
font-size: 16px;
}
wrapper .content .block .text h3 span {
letter-spacing: 2px;
}
wrapper .content .block .text>span {
font-family: LatoRegular;
font-size: 14px;
line-height: 25px;
}
wrapper .content .block .inner:hover {
margin: -20px -24px -102px -24px;
z-index: 1;
border: 5px solid #d5223d;
background-color: #fff;
box-shadow: 3px 5px 20px 0.00px rgba(0, 0, 0, 0.19);
}
wrapper .content .block .inner:hover .text .button{
display: block;
}
wrapper .content .block .inner:hover .image {
margin: auto;
position: relative;
top: 15px;
}
wrapper .content .block .inner:hover .text {
margin-top: 15px;
}
wrapper .content .block .text .button{
margin-top: 31px;
width: 292px;
height: 50px;
background-color: #d5223d;
color: white;
text-decoration: none;
font-family: LatoBold;
font-size: 16px;
text-align: center;
padding-top: 15px;
box-sizing: border-box;
letter-spacing: 2px;
display: none;
}