/* trackpipe/public/css/address.css */
.address-wrapper {
    display:block;
    float:left;
    border: 1px solid #C2C2C2;
    border-radius: 3px;
    padding: 20px 40px 40px 40px;
}

/* tweaks for when the address form is shown in a NuDialog */
.ui-dialog .address-wrapper {
    width: auto;
    margin-bottom: 20px;
    border: none;
    padding: 0;
    width: 100%;
}

.address-wrapper input,
.address-wrapper select {
    width: 100%;
    padding: 0 0 0 5px;
    margin:0;
    height:28px;    
}

.address-wrapper input {
    border: 1px solid #ACACAC;
}

.address-wrapper .field select {
    
    width: 100%;
    display: block;
    float: left;
    clear: left;
    margin: 0;
    top: 0;
}

.address-wrapper .state select.picked {
    font-style: normal;
}

.address-wrapper .state select {
    color: #3A3A3A;
    width: 100%;
}

.address-wrapper .address.japan .state select {
    width: 100%;
}

.address-wrapper label {
    display: block;
    float: left;
    clear: left;
    width: 100%;    
}

.address-wrapper .field {
    float:left;
    clear:left;
    padding-bottom: 12px;
    width: 100%;
}

.address-wrapper .field-warning h3,
.address-wrapper .warning h3 {
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 10pt;
}

.address-wrapper .field-warning,
.address-wrapper .warning {
    background: #D1ECF3;
    color: #333;
    padding: 11px 11px 11px 11px;
    width: 435px;
    line-height: 18px;
    font-size: 10pt;
    border-radius: 3px;
}

.address-wrapper .warning {
    margin-bottom: 20px;
}

.address-wrapper .field-warning {
    background: #D1ECF3;
    color: #333;
    padding: 11px 0 11px 11px;
    line-height: 18px;
    font-size: 10pt;
    border-radius: 3px;
    margin-top: 9px;
    width: calc(100% - 9px);
    float:left;
    clear:left;
}

.address-wrapper .field-warning h3 {
    margin-top: 0;
    padding-top: 0;
}

.address-wrapper label span {
    display: inline-block;
    float: left;
    clear: left;    
    padding-bottom: 3px;
    color: #333;
}

.address-wrapper button.disabled,
.content .address-wrapper button.disabled {
    background-color: #aaa;
}

.address-wrapper button,
.content .address-wrapper button {
    display:block;
    float:left;
    clear:left;
    background: #0787F5;
    color: white;
    width: 457px;
    border: 0;
    margin: 0;
    border-radius: 3px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: normal;
    letter-spacing: 0.4pt;
    height: 40px;
    margin-top: 30px;
}

.address .city,
.address .zip-code {
    width: 47%;
    margin-right: 4%;
    float: left;
    clear: left;
}

.address .state {
    width: 49%;
    clear: none;
    float:left;
}

.address .city,
.address .state {
    display: block;
}


.address.germany .city,
.address.france .city,
.address.generic .city {
    width: 58%;
    margin-right: 0;
    clear: none;
}

.address.germany .zip-code,
.address.france .zip-code,
.address.generic .zip-code {
    width: 37%;
    margin-right: 5%;
}

.address.united-kingdom .zip-code {
    float: left;
    clear: none;
    margin-right: 0;
    width: 49%;
}

.address-wrapper .address.united-states .field.address1 {
    padding-bottom: 0;
}

.address-wrapper .address.united-states .field.address2 {
    padding-top:0;
}

.address.generic .state {
    float: left;
    clear: left;
    width: 50%;
}

.address.japan .city {
    width: 100%;
}

.address.japan .zip-code {
    width: 36%;
    margin-right: 5%;
}

.address.japan .state {
    width: 59%;
}

.address .sublabel {
    color: #999;
    display: inline;
    float: right;
    padding-left: 4px;
}

.address {
    float: left;
    clear: left;
    padding-bottom: 30px;
    width: 100%;
}

.address-wrapper .error input {
    border: 1px solid #C4362C;
}

.address-wrapper span.error-message { 
    color: #C4362C;
    display: inline-block;
    float: left;
    clear: left;
    overflow: hidden;
    transition: height 0.1s linear;
    line-height: 15px;
}

.address-wrapper .input-option {
    float: left;
    width: 100%;
}

.address-wrapper .input-option input {
    float: left;
    display: inline-block;
    width: auto;
    height: auto;
}

.address-wrapper .input-option span {
    float: left;
    clear: none;
    padding-top: 0;
    padding-left: 5px;
    display: inline-block;
    height: 10px;
    line-height: 13px;
}
/* trackpipe/public/css/change_address_dialog.css */
/* Change Address Dialog Styles  - - - - - - - - - - */
.change-address-dialog .bold {
    font-weight: bold;
}

