	
	/*
 Theme Name:     Agrifoods Members Only theme
 Description:    Copy of Agrifoods theme with only members' content
*/

/* updated 13/1/15-------------------------------------- */    

html, body{
    font-size: 18px;
    line-height: 23px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'ff-ernestine-web-pro', sans-serif;
    font-weight: 300;
    width: 100%;
    margin: 0%;
}

.clear{ clear: both; }

a{ color: #823f20; font-weight: 600; text-decoration: none; transition: background-color 0.3s linear, border-color 0.3s linear, color 0.3s linear, opacity 0.3s linear, padding 0.3s linear; 
}
a:hover, a:active, a:focus{
    color: #000000;
    text-decoration: none;
}

div.post-pages a { color: #823f20; font-weight: 600; text-decoration: none; transition: background-color 0.3s linear, border-color 0.3s linear, color 0.3s linear, opacity 0.3s linear, padding 0.3s linear; 
}

a.post-page-links {
	text-transform: uppercase;
}

.post-pages a:hover, .post-pages a:active, .post-pages a:focus{
    color: #000000;
    text-decoration: none;
}


/* ------------------------------------------------- */    

p, ul, ol{  }
p.lead{  }

h1, h2, .h1, .h2{ font-weight: 700; }
h3, h4, h5, .h3, .h4, .h5{  }

label{  }

.content ul{  }

small{  }
strong{  }

img{ display: inline-block; max-width: 100%; height: auto; }


@media (max-width: 768px) {



.pull-right, .dropdown-menu  {
	position: static !important;
}

}



/* nav */
#nav{  }
#nav li a{ color: #828282; }
#nav li a:hover, #nav li.current_page_item a{ color: #2a2a2a; background: transparent; }
.navbar-collapse{ border-top: none; box-shadow: none; }
.navbar-toggle .icon-bar{ background: #4d4d4d; }
.navbar-header{ }

/* content */
.alignleft{ float: left; margin: 0 10px 10px 0; }
.alignright{ float: right; margin: 0 0 10px 10px; }
.aligncenter{ margin: 0 auto 10px auto; }

/* footer */
#footer{ padding: 50px 0; }
#footer p{ margin: 0; }



.global ul {
	margin-top: -8px;
	padding-left: 0;
	margin-left: 20px;
	text-align: left;
}
.global li {
	list-style: none;
	padding-top: 8px;
}
.global li:before {
	/* For a round bullet */
      /* For a square bullet */
     content:"•";
	display: block;
	position: relative;
	max-width: 0px;
	max-height: 0px;
	left: -21px;
	top: -1px;
	font-size: 26px;
}



.footer-logos ul {
	max-width: 1300px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	text-align: center;
}
.footer-logos {
padding-top: 35px;
background-color: #f2f2f2;
padding-bottom: 35px;
}

.footer-logos li {
	width: 18%;
	display: inline-block;
	line-height: 160px;
	vertical-align: middle;
	text-align: center;
}

/*Updated*/

.com-content img {
	box-shadow: none !important;
	transform: rotate(0deg) !important;
	border: none !important;
	float: left;
	margin-top: 15px;
	margin-right: 15px;
}


@media only screen and (max-width: 768px) {
.footer-logos li {
	width: 49%;
	padding: 15px;
}
}

@media only screen and (min-width: 769px) and (max-width: 991px) {
.footer-logos li {
	width: 32.8%;
}
	
}


/* Global container 13/1/15 -------------------------------------*/

/* .container{ max-width: 1025px; }

.width-1170px {
    max-width: 1170px;
    padding-left: 70px;
    padding-right: 70px;
}
*/

/* Member section video ----------------------------------*/

.mp4downloader_btnForIFrame {
	display: none;
}


/* header and nav ---------------------------------------*/

.mobile-menu {
    display: none!important;
}

#language{
    position: absolute;
    top: 20px;
    left: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px !important;
}

#language a{
    color: #000;
}

#language a:hover {
    color: #823f20;
}

#language span{
    color: #823f20;
}

.header {
    margin-bottom: 30px;
}

.logo-header img {
    margin-top: 45px;
}


.nav {
    margin-top: 25px;
}

.nav a {
    font-size: 17px;
    color: #FFFFFF;
    font-weight: 600;
    background-color: #000;
    padding-top: 16px;
    padding-bottom: 16px;
}


ul.login  {
    padding: 0px;
    height: 16px;
    margin-left: 0px;
    font-weight: 400;
    font-size: 14px;
}

.login li {
    text-decoration: none;
    list-style: none;
    padding: 0px;
    float: left;
    margin-left: 20px;
    text-transform: uppercase;
}

.login li a {
    color: #666666;
    text-decoration: none;
}

.login li img {
    vertical-align: baseline;
}

.login li a:hover {
    color: #823f20;
}

.twitter {
    background-image: url(images/twitter.png);
    background-position: left 3px;
    background-repeat: no-repeat;
}

