/********************************************************
			Coderplace Custom Styles
********************************************************/
.tm-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
.cp-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  display: flex!important;
  flex-wrap: wrap;
}
.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-wrapper-outer {
  overflow-x: clip;
  position: relative;
  float: left;
  width: 100%;
  padding: 0;
}
.owl-carousel .owl-wrapper-outer.autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}
.owl-carousel .owl-item {
  float: left;
  display: flex;
  height: auto;
}
.owl-carousel .owl-item .manu_image a {
  display: inline-block;
}
.owl-carousel .owl-item .manu_image a img {
  max-width: 100%;
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  /* fix */
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  text-align: center;
}

/* mouse grab icon */
.customNavigation {
	position: absolute;
	z-index: 9;
	width: 100%;
	top: 40%;
	direction: ltr !important;
	right: 0;
	left: auto;
  opacity: 0;
  -khtml-opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
}
.products .customNavigation {
	top: 25%;
}
.cpcategorylist .customNavigation{
  top: 40%;
}
.testimonial-block-part .customNavigation {
	top: 54%;
}
.tmcategorylist:hover .customNavigation {
	opacity: 1;
	-khtml-opacity: 1;
	-webkit-opacity: 1;
	-moz-opacity: 1;
}
.customNavigation a.prev::before {
	content: "\E314";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	right: 5px;
	top: -1px;
	color: #808080;
}
.customNavigation a.next::before {
	content: "\E315";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	position: absolute;
	right: 3px;
	top: -1px;
	color: #808080;
}
#tmtestimonialcmsblock .customNavigation {
  top: -24px;
  z-index: 5;
  right: 15px;
}
#index #tmtestimonialcmsblock .customNavigation {
  top: -40px;
  right: 0;
}
.special-products .customNavigation {
	top: 52%;
}
.special-products:hover .customNavigation, 
.products:hover .customNavigation,
.testimonial-block-part:hover .customNavigation,
.homepage-latest-blog:hover .customNavigation, 
.sidebar-latest-blog:hover .customNavigation, 
.ets-blog-related-posts:hover .customNavigation, 
#tminstagramblock:hover .customNavigation,
.product-accessories:hover .customNavigation,
.productscategory-products:hover .customNavigation{
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
}
.lastest_block .customNavigation {
	top: 44%;
}
.customNavigation i {
	color: #222 !important;
	cursor: pointer;
	font-size: 0;
	font-weight: 500;
	height: 38px;
	line-height: 32px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	text-align: center;
	width: 38px;
	background: transparent;
	border-radius: 0;
	font-style: unset;
	box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.11);
}

.customNavigation i.prev {
	background: transparent;
	right: auto;
	background: #fff;
	border-radius: 50%;
	left: -5px;
}
.customNavigation i.next {
	background: transparent;
	right: 0px;
	background: #fff;
	border-radius: 50%;
	right: -5px;
}
.tmcategorylist .customNavigation i.prev, 
.testimonial-block-part .customNavigation i.prev, 
#tminstagramblock .btn.prev.instagram_prev,
.special-products .customNavigation i.prev{
	left: -20px;
}
.tmcategorylist .customNavigation i.next, 
.testimonial-block-part .customNavigation i.next, 
#tminstagramblock .btn.next.instagram_next,
.special-products .customNavigation i.next  {
  right: -20px;
}
.customNavigation i.prev::before {
	content: '';
	-webkit-mask-image: url(../img/megnor/pro-left.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/megnor/pro-left.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
#tmtestimonialcmsblock .customNavigation i.prev::before {
  right: 1px;
  font-weight: 500;
}
#tmtestimonialcmsblock .customNavigation i.next::before {
  right: 0;
  font-weight: 500;
}
.customNavigation i.next::before {
	content: '';
	-webkit-mask-image: url(../img/megnor/pro-right.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/megnor/pro-right.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #222222;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
.customNavigation i.next:hover::before,.customNavigation i.prev:hover::before  {
  color: #fff;
}
#cpleftbanner1 img,
#cpleftbanner2 img {
  max-width: 100%;
}
#cpleftbanner1 li,
#cpleftbanner2 li {
  overflow: hidden;
  position: relative;
  float: left;
  border-radius: 10px;
}
#cpleftbanner1 li a,
#cpleftbanner2 li a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}
.footer-container .links.lastest_block .customNavigation i.prev:hover {
  color: #9bbab1 !important;
}
.footer-container .links.lastest_block .customNavigation i.next:hover {
  color: #9bbab1 !important;
}

