html {
    height: 100%;
}
body {
    position: relative;
    padding: 70px 0 41px 0;
    height: 100%;
    min-width: 320px;
    box-sizing: border-box;
    background-color: #fff;
}
#image{
    max-width: 300px;
    max-height: 200px;
    margin: 10px auto 0;
    display: block;
}
#load{
    max-width: 300px;
    max-height: 200px;
    margin: 10px auto 0;
    display: none;
}
#img{
    display: none;
}
#myModal{
    z-index: 999999;
}
#modal-img{
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: 0 auto
}
#main_container{
    max-width: 1400px;
    min-height:100%;
}
#landing_left_column{
    position:relative;
}
#landing_right_column p{
    font-size:xx-large;
    font-weight: bold;
    margin-top:30px;
}
nav.navbar-fixed-top{
    position: absolute;
}
@media screen and (min-width: 768px) {
    .navbar-nav .dropdown-menu {
        max-height: 300px;
        overflow: auto;
    }
}
.navbar-right .dropdown-menu img{
    width:24px;
}
/*.navbar-right strong{*/
    /*text-transform: uppercase;*/
/*}*/
.navbar-right>li{
    padding: 4px;
}
.save_45_percents{
    font-weight: bold;
    font-size: 14pt;
    color:#999;
}
img.landing_logo{
    margin: 0 auto;
    max-width:100%;
    display:block;
}
#payment_footer{
    background-color:white;
    text-align: center;
    border-top: 1px solid #999;
    display: block;
}
#payment_footer img{
    max-width: 100%;
}
img.client_logo{
    max-width:100%;
    margin-top:60px;
}
#back_btn {
    margin-bottom: 15px;
}
#get_started_btn_mobile{
    width:100%;
    font-size: 14pt;
    margin-top:10px;
}
#get_started_btn_desktop{
    width:100%;
    font-size: 14pt;
    margin-top:50px;
}
#row_footer{
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}
#row_footer p{
    font-size: large;
}
#row_footer p.second_line_under_img{
    color:#bbb;
    font-size:8pt;
}
.list_item:first-of-type{
    margin-top: 30px;
}
h3 + .list_item{
    margin-top: 20px !important;
}
.list_item h4{
    cursor:pointer;
    font-weight: 700;
	padding-left: 28px;
	position: relative;
}
.list_item h4:before{
    content: "+";
    width:15px;
    display: inline-block;
    margin-right:15px;
    font-weight: 400;
	position: absolute;
    left: 0;
}
.list_item h4[aria-expanded="true"]:before{
    content: "-";
}
.list_item .sublist{
    padding-bottom: 20px;
    display: block;
}
.list_item .subsublist{
    padding-left: 25px;
    display: block;
}
.list_item .collapse, .list_item .collapsing{
    padding:0 30px;
}
.list_item p:last-child{
    margin-bottom: 0;
}

#footer{
    background-color: #222;
    border-top: 1px solid #999;
    height:41px;
}
#footer_top{
    background-color: #fff;
    color:#fff;
    font-size:8pt;
    height:45px;
}
#footer_top a img{
    margin: 10px 0 0 15px;
	filter: invert(1);
	-webkit-filter: invert(1);
}
#footer .row{
    margin:0;
}
#footer_nav{
    /*float: right;*/
    text-align: center;
}
#footer_nav a{
    font-size: 11pt;
    color: #222;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin: 13px 12px 7px 12px;
    display: inline-block;
}
#footer_nav a:hover{
    opacity: .8;
}
#footer_bottom{
    /*height:40px;*/
    font-size:7pt;
    /*background-color: #fff;*/
    color:#fff;
    text-align: center;
    min-height: 40px;
}
#footer_bottom p{
    margin:5px 0 0 0;
	color: #fff;
}
#footer_bottom p a{
    color: #fff;
    margin-right: 20px;
    text-decoration: underline;
}
.u-steps {
    position: relative;
    margin: 30px 95px 50px;
    height: 4px;
    font-size:10pt;
}
.u-steps > li {
    position: relative;
    float: right;
    height: 4px;
    line-height: .95;
    color: #d1cfcf;
    background-color: #d1cfcf;
}
.u-steps .step-4:not(.active){
    display: none;
}
.u-steps > li + li {
    width: calc(100% / 4 - 1px);
}
.no_step3.u-steps > li + li{
    width: calc(100% / 3);
}
.was_paid .u-steps > li + li{
    width:calc(100% / 5);
}
.was_paid .no_step3.u-steps > li + li{
    width: calc(100% / 4);
}

