/*
Theme Name: Tara Theme
Theme URI: http://www.colouredcow.com/
Description: Theme made specifically for Domaine de Tara website. All rights reserved. &copy; 2012
Version: 2.0
Author: Hugo Bailey
Author URI: http://www.colouredcow.com/
*/


@font-face {
    font-family: 'Avant Garde';
    src: url('fonts/avgardm-webfont.eot');
    src: url('fonts/avgardm-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/avgardm-webfont.woff') format('woff'),
         url('fonts/avgardm-webfont.ttf') format('truetype'),
         url('fonts/avgardm-webfont.svg#avantgarde_md_btmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}
a img {
	border:none;
	text-decoration:none;
}
body {
	margin:0px;
	padding:0px;
	font-family: 'Avant Garde', Century Gothic, Arial, sans-serif;
	background: #f6f6f6 url(images/bground4.jpg) fixed no-repeat bottom center; /* original light blue: E1F9F9; pale orange: FDEAE5) */
	background-size: cover;
	text-align:justify;
	font-size:14px;
}

p {
	font-size: 14px;
	line-height: 1.4;
	color:#000000;
}

#wrapper {
	width:960px;
	margin: 0 auto;
	/*border: 1px solid #000;*/
	/*background:#FDEAE5;
	z-index:-10;
	position:relative;*/
}
#container {
	margin-left:246px;
	padding:20px;
	border: 2px solid #DCDCDC;
	/*background-image:url('images/logo5.png');
	background-repeat:no-repeat;*/
	min-height:450px;
	-moz-box-shadow: 0 0 5px 2px #DCDCDC;
	-webkit-box-shadow: 0 0 5px 2px #DCDCDC;
	box-shadow: 0 0 5px 2px #DCDCDC;
	z-index: 1;
	background:#ffffff;
}
h1 {
	font-family: 'Avant Garde', Century Gothic, Arial, sans-serif;
	text-transform:uppercase;
	color:#6D81BC;
	margin-bottom:6px;
	font-weight:normal;
	font-size: 1.5em;
}
.footer {
	text-align:center;
	padding-top:7px;
	width:520px;
	margin:0 auto;
	padding-left:240px;
	font-size:10px;
	color:#DCDCDC;
	margin-bottom:20px;
}

.footer a:link, .footer a:visited {
	color: #DCDCDC;
}

a:link, a:visited {
	color:#6D81BC;
}

#newsSubtitle{
	font-family: 'Avant Garde', Century Gothic, Arial, sans-serif;
	font-size:18px;
	color:#6D81BC;
	margin-bottom:6px;
}

#news {
	margin-bottom:18px;
	display: block;
}

.logo {
	float: right; 
	/* orig
	margin-right:-64px; 
	margin-top:-24px;
	*/	
	margin-right:-64px; 
	margin-top:-80px;
	z-index: 2;
}

#breadcrumbs {
font-size:11px;
font-family: 'Avant Garde', Century Gothic, Arial, sans-serif;
color:gray;
margin-bottom:15px;
}

#breadcrumbs a {
	text-decoration:none;
	color:gray;
}

#commande {
	text-align:center;
}
#commande td {
	padding: 14px 2px;
}

#commandeDetails td {
	padding:0;
}
#commande input[type=text] {
	width:182px;
}
#commande textarea {
	width:180px;
}
#commande .commandeRow input {
	width:40px;
}

ul.polylang-chooser {
	float:right;
	/* orig: margin-top:25px; */
	margin-top:10px;
	margin-right:-26px;
	list-style:none;
	z-index: 100;
	position: relative;	
	/* background:#fff; #maybe have this? think it looks better without though */

}

ul.polylang-chooser li {
	padding: 0px 5px;
	margin-top:1px;
	border:none;
	display: block;
}

ul.polylang-chooser li:first-child {
  border-bottom:1px solid #DCDCDC;
  padding-bottom:1px;
	margin-bottom: 3px;
}

.topnav {
	float:left;
	width: 230px;
	padding: 40px 28px 25px 0;
	/*font-family: "CenturyGothicRegular", "Century Gothic", Arial, Helvetica, sans-serif;*/
	font-family: 'Avant Garde', Century Gothic, Arial, sans-serif;
	/*background-color:#DE6D27;*/ /* should be same colour as back of each heading so that when slide around alot, it doesnt accidentally lose its marbles and briefly flash some of the white page behind */
}