.twitter a {
    display: block;
    height: 20px;
    width: 18px;
}

.twitter:hover {
    background-position: -26px 3px;
}

.facebook {
    background-image: url(images/facebook.png);
    background-position: left 3px;
    background-repeat: no-repeat;
}

.facebook a {
    display: block;
    height: 20px;
    width: 8px;
}

.facebook:hover {
    background-position: -14px 3px;
}

/* Responsive Video css */		
.videoWrapper {
    margin-bottom: 20px;
}
.video-container {
margin-left: 0px
}
/*
.video-container {
margin-left: -58px
}*/

/*Leadership pages css-----------------------------------------------------*/	

.leadership-title {
display: block;
font-size: 16px;
}

/*contact pages css-----------------------------------------------------*/	

 .contact,  .contact h3 {
color: #fff;
}


#gform_wrapper_3 {
margin-top: 0px !important;
padding-top: 0px;
}

#field_3_26  {
color: #fff;
}

/*Media css-----------------------------------------------------*/

.media h2 {
    font-size: 30px;
	margin-top: 0px;
	font-weight: 500;
}

.media a {
  position: relative;
  overflow: hidden;
  color: #fff;
	font-weight: 200;
  }

.media a:after {
  content: '' '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: width .3s ease-in-out;
}
.media a:hover:after {
   width: 0%;
}

.media strong {
font-weight: 600;
}

.media-img-container {
	width: 50%;
	display: inline-block;
	float: left;
}

.media-img {
margin-left: 15px;
margin-right: 15px;
margin-bottom: 30px;
}

@media only screen and (max-width: 768px) {

.media-img {
margin-left: 5px;
margin-right: 5px;
margin-bottom: 5px;
}

div.media h2 {
	padding-top: 25px;
	display: inline-block;
}

}

.media-img img {
width:  100%;
height:  auto;
}

.media-img-container:nth-of-type(odd) .media-img{
margin-left: 0px;
}
.media-img-container:nth-of-type(even) .media-img{
margin-right: 0px;
}

.media {
    height: auto;
    background-image: url(images/wood-bg-largeCover.jpg);
    background-repeat: repeat-y;
    background-size: 100%;
    background-position: center center;
    margin: 0px;
    padding-top: 60px;
    padding-bottom: 50px;

}



/*Post pages css-----------------------------------------------------*/	

.pagination-container {
	margin-top: -45px;
	text-align: right;
	padding-bottom: 15px;
	float: right;
   min-width: 100%;
}

div.post-pages {
    padding-top: 65px;
    padding-bottom: 55px;
	display: block;

}

/*
.post-pages .com-content {
padding-bottom: 40px;

}*/

.post-pages .cat-name, .post-pages  .date   {
display: block;
}

.post-pages .cat-name, .post-pages-single .cat-name {
padding-bottom: 8px;
}

.post-pages-single .cat-name, .post-pages-single  .date  {
margin-bottom: 8px;
display: inline-block;
}

/*
.page-template-board .pagination-container {
display: none;
}*/

.pagination-container .nav_previous,
.pagination-container .nav_next {
display: inline-block;
}

.pagination-container .nav_next {
padding-left: 30px;
}

.post-pages-single {
background: #e6e6e6;
  padding-top: 60px;
 padding-bottom: 60px;

}

.post-pages-single h3 {
    color: #808080;
    font-weight: 400;
    margin-top: 0px;
    font-size: 25px;
    line-height: 28px;
}

.post-pages-single .col-lg-4 img {
    -ms-transform: rotate(-2deg);
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
    border: 6px solid #FFF;
    -webkit-box-shadow: 0px 0px 19px 0px rgba(50, 50, 50, 0.50);
    -moz-box-shadow: 0px 0px 19px 0px rgba(50, 50, 50, 0.50);
    box-shadow: 0px 0px 19px 0px rgba(50, 50, 50, 0.50);

}

.post-pages-single-nav {
background: #e6e6e6;
padding-bottom: 35px;
}


/*Events css-----------------------------------------------------*/	

.events h2 {
    font-size: 28px;
    line-height: 32px;
    color: #FFF;
    margin-top: 35px;		
}

.events h2:first-of-type {
    margin-top: 0px;
    padding-top: 0px;		
}

.events h3 {
    font-size: 26px;
    color: #c8a190;
    line-height: 28px;
}

.events h4 {
    font-size: 19px;
    color: #FFF;
    line-height: 21px;
}

.events h2.event_cat:first-of-type {
    margin-top: 0px;
}

body.single-event .members-container div:nth-child(2) a {
    font-weight: 600;
    text-decoration: none;

}

body.single-event .members-container div a:hover {
    color: #fff;
    text-decoration: underline;
}

body.single-event .members-container div a {
    color: #c8a190;
    font-weight: 400;
    text-decoration: underline;
}

.events h2.event_cat {
    margin-top: 45px;
}


