/*

csa-expert.ru

SERVING ELEMENTS - CSS
03/14/2026

*/

/* Page Dimmer Popup */

.pdim {
	position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
    overflow: hidden;
    transition: .4s;
    transform: scale(0);
    z-index: 110;
}
.pdim > .b {
	position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
	background-color: rgb(255 255 255 / 1);
	transition: .4s;
}
.pdim > .wrapper {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
}
.pdim > .wrapper > .cbtn {
	position: absolute;
	display:block;
	top: 60px;
	right: 60px;
	width: 24px;
	height: 24px;
}
.pdim > .wrapper > .cbtn:before, .pdim > .wrapper > .cbtn:after {
	content: '';
    position: absolute;
    display: block;
    width: 24px;
    height: 4px;
    top: 10px;
    left: 0px;
    transform: rotate(45deg);    
    background-color: grey;
    border-radius: 20px;
    transition: .2s;
}
.pdim > .wrapper > .cbtn:after {
	transform: rotate(-45deg);
}
.pdim > .wrapper > .cbtn:hover:before, .pdim > .wrapper > .cbtn:hover:after {
	background-color: var(--color--csa-red);
}


/* page dimmer */

.pdim .form-request {
	width: 400px;
    height: max-content;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center;
    padding: 20px;
    border: 1px solid #d8d8d8;
    border-radius: var(--border-radius-desktop);
    background: #ececec;
    transition: .2s;
}
.pdim .form-request > form {}
.pdim .form-request > form > .wrapper > *:not(:first-child) {
	margin-top: 20px;
}
.pdim .form-request > form > .wrapper > input {
	width: 100%;
	font-size: 14pt;
	padding: 14px;
	outline: none;
	border: 1px solid #ccc;
	border-radius: var(--border-radius-desktop);
}

.pdim .form-request > form > .wrapper > input:focus-visible {
	border: 1px solid var(--color--csa-red);
}
.pdim .form-request > form > .wrapper > .status-line {
	transition: .2s;
	margin: 0px;
	max-height: 0px;
	overflow:hidden;
	text-align: center;
}
.pdim .form-request > form > .wrapper > .status-line.on {
	max-height: 120px;
	margin: 20px 0px;
}
.pdim .form-request > form > .wrapper > .button-wrapper {}
.pdim .form-request > form > .wrapper > .button-wrapper > button {
	border: 0px;
	outline: 0px;
	font-size: 14pt;
	transition: .2s;
	filter: grayscale(80%);
	opacity: .3;
}

.pdim .form-request > form > .wrapper > .caption {
	font-size: 8pt;
	text-align: justify;
	display: flex;
    flex-flow: row wrap;
}
.pdim .form-request > form > .wrapper > .caption a {
	color: var(--color--csa-red);
}
.pdim .form-request > form > .wrapper > .caption input {
	width: 16px;
	height: 16px;
}

.pdim .form-request > form > .wrapper > .caption > div:nth-child(1) {
	flex: 0 0 40px;
}
.pdim .form-request > form > .wrapper > .caption > div {
	flex: 1 0 50%;
}

.pdim .form-request > form.ready > .wrapper > .button-wrapper > button {
	filter: grayscale(0);
	opacity: 1;
}

@media only screen and (max-width: 519px) {
	.pdim > .wrapper > .cbtn {
		top: 20px;
		right: 20px;
	}	
}
@media only screen and (min-width: 520px) and (max-width: 959px) {}
@media only screen and (min-width: 960px) and (max-width: 1279px) {}
@media only screen and (min-width: 1280px) and (max-width: 1599px) {}
@media only screen and (min-width: 1600px) {}


/* Serving Element - Cookies Popup Panel */

