
/*GRID EXTENSIONS*/
/*
    We could create a new list of offsets based on the most likely applicable things,

    like centering a 50% width thing, with 25% margin on the left.
    or 33% centered with a 33% offset etc.

    we may want to also add 60%, 70%, 80% etc width containers with the appropriate offsets

*/
.os_grid_offset_4a {
    margin-left: 25%;
}


/*TYPOGRAPHY EXTENSIONS*/
.txt_u {
    text-transform: uppercase;
}


/*Custom page styles*/

/*List of Choices*/
ul.os_choices {
    display: block;
}

    ul.os_choices li {
        list-style: none;
        display: block;
    }

        ul.os_choices li a {
            display: block;
            text-decoration: none;
            position: relative;
        }

            ul.os_choices li a .icon {
                float: right;
                margin: 0;
                transition: margin .1s ease-in-out;
            }

            ul.os_choices li a:hover .icon {
                margin-right: 4px;
            }


/*Shipment Card*/
.os_card {
    display: block;
    text-decoration: none;
    position: relative;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    color: #434446;
}

/*.os_card dl {
    }

    .os_card dt {
        font-weight: bold;
    }

        .os_card dt::after {
            content: ":";
        }

    .os_card dt,
    .os_card dd {
        display: inline;
        margin-bottom: 12px;
        vertical-align: middle;
    }

        .os_card dd:after {
            content: '';
            display: block;
            margin-bottom: 12px;
        }

        .os_card dd:last-child:after {
            margin-bottom: 0;
        }*/


a.os_card .icon {
    position: absolute;
    right: 12px;
    top: 50%;
    font-size: 24px;
    transform: translateY(-50%);
    transition: right .2s ease-in-out;
}

a.os_card:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.10);
    text-decoration: none;
}

    a.os_card:hover .icon {
        right: 15px;
    }

.os_card.os_card_disabled {
    box-shadow: none;
    transition: opacity .1s ease-in-out;
    opacity: 1;
    cursor: default;
}

    .os_card.os_card_disabled .icon {
        display: none;
    }

    .os_card.os_card_disabled:hover {
        box-shadow: none;
        opacity: 1;
    }

.os_card .os_modal {
    cursor: pointer;
    display: inline-block;
}

.os_card .os_more_info .os_modal {
    color: #434446;
}

    .os_card .os_more_info .os_modal:hover {
        color: #890419;
    }


/*Success Area*/
.os_card .os_alert {
    position: relative;
    padding-left: 6em;
}

    .os_card .os_alert .icon_badge {
        position: absolute;
        left: 1em;
        top: 50%;
        text-align: center;
        transform: translateY(-50%);
    }

.icon_badge.cancel_badge {
    font-size: 42px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}


/*Shipment Information DL -------------------*/
/*dl.os_shipment*/
.os_shipment {
    position: relative;
}

    .os_shipment dt {
        font-weight: bold;
    }

        .os_shipment dt::after {
            content: ":";
        }

    .os_shipment dt,
    .os_shipment dd {
        display: inline;
        vertical-align: middle;
    }

        .os_shipment dd:after {
            content: '';
            display: block;
            margin-bottom: 12px;
        }

        .os_shipment dd:last-child:after {
            margin-bottom: 0;
        }

/*To*/
.os_sh_to {
}

/*.os_shipment .os_sh_date,
.os_shipment .os_sh_total,
.os_shipment .os_sh_num {
    font-size: .85em;
}*/

.os_shipment dd.os_sh_address {
    display: block;
    padding-left: 8px;
    margin-top: 8px;
    border-left: 4px solid #dededb;
}

/*Status*/
.os_shipment dt.os_sh_status {
    display: none;
}

.os_shipment dd.os_sh_status {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
    opacity: .75;
}

.os_shipment .os_sh_status .status-icon {
    vertical-align: middle;
    margin-right: 5px;
}