div.events a.btn-events  {
    background-color: #000;
    border: none;
    font-size: 17px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    margin-top: 8px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-transition: height 1s ease-in-out, background-color 1s;
    -o-transition: height 1s ease-in-out, background-color 1s;
    -moz-transition: height 1s ease-in-out, background-color 1s;
    transition: height 1s ease-in-out, background-color 1s;
    color: #FFF;
    display: inline-block;
    text-decoration: none !important;
    font-weight: bold;
}

div.events .btn-events:hover {
    background: rgba(68, 26, 10, .7);
    color: #FFF;
}


.events-cat h3 {
    margin-top: 35px;
    font-size: 24px;
    line-height: 26px;
    color: #fff;
}
.events-cat h3:first-of-type {
    margin-top: 25px;
}

.events-cat li a {
    color: #c8a190;
}
.events-cat li  {
    padding-bottom: 8px;
    padding-top: 8px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #c8a190;
}

.events-cat li:first-of-type  {
    padding-top: 0px;
}

.events-cat li a:hover {
    color: #fff;
}


/*nav removed for dev--------------*/

/*
.nav-members li:nth-of-type(10) {
	display: none;
}

.nav-members li:nth-of-type(9) {
	border-right: none;
}
*/



.events h2:not(:nth-of-type(-n+1)) {
display: none;
}


.events img:not(:nth-of-type(-n+1)) {
margin-top: 40px;
}

.events img {
	display: block;
	clear: both;
			}	

.events iframe:not(:nth-of-type(-n+1)) {
margin-top: 40px;
display: block;
}

.btn-events {
	margin-bottom: 45px;
}

.btn-events:last-of-type {
	margin-bottom: 0px;
}





/* Footer-------------------------------------------------- */    


.footer {
    background-color: #f2f2f2;
}

/*        
.footer .col-md-12:nth-child(1) {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #cccccc;
}*/

@media only screen and (max-width: 768px) {

    /* Responsive Video css */		
    .videoWrapper {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        padding-top: 25px;
        height: 0;
    }
	
    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
	
	.video-container  {
        padding-bottom: 72.25% !important; /* 16:9 */
		margin-left: 0px;

    }
	


    #language{
        left: 15px;
    }

    /* header and nav ---------------------------------------*/

    .mobile-menu {
        display: block!important;
    }


    ul.login  {
        display:none;
    }    


    .login li:nth-child(4) {
        display:block;
        clear: both;
        margin-bottom: 20px;
    }


    .navbar-toggle .icon-bar {
        display: block;
        width: 30px;
        height: 4px;
        border-radius: 1px;
    }



    .menu {
        margin-left: -15px;
        margin-right: -15px;

    }

    .navbar-collapse ul   {
        margin-top: 0px;
        margin-bottom: 0px;
        padding-top: 0px;
        padding-bottom: 0px;

    }

    .navbar, .nav li a, .dropdown-menu li a {
        font-size: 17px;
        padding-top: 15px!important;
        padding-bottom: 15px!important;
    }



    .dropdown-toggle {
        border: none;
        border-style: none;
    }

    .nav li a {
        border-bottom-width: 1px!important;
        border-bottom-style: solid;
        border-bottom-color: #ccc!important;
        /* Animate all properties across supporting browsers */
        -webkit-transition: background-color 1000ms linear;
        -moz-transition: background-color 1000ms linear;
        -o-transition: background-color 1000ms linear;
        -ms-transition: background-color 1000ms linear;
        transition: background-color 1000ms linear;
    }


    .dropdown-menu li { 
        border: none;
        border-style: none;
    } 

    li .dropdown-menu a  {
        font-weight: 600;
        color: #fff;
        margin: 0px;
        background-color: #4d4d4d;
        padding-top: 12px;
        padding-bottom: 12px;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: #666666;
    }



    .nav li:first-child {
        border-bottom: none;
        border-bottom-style: none;
    } 

    .nav li:last-child a { 
        border-bottom: none;
        border-bottom-style: none;
    } 

    a.dropdown-menu:hover >.dropdown-toggle a {
        background: #000!important;
    }



    .nav > li:hover > a {
        background:  #823f20;
        color: #fff;
    }

    .dropdown-toggle:link {
        background: #000!important;
        color: #fff;
    }

    .dropdown-toggle:hover {
        background:  #823f20!important;
        color: #8f8f8e;
    }

    .dropdown-menu li:last-child a { 
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: #ccc;
    } 

    .dropdown-menu li a:hover {
        background-color:  #823f20;
        color: #fff;
    }    

    .dropdown-menu li a:link {
        /* Animate all properties across supporting browsers */
        -webkit-transition: background-color 500ms linear;
        -moz-transition: background-color 500ms linear;
        -o-transition: background-color 500ms linear;
        -ms-transition: background-color 500ms linear;
        transition: background-color 500ms linear;
    }



    /* Footer-------------------------------------------------- */    

    .footer img {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .footer {
        text-align: center;
    }

    .footer div:nth-child(1) img {
        margin-right: 5%;
        margin-left: 5%;
    }

    .footer div:nth-child(2) img {
        margin-right: 7%;
        margin-left: 7%;
    }



}

