
/* @media (min-width: 1200px) { */
  /* .container { */
    /* width: 50%; */
  /* } */
.container {
	width: 98%;
	}
	.top_block {
	background-position: left;
	margin-bottom: 12px;
	display: inline-block;
	background-color: #2d91d4;
	height: 74px;
	/* vertical-align: middle; */
	/* line-height: 50px; */
	padding: 10px 21px 14px 21px;
	vertical-align: middle;
	border: #999 3px solid;
	border-radius: 17px;
	width: 100%;
	text-align: center;
	line-height: 0.85;
}
.navbar-form {
    padding: 0px 16px;
	    margin-top: 4px;
}
<!-- Для страницы Защита в суде -->


.panel-default {
    border-color: #ddd;
	width: 100%
}

.panel {
    margin-bottom: 2px;
    background-color: #eeeeee;
    /* border: 2px solid rgba(175, 40, 40, 0.5); */
    <!-- border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05); -->
    padding: 2px 0px;
    text-align: center;
    width: 100%;
}
.panel1 {
    margin-bottom: 2px;
    background-color: #00FA9A;
    border: 2px solid #eeeeee;
    <!-- border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05); -->
    padding: 2px 0px;
    text-align: center;
    width: 100%;
}
.panel-body {
    padding-top: 10px;
    padding-right: 5px;
    padding-bottom: 10px;
    padding-left: 5px;
}

