.small {font-size: 14px;}
.bold {font-weight: bold;}

.green {color: var(--color-green);}
orange, .orange {color: var(--color-orange);}
grey, .grey {color: var(--color-grey);}
.blue {color: var(--color-blue);}
.red {color: var(--color-red);}
.black {color: var(--color-black);}
.pointer{cursor: pointer;}
.hide{display: none;}


.bg_green {background: var(--color-greenBright);}
.bg_orange {background: var(--color-bg-orangeLight);}
div.block_green{border: 1px solid var(--color-green);}
div.block_orange{border: 1px solid var(--color-orange);}
div.block_green, div.block_orange{
  margin: 0 0 10px 0;
  padding: 10px;
  border-radius: 16px;
  flex:1; 
}



a, a:visited, a:link { color: var(--color-green); }
a.orange{color: var(--color-orange);}
a:hover { text-decoration: none;}

h1{padding: 8px 12px 24px 12px; text-align: center; flex-wrap: wrap; line-height: 50px}
h2{font-size: 48px; padding: 0; margin: 0;}
h3{font-size: 15px; margin: 0; align-items: center; display: flex;}
h3 span:first-child{font-weight: normal; padding: 0 4px;}
h1 span:first-child{
	font-weight: normal; 
	line-height: 1rem;
	font-size: 15px;
	display:block; 
	margin: 0; 
}
h1.h_row{display: flex; align-items: center; justify-content: center;}

dl{
	list-style-type: none;
	margin: 0; padding: 0;
	display: flex; flex-wrap: wrap;
	justify-content: center;
}

dl li{
	border-radius: 16px;
	margin: 0 8px 8px 8px; 
	display: flex; flex-direction: column;
	justify-content: space-between;
}

input, textarea, button, .tabs ul li, .paginator ul li{
	border-radius: 16px; width: 130px; 
	border: 1px solid var(--color-green);
	font-family: 'Fira Sans Condensed', sans-serif; 
	padding: 8px 16px; margin: 0;
	font-weight: normal;
	font-size: 15px;
}

input:active, input:focus, button:focus, textarea:focus {outline: none;}
input[type=button]:hover, button:hover{background: var(--color-inputGreenGlow);}
input[type=button]:active, button:active{
	background: var(--color-inputGreenGlow);
	box-shadow: 3px 3px 3px var(--color-inputGreenActive) inset;
}
input[type=button], button{
	transition: 0.2s;
	background: var(--color-greenBright);
	font-weight: normal; color: var(--color-text);
}
input.error{
	border: 1px solid var(--color-red);
	box-shadow: 0 0 8px 0 var(--color-orange);
}

.main-head,
.secondary-head,
.main-adventage{
	width: 100%; display: flex;
	justify-content: space-around;
}

/* main-head */
.main-head:not(.secondary-head){
	background-size: auto 80%;
	background-repeat: no-repeat;
	background-position: center 72px;
	border-bottom: 1px solid var(--color-greenLight);
	min-height: 372px;
}
.secondary-head{margin-bottom: 8px;}
.secondary-head > div > div:last-child{ border-bottom: 1px solid var(--color-greenLight);}
.main-head > div > span{padding: 0 16px 16px 16px;}

.main-head > div:first-child{
	color: var(--color-white);
	background-color: var(--color-green);
	display: flex; flex-direction: column; align-items: center; 
}

.main-head > div:first-child > a{
	color: var(--color-white);
	border-bottom: 1px solid var(--color-greenLight);
	display: flex; justify-content: center;
	font-size: 20px; font-weight: bold;
	height: 72px; width: 100%;
	letter-spacing: 0.03rem;
	text-decoration: none;
	align-items: center;
}
.main-head > div:first-child > a > span{display: flex; align-items: center; padding: 8px;}
.main-head > div:first-child > b{padding: 16px; font-size: 25px; letter-spacing: 0.1rem;}
.main-head > div:first-child > b > span{opacity: 0.6;}

.main-head > div:first-child,
.main-head > div:last-child{
	min-width: 360px;max-width: 360px;
	border-left: 1px solid var(--color-greenLight);
}

.main-head > div:last-child {
	display: flex; flex-direction: column;
	background-color: var(--color-white);
}

.main-head > div:last-child > div:not(:first-child){padding: 16px;}
.main-head > div:last-child > div:not(:last-child){
	border-bottom: 1px solid var(--color-greenLight);
}