.ui-dialog {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.change-address-dialog .ui-dialog-content {
    overflow: visible !important;
    padding: 45px !important;
    padding-bottom: 0px !important;
}

@media only screen and (max-device-width: 768px) {
    .change-address-dialog .ui-dialog-content {
        overflow: visible !important;
        padding: 20px !important;
        width: 93%;
    }
}


@media only screen and (max-device-width: 768px) {
    .ui-dialog.nu-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
        padding: 20px !important;
    }
}

.change-address-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    padding: 20px 45px 45px !important;
    margin-bottom: 0px !important;
}

.ui-dialog.nu-dialog button.top-change-address-btn {
    background: rgb(0,161,198);
    border-radius: 4px;    
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    padding: 0 1em;
    text-align: center;
    border: none;
    vertical-align: top;
    width: 100%;
}

body:lang(ja) .ui-dialog.nu-dialog button.top-change-address-btn {
    font-size: 12px;
}

.ui-dialog.nu-dialog .ui-icon.ui-icon-closethick {
    width: 13px;
    height: 13px;
}

.nu-dialog .ui-icon {
    background: url(/img/x_close_dialog.svg) !important;
}

/* Change Address Dialog: Address Form - - - */
.address-form {
    padding-top: 20px;
}

.address {
    padding-bottom: 0px !important;
}

.ui-dialog.nu-dialog button.bottom-change-address-btn {
    display:none; /*hide when dialog is first displayed*/
    text-decoration: none !important;
    background:none !important;
    color: rgb(0,161,198);
    border:none;
    padding: 0 0 45px !important;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    margin-bottom: -2em;
}

.ui-dialog.nu-dialog button.bottom-change-address-btn:hover {
    text-decoration: none !important;
    background: none !important;
}

.ui-dialog.nu-dialog .address-wrapper button {
    background: rgb(0,161,198);
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    padding: 0 1em;
    text-align: center;
    border: none;
    vertical-align: top;
    width: 100%;
}

.ui-dialog .address-wrapper {
    width: 100%;
    margin-bottom: 0px;
}

/* Save this address label */
.ui-dialog .address-wrapper .input-option {
    width: 100%;
}

.ui-dialog .address-wrapper .input-option span {
    font-size: 12px;
}

:lang(fr) .ui-dialog .address-wrapper .input-option span {
    font-size: 8px;
}

@media screen
    and (min-device-width: 360px)
    and (max-device-height: 640px)
    and (-webkit-device-pixel-ratio: 3)  {
    :lang(fr) .ui-dialog .address-wrapper .input-option span {
        font-size: 7px;
    }
}
/******/

.ui-dialog.nu-dialog button.bottom-change-address-btn:hover {
    text-decoration: underline;
}

.ui-dialog .ui-dialog-title {
    text-align: center;
    width: 100%;
}

.ui-dialog.nu-dialog .address-updated-msg {
    margin: 2em 0 0em;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
}

.ui-dialog.nu-dialog .same-address-msg {
    margin: 2em 0 0em;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
}

.updated-shipping-details div {
    width: 50%;
    margin: 0 4.58rem;
    margin-top: 1em;
    padding-bottom: 2em;
}

.updated-shipping-details .updated-shipping-address p.title {
    color: #333
}

.updated-shipping-details .updated-shipping-address > p {
    display: block;
    font-size: 12px;
    line-height: 1.563; /* 16px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0em;
    color: #666;
}

/*- - - - - - - - - - */

/* change country styles */
.change-country{
    text-align: center;
    margin-bottom: 3em;
}
.change-country .warning {
    display:inherit;
    color: red;
    font-size: 14px;
    line-height: 24px;
}

.ui-dialog.nu-dialog .request-sent-msg {
    margin: 2em 0 0em;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
}

.change-country .order-shipping {
    margin: 2em 0 0em;
}

/*left align the address displayed within
the message to support*/
#support-address > div {
    margin: 0;
}

#support-msg .sale-item-details p {
    margin: 0;
}

.country-updated .request-sent-msg {
    margin-top: 20px !important;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
}
/*- - - - - - - - - - */

/* Change Address Order Summary styles derived from order_recap.css  */

.order-shipping {
   background: #f5f5f5;
}

.order-summary ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.order-summary ul li {
    background: #f5f5f5;
    list-style: none;
    margin: 0 0 1%;
    padding: 9px 8px;
}

.order-summary ul li:last-child {
    margin-bottom: 0;
}

.order-summary .delimiter {
    background: #f5f5f5;
    list-style: none;
    margin: 0 0 1%;
    padding: 9px 8px;
    text-align: center;
}

.order-summary .flex-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.order-summary .item-image {
    -webkit-box-flex: 0 0 54px;
        -webkit-flex: 0 0 54px;
            -ms-flex: 0 0 54px;
                flex: 0 0 54px;
}

