/* Глобальные переменные (светлая тема по умолчанию) */
:root {
  --bg: #ffffff;
  --text: #333333;
  --textblack: #000;
  --texth: #000;
  --texta: #000;
  --bgrequest: rgba(31,31,31);
  --bgrequestbtn: #EB6F13;
  --bgtabsection: rgba(233, 233, 233, 0.3);
  --colortabsection: #3D3D3F;
  --bgprojectcardtitle: rgba(233, 233, 233, 0.3);
  --bgprojectcardsectionname: #FFF;
  --colorprojectcardsectionname: #AFAEAE;
  --numberproject: #000;
  --opacityarrow: 0.5;
  --bgscrollbar: rgba(169, 169, 169, 1);
  --footerbg: rgba(249,249,249);
  --blacktext: #000;
  --footerlayoutbg: none;
  --tooglethemebg: url(/view/images/dark-mode.svg) no-repeat center;
  --tooglethemebgmain: url(/view/images/dark-mode-main.svg) no-repeat center;
  --navtext: rgba(61, 61, 63, 1);
  --ulcolor: #29292B;
  --headermenubg: url(/view/images/menu.svg) no-repeat left;
  --menumobilebg: #FFF;
  --menumobileborder: 1px solid rgba(181,181,181,0.3);
  --menumobileahover: #EB6F13;
  --closebg: #000;
  --closeopacity: 0.3;
}

/* Когда на html добавлен атрибут data-theme="dark" */
:root[data-theme="dark"] {
  --bg: #1F1F1F;
  --text: #D8D7D7;
  --textblack: #D8D7D7;
  --texth: #FFF;
  --texta: #FFF;
  --bgrequest: #EB6F13;
  --bgrequestbtn: rgba(31,31,31);
  --bgtabsection: #1F1F1F;
  --colortabsection: rgba(169, 169, 169, 1);
  --bgprojectcardtitle: #1B1B1B;
  --bgprojectcardsectionname: none;
  --colorprojectcardsectionname: #A9A9A9;
  --numberproject: #FFF;
  --opacityarrow: 1;
  --bgscrollbar: rgba(181,181,181,0.3);
  --footerbg: #1B1B1B;
  --blacktext: #FFF;
  --footerlayoutbg: rgba(0,0,0,0.8);
  --tooglethemebg: url(/view/images/white-mode.svg) no-repeat center;
  --tooglethemebgmain: url(/view/images/white-mode.svg) no-repeat center;
  --navtext: #FFF;
  --ulcolor: #D8D7D7;
  --headermenubg: url(/view/images/menu-white.svg) no-repeat left;
  --menumobilebg: #EB6F13;
  --menumobileborder: 1px solid rgba(255,255,255,0.5);
  --menumobileahover: #000;
  --closebg: #FFF;
  --closeopacity: 0.9;
}
    
html { height: 100%; overflow-y: scroll; }
body { min-width: 300px; margin: 0px; padding: 0px; height: 100%; font-family: "Inter", sans-serif; font-weight: 400; font-size: 15px; color: var(--text);  position: relative; line-height: 1.4; background: var(--bg); }
img { border: none; }
a { color: var(--blacktext); text-decoration: underline; }
a:hover { text-decoration: none; }
form { margin: 0px; } 

#page { min-height: 100%; position: relative; min-width: 300px; margin: 0 auto; display: grid; grid-template-rows: auto 1fr auto; }
header { margin: 0 auto; width: 100%; }

main > div { border-bottom: 1px solid rgba(181,181,181,0.3); border-right: 1px solid rgba(181,181,181,0.3); border-left: 1px solid rgba(181,181,181,0.3); box-sizing: border-box; }
/*main > div > div { border-right: 1px solid rgba(181,181,181,0.3); border-left: 1px solid rgba(181,181,181,0.3);  }*/
footer { margin: 0 auto; background: var(--footerbg); width: 100%; }

