/* ----------------------------------------------------------------
    Paragraps defaults
-----------------------------------------------------------------*/
#header_action_button,
#header_cart, #menu>ul>li>a,
.offer_li .title h3,
textarea,
p {
    font-family: $font-family;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7em;
}

/* ----------------------------------------------------------------
    Home page sections
-----------------------------------------------------------------*/
.home {


	section.tagline {
		background-color: $black;
		padding: 18px 0;

		.column {
			margin: 0;
		}

		p {
			color:  #a8a8a8;
		    font-weight: 300;
		    font-size: 18px;
			padding: 0 40px;
			margin-bottom: 0;

		    @media screen and (max-width: $break-medium) {
				font-size: 16px;
				padding: 0;
				text-align: left;
			}
		}

	}

	section.column-copies {
		padding-top: 40px;
    	padding-bottom: 0px;

    	@media screen and (max-width: $break-small) {
    		padding-top: 22px;
    	}

    	h2 {
    		margin-bottom: 16px;

    		@media screen and (max-width: $break-small) {
    			padding-top: 0;
    		}
    	}

    	p {
    		margin-bottom: 40px;

    		@media screen and (max-width: $break-small) {
	    		margin-bottom: 0;
	    	}
    	}
	}

	section.contact-tagline {
		background: $light-grey;
		padding: 40px 0;

		.column {
			margin: 0;
		}

		h2 {
			margin-bottom: 0;
		}

		.copy p {
			padding-right: 30px;
		}

		a.button {
			margin-bottom: 0;
			margin-top: 12px;
		    position: relative;
		    padding: 16px 22px;
		}
	}


	section.newsfeed {
		padding-top: 80px;

		.blog-item {
			max-width: 920px;
    		margin: 0 auto;
		}
	}

}


/* ----------------------------------------------------------------
    Main menu
-----------------------------------------------------------------*/
#Header .top_bar_left {
	height: 66px;
}

#Top_bar a.responsive-menu-toggle {
	top: 15px;
}

#Top_bar #logo {
	padding: 5px 0 9px;
	height: 52px;
	line-height: 50px;

	img {
		width: auto;
		height: auto;
	}
}


#Top_bar .menu > li > a {
	padding: 18px 0;
}

#Top_bar .menu > li > a span:not(.description) {
	line-height: 30px;
}


.header-classic #Top_bar .top_bar_right {
	top: -15px;
}

#Top_bar {
	.container {
		@media screen and (max-width: $break-medium) {
			width: 100% !important;
		}
	}

	.logo {
		@media screen and (max-width: $break-medium) {
			text-align: left;
		}

		#logo {
			@media screen and (max-width: $break-extra-small) {
				padding-left: 10px;

				padding-right: 0;
			}

			@media screen and (max-width: $break-medium) {
				width: 168px;
				padding-left: 14px;
			}
		}
	}

	a.responsive-menu-toggle  {
		top: 12px;


		@media screen and (max-width: $break-medium) {
			top: 15px !important;
			margin-right: 35px;
		}

		@media screen and (max-width: $break-initial) {

			width: 52px;
		}

		@media screen and (max-width: $break-extra-small) {
			margin-right: 36px;
		}

		i {
			@media screen and (max-width: $break-initial) {
				font-size: 36px;
	    		line-height: 38px;
			}
		}

	}

	.top_bar_right {
		height: 60px;

		@media screen and (max-width: $break-initial) {
			float: left;
			padding: 0;
		}

		@media screen and (max-width: $break-medium) {
			position: absolute;
		    right: 10px;
		    top: 12px !important;
		}

		@media screen and (max-width: $break-extra-small) {
			display: block;
		}
	}

	.search_wrapper {
		@media screen and (max-width: $break-medium) {
			bottom: -81px;
			z-index: 207;
		}
	}

	&.is-sticky .top_bar_right {
		top: -4px;
	}
}

#Action_bar {
	@media screen and (max-width: $break-medium) {
		display: none;
	}

	ul.contact_details,
	.social li a,
	ul li span {
		font-size: 14px;
	}
}


body:not(.home) .content-area {
	padding-top: 40px;
	padding-bottom: 40px;

	@media screen and (max-width: $break-medium) {
		padding-top: 22px;
		padding-bottom: 20px;
	}

	&.contact-page {
		padding-top: 0;
	}
}


