?@charset "utf-8";
/* CSS Document */

@font-face {
    font-family:'magistralc-boldwebfont';
    src: url('magistralc-boldwebfont.eot#') format('eot');
    src: local('magistralc-boldwebfont'), url('magistralc-boldwebfont-webfont.woff') format('woff'), url('magistralc-boldwebfont.ttf') format('truetype'), url('magistralc-boldwebfont.svg#webfontfjbBliqi') format('svg');
    font-weight:normal;
    font-style:normal;
    }

/* Reset
----------------*/  

HTML {
    font-size:100.01%;
    }
HTML,BODY,DIV,SPAN,APPLET,OBJECT,IFRAME,
H1,H2,H3,H4,H5,H6,P,A,BLOCKQUOTE,PRE,ABBR,
ACRONYM,ADDRESS,BIG,CITE,CODE,DEL,DFN,EM,
FONT,INS,KBD,Q,S,SAMP,SMALL,STRIKE,
STRONG,SUB,SUP,TT,VAR,DL,DT,DD,OL,UL,
LI,FIELDSET,FORM,LABEL,LEGEND,TABLE,
CAPTION,TBODY,TFOOT,THEAD,TR,TH,TD,HR {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
   /* font-family: Arial, Helevica;
	font-size: 13px;*/
    }

html {
	height: 100%;
}
	
body {
	

   background: white;
   background-attachment: fixed;
    -moz-background-size: cover; /* Firefox 3.6+ */
    -webkit-background-size: cover; /* Safari 3.1+ � Chrome 4.0+ */
    -o-background-size: cover; /* Opera 9.6+ */
   background-size: cover; /* ����������� �������� *//*cover ����������� ������ ���� ������������� ��� ������ ���� ��������*/
   
}	
	
img {
    border:0;
    outline:none;
}


.top-page{
  position: relative;
  padding-top: 0px;
 	  top: 0px;       /*��������� �� ����������� ����� ��� ����� ��������*/
  bottom: 0px;
  width: 100%;

  height: 140px;  /*������ �����*/
  margin-left: auto;  /*������������ �� ������ ����*/
  margin-right: auto; /*������������ �� ������� ����*/
  background: rgba(0, 0, 0, 0) no-repeat;
  background-size: cover; 
  z-index: 50;
}


.h-page{
  position: relative;
  padding-top: 0px;
 	  top: -50px;       /*��������� �� ����������� ����� ��� ����� ��������*/
  bottom: 0px;
  right: 0px;
  width: 100%;
  height: 650px;  /*������ �����*/
  margin-left: auto;  /*������������ �� ������ ����*/
  margin-right: auto; /*������������ �� ������� ����*/

   background: url(../img/fon1.jpg) no-repeat;
   background-position: center center;
   background-size: cover;
   z-index: auto;
}

.h-page2{
position: relative;
  padding-top: 0px;
 	  top: -50px;       /*��������� �� ����������� ����� ��� ����� ��������*/
  bottom: 0px;
  width: 100%;
  height: 100%;
  margin-left: auto;  /*������������ �� ������ ����*/
  margin-right: auto; /*������������ �� ������� ����*/
  background: rgba(0, 0, 0, 0) no-repeat;
  z-index: auto;

  /*z-index: 60;*/

}


.bottom-line {
position: relative;
  padding-top: 0px;
 	  top: 0px;      /*��������� �� ����������� ����� ��� ����� ��������*/
  bottom: 0px;
  width: 100%;
  height: 160px;  /*������ �����*/
  margin-left: auto;  /*������������ �� ������ ����*/
  margin-right: auto; /*������������ �� ������� ����*/
  background: url(../img/fon_niz.png) no-repeat;
 z-index: 30;
}


.child {
  background: rgba(0, 0, 0, 0) no-repeat;
    border: 0px solid;
    padding: 10px;
    float: left;
    width: 23.5%;
    margin-right: 2%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.child:last-child {
    margin-right: 0;
}


.my_boks01 {
	margin: 5px;
	padding: 10px 10px;
	display: inline-block;
	box-sizing: border-box;
}

@media (max-width: 1024px) {
  .img {
  display: none;
 }
 }
  @media (max-width: 600px), (min-width: 1023px) {
  .img2 {
  display: none;
 }
 }
  @media (max-width: 1px), (min-width: 599px) {
  .img4 {
  display: none;
 }
 }


 .modalDialog {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.75);
  z-index: 900;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  display: none;
  pointer-events: none;
 }
 .modalDialog:target {
  display: block;
  pointer-events: auto;
 }
 .modalDialog > div {
  width: 50%;
  height: 60%;
  position: relative;
  margin: 10% auto;
  padding: 5px 5px 5px 5px;
  border-radius: 5px;
  background: #ffffff;
  /* background: -moz-linear-gradient(#fff, #fff);
  background: -webkit-linear-gradient(#fff, #fff);
  background: -o-linear-gradient(#fff, #fff);  */
 }
 .close {
  background: #606061;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
 }
  .close:hover { background: #f2682a; }

  .modalMenu {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*width: 50%;*/
    background: rgba(0,0,0,0.9);
    z-index: 500;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    display: none;
    pointer-events: none;
   }
   .modalMenu:target {
    display: block;
    pointer-events: auto;
   }
   .modalMenu > div {
    width: auto;
    height: auto;
    position: relative;
    margin: 4.4% 6.5%;
    background: rgba(255, 255, 255, 0);
   }
   .closeMenu {
    color: #ffffff;
    line-height: 35px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
   }
   .closeMenu:hover { background: rgba(0,0,0,0); }


   A{
    text-decoration: underline; /* Добавляем подчеркивание при наведении курсора на ссылку */
    text-decoration: none; /* Убирает подчеркивание для ссылок */
    color: rgb(255, 249, 249);
   } 
  A:hover { 
  /*  text-decoration: none; /* Убирает подчеркивание для ссылок */
    color: #f2682a; /* Ссылка цвета */
   } 
  
  
  p.dline {
   line-height: 1.4;
  }