/*
 Theme Name:   Divi Child
 Theme URI:    http://elegantthemes.com/
 Description:  Divi Child Theme
 Author:       ElegantThemes
 Author URI:   http://elegantthemes.com
 Template:     Divi
 Version:      0.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ==== Add your own styles below this line ====
 * -------------------------------------------- */
 body {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#et-top-navigation {
    font-weight: 400;
}
.under:hover {
	text-decoration:underline;
}
.et_pb_portfolio_image img {
    width: 100%; /* или установите фиксированное значение */
    height: auto; /* чтобы сохранить пропорции */
}

.et_pb_portfolio_excerpt {
    font-size: 16px;
    line-height: 22px;
    color: #000;
    text-align: center;
    padding-top: 5px;
	min-height: 50px;
}
.et_pb_portfolio_link {
    width: 200px;
    display: block;
    height: 39px;
    text-align: center;
    line-height: 39px;
    background: #7F0015;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    margin: 0 auto;
    margin-top: 15px;
}
.et_pb_portfolio_item {
    box-shadow: -7px 15px 50px 0px #EBEBEB4D;
	-webkit-box-shadow: -7px 15px 50px 0px #EBEBEB4D;
	padding-top:20px;
	padding-bottom:30px;
}
.et_portfolio_image img {
    vertical-align: bottom;
    margin-bottom: 0;
    max-height: 280px;
    object-fit: contain;
}
.et_pb_portfolio_filters ul li:first-of-type {
    display: none;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
    color: #000 !important;
    background-color: transparent;
	border-bottom: 1px solid #7F0015;
}
.et_pb_filterable_portfolio.custom .et_pb_portfolio_filter a {
    padding-left: 0;
    padding-right: 0;
    border: none;
    margin-right: 3.5rem;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
    background-color: transparent;
}
.width-30 .et_pb_contact .et_pb_contact_field_half {
    width: 33.3333%;
    float: left;
    clear: none;
}
.width-30 p.et_pb_contact_field {
    margin-bottom: 2%;
}
.width-30 .et_contact_bottom_container {
    float: left;
	width: 33.3333%;
    text-align: center;
    padding-left: 3%;
    margin-top: 0;
    display: -moz-flex;
    display: -ms-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: block;
}
.width-30 .et_pb_contact_reset, .width-30 .et_pb_contact_submit {
    font-family: inherit;
    display: inline-block;
    margin: 0 0 0 0px;
    cursor: pointer;
}
#main-header {
    line-height: 23px;
    font-weight: 400;
    top: 0;
    background-color: #fff;
    width: 100%;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.container.et_menu_container {
    z-index: 99;
    width: 90%;
}
.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: #000000;
}

#top-menu li.current-menu-ancestor>a:before, #top-menu li.current-menu-item>a:before {
	content: '';
	opacity: 1;
    display: block;
    margin: 0 auto;
    width: 69px;
    height: 2px;
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    top: 30px;
    background-color: #7F0015;
}
#top-menu-nav>ul>li>a:hover {
    opacity: 1;
}
#top-menu-nav>ul>li>a:before {
    opacity: 0;
	content: '';
    display: block;
    margin: 0 auto;
    width: 69px;
    height: 2px;
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    top: 30px;
    background-color: #7F0015;
}
#top-menu-nav>ul>li>a:hover:before {
    opacity: 1;
	content: '';
    display: block;
    margin: 0 auto;
    width: 69px;
    height: 2px;
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    top: 30px;
    background-color: #7F0015;
}
.nav li ul {
    border-top: 0px solid #2ea3f2;
}
.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: rgba(0, 0, 0, .0);
    opacity: 1;
    color: #7F0015!important;
}
.et_pb_portfolio_item:hover .et_pb_module_header a {
    text-decoration:underline;
}
.et_pb_portfolio_item:hover .et_pb_portfolio_link {
    background:#f22f2f;
}
#main-footer .footer-widget h4, #main-footer .widget_block h1, #main-footer .widget_block h2, #main-footer .widget_block h3, #main-footer .widget_block h4, #main-footer .widget_block h5, #main-footer .widget_block h6 {
        font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
        font-weight: 600;
		padding-bottom: 20px;
}
#footer-widgets .footer-widget li:before {
    display:none;
}
#footer-widgets .footer-widget li {
    padding-left: 0px;
    position: relative;
	margin-bottom: 0;
}
.footer-widget .et_pb_widget div, .footer-widget .et_pb_widget ul, .footer-widget .et_pb_widget ol, .footer-widget .et_pb_widget label {
    line-height: 32px!important;
}
.footer-widget #custom_html-4 .textwidget {
    line-height: 20px!important;
}
.footer-button a.button {
    color: #ffffff !important;
    font-size: 16px;
    margin-top: 20px;
    line-height: 60px;
    text-align: center;
    width: 100%;
    display: block;
    height: 60px;
    font-weight: 300 !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: normal;
    background-image: url(/wp-content/uploads/2024/09/Mask-group.png) !important;
    background-color: #7f0015;
	    transition: background-color 300ms ease 0ms, color 300ms ease 0ms;
}
.footer-button a.button:hover {
	background-color:#f22f2f;
}
#main-footer .container {
    width: 90%;
}