section.bot-contact {

	padding-top: 60px;
	padding-bottom: 40px;
	background: $light-grey;

	.parag-intro {
		text-align: center;
		padding-bottom: 26px;
	}

	form#contactform {
    	overflow: hidden;
	    max-width: 820px;
	    margin: 0 auto;

    }

    .submit-button {
    	text-align: center;
    }

}

.SubheaderBanner {
	width: 100%;
	height: 250px;
	background-size: cover;
}


.inner-wrap {
	padding-right: 40px;
}

#Footer {
	padding: 24px 0;

	span.div-tel,
	span.div-fax {
		@media screen and (max-width: 959px) {
			display: none;
		}
	}


	span.company-title {
		@media screen and (max-width: 420px) {
			display: block;
		}
	}

	.copyright p,
	.social {
		font-size: 13px;
	}

	.footer_copy {
		.one {
			margin-bottom: 0;
		}
	}

	.widgets_wrapper  {
		padding: 15px 0 20px;
	}

}


ul.footer_links {

	text-align: center;
	text-align: center;
    margin-bottom: 0;

	li {
		display: inline-block;
    	margin-right: 16px;

    	a {
    		text-decoration: none;
    		font-size: 13px;
    	}
	}
}

.newsfeed {

	.post-title {
		padding: 15px 0 0 0;
	}

	.wp-post-image {
		border: 1px solid #ddd;
		padding: 6px;
	}

}



.to-top {
	z-index: 9999;
	width: 40px;
	height: 40px;
	font-size: 25px;
	line-height: 35px;
	text-align: center;
	position: fixed;
	bottom: -100px;
	right: 20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	-webkit-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	background-color: transparent;
	background-color: $theme-color;
	color: #ffffff;
	border-radius: 6px;
	display: none;

	@media screen and (max-width: $break-medium) {
		display: block;
	}
}


/* ----------------------------------------------------------------
    Popup contact form
-----------------------------------------------------------------*/
#popup_contact_redirect {
    position: fixed;
    right: 20px;
    bottom: 15px;
    z-index: 9001;

	a.button {
	    background: #3e6637;
	    color: #fff;
	    width: 140px;
		height: 45px;
		line-height: 45px;
		font-size: 20px;
		margin: 0;
		text-align: center;

		span {
			font-size: 16px;
		}
	}
}


form#contactform_popup {
	input[type="text"],
	input[type="email"],
	textarea {
		font-size: 14px;
		width: 100%;
	}

	.column {
		margin-bottom: 0;
	}

	span.subs-label {
		font-size: 13px;
	}

}


/* ----------------------------------------------------------------
    Main slider
-----------------------------------------------------------------*/
.rev_slider_wrapper {
	height: 360px;

	@media screen and (max-width: $break-medium) {
		display: none !important;
	}

	.tp-caption.large_dark {
		font-size: 52px;
	}

	.parag {
		line-height: 1.7em;
		text-shadow: rgb(0, 0, 0) 2px 2px;
	}
}


.featured-img-mob {
	display: none;
	width: 100%;
	height: auto;
	background-size: cover;
	background-position: center center;
	padding: 26px 0px;

	@media screen and (max-width: $break-medium) {
		display: block;
	}

	p {
		color: #fff;
		margin-top: 10px;
	}
}



/* ----------------------------------------------------------------
    Box slider
-----------------------------------------------------------------*/
.bx-headline {
	@media screen and (max-width: $break-medium) {
		text-align: center;
	}
}

.bx-wrapper {
	.bx-viewport {
		box-shadow: none;
		border: none;
		left: 0;
	}

	.bx-controls-direction a {
		z-index: 2;
	}
}

/* ----------------------------------------------------------------
    Content slider
-----------------------------------------------------------------*/
.cs-headline {
	@media screen and (max-width: $break-medium) {
		text-align: center;
	}
}

.content-slider-container {}

.content_slider .caroufredsel_wrapper {
	@media screen and (max-width: $break-small) {
		border-width: 0;
	}
}

@media screen and (max-width: $break-medium) {
	.content_slider {
		padding-left: 0;
		padding-right: 0;
	}

	.caroufredsel_wrapper {
		width: 100% !important;
	}

	.slider_prev,
	.slider_next {
		display: none !important;
	}
}

