/*
Theme Name: propulsion
Author: paluba
Author URI: https://paluba.media
Description: Тема для сайта msc-propulsion.ru
*/
@font-face {
    font-family: kelsonsans;
    src: url("/wp-content/themes/propulsion/kelsonsans.otf") format("opentype");
}

* {
    margin: 0;
    padding: 0;
}

.row {
    --bs-gutter-x: 60px;
}

@media (max-width: 771px) {
    .row {
        --bs-gutter-y: 30px;
		--bs-gutter-x: 1.5rem;
    }
}

body {
    font-family: 'kelsonsans', sans-serif;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt45 {
    margin-top: 45px;
}

.mt70 {
    margin-top: 70px;
}

.pb30 {
    padding-bottom: 30px;
}

body.front_page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    max-height: -webkit-fill-available;
    color: white;
    background-image: url('https://msc-propulsion.ru/wp-content/uploads/2023/09/group-3-2-1.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: #223440;
}

body.front_page::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0%;
    right: 0%;
    top: 0%;
    bottom: 40%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -2;
    background: linear-gradient(180deg, #223440 0%, rgba(34, 52, 64, 0.00) 100%);
}

body.front_page::after {
    content: ' ';
    display: block;
    position: absolute;
    left: 0%;
    right: 0%;
    top: 40%;
    bottom: 0%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -2;
    background: linear-gradient(180deg, rgba(34, 52, 64, 0.00) 0%, #223440 100%);
}

.front_page .logo {
    margin-top: 60px;
    display: flex;
    align-items: baseline;
    max-width: 80vw;
}

.front_page .logo svg {
    margin-right: 10px;
    height: auto;
}

.front_page .logo svg + svg {
    margin-left: 10px;
    margin-right: 6px;
}

.front_page .links {
    width: 100%;
    height: 100%;
    margin: 50px 0;
    display: flex;
    justify-content: space-between;
}

.front_page .links a {
    display: flex;
    flex: 1 50%;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    position: relative;
}

.front_page .links a:hover::before {
    background: radial-gradient(50% 50.00% at 50% 50.00%, #36A9E1 0%, rgba(54, 169, 225, 0.00) 100%);
    content: ' ';
    display: block;
    position: absolute;
    left: 25%;
    right: 25%;
    top: 25%;
    bottom: 25%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.front_page .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    gap: 25px;
    margin-bottom: 50px;
}

footer .contacts a,
.front_page .footer a {
    color: white;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

footer .contacts a:hover,
.front_page .footer a:hover {
    text-decoration: underline;
}

footer .contacts span,
.front_page .footer span {
    text-align: center;
}

.rotate {
    -webkit-transform: rotate(360deg);  
    -moz-transform: rotate(360deg); 
    -ms-transform: rotate(360deg);  
    -o-transform: rotate(360deg);  
    transform: rotate(360deg);  
    -moz-animation-name: rotate;
    -moz-animation-duration: 8s;
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 8s;

    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: normal;
    -moz-animation-delay: 0;
    -moz-animation-play-state: running;
    -moz-animation-fill-mode: forwards;

    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: normal;
    -webkit-animation-delay: 0;
    -webkit-animation-play-state: running;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes rotate {
    0% {
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    
    100% {
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes rotate {
    0% {
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    
    100% {
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

.gap_60_0 {
    gap: 60px 0;
}

@media screen and (max-width: 1300px) {
    .front_page .logo {
        margin-top: 40px;   
    }
	
	.front_page .footer {
		margin-bottom: 40px;
		gap: 10px;
	}
}

@media screen and (max-width: 900px) {
    .front_page .links a {
        font-size: 26px;
    }
}

@media screen and (max-width: 700px) {
    body.front_page {
        height: 100vh;
        background-size: 100% !important;
		background: #223440;
		background-image: url('/wp-content/themes/propulsion/back.png');
		background-repeat: repeat;
    }
    
    .front_page h1 {
        font-size: 40px;
        line-height: 50px;
    }
    
    .front_page h2 {
        font-size: 18px;
        line-height: 22px;
    }
    
    .front_page .links {
        flex-direction: column;
		margin: 40px 0;
    }
}

@media screen and (max-width: 500px) {
    .front_page h1 {
        font-size: 20px;
        line-height: 30px;
    }
    
    .front_page h2 {
        font-size: 16px;
        line-height: 22px;
    }
}

@media (min-width: 1500px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1424px;
    }
}

header {
    background: #223440;
    border-bottom: 9px solid #D0D0D0;
}

.header_contacts {
	margin-top: 0;
}

.header_contacts > section {
    margin: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 120px;
}

nav a {
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
	text-wrap: wrap;
}

nav a:hover {
    text-decoration: underline;
}

.current-menu-item a,
footer .footer_menu .current-menu-item a {
	color: #36A9E1;
}

.navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}

header button {
    display: none;
}

header .contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
	white-space: nowrap;
}

header .contacts a {
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: flex;
    gap: 10px;
    width: 100%;
    text-decoration: none;
}

header .contacts a:hover {
    text-decoration: underline;
}

.header_menu .sub-menu {
    display: none;
    position: absolute;
    background: #223440;
    list-style: none;
    padding: 30px;
    margin-left: -30px;
    z-index: 999999;
    white-space: nowrap;
    left: -170%;
	width: 300px;
}

.header_menu .sub-menu li:first-child {
    padding-top: 30px;
}

.header_menu .menu-item-has-children {
    position: relative;
}

.header_menu .menu-item-has-children:hover .sub-menu {
    display: block;
}

.collapse:not(.show) {
    display: block;
}

@media (max-width: 771px) {
    .collapse:not(.show) {
        display: none;
    }
    
    header button {
        display: block;
    }
}

h1 {
    color: var(--dark, #223440);
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

h2,
.h2 {
    color: var(--dark, #223440);
    font-size: 35px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

p {
    color: var(--dark, #223440);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.big_numbers {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 80px;
    color: var(--dark, #223440);
    text-align: center;
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    justify-content: center;
}

.big_numbers span {
    font-size: 86px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.big_numbers div {
    max-width: 150px;
}

@media (max-width: 771px) {
    .big_numbers {
        gap: 30px;
        font-size: 16px;
    }
    
    .big_numbers span {
        font-size: 30px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
}

.buttons {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.buttons a {
    border-radius: 5px;
    background: #36A9E1;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    width: 100%;
    text-align: center;
    padding: 7.75px 0;
	max-width: 33%;
}

.buttons.buttons_fixed {
    justify-content: flex-start;
}

.buttons_fixed a {
    max-width: 250px;
}

.buttons a:hover {
    background: #223440;
}

.production_block {
    position: relative;
    padding: 40px;
}

.product_item::before,
.production_block::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: url(/wp-content/themes/propulsion/back.png);
    background-repeat: repeat;
    background-size: 50%;
    pointer-events: none;
    z-index: -1;
}

.production_block h2 + div {
    color: var(--dark, #223440);
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
}

.blue_numbers {
    color: var(--d-gray, #949494);
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 80px;
}

.blue_numbers .big {
    color: var(--light, #36A9E1);
    font-size: 70px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.blue_numbers .big span {
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media (max-width: 771px) {
    .production_block {
        padding: 20px;
    }
    
    .blue_numbers {
        gap: 30px;
    }
    
    .blue_numbers .big {
        font-size: 30px;
    }
    
    .blue_numbers .big span {
        font-size: 20px;
    }
}

footer {
    background: #223440;
    background-image: url(/wp-content/themes/propulsion/back.png);
    background-repeat: repeat;
    background-size: 50%;
    padding: 60px 0;
    margin-top: 60px;
}

footer .contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    color: white;
    margin-top: 20px;
}

footer .contacts span {
    max-width: 300px;
}

footer .footer_menu {
    list-style: none;
    margin-top: 20px;
}

footer .footer_menu li {
    margin-bottom: 15px;
    text-align: center;
}

footer .footer_menu a {
    color: #FFF;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

footer .footer_menu a:hover {
    text-decoration: underline;
}

footer .paluba {
    color: #F2F2F2;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

footer .paluba a {
    color: #F2F2F2;
}

footer .paluba a:hover {
    color: #36A9E1;
}

footer ul {
    padding-left: 0;
}

@media (max-width: 771px) {
    footer {
        padding: 30px 0;
        margin-top: 30px;
    }
    
    footer div:not(.contacts) > a > svg {
        max-width: 100%;
        padding: 0 20px;
    }
    
    footer .contacts {
        gap: 20px;
    }
    
    footer .mt70 {
        margin-top: 20px;
    }
    
    footer .footer_menu a {
        font-size: 16px;
    }
}

.projects_slide img {
    max-width: 100%;
}

.projects_slider > div {
    margin-left: -20px;
    margin-right: -20px;
}

.projects_slide {
    margin: 0 20px;
}

.slick-arrow::before {
    display: none;
}

.slick-prev {
    left: -50px;
}

.slick-next {
    right: -50px;
}

.projects_slide .title {
    color: var(--dark, #223440);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
}

.projects_slide .description {
    color: var(--d-gray, #949494);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.lig {
    color: var(--d-gray, #949494);
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
}

.product_item {
    display: flex;
    gap: 24px;
    position: relative;
    padding: 25px;
    text-decoration: none;
}

.product_item .description p {
    color: #727272;
}

.product_item .props {
    color: var(--dark, #223440);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.product_item .image {
	flex-grow: 0;
    flex-shrink: 0;
    max-width: 300px;
}

.product_item .image img {
	width: 100%;
}

.product_item:hover::after {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-color: #223440;
    z-index: -2;
}

.product_item:hover::before {
    opacity: 1;
}

.product_item:hover .h2,
.product_item:hover .description p,
.product_item:hover .props {
    color: #FFF;
}

iframe {
    max-width: 100%;
}

.contacts_block {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.contacts_block div {
    display: flex;
    gap: 20px;
}

.contacts_block div,
.contacts_block div a {
    color: #555;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    max-width: 300px;
}

.contacts_block div a:hover {
    text-decoration: underline;
}

.contacts_block svg {
    flex-grow: 0;
    flex-shrink: 0;
}

.map_holder {
    position: relative;
    display: flex;
}

.map_holder iframe {
    padding-right: 30px;
}

.map_holder::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 30px;
    right: 0;
    top: 30px;
    bottom: -30px;
    background-image: url(/wp-content/themes/propulsion/back.png);
    background-repeat: repeat;
    background-size: 50%;
    pointer-events: none;
    z-index: -1;
}

.background_block {
    background-image: url('/wp-content/uploads/2023/08/group-17-min.jpg');
    height: 500px;
    background-size: cover;
    position: relative;
    margin-top: -9px;
}

.background_block h1 {
    color: #F6F6F6;
    margin-bottom: 30px;
}

.background_block .col-md-12 {
    display: flex;
    align-items: end;
}

.background_block .row,
.background_block .container {
    height: 100%;
}

.production_block ul {
    list-style: none;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 80px 1fr 80px 1fr 80px 1fr 80px 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 45px 80px;
}

.production_block ul li {
    position: relative;
    color: #646464;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.production_block ul li::before {
    content: '';
    background: #36A9E1;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    position: absolute;
    left: -30px;
    top: 0px;
}

.production_block img {
    width: 100%;
    max-width: 100%;
}

.map_holder img {
    width: 100%;
    padding-right: 30px;
}

.table_block .table_holder {
    overflow: auto;
}

.table_block .table_holder table {
    width: 100%;
}

.table_block .table_holder table th {
    color: #969696;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    padding: 10.5px 12px;
}

.table_block .table_holder table td {
    padding: 10.5px 12px;
}

.table_block .table_holder table tbody tr:nth-child(2n + 1) {
    background: #EFEFEF;
}

.table_block .table_holder table tbody tr:hover {
    background: rgba(26, 81, 119, 0.30);
}

@media screen and (max-width: 1400px) {
	.header_contacts > section {
		gap: 80px;
	}
}

@media screen and (max-width: 1200px) {
	.header_contacts > section {
		gap: 40px;
	}
}

@media screen and (max-width: 771px) {
	.product_item {
		flex-direction: column;
	}
	
	header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 99999;
	}
	
	header .contacts a {
		font-size: 0;
	}
	
	header .header_menu + div {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	
	header .contacts svg {
		width: 26px;
		height: 26px;
	}
	
	header .contacts svg path {
		stroke: white;
	}
	
	header .contacts a + a {
		display: none;
	}
	
	.gap_60_0 {
		gap: 30px 0;
	}
	
	header .header_menu {
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #223440;
	}
	
	.navbar-nav {
		flex-direction: column;
    	align-items: flex-start;
	}
	
	.buttons {
		gap: 30px;
	}
	
	.production_block ul {
		display: block;
	}
	
	.production_block ul li {
		margin-bottom: 8px;
	}
	
	header section > a svg {
		height: 40px;
    	width: auto;
	}
	
	.header_menu .sub-menu {
		padding: 12px;
		margin-left: -12px;
		left: 0;
		width: 100vw;
	}
	
	.header_menu .sub-menu li:first-child {
		padding-top: 0;
	}
	
	body:not(.front_page) {
		padding-top: 60px;
	}
}
