.btn-switch-menu {
    display: none;
}

.menu-shirma {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
}

@media (max-width: 720px) {
    .center a.sendpdf {
        line-height: 1;
    }
    :root .glbody .glbodyright {
        display: block;
        float: right;
    }

    .glbodyright {
    }

    :root .glbody .glbodyright noindex {
        display: none;
    }

    :root .glbody .glbodyright .tlphone {
        display: block;
    }

    :root .glbody .glbodyright span {
        display: none;
    }

    :root .glbody .glbodyright .h_f_phone {
        display: block;
    }

}

@media (max-width: 919px) {
    .st_footer_text {
        width: 100%;
        margin: 10px 0;
    }

    .catalogelement h1 {
        text-align: left;
    }

    :root .glbody {
        width: calc(100% - 20px);
        height: auto;
        padding: 0 10px;
    }

    .cataloglist table td h3 {
        text-align: left;
    }

    :root .glbody::after {
        content: '';
        display: block;
        clear: both;
    }

    :root .toplinefix {
        width: 100%;
    }

    :root header .logo {
        max-width: calc(100% - 20px);
        background-size: contain;
        max-width: 438px;
        width: 100%;
    }

    :root header .menuhcenter {
        width: 100%;
        padding-top: 0;
    }

    :root header .menuhcenter a {
        display: block;
    }

    :root header #tbleft,
    :root header #tbright {
        position: relative;
        left: 0;
        bottom: 0;
        margin: 2px 0;
        width: 100%;
        display: block;
        border: 1px solid;
        box-sizing: border-box;
    }

    :root #liferibbon {
        display: none;
    }

    :root #content .topbanners,
    :root #content .topbanners .tbbody,
    :root #content .topbanners #slider {
        width: 100%;
    }

    :root .tcatalog .tcitem {
        float: none;
        width: 100%;
        outline: 1px solid rgba(0, 0, 0, .25);
        margin-bottom: 5px;
    }

    :root .tcatalog .tcbline .p2inx {
        width: 100%;
        background-position: top center;
    }

    :root .tcatalog .tcbline .p2inx:hover {
        background-position: bottom center;
    }

    :root #content .smallcontent {
        width: 100%;
        padding-right: 0;
        text-align: left;
    }

    :root .listnovelty .litem {
        float: none;
        width: calc(100% - 40px);
        margin: 0 5px 5px 5px;
        padding: 0 15px 5px 15px;
        position: relative;
        outline: 1px solid rgba(0, 0, 0, .25);
    }

    :root .listnovelty .litem table {
        width: 100%;
    }

    :root .listnovelty .litem table tr td {
        width: 100%;
        height: auto;
        text-align: center;
    }

    :root .listnovelty .litem table tr td a {
        display: inline-block;
    }

    :root .sliderlist50,
    :root .sliderspec {
        padding: 0;
    }

    :root .speclist .slitem {
        width: 100%;
        margin: 5px 0;
        float: none;
        height: auto;
        padding: 5px 0;
    }

    :root .speclist .slitem .slimg {
        margin: 0 auto;
    }

    :root .history {
        display: none;
    }

    :root footer {
        overflow: hidden;
        padding-top: 10px;
    }

    :root footer .fbrand {
        display: none;
    }

    :root table.menubottom {
        margin-top: 0;
    }

    :root footer .menubottom,
    :root footer .menubottom tbody,
    :root footer .menubottom tbody tr,
    :root footer .menubottom tbody tr td {
        display: block;
        width: 100%;
    }

    :root footer .crworks,
    :root footer .subscription,
    :root .subscription ~ a {
        display: none;
    }

    :root #content .topbanners #slider {
        height: auto;
    }

    :root #slider img {
        position: relative;
    }

    :root .nivo-slice,
    :root .nivo-box {
        display: none !important;
    }

    /*http://ankportal.ru/news/*/
    :root #content .cataloglist tr td:first-of-type {
        display: none;
    }

    :root #content .cataloglist tr td {
        padding-bottom: 20px;
    }

    /* http://ankportal.ru/press/ */
    :root #content .pressfilter {
        display: none;
    }

    :root .publist .plitem {
        float: none;
        margin: 25px auto;
    }

    /* http://ankportal.ru/response/ */
    :root .responselist {
        overflow: hidden;
        width: 100%;
    }

    :root .responselist table,
    :root .responselist table tbody,
    :root .responselist table tr {
        display: block;
        width: 100%;
    }

    :root .responselist table td {
        box-sizing: border-box;
        width: 100%;
        padding: 0;
    }

    :root .responselist table td:nth-child(even) {
        display: none;
    }

    :root .responselist table td:nth-child(odd) {
        display: block;
    }

    /* http://ankportal.ru/information/ */
    :root #content.margincontent > table tr td:first-of-type {
        display: none;
    }

    /* http://ankportal.ru/catalog/ */
    :root .cat .catleft,
    :root .cat .catright {
        width: 100%;
    }

    :root .cat .catright .cbrandlist section {
        float: none;
        display: block;
        margin: 0 auto;
    }

    /* http://ankportal.ru/catalog/... */
    :root .catitem table.cittop,
    :root .catitem table.cittop tbody,
    :root .catitem table.cittop tr,
    :root .catitem table.cittop tr td {
        display: block;
        width: 100% !important;
    }

    :root .catitem table.cittop tr td img {
        width: 100% !important;
        height: auto;
    }

    :root .catitem table.cittop tr td .yashare-auto-init {
        display: none;
    }

    :root .buttonsbody,
    :root .buttonsbody .abutton {
        display: block;
        width: 100%;
        margin-bottom: 5px;
        text-align: center;
        padding: 10px 0;
    }

    :root .catitem .tabs .ictabstxt {
        border: none;
        width: 100%;
        padding: 0;
        text-align: center;
    }

    :root .catitem .tabs .itcbody .itcbodytxt .citdesc td {
        display: block;
        padding: 0;
        width: 100%;
    }

    :root .catitem .tabs .itcbody .itcbodytxt .tabslineitem {
        width: 100%;
    }

    :root .catitem .tabs .itcbody .itcbodytxt .tabslineitem a.tlipressimg {
        display: block;
        width: 100%;
        text-align: center;
    }

    :root .catitem .tabs .itcbody .itcbodytxt .tabslineitem a.tlipressimg + a,
    :root .catitem .tabs .itcbody .itcbodytxt .tabslineitem a.tlipressimg + div,
    :root .catitem .tabs .itcbody .itcbodytxt .tabslineitem a.tlipressimg + br {
        display: none;
    }

    :root .catitem .tabs .itcbody .itcbodytxt .tabslineitem .tlivideo,
    :root .catitem .tabs .itcbody .itcbodytxt .tabslineitem .tlivideo > div {
        width: 100% !important;
    }

    :root .list .litem {
        float: none;
        margin: 15px auto;
    }

    /* http://ankportal.ru/about/ */
    :root .partnerlist .plitem {
        float: none;
        margin: 0 auto;
    }

    /* http://ankportal.ru/contacts/ */
    :root .tab_holder {
        border: none;
    }

    :root .tab_holder .contact_tabs {
        display: block;
        width: 100%;
        padding: 5px 0;
        text-align: center;
        border: none !important;
    }

    :root .contactlist .cltags {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    :root .contactlist table tr td:first-child {
        display: none !important;
    }

    :root .peoplelist .plsection .plitem {
        width: 100%;
        text-align: center;
    }

    :root .peoplelist .plsection .plitem .pliphoto,
    :root .peoplelist .plsection .plitem .pliname,
    :root .peoplelist .plsection .plitem .plicontact {
        float: none;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* http://ankportal.ru/education/ */
    :root .seminarlist .slfilter {
        float: none;
        width: calc(100% - 44px);
        margin-right: 0;
    }

    :root .seminarlist .slitems {
        float: none;
        width: 100%;
    }

    :root .seminarlist .slitems .slitem {
        float: none;
        padding: 10px;
        width: 100%;
    }

    :root .probation .pcolumn {
        float: none;
        width: 100%;
    }

    :root .probation .pcolumn .imgsect {
        display: none;
    }

    :root .teachersection {
        /*display: none;*/
        text-align: center;
    }
    .teachersection div.titem {
        display: inline-block;
        float: none;
    }
    .teachersection .titem .titeminfo .titeminfobody {
        float: none;
    }
    .teachersection .titem:hover .titeminfo{
        width: 195px;
        height: 390px;
        left: -9px;

    }
    /* http://ankportal.ru/seminar/... */
    :root .catalogelement table.header td:last-of-type {
        display: none;
    }

    :root .catalogelement .ceimg {
        display: block;
        float: none;
        width: 100% !important;
        height: auto;
        margin: 0 auto;
    }

    :root .seminarlist .slitems .slcolumn {
        float: none;
        width: 100%;
		margin-top: 14px;
    }

    :root .zapis {
        font-size: 0px;
        width: 100%;
    }

    :root .zapis .buttonzapis {
        display: none;
    }

    :root .zapis strong {
        font-size: 25px;
        margin-top: 20px;
        display: inline-block;
    }

    :root .ceinstructor + br + h3,
    :root .ceinstructor + br + h3 + table {
        display: none;
    }

    :root .catalogelement table.header,
    :root .catalogelement table.header tbody,
    :root .catalogelement table.header tr,
    :root .catalogelement table.header td {
        display: block;
        width: 100%;
        padding: 0 !important;
    }

    /* http://ankportal.ru/business/ */
    :root .bgbissnes {
        width: 100%;
        min-height: 1px;
        padding: 0;
    }

    :root .bgbissnes .startwords {
        width: calc(100% - 30px);
    }

    :root .bgbissnes .razdels a {
        padding: 10px 30px;
    }

    :root .bgbissnes .mresult {
        display: none;
    }

    /* ... */
    :root .bevideolist {
        display: none;
    }

    :root .bepresslist section {
        display: block;
        float: none;
        margin: 0 auto;
        text-align: center;
    }

    :root .brandelement .beseminarlist .slitem {
        float: none;
        width: calc(100% - 20px);
    }

    /* hotfix */
    :root .catitem table.cittop tr td:nth-child(2) h1 {
        font-size: 30px;
    }

    :root .catitem table.cittop tr td:first-child {
        height: auto;
    }

    :root .educationlist .head {
        display: none;
    }

    :root .catitem .tabs .itcbody .itcbodytxt .citdesc td:nth-child(2) h3 {
        margin-top: 2em;
    }

    :root .educationlist .map {
        width: 100%;
    }

    :root .educationlist .mapbody {
        width: 100% !important;
        margin: 0 !important;
        float: none;
    }

    :root .educationlist .item1,
    :root .educationlist .item2 {
        margin-left: 0;
        padding: 0;
        border-left: none;
    }

    :root .catalogelement .brobation .brobationitem .bibody {
        width: 100%;
        float: none;
    }

    :root .catalogelement table.header td {
        white-space: normal;
    }

    :root .catalogelement table.header strong {
        display: block;
    }

    :root .catalogelement .cevideo {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    :root .catalogelement .cevideo > div {
        margin-left: calc(50% - 320px);
    }

    :root .zapis button,
    :root #subscriptionfromnews a {
        max-width: 100%;
        background-size: contain;


    }

    :root #dialogzapis {
        padding: 0;
        max-width: calc(100vw - 70px);
    }

    :root #dialogzapis table,
    :root #dialogzapis tbody,
    :root #dialogzapis tr,
    :root #dialogzapis td {
        display: block;
        padding: 2px 0;
    }

    :root #subscriptionfromnewsdialog table,
    :root #subscriptionfromnewsdialog tbody,
    :root #subscriptionfromnewsdialog tr,
    :root #subscriptionfromnewsdialog td {
        display: block;
        padding: 2px 0;
    }

    :root #dialogzapis textarea {
        width: 200px !important;
    }

    :root .brandelement .ceimg {
        float: none;
        display: block;
        margin: 0 auto;
    }

    /* Личный кабинет */
    :root .userlight .ulname {
        font-size: 20px;
        overflow: hidden;
    }

    :root #content .lright {
        float: none;
        width: 100%;
        word-wrap: break-word;
    }

    :root .cataloglistfile table td:nth-child(odd) {
        display: none;
    }

    :root .cataloglistfile table td:nth-child(even) {
        padding-left: 0;
    }

    :root .profile-block-shown {
        margin-left: -10px;
    }

    :root .ui-dialog {
        max-width: calc(100vw - 2px);
    }

    /* ... */
    :root #content .topbanners .tbbody {
        height: auto !important;
    }

    :root #slider a,
    :root #slider div {
        display: none !important;
    }

    :root #slider img {
        max-width: 100%;
        height: auto !important;
    }

    :root .peoplelist h1,
    :root .peoplelist h2,
    :root .peoplelist h3,
    :root .cltownnote h3 {
        text-align: center;
    }

    /* EDIT 19.01.18 */
    html body, html #content {
        display: inline-block;
        width: auto;
    }

    html #content {
        padding: 0 20px;
    }

    html body header {
        display: block;
        width: calc(100% - 40px);
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    :root .glbody {
        display: block;
        width: calc(100% - 40px);
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    /* /EDIT 19.01.18 */
    :root .listnovelty .litem table tr td a img {
        max-width: 100%;
        height: auto;
    }
}

/* #MD */
@media (max-width: 1230px) {

    .btn-switch-menu {
        display: block;
        outline: none;
        border: none;
        width: 20px;
        height: 20px;
        background: white;
        float: left;
        margin-top: 5px;
        padding: 0;
        position: relative;
    }

    .btn-switch-menu::before,
    .btn-switch-menu::after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        left: 0;
        top: 5px;
        background: #000;
    }

    .btn-switch-menu::after {
        top: 12px;
    }

    :root .menu-shirma.menu-open {
        z-index: 14;
        display: block;
    }

    :root .glbody .menutop {
        display: none;
        position: absolute;
        left: 0;
        top: 30px;
        background: #000;
        width: 100%;
        z-index: 15;
    }

    :root .glbody .menutop.menu-open {
        display: block;
    }

    :root .glbody .menutop .mtitem {
        display: block;
        float: none;
        width: 100%;
        padding: 0;
        text-align: center;
    }

}