/* ----------------------------------------------------------------
    Offer thumb slider (home)
-----------------------------------------------------------------*/

.home_offer_thumb_ul {
	li.offer_thumb_li {
	    float: left;
	    display: block;
	    padding-left: 30px;
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
	}

	li.offer_thumb_li .image_wrapper {
	    float: right;
	    width: 57%;

	    @media only screen and (max-width: 959px) and (min-width: 768px) {
			width: 100%;
		    float: none;
		}

		@media only screen and (max-width: $break-medium) {
			width: 100%;
    		float: none;
		}
	}

	li.offer_thumb_li .desc_wrapper {
	    float: left;
	    width: 39%;
	    margin-right: 4%;
	    padding-top: 20px;

	    @media only screen and (max-width: 959px) and (min-width: 768px) {
			width: 100%;
		    float: none;
		}

		@media only screen and (max-width: $break-medium) {
			width: 100%;
    		float: none;
		}
	}

	li.offer_thumb_li .desc_wrapper .title {
	    margin-bottom: 30px;
	    position: relative;
	    min-height: 43px;
	    padding-right: 160px;
	}

	li.offer_thumb_li .desc_wrapper .title h3 {
	    margin: 0;
	    font-size: 35px;
	    line-height: 35px;
	    padding-top: 3px;
	}

	li.offer_thumb_li .desc_wrapper .title a.button {
	    margin: 0;
	    position: absolute;
	    right: 0;
	    top: 0;
	}
}


/* ----------------------------------------------------------------
    Contact Us
-----------------------------------------------------------------*/
.gmap {
	min-height: 480px;

	@media screen and (max-width: $break-small) {
		min-height: auto;
	}

	.section_wrapper {
		width: 100%;
	}

	#map_wrapper {
		height: 480px;
		@media screen and (max-width: $break-small) {
			display: none;
		}
	}

	.dp-locations {
		display: none;
		width: 100%;
		-webkit-appearance: menulist;;
		-moz-appearance:    menulist;
		appearance:         menulist;

		@media screen and (max-width: $break-small) {
			display: block;
		}

		.loc-attr {
			@media screen and (max-width: $break-small) {
				padding: 100px 0 0 0 !important;
			}

		}

	}

	.cta {
		margin-top: 26px;
		width: 602px;

		@media screen and (max-width: 1236px) {
			width: auto;
		}
	}
}


#map_canvas {
	width: 100%;
	height: 100%;
}

.location-details {
	display: none;
	margin-top: 30px;

	&.shown {
		display: block;
	}
}

.loc-attr {
	padding: 0 0 0 55px;
	background: url('/wp-content/uploads/2017/02/home_agro_wheretobuy_icon.png') no-repeat left top;
}

.gform_wrapper ul li.gfield.column {
	clear: none;
	margin: 0 1% 16px;

	label {
		margin-bottom: 0;
	}

	input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
		margin-bottom: 0;
		font-size: 14px;
		padding: 10px;
	}
}

.form-wrapper {
	padding-top: 30px;
    padding-bottom: 40px;
    background: #f8f8f8;

	input[type="date"],
	input[type="email"],
	input[type="number"],
	input[type="password"],
	input[type="search"],
	input[type="tel"],
	input[type="text"],
	input[type="url"],
	select,
	textarea {
		margin-bottom: 0;
		font-size: 14px;
		padding: 10px;
	}


	.gform_wrapper {
		margin-top: 0;
		.top_label .gfield_label {
			display: block;
		}

		form {
			max-width: 820px;
		}

	}

	.parag-intro {
    	text-align: center;
    	padding-bottom: 26px;
    }

}

#popup_contact .popup_contact_wrapper {
    width: 778px;
    border: 1px #ddd solid;

    textarea#message {
    	height: 194px;
    }

    .alert {
    	font-size: 13px;
    }

    .gf-wrapper {
    	display: none;
    }

}

.search-item {
	hr {
		margin: 30px 0;
	}
}


/* ----------------------------------------------------------------
    Helpers
-----------------------------------------------------------------*/
.no-margin-left {
	margin-left: 0;
}

.no-margin-top {
	margin-top: 0;
}

.no-margin-right {
	margin-right: 0;
}

.no-margin-bot {
	margin-bottom: 0;
}