@media (max-width: 1449px) {
  .tmcategorylist .customNavigation i.prev, 
  .testimonial-block-part .customNavigation i.prev, 
  #tminstagramblock .btn.prev.instagram_prev,
  .special-products .customNavigation i.prev {
    left: -15px;
  }
  .tmcategorylist .customNavigation i.next, 
  .testimonial-block-part .customNavigation i.next,
   #tminstagramblock .btn.next.instagram_next,
   .special-products .customNavigation i.next {
    right: -15px;
  }
  .customNavigation i.next {
    right: 0;
  }
  .customNavigation i.prev {
    left: 0;
  }
}
@media (max-width: 1199px) {
  #tmtestimonialcmsblock .customNavigation {
    top: -36px;
    z-index: 5;
    right: -18px;
  }
}

@media (max-width: 991px) {
  #cpleftbanner1 li img,
  #cpleftbanner2 li a {
    width: auto;
  }
  #tmtestimonialcmsblock .customNavigation {
    top: 0;
    right: 0;
  }
}
@media (max-width: 767px) {
  .customNavigation {
    opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
  }
  
  .tmcategorylist .customNavigation i.prev, 
  .testimonial-block-part .customNavigation i.prev, 
  #tminstagramblock .btn.prev.instagram_prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: 0;
  }
  .tmcategorylist .customNavigation i.next, 
  .testimonial-block-part .customNavigation i.next,
   #tminstagramblock .btn.next.instagram_next, 
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: 0;
  }  
  .quickview .mask.additional_slider .customNavigation i.prev {
    left: -10px !important;
  }
  .quickview .mask.additional_slider .customNavigation i.next {
    right: -10px !important;
  }
  .btn.next.brand_next {
    left: auto;
    right: 0;
    position: absolute;
  }
  .btn.prev.brand_prev {
    left: 0;
    right: auto;
  }
  .customNavigation i.next {
    left: auto;
    right: 0;
  }
}
@media (max-width: 480px) {
}

/**
 * Classic theme support for the ps_onepagecheckout module (PrestaShop 9.2+).
 *
 * Loaded only on the checkout page (see config/theme.yml, `order`), after the module stylesheet.
 * It provides:
 *   1. the few Bootstrap 5 utilities / CSS variables the module relies on and Classic
 *      (Bootstrap 4 alpha 5) does not ship,
 *   2. Classic-styled layout for the one-page checkout components (sections, address picker,
 *      carriers, payment options, modals, loaders, errors).
 */

/* ------------------------------------------------------------------ */
/* 1. Bootstrap 5 compatibility                                       */
/* ------------------------------------------------------------------ */

:root {
  --bs-border-color: #e5e5e5;
  --bs-secondary-color: #757575;
  --opc-primary: #24b9d7;
  --opc-primary-dark: #2fb5d2;
  --opc-danger: #ff4c4c;
  --opc-text: #232323;
  --opc-muted: #757575;
  --opc-border: #e5e5e5;
  --opc-bg-soft: #f6f6f6;
}

#checkout .cart-grid-body{
  padding: 0px 30px;
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius);
  background-color: #ffffff;
}
#checkout .cart-grid-right{
  padding-left: 30px;
}
/* JS toggles these class names, so they must exist and win over component display rules. */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 1rem !important; }
.text-danger { color: var(--opc-danger) !important; }
.text-muted { color: var(--opc-muted) !important; }
.text-body-tertiary { color: var(--opc-muted) !important; }
.fw-semibold { font-weight: 600 !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.bg-white { background-color: #fff !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.border-primary { border-color: var(--opc-primary) !important; }

/* Classes still emitted by module partials that Classic does not override. */
.one-page-checkout .form-label,
.opc-address-modal .form-label {
  display: block;
  margin-bottom: 0.5rem;
}
.one-page-checkout__section .form-label{
  text-align: left;
  font-weight: 500;
}
.one-page-checkout .form-select,
.opc-address-modal .form-select {
  display: block;
  width: 100%;
}
.one-page-checkout .form-check,
.opc-address-modal .form-check {
  position: relative;
  display: block;
  margin-bottom: 0.75rem;
}
.one-page-checkout .form-check .form-check-label{ padding: 0px; font-weight: 500;}
.one-page-checkout .form-check-input,
.opc-address-modal .form-check-input {
  position: static;
  margin: 0 0.5rem 0 0;
}

/* Bootstrap 5 modal helper missing from alpha 5. */
.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 3.5rem);
  overflow: hidden;
  overflow-y: scroll;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

/* Bootstrap 5 field validation states. */
.form-control.is-invalid,
.form-control-select.is-invalid {
  border-color: var(--opc-danger);
}
.form-control.is-invalid:focus {
  box-shadow: 0 0 6px #ffb2b2;
}
.invalid-feedback {
  width: 100%;
  margin-top: 0.25rem;  
  color: var(--opc-danger);
}
.has-error .form-control-label,
.has-error .form-control-feedback {
  color: var(--opc-danger);
}
.has-error .form-control {
  border-color: var(--opc-danger);
}

/* ------------------------------------------------------------------ */
/* 2. Spinner / loader / error placeholders                           */
/* ------------------------------------------------------------------ */

@keyframes opc-spin {
  to { transform: rotate(360deg); }
}
.opc-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  vertical-align: -0.125em;
  border: 0.15em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: opc-spin 0.75s linear infinite;
}
.opc-spinner.d-none { display: none !important; }
.opc-spinner--lg {
  width: 2rem;
  height: 2rem;
  margin-right: 0;
  color: var(--opc-primary);
}
.opc-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem 0;
}
.opc-loader__message {
  margin: 0.5rem 0 0;  
  color: var(--opc-muted);
}
.opc-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}
.opc-error__message {
  flex: 1 1 auto;
  margin: 0 1rem 0 0;
}
.opc-payment-methods-loader {
  z-index: 2;
}

