header, nav, article, section, aside, footer{ display:block; }
html { height: 100%; overflow-y: scroll; }
body { min-width:160px; margin: 0px; padding: 0px; height: 100%; font-family: 'Open Sans', sans-serif, arial; font-size: 16px; background: white; color: #404040;  position: relative; line-height: 1.5; min-width: 300px; }
/*footer { position: absolute; bottom: 0; border: 1px solid red;}*/
img { border: none; }
a { color: #006699; outline: none; text-decoration: none;}
a:hover { color: #CC0000; text-decoration: none; }
form { margin: 0px; } 

#page { min-height: 100%; position: relative; min-width: 50px; margin: 0 auto; }
#head { margin: 0 auto; background-color: #EAEFF2;}
#main { margin: 0 auto; max-width: 1200px;}
#hfooter { height: 300px; }
#foot { margin: 0 auto; height: 300px; position: absolute; left: 0; bottom: 0; right: 0; padding: 0 20px; background-color: #669ACC;}


h1 { font-family: 'Russo One', sans-serif, arial; font-weight: normal; margin: 0; font-size: 48px; color: #E20014; padding: 0; line-height: 1.0; text-align: center; padding: 20px 0; margin-bottom: 30px;}
h2 { font-family: 'Russo One', sans-serif, arial; font-weight: normal; margin: 0; font-size: 36px; color: #E20014; padding: 0; line-height: 1.0; text-align: center; padding: 20px 0;}

#site-path { margin-bottom: 25px; text-align: left; margin-left: 5px; }
#site-path a { font-size: 16px; }

@media screen and (max-width: 768px) 
{
    nav.main li {display: block;}
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
}	

button, a.button
{
	background: #CC0000;
	border: 0; 
	margin: 0;
	color: white; 
	padding: 7px 10px; 
	text-decoration: none; 
	font-size: 14px; 
	font-weight: bold; 
	cursor: pointer; 
}

.articles-item {margin: 0 15px;}
.articles-item .name {text-align: center; margin: 0; }
.articles-item .name a {font-size: 20px; color: #317FEC; margin:0 auto; text-decoration: underline; text-transform: uppercase;}
.articles-item .name a:hover { text-decoration: none; }
.articles-item .name h2 {margin: 0; padding:15px; margin-top: 15px; font-size: 20px; color: #317FEC;}
.articles-item .date {text-align: center; margin-bottom: 20px;}
.articles-item .image { }
.articles-item .image img {max-width: 100%; }
.articles-item .description {font-size: 14px; margin: 15px 0;}
.articles-item .details {text-align; right; position: relative; height: 30px;}

.articles-item .details .delimetr {border-top: 1px solid #CCC;position: absolute; top: 18px; width: 100%;}
.articles-item .details a {display:block; padding: 5px 7px; border: 1px solid #CCC; position: absolute; right: 0; text-decoration: none; background: #FFF;}


.modalShadowLayout { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 100%; background-color: #000000; opacity: 0.6; }


.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 { background: white; padding: 10px 5px 20px 5px; margin: 50px auto 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: 13em; margin-right: 0.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='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: 14em; }  
.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: 12em; padding-left: 12px; }
.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_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: white;
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.cookie_accept {  }


#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;
  }
}