/*   
Theme Name: ПИТ - перевозка и такелаж
Version: 1.0
Description: С вниманием к деталям
Author: Ravlex
Author URI: https: //kwork.ru/user/ravlex
*/

.content-portfolio .video-wrapper .video a:after{
	content:url(img/maxresdefault_live.jpg);
	cursor:pointer;width: 100% !important;object-fit: cover;position: absolute;z-index: 90;
	position: absolute;
	top: 0;
left:0;
width: 100%;
height: 100%;
display:block;
}



.rl-gallery-caption{
	display: none !important;
}
@media (min-width: 979px) { 
	ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu { /* для раскрывания субменю по наведению */
		display: block;
	}
	.comment-list .children { /* для комментов */
		padding: 0;
		margin-left: 74px;
		padding-bottom: 15px;
	}
	.comment-list .media {
		margin-top: 0;
	}
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

@media (max-width: 576px) {
	.portfolio-list > div {
		margin-bottom: 15px;
	}
	.portfolio-list > div > .item {
		height: 100%;
	}
	.portfolio-list .item .title {
		height: auto;
		min-height: 50px;
		flex-grow:1;
    	align-items: flex-start;
	}
	footer .top .input-wrap {
		margin-bottom: 15px;
	}
	footer .top .btn {
		margin-bottom: 15px;
	}
	#contacts .top .social a:first-child {
		margin-right: 15px !important;
	}
	#calc + #realized_projs {
		margin-top: 30px;
	}
}

.devws-contact-modal.devws-contact--visible {
	display: flex;
}


.checkbox {
  flex-shrink: 0; 
}

.checkbox_block {
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
}

input.checkbox[type="checkbox"] {
    appearance: auto;
}


input.checkbox[type="checkbox"] {
  width: 20px;
  height: 20px;
  appearance: none;
  border: 2px solid #999;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  margin-right: 10px;
}

input.checkbox[type="checkbox"]:checked {
  background-color: #3f51b5;
  border-color: #3f51b5;
}

input.checkbox[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.marquiz-widget {    
	position: relative;
    z-index: 9999;
}


.lwptoc_itemWrap1 {
    margin: 10px 0px 10px 15px;
}

.lwptoc_item {
	margin-top:15px;
}
    
.lwptoc_toggle:before {
    content: '['
}

.lwptoc_toggle:after {
    content: ']'
} 

.lwptoc_toggle {
	display:flex;
}

.lwptoc_header {
	display:flex; gap:15px;
}
    
.lwptoc_i{
	margin-bottom:25px;
}

.terms {
    display: flex;
    align-items: center;
    gap: 25px;
}
@media (max-width: 599px) {
	.terms {
		flex-direction: column;
		gap:20px;
	}
}
#cookie_note{
    display: none;position: fixed;
	z-index:99999;
    bottom: 15px;left: 30%; 
	max-width: 90%;
	transform: translateX(-25%);
    padding: 20px;
	background-color: white;
    border-radius: 23px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
    
}
#cookie_note p{margin: 0;font-size: 0.8rem;text-align: left;color: black;}

#cookie_note .btn-sm{
    display: block;
    margin: 0 auto;
    cursor: pointer;
    color: #fff;
    overflow: inherit;
}

.cookie_accept {
    white-space: nowrap;
}


@media (max-width: 1023px) {
    #cookie_note.cshow {
        display: flex;
        text-align: left;
        flex-direction: column;
        width: 90%;
		gap:10px;
    }
    
    .cookie_accept {
     width: auto; 
}
#cookie_note .btn-sm {margin-top:15px;}
}

#cookie_note a {color:#006}
@media (max-width: 1023px){#cookie_note.cshow{display: flex;text-align: left;}}
@media (min-width: 1024px){#cookie_note.cshow{display: flex; column-gap: 15px;align-items: center;}}


@media (max-width: 768px) {
    #cookie_note .bclose {
        padding: 10px;
        width: 44px;
        top: 0;
        right: 0;
        position: absolute;
    }
    #cookie_note p {
   margin: 0 25px 0 0px;
}
}

@media (min-width: 769px) {
   #cookie_note .bclose {
        border: 0;
        border-radius: 100px;
        cursor: pointer;
        height: 44px;
        padding: 10px;
        width: 44px;
        top: -35px;
        right: -35px;
        position: absolute;
        background-color: white;
        box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
    }	
	.footer__form-btns {
    flex-wrap: nowrap;
}
}