h1 { font-weight: 500; margin: 0; font-size: 48px; color: var(--texth); padding: 0; line-height: 1.2; text-align: right; padding-left: 40px; padding-right: 20px; padding-top: 40px; position: relative; margin-bottom: 20px; text-transform: uppercase; }
h1 span { display: block; text-align: left; }
h1:before 
{ 
	content: url(/view/images/request-icon.svg); 
	display: inline-block;
	margin-right: 10px; 
	position: absolute; left: 40px;
}
h2 { font-weight: 500; font-size: 48px; color: var(--texth); padding: 5px; line-height: 1.2; text-transform: uppercase; display: block; text-align: right; margin: 0; padding-left: 40px; padding-top: 40px; position: relative; margin-bottom: 20px; padding-right: 20px; }
h2 span { display: block; text-align: left; }
h2:before 
{ 
	content: url(/view/images/request-icon.svg); 
	display: inline-block;
	margin-right: 10px; 
	position: absolute; left: 40px;
}

h2 img { position: absolute; top: 55px; left: 40px; }
h3 { font-weight: 500; margin: 0; font-size: 24px; color: var(--texth); padding: 0; line-height: 1.0; padding: 20px 0;}

.access-width 
{
	margin: 0 auto;
    max-width: 1280px;
    padding: 30px 0px;
    box-sizing: border-box;
    padding-bottom: 50px;
    border-bottom: none;
}

.title-text { font-size: 20px; font-weight: 500; padding-left: 40px; margin-bottom: 20px; padding-right: 20px; }

.main-text {
	width: 100%;
}

.grid
{
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: none;
}  

.second-text {
	display: block;
	color: #494846;
	font-weight: bold;
    font-size: 30px;
    line-height: 1.0;
    text-align: center;
    text-transform: uppercase;
}

button, .button
{
	background: rgba(235,111,19);
	display: inline-block;
	text-align: center; 
    color: #FFF; 
    text-decoration: none;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: normal;
    padding: 10px 20px;
    box-sizing: border-box;
}
button { height: 36px; font-weight: normal; font-size: 14px; }

button img, .button img { vertical-align: inherit; margin-left: 15px; }

.button:hover { background: rgba(235,111,19,0.9); }
button:hover { background: rgba(235,111,19,0.9); }

.button-block a.button { display: block; }

.site-path { font-size: 14px; line-height: 1.7; box-sizing: border-box; border-bottom: 1px solid rgba(181,181,181,0.3);  padding: 30px 5px; color: rgba(151, 151, 153, 1); }
.site-path a { margin-left: 5px; font-size: 14px; color: rgba(61, 61, 63, 1); text-decoration: none; }
.site-path a:first-of-type { margin-left: 0; }
.site-path a:hover { text-decoration: underline; }