.was_paid .u-steps .step-4:not(.active){
    display: inherit;
}
.u-steps > li:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    margin-left: -13px;
    border-radius: 100%;
    background-color: #d1cfcf;
}
.u-steps > li span {
    position: absolute;
    top: 20px;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    text-transform: uppercase;
    line-height: 1.1;
}
.u-steps > li.active {
    color: #737373;
}
.u-steps > li.active:before,
.u-steps > li.active ~ li,
.u-steps > li.active ~ li:before {
    color: #737373;
    background-color: #737373;
}
.u-steps.without_orders > li + li{
    width:calc(100% / 2);
}
.was_paid .u-steps.without_orders > li + li{
    width:calc(100% / 3);
}
.u-steps.without_orders .step-4:not(.active){
    display: none;
}
.was_paid .u-steps.without_orders .step-4:not(.active){
    display: inherit;
}
.u-steps .disabled_step span{
    opacity: 0;
}
.u-steps .disabled_step:before{
    opacity: 0;
}

.js-payment-method{
    cursor: pointer;
    padding:20px;
    border:1px solid #bbb;
    margin-top:5px;
    overflow: hidden;
}
.js-payment-method input {
    cursor: pointer;
}
#credit_card_form{
    display: none;
}
.inline_form {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}
.js-shipping_method, .js-shipping_method input {
    cursor: pointer;
}
#map{
    margin-bottom: 10px;
    height: 250px;
}
@media (min-width:992px) {
    #map {
        height: 400px;
    }
    .js-map-history div {
        display: block !important;
        width: auto !important;
    }
}
.points-list {
    margin-top: -2px;
    max-height: 264px;
    overflow-y: auto;
}
@media (min-width:992px) {
    .points-list {
        max-height: 364px;
    }
}
.one-office{
    margin-bottom: 15px;
    cursor: pointer;
}
.bootstrap-datetimepicker-widget.dropdown-menu{
    z-index: 1999;
}
@media only screen and (max-width: 492px) {
    #download_label_link{
        margin-top:10px;
    }
}
#download_label_link,
#download_return_form_link,
#download_customer_invoice_link,
.additional_label {
    margin: 13vh auto 0;
    display: block;
    width: 300px;
    position:relative;
}
#download_return_form_link,
#download_customer_invoice_link,
.additional_label {
    margin-top:10px;
}
#download_label_link::after {
    content: "";
    height: 10vh;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    background-image: url('/assets/common/img/printer.png');
    width: 10vh;
    top: -12vh;
    left: 52%;
    display: block;
    transform: translate(-50%,0%);
}
.js-applay-suggested{
    margin-bottom: -50px;
}
.confirm_address_btns #back_btn{
    margin-top: 0 !important;
}
@media screen and (max-width: 767px) {
    .confirm_address_btns #back_btn, .confirm_address_btns .js-applay-suggested {
        display: block;
        width: 100%;
        max-width: 300px;
        float: none !important;
    }
    .confirm_address_btns .js-applay-suggested{
        margin-bottom: 15px;
    }
}
@media screen and (min-width: 768px) {
    .form-responsive input,
    .form-responsive select,
    .form-responsive .js-suggested-address{
        max-width: 300px !important;
    }
    #suburb_tip{
        max-width: 300px;
    }
}
@media screen and (max-height: 750px) {
    .footer {
        margin-bottom: -50px;
    }
}
@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
@media screen and (max-width: 992px) {
    .js-applay-suggested{
        margin-bottom: 0px;
        /*float:none !important;*/
    }
    #back_btn {
        position: relative;
        z-index: 1000;
        margin-top: -61px;
    }
    #row_footer {
        margin: 0 0 100px;
    }
    body{
        padding-bottom:46px;
    }

    #footer_nav a{
        font-size: 8pt !important;
        line-height: 14pt;
        display: inline-block;
    }
    /*#footer_bottom{*/
        /*padding-top: 5px;*/
    /*}*/
    #get_started_btn_mobile{
        margin-top: 30px;
    }
    #next_btn{
        margin-bottom: 15px;
    }
    .img-responsive{
        margin: 20px auto 0 auto;
    }
}
@media screen and (max-width: 1100px) {
    .nav:first-child>li>a>img{
        height: 20px !important;
        margin-top: 3px;
    }
    .navbar-right>li{
        padding: 4px 0;
    }
    .navbar-right>li font{
        font-size: 8pt !important;
    }
    #footer, #footer_top{
        height: auto;
    }
    #footer_nav{
        padding-top: 5px;
        line-height: inherit;
    }
    #footer_top .col-md-3{
        display: none;
    }
    #footer_top .col-md-9{
        width: 100%;
    }
    #footer_nav{
        width: 100%;
        float: none;
        text-align: center;
    }
    #footer_nav a{
        margin: 0 12px;
        font-size: 10pt;
    }
}