.modal__checkbox {	
	display: flex;
    align-items: center;
    margin-top: 15px;
}

.lbcheckbox {   appearance: auto;}


.checkbox-text {    
	color: #8e8e8e;
    font: 13px Gilroy-Regular, Arial, sans-serif;}
.checkbox-text a {
	color: inherit;
    text-decoration: underline;
}


.price-form .agree a {
    color: rgb(0 0 0 / 40%);
}


.custom-messanger {
    width: 44px;
    height: 44px;
    display: -webkit-box; 
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    border-radius: 50%;
    background: #d7d7d7;
    -webkit-transition: -webkit-filter .2s ease;
    transition: -webkit-filter .2s ease;
    margin-right: 5px;
    padding: 10px;
}

.custom-messanger img {
width:28px;
height:28px
}

#contacts .acent .social a {
    width: 35%;
    height: 40px;
}


@media (max-width: 991px) {
.custom-messanger {
	align-items: center;
    width: 35px;
	height: 35px;}	
	
}
#realized_projs .owl-dots {
    bottom: -15px;
}
@media (max-width: 991px) {
    header .header .top .btn {
display:none!important
    }
}

.flex_w._ai_c {
    gap: 5px;
}

.devws-contact-widget__button {
    background:#ffe823!important
}

.devws-contact-modal__submit {
	background: #ffe823!important;}

.devws-contact-modal__label-icon {
    background-color: #ffe823!important;}


.auto-grow {
  resize: none;
  overflow-y: hidden;
	min-height: 3.5em;
	border-radius: 50px !important;
}

/* Блок с текстом и изображением */
.text-img-offer {
	padding: 15px 0;
	background-color: #fff;
}

.text-img-offer .row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.text-img-offer__text {
	padding: 20px 15px;
}

.text-img-offer__text h2 {
	margin-bottom: 20px;
	font-size: 28px;
	font-weight: bold;
	line-height: 1.3;
}

.text-img-offer__content {
	font-size: 16px;
	line-height: 1.6;
}

.text-img-offer__content p {
	margin-bottom: 15px;
}

.text-img-offer__image {
	padding: 20px 15px;
	text-align: center;
}

.text-img-offer__image img {
	max-width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 767px) {
	.text-img-offer {
		padding: 40px 0;
	}
	
	.text-img-offer__text {
		margin-bottom: 30px;
	}
	
	.text-img-offer__text h2 {
		font-size: 24px;
		margin-bottom: 15px;
	}
	
	.text-img-offer__content {
		font-size: 14px;
	}
}

/* Блок Вопросы-ответы */
.faq-section {
	padding: 60px 0;
	background-color: #fff;
}

.faq-list {
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.faq-item {
	margin-bottom: 0;
	width: 100%;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 15px;
	cursor: pointer;
	user-select: none;
	transition: color 0.3s ease;
	background: #eff2f4;
	border-radius: 15px;
}

.faq-question:hover {
	color: #3f51b5;
}

.faq-question-text {
	flex: 1;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	padding-right: 20px;
	color: #202234;
	font: 13px / 1 Gilroy-SemiBold, Arial, sans-serif;
	text-transform: uppercase;
}

.faq-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	font-size: 24px;
	font-weight: bold;
	color: #4d4d4d;
	transition: transform 0.3s ease;
	flex-shrink: 0;
	background: #ffe823;
	border-radius: 50%;
}

.faq-item.active .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
	max-height: 1000px;
	padding-bottom: 20px;
}

.faq-answer-content {
	padding: 0;
	font-size: 16px;
	line-height: 1.6;
	padding: 15px;
	color: #262c39;
	font: 16px / 1.4 Gilroy-Regular, Arial, sans-serif;
}

@media (max-width: 767px) {
	.faq-section {
		        padding: 10px 15px;
	}
	
	.faq-question {
        padding: 10px 15px;
	}
	
	.faq-question-text {
		font-size: 14px;
		padding-right: 15px;
	}
	
	.faq-icon {
		width: 25px;
		height: 25px;
		font-size: 20px;
	}
	
	.faq-answer-content {
		font-size: 14px;
	}
}