.order-summary .item-description {
    -webkit-box-flex: 1;
        -webkit-flex: 1 1 auto;
            -ms-flex: 1 1 auto;
                flex: 1 1 auto;
}

.order-summary .item-image {
    position: relative;
    margin-right: 10px;
}

.order-summary .item-image .image-wrapper {
    position: relative;
    display: inline-block;
    width: 54px;
    outline-offset: -1px;
    z-index: 3;
}

.order-summary .item-image .multi .image-wrapper {
    position: relative;
    display: inline-block;
    width: 54px;
    outline: none;
    outline-offset: -1px;
    z-index: 3;
}

.order-summary .item-image .image-wrapper.blank {
    height: 54px;
}

.order-summary .item-image img {
    width: 100%;
}

.order-summary .item-description {
    min-width: 0;
    padding-right: 1em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.order-summary .item-description > span {
    display: block;
    font-size: 12px;
    line-height: 1.563; /* 16px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-summary .item-description > span.detail {
    font-size: 12px;
    line-height: 1.563; /* 16px */
    color: #666;
}

.order-summary .item-description span.title {
    font-weight: normal;
}

.order-summary .item-description span.os-title {
    display: inline;
    font-weight: normal;
}

.order-summary .item-description span.preorder {
    display: inline;
    color: #666;
}

/*- - - - - - - - - - */


/* multiple items artwork */
.ca-multi-item-art {
    width: 2.667rem;
    height: 2.667rem;
}

.ca-multi-item-art .multi-artwork {
    width: 2.667rem;
    position: absolute;
    outline: 1px solid rgba(0,0,0,0.05);
    outline-offset: -1px;
    margin-top: 10px;
    margin-left: 5px;
}

.ca-multi-item-art .cover-0 {
    -webkit-transform: rotate(-3deg) translate(4px, -4px); /* Chrome, Safari, Opera */
    transform: rotate(-3deg) translate(4px, -4px);
    z-index: 6;
}
.ca-multi-item-art .cover-1 {
    -webkit-transform: rotate(4deg) translate(3px, -2px); /* Chrome, Safari, Opera */
    transform: rotate(4deg) translate(3px, -2px);
    z-index: 5;
}
.ca-multi-item-art .cover-2 {
    -webkit-transform: rotate(-8deg) translate(-4px, -2px); /* Chrome, Safari, Opera */
    transform: rotate(-8deg) translate(-4px, -2px);
    z-index: 4;
}
.ca-multi-item-art .cover-3 {
    -webkit-transform: rotate(11deg) translate(3px, -3px); /* Chrome, Safari, Opera */
    transform: rotate(11deg) translate(3px, -3px);
    z-index: 3;
}
.ca-multi-item-art .cover-4 {
    -webkit-transform: rotate(-10deg) translate(6px, 3px); /* Chrome, Safari, Opera */
    transform: rotate(-10deg) translate(6px, 3px);
    z-index: 2;
}
.ca-multi-item-art .cover-5 {
    -webkit-transform: rotate(3deg) translate(8px, 4px); /* Chrome, Safari, Opera */
    transform: rotate(3deg) translate(8px, 4px);
    z-index: 1;
}

.ca-multi-item-art .multi-thumbnail {
    width: 2.667rem;
}

/*- - - - - - - - - - */


/* Pre-order + Gift Banner Styles */
.ca-banner-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-weight: bold;
    background: #1DA0C3;
    text-align: center;
    transform: rotate(45deg);
    font-size: 5.3px;
    width: 50px;
    margin-left: 3.4px;
    cursor: pointer;
    height: 9px;
}

:lang(fr) .ca-banner-inner {
    font-size: 3px;
}

.ca-banner-outer {
    margin: 7px 0px 0 12px;
    width: 50px;
    height: 3px;
}

.ca-banner-container {
    position: absolute;
    overflow: hidden;
    width: 54px;
    height: 54px;
    z-index: 7;
}

.ca-gift-bow {
    display: flex;
    margin: -0.46px auto;
    fill: url(#ribbon-gradient);
}

/* pre-order + gift multi styles */
.multi-ca-banner-inner {
    color: white;
    font-weight: bold;
    background: #1DA0C3;
    text-align: center;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    font-size: 5.3px;
    width: 56px;
    padding: 0 0;
    margin-left: -8.6px;
    cursor: pointer;
}

.multi-ca-banner-container {
    position: absolute;
    overflow: hidden;
    width: 42px;
    height: 56px;
    z-index: 7;
}

.multi-ca-gift-bow {
    display: flex;
    margin-bottom: 0px;
    margin: -6.81px auto !important;
    fill: url(#ribbon-gradient);
}

/*- - - - - - - - - - */