/* ------------------------------------------------------------------ */
/* 3. One-page checkout layout                                        */
/* ------------------------------------------------------------------ */

.one-page-checkout {
  padding-right: 0;
}
.one-page-checkout__section {
  padding: 2em 0;
  background: #fff;  
}
.one-page-checkout__section .step__account a { color: var(--link-hover-color);}
.one-page-checkout__section #opc-delivery-address #opc-delivery-address-fields{
  display: inline-block;
}
.one-page-checkout__section.js-opc-payment-section,
.one-page-checkout__section + .one-page-checkout__section,
.js-opc-addresses-section + .one-page-checkout__section {
  border-top: 1px solid var(--opc-border);  
  display: grid;
}
.one-page-checkout__title {
  margin-bottom: 1rem;
  font-size: 18px;
  font-weight: 600;    
}
.one-page-checkout__links a,
.one-page-checkout__link {  
  text-decoration: underline;
  color: var(--link-hover-color);
}
.one-page-checkout__links a:hover,
.one-page-checkout__link:hover {
  color: var(--opc-primary);
}
.one-page-checkout__field .form-control {
  max-width: 100%;
}
.one-page-checkout__footer {
  padding: 1.5rem 0px;
}
.one-page-checkout__footer .opc-conditions {
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}
.one-page-checkout__footer .opc-conditions li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
body#checkout .one-page-checkout__footer .opc-conditions .condition-label {
  flex: 1 1 auto;
  margin-left: 20px;
}
.one-page-checkout__footer .opc-conditions .float-xs-left {
  margin-right: 0.5rem;
}
.one-page-checkout__submit.btn {
  margin-top: 0.5rem;
}
.one-page-checkout__submit:disabled {
  pointer-events: none;
  opacity: 0.55;
}
.one-page-checkout__placeholder {
  min-height: 2rem;
}

/* Form fields: Classic's horizontal label/input grid is too narrow for a 2/3-width column and for
   the side-by-side field rows, so stack label above input inside the one-page checkout. */
.one-page-checkout .opc-form-fields-row,
.one-page-checkout .form-group.row,
.opc-address-modal .form-group.row {
  display: block;
  margin-right: 0;
  margin-left: 0;
}
.one-page-checkout .form-group.row .form-control-label.required::after{
  color: var(--bs-danger);
  content: "*" / " ";
  position: absolute;
  margin: 0px 5px;
}
.one-page-checkout .form-group.row > [class*="col-"],
.opc-address-modal .form-group.row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}
.one-page-checkout .form-group.row > .form-control-label,
.opc-address-modal .form-group.row > .form-control-label {
  margin-bottom: 0.375rem;
  text-align: left;
}
.one-page-checkout .form-group.row > .form-control-comment,
.opc-address-modal .form-group.row > .form-control-comment {
  padding: 0px;
}
.opc-address-modal .modal-body > .js-opc-address-modal-fields > .row {
  margin-right: 0;
  margin-left: 0;
}
.opc-form-fields-row > .form-group.row {
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------------ */
/* 4. Saved addresses picker                                          */
/* ------------------------------------------------------------------ */

.opc-address-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  gap: 10px;
}
.opc-address-item {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem;
  margin-top: -1px;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--opc-border);
  border-radius: var(--border-radius);
}
.opc-address-item:first-child {
  margin-top: 0;
}
.opc-address-item.selected {
  position: relative;
  z-index: 1;
  background: var(--opc-bg-soft);
  border-color: var(--opc-primary);
}
.opc-address-item .custom-radio {
  margin-right: 0.75rem;
}
.opc-address-item__radio {
  flex: 0 0 auto;
  position: absolute;
  width: 85%;
}
.opc-address-item__body {
  flex: 1 1 auto;
  min-width: 0;
}
.opc-address-item__body .form-check-label {
  display: block;
  padding-left: 0;
  margin-bottom: 0.25rem;
  cursor: pointer;
  text-align: left;
  margin-left: 30px;
}
.opc-address-item__details {
  margin: 0;  
}
.opc-address-card__actions {
  flex: 0 0 auto;
}
.opc-address-card__toggle {
  padding: 0;
  line-height: 1;
  color: var(--opc-muted);
  background: transparent;
  border: 0;
}
.opc-address-card__actions .dropdown-menu {
  min-width: 8rem;
}
.opc-address-card__actions .dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.opc-address-card__actions .dropdown-item:hover {
  background: var(--opc-bg-soft);
}

