/* Magistral template (Joomla 5/6). Fonts are loaded from Google Fonts (with system fallbacks). */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
body {
	background-image: url(img/background-dots.png);
	font-family: 'Helvetica Neue', Arial, sans-serif;
	color: black;
}
html,body{
	padding: 0;
	margin: 0;
}

h1#logo{
    padding: 0;
    margin: 0;
    display: block;
}
h1#logo > a{
    text-indent: -9999px;
}
.body-wrapper {
	min-height: 1000px;
	/*background-image: url(img/focus.png);*/
	background-position: top center;
	background-repeat: no-repeat;
    min-width:1300px;
	/*max-width:1600px;*/
	width:100%;
	margin:0 auto;
}
.wrap{
	width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 100;
}
/* header */
.logo{
	width: 180px;
    height: 85px;
    background: url(img/logo2.png) center center/75px no-repeat;
    display: block;
    margin: 0 auto;
}
header{
	width: 100%;
    min-width: 1300px;
	position: absolute;
	font-family: 'Roboto', Arial, sans-serif;
	background-image: url(img/up.png);
	background-position: top center;
	background-repeat: repeat-x;
	z-index: 10;    
}
header .wrap{
	position: relative;
	z-index: 100;
}
header a{
	font-family: 'Roboto', Arial, sans-serif;
}
/*.topmenu-wrapper .clear{
	margin-bottom: -130px;
}*/
#slider, .slide {height: 770px; width: 100%;}
#wr-slider{
	width: 100%;
	margin: 0 auto;
	height: 770px;
}
#wr-slider .owl-controls{
    width: 1200px;
    margin: 0 auto;
    margin-top: -200px;
    position: relative;
}
#wr-slider .owl-dots{
    width: 270px;
    float: right;
}
#wr-slider .owl-theme .owl-dots .owl-dot span {
    width: 15px;
    height: 15px;
    background: none;
    border: 3px solid white;
}
#wr-slider .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: white;
}
.block-contacts{
	height: 70px;
    width: 570px;
    position: absolute;
    top: 10px;
}
#block-contacts1{
	left: 40px;
}
#block-contacts1 div{
	width: 200px;
}
#block-contacts2{
	right: -60px;
}
#block-contacts2 div:first-child{
	width: 240px;
}
#block-contacts2 div:last-child{
	width: 320px;
}
.block-contacts div{
	display: inline-block;
	vertical-align: top;
}
.block-contacts p, .block-contacts a{
	padding:0;
	margin:0; 
	
}
.block-contacts p{
	padding-left: 20px;
}
.block-contacts, .block-contacts a{
	color: white;
}
.adress{
	background: url(img/map.png) no-repeat;
}
.phone{
	background: url(img/phone.png) no-repeat;
}
.email{
	background: url(img/mail.png) no-repeat;
}
.big-inf{
	width: 340px;
	position: absolute;
	top: 155px;
    left: 30px;
}
.big-inf .p1{
    text-transform: uppercase;
    color: #ff9900;
    border-bottom: 3px solid #ff9900;
    font-size: 187%;
    font-family: 'Roboto', Arial, sans-serif;
    text-shadow: 0 1px black;
    margin: 0;
}
.big-inf .p2{
    color: white;
    font-size: 160%;
    letter-spacing: -0.5px;
    margin: 0;
}
.big-inf p{
	margin: 0;
    text-align: center;
    text-shadow: 0 1px black;
}
/* ВЕРХНЕЕ МЕНЮ */
.topmenu-wrapper {
	height: 615px;
}
.item-107{/*пункт каталог*/
	display: none !important;
}
#main-menu{
	margin: 0 auto;
    width: 94%;
    padding-top: 3px;
    color: white;
}
#main-menu li{
	float: left;
}
#main-menu a{
	color: white;
	font-size: 120%;
    padding: 10px 20px;
    position: relative;
    transition: all 0.35s;
}
#main-menu a:hover{
	background: url(img/menu-hover.png) repeat-x;
}
#main-menu li.active{
	background: url(img/menu-hover.png) repeat-x;
}
/*--------------*/
/* ЛЕВЫЙ БЛОК */
.left-block{
	width: 230px;
	float: left;
}
.left-menu{
	border: 3px solid #ff9900;
	width: 189px;
}
.left-block a{
	color: white;
	transition: all 0.35s;
}
.left-block a:hover{
    text-decoration: none !important;
    background-color: #d68306 !important;
}
.left-logo{
	width: 191px;
	height: 363px;
	background: url(img/left-logo.jpg) no-repeat;
}
/*--------------*/
.clear{
	clear: both;
}
/* Блок с контентом */
.def-content{
	width: 700px;
}
#content-block{
	background: white;
	width: 970px;
	float: left;
	position: relative;
}
#content-block div{
	vertical-align: top;
}
.magistral-content{
	
	float: left;
    padding: 20px 20px 250px 20px;
}
/* Новости */
.close-news{
	display: block !important;
}
#magistral-news{
	display: none;
	width: 270px;
    height: 100%;
    position: relative;
    right: 0;
    box-shadow: -5px 0 5px rgba(25,25,75,0.2);
    padding-top: 70px;
    float: right;
    padding: 70px 15px 20px;
}
#magistral-news .news-title{
	display: none;
}
#magistral-news .newsdate{
    font-size: 105%;
    display: block;
    width: 53px;
    height: 40px;
    color: #336699;
    margin-bottom: 10px;
    font-family: 'Roboto', Arial, sans-serif;
    
}
#magistral-news .newsdate p{
	margin: 0;
}
#magistral-news .date-bottom{
	border-top: 3px solid #336699;
}
#magistral-news .newstext{
	color: black;
	font-family: 'Roboto', Arial, sans-serif;
}
.itemlist .oneitem a{
	font-size: 120%;
}
.itemlist .oneitem{
	margin-bottom: 30px;
}