@media only screen and (min-width: 769px) and (max-width: 991px) {

    /* Global container 13/1/15 -------------------------------------*/

    .width-1170px {
        padding: 0px;
        padding: 0px;
    }    


    /* header and nav ---------------------------------------*/

    .navbar-nav > li > a {
        padding-left: 11px !important;
        padding-right: 11px !important;
        font-size: 17px !important;
    }

    ul.login  {
        margin-top: 23px;
        margin-bottom: 0px;
        float: right;
        display: inline-block;
    }

    .logo-header {
        padding-left: 0px;
    }

    .menu {
        padding-right: 0px;
        padding-left: 0px;
    }

    .nav {
        float: right;
        margin-right: -15px;
    }

    .nav > li > a {
        margin-right: 4px;
        margin-bottom: 4px;    

    }

    .nav > li:nth-child(5) a {
        margin-right: 0px!important;    
    }

    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }

    ul .dropdown-menu  {
        margin: 0px;
        padding: 0px;
        width: 300px;
    }

    ul.nav li.dropdown:nth-of-type(2) ul  {
        margin: 0px;
        padding: 0px;
        width: 300px;
    }

    .dropdown ul {
        -moz-border-radius: 0px 0px 0px 0px;
        -webkit-border-radius: 0px 0px 0px 0px;
        -khtml-border-radius: 0px 0px 0px 0px; /* for old Konqueror browsers */
        border-radius:  0px 0px 0px 0px; /* future proofing */
    } 


    li .dropdown-menu a  {
        font-weight: 600;
        color: #fff;
        margin: 0px;
        background-color: #4d4d4d;
        padding-top: 12px;
        padding-bottom: 12px;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: #666666;

        font-size: 17px !important;
    }


    .nav > li:hover > a {
        background: #4d4d4d;
        color: #8f8f8e;
    }

    .dropdown ul li:hover > a {
        color: #fff;
        background-color: #823f20;
    }

    .dropdown li:last-child a {
        -moz-border-radius: 0px 0px 0px 0px;
        -webkit-border-radius: 0px 0px 0px 0px;
        -khtml-border-radius: 0px 0px 0px 0px; /* for old Konqueror browsers */
        border-radius:  0px 0px 0px 0px; /* future proofing */
    }


    a.navbar-collapse:hover, li:hover a.dropdown-toggle {
        background: #4d4d4d;
        color: #8f8f8e;

    }


    ul.nav li.dropdown > ul.dropdown-menu {
        opacity: 0;
        margin: 0;
        visibility: hidden;
        display: block;
        -webkit-transition: opacity 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out;
        -o-transition: opacity 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out;
    }

    ul.nav li.dropdown:hover > ul.dropdown-menu{
        visibility: visible;
        opacity: 1;
        display: block;
        background-color: #fff;
        border-top-style: none;
    }

    ul.dropdown-menu {
        margin-left: -1px !important;
    }        




    /* Footer-------------------------------------------------- */    

    .footer {
        text-align: center;
    }


    /*
    .footer img {
        margin-top: 30px;
        margin-bottom: 30px;
    }*/

 .footer div img {
	margin-right: 5%;
	margin-left: 5%;
	margin-top: 15px;
	margin-bottom: 15px;
	text-align: center;
    }

.footer div {
	padding-top: 10px;
	padding-bottom: 10px;
}
 
    div.footer 	a:nth-of-type(1) img  {
	margin-left: 1%;
    }
	
	 div.footer a:nth-of-type(6) img  {
	margin-left: 0%;
    }
	
	 div.footer a:nth-of-type(5) img  {
	margin-right: 0%;
    }
	
	 div.footer a:nth-of-type(8) img  {
	margin-right: 0%;
	margin-left: 10%;
    }
	
	
	 div.footer a:nth-of-type(7) img  {
	margin-left: 15%;
    }

}

