/*
 Theme Name:   RMS forms
 Theme URI:    http://www.rmsvideo.ch
 Description:  RMS Custom theme
 Author:       Thierry Rey
 Author URI:   http://www.rmsvideo.ch
 Template:     storefront
 Version:      1.0.2
 License:      Commercial
 License URI:  http://www.rmsvideo.ch
 Tags:         rms, responsive-layout, accessibility-ready
 Text Domain:  rmsform
 
*/

/* Custom sitewide styles */

body {
	font-weight: 300;
}

h1, h2, h3 {
	font-weight: 300;
}

.site-title {
  font-size: 16px !important;
}

.woocommerce-store-notice {
  background-color: #ce650a !important;
}

/* Canvas width - wider website form */
@media (min-width: 768px) {
.col-full {
      max-width: 90em !important;
      margin-left: auto;
      margin-right: auto;
  }
}

@media (max-width: 768px) {
	.demo_store {
		display: none;
  	}
	.custom-logo-link {
		width: 150px !important;
	}
	.custom-logo-link img {
		width: 150px !important;
	}
	.storefront-handheld-footer-bar .search {
		display: none;
	}
}

/* Website header */
#masthead {
	padding-top: 15px;
}

.primary-navigation .menu_item_wpglobus_menu_switch {
	display: none;
}

.custom-logo-link {
	margin-bottom: 20px !important;
}

.site-header .secondary-navigation {
	float: right !important;
	margin-right: 0 !important;
}
.site-header .secondary-navigation li a {
	font-weight: 500;
}

.site-header-cart {
	background: #006db8;
}

.site-header-cart li .cart-contents {
	opacity: 1 !important;
	color: #ffffff !important;
	padding-left: 20px;
	padding-right: 20px;
}
.site-header-cart .cart-contents .count {
	color: #ffffff !important;
	font-weight: bold !important;
	opacity: 1 !important;
}

.widget_shopping_cart {
	background: #ffffff !important;
	box-shadow: 0 15px 20px rgba(0, 0, 0, 0.4);
}
.widget_shopping_cart dl.variation {
  display: none;
}

#primary {
  width: 100%;
}

.storefront-sorting {
  display: none;
}


/* WooCommerce – Hide elements */

.woocommerce_message {
	display: none;
}

.woocommerce .products .product .price, .woocommerce .product .summary p.price {
  display: none !important;
}


/* WooCommerce – Product catalog */

.woocommerce-breadcrumb {
	background: none;
	border-bottom: 1px solid #eaeaea;
}

#main article {
  border: none !important;
}

h1.product_title {
  display: none;
}

.woocommerce .products li a  {
  display: block;
}

.woocommerce .products li a img {
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.woocommerce .products li a img:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* WooCommerce – Product page */

.woocommerce .product_meta,
.woocommerce .woocommerce-tabs {
  display: none;
}

.woocommerce-variation, .woocommerce-variation .woocommerce-Price-amount, .woocommerce-variation .woocommerce-variation-description {
  display: none;
}

.post-type-archive-product .products .button,
.woocommerce-page .products .button,
.post-type-archive-product .products h3,
.woocommerce-page .products h3 {
  display: none !important;
}

.single-product .reset_variations {
  display: none;
}

.single-product .variations_form {
  border: none !important;
}

.single-product .variations_button .button[disabled="disabled"] {
  background-color: #c0c0c0 !important;
}

.single-product div[itemprop="offers"] {
	display: none;
}

.single-product .related,
.single-product .quantity {
  display: none !important;
}

.single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
  float: right;
}


/* WooCommerce – Cart */

.woocommerce-cart-form__contents thead {
  display: none !important;
}

.woocommerce-cart .shop_table th.product-quantity,
.woocommerce-cart .shop_table .shipping,
.woocommerce-cart .cart_item td.product-price,
.woocommerce-cart .cart-subtotal {
  display: none;
}

.woocommerce-cart .cart_totals .shipping {
  display: none;
}

.woocommerce-cart header.entry-header {
  display: none;
}

table.cart .product-thumbnail {
  display: table-cell !important;
}

table.cart .product-thumbnail span img, table.cart .product-thumbnail a img {
	max-width: 420px;
}

table.cart .product-thumbnail span,
table.cart .product-thumbnail a {
  display: block;
  width: 70%;
  background-color: #ffffff !important;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2)
}

table.cart .product-thumbnail span img,
table.cart .product-thumbnail a img {
  width: 100%;
  height: auto;
}

table.cart .product-name dd div, table.cart .product-name dd[class*="variation-span"],
.woocommerce-table__product-name div div, .woocommerce-table__product-name div[class*="variation-span"], .woocommerce-checkout-review-order dl.variation, .woocommerce-checkout-review-order .product-name dd div, .woocommerce-checkout-review-order .product-name dd[class*="variation-span"] p{
  display: none;
}

