/*
    Created on : 16/06/2015, 3:04:37 PM
    Author     : jeremy
    Description: Generic Xm styles for magento. Keep this organised so we can
                 split it apart later if need be
    Notes:
        todo-jim this file still need to go under review and discussion, please see Jim before modifying this file.
*/
/**---GENERAL----------------------------------------------------------------**/
.clear-both {
    clear: both;
}

.clear-right {
    clear: right;
}

.clear-left {
    clear: left;
}
.mimic-hyperlink input{
    background: none !important;
    border: none;
    padding: 0 !important;
    font: inherit;
    cursor: pointer;
}
.userOnHold {
	color: red;
	margin-left: 10px;
}
.cloud-zoom-big {
	background-color: #fff;
}

/**==========================================================================**/

/**---Megamenu---------------------------------------------------------------**/
nav.nav-container {
    display: none;
}

.xm-mega-menu.nav-mobile {
    display: none;
}

.xm-mega-menu.nav-mobile.show {
    display: block;
}

/**==========================================================================**/

/**---CART - BASKET WIDGET---------------------------------------------------**/
.basket-widget-container{}
.basket-widget-container .checkout-with-multi-order{
    clear: both;
    padding-top: 10px;
}
/**==========================================================================**/

/**---CART - GENERAL---------------------------------------------------------**/
.grant-total-amount th,
.grant-total-amount td {
    font-weight: bold;
    font-size: 16px;
}

/* ORDER REVIEW - This will be independant at some point */
#checkout-review-table .grant-total-amount th,
#checkout-review-table .grant-total-amount td {
    padding: 10px 0 1px 0;
}

#checkout-review-table .top-space th,
#checkout-review-table .top-space td {
    padding: 3px 0 0 0;
}

#checkout-review-table tfoot td,
#checkout-review-table tfoot th {
    padding: 1px 0 1px 0;
}

/*---CART - SHIPPING OPTIONS--------------------------------------------------*/
#cart-shipping-quote select.has-error,
#cart-shipping-quote input.has-error{
    border: 1px solid red;
    background-color: #fab8b8;
}

/**==========================================================================**/

/**---General Payment Styles------------------------------**/
.credit-card-payment .card-images {
    max-width: 308px
}


/*---*/

/**==========================================================================**/

/**---General Payment Styles------------------------------**/
.credit-card-payment .card-images {
    max-width: 308px
}


/*---*/

/**==========================================================================**/

/**---CART - GENERAL - PAYMENT - paymentSummary------------------------------**/
.payment-summary {
    margin-top: 5px;
}

.payment-summary th {
    padding-right: 15px;
}

.payment-summary .grant-total-amount th,
.payment-summary .grant-total-amount td {
    padding-top: 15px;
}

/**==========================================================================**/

/**---CART - MULTI-----------------------------------------------------------**/
.checkout-multishipping-shipping {
}

.checkout-multishipping-shipping .checkout-progress {
    padding-top: 15px;
}
.checkout-multishipping-shipping .sp-methods label,
.checkout-multishipping-shipping .sp-methods span.price{
    display: inline;
}
.checkout-multishipping-shipping .order-lines .product-description small{
    display: inline;
}
.checkout-multishipping-shipping .action-success .sub-info-box{
    margin-top: 8px;
}
.checkout-multishipping-shipping dl.expected-shipping-date{
    line-height: 15px;
    padding: 0 0 12px 0;
}
.checkout-multishipping-shipping dl.order-properties dt{
    float: left;
    margin: 0 7px 0 0;
    white-space: normal;
}
.checkout-multishipping-shipping dl.order-properties dd{
    margin: 0 0 2px;
    padding-left: 11px;
}
.checkout-multishipping-shipping .select-address-page .no-address-error {
    width: 350px;
}

/**==========================================================================**/

/**==========================================================================**/

/**---NOTIFICATION - MESSAGES------------------------------------------------**/
#messages_product_view {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 5px;
    margin: 0;
    width: 100% !important;
}

#messages_product_view > ul.messages {
    margin: 0 auto;
    width: 1176px;
}

#messages_product_view > ul.messages > li.error-msg,
#messages_product_view > ul.messages > li.success-msg,
#messages_product_view > ul.messages > li.note-msg,
#messages_product_view > ul.messages > li.notice-msg,
#messages_product_view div.site-notifacition > div {
    padding: 15px 15px 15px 80px !important
}

/**==========================================================================**/

/**---Filter scrollbar-------------------------------------------------------**/
.sidebar .block-content #filter_list_box dd ol {
    max-height: 171px;
    overflow-x: hidden;
    overflow-y: auto;
}

/**==========================================================================**/


/**---Review Form-------------------------------------------------------**/
#review-form {
	margin-top: 15px;
}

#review-form ul {
	list-style: none;
}

#review-form ul li {
	list-style: none;
	background: none;
	display: inline-block;
	margin-right: 20px;
}

.box-reviews .review-wrapper {
	margin-top: 15px;
	padding: 10px;
	border-radius: 5px;
}

.box-reviews .review-wrapper .review-title .review-user-name,
.box-reviews .review-wrapper .review-title .review-rating,
.box-reviews .review-wrapper .review-title .review-date{
	display: inline-block;
}