.full_description_hidden{
    display: none;
}
.has_error{
    border: 1px #f00 solid !important;
}
.form_error{
    color:#f00;
    font-size: 12px;
    font-weight: bold;
    display: block;
    margin-top: 3px;
}
.form_error[data-field_name]{
    cursor: pointer;
}
#asm_settings input[readonly], #hermes_settings input[readonly], #parcel_point_settings input[readonly]{
    background-color: #fff !important;
}
#asm_settings .bg-info{
    padding: 15px;
}
@media only screen and (max-width: 800px) {
    /* Force table to not be like tables anymore */
    .no-more-tables table,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .no-more-tables thead tr {
        display: none;
    }

    .no-more-tables tr {
        border: 1px solid #ccc;
    }

    .no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
        white-space: normal;
        text-align: left;
        min-height: 35px;
    }

    .no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    .no-more-tables td:before {
        content: attr(data-title);
    }

    .no-more-tables.shipping_table table{
        display: table !important;
        table-layout: fixed !important;
    }
    .no-more-tables.shipping_table tbody{
        width: 100% !important;
    }

    .no-more-tables.shipping_table tr {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .no-more-tables.shipping_table td {
        /* Behave  like a "row" */
        border: none !important;
        /*border-bottom: 1px solid #eee;*/
        position: relative;
        /*padding-left: 50% !important;*/
        padding-left: 0 !important;
        white-space: normal;
        text-align: left;
        min-height: 35px;
        display: table-cell;
        vertical-align: middle !important;
    }
    .no-more-tables.shipping_table td:nth-child(2){
        width:33%;
        padding-left: 10px !important;
    }
    .no-more-tables.shipping_table td:nth-last-child(2){
        text-align: center;
    }
    .no-more-tables.shipping_table td:first-child, .no-more-tables.shipping_table td:nth-child(5){
        display: none;
    }
    /*.no-more-tables td:last-child{*/
        /*float:left;*/
    /*}*/
    .no-more-tables.shipping_table td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    .no-more-tables.shipping_table thead{
        display: none;
    }
    /*
    Label the data
    */
    .no-more-tables.shipping_table td:before {
        /*content: attr(data-title);*/
        content: '';
    }
    .shipping_table .full_description_hidden{
        display: none !important;
        padding: 0 !important;
        border: 1px solid #ccc;
    }
    .bg-success + .full_description_hidden{
        display: block !important;
        background-color: #dff0d8;
    }
    .full_description_hidden td{
        display: inherit !important;
        width: 100%;
    }
    .full_description_hidden .row{
        margin:0;
        display: block;
        width: 100%;
    }
    .full_description_hidden .col{
        display: inline-block;
        vertical-align: middle;
        width:49%;
    }
    .full_description_hidden .col:first-child{
        width:calc(49% - 8px);
        padding-left: 8px;
    }
}
@media only screen and (max-width: 447px) {
    body{
        padding-bottom: 50px;
    }
}

#preloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, .5);
}
#preloader_msg{
    position: absolute;
    text-align: center;
    width: 50%;
    margin-left: 25%;
    top: calc(50% + 75px);
    font-size: 18px;
    color: #fff;
}
#circle-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    width: 120px;
    height: 120px;
    border: 12px solid #f3f3f3;
    border-top: 12px solid #337ab7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.blurred > *:not(#preloader) {
    -webkit-filter: blur(7px);
        -ms-filter: blur(7px);
            filter: blur(7px);
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
           -moz-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
             -o-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
           -moz-transform: rotate(360deg);
            -ms-transform: rotate(360deg);
             -o-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