@media only screen and (min-width: 992px) and (max-width: 1199px) {

    /* Global container 13/1/15 -------------------------------------*/

    .width-1170px {
        padding: 0px;
        padding: 0px;
    }    


    /* header and nav ---------------------------------------*/


    ul.login  {
        margin-top: 23px;
        margin-bottom: 0px;
        float: right;
        display: inline-block;
    }

    .logo-header {
        padding-left: 0px;
    }

    .menu {
        padding-right: 0px;
        padding-left: 0px;
    }

    .nav {
        float: right;
        margin-right: -15px;
    }

    .nav > li > a {
        margin-right: 4px;
        margin-bottom: 4px;    

    }

    .nav > li:nth-child(5) a {
        margin-right: 0px!important;    
    }

    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }

    ul .dropdown-menu  {
        margin: 0px;
        padding: 0px;
        width: 300px;
    }

    ul.nav li.dropdown:nth-of-type(2) ul  {
        margin: 0px;
        padding: 0px;
        width: 300px;
    }

    .dropdown ul {
        -moz-border-radius: 0px 0px 0px 0px;
        -webkit-border-radius: 0px 0px 0px 0px;
        -khtml-border-radius: 0px 0px 0px 0px; /* for old Konqueror browsers */
        border-radius:  0px 0px 0px 0px; /* future proofing */
    } 


    li .dropdown-menu a  {
        font-weight: 600;
        color: #fff;
        margin: 0px;
        background-color: #4d4d4d;
        padding-top: 12px;
        padding-bottom: 12px;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: #666666;
    }


    .nav > li:hover > a {
        background: #4d4d4d;
        color: #8f8f8e;
    }

    .dropdown ul li:hover > a {
        color: #fff;
        background-color: #823f20;
    }

    .dropdown li:last-child a {
        -moz-border-radius: 0px 0px 0px 0px;
        -webkit-border-radius: 0px 0px 0px 0px;
        -khtml-border-radius: 0px 0px 0px 0px; /* for old Konqueror browsers */
        border-radius:  0px 0px 0px 0px; /* future proofing */
    }


    a.navbar-collapse:hover, li:hover a.dropdown-toggle {
        background: #4d4d4d;
        color: #8f8f8e;

    }


    ul.nav li.dropdown > ul.dropdown-menu {
        opacity: 0;
        margin: 0;
        visibility: hidden;
        display: block;
        -webkit-transition: opacity 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out;
        -o-transition: opacity 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out;
    }

    ul.nav li.dropdown:hover > ul.dropdown-menu{
        visibility: visible;
        opacity: 1;
        display: block;
        background-color: #fff;
        border-top-style: none;
    }

    ul.dropdown-menu {
        margin-left: -1px !important;
    }        



    /* Footer-------------------------------------------------- */    


    /*
    .footer img {
        margin-top: 30px;
        margin-bottom: 30px;
    }*/

   .footer div img {
	margin-right: 12%;
	margin-left: 12%;
	margin-top: 15px;
	margin-bottom: 15px;
	text-align: center;
    }

.footer div {
	padding-top: 10px;
	padding-bottom: 10px;
}
 
    div.footer 	a:nth-of-type(1) img  {
	margin-left: 3%;
    }
	
	 div.footer a:nth-of-type(6) img  {
	margin-left: 0%;
    }
	
	 div.footer a:nth-of-type(5) img  {
	margin-right: 0%;
    }
	
	 div.footer a:nth-of-type(8) img  {
	margin-right: 0%;
	margin-left: 15%;
    }
	
	
	 div.footer a:nth-of-type(7) img  {
	margin-left: 15%;
    }

}

@media (min-width: 1200px) {

    /* Global container 13/1/15 -------------------------------------*/

    .container{ max-width: 1025px; }

    .width-1170px {
        max-width: 1170px;
        padding-left: 70px;
        padding-right: 70px;
    }    


    /* header and nav ---------------------------------------*/

    ul.login  {
        margin-top: 23px;
        margin-bottom: 0px;
        float: right;
        display: inline-block;
    }

    .logo-header {
        padding-left: 0px;
    }

    .menu {
        padding-right: 0px;
        padding-left: 0px;
    }

    .nav {
        float: right;
        margin-right: -15px;
    }

    .nav > li > a {
        margin-right: 4px;
        margin-bottom: 4px;    

    }

    .nav > li:nth-child(5) a {
        margin-right: 0px!important;    
    }

    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }

    ul .dropdown-menu  {
        margin: 0px;
        padding: 0px;
        width: 300px;
    }

    ul.nav li.dropdown:nth-of-type(2) ul  {
        margin: 0px;
        padding: 0px;
        width: 300px;
    }


    .dropdown ul {
        -moz-border-radius: 0px 0px 0px 0px;
        -webkit-border-radius: 0px 0px 0px 0px;
        -khtml-border-radius: 0px 0px 0px 0px; /* for old Konqueror browsers */
        border-radius:  0px 0px 0px 0px; /* future proofing */
    } 


    li .dropdown-menu a  {
        font-weight: 600;
        color: #fff;
        margin: 0px;
        background-color: #4d4d4d;
        padding-top: 12px;
        padding-bottom: 12px;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: #666666;
    }


    .nav > li:hover > a {
        background: #4d4d4d;
        color: #8f8f8e;
    }

    .dropdown ul li:hover > a {
        color: #fff;
        background-color: #823f20;
    }

    .dropdown li:last-child a {
        -moz-border-radius: 0px 0px 0px 0px;
        -webkit-border-radius: 0px 0px 0px 0px;
        -khtml-border-radius: 0px 0px 0px 0px; /* for old Konqueror browsers */
        border-radius:  0px 0px 0px 0px; /* future proofing */
    }


    a.navbar-collapse:hover, li:hover a.dropdown-toggle {
        background: #4d4d4d;
        color: #8f8f8e;

    }


    ul.nav li.dropdown > ul.dropdown-menu {
        opacity: 0;
        margin: 0;
        visibility: hidden;
        display: block;
        -webkit-transition: opacity 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out;
        -o-transition: opacity 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out;
    }

    ul.nav li.dropdown:hover > ul.dropdown-menu{
        visibility: visible;
        opacity: 1;
        display: block;
        background-color: #fff;
        border-top-style: none;
    }

    ul.dropdown-menu {
        margin-left: -1px !important;
    }


    /* Footer-------------------------------------------------- */    

    /*
    .footer img {
        margin-top: 30px;
        margin-bottom: 30px;
    }*/

    .footer div img {
	margin-right: 12%;
	margin-left: 12%;
	margin-top: 15px;
	margin-bottom: 15px;
	text-align: center;
    }

