/*
 *@media (min-width:320px)  { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) * / }
 @media (min-width:480px)  { /* smartphones, Android phones, landscape iPhone * / }
 @media (min-width:600px)  { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) * / }
 @media (min-width:801px)  { /* tablet, landscape iPad, lo-res laptops ands desktops * / }
 @media (min-width:1025px) { /* big landscape tablets, laptops, and desktops * / }
 @media (min-width:1281px) { /* hi-res laptops and desktops * / }
*/

/* For tablets: */
@media only screen and (max-width: 1023px) {
    body { max-width: 100%; overflow-x: hidden; cursor: auto; }
    .menu-btn { background: transparent; border: 0 none; color: #fff; cursor: pointer; margin: 0 15px; padding: 0; text-align: center; font-size: 20px; line-height: 43px; }
    .phone_navigation .menu-btn { display: block; position: absolute; z-index: 600; }
    .main_navigation, .sticky-header { display: none; }
    .mobile_link { pointer-events: auto; cursor: pointer; }
    .topbar-wrapper,
    .topbar-left,
    .topbar-inner,
    .ads-homeone,
    .columns-sidebar,
    .sidebar-img img,
    .columns-common,
    .navigation-inner, .logo-inner,
    .columns-one,
    #home .home_title,
    .home_banner,
    .multiple-items,
    .block_title,
    .pagelist .news-block,
    .width_onecol,
    .width_onecol .col3, .page_list .columns-common,
    .common .columns-common, .event .columns-common, .foto .columns-common, .video .columns-common { width: 100%; }
    .logo-inner { padding-top: 25px; margin-top: 85px; position: absolute; z-index: 2; }
    #home .main_navigation { width: 100%; display: block; position: relative; height: 100vh; float: left; margin-top: -85px; z-index: 100; }
    .carousel-inner { height: 100vh; }
    .item.deepskyblue.active img { height: 100vh; }
    .topbar-left { text-align: right; padding: 0; }
    .topbar-inner { padding: 0; }
    .widget { width: 100%; padding: 20px; }
    .sidebar-date { font-size: 14px; margin: 15px 0; }
    .title-style1 { padding: 5px; display: none; }
    .title-style1 h3 { font-size: 20px; }
    .widget .post-sharing-ico li { display: inline-block; width: auto; padding: 0; text-align: center; float: unset; }
    .news-block-wrapper { width: 100%; padding: 10px 20px; }
    .columns-common h1 { font-size: 36px; margin: 15px 0 30px 0; line-height: 42px; }
    .content-wrapper { margin: 0; }
    .logo img { height: auto; width: 70%; float: unset; margin: 0 auto; text-align: center; display: block; }
    .inf_logo { float: unset !important; height: 70px !important; width: auto !important; }
    .carousel { height: 100vh; z-index: 1; }
    .carousel-caption { bottom: -100%; width: 100%; left: 0; right: 0; padding: 0; }
    .carousel-caption h3 { font-size: 21px; padding: 25px; }
    .navigation { display: none !important; margin: 0 !important; }
    .grid_blockone { grid-template-columns: repeat(1, minmax(100%, 1fr)); width: 100%; }
    .twoblock { grid-template-columns: repeat(1, minmax(100%, 1fr)); width: 100%; }
    article.common-post { text-align: center; margin: auto; display: block; }
    .home_banner { width: 100%; margin: 0 auto; display: block; }
    .common-post .indexbig { width: 360px; min-height: 202px; position: absolute; top: -100%; bottom: -100%; margin: auto; left: -100%; right: -100%; }
    .widget .post-sharing-ico { margin: 5px 0; }
    .post-sharing-ico span { display: none; }
    .pagelist { width: 100%; grid-template-columns: repeat(1, minmax(100%, 1fr)); }
    .news-block-image { width: 100%; height: 190px; }
    .deepskyblue { height: 100%; }
    .header { height: auto; float: left; display: block; position: relative; overflow: hidden; z-index: 500; }
    .common-content { position: relative; width: calc(100% - 40px); }
    .ads-homeone { height: auto; display: flex; flex-direction: column; }
    .ads-homeone img { width: 100%; }
    .related_column { grid-template-columns: repeat(1, minmax(360px, 1fr)); width: 100%; }
    #mainnavigation { z-index: 600; }
    .topbar-inner a { line-height: 25px; }
    #home .common-content { position: relative; width: 100%; }
    .content-wrapper .ads-homeone .columns-sidebar .widget .sidebar_block_content { float: unset; margin: auto; }
    .columns-common { order: 1; }
    .columns-sidebar { order: 2; }
    .ads-homeone .common-post { border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0px 4px 4px #dbdbdb; background-color: #fff;
	margin-bottom: 25px; position: relative; padding: 0; height: auto; overflow: hidden; }
    .box .subpage-content .subblock { width: calc(100% - 10px); }
    .ads-homeone .common-post .img_block { float: left; width: 100%; overflow: hidden; display: inline-block; }
    .ads-homeone .common-post .txt_block { display: inline-block; float: left; width: 100%; float: left; display: block; }
    .block-one .common-post, .news-block .link-more { left: 0; }
    .w23, .w13 { width: 100%; }
    .color_box { width: 100%; display: block; float: left; }
    #home .color_box .common-post { width: 100%; display: block; float: left; }
    .link-more { position: relative; bottom: 0; left: 0; margin-top: 15px; }
    .event #page-header { height: 150px; }
    .common-post .image { margin: auto; width: 100%; padding-top: 100%; position: relative; height: unset; }
    img.imgwidth { top: 0; }
    #home .ads-homeone .w23 { width: 100%; }
}

/* For mobile phones: */
@media only screen and (max-width: 799px) {
    body { max-width: 100%; overflow-x: hidden; cursor: auto; }
    .menu-btn { background: transparent; border: 0 none; color: #fff; cursor: pointer; margin: 0 15px; padding: 0; text-align: center; font-size: 20px; line-height: 43px; }
    .phone_navigation .menu-btn { display: block; position: absolute; z-index: 600; }
    .main_navigation, .sticky-header { display: none; }
    .mobile_link { pointer-events: auto; cursor: pointer; }
    .topbar-wrapper,
    .topbar-left,
    .topbar-inner,
    .ads-homeone,
    .columns-sidebar,
    .sidebar-img img,
    .columns-common,
    .navigation-inner, .logo-inner,
    .columns-one,
    #home .home_title,
    .home_banner,
    .multiple-items,
    .block_title,
    .pagelist .news-block,
    .width_onecol,
    .width_onecol .col3, .page_list .columns-common,
    .common .columns-common, .event .columns-common, .foto .columns-common, .video .columns-common { width: 100%; }
    .logo-inner { padding-top: 25px; margin-top: 85px; position: absolute; z-index: 2; }
    #home .main_navigation { width: 100%; display: block; position: relative; height: 100vh; float: left; margin-top: -85px; z-index: 100; }
    .carousel-inner { height: 100vh; }
    .item.deepskyblue.active img { height: 100vh; }
    .topbar-left { text-align: right; padding: 0; }
    .topbar-inner { padding: 0; }
    .widget { width: 100%; padding: 20px; }
    .sidebar-date { font-size: 14px; margin: 15px 0; }
    .title-style1 { padding: 5px; display: none; }
    .title-style1 h3 { font-size: 20px; }
    .widget .post-sharing-ico li { display: inline-block; width: auto; padding: 0; text-align: center; float: unset; }
    .news-block-wrapper { width: 100%; padding: 10px 20px; }
    .columns-common h1 { font-size: 36px; margin: 15px 0 30px 0; line-height: 42px; }
    .content-wrapper { margin: 0; }
    .logo img { height: auto; width: 70%; float: unset; margin: 0 auto; text-align: center; display: block; }
    .inf_logo { float: unset !important; height: 70px !important; width: auto !important; }
    .carousel { height: 100vh; z-index: 1; }
    .carousel-caption { bottom: -100%; width: 100%; left: 0; right: 0; padding: 0; }
    .carousel-caption h3 { font-size: 21px; padding: 25px; }
    .navigation { display: none !important; margin: 0 !important; }
    .grid_blockone { grid-template-columns: repeat(1, minmax(100%, 1fr)); width: 100%; }
    .twoblock { grid-template-columns: repeat(1, minmax(100%, 1fr)); width: 100%; }
    article.common-post { text-align: center; margin: auto; display: block; }
    .home_banner { width: 100%; margin: 0 auto; display: block; }
    .common-post .indexbig { width: 360px; min-height: 202px; position: absolute; top: -100%; bottom: -100%; margin: auto; left: -100%; right: -100%; }
    .widget .post-sharing-ico { margin: 5px 0; }
    .post-sharing-ico span { display: none; }
    .pagelist { width: 100%; grid-template-columns: repeat(1, minmax(100%, 1fr)); }
    .news-block-image { width: 100%; height: 190px; }
    .deepskyblue { height: 100%; }
    .header { height: auto; float: left; display: block; position: relative; overflow: hidden; z-index: 500; }
    .common-content { position: relative; width: calc(100% - 40px); }
    .ads-homeone { height: auto; display: flex; flex-direction: column; }
    .ads-homeone img { width: 100%; }
    .related_column { grid-template-columns: repeat(1, minmax(360px, 1fr)); width: 100%; }
    #mainnavigation { z-index: 600; }
    .topbar-inner a { line-height: 25px; }
    #home .common-content { position: relative; width: 100%; }
    .content-wrapper .ads-homeone .columns-sidebar .widget .sidebar_block_content { float: unset; margin: auto; }
    .columns-common { order: 1; }
    .columns-sidebar { order: 2; }
    .ads-homeone .common-post { border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0px 4px 4px #dbdbdb; background-color: #fff;
	margin-bottom: 25px; position: relative; padding: 0; height: auto; overflow: hidden; }
    .box .subpage-content .subblock { width: calc(100% - 10px); }
    .ads-homeone .common-post .img_block { float: left; width: 100%; overflow: hidden; display: inline-block; }
    .ads-homeone .common-post .txt_block { display: inline-block; float: left; width: 100%; float: left; display: block; }
    .block-one .common-post, .news-block .link-more { left: 0; }
    .w23, .w13 { width: 100%; }
    .color_box { width: 100%; display: block; float: left; }
    #home .color_box .common-post { width: 100%; display: block; float: left; }
    .link-more { position: relative; bottom: 0; left: 0; margin-top: 15px; }
    .event #page-header { height: 150px; }
    .common-post .image { margin: auto; width: 100%; padding-top: 100%; position: relative; height: unset; }
    img.imgwidth { top: 0; }
    #home .ads-homeone .w23 { width: 100%; }
}
