/*=== Global Styles ===*/
body{
    font-family: 'Open Sans', sans-serif;
    z-index: 0;
}

img {
    max-width: 100%;
}

.media_layer ul{
    padding-left: 20px;
}
.media_layer ul > li{
    margin-bottom: 5px;
}


/* Clear Spacer CSS */
.clear {
    clear: both;
    width: 100%;
    height: 0px;
    line-height: 0px;
}
.clear_2px {
    clear: both;
    height: 2px;
    line-height: 2px;
}
.clear_4px {
    clear: both;
    height: 4px;
    line-height: 4px;
}
.clear_5px {
    clear: both;
    height: 5px;
    line-height: 5px;
}
.clear_10px {
    clear: both;
    height: 10px;
    line-height: 10px;
}
.clear_15px {
    clear: both;
    height: 15px;
    line-height: 15px;
}
.clear_20px {
    clear: both;
    height: 20px;
    line-height: 20px;
}
.clear_25px {
    clear: both;
    height: 25px;
    line-height: 25px;
}
.clear_30px {
    clear: both;
    height: 30px;
    line-height: 30px;
}

@media (min-width: 501px){
    .clear_xxs {
        display: table-cell;
        width: 0%;
    }
}
@media (max-width: 500px){
    .clear_xxs {
        clear: both;
        width: 100%;
        height: 0px;
        line-height: 0px;
    }
}
/* Buttons */
.checkout-types li a.button,
.scroll_cart .button,
a.button {
    display: inline-block;
    background-color: #0A226A;
    font-size: 14px;
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 6px 12px;
    line-height: 1.42857143;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    outline: none;
}
.checkout-types li a.big_button,
.scroll_cart .big_button,
a.big_button {
    font-size: 18px;
}
a.button:focus {
    color: #FFFFFF;
    outline: none;
}
a.button:focus:active{
    outline: none;
}

.checkout-types li a.button:hover,
.scroll_cart .button:hover,
a.button:hover{
    background: #eee;
    text-decoration: none;
    color: #0A226A;
}


.button .badge {
    color: #fff;
    background-color: #333;
}
.stock_item .button{
    padding: 6px 12px;
    font-size: 18px;
    line-height: 1;
}
.navbar-toggle{
    border: 2px solid #2EA3F2;
}
/*=== Main Styles ===*/
/* Header */
header#page_header{
    z-index: 4000;
    position: fixed;
    top: 0px;
    width: 100%;
}
header#page_header a{
    outline: none;
}
.top_strip {
    background-color: #FFF;
    padding: 7px 0px;
}
.top_strip a{
    transition: 0.3s all ease;
}
.top_strip a:hover{
}

.top_strip .top_login{
    text-align: left;
}
.top_strip .top_cart{
    text-align: center;
}
.top_strip .top_social{
    text-align: right;
}

/* Navbar */
.navbar-custom {
    background-color: #0A226A;
    border-radius: 0px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.navbar-custom *{
    /*transition: padding 0.3s ease;*/
}
.navbar-custom .navbar-brand {
    height: 70px;
    padding: 0px;
}
.navbar-custom .navbar-brand > img {
    max-height: 100%;
    max-width: 100%;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
    color: #5e5e5e;
    background-color: transparent;
}
.navbar-custom .navbar-text {
    color: #777;
}
.navbar-custom .navbar-nav > li > a {
    color: #FFF;
    padding-top: 25px;
    padding-bottom: 25px;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
    color: #F21921;
    background-color: transparent;
}
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
    color: #F21921;
}
.navbar-custom .navbar-nav > .disabled > a,
.navbar-custom .navbar-nav > .disabled > a:hover,
.navbar-custom .navbar-nav > .disabled > a:focus {
    color: #ddd;
    background-color: transparent;
}
.navbar-custom .navbar-toggle {
    border: 2px solid #2EA3F2;
    margin-top: 17px;
    margin-bottom: 17px;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background: rgba( 0, 0, 0, 0.05 );
    border: 2px solid transparent;
}
.navbar-custom .navbar-toggle .icon-bar {
    background-color: #2EA3F2;
}
.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
    border-color: #e7e7e7;
}
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
    color: #555;
    background-color: #e7e7e7;
}
@media (max-width: 767px) {
    .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
    }
    .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333;
        background-color: transparent;
    }
    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #555;
        background-color: #e7e7e7;
    }
    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #ccc;
        background-color: transparent;
    }
}
.navbar-custom .navbar-link {
    color: #777;
}
.navbar-custom .navbar-link:hover {
    color: #333;
}
.navbar-custom .btn-link {
    color: #777;
}
.navbar-custom .btn-link:hover,
.navbar-custom .btn-link:focus {
    color: #333;
}
.navbar-custom .btn-link[disabled]:hover,
fieldset[disabled] .navbar-custom .btn-link:hover,
.navbar-custom .btn-link[disabled]:focus,
fieldset[disabled] .navbar-custom .btn-link:focus {
    color: #ccc;
}

