/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/* Google Font */
@import url('https://fonts.googleapis.com/css?family=Quicksand');

/* GLOBALS */
.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
   box-shadow: none!important;
 -moz-box-shadow:none;
     -webkit-box-shadow:none;
}

/*remove border around links and buttons in Firefox*/
:-moz-any-link:focus {outline: none;}

/* remove titles from pages and space */
.x-header-landmark {
padding: 20px 0 0 0!important;

} 
.h-landmark{font-weight:600!important;}

/* hide titles on all pages except blog pages*/
.home .x-header-landmark, .blog .x-header-landmark, .page .x-header-landmark, .single .x-header-landmark  {
display: none;
}


.home .x-container.offset {margin: 20px auto!important;}

body {
    background-color: #dedddd !important;
}


/* END OF GLOBALS */

/* NAVIGATION */

.x-navbar {
    background-color: #5b835d!important;
    background-image: url(/wp-content/uploads/2017/03/PlantFairs_header.jpg);
background-size: cover; 
    background-repeat: NO-repeat;
    background-position: right; }

/* FOOTER */
.x-colophon.top {background-color: #5b835d!important;
min-height:300px;
    background-image: url(/wp-content/uploads/2017/05/new-footer-1.jpg);
background-size: cover; 
    background-repeat: NO-repeat;
    background-position: bottom;
}
/* services page */
home.x-colophon.top {background-color: #5b835d!important;
    background-image: url(/wp-content/uploads/2017/05/new-footer.jpg);}

/* services page */
.page-id-962 .x-colophon.top {background-color: #5b835d!important;
    background-image: url(http://gardenmaker.co.uk/wp-content/uploads/2014/07/fsimage-team.jpg);
 background-position: top;}

/* projects page */
.page-id-863 .x-colophon.top {background-color: #5b835d!important;
    background-image: url(http://gardenmaker.co.uk/wp-content/uploads/2014/07/fsimage2.jpg);
 background-position: top;}
.x-colophon.bottom {padding:0px!important; margin:0px!important;}

/* Make social icons smaller */
.x-colophon.bottom .x-social-global a {
  width: 36px;
  height: 36px;
  font-size: 18px;
  line-height: 36px;
}

/* mailchimp */

.x-subscribe-form-38 {max-width: 100% !important; font-size:15px!important; padding:10px!important; margin:0px!important;}
.x-subscribe-form-38 fieldset {display: inline; vertical-align: top;}
.x-subscribe-form-38 input[type="submit"] {margin-top: 0; height: 30px;}

/* contact from 7 subscribe form - make a little form and grab shortcode 

.wpcf7 input[type="text"],
 .wpcf7  input[type="email"],
 .wpcf7 input[type="submit"],
 .wpcf7 textarea {width:auto; margin-top: 0; height: 30px!important; padding:0px 4px 0px 4px!important; margin:0px!important; box-shadow:none!important;}

*/

#sub {width:auto; margin-top: 0; height: 30px!important; padding:0px 4px 0px 4px!important; margin:0px!important; box-shadow:none!important;}

/* testimonial section */
blockquote {font-family: quicksand!important; border: 1px dotted #e5e5e5;}

/* subscribe block padding fix */
.page-id-20 #x-section-4 {padding:0px 0!important;}

.page-id-61 #x-section-3 {padding:0px 0!important;}

.single-post .entry-featured {
     display:none!important;
}
/* hide date on recent posts */
.x-recent-posts-date {
display: none!important;
}
.wpcf7-form-control-wrap .rcsubscribe {width: 300px; margin:0 auto!important;}

.nursery-item-row {
}
a .nursery-item {
    display: inline-block;
    width: 31.6%;
    float: left;
	text-align:center;
	margin:10px;
	background:#e1b142;
	border-radius:10px;
	color:#fff;
	font-weight:600;
	padding:10px;
	font-size:1.3em;
}
a .nursery-item span {
	font-size:0.8em;
	font-weight:400;
}
a .nursery-item:hover {
	color:#fff;
	background:#555;
}
.wp-caption>.wp-caption-text, .wp-caption>.wp-caption-text:last-child, .gallery-item>.wp-caption-text, .gallery-item>.wp-caption-text:last-child {
	display:none;
}
.wp-caption, .gallery-item {
	border:none;
}
.social-icons i {
	font-size:2em;
	padding: 0px 10px;
}

@media only screen and (max-width: 1330px) {
a .nursery-item {
	    width: 30.6%;
}
}
@media only screen and (max-width: 850px) {
a .nursery-item {
	    width: 30%;
}
}