.main-head > div:last-child > div,
.main-adventage > div{height: 72px; display: flex; align-items: center;}
.main-head > div:last-child > div > span{flex: 1; text-align: center;}
.main-head > div:last-child > div > span:not(:last-child){
	border-right: 1px solid var(--color-greenLight);
}

.main-head > div:last-child > div:nth-child(2){flex: 1; display: initial;}
.main-head > div:last-child > div > span a{text-decoration: none;}
.main-head > div:last-child > div > span a:hover{text-decoration: underline;}

/* central img*/
.main-head > div:nth-child(2) > span{padding: 8px; position: absolute;}
.main-head > div:nth-child(2){
	font-size: 10px; text-align: right;
	display: flex; align-items: end; flex-grow: 1; justify-content: end;
}



/* main-adventage */
.main-adventage{
	justify-content: center; 
	border-bottom: 1px solid var(--color-greenLight);
	margin-bottom: 16px;
}
.main-adventage > div{padding: 0 8px; width: 272px; cursor: pointer;}
.main-adventage > div:not(:last-child){border-right: 1px solid var(--color-greenLight);}
.main-adventage > div > span{display: flex; align-items: center; padding: 0 0 0 8px;}
.main-adventage > div img { max-width: 50px; max-height: 50px;}



/* price */
.price div #view > div{display: none}
.price-block, .price dl li{
	text-align: center;
	width: 200px; min-height: 200px;
	margin: 0 8px 8px 8px; padding: 0;
	box-shadow: 0 0 16px -5px var(--color-grey);
}
.price-block{border-radius: 15px; padding: 0 0 16px 0;}
.price-block input{margin: 8px; width: calc(100% - 16px);}
.price-block > h3, .price dl li > div{padding: 16px; border-radius: 15px;}
.price-block > h3, .price dl li > div:first-child{font-weight: bold; margin-bottom: 16px;
	box-shadow: 0 5px 16px -5px var(--color-grey);}

.price-block, 
.price dl li:nth-child(1n){border: 1px solid var(--color-greenLight);}
.price dl li:nth-child(2n){border: 1px solid var(--color-hold);}
.price dl li:nth-child(3n){border: 1px solid var(--color-orangeLight);}
.price dl li:nth-child(4n){border: 1px solid var(--color-purpLight);}

.price-block > h3, 
.price dl li:nth-child(1n) > div:first-child{background-color: var(--color-greenLight);}
.price dl li:nth-child(2n) > div:first-child{background-color: var(--color-hold);}
.price dl li:nth-child(3n) > div:first-child{background-color: var(--color-orangeLight);}
.price dl li:nth-child(4n) > div:first-child{background-color: var(--color-purpLight);}

iframe{width: 100%; height: 600px;}
.info > div{max-width: 700px; padding: 0 16px; text-align: justify;}
.info b:first-child{color: var(--color-orange); font-size: 18px;}
.info{display: flex; justify-content: center;}

.help{display: flex; align-items: center; flex-direction: column;}
.help > div:has(iframe){width: 100%; padding: 0 32px 0 0;}
.help > div:has(iframe) > div{min-width: 100%;}
.help > div > div{
	max-width: 700px;
	border-top: 1px solid var(--color-greenLight);
	margin: 0 16px 16px 16px; padding: 16px 0 0 0;
	text-align: justify;
}
.help p {position: relative;}


/* tabs */
.tabs ul{
	height: 40px;
	border-radius: 16px;
	border: 1px solid var(--color-orangeLight); 
	box-shadow: initial;
	margin: 0 0 0 16px;
}
.tabs ul li{
	text-align: center;
	padding: 0 16px; margin: 0;
	width: initial; min-width: 60px;
	border: initial;
}
.tabs ul li:last-child{border-radius: 0 16px 16px 0;}
.tabs ul li:first-child{border-radius: 16px 0 0 16px;}
.tabs ul li:not(:last-child, :first-child){border-radius: initial;}
.tabs ul li:not(:last-child){border-right: 1px solid var(--color-orangeLight);}
.tabs ul li:hover{background-color: var(--color-bg-orangeLight); transition: 0.2s;}
.tabs .active, .tabs ul li:active{
	box-shadow: 3px 3px 3px var(--color-orangeGrey) inset;
	padding: 9px 14px 7px 18px;
}
.tabs .active{color: var(--color-orange);}