@media screen and (min-width: 768px){
    .navbar-custom.navbar-shrink .navbar-brand {
        height: 52px;
    }
    .navbar-custom.navbar-shrink .navbar-nav > li > a {
        padding-top: 16px;
        padding-top: 16px;
    }
}

/* Main */

main#main_content{
    padding-top: 15px;
    padding-bottom: 15px;
}
.testimonial_blocks blockquote{
    border-left: none;
    font-size: 14px;
    padding: 0px 0px 0px 20px;
}
.testimonial_blocks .testimonial_portrait{
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.testimonial_block {
    background-color: #f5f5f5;
    padding: 30px;
    margin-bottom: 30px;
}
/* Stock Listing*/
.stock_item {
}
.stock_item.list-group-item {
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.stock_item.media {
    margin-top: 0px;
}
.stock_item .media-right.quantity{
    padding-top: 1px;
    padding-bottom: 1px;
}
.stock_item .media-body .code {
    display: inline-block;
    min-width: 65px;
    padding-right: 10px;
    font-weight: bold;
}
.stock_item .btn{
    border-radius: 0px;
}
.stock_item .visible-xxs {
    display: none;
}
a.toggle_wishlist_link{
    color: #0A226A;
    text-decoration: none;
}
a.toggle_wishlist_link:focus{
    outline: none;
}
a.toggle_wishlist_link.in_wish{
    color: #F21921;
}
.label-price{
    background-color: #B2D32E;
    color: #333;
    font-size: 14px;
    padding: 5px;
}
.price{
    white-space: nowrap;
}
.price small{
    font-weight: bold;
}

select {
    display: block;
    height: 34px;
    padding: 6px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555;
    background-color: #FFF;
    background-image: none;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}
select:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
select.items_qty_select{
    min-width: 70px;
}
.form-inline #street_number_input_layer{
    display: inline-block;
    margin-right: 10px;
}
.cart select {
    display: inline-block;
}
input.input-text, textarea {
    padding: 6px 10px;
    resize: none;
    border-radius: 4px;
}
div#post_order_progress_bar{
    display: none;
}
.side_buttons .button {
    padding: 14px 15px;
    font-size: 16px;
}
.side_buttons .loader{
    display: none;
}
.side_buttons.loading .loader{
    display: inline-block
}
.side_buttons.loading .button{
    display: none;
}

.loading-overlay {
    background: rgba( 80, 80, 80, 0.5 );
    width:  100%;
    height: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-overlay .loading_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2em;
    color: #333;
    background: #fff;
    padding: 20px;
    border: 1px solid #333;
    min-width: 400px;
}

.loading-overlay .loading_text .loading_animation {
    width: 60px;
    float: right;
}

.loading-overlay .loading_text .loading_animation::before {
    content:".";
    min-width: 30px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0%   {content:"."; }
    25%  {content: "..";}
    75%  {content: "...";}
    100% {content: "....";}
}

ul#address_id_select_list {
    list-style: outside none none;
    padding: 0px;
    margin: 0px;
    float: left;
    width: 100%;
}

ul#address_id_select_list li{
    margin-top: 10px;
}
ul#address_id_select_list li:first-child{
    margin-top: 0px;
}
ul#address_id_select_list li,
ul#address_id_select_list li.address_add_li{
    position: relative;
    float: left;
    width: 100%;
    border: 1px solid #CCC;
    border-radius: 4px;
    padding: 0px;
    margin-bottom: 0px;
    font-size: 14px;
    height: auto;
    line-height: 1.42857143;
}
ul#address_id_select_list li .address_recipient_custom{
    padding: 7px 0px;
}
ul#address_id_select_list li .address_delete,
ul#address_id_select_list li .selected_item,
ul#address_id_select_list li .address_recipient_custom {
    cursor: pointer;
}
ul#address_id_select_list li .media-left, .media > .pull-left,
ul#address_id_select_list li .media-right, .media > .pull-right {
    padding: 0px 5px;
}
ul#address_id_select_list li .address_delete:hover {
    color: #F21921;
}
ul#address_id_select_list li.selected {
    background: #f0f0f0;
}