.box-reviews .review-wrapper .review-title .review-rating,
.box-reviews .review-wrapper .review-title .review-date {
	margin-left: 15px;
	font-style: italic;
}

.box-reviews .review-wrapper .review-comment {
	padding: 10px;
}

.panel .no-review-msg {
	margin: 20px 0;
}

/**==========================================================================**/

/**---Add to Cart Button - processing state-------------------------------------------------------**/
.button.btn-cart.add-cart-button.btn-processing span span {
	background: rgba(0, 0, 0, 0) url("/assets/images/share/highslide/loader.white.gif") no-repeat scroll center center;
	opacity: 0.5;
}

.add-cart-wrapper {
	padding-bottom: 20px;
}
/**==========================================================================**/

/**---Social Media Shares-------------------------------------------------------**/
.social_media_buttons {
    clear: both;
    white-space: nowrap;
}

.social_media_buttons .social_media_items {
	display: inline-block;
	vertical-align: top;
}

.social_media_buttons .twitter-share-button,
.social_media_buttons .fb-send,
.social_media_buttons .fb-like,
.social_media_buttons .pinterest-button {
    float: left;
    margin-right: 5px;
}

/**==========================================================================**/

/**---Scroll iFrame for iOS-------------------------------------------------------**/
.ios,            /** use for all class, need JS for insert this class name **/
.highslide-body /** use for (swith customer dialog) **/
{
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

/**==========================================================================**/

/**---OWL carousel style-------------------------------------------------------**/
.xm-owl-carousel {
	white-space: nowrap;
	overflow: hidden;
}

.xm-owl-carousel > .item {
	display: inline-block;
}

.owl-carousel .owl-item img {
	text-align: center;
	display: inline-block;
}

.owl-carousel .owl-item .item-code {
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	display: inline-block;
}

.owl-carousel .owl-controls .owl-prev.disabled,
.owl-carousel .owl-controls .owl-next.disabled {
	display: none;
}

.main-before-top-container .owl-carousel .owl-item img {
	width: 100%;
}
/**==========================================================================**/

/**---inline search-------------------------------------------------------**/
#inline-search-results {
	background: none repeat scroll 0 0 white;
	border: 1px solid silver;
	border-top: none;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	box-shadow: 0px 1px 5px silver;
	-webkit-box-shadow: 1px 1px 5px silver;
	position: absolute;
	z-index: 2001;
	padding: 5px;
	top: 35px;
	left: 0px;
	display: none;
}

#inline-search-results a {
	color:#000;
}

#inline-search-results li {
	padding: 5px;
	text-align: left;
	position: relative;
}

#inline-search-results > ul > li > div > div > div.product-image-wrapper {
	padding: 10px;
}

#inline-search-results li .inline-search-listing-detail {
	left: 0px;
	padding: 10px;
	position: absolute;
	top: 0;
	display: none;
	width: 200px;
	margin: 10px;
	margin-left: -225px;
	z-index: 9999;
	background: none repeat scroll 0 0 white;
	border: 1px solid silver;
	border-top: none;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	box-shadow: 1px 1px 5px silver;
	-webkit-box-shadow: 1px 1px 5px silver;
}

#inline-search-results li .inline-search-listing-detail img {
	max-width: 180px;
}

#inline-search-results li .inline-search-listing-detail .inline-search-price {
	padding: 14px 0;
	font-size: 18px;
	font-weight: 400;
}

#inline-search-results li .inline-search-listing-detail .add {
	padding: 24px 0 10px;
}

#inline-search-results #view-search-results {
	float: right;
}

#inline-search-results .products-grid.equal-height .item .actions {
	position: initial;
}

#search_mini_form > div > button > span.search-loading:before {
	content: '';
}

#search_mini_form > div > button > span.search-loading {
	background-position: 10px 10px;
	background-image: url(/assets/app/public/images/magento/opc-ajax-loader.gif);
	background-repeat: no-repeat;
}

#inline-search-results .highlight {
	background-color: #5bd2ec;
	color: #ffffff;
}

#inline-search-results .inline-search-listing-detail .btn-cart {
	display: none;
}

@media only screen and (max-width: 752px) {
	#inline-search-results li .inline-search-listing-detail {
		position: relative;
		margin-left: 0 !important;
	}
}

/**==========================================================================**/

/**---Header Page------------------------------------------------------------**/
.header .userCode,
.header .userName,
.header .userSwitch {
	display: inline-block;
	vertical-align: top;
}
.header .userCode {
	margin-right: 10px;
}
.header .userName{
	min-width: 150px;
	max-width: 350px;
	word-break: break-all;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.header .userSwitch {
	margin-left: 10px;
}

/**==========================================================================**/

/**---XM 404 Page------------------------------------------------------------**/
.pageNotFoundContents {
    font-size: 12px;
}
.pageNotFoundContents h1 {
    font-weight: normal;
    font-size: 14px;
    color: #990000;
    margin: 0 0 4px 0;
}
.pageNotFoundContents h2 {
    margin-bottom: 8px;
}
/**==========================================================================**/