/* ------------------------------------------------------------------ */
/* 5. Carriers and payment options                                    */
/* ------------------------------------------------------------------ */

.delivery-options__list {
  margin-bottom: 1rem;
}
.delivery-option__item {
  margin-top: -1px;
  background: #fff;
  border: 0px solid var(--opc-border);
  background-color: #f2f2f2;
  border-radius: var(--border-radius);
  margin-bottom: 10px;  
}
.delivery-option__item:first-child {
  margin-top: 0;
}
.delivery-option__item.is-selected {
  position: relative;
  z-index: 1;
  border-color: var(--opc-primary);
}
.delivery-option__label {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  padding: 0.75rem;
  margin: 0;
  cursor: pointer;
  gap: 10px;
}
.delivery-option__left {
  display: flex;
  flex: 1 1 14rem;
  align-items: center;
}
.delivery-option__check {
  flex: 0 0 auto;
  margin-right: 10px;
}
.delivery-option__carrier {
  display: flex;
  align-items: center;
}
.delivery-option__carrier-logo {
  max-width: 3.5rem;
  max-height: 2.5rem;
  margin-right: 0.75rem;
}
.delivery-option__carrier-name {
  font-weight: 500;
}
.delivery-option__content {
  flex: 1 1 10rem;
  padding: 0 1.75rem;  
  color: var(--opc-muted);
}
.delivery-option__price {
  flex: 0 0 auto;
  font-weight: 600;
  text-align: right;
}
.delivery-option__extra-content {
  padding: 0 0.75rem 0.75rem;
}
.delivery-option__extra:not([data-active]) .delivery-option__extra-content {
  display: none;
}
.delivery-options__display-after-carrier:empty,
.delivery-options__extra-carrier:empty,
#delivery-options__hook:empty {
  display: none;
}

.opc-payment-methods-wrapper {
  min-height: 6rem;
}
.payment-option {
  padding: 0.75rem;
  margin-top: -1px;
  background: #fff;
  border: 0px solid var(--opc-border);
  background-color: #f2f2f2;
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}
.payment-option:first-child {
  margin-top: 0;
}
.payment-option__form-check {
  display: flex;
  align-items: center;
}
.payment-option__form-check .custom-radio{
  margin-right: 10px;
}
.payment-option__label {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}
.payment-option__label img {
  max-height: 2rem;
  margin-left: 0.75rem;
}
.payment-option__additional-information {
  margin-top: 0.75rem;  
}
.js-payment-option-form {
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------------ */
/* 6. Express checkout, modals                                        */
/* ------------------------------------------------------------------ */

.opc-express-checkout {
  margin-bottom: 1.5rem;
}
.opc-express-checkout__buttons {
  display: flex;
  flex-wrap: wrap;
}
.opc-express-checkout__buttons > * {
  margin: 0 0.5rem 0.5rem 0;
}

.opc-address-modal .modal-header {
  align-items: center;
}
.opc-address-modal .modal-title {
  margin: 0;
  font-size: 1.25rem;
}
.opc-address-modal .modal-header .close,
#opc-delete-address-confirm-modal .modal-header .close {
  position: static;
  top: auto;
  right: auto;
  margin-left: auto;
  font-size: 1.75rem;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}
#submit-address-modal:disabled {
  pointer-events: none;
  opacity: 0.55;
}
#submit-address-modal .opc-spinner {
  margin-right: 0.5rem;
}
#opc-delete-address-confirm-modal .modal-title {
  font-size: 1.25rem;
}
.js-payment-binary.opc-binary-disabled,
.payment-binary.opc-binary-disabled {
  pointer-events: none;
  opacity: 0.5;
}
@media (max-width: 991px) {
  body#checkout section#content .row{
    margin: 0px;
  }
  #checkout .cart-grid-right{
    padding-left: 0px;
  }  
}

@media (min-width: 768px) {
  .opc-form-fields-row {
    display: grid;
    gap: 0 1rem;
  }
  .opc-form-fields-row--2 { grid-template-columns: 1fr 1fr; }
  .opc-form-fields-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* Pastorelli Sport Canada: e-mail addresses keep their case (the theme capitalises header links). */
.contact-link .email-service,
.block-contact a[href^="mailto:"] {
  text-transform: none;
}