.footer div {
	padding-top: 10px;
	padding-bottom: 10px;
}
 
    div.footer 	a:nth-of-type(1) img  {
	margin-left: 3%;
    }
	
	 div.footer a:nth-of-type(6) img  {
	margin-left: 0%;
    }
	
	 div.footer a:nth-of-type(5) img  {
	margin-right: 0%;
    }
	
	 div.footer a:nth-of-type(8) img  {
	margin-right: 0%;
	margin-left: 15%;
    }
	
	
	 div.footer a:nth-of-type(7) img  {
	margin-left: 15%;
    }



}








/* julian - slider */

#slider-container{ display: none; position: relative; color: #808080; font-size: 19px; line-height: 22px; letter-spacing: -0.02em; }
#slider{ position: relative; height: 400px; }
#slider .slide{ display: none; position: absolute; top: 0; left: 0; right: 0; }
#slider .slide.current{ display: block; }
#slider a.title-link{ color: #823f20; font-weight: bold; font-size: 17px;line-height: 18px; }
#slider a.title-link:hover{ color: #000; text-decoration: none; }
#slider .col-md-4{ padding-top: 50px; }

.slider-nav{ display: block; cursor: pointer; background: #e6e6e6 url('/wp-content/themes/agrifoods/images/slider-nav.png') 0 0 no-repeat; width: 40px; height: 40px; position: absolute; top: 50%; left: 0; margin-top: -20px; }
#slider-next.slider-nav{ left: auto; right: 0; background-position: 100% 100%; }

@media (min-width:  992px){
    #slider-container{ display: block; }
}

@media (min-width:  1200px){
    #slider-container{ font-size: 19px; line-height: 22px; }
    #slider .col-md-4{ padding-top: 50px; }
}
	
	
	
	
	
	
	/*Menu Updates to remove li=======================================================*/
	
	.nav .dropdown-menu li:nth-of-type(7), .nav .dropdown-menu li:nth-of-type(8)  {
	display: none;		
	}
	
	.footer a:nth-of-type(3), .footer a:nth-of-type(4) {
	display:none;	
	}
	
	
	
/* Gravity forms-------------------------------------------------- */

.gform_confirmation_message {
color: #fff !important;
}

.gform_confirmation_message p {
max-width: 500px;
display: block;
}

.gfield_required {
    display: none;
}

/*Css for Tuffy form*/
#gform_wrapper_4 {
margin-top: -10px !important;
}


.site .gform_wrapper ul li.gfield {
   clear: none !important;
}


.gform_wrapper {
/*	padding-top: 20px !important;*/
   display:block !important; /*Conditional logic fix*/
}

.gform_wrapper_1 .gform_wrapper {
	padding-top: 0px !important;
	margin-top: -10px !important;
}

ul.gfield_checkbox {
	margin-left: 0px !important;
    /*
	padding-bottom: 20px !important;
    */
}


.gform_wrapper li.gfield_error div.ginput_complex.ginput_container label, .gform_wrapper li.gfield_error ul.gfield_checkbox, .gform_wrapper li.gfield_error ul.gfield_radio {
    color: #ff9966 !important;
}


	
	.gform_wrapper .top_label li.gfield.gf_left_half textarea, .gform_wrapper .top_label li.gfield.gf_right_half textarea {
    width: 100% !important;
}

/*
.gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0px !important;
}
.gform_wrapper div.gform_body {
	max-width: 650px !important;
}
/*
.gform_wrapper div.gform_body {
	margin-top: -10px !important;
}
.gform_wrapper ul.gform_fields li.gfield {
	padding-right: 0px !important;
}*/

/*
.gform_wrapper ul.gform_fields {
	display: inline-block!important;
}

.gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0px!important;
}*/
body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox,
body .gform_wrapper ul li.field_description_below div.ginput_container_radio {
	margin-top: 0px!important;

}

/*Label font size for checkbox*/
body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox label {
	font-size: 17px;
}