.request-button 
{
	background-color: #D72862;
	background-image: linear-gradient(#D72862, #AC196F);
	color: white;
	text-decoration: none;
	border-radius: 5px;
	cursor: pointer;
	padding: 15px 30px;
	position: absolute;
	top: 30px;
	left: 70%;
	font-weight: normal;
	font-size: 18px;
}

a.orange-jump
{
    color: rgba(235, 111, 19, 1);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    vertical-align: middle;
} 
a.orange-jump:hover { opacity: 0.8; }
a.orange-jump img { padding-left: 5px; vertical-align: inherit; padding-bottom: 3px;  }

/*Дерево разделов***************/
.tree { background: #114477; }
.tree ul { margin: 0; padding: 0;}
.tree li { list-style-type: none;  }
.tree li a { text-decoration: none; color: #FFF; padding: 10px 40px; display: block;}
.tree li:hover {background-color: #3C96D9;}
.tree li:hover a { }
.tree li.select { background-color: #3C96D9; }
.tree li.select a { }

.page-content-block { }

/**********************************/

body > header .request-button:hover
{
	background-image: none;
}

@media screen and (max-width: 1232px)
{
	h1,h2 { font-size: 46px; }
}

@media screen and (max-width: 1186px)
{
	h1,h2 { font-size: 44px; }
}



@media screen and (max-width: 1150px)
{
	h1:before, h2:before { display: none; }
	h1 span, h2 span { display: inline;} 
	h1, h2 { text-align: left; font-size: 42px; padding-left: 20px; }
	.title-text { padding-left: 20px; }
}

@media screen and (max-width: 820px)
{
	h1, h2 { font-size: 38px;}
}

@media screen and (max-width: 750px)
{
	h1, h2 { font-size: 36px;}
}

@media screen and (max-width: 700px)
{
	h1, h2 { font-size: 34px;}
	.title-text { font-size: 18px; line-height: 1.25; }
}

@media screen and (max-width: 660px)
{
	h1, h2 { font-size: 30px;}
}

@media screen and (max-width: 600px)
{
	.access-width 
	{ 
		border-right: 1px solid rgba(181,181,181,0.3);
	    border-left: 1px solid rgba(181,181,181,0.3);
        margin-left: 20px;
        margin-right: 20px;
    }
    
    main > div {  }
    
    .site-path { padding: 20px 5px 0 5px; border-bottom: none; }
}

@media screen and (max-width: 580px)
{
	.page-content-block { float: none; width: 100%;}
}

@media screen and (max-width: 550px)
{
	/*h1 { font-size: 30px;}*/
	h1, h2 { font-size: 26px;}
	.title-text { font-size: 16px; }
}

@media screen and (max-width: 515px)
{
	.tree { width: 80%; box-sizing: border-box; margin: 0 auto; margin-bottom: 10px; float: none; text-align: center;}
	.tree li a { padding: 10px 15px; }
}


@media screen and (max-width: 440px)
{
	h1 { font-size: 26px;}
	h1, h2 { font-size: 20px;}
	.title-text { font-size: 15px;  }
}

@media screen and (max-width: 332px)
{
	
}

.auto-complete { background: #FAFAFA; border: 1px solid #333333; }
.auto-complete-item { display: block; cursor: pointer; color: #000000; padding: 4px; background: #FFFFFF; white-space: nowrap; }
.auto-complete-selected { display: block; cursor: pointer; color: #000000; padding: 4px; background: #DDDDDD; white-space: nowrap; }

.nmb { margin: 0 auto; width: 420px; background: #FAFAFA; border: 1px solid #DBDBDB; }
.nmb td.photo { padding: 10px; }
.nmb a.photo:hover { opacity: 0.9; filter: alpha(opacity=90); }
.nmb td.text { font-size: 15px; padding-left: 15px; width: 100%; text-align: center; padding: 10px; }
.nmb a { color: #000000; text-decoration: none; }
.nmb a:hover { color: #666666; }

table.data { border-collapse: collapse; border: #E2E2E2 solid 1px; font-size: 12px; }
table.data th { font-family: Tahoma; color: #333333; }
table.data th { background: #F0F0F0; padding: 4px 7px; border: #E2E2E2 solid 1px; text-align: center; }
table.data td { padding: 4px 7px; border: #E2E2E2 solid 1px; color: #333333; line-height: 1.4; }

.modalForm { padding: 15px; background: #FAFAFA; border: 5px solid #444; }

.uploadStatus { width: 330px; margin-left: auto; margin-right: auto; background: #FAFAFA; border: 1px solid #DBDBDB; padding: 10px 0px; text-align: center; }
.uploadStatus table { border-collapse: collapse; font-size: 11px; width: 300px; margin: 0 auto; margin-bottom: 12px; }
.uploadStatus th { border: 1px solid #CCCCCC; padding: 2px; }
.uploadStatus td { border: 1px solid #CCCCCC; padding: 2px; }
.uploadStatus th { text-align: left; font-weight: normal; }
.uploadStatus td { text-align: center; }

#uploadProgessBar { margin: 2px auto; width: 300px; height: 20px; border: 1px inset; background: #EEEEEE; text-align: left; margin-bottom: 15px; margin-top: 5px; }
#uploadProgessBarDone { float: left; text-align: left; width: 0px; height: 20px; background: #0099CC; }
#uploadStatusLabel { font-size: 13px; }

.pn a { display: block; padding: 0px 12px 0px 0px; color: #666; text-decoration: none; font-size: 14px; }
.pn a:hover { text-decoration: underline; }
.pn a.selected { font-size: 16px; font-weight: bold; color: #000000; }
.pn a.np { text-decoration: none; color: #999999; font-size: 14px; }
.pn a.np:hover { text-decoration: underline; }

#cartModalForm { background: #FAFAFA; border: 1px solid #DBDBDB; padding: 20px; width: 800px; margin: 30px auto; }
#cartModalForm h1 { margin-bottom: 15px; }
#cart-summary span { font-size: 17px; }

.cart { border-collapse: collapse; width: 100%; }
.cart th { background: white; padding: 6px 10px; border: #D6D6E9 solid 1px; text-align: center; font-weight: normal; white-space: nowrap; }
.cart td { background: white; padding: 6px 10px; border: #D6D6E9 solid 1px; line-height: 1.4; height: 45px; }
.cart td.summary { text-align: right; }
.cart td.name { width: 100%; }
.cart td.price { white-space: nowrap; text-align: right; }
.cart td.qty { white-space: nowrap; text-align: center; }
.cart td.qty input { width: 30px; }
.cart td.discount { white-space: nowrap; text-align: center; }
.cart td.amount { white-space: nowrap; text-align: right; }
.cart td.total-amount { font-weight: bold; font-size: 14px; font-family: Tahoma; }
.cart img { display: block; margin: 0; }

.cart-close-button, .cart-checkout-button 
{
	display: block;
	float: left;
}

.cart-checkout-button { margin-right: 10px; }


.commonForm { padding: 10px 5px 20px 5px; margin: 0 auto; }
.commonForm h1 { margin-bottom: 20px; }
.commonForm legend { margin-left: 1em; color: #000000; font-weight: bold; padding: 0 10px; margin: 0 auto; display: none;  }
.commonForm label { float: left; width: 14em; margin-right: 1em; text-align: left; color: #666666; } 
.commonForm select { margin: 0; border: 1px solid #BBB; padding: 3px 3px 3px 1px; } 
.commonForm input { margin: 0; } 
.commonForm input[type='text'] { width: 20em; padding: 8px 3px; border: 1px solid #BBB; } 
.commonForm input[type='date'] { width: 20em; padding: 5px 3px; border: 1px solid #BBB; } 
.commonForm input[type='email'] { width: 20em; padding: 8px 3px; border: 1px solid #BBB; } 
.commonForm input[type='password'] { width: 20em; padding: 8px 3px; border: 1px solid #BBB; } 
.commonForm input[type='checkbox'] { vertical-align: middle; margin-top: -3px; }
.commonForm fieldset { margin: 0 0 0 0; padding: 0; border: 0px solid #DEDEDE; }
.commonForm fieldset ol { padding: 0; list-style: none; }
.commonForm fieldset li { padding-bottom: 0.5em; }
.commonForm fieldset ol ol { margin-left: 12em; margin-top: 1em; overflow: hidden; }
.commonForm fieldset ol ol label { float: none; }
.commonForm fieldset ol ol li { float: left; width: 100%; }
.commonForm fieldset.submit { float: none; width: auto; border: 0 none #FFF; padding-left: 10em; }  
.commonForm .errors { padding-left: 11em; color: red; padding-top: 10px; }
.commonForm .form-messages { padding-bottom: 20px; padding-top: 5px; line-height: 1.3; }
.commonForm .form-buttons, .commonForm .form-messages, .commonForm fieldset ol ol, .commonForm .form-right { margin-left: 0px; padding-left: 0px; }
.commonForm button { /*font-size: 16px;*/ display: inline;}
.commonForm a { font-size: 16px; }
.commonForm .form-error-message { color: red; }
.commonForm .element-error-message { font-size: 11px; color: red; margin-top: 3px; margin-left: 13em; }
.commonForm .required { float: right; color: #888; margin-right: -5px; }

#loginForm { display: table; margin-left: auto; margin-right: auto; }
#loginForm input[type=text] { width: 330px; }
#loginForm input[type=password] { width: 330px; }
#loginForm a { float: right; margin-top: 8px; }

#loginForm .form-messages { max-width: 330px; }

/*cookie*/
#cookie_notification{
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  position: fixed;
  bottom: 2vh;
  left: 50%;
  width: 900px;
  max-width: 90%;
  transform: translateX(-50%);
  padding: 25px;
  background-color: var(--bg);
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

#cookie_notification p{
  margin: 0;
  font-size: 0.7rem;
  text-align: left;
  color: $color_text;
}


@media (min-width: 576px){
  #cookie_notification.show{
    display: flex;
  }
  .cookie_accept{
    margin: 0 0 0 25px;
  }
}

@media (max-width: 575px){
  #cookie_notification.show{
    display: block;
    text-align: left;
  }
  .cookie_accept{
    margin: 10px 0 0 0;
  }
}
/*cookie*/

/*rebranding*/
#rebranding
{
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  padding: 25px;
  background: rgba(255,255,255,0.9);
  z-index: 2000;
  text-align: center;
  color: #474749;
  font-size: 18px;
  font-weight: 600;
}

#rebranding button { margin: 20px auto; border: 2px solid #474749; color: #474749; box-shadow: none; text-transform: none; font-weight: 500; }

#rebranding img { width: 280px; height: auto; margin: 0 auto;}

#rebranding.show { display: block; }

/*rebranding*/