/*
Theme Name:  City
Theme URI:   https://www.proanima.com
Description: Theme for cities using the <a href="https://www.proanima.com">Proanima</a> Animal Management System
Author:      S2B Solution
Author URI:  https://www.s2bsolution.com
Template:    storefront
Version:     1.3.0
Text Domain: proanima-licences
*/

/* Fonts */
h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-description {
	font-family: 'Comfortaa', sans-serif;
}

/* Slogan */
.site-branding .site-description {
    font-size: 1.275em;
}

/* Logo */
.site-branding img {
	max-width: 300px !important;
}

/* Header */
/* @url https://stackoverflow.com/questions/3906983/two-color-borders */
.storefront-primary-navigation {
	border-bottom: 10px solid #f18830;
	position: relative;
}
.storefront-primary-navigation:before {
	border-bottom: 10px solid #5ec7dc;
	position: absolute;
	display: block;
	content: '';
	height: 100%;
	width: 100%;
	box-sizing: border-box;
}

#masthead {
	background-position-y: 74%;
}

/* Comprimer titre de page verticalement */
.storefront-full-width-content.woocommerce-cart .entry-header,
.storefront-full-width-content.woocommerce-checkout .entry-header,
.storefront-full-width-content.woocommerce-account .entry-header,
.storefront-full-width-content .woocommerce-products-header {
	text-align: left;
}

@media (min-width: 768px) {
	.storefront-full-width-content.woocommerce-cart .entry-header,
	.storefront-full-width-content.woocommerce-checkout .entry-header,
	.storefront-full-width-content.woocommerce-account .entry-header,
	.storefront-full-width-content .woocommerce-products-header,
	.storefront-full-width-content header.page-header {
		padding: 2em 0 2em 0;	
	}
}

/* Storefront - Enlever les boites autour des liens */
a:focus,
.focus a {
	outline: none !important;
}


/* Storefront Blog Archive */
.posted-on,
.post-author,
.post-comments {
	display: none;
	visibility: hidden;
}

/* Switch-to User */
#user_switching_switch_on {
	background: #e2401c;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1em 1.618em;
    border-left: 0.6180469716em solid rgba(0, 0, 0, 0.15);
    margin: 0;
}

#user_switching_switch_on a {
	color: #ffffff;
}


/* Formulaires */
/* Dropdowns */
.select2-container--default .select2-selection--single {
	background-color: #f2f2f2;
}
/* Boutons */
.acf-button {
	background-color: #17a2b8;
	color: #fff;
}
input[type="submit"] {
	background-color: #28a745;
	color: #fff;
}


/* WooCommerce */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--animals a::before {
	font-family: "Dashicons";
	content: "\f452";
}
table tbody tr.order_item td.product-name ul.wc-item-meta {
	display: none;
}
.woocommerce-account table.account-orders-table thead tr th.woocommerce-orders-table__header-order-actions {
	min-width: 230px;
}
.woocommerce-account table.my_account_orders thead tr th.subscription-actions.order-actions {
	min-width: 140px;
}
.woocommerce-account table.my_account_orders thead tr th.order-number {
	min-width: 108px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name dl.variation {
	display: none;
}
.woocommerce-checkout.woocommerce-order-received .woocommerce-order section.woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details .order_item .product-name a {
	color: #6d6d6d;
    text-decoration: none;
    pointer-events: none;
}
table .product-name > a:not(.wcs-switch-link):not(.button) {
	color: #6d6d6d;
	text-decoration: none;
	pointer-events: none;
}
.shop_table.subscription_details tbody tr td a {
	margin-bottom: 3px;
}


.potential_license_switch {
	color: #ff0000;
	font-weight: bold;
}

/* Animals orders */
.woocommerce-account .table-wrapper.my_account_orders .button {
	/* font-size: 12px; désactivé car plus petit que le reste du texte */ 
	text-align: center;
	margin-bottom: 5px;
}

.woocommerce-account .table-wrapper.my_account_orders .button.buy-license {
	background: #F1882F;
	color: #ffffff;
	min-width: 120px;
}

table tr.not-alive td  {
	background-color: #f3e1e3 !important;
	color: #941111;
}

table thead th, table td, table th {
	padding: 1em 0.6em;
}


/* Footer */
.site-info {
	width: 40%;
	float: left;
}
.site-credit {
	padding: 2.617924em 0;
	width: 40%;
	float: right;
	text-align: right;
}
.site-privacy {
	clear: both;
}
.site-privacy span {
	font-weight: bold;	
}

.subscription_details a.pay {
	background: #F1882F;
	color: #ffffff;
}

.cmplz-document .site-header {
    margin-bottom: 4.235801032em
}

/* Media Queries */

@media (max-width: 1199px) {
	#masthead {
		background-position-x: 65%;
	}
}

@media (max-width: 767px) {
	.storefront-primary-navigation {
		padding-bottom: 30px;
	}
	
	#masthead {
		background: none;
	}

	.table-wrapper.my_account_orders tr td {
		border-top: 1px solid #ccc;
	}
}