div#payment_methods_layer ul li {
    display: block;
    position: relative;
    float: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    min-height: 0;
    line-height: 1.42857143;
    margin-bottom: 2px;
    border: none;
    color: #333;
    font-weight: bold;
}
div#payment_methods_layer ul li div {
    position: relative;
    float: none;
    width: 100%;
    padding: 3px 6px;
}
div#payment_methods_layer ul li div.link_inner_selected:before,
div#payment_methods_layer ul li div.link_inner_selected:after,
div#payment_methods_layer ul li div.link_inner:before,
div#payment_methods_layer ul li div.link_inner:after {
    content: " ";
    display: table;
}
div#payment_methods_layer ul li div.link_inner:after,
div#payment_methods_layer ul li div.link_inner_selected:after {
    clear: both
}

div#payment_methods_layer ul li .payment_method_radio_class {
    position: relative;
}
div#payment_methods_layer {
    position: relative;
    height: auto;
    width: 100%;
    padding: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.date_time_wrapper{
    margin-bottom: 10px;
    display: inline-table;
}
#complete_order_button_layer{
    padding-left: 10px;
}
div.uservieworders_filter_layer {
    position: relative;
    min-width: 200px;
    float: none;
    text-align: center;
}
#year_1, #year_2{
    display: inline-block;
    height: 34px;
    padding: 6px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555;
    background-color: #FFF;
    background-image: none;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}
input#year_1:focus, input#year_2:focus{
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.document_list_section .panel-default > .panel-heading {
    background-color: #0A226A;
    color: #FFF;
}

.document_list_section .document_list_item .document_name {}
.document_list_section .document_list_item .document_icon {
    margin-right: 10px;
}

.showcart_category::before {
    content: ">";
}

.showcart_category {
    font-weight: bold;
}

.showcart_category_td {
    background: #ddd;
}

/* Message box*/
#message1 {
    background-color: #FFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/**** Footer *******/

footer#page_footer{
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Responsive Styles */
@media(min-width:992px) {
    .side_buttons{
        position: fixed;
        top: 50%;
        right: 0px;
    }
}
@media(max-width:991px) {
    .side_buttons{
        text-align: center;
    }
}
@media(max-width:767px) {
    body{
        margin-top: 0px;
    }
    .navbar {
        margin-bottom: 0px;
    }
    header#page_header{
        position: relative;
        top: auto;
        width: 100%;
    }
    .top_strip .top_login{
        text-align: center;
    }
    .top_strip .top_cart{
        text-align: left;
    }
    .top_strip .top_social{
        text-align: right;
    }
    .navbar-custom .navbar-nav > li > a {
        color: #777;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    table#post_order_payment_method_table {
        display: block;
        width: 100%;
    }
    table#post_order_payment_method_table tr,
    table#post_order_payment_method_table tbody{
        display: block;
        width: 100%;
    }
    table#post_order_payment_method_table td#payment_method_td {
        display: block;
        width: 100%;
        padding-top: 10px;
    }
    table#post_order_payment_method_table td#payment_description_td {
        display: block;
        width: 100%;
    }
    div#payment_methods_layer ul li .link_inner .icon,
    div#payment_methods_layer ul li:hover .icon,
    div#payment_methods_layer ul li .link_inner_selected .icon,
    div#payment_methods_layer ul li:hover .link_inner_selected .icon {
        width: 30px;
    }
}
@media(min-width:768px) {
    body {
        padding-top: 104px;
    }
    html,
    body,
    form {
        height: 100%;
    }
    main#main_content {
        min-height: 80%;
        min-height: calc(100% - 100px);
    }
}
@media (max-width: 600px){
    .stock_item.media{
        padding: 10px 15px;
        text-align: center;
    }
    .stock_item .media-body,
    .stock_item .media-left,
    .stock_item .media-right{
        display: block;
        width: auto;
    }
    .stock_item .media-right:not(.btn){
        padding-left: 0px;
    }
    .stock_item .quantity span{
        display: inline-block;
    }
    .stock_item .media-body .code{
        display: block;
        min-width: 0px;
        padding: 0px;
        text-align: left;
    }
    .stock_item .media-body .name{
        display: block;
        position: relative;
    }
    .stock_item .hidden-xxs {
        display: none !important;
    }
    .stock_item .visible-xxs-inline {
        display: inline !important;
    }
    .stock_item .visible-xxs {
        display: inline-block;
    }
    .stock_item.media .media-middle + .media-middle{
        margin-top: 5px;
    }
}