html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Open Sans', sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    background: none repeat scroll right center white;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
*:focus,
*:active {
    outline: none;
}
.clear {
    float: none;
    clear: both;
    height: 0;
    font-size: 0;
}

.lPos {text-align: left !important;}
.cPos {text-align: center !important;}
.rPos {text-align: right !important;}

body * {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

html, body {height: 100%;}

h2 {
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    margin-bottom: 15px;
}
h2 span {
    font-size: inherit;
}
h3 {
    font-size: 15px;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    margin-bottom: 10px;
    font-family: Arial;
}

.red, span.required {color: #FF0000;}

p {
    line-height: 1.3;
    margin-bottom: 10px;
}
ul {margin-right: 20px;}
ul li {
    margin: 10px 0 ;
}
strong, b {font-weight: bold;}

.security-corner {
    position: fixed;
    left: 0;
    top: 0;
}
.outwrap {
    width: 1010px;
    margin: 0 auto;
    padding: 30px 10px 10px;
    border-radius: 5px;
}
.innerwrap {
    /*padding: 36px 33px;*/
    /*padding: 15px;*/
    padding: 0px;
    overflow: hidden;
}

.wrap {
    padding: 25px 10px 0;
    position: relative;
}


section.content {
    margin-bottom: 15px;
}

label {font-weight: normal;}
.wide {width: 100%;}
.table {display: table;}
.table > div {display: table-row;}
.table > div > div {
    display: table-cell;
    padding: 10px;
    vertical-align: middle;
    text-align: left;
}
.table .rPos table,
.cPos table {display: inline-block}
.table.info {
    width: 70%;
    margin: 0 auto 30px;
}
.table.info > div > div {vertical-align: top;}
.table.info table {}
.table.info table td {
    border: 0;
    text-align: left;
    white-space: nowrap
}
.table.info table {}


table {border-collapse: collapse;}
table th, table td {
    padding: 10px;
    text-align: center;
}
table th {font-weight: bold;}

.text {
    padding: 6px 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.text input {
    font-size: 13px;
    width: 100%;
    border: 0;
    background: none;
    padding: 0;
    margin: 0 ;
}
.errorMessage {
    font-size: 11px;
    text-align: left;
    margin: 4px 0 0 3px;
}
.text + .errorMessage {
    max-width: 225px;
}

.exp-date .errorMessage {
    max-width: 225px;
}

.radio {cursor: pointer;}
.radio input {
    width: 19px;
    height: 19px;
    margin: 0 10px 0 0;
    padding: 0;
    padding: 0;
    position: relative;
    vertical-align: sub;
    opacity: 0;
}
.radio  {
    display: inline-block;
    background: url(../img/radio.png) no-repeat 0 0;
    height: 20px;
    vertical-align: middle;
}
.radio.checked {background: url(../img/radio-a.png) no-repeat 0 0;}

select {
    font-size: 14px;
    margin-right: 10px;
}

.btn {
    font-size: 17px;
    border: none;
    padding: 8px 40px;
    box-sizing: border-box;
    cursor: pointer;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}


header {
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
}

footer {
    position: relative;
    margin: 0 auto;
    padding-bottom: 20px;
}
footer .pre-footer {
    margin-top: 20px;
}

footer .pre-footer table {
    margin: 0 auto 20px;
}
footer .pre-footer table td {
    border: none;
    padding: 0;
    text-align: center;
    padding: 10px 20px;
}
footer .pre-footer table.contacts p {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #000;
    line-height: 1.6;
}
footer .pre-footer table.contacts p b {
    font-family: 'Open Sans', sans-serif;
    display: block;
    font-size: 14px;
    font-weight: normal !important;
    white-space: nowrap;
    margin-bottom: 5px;
}
footer .pre-footer table.contacts tr td:last-child {border: transparent}
footer .pre-footer table.contacts tr td:last-child p {text-align: left;}
footer .pre-footer table.contacts tr td:last-child p a {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}
footer .pre-footer .txt {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #000;
    line-height: 1.6;
    margin: 0 auto;
    width: 67%;
}
footer .pre-footer .txt b {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}


footer .copy {
    text-align: center;
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

/*Main*/
body.main header {display: none;}

body.main h2 {
    padding-top: 10px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 21px;
    font-weight: bold;
}
body.main .table {
    width: 400px;
    margin: 0 auto;
    margin-bottom: 30px;
}
body.main section.content {
    margin-bottom: 20px;
}

body.main .table input::-webkit-input-placeholder { color:transparent; }
body.main .table input:-moz-placeholder { color:transparent; } /* FF 4-18 */
body.main .table input::-moz-placeholder { color:transparent; } /* FF 19+ */
body.main .table input:-ms-input-placeholder { color:transparent; } /* IE 10+ */


.line {
    font-size: 0; height: 0;
    margin: 5px 0 15px;
}
.box {
    text-align: center;
    width: 500px;
    margin: 10px auto 30px;
    padding: 10px 20px;
    box-sizing: border-box;
}

.card {
    width: 184px; height: 29px;
    background: url(../img/credit_cards.jpg) no-repeat;
    background-size: contain;
    padding: 0 0 15px !important;
}
.card + div {vertical-align: top !important; padding: 0 0 15px !important;}

#credit-card-form .table {
    margin-bottom: 10px;
}

.errors {
    padding-left: 8px;
    margin-bottom: 10px;
}

.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1010;
    display: none;
    max-width: 376px;
    padding: 1px;
    text-align: left;
    white-space: normal;
    border-radius: 6px;
    background-clip: padding-box;
}

.popover.top {
    margin-top: -10px;
}

.popover.right {
    margin-left: 10px;
}

.popover.bottom {
    margin-top: 10px;
}

.popover.left {
    margin-left: -10px;
}

.popover-title {
    padding: 8px 14px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    border-radius: 5px 5px 0 0;
}

.popover-content {
    padding: 9px 14px;
}

.popover .arrow,
.popover .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.popover .arrow {
    border-width: 11px;
}

.popover .arrow:after {
    border-width: 10px;
    content: "";
}

.popover.top .arrow {
    bottom: -11px;
    left: 50%;
    margin-left: -11px;
    border-bottom-width: 0;
}

.popover.top .arrow:after {
    bottom: 1px;
    margin-left: -10px;
    border-bottom-width: 0;
    content: " ";
}

.popover.right .arrow {
    top: 50%;
    left: -11px;
    margin-top: -11px;
    border-left-width: 0;
}

.popover.right .arrow:after {
    bottom: -10px;
    left: 1px;
    content: " ";
}

.popover.bottom .arrow {
    top: -11px;
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
}

.popover.bottom .arrow:after {
    top: 1px;
    margin-left: -10px;
    border-top-width: 0;
    content: " ";
}

.popover.left .arrow {
    top: 50%;
    right: -11px;
    margin-top: -11px;
    border-right-width: 0;
}

.popover.left .arrow:after {
    right: 1px;
    bottom: -10px;
    border-right-width: 0;
    content: " ";
}

.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(../img/loader.gif);
}
.text input { 
    font-size: 12px;
}

.shipment-info {margin: 0 auto;width: 500px;}
.shipment-info th, .shipment-info td {border: 0}
.shipment-info th {
    white-space: nowrap;
    font-size: 17px;
}

.payment-amount {
    background: #efefef;
    padding: 15px 0;
}
.payment-amount strong {
    font-size: 17px;
}
.text-center {
    text-align: center;
}
@viewport {
    /*width: 320px;*/
}
@media screen and (max-width: 769px)
              and (min-width: 401px) {

    .outwrap {
        margin: 0 auto;
        width: 85%;
    }
    .wrap {padding: 0 10px;}
    footer .pre-footer table tr {font-size: 0}
    footer .pre-footer table td {
        display: inline-block;
    }
    footer .pre-footer table td:last-child {
        width: 100%;
        border-bottom:  1px solid #000 !important;
        box-sizing: border-box;
    }
    footer .pre-footer table td:last-child * {text-align: center !important;}
    footer .pre-footer .txt {
        width: auto;
        margin: 0 10px;
    }
    
    .main .wrap {
        padding: 10px 10px 0 !important;
    }

}

@media screen and (max-width: 450px) {
    .outwrap {
        margin: 0 auto;
        padding: 0;
        width: 320px;
    }
    .wrap {padding: 0 10px;}
    header .logo, body.main .logo  {
        background-size: contain !important;
        max-width: 300px !important;
    }
    .table.info {
        width: 100%;
        display: block;
    }
    .table.info > div {display: block;}
    .table.info > div > div {display: block;}

    .shipment-info {width: 100%;}
    .shipment-info th {
        font-size: 15px;
        white-space: normal;
    }
    .box {
        width: 100%;
    }
    footer .pre-footer table,
    footer .pre-footer table tbody,
    footer .pre-footer table tr {
        display: block;
    }

    footer .pre-footer table td {
        display: block;
        border: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    footer .pre-footer table td:last-child {border-bottom:  1px solid #000 !important;}
    footer .pre-footer table td:last-child * {text-align: center !important;}
    footer .pre-footer table td:nth-child(1) {
        display: inline-block;
        width: 49% !important
    }
    footer .pre-footer table td:nth-child(2) {
        display: inline-block;
        width: 49% !important
    }
    footer .pre-footer table td:nth-child(3) {display: none}

    #login-form .table {width: 100%;}
    #login-form .table .rPos {display: none;}
    body.main .table input::-webkit-input-placeholder { color:gray; }
    body.main .table input:-moz-placeholder { color:gray; } /* FF 4-18 */
    body.main .table input::-moz-placeholder { color:gray; } /* FF 19+ */
    body.main .table input:-ms-input-placeholder { color:gray; } /* IE 10+ */

    footer .pre-footer .txt {
        width: auto;
        margin: 0 10px;
    }
}