.list1a {
    margin: 20px 0 0;
    padding:0;
    list-style: none;
    counter-reset: li;
}
.list1a li {
    border: 2px solid #337AB7;
    background: #EBF3FA;
    position: relative;
    margin-bottom: 20px;
    padding: 16px 10px;
	text-align: left;
}
.list1a li:hover {
    z-index: 1;
}
.list1a li:before {
    border: 2px solid #337AB7;
    position: absolute;
    top: -14px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: bold;
    color: #337AB7;
    background: #F7FAFD;
    counter-increment: li;
    content: counter(li);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.list1a li:hover:before {
    background: #337AB7;
    color: #FFF;
    -webkit-transform: translate(-12px, 0);
    -ms-transform: translate(-12px, 0);
    -o-transform: translate(-12px, 0);
    transform: translate(-12px, 0);
}
.list1a li:after {
    content: "";
    position: absolute;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -webkit-transition-property: width;
    transition-property: width;
    z-index: -1;
    background: #FFF;
    height: 100%;
    left: 0;
    top: 0;
    width: 0;
}
.list1a li:hover:after {
    width: 100%;
}
p.dline {
line-height: 1.6;
}	
<!-- Красивое выпадающее меню --> 
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300&subset=latin,cyrillic);
*, ::after, ::before {
    box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
/* demo контейнер */
.demo {
    max-width: 1082px;
    /* padding: 0 20px; */
    margin: -1% 3% 1% -1%;
}
/* скрываем чекбоксы и блоки с содержанием */
.hide,
.hide + label ~ div {
    display: none;
}
/* вид текста label */
.hide + label {
    margin: 0;
    padding: 2px;
    color: green;
    cursor: pointer;
    display: inline-block;
}
/* вид текста label при активном переключателе */
.hide:checked + label {
    color: red;
    border-bottom: 0;
}
/* когда чекбокс активен показываем блоки с содержанием  */
.hide:checked + label + div {
    display: block; 
    background: #efefef;
    -moz-box-shadow: inset 3px 3px 10px #7d8e8f;
    -webkit-box-shadow: inset 3px 3px 10px #7d8e8f;
    box-shadow: inset 3px 3px 10px #7d8e8f;
    margin-left: 1px;
    padding: 10px;
    /* чуточку анимации при появлении */
     -webkit-animation:fade ease-in 0.5s; 
     -moz-animation:fade ease-in 0.5s;
     animation:fade ease-in 0.5s; 
}
/* анимация при появлении скрытых блоков */
@-moz-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }   
}
.hide + label:before {
    background-color: #1e90ff;
    color: #fff;
    content: "\002B";
    display: block;
    float: left;
    font-size: 14px; 
    font-weight: bold;
    height: 16px;
    line-height: 16px;
    margin: 2px 5px;
    text-align: center;
    width: 16px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.hide:checked + label:before {
    content: "\2212";
}
p {
    margin: 3px;
    text-align: left;
}
h4 {
    /* margin: 0 0 10px; */ 
    text-align: left;
}
h5 {
    /* margin: 0 0 10px; */ 
    text-align: center;
}
.col-md-12 {
	padding-right: 6px;
    padding-left: 8px;
}
@media screen and (min-width: 1200px) and (max-width: 1900px) {
  body {
    font-size: 16px;
	max-width: 100%;
	}
	}
@media screen and (min-width: 820px) and (max-width: 1200px) {
  body {
    font-size: 14px;
max-width: 98%;	
  }
  }
 @media screen and (min-width: 400px) and (max-width: 820px) {
  body {
    font-size: 12px; 
	max-width: 98%;
  }
  }
  @media screen and (min-width: 200px) and (max-width: 400px) {
  body {
    font-size: 11px;
	max-width: 98%;
  }
  }
.col2 li{display:block;float:left;width:49%;} 
.col2{margin:0;padding:0;list-style-type:none;}
.tab { text-indent:5% }


.toc-heading { /*только для 2 способа на HTML*/
    content: 'Содержание';
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #8495a3;
}
.toc-navi a {
    text-decoration: none;
    color: #545454;
}
.toc-navi a:hover, .toc-navi a:active {
    text-decoration: underline;
}
.toc-navi ol {
    padding: 0 0 0 20px;
}
toc-navi ol li {
    margin: .5em 0;
}
@media only screen and (max-width: 768px){
    .toc-navi {
        float: none;
        max-width: 100%;
        margin-left: 0;
    }
}
a.toc-navi {
    display: block;
    position: relative;
    top: -550px;
    visibility: hidden;
}
h3 { 
scroll-margin-top: 10rem; 
}

div.container3 {
   margin-bottom:15px;
   margin-left:10px;
   margin-right:10px;
   margin-top:10px;
   text-align:justify;
   }

p.rastiagka {text-align:justify;
	
}
/* Для скачивания файла */
.input__wrapper {
    width: 100%;
    position: relative;
    margin: 15px 0;
    text-align: center;
  }
   
  .input__file {
    opacity: 0;
    visibility: hidden;
    position: absolute;
  }
   
  .input__file-icon-wrapper {
    height: 12%;
    width: 14%;
    margin-right: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border-right: 1px solid #fff;
    max-width: 100%;
  }
   
  .input__file-button-text {
    line-height: 1;
    margin-top: 1px;
  }
   
  .input__file-button {
    width: 100%;
    /* <!-- max-width: 290px; --> */
    height: 60px;
    background: #dbe4e2f7;
    color: #0b0b0b;
    /* font-size: 1.125rem; */
    font-weight: 700;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    border-radius: 3px;
    cursor: pointer;
    /* <!-- margin: 0 auto; --> */
  }
      
      background: url(image.jpg) no-repeat;
      background-size: cover;
      
      label {
      display: inline-block;
      max-width: 95% !importen;
      margin-bottom: 5px;
      margin-left: 30px;
      font-weight: bold;
  }
  /* Конец для скачивания файла */
  /* стили картинки для выпадающего меню */ 
/* .wrapper {
        width: 300px !important;
        height: 300px;
        border: 5px solid #515151;
      } */
      .exmpl {
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
      }
     /*  .exmpl img {
        height: 600%;
        width: 60%;
      } */
      .btn-close{color:#aaa !important;font-size:30px !importen;
        text-decoration:none !important;
        position:absolute !importen;
        right:5px;top:0 !importen}
        .btn-close:hover{color:#919191 !important}
        #close{display:none !important}
        
            
        .article.hl_files1 {
            border-left: 4px solid #0A88CD !important;
            border-bottom: 1px solid #DAE1E8 !important;
            border-right: 1px solid #DAE1E8 !important;
            overflow: hidden !importen;
            position: relative !importen;
        }
        .article p, article ul, article ol, article blockquote {
            margin: 20px 0;
            font-size: 16px;
            line-height: 1.5;
        }
        .article.hl_files1:before {
            content: "" !importen;
            position: absolute !importen;
            right: 0;
            top: 0;
            left: 0;
            height: 37px;
            z-index: 1;
            background: #F6F6F6 !importen;
            border-top: 1px solid #DAE1E8 !importen;
            border-bottom: 1px solid #DAE1E8 !importen;
        }
        .article.hl_files1.f12345 {
            display: inline-block !importen;
            background-color: #0A88CD !importen;
            color: #FFF !importen;
            font-weight: 700 !importen;
            padding: 7px 19px 8px 15px !importen;
            margin-bottom: 20px !importen;
            position: relative !importen;
            z-index: 2 !importen;
        }
            /* <!-- Поле скачивания --> */
        
        .input__wrapper {
          width: 100%;
          position: relative;
          margin: 15px 0;
          text-align: center;
        }
         
        .input__file {
          opacity: 0;
          visibility: hidden;
          position: absolute;
        }
         
        .input__file-icon-wrapper {
          height: 12%;
          width: 14%;
          margin-right: 15px;
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-align: center;
              -ms-flex-align: center;
                  align-items: center;
          -webkit-box-pack: center;
              -ms-flex-pack: center;
                  justify-content: center;
          border-right: 1px solid #fff;
          max-width: 100%;
        }
         
        .input__file-button-text {
          line-height: 1;
          margin-top: 1px;
        }
         
        .input__file-button {
          width: 100%;
          /* <!-- max-width: 290px; --> */
          height: 60px;
          background: #dbe4e2f7;
          color: #0b0b0b;
          /* font-size: 1.125rem; */
          font-weight: 700;
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-align: center;
              -ms-flex-align: center;
                  align-items: center;
          -webkit-box-pack: start;
              -ms-flex-pack: start;
                  justify-content: flex-start;
          border-radius: 3px;
          cursor: pointer;
          /* <!-- margin: 0 auto; --> */
        }
            
            background: url(image.jpg) no-repeat;
            background-size: cover;
            
            label {
            display: inline-block;
            max-width: 95% !importen;
            margin-bottom: 5px;
            margin-left: 30px;
            font-weight: bold;
        }
        .modalDialog {
            position: fixed;
            font-family: Arial, Helvetica, sans-serif;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: rgba(0,0,0,0.8);
            z-index: 99999;
            -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: 90%;
            position: relative;
            margin: 10% auto;
            padding: 5px 20px 13px 20px;
            border-radius: 10px;
            background: #fff;
            background: -moz-linear-gradient(#fff, #999);
            background: -webkit-linear-gradient(#fff, #999);
            background: -o-linear-gradient(#fff, #999);
        }	
         .close {
            background: #0a0000;
            color: #fafafc;
            line-height: 45px;
            /* position: absolute; */ 
            right: -12px;
            text-align: center;
            top: -10px;
            width: 45px;
            text-decoration: none;
            font-weight: bold;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            border-radius: 32px;
            -moz-box-shadow: 1px 1px 3px #000;
            -webkit-box-shadow: 1px 1px 3px #000;
            box-shadow: 1px 1px 3px #0a0909;
        }
        
        .close:hover { background: #00d9ff; }
        /* стили картинки для выпадающего меню */ 
        .test1 { text-indent: 0px; }