/* Portrait and Landscape */
@media only screen and (min-device-width: 310px) and (max-device-width: 980px){
    html {
        background-position: center -528px;
    }
    body.mobile {
        overflow-x: hidden;
    }
    .zoom-image{
        position: absolute;
    }
    .pic .zoom-image{
        display: none;
    }
    .pic.active .zoom-image{
        display: block !important;
    }
    .zoom-bg {
        position: fixed;
        left: -200px;
        right: -200px;
        display: block;
        top: -200px;
        bottom:-200px;
        display: none;
        z-index: 9999;
        background: rgba(0,0,0,0.2);
    }
    .zoom-bg.active{
        display: block;
    }
    .zoom-image img {
        width: 270px;
        position: fixed;
        left: 0;
        right: 0;
        top: 20px;
        margin: auto;
    }
    .bookmark_ico {
        margin: 0 4px 0 4px;
    }
    .mobile .rPart > .tit-big {
        padding-top: 12px !important;
    }
    .mobile .result_buttons #checkout,
    .rPart .btn:hover,
    .rPart .btn:focus,
    .rPart .btn:active {
        color: #fff;
        background: #92b710 !important;
    }
    .mobile .result_buttons #checkout:hover,
    .mobile .result_buttons #checkout:focus,
    .mobile .result_buttons #checkout:active {
        opacity: 0.8;
    }
    .mobile #toFullVersion {
        display: block;
        padding: 20px;
        text-align: center;
        text-transform: uppercase;
        background: #36ceee;
        color: #fff;
        cursor: pointer;
    }
    .mobile #toFullVersion:focus,
    .mobile #toFullVersion:active {
        opacity: 0.8;
    }
    .mobile .header .logo {
        text-align: center;
        margin: 0;
        float: none;
    }
    .mobile .master {
        background: none;
        width: auto;
    }
    .mobile .contact {
        display: none;
    }
    .mobile .account {
        float: none;
        width: auto !important;
        text-align: center;
        padding: 15px 0;
        margin: auto;
        /*margin: 0 0 0 -65px;*/
    }
    .mobile .account .tit {
        padding: 0;
    }
    .mobile .best-sides {
        display: none;
    }
    .mobile .best-sides .e {
        padding: 0 0 10px 0;
        width: 50%;
        text-align: center;
    }
    .mobile .shopping-cart {
        background: #36ceee;
        display: block;
        padding: 20px 0 20px 0;
        margin: 0px 0 0 0 ;
        text-align: center;
        float: none;
        color: #fff;
    }
    .mobile .shopping-cart .tit {
        display: inline;
        color: #fff;
    }
    .mobile .shopping-cart i {
        color: #fff;
    }
    .mobile #cart .empty{
        margin-bottom: 20px;
    }
    .mobile .main-menu {
        display: none;
    }
    .mobile .main-menu li {
        float: none;
        background: #36ceee
    }
    .mobile .search-by-letters {
        width: 100%;
        overflow-x: scroll;
        padding: 0;
    }
    ::selection {
        background: #ff6200;
        color: #fff; }
    ::-moz-selection {
        background: #ff6200;
        color: #fff;
    }
    .mobile .search-by-letters { scrollbar-face-color: #000000;
        scrollbar-highlight-color: #000000;
        scrollbar-shadow-color: #000000;
        scrollbar-3dlight-color: #000000;
        scrollbar-arrow-color: #000000;
        scrollbar-track-color: #000000;
        scrollbar-darkshadow-color: #000000;
    }
    .mobile .search-by-letters a:first-child,
    .mobile .search-by-letters a {
        padding: 20px 15px 10px 16px;
        font-weight: bold;
    }
    .bonusBox .e {
        display: block;
        float: none;
    }
    .mobile .area {
        padding: 0;
        width: auto;
        float: none;
    }
    .mobile .tit-big {
        position: relative;
        top:62px;
        padding-left: 10px;
        text-align: left;
    }
    .mobile .lPart {

    }
    .mobile .lPart .delivery-icons {
        display: none;
    }
    .mobile .lPart > .tit-big {
        background: #36ceee;
        cursor: pointer;
        padding-top: 12px;
        color: #fff;
    }
    .mobile .lPart:before,
    .mobile .lPart > .tit-big:before,
    .mobile .lPart > .tit-big:after {
        content: '';
        position: absolute;
        right: 16px;
        top: 18px;
        height: 4px;
        background: #fff;
        width: 28px;
        z-index: 50;
    }
    .mobile .lPart > .tit-big:before {
        top: 26px;
    }
    .mobile .lPart:before {
        top: 96px;
    }
    .mobile .lPart {
        float: none;
        width: 100%;
        position: relative;
        text-align: center;
    }
    .mobile .lPart .search,
    .mobile #search_box {
        position: relative;
        top: -50px;
        height: auto;
        background: #f3fafb;
        padding: 11px 10px 10px 10px;
    }
    .mobile .lPart .search .btn {
        width: 39px;
        background: #36ceee url(../img/l.png) no-repeat 5px 4px;
        left: auto;
        height: 37px;
        right: 9px;
    }
    .mobile .lPart .search .inp {
        background: #fff;
        border: solid 1px #36ceee;
        padding: 18px 0px;
        margin: 0;
        height:15px;
        width: 100%;
        text-indent: 10px;
    }
    .mobile .lPart .sub-menu li.active ul {
        display: none !important;
    }
    .mobile .lPart .sub-menu li a::before {
        display: none !important;
    }
    .mobile .lPart .sub-menu {
        padding: 4px 0 0 0;
        border-radius: 0
    }
    .mobile .lPart .sub-menu li a {
        color: #fff;
        background: #36ceee;
        padding: 15px 0 15px 0;
        margin: 1px 0 0 0;
    }
    .mobile #categories {
        display: none;
    }
    .mobile .rPart {
        float: none;
        width: auto;
    }
    .mobile .autocomplete-suggestions {
        width: 100% !important;
        left: 0 !important;
    }
    .mobile .autocomplete-suggestion {
        padding: 7px 0 7px 0;
        padding-left: 20px;
    }
    .mobile .rPart > .tit-big {
        clear: both;
        float: none;
        top: auto;
        padding: 30px 10px 10px 10px;
        text-align: center;
    }
    .mobile .rPart .catalog {
        clear: both;
        padding: 10px 10px 10px 10px;
    }
    .mobile .rPart .catalog .line {
        padding: 0;
    }
    .mobile .rPart .catalog .line .e {
        width: auto;
        float: none;
        margin: 0;
        margin-bottom: 10px;
    }
    .mobile .rPart .catalog .line .e:focus,
    .mobile .rPart .catalog .line .e:active {
        opacity: 0.8;
    }
    .mobile .rPart .catalog .line .e:focus .buy,
    .mobile .rPart .catalog .line .e:active .buy {
        background: #92b710;
    }
    .mobile .special-offer {
        width: auto;
        margin: 20px 10px 20px 0;
        min-height: 50px;
        padding: 0;
        width: 100%;
        background-repeat: no-repeat;
        background-size: 100%;
        position: relative;
        display: none;
    }
    .mobile .backet_table_block .backet_table tbody tr td:first-child {
        padding-left: 3px;
        text-align: center;
    }
    .mobile .buy-td{
        width: 120px;
    }
    .mobile .add-to-cart {
        display: block;
        font-size: 10px;
        padding: 8px;
        white-space: nowrap;
    }
    .mobile .dosages .dosage_table th {
        padding: 15px 3px 13px 3px;
    }
    .mobile.lang-en .dosages .dosage_table th:nth-child(2) {
        white-space: nowrap;
    }
    .mobile .dosages .dosage_table th span {
        display: none;
    }
    .mobile .dosages .dosage_table td {
        font-size: 12px;
        padding: 14px 3px 13px 3px;
    }
    .mobile .dosages .dosage_table td:first-child {
        white-space: nowrap;
    }
    .mobile .backet_table_block .backet_table tbody td {
        white-space: normal;
    }
    .mobile .backet_table_block .backet_table tr th span {
        display: none;
    }
    .mobile .dosages .val {
        padding-left: 10px;
    }
    .mobile .strong-sides table td {
        display: block;
    }
    .mobile .strong-sides table td div {
        display: block;
        float: none;
    }
    .mobile .rPart .btn {
        text-align: center;
        width: calc(100% - 2px);
        margin-bottom: 10px;
        background: #fff;
    }
    .mobile .h1 {
        padding-left: 16px;
        padding-right: 16px;
    }
    .mobile #backet_form {
        padding: 0 0 0 0;
    }
    .mobile .result_buttons {
        padding: 0 16px 10px;
    }
    .mobile .result_buttons .btn {
        padding: 11px 0;
        background: none;
    }
    .mobile .result_buttons #checkout {
        padding: 16px 0 !important;
        min-height: 60px;
    }
    .error {
        color: red;
    }


    .mobile .footer .serts {
        background-position: 0 15px;
        background-size: 100%;
        height: 60px;
    }

    .mobile .footer .add-menu {
        border-radius:0;
        background: none;
    }
    .mobile .footer .add-menu li {
        background: #36ceee;
        float: none;
        display: block;
        margin: 0 0 1px 0;
    }

    .mobile .footer .copyR {
        float: none;
        padding: 10px 0 10px 0;
        display: block;
        float: none !important;
        text-align: center;
    }
    .mobile .footer .payments {
        float: none;
        text-align: center;
        clear: both;
        padding: 10px 0 10px 0;
    }
    .mobile .product_descr {
        float: none;
        width: auto;
    }

    .mobile .product_names{
        display: inline-block;
        width: 100%;
    }
    .mobile .product_names a{
        display: inline-block;
        width: calc(100% - 2px) !important;
        padding: 11px 0;
        margin-bottom: 2px;
    }

    .mobile .contact_form table th{
        float: left;
        text-align: left !important;
    }
    .mobile .contact_form table td{
        float: left;
    }
    .mobile .contact_form table td button{
        width: 293px !important;
    }

/*and (-webkit-min-device-pixel-ratio: 2) {*/
    #toMobileVersion {
        min-width: 960px;
        display: block;
    }
    .mobile #toMobileVersion {
        min-width: inherit;
        display: none;
    }
    .mobile .backet_table_block .backet_table thead .first_tr th:nth-child(3) {
        width: auto !important;
    }
    .rPart textarea, .rPart .i, select, input[type='text'], input[type='number'], textarea {
        font-size:16px;
    }
    body{
        -webkit-text-size-adjust: none;
    }

    .mobile .basket_icon {
        display: block;
        position: fixed;
        top: 100px;
        right: 0;
        cursor: pointer;
        z-index: 2000;
    }

    .mobile .basket_icon img {
        width: 50px;
        height: 50px;
    }
}