.gform_wrapper ul.gfield_checkbox li label, .gform_wrapper ul.gfield_radio li label {
   /* color: #FFFFFF !important ;*/
       
}

/*
.gform_wrapper .top_label .gfield_label,
.gform_wrapper legend.gfield_label {
	line-height: 0px!important;
}*/
body .gform_wrapper {
	border: none;
	color: #c8a190;
}

.gform_wrapper h3.gform_title {
    letter-spacing: normal !important;
    margin: 0px;
	font-size: 25px !important;
line-height: 27px;
margin-bottom: 0px !important;
padding-bottom: 0px !important;
font-weight: 400 !important;
}
.gform_body div.gform_heading {
/*	display: none;*/
margin-bottom: 8px !important;
}

.gform_wrapper h2.gsection_title  {
font-size: 25px !important;
font-weight: 400 !important;
line-height: 27px;
}

.gform_wrapper .gsection {
    border: none !important;
	}

.members-container div:nth-child(1) {
   margin-bottom: 8px !important;
}

.gform_body input,
.gform_body textarea {
	border: none;
}
.gform_wrapper .gform_body ul li {
	padding: 0px;
	margin: 0px;
	position: relative;
}
.gform_wrapper .gform_body ul li:before {
	display: none;
}
body .gform_wrapper .gform_body .gfield input:hover,
body .gform_wrapper .gform_body .gfield textarea:hover {
	border: 1px solid #fff;
}
body .gform_wrapper .gform_body .gfield input,
body .gform_wrapper .gform_body .gfield textarea {
	font-size: 17px!important;
	color: #fff;
	padding-top: 10px !important;
	padding-right: 12px !important;
	padding-bottom: 10px !important;
	padding-left: 12px !important;
	line-height: 19px;
	background: rgba(68, 26, 10, .7);
    border: none !important;

	/*width: 100% !important;*/
	
	border: 1px solid #e35a25;
	transition: background-color 0.3s linear, border-color 0.3s linear, color 0.3s linear, opacity 0.3s linear, padding 0.3s linear, text-shadow .3s;
}

.gform_wrapper .gform_footer {
	margin-top: 0px !important;
	padding-top: 0px !important;

}



body .gform_wrapper .gform_footer input[type=submit] {
	color: #fff;
	background-color: #000;
	background-image: none;
	border: none;
	font-size: 20px;
	/*font-weight: 700;*/
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 15px;
	margin-top: 20px;
	transition: background-color 0.3s linear, border-color 0.3s linear, color 0.3s linear, opacity 0.3s linear, padding 0.3s linear;
	font-weight: 600;
	/*border-radius: 5px;*/
}
body .gform_wrapper .gform_footer input[type=submit]:hover {
		background: rgba(68, 26, 10, .7);
}
body .gform_wrapper .gform_body input {
	margin: 0px !important;
}

/*Fix the input areas being smaller validation error
.gform_wrapper ul.gform_fields li.gfield {
	min-width: 100% !important;
}
*/


.gform_wrapper li.gfield.gfield_error,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	background-color: rgba(255, 223, 224, .0)!important;
}
.gform_wrapper li.gfield_error input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.gform_wrapper li.gfield_error textarea {
	border: 1px solid #ff9966 !important;
}

.gform_wrapper .validation_message {
    color: #ff9966 !important;
}

.gform_wrapper div.validation_error {
    color: #ff9966 !important;
    margin-bottom: 10px !important;
	max-width:  450px;
}

.gform_wrapper li.gfield.gfield_error,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	background-color: none !important;
	border: none !important;
}
.gform_wrapper li.gfield_error input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.gform_wrapper li.gfield_error textarea {
	margin-top: 4px !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    margin-top: 5px !important;
}


.gform_wrapper .validation_message {
	font-size: 16px !important;
	margin: 0px !important;
	padding-top: 6px!important;
	padding-right: 0px!important;
	padding-bottom: 0px!important;
	padding-left: 0px!important;
}

/*Removes space above input above inputs on error/required*/
.gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
	padding: 0px !important;
	margin: 0px !important;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required {
	/*padding: 0px !important;*/
	
	padding-top: 0px !important;
	/*margin-left: 0px !important;
	margin-right: 0px !important;*/
	margin-top: 12px !important;
	/*padding-right: 0px !important;*/
}
.gform_wrapper div.validation_error {
	margin-bottom: 25px;
	border: none !important;
	padding: 0px !important;
	text-align: left !important;
}
.gform_wrapper .top_label div.ginput_container {
	margin-top: 0px;
	padding: 0px;
}
.gform_body input::-webkit-input-placeholder,
.gform_body textarea::-webkit-input-placeholder {
	color: #c8a190;
	text-align: left;
}

/* Updated 3/11/16 */
.gform_body input::-moz-placeholder,
.gform_body textarea::-moz-placeholder {
	/* Firefox 18- */
	
	color: #c8a190;
	text-align: left;
	opacity: 1;
}

