/*
Theme Name: Astrid child theme
Author: Nadia Pearce
Template: astrid
Version: 1.0
*/

@import url("../astrid/style.css");
/*No overlay on header image */
.header-image::after {
	background: transparent;
}

/*Header image always it's full height*/
.header-image img.large-header{
	height: 500px !important;
}

/*Size, position and style of text in header*/
.header-subtext {
	font-size: 30px;
	font-weight: bold;
	color: #2c7fa9;}

/*Style of menu items in header */
.main-navigation a {
	font-weight: bold;}


.main-navigation li {
	padding-left: 12px;
	padding-right: 12px;}

.sub-menu li {
	background: #ddd;}

/* Colour of links other than menu */
a {
	color: #2c7fa9 !important;}

ul#primary-menu.menu a:hover {
	color: #fff !important;}
	
ul#primary-menu.menu a {
	color: #2c7fa9 !important;}
	
/* Position and size of logo only on big screens*/
@media only screen and (min-width: 1199px) {
.custom-logo-link {
	margin-left: -200px;}
}

/* Menu background */
@media only screen and (min-width: 1199px) {
.site-header {
	/* background-image: url("http://www.auspacingredients.com.au/ccdwordpress/wordpress/wp-content/uploads/2017/01/menu_background.jpg");} */
	background-image: url("../../uploads/2017/01/menu_background.jpg")}
}

@media only screen and (max-width: 1199px) {
.site-header {
	background-color: #2c7fa9 !important;}

.main-navigation {
	background-color: #ddd !important;}

.sub-menu li {
	background-color: #fff !important;}
}

/*Less space between header and content */
.site-content {
	margin-top: 30px;}

/* News page layout only on big screens*/
@media only screen and (min-width: 1199px) {
div.entry-thumb {
	width: 30%;
	float: right;}

div.posts-layout p {
	width: 125%;}

div.posts-layout div.read-more.clearfix {
	width: 50%;
	float: left;
	margin-top: -8%;}
}
/* Centre image on post page */
img.attachment-astrid-large-thumb.size-astrid-large-thumb.wp-post-image {
	display: block;
	margin: auto;}
	
/* Full width line behind image on contactpage */
p#line-full-width {
	border-bottom: 1px solid #ebebeb;
	margin-bottom: 50px;}
	
p#line-full-width img {
	margin-bottom: -25px;
	background-color: white;
	padding: 3px;
	width: 56px;}

	
/* Home page layout only on big screens */
@media only screen and (min-width: 1199px) {
div.atblock.container {
	margin-top: -70px;
	margin-bottom: -100px;}
}
	
/* Footer at bottom of page only on big screens  */
@media all and (min-height: 900px){
.page-id-267 .site-footer{
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;} 
.page-id-104 .site-footer{
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;} 
.page-id-723 .site-footer{
	position: fixed;
	width: 100%;
	bottom: 0;
	left: 0;}
}

/* Homepage on mobile */
@media only screen and (max-width: 760px) {
h4.header-subtext {
	display: none;}

.header-image {
	display: none;}

.site-header {
	background-color: #2c7fa9 !important;}
	
div.atblock.container {
	margin-top: -20px;}
}

/* Submenu width */
@media only screen and (min-width: 760px) {
#mainnav ul ul a, #mainnav ul li ul{
  width: 250px;}
} 

/* Styling of product menus on over the counter products page */
div.pig-product-menu {
	border: 1px solid #ebebeb;}

div.pig-product-menu img {
	display: block;
    margin: auto;
	margin-bottom: -20px;}
	
div.pig-product-menu h3 {
	font-size: 30px;
	text-align: center;
	margin-top: 0px;}
	
div.poultry-product-menu {
	border: 1px solid #ebebeb;
	text-align: center;}
	
div.poultry-product-menu img {
	display: inline-block;
    margin: auto;
	margin-bottom: 8px;}
	
div.poultry-product-menu h3 {
	font-size: 30px;
	text-align: center;
	margin-top: 0px;}
	
div.cattle-product-menu {
	border: 1px solid #ebebeb;}

div.cattle-product-menu img {
	display: block;
    margin: auto;
	margin-bottom: -20px;}
	
div.cattle-product-menu h3 {
	font-size: 30px;
	text-align: center;
	margin-top: 0px;}
	
/* Contact form lay out on big screens*/
@media only screen and (min-width: 760px) {
#your-name {
	width: 49%;
	float: left;}

#your-name input{
	width: 100%;}

#your-email {
	width: 49%;
	float: right;}

#your-email input{
	width: 100%;}

#your-message {
}
}

/*Position of recaptcha on contact page in Chrome */
p#your-message {
	display: block;
	width: 100%;
	float: left;}

div#recaptcha {
	width: 100%;
	float: left;
	display: block;}

/* Position of "your message" on contactpage in Chrome only */
@media screen and (-webkit-min-device-pixel-ratio:0) {
#your-message label{
	float: left;
	width: 100%;}

#your-message input{
	width: 100%;}



}
/* Contact form lay out on mobile screens*/
@media only screen and (max-width: 760px) {
#your-name input{
	width: 100%;}

#your-email input{
	width: 100%;}
}
/* Styling of product menus adding for mobile */
@media only screen and (max-width: 760px) {
div.poultry-product-menu img {
	display: block;}
}

/* Styling of product menus adding for tablet */
@media only screen and (min-width: 760px) and (max-width: 1199px){
article#post-346.post-346.page.type-page.status-publish.hentry.clearfix {
	padding-left: 20px;
	padding-right: 20px;}

div.poultry-product-menu img {
	max-width: 50%;
	padding-bottom: 3px;}
}

/* -- Custom CSS -- */
.woocommerce .content-area {
	float: none;
    margin-left: auto;
	margin-right: auto;
	width: 100%;
	border-top: 1px solid #F2F2F3;
}

.has-bordered-col >.wp-block-column{
	border: 1px solid #ebebeb;
}