.woocommerce-thankyou-order-received {
  display: none;
}

.woocommerce-active .popup_back, .woocommerce-cart .popup_back {
	z-index: 1000;
}

.woocommerce-active .popup_cont, .woocommerce-cart .popup_cont {
	z-index: 1100;
}

.woocommerce-active .popup_cont .popup_content h1, .woocommerce-cart .popup_cont .popup_content h1 {
	display: none;
}

.woocommerce-active .return-to-shop, .woocommerce-cart .return-to-shop {
	display: none;
}

table.cart .saveforlater_button a{
	display: inline-block;
	background: #d6d6d6;
	padding: 5px 10px 5px 10px;
	border-radius: 3px;
	margin-top: 5px;
}
table.cart .saveforlater_button a:hover {
	background: #717171;
	color: #ffffff;
}


/* WooCommerce – custom fields */
.wccf_field_container {
  margin-bottom: 40px;
  padding: 0;
}

.wccf_field_container label {
  font-weight: bold;
}


/* Fancy Product Designer */

/* MSPC variations */
.mspc-variations img.mspc-attribute-image {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

.mspc-variations .active img.mspc-attribute-image {
  box-shadow: none;
}

.mspc-module-steps .mspc-menu-item.active:after,
.mspc-module-steps .mspc-menu-item.active {
  background: #006db8 !important;
}

.fpd-container .fpd-main-wrapper {
  background: none #ffffff !important;
  background-image: none !important;
}

.fpd-container>.fpd-loader-wrapper {
	position: fixed;
	z-index: 1000;
}

.mspc-clear-selection {
  display: none;
}

.fpd-view-active {
	border: solid 1px #006db8;
}

/* Hide png/jpg download */
.fpd-modal-wrapper .fpd-item[data-value='png'], .fpd-modal-wrapper .fpd-item[data-value='jpeg'], .fpd-modal-wrapper .fpd-item[data-value='svg']  {
	display: none !important;
}
.fpd-modal-wrapper .fpd-icon-jpg, .fpd-modal-wrapper .fpd-icon-png, .fpd-modal-wrapper .fpd-icon-svg {
	display: none !important;
	height: 0 !important;
	width: 0 !important; 
}

/* Hide lock icon on layers */
.fpd-lock-element {
  display: none;
}

.fpd-element-toolbar .fpd-tool-font-family,
.fpd-element-toolbar .fpd-tool-text-size,
.fpd-element-toolbar .fpd-tool-text-line-height,
.fpd-element-toolbar .fpd-tool-text-bold,
.fpd-element-toolbar .fpd-tool-text-italic,
.fpd-element-toolbar .fpd-tool-text-underline,
.fpd-element-toolbar .fpd-tool-text-align,
.fpd-element-toolbar .fpd-tool-text-stroke,
.fpd-common-tools{
  display: none !important;
}

#fpd-share-button {
  background-color: #006db8;
}


/* Trick to display the text field all the time */

.fpd-element-toolbar {
  background: #006db8 !important;
  display: block !important;
  visibility: visible !important;
  left: 40% !important;
  margin-top: 50px;
}

.fpd-sub-panel {
  display: block !important;
  visibility: visible !important;
}

.fpd-panel-transform, .fpd-panel-fill, .fpd-panel-transform, .fpd-panel-position, .fpd-panel-stroke, .fpd-panel-curved-text {
  display: none !important;
}
.fpd-panel-edit-text {
  display: block !important;
  visibility: visible !important;
}
.fpd-panel-edit-text textarea {
  font-size: 22px;
  width: 500px;
}
.fpd-sub-panel {
  display: block !important;
  width: 524px !important;
}
.fpd-element-toolbar>.fpd-sub-panel {
  top: 0px !important;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.5);
}

.fpd-sub-panel>div.fpd-active {
  display: block !important;
}


/* Trick to have larger variations thumbnails */

.fpd-draggable-dialog {
  width: 500px;
  height: 500px;
}

.fpd-grid.fpd-padding>.fpd-item>picture {
  background-size: cover;
  top:2px;
  left:2px;
  right:2px;
  bottom:2px;
}

.fpd-grid>.fpd-category.fpd-item {
	width: 100% !important;
	height: 200px !important;
	float: none !important;
}

.fpd-grid>.fpd-category.fpd-item picture {
	height: 80% !important;
}


/* WooCommerce – My Account pages */

@media (min-width: 768px) {
  .woocommerce .addresses .title a {
    background-color: #006db8;
    color: #ffffff;
    font-size: 24px;
    margin-top: 0;
    border-radius: 3px;
    padding: 20px 25px 15px 10px;
  }
  .woocommerce-account .addresses .title a:hover {
    background-color: #00539f;
  }
	.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads {
		display: none;
	}
}

.order-again {
  display: none;
}