@media (min-width: 920px) and (max-width: 1230px) {
    :root .glbody {
        width: 900px;
    }

    :root .elem_404 {
        width: 100%;
    }

    :root .menutop {
        width: 455px;
        float: left;
        display: table;
    }

    :root .menutop .mtitem {
        float: none;
        display: table-cell;
        text-align: center;
        white-space: nowrap;
        padding: 0;
    }

    :root .topline .tlphone {
        margin-right: 4px;
    }

    :root .topline .tlphone ~ a {
        display: none;
    }

    :root #authtop a {
        white-space: nowrap;
    }

    :root header {
        height: 175px;
    }

    :root header #tbleft,
    :root header #tbright {
        bottom: 10px;
        margin: 0;
    }

    :root .topbanners,
    :root #content .smallcontent {
        width: 100%;
    }

    :root #liferibbon {
        display: none;
    }

    :root .tcatalog table.tcitem,
    :root .tcatalog .tcbline .p2inx {
        width: 172px;
    }

    :root .sliderlist50 {
        padding: 0;
    }

    :root .sliderspec {
        padding: 0;
    }

    :root footer {
        padding-top: 1px;
        min-height: 180px;
    }

    :root footer .fbrand {
        display: none;
    }

    :root table.menubottom,
    :root table.menubottom tbody {
        display: block;
        overflow: hidden;
    }

    :root table.menubottom td {
        display: block;
        float: left;
        width: 20%;
        margin: 5px 0;
        padding: 0;
    }

    :root .crworks {
        display: none;
    }

    :root footer .subscription {
        display: none;
    }

    :root footer .subscription ~ a {
        top: 98px;
    }

    /* Расписание тренингов и семинаров */
    :root .seminarlist div.h1 {
        margin-bottom: 20px;
    }

    :root .seminarlist .slfilter {
        float: none;
        margin-right: 0;
        width: calc(100% - 14px);
    }

    :root .probation .pcolumnsp,
    :root .probation .pcolumn {
        margin-right: 0px;
        width: 100%;
        float: none;
    }

    :root .teachersection .titem {
        width: 176px;
        height: 189px;
        float: left;
        margin: 2px;
        position: relative;
    }

    :root .teachersection .titem .titeminfor {
        left: -9px;
    }

    :root .titem:nth-child(5n + 1) .titeminfo {
        left: -206px !important;
    }

    :root .cat .catleft {
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    /* Помощь предприятиям индустрии красоты */
    :root .bgbissnes {
        width: 900px;
    }

    :root .business-steps__title {
        font-size: 32px;
    }

    :root .bgbissnes .startwords {
        width: 100%;
        box-sizing: border-box;
    }

    :root .business-steps__step {
        max-width: 100%;
    }

    :root .business-steps__step-title br {
        display: none;
    }

    /* http://ankportal.ru/press/ */
    :root .prfilter[action="/press/"] .jq-selectbox:nth-child(2) .placeholder {
        width: 290px !important;
    }
}

/* #MD */

footer .address a {
    color: #fff !important;
}

@media screen and (max-width: 420px) {
    :root .glbody .glbodyright .tlphone .h_f_phone {
        font-size: 11px !important;

    }

    :root .glbody .glbodyright .tlphone {
        background: none;
        padding: 0;
    }

}
@media screen and (max-width: 919px) {
	.tcatalog table.tcitem {margin:0px;}
}
@media screen and (max-width: 470px) {
	:root #subscriptionfromnews a {width: 100%;}
}