/* распродажа */
.stock{
	padding: 30px 25px 15px;
}
.stock .newsdate{
	display: none;
}
.stock .news-title, .stock .newstext{
	display: inline-block;
}
.stock .news-title{
	width: 440px;
	padding: 2px 0;
}

.attention{
	width: 100%;
	height: 245px;
	background: #325f8d;
	position: relative;
    padding: 70px 40px 0;    
    color: white;
    width: 700px;
    margin: -20px;
    margin-bottom: 30px;
}
.attention p{
	font-size: 130%;
}
.attention-border{
	background: url(img/bottom-ellips.png) repeat-x;
	width: 100%;
	height: 4px;
    position: absolute;
    bottom: -4px;
    left: 0;

}
.attention-orange{
	width: 130px;
	height: 40px;
	background: #ff9900;
	line-height: 40px;
	text-align: center;
	text-transform: uppercase;
	color: white;
	position: absolute;
	left: 0;
	top: 15px;
	font-size: 120%;
	display: block;
	text-decoration: none;
	transition: all 0.35s;
}
.bottom-content{
	font-family: 'Helvetica Neue', Arial, sans-serif;
	min-height: 306px;
}
.stock-orange{
	top: -20px;
	width: 135px;
}
.attention-orange:hover{
	color: white;
	background: #d68306;
	text-decoration: none;
}
.stok-little{
	width: 700px !important;
}
.stock{
	height: 200px;
    position: absolute;
    background: #ccc;    
    bottom: 0;
    left: 0;
    width: 100%;
}
.stock .news{
	margin-bottom: -10px;
}
.stock .news-title{
	border-right: 1px solid white; 
}
.stock .newstext{
	margin-left: 20px;
	cursor: default;
    color: black;
    text-decoration: none;
}
.stock-a .oneitem a{
	font-size: 120%;
	color: black;
	display: inline-block;
	vertical-align: top;
}
.stock-a .oneitem a:hover{
	cursor: default;
	text-decoration: none;
}
.stock-a .oneitem .textitem{
	display: inline-block;
	float: right;
	vertical-align: top;
}
.stock-a .oneitem{
	margin-bottom: 30px;
}
.stock-a{
	width: 500px;
}
/* Футер */
footer{
	padding: 20px 0;
	position: relative;
}
footer div{
	height: 290px;
	display: inline-block;
	color: white;
	vertical-align: top;
}
#footer-logo{
	background: url(img/logo.png) no-repeat top center;
    padding-top: 120px;
    width: 227px;
    vertical-align: bottom;
    height: 240px;
    text-align: center;
}
#footer-cont{
    padding-left: 40px;
}
#footer-cont a{
	color: #fff;
	text-decoration: underline;
}
#virtech {
	width: 80px;
	height: 40px;
	background-image: url(img/virtech-logo.png);
	text-indent: -9999px;
	display: block;
	position: absolute;
	right: 0;
	top: -7px;
}
.informers{
	position: absolute;
    width: 200px;
    right: 0;
    bottom: 0;
    height: 60px;
}