/*more info*/
.os_shipment dt.os_more_info {
    display: none;
}

.os_shipment dd.os_more_info {
    font-size: 12px;
    font-weight: bold;
}

    .os_shipment dd.os_more_info .os_modal {
        opacity: .75;
    }

    .os_shipment dd.os_more_info:after {
        display: none;
    }


/*CHANGE ADDRESS -----------------------------*/
.os_ship_address {
}

    .os_ship_address dt {
        font-weight: bold;
    }

        .os_ship_address dt::after {
            content: ":";
        }

    .os_ship_address dt,
    .os_ship_address dd {
        display: inline;
        vertical-align: middle;
    }

        .os_ship_address dd:after {
            content: '';
            display: block;
            margin-bottom: 12px;
        }

        .os_ship_address dd:last-child:after {
            margin-bottom: 0;
        }

    .os_ship_address .os_sh_date,
    .os_ship_address .os_sh_total,
    .os_ship_address .os_sh_num,
    .os_ship_address .os_sh_status {
        font-size: .85em;
    }


    .os_ship_address dt.os_sh_address {
        display: none;
    }

    .os_ship_address dd.os_sh_address {
        font-size: 1.4em;
        line-height: 1.42;
        display: block;
        float: left;
        width: 60%;
    }

        .os_ship_address dd.os_sh_address a {
            display: block;
            padding: 4px 0 0;
        }


/*address select*/
a.os_select_address {
    display: block;
    padding: 24px;
    transition: all .2s ease-out;
}

    a.os_select_address .os_shipment dt,
    a.os_select_address .os_shipment dd {
        display: inline-block;
        width: 100%;
    }

    a.os_select_address:hover {
        background-color: #434446;
        color: #fff;
    }

    a.os_select_address.os_new_address {
        padding-top: 15% 0;
        position: relative;
    }

        a.os_select_address.os_new_address .new_address {
            position: absolute;
            width: 100%;
            text-align: center;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            font-size: 18px;
            vertical-align: middle;
            font-weight: bold;
        }


dt.os_bd_before:before {
    content: '';
    width: 100%;
    display: block;
    clear: both;
    height: 1px;
    margin: 12px 0;
    border-top: 1px solid #dededb;
}

dt.os_bd_after:after {
    content: '';
    width: 100%;
    display: block;
    clear: both;
    height: 1px;
    margin: 12px 0;
    border-top: 1px solid #dededb;
}

dd.os_after_break:after {
    content: '';
    display: block;
    margin-bottom: 12px;
}

.os_no_after:after {
    display: none;
}

/*DISPLAY VERSION*/
.os_shipment.os_shipment_display {
}

    .os_shipment.os_shipment_display .os_more_info {
        position: absolute;
        right: 0;
        bottom: 0;
        font-size: 12px;
        font-weight: bold;
        opacity: .75;
    }

/*SELECT MULTIPLE SHIPMENTS*/
.os_multi_card {
    margin-left: 30px;
    position: relative;
}

    .os_multi_card .os_checkbox {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-left: -30px;
    }

    @-moz-document url-prefix() { 
        .browser_style.os_checkbox input {
         visibility: visible;
        }
    }

    .os_multi_card .os_checkbox > span {
        visibility: hidden;
    }

    .os_multi_card .os_card {
        cursor: pointer;
    }

        .os_multi_card .os_card.os_card_disabled {
            cursor: default;
        }


        .os_multi_card .os_card .icon {
            position: absolute;
            right: 12px;
            top: 50%;
            font-size: 24px;
            transform: translateY(-50%);
            transition: right .2s ease-in-out;
        }

        .os_multi_card .os_card:hover {
            box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.10);
            text-decoration: none;
        }

        .os_multi_card .os_card.os_card_disabled:hover {
            box-shadow: none;
        }

        .os_multi_card .os_card.os_card_disabled input {
            opacity: .3;
        }

        /*.os_multi_card .os_card.os_card_disabled:after {
            content: 'Unable to Edit';
            position: absolute;
            left: 50%;
            top: 30px;
            transform: translateX(-50%);
            text-transform: uppercase;
            color: #890419;
            opacity: .9;
            font-weight: bold;
        }*/


    .os_multi_card:hover .os_checkbox input:before {
        border-color: #2c2c2c;
    }