ul.topnav {
	padding: 0;
	margin: 0;
	font-size: 1em;
	line-height: 0.5em;
	list-style: none;
}


/*
 this styles the whole sub-section
 ul.topnav .current-menu-item li a {
	color:white;
}
current-page-ancestor is the parent style added by wp
 */
.topnav li.current-menu-item a, .topnav ul li.current-menu-item a, .topnav ul ul li.current-menu-item a {
	/*background-color:#6D81BC;*/
	color:#6D81BC;
	/* background-image:url('/wp-content/themes/tara/images/indent.jpg');
	 background-repeat:no-repeat;	*/
	
}

.topnav li.current-menu-item a:before {
	content:"";
	display:block;
	height:100%;
	width:10px;
	background:#6D81BC;
	position: absolute;
    left: 0;
    top: 0;
}

ul.topnav li.current-menu-item a {
	/*color:white;*/
}

/* affects all, but to change 1st order things, put them here, and the reverse them for 2nd and 3rd order ones */
ul.topnav li a {
	position: relative;
	line-height: 10px;
	font-size: 14px;
	padding: 12px 10px;
	color: #000;
	display: block;
	text-decoration: none;
	/*font-weight: bolder;*/
	/*background: #222663 url("/wp-content/themes/tara/images/blue.jpg") repeat-x left top;*/
	background-color:#fff;/* DE6D27 poss: EF975D*/
	text-transform:uppercase;
	border-top:none;
	background-image:url('images/navigation-shadow3.png');
	background-repeat:repeat-x;
	background-position:left bottom; 	
	padding-left:20px;
	/*opacity:0.9;*/
	background-color: rgba(255, 255, 255, 0.8);
}

/* 1st order */
ul.topnav li a:hover {
	/*background-color:#6D81BC;*/
	background-color: rgba(109, 129, 188, 0.8);
	color:white;
}
/* /1st order */

ul.topnav ul {
	margin: 0;
	padding: 0;
	display: none;
	list-style: none;
}

ul.topnav ul li {
	margin: 0;
	padding: 0;
	clear: both;
}

/* 2nd order */
ul.topnav ul li a {
	padding-left: 30px;
	font-size: 14px;
	font-weight: normal;
	outline:0;
	text-transform:none;
	border-top:none;
	border-bottom:1px dotted silver;
	background-image:none;
}
ul.topnav ul li a:hover {
	/*background-color:#D3C99C;
	 color:#675C7C;*/
	/*background-color:#6D81BC;*/
	background-color: rgba(109, 129, 188, 0.8);
	color:#fff;
}
/* /2nd order */

/* 3rd order */
ul.topnav ul ul li a {
	color:#000000;
	padding-left: 40px;
	background-image:none;
}
ul.topnav ul ul li a:hover {
	/*background-color:#D3CEB8;
	 color:#675C7C;*/
	/*background-color:#6D81BC;*/
	background-color: rgba(109, 129, 188, 0.8);
	color:#fff;
}
/* /3rd order */

ul.topnav span{
	float:left;
	margin-left:-15px;
}

.slides {
	margin:10px 0px; 
	position:relative; 
	z-index:-1; 
	height: 200px;
}

.aligncenter {
	display:block;
	margin:0 auto;
	text-align:center;	
}

.video-container {
	margin: 0 auto;
	margin-top:20px;
}
.video-container {
	position:relative;
	padding-bottom:35%;
	padding-top:30px;
	height:0;
	overflow:hidden;
	max-width: 480px;
	margin:0 auto;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.downloadLinks {
	font-size:smaller;
	text-align: center;
}
/* facebox */
#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  text-align: left;
}


#facebox .popup{
  position:relative;
  border:3px solid rgba(0,0,0,0);
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;
  -webkit-box-shadow:0 0 18px rgba(0,0,0,0.4);
  -moz-box-shadow:0 0 18px rgba(0,0,0,0.4);
  box-shadow:0 0 18px rgba(0,0,0,0.4);
 width:600px;
}

#facebox .content {
  display:table;
  width:100%;
  padding: 20px;
  /*padding-right:0px;
padding-left:0px;*/
  background: #ECEFF5;
  
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
}

