﻿/* Mobile only */
@media only screen and (max-width:979px) {
    .dtop-only,
    .tblt-only,
    .mobi-hide { display: none !important; }

    body { font: 400 normal 16px/1.5 "Mark for MC Book", "Mark for MC Heavy", "Mark for MC Bold", "Mark for MC Light", "Mark for MC Extra Light", "Mark for MC Thin"; background-color: #fff; }

    h1 { font-size: 24px; }
    h2 { font-size: 18px; }


    .btn,
    .btn-txt { display: block; margin: 0 auto; width: auto; max-width: 100%; }
    button.btn,
    button.btn-txt { width: 100%; }
    * + .btn,
    * + .btn-txt { margin-top: 16px; }

    .def-form .inp-wrap,
    .form-btn-row,
    .btn-row { margin: 12px 0 0; }

    .form-row { margin-bottom: 13px; }
    .form-row::after { display: table; content: ""; clear: both; }

    .def-form header:not(.main-content-head) { margin: 20px 0 0; }
    .def-form .inp-cb + label { padding: 0; font-size: 14px; }
    .def-form .inp-cb + label:before { position: static; float: left; margin: -0.1em 10px -0.1em 0; vertical-align: baseline; }

    .home-address-form .addr-no-row { margin-right: -9px; align-items: flex-start; display: flex; flex-wrap: nowrap; justify-content: flex-start; }
    .home-address-form .addr-no-row .inp-wrap { flex-basis: auto; flex-grow: 0; max-width: calc(545px / 2); width: 100%; padding-right: 9px; }


    /*.page-content { padding-left: 15px; padding-right: 15px; }*/
    .page-content { width: 600px; }
    .page-steps { padding: 15px 0; font-size: 14px; }
    .page-steps li:before { font-size: 11px; margin-bottom: .5em; }
    .page-steps h1 { font-size: 24px; line-height: 1.3; margin-bottom: 15px; text-align: center; }
    .page-steps #steps-wrapper { display: none; }
    .page-steps #steps-wrapper:before,
    .page-steps #steps-wrapper:after { content: ''; clear: both; display: table; }
    .page-steps #steps-wrapper + a { display: block; }
    .steps-slim,
    .steps-full { padding-top: 0; padding-bottom: 0; }
    .steps-slim ul { margin-bottom: 15px; }

    .page-content-split > * { padding: 25px 0; }

    .page-landing > .page-content-column-right { background-color: #f8f9f4 !important; padding: 0 0 30px; }
    .page-landing > .page-content-column-right .card-img { width: 260px; max-width: 260px; min-width: 260px; }
    .page-landing .page-content-column-right .card-img .name { bottom: 15px; font-size: 12px; left: 9px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); font-weight: 700; }

    #site-foot .footer-columns { padding-top: 15px; }

    .main-content-head { font-size: 16px; margin-bottom: 1.1em; }

    .currency-selector .currency-item { width: 48px; margin: 0 10px 10px 0; padding: 7px; border-radius: 3px; font-size: 14px; }

    .currency-load-table,
    .currency-load-row { position: relative; }
    .currency-add-table { position: relative; width: 100%; }
    .currency-load-row > td:first-child,
    .currency-load-row > td:last-child { position: absolute; /*top: 12px;*/ height: 30px; padding: 12px 0 0; border: 0; width: auto; }
    .currency-load-row > td:first-child { left: 0; right: 40px; }
    .currency-load-row > td:last-child { right: 0; width: 30px; }
    .currency-load-row > td:not(:first-child):not(:last-child) { padding: 60px 0 12px; }
    .currency-load-row > td:nth-child(2) { width: 100%; }
    .currency-load-row .delete-x { width: 13px; height: 30px; display: block; background-size: 100%; }

    .currency-input-block { height: 45px; max-width: 100%; }
    .currency-input-block td:nth-child(2) { width: 25px; }
    .currency-input-block label { width: 50px; line-height: 45px; }
    .currency-input-block input { -moz-appearance: textfield; }
    .currency-input-block input::-webkit-outer-spin-button,
    .currency-input-block input::-webkit-inner-spin-button { -webkit-appearance: none; }

    .identity-value-row .hidden { display: none; }
    .identity-value-row.hidden { display: none; }
    .identity-choice-row label::after { font-size: inherit; }

    .cart-summary.mobi-only header { margin: 20px 0 0; }
    .cart-summary.mobi-only h2 a { color: inherit; text-decoration: none !important; position: relative; display: block; }
    .cart-summary.mobi-only h2 a:focus { text-decoration: underline !important; }
    .cart-summary.mobi-only h2 a:before,
    .cart-summary.mobi-only h2 a:after { position: absolute; background-color: #3c3c3c; content: ''; transition: all 0.3s; }
    .cart-summary.mobi-only h2 a:before { width: 2px; height: 10px; top: calc(50% - 5px); right: 4px; }
    .cart-summary.mobi-only h2 a:after { width: 10px; height: 2px; right: 0; top: calc(50% - 1px); }
    .cart-summary.mobi-only.is-open h2 a:before,
    .cart-summary.mobi-only.is-open h2 a:after { transform: rotate(180deg); }
    .cart-summary.mobi-only.is-open h2 a:before { top: calc(50% - 1px); height: 2px; }
    .cart-summary.mobi-only .order-currencies { display: none; }

    .currency-table { font-size: 14px; }
    .currency-table .currency-rows td:nth-child(2) ~ td,
    .currency-table .currency-rows td:nth-child(2) ~ td { color: #2f3b57; }
    .currency-table .total-rows { font-size: 16px; }

    .numbered-bullets > li .counter { padding-right: 1em; line-height: 3em; }
    .numbered-bullets > li .counter::before { border-radius: 1.125em; font-size: 1em; }

    .payment-forms { align-items: stretch; justify-content: space-between; justify-content: stretch; }
    .payment-tab { flex-basis: 0; flex-grow: 1; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: .5px; }
    .payment-content { padding: 0; }

    .main-content-wrap { padding: 25px 15px; overflow: hidden; text-overflow: ellipsis; }
    .main-content-wrap img { max-width: 100%; }

    .popup .popup-inner { padding: 25px 15px; }
    .popup .popup-content { padding: 20px; font-size: 18px; line-height: 1.4em; }
    .popup .popup-content header { font-size: 24px; }
    .popup .btn-row { display: block; }
    .popup .btn-row :not(.btn-cancel) { order: -1; }
    .popup .btn-row .btn-txt { font-size: 16px; }
    .popup .close-x { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; }
    .popup .close-x:before { width: 2px; left: 8px; }
    .popup .close-x:after { height: 2px; top: 8px; }

    #verfication-problem-modal .popup-content { max-width: 380px; }
    .verfiy-problem-options { max-width: 225px; margin-left: auto; margin-right: auto; font-size: 14px; }

    .cc-logo { width: 50px; height: 31px; background-color: #f8f8f8; margin: 0 0 2px 4px; border-radius: 3px; vertical-align: text-bottom; }
    .card-detail-form .inp-cc-parts { width: 100%; }
}

@media only screen and (max-width:480px) {
    .page-content { padding-left: 15px; padding-right: 15px; }
}


/* TRANSFER DETAIL TABLE */
@media only screen and (max-width:614px) {
    .transfer-detail-table table,
    .transfer-detail-table table > *,
    .transfer-detail-table tr,
    .transfer-detail-table th,
    .transfer-detail-table td { display: block; border-width: 0; padding: 0; }
    .transfer-detail-table th { padding: 10px 0 0; font-weight: 700; border-top-width: 1px; }
    .transfer-detail-table td { padding: 5px 0 10px; }
    .transfer-detail-table tr:last-child td { border-bottom-width: 1px; }
    .input-wrapper.country-wrap .phone-inp { width: 60%; }
    .input-wrapper.country-wrap.js-phone .country-select { width: 35%; }
}

/* SITE HEADER / FOOTER */
@media only screen and (max-width:480px) {
    #site-foot footer { text-align: center; }
    #site-foot footer ul { display: block; margin: 1em auto 0; }
    #site-foot footer li:first-child:before { display: none; }
}

@media only screen and (min-width:980px) {
    #site-foot .footer-columns { display: flex; flex-wrap: wrap; justify-content: space-between; }
    #site-foot .footer-columns > * { flex: 1 1 0; -ms-flex: 1; /*max-width: 345px;*/ }
    #site-foot .footer-columns > * + div:not(.xchg-rates) { margin-left: 25px; }
    #site-foot .xchg-rates { flex: 0 0 auto !important; width: 310px; }

    #site-foot .xchg-rates .content { max-width: 600px; margin: 0 auto; }
    #site-foot .xchg-rates th img { display: none; }
    #site-foot .xchg-rates th span { display: block; }
    #site-foot .footer-columns > * + div { margin-left: 25px; }
    #site-foot .footer-columns > * + .xchg-rates { padding-left: 50px; margin-left: 50px; border-width: 0 0 0 1px; }
}

@media only screen and (min-width:481px) and (max-width:979px) {
    #site-foot .footer-columns > * + div:not(.xchg-rates) { margin-top: 25px; }
    #site-foot .xchg-rates { border-width: 1px 0 0; width: 100%; padding-top: 25px; margin-top: 25px; }
    #site-foot .xchg-rates .content { max-width: 600px; margin: 0 auto; }
    /*#site-foot .xchg-rates th img { display: block; }
    #site-foot .xchg-rates th span { display: none; }*/
}

@media only screen and (max-width:480px) {
    #site-foot .footer-columns > * + .xchg-rates { border-width: 1px 0 0; padding-top: 25px; margin-top: 25px; }
    #site-foot .xchg-rates .content { max-width: 600px; margin: 0 auto; }
    #site-foot .xchg-rates tr > *:not(:first-child) { padding-left: 5px; }
    #site-foot .xchg-rates tr > *:not(:last-child) { padding-right: 5px; }
    #site-foot .xchg-rates tbody tr > *:first-child { padding-right: 5px; width: 38px; }
    /*#site-foot .xchg-rates th img { display: block; }
    #site-foot .xchg-rates th span { display: none; }*/
}