/*MultiShipments - Skipper 5000*/

.os_ship_cont {
    position: relative;
}

    .os_ship_cont .os_skip_cont {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 60px;
    }

    .os_ship_cont .os_skip_ship {
        position: relative;
        transition: opacity .1s ease-in-out;
    }

        .os_ship_cont .os_skip_ship a .icon {
            display: inline-block;
            margin-top: 5px;
            font-size: 1.5em;
            font-weight: 100;
        }

/*flex-row*/
.os_flex_row {
    display: flex;
    flex-wrap: wrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.os_flex {
    display: flex;
}

.os_flex_child {
    height: 100%;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*Random*/
/*Calendar*/
.mar_c_child > div {
    margin: 0 auto;
}

.os_highlight {
    border-left: 4px solid #dededb;
    padding-left: 8px;
}

.os_disabled {
    opacity: .6;
    pointer-events: none;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}



/*******************
 DATE PICKER STYLES
********************/

.datepicker_input {
    position: relative;
    width: 160px
}

.datepicker_c * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .datepicker_c *:before,
    .datepicker_c *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

.datepicker_c .dropdown_cont,
.datepicker,
.dp_key,
.dp_error {
    position: relative;
}

.datepicker_c .dp_lite_header {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.dp_day_spacer .dp_day_c span {
    display: none;
}

.showPrevDays .dp_day_spacer .dp_day_c span {
    display: inline-block;
}

.dp_arrow {
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.dp_days {
    margin: -7px;
}

.dp_day,
.dp_day_label {
    width: 14.286%;
    position: relative;
    float: left;
    text-align: center
}

.dp_day {
    padding: 7px;
    text-decoration: none;
}

    .dp_day div {
        width: 100%;
        padding-bottom: 100%;
        position: relative;
        transition: all .2s ease-out;
    }

    .dp_day span {
        position: absolute;
        left: 50%;
        top: 50%;
        display: inline-block;
        transform: translate(-50%, -50%);
    }

a.dp_day:hover div {
    background-color: #890419;
    color: #fff;
    transition: all .2s ease-out;
}

.chosen_day div {
    background-color: #890419;
    border-radius: 50%;
    color: #fff;
    border-width: 2px;
    line-height: 36px;
    transition: all .2s ease-out;
    opacity:1 !important;
}

.disabled_day div {
    opacity: .42;
    cursor: default;
}


a.dp_day:hover span,
a.dp_day:active span,
a.dp_day:focus span {
    border-color: #fff;
}

.no_prime .dp_day.dp_prime .dp_day_c {
    background-color: white;
    cursor: default;
    color: #2c2c2c;
    font-weight: normal;
    opacity: .42;
}

.dp_today {
    color: inherit;
}

    .dp_today span {
        border-bottom: 1px solid #434446;
    }



.dp_key {
}

    .dp_key ul {
        display: block;
    }

        .dp_key ul li {
            list-style: none;
            display: inline-block;
        }

            .dp_key ul li .dp_key_item {
                width: 24px;
                height: 24px;
                margin-right: 8px;
                display: inline-block;
                vertical-align: middle;
            }



/*others*/

.os_bd_circle {
    border-radius: 50%;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    opacity: 1;
    color: inherit;
}

::-moz-placeholder { /* Firefox 19+ */
    opacity: 1;
    color: inherit;
}

:-ms-input-placeholder { /* IE 10+ */
    opacity: 1;
    color: inherit;
}

:-moz-placeholder { /* Firefox 18- */
    opacity: 1;
    color: inherit;
}
