/*   
Theme Name: Индивидуальная тема
Theme URI: https: //kwork.ru/user/ravlex
Version: 1.0
Description: С вниманием к деталям
Author: Ravlex
Author URI: https: //kwork.ru/user/ravlex
*/
.static-page+.footer {
	padding-top: 0;
}

.field {
	position: relative;
}

.field.is-invalid {
	border-color: red;
}

.field .error {
	position: absolute;
	top: calc(100% + 5px);
	left: 0;
	color: red;
	font-size: 10px;
}



input[type="checkbox"].is-invalid {
    outline: 2px solid red;
    outline-offset: 2px;
    border-radius: 3px; 
}

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

input.checkbox[type="checkbox"]:checked {
	background-color: var(--accent);
    border-color: var(--accent);
}

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);

}


.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;}


#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; 
	margin: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;
		box-shadow: 0px 1px 8px 0px rgba(34, 60, 80, 0.2);
    }
    #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;
}
}


.form__checkbox {
    display: flex;
    align-items: flex-start; 
    flex-wrap: wrap; 
    margin-top: 15px;
    gap: 10px; 
}

.checkbox-text {
    white-space: normal;
    overflow-wrap: anywhere; 
    flex: 1; 
	font-weight: 500;
    font-size: .75rem;
    color: rgba(34, 77, 71, .4);
	
}

.checkbox-text a {
text-decoration:underline;	
}


.form__checkbox .error {
  order: 2; 
  width: 100%;
  padding-left: 28px; 
}



.offer_popup {
    position: fixed;
    right: 19px;
    bottom: 89px;
    background: #ffffff;
    padding: 13px;
    border-radius: 7px;
    max-width: 337px;
    opacity: 0;
    z-index: -1;
    transition: all 0.6s;
    color: black;
    font-size: 16px;
    margin-left: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	line-height: 1.4;
}
.offer_popup.visible {
  opacity: 1;
  z-index: 9999;
}
.offer_popup_close {
  position: absolute;
  left: -19px;
  top: -19px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.offer_popup_close:before,
.offer_popup_close:after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 11px;
  background: #999;
}
.offer_popup_close:before {
  transform: rotate(45deg);
}
.offer_popup_close:after {
  transform: rotate(-45deg);
  margin: 0 0 0 -2px;
}



.single-page__content {
	margin-top: 40px;
}

.single-page__content h2,
.single-page__content h3,
.single-page__content h4 {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 1.2rem;
}

.single-page__content p:not(:last-child) {
	margin-bottom: 1.5rem;
}

.single-page__content li {
	margin-bottom:15px;
}


.form__checkbox .error {
    color: red;
    font-size: 10px;
}