/*
 Theme Name:     Agrifoods theme
 Theme URI:      http://www.agrifoods.ca/
 Description:    Simple Wordpress Theme
 Author:         JM / WvB
 Author URI:     http://www.vitalcolour.co.nz/
 Version:        1.0.0
*/



html, body{
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;

	width: 100%;
       margin: 0%;
}

.clear{ clear: both; }

a{
	color: #0061b2;
	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;
	font-weight: 600;
}



a:hover, a:active, a:focus{
	color: #009900;
	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 {
	font-weight: 700;
}

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

/* 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; }


/* Typography
------------------------------------------------------------------------------*/


h2, h3 {
	font-size: 22px;
	font-weight: 600;
	color: #0061b2;
	padding-top: 34px;
	margin-top: 0px;
	margin-bottom: 4px;
	padding-bottom: 0px;
	line-height: normal;
}

h4 {
	font-size: 18px;
	font-weight: 600;
	color: #009900;
	margin-top: 15px;
	padding-bottom: 0px;
	margin-bottom: 0px;
}

/*
.content p > a {
	color: #0061b2;
	clear: both;
	display: block;
	padding-top: 5px;
	font-weight: 600;
}

.content p > a:hover:last-child {
	color: #999;
	clear: both;
	display: block;
	padding-top: 5px;
	font-weight: 600;
}
*/

hr {
	margin-top: 6px;
	margin-bottom: 6px;
	padding: 0px;
	border-top-width: 1px;
	border-top-style: dashed;
	border-top-color: #ccc;
}


p {
	padding-top: 6px;
	padding-bottom: 6px;
	margin: 0px;
}

/* Page Layout
------------------------------------------------------------------------------*/

/* Header */

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

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

.banner-img {
	padding:0;

}

.content ul {
	margin-top: -5px;
	padding-left: 0;
	margin-left: 30px;
	font-weight: 600;
	}
	
.content li {
      list-style: none;
    }

.content    li:before {
      /* For a round bullet */
      content:'\279C';
      /* For a square bullet */
      /*content:'\25A0';*/
      display: block;
      position: relative;
      max-width: 0px;
      max-height: 0px;
      left: -30px;
      top: -4px;
      color: #0061b2;
      font-size: 20px;
    }
	
.content img {
	margin-top: 12px;
	margin-bottom: 12px;
}

/* nav
------------------------------------------------------------------------------*/

.nav a {
	font-size: 17px;
	color: #0061b2;
	font-weight: 700;
}
.nav-space {
	padding-right: 0px;
}

/* footer
------------------------------------------------------------------------------*/

.footer {
	margin-bottom: 80px;
	margin-top: 80px;
	padding-top: 20px;
}

.footer a {
color: #009900;	
	
}

.footer a:hover {
	color: #666666;
}

.footer-bg {
	background-image: url(images/footer-bg.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	margin-top: -20px;
	background-color: #FFF;
}

.copyright {
	text-align: left;
	font-size: 13px;
}


/* Back to Top
------------------------------------------------------------------------------*/


	#back-to-top, .touch-device #back-to-top:hover {
	background-color: #009900;
	bottom: 20px;
	color: transparent;
	display: none;
	font: 0/0 a;
	height: 52px;
	position: fixed;
	right: 20px;
	text-shadow: none;
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-ms-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	width: 52px;
	z-index: 100;
	-moz-border-radius: 45px;
	-webkit-border-radius: 45px;
	border-radius: 45px;
	-khtml-border-radius: 45px;
	background-image: url(images/arrow-up-large.png);
	background-repeat: no-repeat;
	background-position: center center;
	border: 3px solid #FFF;
	}

		#back-to-top:hover, .touch-device #back-to-top:active {
	background-color: #0061b2;
}


@media only screen and (max-width: 768px) {
	
h2, h3 {
	padding-top: 20px;
}
/* Header-------------------------------------------------- */	

.logo-header img {
	margin-left: 10px;
}

.banner {
	margin-left: -15px;
	margin-right: -15px;
}

.nav-space {
margin-left: -15px;
	margin-right: -15px;
}
	
/* Navbar-------------------------------------------------- */

.nav-global {
	margin-top: 0px;
	

}



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

.dropdown ul {
	background-color: #fff!important;
	-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: 700;
	color: #000;
	padding-top: 14px!important;
	padding-bottom: 14px!important;
}

.nav > li > a:hover,
.nav > li > a:focus {

      background-color: #0061b2;
    color: #fff;
}

.open > a  {
	color: #0061b2!important;
	}

.dropdown ul li:hover > a {
	color: #000;
	background-color: #CCCCCC;
}


.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 */
}

.dropdown li:last-child {
	border: none!important;
}

.dropdown li:first-child {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
}



.nav li {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}

.nav li a {
	padding: 14px;
}

.navbar-collapse  {
	margin-left: -15px;
	margin-right: -15px;

}

/*mobilen nav bar size*/
.navbar-toggle .icon-bar {
	display: block;
	width: 28px;
	height: 5px;
	border-radius: 1px;
	background-color: #0061b2;
}

.navbar-toggle:hover .icon-bar {
    background-color: #009900;
}



.navbar-toggle {
	margin-bottom: 15px;
	margin-top: -8px;
}






}


@media only screen and (min-width: 769px) and (max-width: 991px) {
	
h2, h3 {
	padding-top: 20px;
}	
	
/* Navbar-------------------------------------------------- */

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

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

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

.dropdown ul {
	background-color: #0061b2!important;
	-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: 700;
	color: #fff;
	padding-top: 12px!important;
	padding-bottom: 12px!important;
}


.nav > li:hover > a {
    background-color: #0061b2;
    color: #fff;
}

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

.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: #0061b2!important;
	color: #fff!important;

}


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;
}

			


}

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

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

.nav > li > a {
    padding-left: 11px;
    padding-right: 11px;
}

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

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

.dropdown ul {
	background-color: #0061b2!important;
	-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: 700;
	color: #fff;
	padding-top: 12px!important;
	padding-bottom: 12px!important;
}


.nav > li:hover > a {
    background-color: #0061b2;
    color: #fff;
}

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

.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: #0061b2!important;
	color: #fff!important;

}


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;
}
	
	
	

}

@media (min-width: 1200px) {

/* Navbar-------------------------------------------------- */

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

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

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

.dropdown ul {
	background-color: #0061b2!important;
	-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: 700;
	color: #fff;
	padding-top: 12px!important;
	padding-bottom: 12px!important;
}


.nav > li:hover > a {
    background-color: #0061b2;
    color: #fff;
}

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

.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: #0061b2!important;
	color: #fff!important;

}


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;
}

	
    
}