/* Updated 3/11/16 */
.gform_body input:-moz-placeholder,
.gform_body textarea:-moz-placeholder {
	/* Firefox 18- */
	
	color: #c8a190;
	text-align: left;
	opacity: 1;
}
.gform_body input:-ms-input-placeholder,
.gform_body textarea:-ms-input-placeholder {
	color: #c8a190;
	text-align: left;
}

.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {
    line-height: 19px;
    font-size: 17px !important;
}

/** SECTION 1 **/

/* Hide the OS/Browser checkboxes/radio buttons */
.gform_body input[type=checkbox], .gform_body input[type=radio] {
  visibility: hidden!important;
  margin: 0!important;
  width: 0!important;
}

/* Set Elegant Icont font, size, & positioning for the checkboxes/radio buttons plus the cursor on hover */
.gform_body input[type=checkbox] + label:before, .gform_body input[type=checkbox] + span + label:before,
.gform_body input[type=checkbox] + span:before,
.gform_body input[type=radio] + label:before,
.gform_body input[type=radio] + span + label:before{
	visibility: visible;
	font-family: ElegantIcons;
	font-size: 26px;
	position: relative;
	top: 6px;
	padding-right: 10px;
	color: #ccc;
	line-height: 28px;	
}

.gform_body input[type=checkbox] + label:hover, .gform_body input[type=checkbox] + span + label:hover,
.gform_body input[type=checkbox] + span:hover,
.gform_body input[type=radio] + label:hover,
.gform_body input[type=radio]  + span + label:hover{ 
  cursor: pointer; 

}

.gform_body .active{
	  pointer-events:unset;
}


.gform_body .gfield_label ~ .ginput_container_checkbox ul,
.gform_body .gfield_label ~ .ginput_container_radio ul {
	margin-top: -5px !important;
	margin-left:  -10px !important;
	padding: 0px !important;
}

/** SECTION 2 **/

/* Set checkbox to ET icons: normal, hover, checked, & checked hover */
.gform_body input[type=checkbox] + label:before, .gform_body input[type=checkbox] + span + label:before,
.gform_body input[type=checkbox] + span:before { 
  content: '\56'; 
  
}
.gform_body input[type=checkbox] + label:hover:before, .gform_body input[type=checkbox] + span + label:hover:before,
.gform_body input[type=checkbox] + span:hover:before {
  content: '\5a'; 
  filter: alpha(opacity=60); 
  opacity: 0.6;
}
.gform_body input[type=checkbox]:checked + label:before, .gform_body input[type=checkbox]:checked + span + label:before,
.gform_body input[type=checkbox]:checked + span:before {
  content: '\5a';
  color: #c8a190;
}
.gform_body input[type=checkbox]:checked + label:hover:before, .gform_body input[type=checkbox]:checked  + span + label:hover:before,
.gform_body input[type=checkbox]:checked + span:hover:before { 
  filter: alpha(opacity=100); opacity: 1; 
color: #c8a190;
}

/* Set radio buttons Divi icons: normal, hover, checked, & checked hover */
.gform_body input[type=radio] + label:before,input[type=radio] + span + label:before { 
  content: '\5b';

}
.gform_body input[type=radio] + label:hover:before, .gform_body input[type=radio] + span + label:hover:before { 
  content: '\5c'; 
  filter: alpha(opacity=40); 
  opacity: 0.4; 

}
.gform_body input[type=radio]:checked + label:before, .gform_body input[type=radio]:checked  + span + label:before {
	content: '\5c';
	color: #c8a190;
}
.gform_body input[type=radio]:checked + label:hover:before, .gform_body input[type=radio]:checked + span + label:hover:before { 
  filter: alpha(opacity=100); opacity: 1; 
color: #c8a190;
  
}




.gfield_total_1_ .gfield_label {
	display: inline-block;
	float: left;
}
.ginput_product_price {
	color: #000 !important;
}
.ginput_total_1 {
	display: inline-block;
	float: left;
	padding-left: 5px;
	margin-top: 0px !important;
	font-weight: 400;
	color: #000 !important;
}

/*Updated to remove line after for nz Farms only*/
.gform_wrapper .gform_body ul li:after {
	border-bottom: none;
}
.gform_body .errorMessages,
#gform_1 {
	margin: 0px !important;
	padding: 0px !important;
}


.gform_wrapper .ginput_container_select select {
	border: 1px solid #ccc !important;
	margin-right: 10px !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background: transparent !important;
	background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position-x: 98% !important;
	background-position-y: 7px !important;
	border-radius: 0px;
	margin-right: 2rem;
	padding: 1rem;
	padding-right: 10px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
	
}

.gform_wrapper  .gform_button_select_files {
	background-color: #fff;
	border: 1px solid #666 !important;
	color: #666 !important;
}

.gform_wrapper  .gform_button_select_files:hover {
	border: 1px solid #000 !important;
	color: #000 !important;
}
	
	
	