
/*********************************@media (min-width: 640px) and (max-width: 767px))*********************************/
/*********************************@media (min-width: 768px) and (max-width: 1024px))*********************************/
@media only screen and (max-width:1199px) {
  .form-search input {
    width: 94%;
  }
  .concurrences-line::after  {
    width: 71%;
  }
  .concurrences-line-1::before {
    width: 35%;
    left: 69%;
  }
}
@media screen and (max-width: 1024px) {
  section {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .pagination {
    position: relative;
  }
  .content {
    width: 100%;
    padding-right: 0;
  }
  .main-content {
    width: 100%;
    float: left;
    padding: 0 20px;
  }
  .left-title-planshet {
    width: 100%;
    padding: 8.3% 0 0 0;
  }
  .line-container {
    width: 100%;
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }
  .left-title-planshet .vertical-line {
    height: 7px;
    width: 100%;
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
       -moz-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    margin-top: 3px;
    margin-left: 14px;
  }
  .left-title-planshet h2 {
    width: 100%;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    background: none;
    padding: 0;
    position: relative;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
       -moz-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    font-size: 25px;
  }
  aside {
    display: none;
  }
  .content-vnutrennaya {
    margin: 3.2% 0 0 0;
  }
  .contents {
    padding: 2.6% 0 0 0 !important;
  }
  .content-centr {
    width: 100%;
    float: left;
    padding: 0 0 0 0;
  }
  .form-search img {
    margin: 0 0 -7px 0;
  }
  .form-search input {
    width: 89%;
    border-radius: 10px;
    padding: 4px 0 4px 20px;
    margin: 5px 14px 20px 13px;
    border: 1px solid;
  }
  .result-search p {
    font-size: 24px;
    font-family: "Cormorant Garamond";
    float: left;
    margin: 0 0 0 0;
    font-weight: bold;
  }
  .result-search span {
    background-color: #202020;
    color: #fff;
    border-radius: 11px;
    padding: 0 3% 0 3%;
    margin: 5px 0 0 18px;
    display: inline-block;
    line-height: 23px;
  }
  .concurrences-line {
    margin: 3.8% 0 0 0;
  }
  .concurrences-line-1 p {
    margin: 0 0 0% 0;
    font-size: 32px;
    font-weight: bold;
    font-family: "CormorantGaramond";
  }
  .concurrences-line::after {
    width: 65%;
    left: 2%;
  }
  .concurrences-line-1::before {
    content: "";
    /* display: inline-block; */
    vertical-align: middle;
    width: 35%;
    height: 1px;
    background-color: #202020;
    position: relative;
    left: 70%;
    top: 29px;
  }
  .concurrences-select {
    padding: 2.5% 0 1.5% 0;
    margin-top: 2%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .search-scope-horizontal::before {
    content: '';
    top: 9.6%;
    height: 92%;
  }
  .concurrences-select span input {
    margin: 0 14px 0 0;
  }
  .search-scope-select span input {
    margin: 0 14px 0 0;
  }
  .search-scope-select {
    padding: 2% 0 2% 0;
  }
  .concurrences-select span {
    margin: 3.8% 0 0 0;
    font-size: 16px;
    font-weight: bold;
  }
  .select-input-concurrences p {
    font-size: 12px;
    font-weight: 100;
  }
  .concurrences-select select {
    width: 215px;
    height: 28px;
    background-color: #f3f3f3;
  }
  .search-scope {
    margin: 4% 0 0 0;
  }
  .select-left span {
    margin: 0 0 12% 0;
    font-size: 16px;
  }
  .select-right span {
    margin: 0 0 10% 0;
    font-size: 16px;
  }
  .select-search-scope p {
    width: 100%;
    font-size: 14px;
    margin: 0 0 7% 0;
  }
  .select-search-scope select {
    background-color: #f3f3f3;
    font-size: 19px;
  }
  .link-center a {
    color: #455ea7;
    font-size: 19px;
    font-family: 'Roboto';
  }
  /*.filter-search {
    position: relative;
    display: block;
    margin: 20px auto 0;
  }*/
  /*.link-center span {
    color: #fff;
    background-color: #202020;
    padding: 1px 5px 0 5px;
    border-radius: 10px;
    margin: 0 2% 0 0;
    font-size: 14px;
    font-family: 'Roboto';
  }*/
  .start {
    background-color: #202020;
    color: #fff;
    border-radius: 20px;
    margin: 0 1% 0 1.5%;
    padding: 0 6px 0 6px;
    font-size: 16px;
  }
  .end {
    border: 1px solid #202020;
    color: #202020;
    border-radius: 20px;
    margin: 0 0 0 1%;
    padding: 0 6px 0 6px;
    font-size: 16px;
  }
  .item {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin: 15px 0 17px 0;
  }
  .item-number {
    width: 30px;
    height: 20px;
  }
  .link-center p {
    color: #5d5d5d;
    font-size: 16px;
    margin: 11px 0 0 0;
    font-family: 'Roboto';
  }
  .page-pagination {
    margin: 12.5% 0 6.5% 0;
    font-size: 24px;
  }
  .link-center {
    margin: 0 0 0 0;
    width: 100%;
  }
  .pagination-main {
    text-align: center;
    margin: 7% 0 7% 0;
  }
  .pagination-main button {
    border-radius: 10px;
    border: 1px solid #202020;
    background-color: #fff;
    padding: 0 13px 0 13px;
  }
  .pagination-main button:hover {
    border-radius: 10px;
    border: 1px solid #202020;
    background-color: #202020;
    color: #fff;
    padding: 0 13px 0 13px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .pagination-main span {
    margin: 2%;
  }
}


/*********************************@media (min-width: 520px) and (max-width: 639px))*********************************/
/*********************************@media (min-width: 640px) and (max-width: 767px))*********************************/
@media screen and (max-width: 767px) {
  .content {
    width: 100%;
    padding-right: 0;
  }
  .main-content {
    width: 100%;
    float: left;
    padding: 0;
  }
  .left-title {
    display: block;
  }
  .result-search {
     margin-top: -19px; 
  }
  aside,
  .form-search {
    display: none;
  }
  .content-vnutrennaya {
    margin: 3.2% 0 0 0;
  }
  .contents {
    padding: 2.6% 0 0 0 !important;
  }
  .content-centr {
    width: 100%;
    float: left;
    padding: 0 0 0 0;
  }
  .form-search img {
    margin: 0 0 -7px 0;
  }
  .form-search input {
    width: 90%;
    border-radius: 10px;
    padding: 4px 0 4px 20px;
    margin: 5px 10px 21px 1px;
    border: 1px solid;
  }
  .filter-search {
    position: relative;
    display: block;
    margin: 20px auto 0;
  }
  .result-search p {
    font-size: 19px;
    font-family: "Cormorant Garamond";
    float: left;
    margin: 0 0 0 0;
    font-weight: bold;
  }
  .result-search span {
    margin: 0.5% 0 0 17%;
    display: inline-block;
    line-height: 23px;
    width: 70px;
    text-align: center;
    font-family: 'Roboto';
    font-size: 14px;
    font-weight: 700;
  }
  .concurrences-line p {
    margin: 3.8% 0 0 0;
    font-size: 24px;
  }
 
  .concurrences-line-1 p {
    margin: 0 0 0% 0;
    font-size: 32px;
    font-weight: bold;
    font-family: 'Cormorant Garamond', serif;
    font-size:24px;
  }
  .concurrences-line::after {
    width: 58%;
    left: 2%;
  }
  .concurrences-line-1::before {
    content: "";
    display: flex;
    vertical-align: middle;
    width: 10%;
    height: 1px;
    background-color: #202020;
    position: relative;
    right: 0;
    top: 17px;
    left: 89%;
  }
  .concurrences-select {
    padding: 3% 0 1.5% 0;
    margin-top: 2%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    flex-direction: column;        
  }
  .concurrences-select span input {
    margin: 0 14px 0 0;
  }
  .search-scope-select {
    padding: 2% 0 2% 0;
  }
  .concurrences-select span {
    margin: 3.8% 0 0 0;
    font-size: 16px;
    font-weight: bold;
  }
  .select-input-concurrences p {
    font-size: 12px;
    font-weight: 100;
  }
  .concurrences-select select {
    width: 215px;
    height: 28px;
    background-color: #f3f3f3;
  }
  .search-scope {
    margin: 6% 0 5% 0;
    /* display: block; */
    /* position: relative; */
  }
  .select-left {
    display: -ms-inline-grid;
    display: inline-grid;
    margin: 3% 9% 0 0;
  }
  .select-right {
    display: -ms-inline-grid;
    display: inline-grid;
  }
  .select-left span {
    margin: 3% 0 14% 0;
    font-size: 19px;
    font-weight: bold;
  }
  .select-right span {
    margin: 1% 0 14% 0;
    font-size: 17px;
    font-weight: bold;
  }
  .select-search-scope p {
    width: 100%;
    font-size: 14px;
    margin: 0 0 7% 0;
  }
  .select-search-scope {
    display: -ms-inline-grid;
    display: inline-grid;
    margin: 0;
    width: 44.5%;
  }
  .select-search-scope select {
    background-color: #f3f3f3;
    font-size: 19px;
  }
  .link-center a {
    color: #455ea7;
    font-size: 17px;
    font-family: 'Roboto';
  }
/*  .link-center span {
    color: #fff;
    background-color: #202020;
    padding: 1px 5px 0 5px;
    border-radius: 10px;
    margin: 0 2% 0 0;
    font-size: 14px;
    font-family: 'Roboto';
  }*/
  .start {
    color: #fff;
    border-radius: 20px;
    margin: 0 3% 0 3.5%;
    padding: 0px 8px;
    font-size: 16px;
  }
  .blog-categories .select .form-select {
      margin-top: -10px;
  }
  .blog-categories .select .form-select>div {
        margin-bottom: 14px;
  }
  .blog-categories .select input[type=radio]:not(checked) + label:after {
      width: 10px;
      height: 10px;
  }
  .end {
    border: 1px solid #202020;
    color: #202020;
    border-radius: 20px;
    margin: 0 0 0 1%;
    padding: 0 6px 0 6px;
    font-size: 16px;
  }
  .blog-categories .select input[type=radio]:not(checked) + label:before {
    width: 10px;
    height: 10px;
  }
  .item {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin: 0 0 4.4% 0;
  }
  .item-number {
    width: 30px;
    height: 20px;
  }
  .link-center p {
    color: #5d5d5d;
    font-size: 14px;
    margin: 11px 0 0 0;
    font-family: 'Roboto';
  }
  .page-pagination {
    margin: 6.5% 0 8.5% 0;
    font-size: 24px;
  }
  .link-center {
    margin: 0 0 0 0;
    width: 90%;
  }
  .pagination-main {
    text-align: center;
    margin: 7% 0 7% 0;
  }
  .pagination-main button {
    border-radius: 10px;
    border: 1px solid #202020;
    background-color: #fff;
    padding: 0 13px 0 13px;
  }
  .pagination-main button:hover {
    border-radius: 10px;
    border: 1px solid #202020;
    background-color: #202020;
    color: #fff;
    padding: 0 13px 0 13px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .pagination-main span {
    margin: 2%;
  }
  .blog-categories .select input[type=radio]:not(checked) + label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 700;
  }
  .blog-categories .select {
      flex-wrap: wrap;
  }
  .select-left {
        width: 61%;
        margin : 0;
  }
  .select-kategorii {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .blog-categories .select input[type=checkbox]:not(checked) + label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
  }
  .page-pagination p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
  }
  .item .item-description a {
    font-size: 17px;
  }
  .search-scope-horizontal::before {
    content: '';
    top: 2.6%;
    height: 101%;
  }
  .content-vnutrennaya .blog-categories {
    border-top:0;
    border-bottom:0;
  }
}