#facebox .content > p:first-child{
  margin-top:0;
}
#facebox .content > p:last-child{
  margin-bottom:0;
}

#facebox .close{
  position:absolute;
  top:5px;
  right:5px;
  padding:2px;
  background:#ECEFF5;
}
#facebox .close img{
  opacity:0.3;
}
#facebox .close:hover img{
  opacity:1.0;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 999;
}

.menuburger {
	display:none;
	font-size: 60px;
    color: #fff;
    position: absolute;
    margin-left: 10px;
    line-height: 1;
    font-weight:bold;
   	margin-top: 15px;
   	height: 38px;
}

@media (max-width: 480px){
	.menuburger {
		display:block;
	}
	#wrapper, .footer {
		width:100%;
	}	
	#container {
		margin-left: 0;
		min-height: 0;
	}	
	.footer {
		padding-left:0;
	}
	.footer, .footer a:link, .footer a:visited {
		color:#888;
	}	
	.nav-container, #container .logo {
		display: none;
	}	
	.topnav {
		width:100%;
		float:none;
		border:1px solid #eee;
	}
	.nav-container {
		margin-bottom: 20px;
	}
	ul.topnav span {
		margin-left: -12px;
	}
	ul.topnav li a {
		padding: 16px 10px;
		padding-left:17px;
	}
	.slides {
		height:auto;
		margin-top:0;
	}
	body {
		padding: 10px;
		background:none;
	}
	ul.polylang-chooser {
		margin-right:5px;
	}
	ul.polylang-chooser li {
		display: inline-block;
		margin:0;
	}
	ul.polylang-chooser li:first-child {
		 border-right: 1px solid #DCDCDC;
		 border-bottom:0;
		 margin-bottom:0;
	}
	ul.polylang-chooser li:last-child {
		padding-left: 0;
	}
	h1 {
		margin-top:2px;
	}
	.table-responsive {
		overflow-x: auto;
		width: 100%;
		overflow-y: hidden;
	}
	.parent-pageid-35 td img, .parent-pageid-551 td img {
	    width: auto;
    	height: 120px;
	}
}

/* WC (note need to add .woocommerce-page to ensure they're taken into account - or use !important) */
.woocommerce.woocommerce-page .products, .woocommerce.woocommerce-page ul.products li.first, .woocommerce .woocommerce-error::after, .woocommerce .woocommerce-info::after, .woocommerce .woocommerce-message::after, .woocommerce .woocommerce-order ul.order_details::after {
	clear:none;	
}

.woocommerce div.product .woocommerce-tabs .panel {/*think need this because of the above although because we hide the tabs below, its not actually needed */
	clear:both;
}

.woocommerce-tabs .tabs.wc-tabs {
	display:none;
}

.woocommerce.woocommerce-page ul.products li.product img.attachment-shop_catalog {
	width: auto;
    height: 120px;
}

.woocommerce.woocommerce-page ul.products li.product, .woocommerce-page.woocommerce-page ul.products li.product {
	width: 30%;
	text-align: center;
}

.woocommerce.woocommerce-page ul.products li.product .price {
	font-size:16px;
	margin-bottom: 0;
}

.woocommerce.woocommerce-page ul.products li.product .button {
	margin-top: 10px;
}

.woocommerce.woocommerce-page .woocommerce-products-header {
	margin-bottom:25px;
}

.woocommerce ul.products li.product .download_links a {
	text-decoration: underline;
}

.woocommerce ul.products li.product .download_links .download_title {
	display:block;
	margin-bottom:3px;
}

.woocommerce ul.products li.product .download_links {
	margin-top: 15px;
    font-size: 12px;
}

.woocommerce {
	padding-top:25px;
}

.woocommerce .button.product_type_simple.ajax_add_to_cart {
	display:none;
}

.woocommerce .purchasable .button.product_type_simple.ajax_add_to_cart {
	display:inline-block;
}

.woocommerce .thumbnail-quantity.quantity {
    width: 30px;
    color: #515151;
    padding: 5px 4px;
    border-radius: 3px;
    box-shadow: none;
    -webkit-box-shadow: none;
    text-shadow: none;
    margin-right: 5px;
}
