/*==========  Desktop First Method  ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1376px) {
  .category_descr_wrapper .img_cont {
    height: 400px;
}
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
  .catnav {
    padding: 6px 6px !important;
  }

  .post_header h1 {
    font-size: 24px;
  }

  .logo_wrapper {
    margin-left: 15px;
  }

  .logo {
    -webkit-background-size: 36px;
    background-size: 36px;
    width: 83px;
    height: 38px;
    padding-left: 45px;
    font-size: 12px;

  }

  .main_menu_container>ul>li>a {
    font-size: 14px;
    padding: 6px 6px;
  }

  .top_search_wrapper.d-none.d-lg-block {
    width: 150px;
  }

  .home_specialisty_box .img_cont {
    height: 140px;
  }

  .home_specialisty_description,
  .tel_cont {
    font-size: 12px;
  }
  .category_descr_wrapper .img_cont {
    
    height: 290px;
    
}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .mobile_hidden {
    display: none !important;
  }

  .desk_hidden {
    display: block !important;
  }

  .new_box_txt {
    font-size: 12px;
  }

  header .container {
    position: relative;
  }

  .top_panel>.row>div {
    position: static;
  }

  .right_TP>.row>div {
    position: static;
  }

  #enter_register_wrapper {
    display: none;
  }

  .enter_register_wrapper {
    position: absolute;
    right: 10px;
    top: 60px;
    background-color: white;
    padding: 15px 10px;
    margin-right: -10px;
    margin-left: auto;
    -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);

  }

  .home .enter_register_wrapper {
    background-color: black;
    -webkit-box-shadow: 0px 5px 20px rgba(255, 255, 255, 0.2);
    -moz-box-shadow: 0px 5px 20px rgba(255, 255, 255, 0.2);
    box-shadow: 0px 5px 20px rgba(255, 255, 255, 0.2);



  }

  .logo_wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 13px;
    display: inline-block;
    width: 83px;
    margin-left: auto;
    margin-right: auto;
  }

  .lang_sw {
    position: absolute;
    top: 21px;
    right: initial;
    left: 15px !important;
  }

  .menu_button {
    top: 14px;
    right: 12px;
  }

  header,
  header.smaller {

    height: 60px;
    /*background-color: red !important;*/

  }



  .lang_sw {
    top: 17px;
    left: 114px;
    width: 55px;
  }


  .menu_button {
    height: 32px;
    width: 40px;
  }

  .menu_button span {
    width: 100%;
    height: 100%;
  }

  .menu_button span i {

    width: 80%;
    height: 3px;

  }

  .menu_button span i:nth-child(2) {
    top: 15%;
  }

  .menu_button span i:nth-child(2) {
    top: 45.3%;
  }

  .menu_button span i:nth-child(3) {
    top: 75%;
  }

  .menu_button.active span i:nth-child(1) {
    top: 14%;
    left: 15px;
  }

  .menu_button.active span i:nth-child(3) {
    top: 83%;
    left: 14px;
  }

  .erw_col a {
    font-size: 14px !important;
  }


  .avatar_cont img {
    /*margin-top: 5px;*/
  }

  .catnav {
    padding: 0px !important;
    border: none;
    display: none;
  }

      .catnav_wrapper {
        padding: 0px 15px;
        border: 4px solid rgba(76, 140, 189, 0.3);
        border-radius: 10px;
    }

  .catnav_wrapper.active .catnav {
    display: block;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
  }

  .home_specialisty_box .img_cont {
    height: 240px;
  }

  .home_specialisty_description,
  .tel_cont {
    font-size: 14px;
  }

  body {
    padding-top: 75px;
  }
  .category_descr_wrapper .img_cont {
   
    height: 460px;
   
}
}

/*=================================================================================================*/
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  h5 {
    font-size: 15px;
  }

  .category_menu .menu>li {
    width: 33.3333%;
  }

  .category_menu .menu>li>a {

    width: auto;

  }

  .wp-pagenavi a,
  .wp-pagenavi span {
    padding: 4px 10px !important;
    font-size: 12px !important;
  }

  .home_specialisty_box .img_cont {
    height: 200px;
  }

  .home_specialisty_description,
  .tel_cont {
    font-size: 13px;
  }
  
.number_list {
    padding-left: 20px;
}
.category_descr_wrapper .img_cont {
   
    height: 320px;
    
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 670px) {}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 576px) {
  .moble_foat_left {
    float: left;
  }

  .new_box .img_cont {
    display: none !important;
  }

  .new_box_excerpt {
    display: none;
  }

  .new_box {
    padding: 10px;
    border: 2px solid rgba(76, 140, 189, 0.1);
    border-radius: 6px;
  }

  .home .new_box {
    border-color: rgba(255, 255, 255, .3);
  }

  .new_box_txt h2,
  .new_box_txt h1 {
    margin-bottom: 0;
  }

  .new_box .font16 {
    font-size: 14px;
  }

  .category_menu .menu>li {
    margin-bottom: 10px;
  }

  .category_menu .menu>li>a {
    margin-left: 5px;
    margin-right: 5px;
  }

  .category_menu .menu {
    margin-left: -5px;
    margin-right: -5px;
  }

  .home_specialisty_box .img_cont {
    height: 390px;
  }

  .home_page_news {
    padding: 5px;
    border-width: 2px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

  span.pages {
    display: none;
  }

  .category_menu .menu>li {
    width: 50%;
  }
  .category_descr_wrapper {
     padding: 10px;
    border: 2px solid rgba(76, 140, 189, 0.3);
}
.category_descr_wrapper .img_cont {
   
    height: 250px;
    
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 400px) {
  .news_list_wrapper .new_box>.row>div {
    width: 100%;
  }

  .category_menu .menu>li>a {
    border-radius: 6px;
    padding-top: 80px;
    font-size: 13px;
  }

  .category_menu .menu>li>a:after {
    width: 50px;
    height: 50px;
    font-size: 50px;
    line-height: 50px;
  }

  .home_specialisty_box .img_cont {
    height: 290px;
  }
  .category_descr_wrapper .img_cont {
   
    height: 200px;
   
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 350px) {

  .news_list_page .new_box .img_cont {
    height: 200px;
  }

  .home_specialisty_box .img_cont {
    height: 200px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 310px) {}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

  .mobile_hidden,
  #enter_register_wrapper {
    display: block !important;
  }

  .desk_hidden {
    display: none !important;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1600px;

  }


  /*=================================================*/
  /* Large Devices, Wide Screens */
  @media only screen and (min-width : 1376px) {}

  /*=============================*/
  /* Large Devices, Wide Screens */
  @media only screen and (min-width : 1700px) {}