
/* Create a red style from the <a .read-more> that can be applied to a span */
span.redBtn {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #d31515;
    font-family: "Oswald",sans-serif;
    text-decoration: none;
    font-weight: bolder;
    background: #d31515;
    color: #fff !important;
    transition: all 0.3s ease;
}

span.redBtn:hover {
    cursor: pointer;
    background: #fff;
    color: #d31515 !important;
}

span.grayBtn, span.grayBtndisabled{
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #555;
    font-family: "Oswald",sans-serif;
    text-decoration: none;
    background: #555;
    color: #fff !important;
    transition: all 0.3s ease;

}
span.grayBtn:hover {
    cursor: pointer;
    background: #fff;
    color: #555 !important;
}

.modal-stockQty {
    display: inline-block;
    margin-top: 30px;
}

#modal-thanks-message {
    display: inline-block;
    margin: 20px 0  20px 0;
    line-height: 14px;
}

 span.grayBtndisabled {
    display:none;
}

#pricingModal {
    width:500px;
    height:100%;
    margin:10px auto;
}

/* @CM Move social icons from their own line to the line above */
.toby-data-social.new {
    display: inline-block;
    float: right;
    border-bottom: none;
}

.samtec-modal-pricing {
    width:100%;
}

.samtec-modal-pricing thead {
    width:100%;
    color:white;
    background-color:#333;
    margin:10px;
}
.samtec-modal-pricing th,  .samtec-modal-pricing td{
    padding:10px 10px 10px 10px;
}

.samtec-modal-pricing tr:nth-child(even) {
    background-color: #f2f2f2;
  }

.modal-quantity {
    width:150px;
    padding:5px;
}

.modal-part-no {
    font-weight:500;
}

.buy-button-modal {
    padding:5px 20px 5px 20px;
    width:auto;
}

/* @CM space arounf button in modal footer */
.modal-footer {
    padding: 6px 15px;
}

/* Dont know if these are needed */
/* .uneditable {
    pointer-events:none;
}
.basketQty {
    width: 50px;
} */

.hidden-hover-items {
    display: none;
}

.basket-hover-items {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 500px;
    max-width: 500px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 3;
    padding: 20px;
    overflow: auto;
    max-height: 370px;
    right:14px;
    border-radius: 0px 0px 7px 7px;
    border: 1px solid #333;
}

/* .basket-hover-items a {
    color: #333;
} */

.hover-basket:hover .basket-hover-items {display: block;}

@media only screen and (max-width: 600px) {
    .hover-basket:hover .basket-hover-items {display: none;}
}

.hover-basket-table{
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
    width: 100%;
}

.hover-basket-table td {
    padding-left:5px;
}

.hover-basket-heading {
    padding-bottom:10px;
    color:#d81f18;
}

.basket-hover-items .basketThumb {
    border: 1px solid #E5E5E5;
    overflow: hidden;
    height: 70px;
}

.inner-basket-table {
    margin-bottom: 7px;
    color: #333;
}

.back-link{
    padding: 0px 20px 20px 0px;
}


/* My Orders Filter */
.order-filter {
    display:block;
}

.order-filter-form {
    display: block;
    padding-bottom: 50px;
}

.order-filter .row {
    padding: 10px;
}

.order-filter label {
    display:block;
}

.order-filter .filter-button {
    margin-top:22px;
}

.order-filter input[type=text], select {
    border:1px solid #e3e3e3;
    border:none;
    outline:medium none;
    height:40px;
    padding:0px 20px;
    background:transparent;
    background:rgba(255,255,255,0.5);
    border-radius:0px;
    border:1px solid #ccc;
    -moz-box-sizing:border-box;
    width:100%;
    color:#333;
    font-size:15px;
    margin-right:20px;
    border-radius: 2px;
}


.order-filter a, .order-filter a:hover, .order-filter a:visited {
    text-decoration: none;
}

.order-filter .filter {
    margin: 3px 0px 0px -3px;
}

.hasDatepicker{
    background-image: url('/graphics/toby-calendar-icon.png') !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 10px) center !important;
}

.ui-datepicker {
    width: 300px;
    height: 250px;
    margin: 5px auto 0;
    /*font: 12pt Arial, sans-serif;*/
    /*font-family:"Open Sans, sans-serif";*/
    font-family: "Open Sans" !important;
}

.ui-datepicker table {
    width: 100%;
}

.ui-datepicker-header {
    background: #d31515;
    color: #ffffff;
    /*font-family:"Open Sans, sans-serif";*/
    font-family: "Open Sans" !important;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #111;
}

.ui-datepicker-title {
    text-align: center;
    font-size: 15px;

}

.ui-datepicker-prev {
    float: left;
    cursor: pointer;
    background-position: center -30px;
    top:8px !important;
}

.ui-datepicker-month, .ui-datepicker-year {
    background: #fff;
}

.ui-datepicker-next {
    float: right;
    cursor: pointer;
    background-position: center 0px;
    top:8px !important;
}

.ui-datepicker-calendar .ui-state-hover {
    background: #d31515;
    color: rgb(255, 255, 255);
}

.ui-datepicker-calendar .ui-state-active {
    background: #d31515;
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    color: #fff;
    text-shadow: 0px 1px 0px #000;
    border: 1px solid #000;
    position: relative;
    margin: -1px;
}
.ui-datepicker-unselectable .ui-state-default {
    background: #f3f3f3;
    color: #000;
}


.ui-datepicker-prev, 
.ui-datepicker-next{
    color: #fff !important;
    background: #d31515 !important;
}

.ui-datepicker-prev:before {
    content: "\f104";
    font-family: 'FontAwesome';
    position: relative;
    font-size: 24px;
    top: -4px;
    left: 10px;
}

.ui-datepicker-next:before {
    content: "\f105";
    font-family: 'FontAwesome';
    position: relative;
    font-size: 24px;
    top: -4px;
    right: -10px;
}

/*Breakpoints for the top menu*/
@media all and (max-width: 1046px){
    .top-wrapper .row .col-sm-5,
    .top-wrapper .row .col-sm-7{
        width: 100%;
    }
}

.delivery-message-alert, .error-message-alert {
    background: #f3f3f3;
    color: #000;
    border: 2px solid #d31515;
    font-weight: bold;
}
.homenews-image img {
    max-width:100%;
    max-height:100%;
}
#username {
    display:none;
}
.payment-options-wrapper img {
    height:30px;
}