@keyframes spin {
   0% {
        -webkit-transform: rotate(0deg);
           -moz-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
             -o-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
           -moz-transform: rotate(360deg);
            -ms-transform: rotate(360deg);
             -o-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

#js_form_step2 .no-more-tables .img-responsive {
    width: auto !important;
    max-height: 200px;
    margin-right: auto;
    margin-left: auto;
}

.item_disabled_for_return {
    opacity:0.8;
    background-color:#f5f5f5;
}
.modal-header {
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}
.modal-dialog-center {
    top: 50%;
    margin: 0 auto;
}
.modal.in .modal-dialog-center {
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.glyphicon-circle-arrow-left {
    vertical-align: top;
}

.drop-off-points-title {
    float: left;
}
.find-by-zip {
    width: 350px;
    max-width: 100%;
    margin-bottom: 15px;
}
.js-refresh-map:not(:disabled) .glyphicon-refresh,
.js-refresh-map:disabled .glyphicon-search {
    display: none;
}
.js-refresh-map:not(:disabled) .glyphicon-search {
    display: inline-block;
}
.js-refresh-map:disabled .glyphicon-refresh {
    display: inline-block;
    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.btn.user-location {
    padding: 6px 10px;
}
.user-location.error {
    background-color: #fcc;
}
.gps-icon {
    width: 20px;
    vertical-align: top;
}
.user-location:disabled .gps-icon {
    opacity: .3;
}

.contact-address {
    margin-top: 15px;
}
.alert-default {
    background-color: #eef6f9;
    border-radius: 0;
}

/* .alert--faulty */
.alert--faulty .alert-body {
    display: block;
    width: auto;
}
.alert--faulty .alert-actions {
    text-align: center;
    margin-top: 9px;
    margin-bottom: -6px; /* needed with actions 9px - default alert 15px */
}
@media (min-width: 768px) {
    .alert--faulty .alert-body {
        display: table-cell;
    }
    .alert--faulty .alert-actions {
        display: table-cell;
        width: 1%;
        vertical-align: top;
        padding-left: .8em;
    }
}

.payment-method-details {
    display: none;
    padding: 15px 0 1px;
}
textarea.form-control {
    resize: vertical;
}

.js_item_returned_reason_action.no-tab {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.comment-length {
    position: absolute;
    top: 8px;
    right: 10px;
    display: none;
    font-size: .7em;
    line-height: 1;
    color: gray;
}
.comment:focus ~ .comment-length {
    display: block;
}
.comment-length-exceeded {
    display: block;
    color: red;
}
.return-additional {
    position: relative;
}
.return-additional .comment-length {
    top: 100%;
    right: 0;
    margin-top: 2px;
}
.tracking-link {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.new-return-wrap {
    padding-bottom: 20px;
}
.new-return-wrap:after {
    display: table;
    clear: both;
    content: ' ';
}


/* RIGHT COLUMN */
#right_column .actions-panel {
    margin-top: 50px;
}
#right_column .app-next-button button,
#right_column button.app-next-button{
    padding-left: 40px; padding-right: 40px;
}
#right_column .final-info {
    margin-top: 40px;
}

#right_column .final-info-tracking-number {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: all;
}

/* STEP 2 @TODO: make for all v1 templates */
/* hide on mobile title for reason only if no exchange-or-refund question hidden.
 hide because on mobile we show no-more tables titles
 800px is no-more-tables breakpoint
 */
@media all and (max-width: 800px){
    .js_item_returned_reason_action.no-tab + .js_item_returned_reason_reason > .title,
    .js_item_returned_reason_action.no-tab + .js_item_returned_reason_reason > .title + br {
        display: none;
    }

    .no-more-tables--mobile-columns td {
        padding-left: 8px !important;
    }

    .no-more-tables--mobile-columns .img-responsive {
        margin-top: 0;
    }

    /* make before as real first column */
    .no-more-tables--mobile-columns td:before {
        position: initial;
        display: inline-block;
        word-break: break-word;
        white-space: normal;
        vertical-align: top;
        width: 45%;
    }

    /* make all cells as second column
    * and first visible in item_returned_reason column
    */
    .no-more-tables--mobile-columns td > .cell-column,
    .no-more-tables--mobile-columns .js_item_returned_reason_tr td > .cell-column:first-child,
    .no-more-tables--mobile-columns .js_item_returned_reason_tr td > .no-tab + *:not(:first-child) {
        display: inline-block;
        vertical-align: top;
        width: 54%;
        padding: 0 !important;
    }

    .no-more-tables--mobile-columns .js_item_returned_reason_tr td > *:not(:first-child) {
        display: inline-block;
        padding-left: 45% !important;
        width: 99%;
        padding-right: 0 !important;
    }


}