/* paginator */
.paginator ul{margin: 0; padding: 5px 0 0 16px; border: initial; }
.paginator ul li{
	text-align: center;
	padding: 0; margin: 0;
	width: initial; min-width: 20px;
	color: var(--color-grey); line-height: 40px;
	border: initial;
}
.paginator ul li a {text-decoration: none; padding: 0; margin: 0;}
.paginator ul li a:hover {
	background: var(--color-bg-greyLight); 
	border-top: 5px solid var(--color-greenGrey);
	padding: 0 0 5px;
}
.paginator ul li a.current {color: var(--color-orange); font-weight: bold;}



/* news comments callback*/
.price,
.news{
	width: 100%; display: flex;
	justify-content: space-around;
	flex-direction: column;
}

.news dl li	{
	border: 1px solid var(--color-greenLight);
	box-shadow: 0 0 16px -5px var(--color-grey);
	padding: 16px 0 0 0; width: 300px;
	position: relative;
}

.news dl li > span, .news dl li > div, .news dl li > h3{padding: 0 16px 16px 16px;}
.news dl li > span, .news .fontello{color: var(--color-green);}
.news .fontello{ position:absolute; bottom: 4px; right: 0; opacity: 0.2; font-size: 45px;}
.news dl li > div{height: 100%;}
/* .news img{margin-bottom: 0;} */
.news img{width: 300px; padding: 0 0 16px 0;}
.news button{
	margin: 0 0 0 16px; width: 80px;
	border: 1px solid var(--color-orangeLight);
	background-color: var(--color-white);
	cursor: pointer;
}

.news button:hover{background-color: var(--color-bg-orangeLight); transition: 0.2s;}
.news button:active{
	box-shadow: 3px 3px 3px var(--color-orangeGrey) inset;
	padding: 9px 14px 7px 18px;
}

.comments h3, .comments dl li > span{color: var(--color-orange);}

.offerta, embed {
	height: auto; width: 100%;
	min-height: 900px; padding: 0 8px;
}

.list{background-color: var(--color-greenWhite); padding: 10px 40px;}
blockqoute > p{padding: 0 0 0 40px; margin: 0 0 4px 0;}

table{border-spacing: 0; margin-top: 16px; width: 100%;}
table td:last-child{width: 100%;}
table td{padding: 2px 8px; vertical-align: top;}
table td:first-child{text-align: right; white-space: nowrap;}
table tr:not(:nth-child(2n)){background-color: var(--color-bg-greyLight);}


#captcha{cursor: pointer;}
#callback{flex-direction: column; justify-content: space-between;}
#callback > div:last-child dl{display: flex; justify-content: space-evenly;}
#callback > div:last-child{
	margin-top: 32px; padding: 32px 0; 
	border-top: 1px solid var(--color-greenLight);
}

.feedback{height: 100%}
.feedback div:last-child,
.feedback{display: flex; justify-content: space-between;}
.feedback div:first-child{width: 300px;}
.feedback textarea, .feedback div:last-child{width: 100%; flex-direction: column;}
.feedback textarea {height: 300px;}
.feedback input{margin: 8px 0;}

.news{align-items: center;}



#upArrow {
  position: fixed;
  bottom: 8px; right: 8px;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--color-orange);
  cursor: pointer;
  transition: 0.5s;
  opacity: 0;
}

#upArrow:after {
  content: '';
  position: absolute;
  top: 25px; left: 21px;
  width: 15px; height: 15px;
  border-left: 4px solid #fff;
  border-top: 4px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


@media (max-width: 1230px) {
	.main-menu{position: initial;}
	.secondary-head > div > div:last-child{ border-bottom: initial;}
	.secondary-head > div{ border-bottom: 1px solid var(--color-greenLight);}
}

@media (max-width: 735px) {
	.main-head{justify-content: space-between; flex-direction: column;}
	.main-head > div:nth-child(2) > span{display: none;}
	.main-head > div:first-child,
	.main-head > div:last-child{min-width: 100%;}

	.main-adventage > div > span{display: none;}
	.price dl li{width: 150px}
	.news img{display: none;} 
	.news dl li, .comments dl li{width: 46%;}
}

@media (max-width: 520px) {
	.main-menu li > div:not(.active) span:last-child{display: none;}
	.main-menu ul > li {min-width: 40px;}
	.news dl li, .comments dl li{width: 100%;flex: initial;}
	.feedback{flex-direction: column;}
}

/* debug */
ol.debug, ol.debug pre {
    font-size: 12px;
    margin: 0; padding: 0;
    font-family: 'Fira Sans Condensed', sans-serif;
}
ol.debug > li:first-child{padding-top: 20px}
ol.debug {margin: 0 5px; padding-left: 16px;}