.el--cookiespanel {
	position: fixed;
	width: 800px;
	padding: 20px;
    left: 50%;
    bottom: -10px;
    transform: translate(-50%);
    transition: .3s;
    box-shadow: 0px 13px 6px -10px rgb(0 0 0 / 20%);
    background: linear-gradient(180deg, #f4f4f4, #ffffff);
    border: 1px solid #ccc;
    border-radius: 8px;
    opacity: 0;
    z-index: 100;
}
.el--cookiespanel a {
	color: var(--color--csa-red);
    text-decoration: underline;
}
.el--cookiespanel.on {
    opacity: 1;
    bottom: 40px;
}
.el--cookiespanel > .wrapper {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}
.el--cookiespanel > .wrapper > div {
	flex: 1 0 50%;
}
.el--cookiespanel > .wrapper > .mw {
	padding: 0px 40px 0px 20px;
    border-left: 4px solid var(--color--csa-red);
    font-size: 10pt;
}
.el--cookiespanel > .wrapper > .bw {
	flex: 0 1 max-content;
}
.el--cookiespanel button {
	padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;	
    transition: .1s;
}
.el--cookiespanel button:hover {
	background: #ddd;
}
.el--cookiespanel button:active {
	transform: scale(.96);
}
.el--cookiespanel button:not(:first-child) {
	margin-left: 6px;
}


@media only screen and (max-width: 519px) {

	/* Component Cookies Panel */

	.el--cookiespanel {
		width: calc(100% - 20px);
	}
	.el--cookiespanel > .wrapper > div {
		flex: 0 0 100%;
	}
	.el--cookiespanel > .wrapper > .bw {
		flex: 0 0 100%;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        margin-top: 14px;
	}

	.el--cookiespanel button {
		flex: 1 0 40%;
	}

}

/* Serving Element - Document Updated Line */

.sec--pagecontent .el--lastmodified {
	padding: 1em 0em;
	background: #e7e7e7;
	color: var(--color--text-main);
	font-size: .9em;
}
.sec--pagecontent .el--lastmodified .element {}
.sec--pagecontent .el--lastmodified .element > p {
	margin: 0px;
}
.sec--pagecontent .el--lastmodified .element > p > span {}



/* Serving Element - Breadcrumbs */

.cmp--breadcrumbs {}
.cmp--breadcrumbs > .wrapper {}
.cmp--breadcrumbs > .wrapper > ul {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	font-size: 10pt;
}
.cmp--breadcrumbs > .wrapper > ul > li {}
.cmp--breadcrumbs > .wrapper > ul > li > a {
	user-select: none;
}
.cmp--breadcrumbs > .wrapper > ul > li > span {}

.cmp--breadcrumbs > .wrapper > ul > li:last-child > a {
	pointer-events: none;
	color: var(--color--text-main);
}
.cmp--breadcrumbs > .wrapper > ul > li.bca {
	position:relative;
	display: block;
	margin: 0px 10px;
}
.cmp--breadcrumbs > .wrapper > ul > li.bca > div {
	display: flex;
	flex-flow: row wrap;
	align-items: center;				
}
.cmp--breadcrumbs > .wrapper > ul > li.bca > div > span:first-child {
	position: relative;
	display: block;
	flex: 0 0 20px;
	width: 100%;
	height: 2px;
	background-color: #505050;
}
.cmp--breadcrumbs > .wrapper > ul > li.bca > div > span:last-child {
	position: relative;
	display: block;
	flex: 0 0 6px;
	height: 6px;
	transform: rotate(45deg);
	border-top: 2px solid #505050;
	border-right: 2px solid #505050;
	margin-left: -4px;
}



.pagecontent-wrapper.has-sidepanel > .part.pr > .wrapper {
	height: 100%;
}

.el--sidepanel {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}
.el--sidepanel > .el--sidepanel-item {}
.el--sidepanel > .el--sidepanel-item > .wrapper > .heading-wrapper.h3 {
	padding: .25em 1em;
	background: #ddd;	
}

.el--sidepanel > .sp-item-navigation {
	position: sticky;
	display: block;
	border-radius: 6px;
	overflow: hidden;
	font-size: .85em;
	top: 5em;
}
.el--sidepanel > .sp-item-navigation {} > .wrapper {}
.el--sidepanel > .sp-item-navigation {} > .wrapper > .heading-wrapper.h3 {}

.el--sidepanel > .sp-item-navigation > .wrapper > ul {
	padding: .5em 1em 1em;
}
.el--sidepanel > .sp-item-navigation ul {
	background: #f4f4f4;
	padding: 0em 1em;
	line-height: 1.5em;	
}
.el--sidepanel > .sp-item-navigation ul a {
	line-height: 1.3em;
	color: var(--color--csa-text-main);
}
.el--sidepanel > .sp-item-navigation ul > li {}
.el--sidepanel > .sp-item-navigation ul > li:not(:first-child) {
	border-top: 1px solid #ccc;
}
.el--sidepanel > .sp-item-navigation ul > li > div {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	transition: .2s;
	padding: .8em .6em;
	align-items: center;	
}
.el--sidepanel > .sp-item-navigation ul > li > div > a {
	flex: 1 0 25%;
    min-height: 24px;
    display: flex;
    align-items: center;	
}
.el--sidepanel > .sp-item-navigation ul > li > div > div {
	position: relative;
	display: block;
	flex: 0 0 24px;
	background-color: transparent;
	border-radius: 4px;
	transition: .2s;
	aspect-ratio: 1;	
}
.el--sidepanel > .sp-item-navigation ul > li > div > div > span {
	overflow: hidden;
	position: absolute;
	display: block;			
	content: url(/app/static/parts/caret-filled.svg);
	width: 20px;
	height: 20px;
	transition: .2s;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(90deg);
	transition: .2s;
	filter: invert(0);			
}
.el--sidepanel > .sp-item-navigation ul > li > ul {
	position: relative;
	display: block;
	background: linear-gradient(#fffcfc 20px, #fff 100%);
	border-left: 2px solid #eabdbd;
	transition: .3s;
	flex: 0 0 100%;
	overflow: hidden;
	max-height: 300px;
	border-top: 0px;	
}
.el--sidepanel > .sp-item-navigation ul > li[data-collapse="collapse"] > div > div > span {
	transform: translate(-50%, -50%) rotate(0deg);
}
.el--sidepanel > .sp-item-navigation ul > li[data-collapse="collapse"] > ul {
	max-height: 0px;	
}

@media (hover:hover) {

	.el--sidepanel .sp-item-navigation ul > li:hover > div > a{
		color: var(--color--csa-red);
	}
	.el--sidepanel .sp-item-navigation ul > li:hover > div > div {
		background: var(--color--csa-red);
	}
	.el--sidepanel .sp-item-navigation ul > li:hover > div > div > span {
		filter: invert(1);
	}

}

/* ----------------------------------- */
/* 			Call Request Form  
/* ----------------------------------- */

.el--callrequest {
    width: 400px;
    height: max-content;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    padding: 20px;
    border: 1px solid #d8d8d8;
    border-radius: var(--border-radius-desktop);
    background: #ececec;
    transition: .2s;
}
.formCallRequest {}
.formCallRequest > .wrapper {}
.formCallRequest > .wrapper > *:not(:first-child){
	margin-top: 20px;
}
.formCallRequest > .wrapper > .status-line {
	transition: .2s;
    margin: 0px;
    max-height: 0px;
    overflow: hidden;
    text-align: center;
}
.formCallRequest > .wrapper > .caption {
	font-size: 8pt;
    text-align: justify;
    display: flex;
    flex-flow: row wrap;
}
.formCallRequest > .wrapper > .caption > input {
	flex: 0 0 20px;
	width: 100%;
	aspect-ratio: 1;
	accent-color: var(--color--csa-red);
}
.formCallRequest > .wrapper > .caption > div {
	flex: 0 0 calc(100% - 40px);
    margin-left: 10px;
}
.formCallRequest > .wrapper > .caption > div > a {
	color: var(--color--csa-red);
}
.formCallRequest input {
	width: 100%;
    font-size: 14pt;
    padding: 14px;
    outline: none;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-desktop);
}
.formCallRequest input:focus-visible {
	border: 1px solid var(--color--csa-red);
}
.formCallRequest > .wrapper > .button-wrapper > button {
    border: 0px;
    outline: 0px;
    font-size: 14pt;
    transition: .2s;	
    filter: grayscale(80%);
    opacity: .3;	
}
.formCallRequest.ready > .wrapper > .button-wrapper > button {
  	filter: grayscale(0);
	opacity: 1;
}



/* lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}
.lightbox-overlay.active {
  visibility: visible;
  opacity: 1;
}
.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.9);
}
.lightbox-close {
  top: 20px;
  right: 20px;
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  width: fit-content;
  margin: 0 auto;
  pointer-events: none;
}
@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .lightbox-close {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}