#magistral-news .attention-orange{
	width: auto;
	padding: 0 10px;
}
/* Native cover sizing replaces the legacy jQuery liCover plugin. */
#slider .slide { position: relative; overflow: hidden; }
#slider .slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#slider .owl-stage-outer, #slider .owl-stage, #slider .owl-item { height: 100%; }
#slider .slide .magistral-slider-fallback { object-fit: cover; }
/* Category thumbnails no longer depend on the external phpThumb script. */
.wrcategory { display: flex; flex-wrap: wrap; gap: 14px; }
.rmscategory { width: 170px; max-width: 100%; }
.rmscategory .category-image img { width: 170px; height: 150px; max-width: 100%; object-fit: cover; }
.rmscategory .category-title { display: block; }
.magistral-content .com-content-article a, .magistral-content .itemlist a { overflow-wrap: anywhere; }
.magistral-content { min-width: 0; }
/* Graceful fallback on narrower screens without changing the desktop design. */
@media (max-width: 1299px) {
  .body-wrapper { min-width: 0; }
  header { min-width: 0; }
  .wrap { width: min(1200px, 100%); }
  .left-block { width: 19%; }
  #content-block { width: 81%; }
  .left-menu, .left-logo { max-width: 100%; }
  .block-contacts { max-width: 48%; }
  #block-contacts2 { right: 0; }
}
@media (max-width: 767px) {
  .body-wrapper { min-height: 0; }
  .topmenu-wrapper { height: auto; }
  header { position: relative; background-color: #263747; background-image: none; }
  header .wrap { display: flex; flex-direction: column; padding: 12px 15px; }
  .block-contacts, #block-contacts1, #block-contacts2, .big-inf { position: static; width: 100%; max-width: 100%; height: auto; }
  #block-contacts1 div, #block-contacts2 div, #block-contacts2 div:first-child, #block-contacts2 div:last-child { width: 100%; }
  h1#logo { order: -1; }
  #main-menu { width: 100%; padding: 10px 0; }
  #main-menu li { float: none; display: inline-block; }
  #main-menu a { display: block; padding: 8px 12px; }
  .big-inf { margin-top: 5px; }
  .big-inf .p1 { font-size: 140%; }
  .big-inf .p2 { font-size: 115%; }
  #wr-slider, #slider, #slider .slide { height: 260px; }
  .wrap { width: 100%; }
  .left-block, #content-block { float: none; width: 100%; }
  .left-menu { width: 100%; border-width: 0 0 3px; }
  .left-logo { display: none; }
  .magistral-content { float: none; width: 100%; padding: 20px 15px 35px; }
  .def-content, .stok-little { width: 100% !important; }
  .attention { width: auto; height: auto; padding: 55px 15px 20px; margin: -20px -15px 20px; }
  #magistral-news { float: none; width: 100%; padding: 60px 15px 20px; }
  .stock-a { width: 100%; }
  footer { padding: 20px 15px; }
  footer div { height: auto; }
  #footer-logo, #footer-cont, #footer-map { display: block; width: 100%; height: auto; padding: 15px 0; }
  #footer-map iframe { width: 100%; max-width: 480px; }
  .informers { position: relative; margin-top: 20px; }
}

#magistral-news .newsdate .date-top, #magistral-news .newsdate .date-bottom { display: block; margin: 0; }
