/*
Theme Name: CMVCO
Description: WordPress theme created by BSO
Version: 1.0
Author: Business Systems Online
Author URI: http://www.bso.net.au
*/

/*! normalize.css v2.1.0 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
  display: inline-block;
}
/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */

[hidden] {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */

}
/**
 * Remove default margin.
 */

body {
  margin: 0;
}
/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
  outline: thin dotted;
}
/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}
 #main a:hover{text-decoration:underline;}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
  line-height: 1;
}
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}
/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
  font-weight: bold;
}
/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
  font-style: italic;
}
/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: yellow;
  color: black;
}
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
  white-space: pre-wrap;
}
/**
 * Set consistent quote types.
 */

q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
  border: 0;
}
/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
  overflow: hidden;
}
/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
  margin: 0;
}
/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */

}
/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */

}
/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
  line-height: normal;
}
/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
  text-transform: none;
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"],
/* 1 */ input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */

}
/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}
/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */

}
/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}
/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */

}
/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
html {
  background: url(images/bg.png) repeat;
}
body {
  background: url(images/bg-top.png) top center no-repeat;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #333333;
  font-weight: 300;
}
h1 {
  font-weight: 300;
  font-size: 2.4em;
  margin-top: 0.5em;
  color: #83A41B;
}
h2 {
  font-size: 1.6em;
  font-weight: 300;
  color: #83A41B;
}
h3 {
  font-size: 1.3em;
  font-weight: 900;
  margin: 0.3em 0;
}
a {
  color: #96B630;
  text-decoration: none;
}
#main a{text-decoration: underline;}
p {
  margin: 0.8em 0;
}
.small {
  font-size: 0.8em;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignright {
  float: right;
}
.alignleft {
  float: left;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
img {
  vertical-align: top;
}
.clear {
  clear: both;
}
.clear:after {
  clear: both;
  content: "";
  display: table;
}
.left {
  float: left;
}
.right {
  float: right;
}
hr {
  margin: 0;
  padding: 0;
  background: #eee9de;
  border: 0;
  height: 1px;
}

/* Form fields */
textarea,
input,
select {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  color: #333333;
  border: 1px solid #dedddd;
  padding: 8px;
  background: #e8e8e8;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
input[type=submit] {
  color: white;
  background: #96B630;
  border: none;
  text-transform: uppercase;
  padding: 8px;
  cursor: pointer;
}
input[type=submit]:hover {
  background: #bce251;
}

#header {
  background: #f6f6f6 url(images/top-line2.png) repeat-x top;
  width: 100%;
  padding: 2em 0;
  display: inline-block;
  zoom: 1;
  *display: inline;
  /* IE < 8: fake inline-block */
  letter-spacing: normal;
  word-spacing: normal;
  vertical-align: top;
  /*#social {
		text-align: right;
		padding-top: 1em;
		a {
			img {
				margin-left:7px;
			}
			&:first-child {
				img {
					margin-left:0;
				}
			}
		}
	}*/

}
#header #phone {
  font-size: 1.4em;
  padding-top: 0.75em;
  text-align: right;
}
#header #phone a{
  color: #333333;
}
#header #logo img {
  max-width: 100%;
  height: auto;
}

/* Navigation - Main Menu */
#main-menu {
  background: #f6f6f6  url(images/top-line2.png) repeat-x bottom;
  width: 100%;
  display: inline-block;
  margin-bottom: 1px;
}
#main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
#main-menu ul li {
  display: inline-block;
}
#main-menu ul li a {
  display: inline-block;
  padding: 1.3em 2.75em 1.3em 1.25em;
  /*background: url(images/dot.png) no-repeat left center;*/
  text-transform: uppercase;
  font-size: 1.2em;
  font-weight: 900;
  color: #333;
}
#main-menu ul li:hover > a {
  color: #666;
}
#main-menu ul li:first-child a {
  background: none;
}
#main-menu .sub-menu {
  display: none;
}
#main-menu .sub-menu {
  display: none;
  position: absolute;
  background-color: #e8e8e8;
  text-align: left;
  box-shadow: 0 1em 0.5em rgba(0,0,0,0.25);
  z-index: 999;
  width: 245px;
  font-size: 0.9em;
}
#main-menu .sub-menu li {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
#main-menu .sub-menu li a {
  width: 100%;
  background: none;
  padding: 0.5em 1.5em;
}
#main-menu li:hover .sub-menu {
  display: block;
}
.menu-toggle{
  display: none;
  cursor: pointer;
  padding: 10px 0 15px 0;
  font-size: 30px;
  text-align: center;
}


#banner .carousel-caption {
  width: 55%;
  background: rgba(150,182,48, 0.8);
  border-top: 5px solid white;
  border-bottom: 5px solid white;
  position: absolute;
  right: 0;
  /*bottom: 10px;*/
  left: auto;
  color: white;
  /*line-height: 1.4em;*/
  font-size: 1.2em;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}
#banner .carousel-caption h2 {
  font-weight: 900;
  color: white;
}
#banner .carousel-control{
  top: 45%;
  margin-top: 0;
}
#banner .carousel-control .arrow{
  line-height: 25px;
}
#categories {
  background: #333333;
  color: white;
  width: 100%;
  display: inline-block;
  padding: 1.4em 0 1em;
  text-align: center;
}
#categories .wrapper {
  text-align: center;
  width: 10%;
  margin: 0 1.25%;
  display: inline-block;
}
#categories .wrapper .image {
  height: 5.5em;
}
#categories .wrapper p.title {
  height: 3em;
  margin: 0;
  vertical-align: middle;
  width: 100%;
  display: inline-block;
}
#categories a {
  color: white;
}
#container {
  width: 100%;
  display: inline-block;
  background: white;
  margin-top: 1em;
}
#container .article .content {
  padding: 1em;
  line-height: 1.6em;
}
#sidebar img {
  max-width: 100%;
  height: auto;
}
#sidebar .wrapper {
  padding: 1em 0;
}
#bottom {
  width: 100%;
  display: inline-block;
  background: white;
  margin-top: 1em;
  padding: 1em 0;
  line-height: 1.8em;
}
#bottom ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#bottom ul li {
  border-bottom: 1px solid #e8e9ea;
}
#bottom ul li a {
  color: #333333;
}
#bottom .alo_easymail_preform_msg {
  margin-bottom: 1em;
}
#footer {
  width: 100%;
  display: inline-block;
  background: #96B630;
  color: white;
  padding: 1em 0;
  margin-top: 1em;
  margin-bottom: 1em;
}
#footer a {
  color: white;
}
#footer #footer-menu {
  text-align: right;
}

/* Alo form */
.alo-easymail-widget-custom h2 {
  margin: 0.25em 0;
}
.alo-easymail-widget-custom input {
  width: 38%;
  margin-right: 1%;
}
.alo-easymail-widget-custom .input-submit {
  width: 16%;
  margin-right: 0;
}
.alo-easymail-widget-custom form {
  margin-bottom: 0.5em;
}

/*  WP Forms  */
.wpcf7 p {
  margin: 5px 0;
}
.wpcf7 .wpcf7-not-valid-tip {
  color: black;
  border: 1px solid #a70b0b;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background: #fef4f4;
  padding: .2em .6em;
}
.wpcf7 .wpcf7-validation-errors {
  border: 1px solid #ffc600;
  background: #fdfaf1;
  padding: .2em .6em;
  color: black;
}
.wpcf7 .wpcf7-response-output {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  padding: .2em .6em;
  background: white;
  color: black;
}
.wpcf7 .wpcf7-mail-sent-ok {
  color: #468847;
  background: #dff0d8;
  border: 1px solid #468847;
}


#colorbox,
#cboxOverlay,
#cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}
#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft {
  clear: left;
}
#cboxContent {
  position: relative;
}
#cboxLoadedContent {
  overflow: auto;
}
#cboxTitle {
  margin: 0;
}
#cboxLoadingOverlay,
#cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
  cursor: pointer;
}
.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
}
.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
#colorbox,
#cboxContent,
#cboxLoadedContent {
  box-sizing: content-box;
}
#cboxOverlay {
  background: black;
}
#cboxContent {
  margin-top: 20px;
}
.cboxIframe {
  background: white;
}
#cboxError {
  padding: 50px;
  border: 1px solid #cccccc;
}
#cboxLoadedContent {
  border: 5px solid black;
  background: white;
}
#cboxTitle {
  position: absolute;
  top: -20px;
  left: 0;
  color: #cccccc;
}
#cboxCurrent {
  position: absolute;
  top: -20px;
  right: 0px;
  color: #cccccc;
}
#cboxSlideshow {
  position: absolute;
  top: -20px;
  right: 90px;
  color: white;
}
#cboxPrevious {
  position: absolute;
  top: 50%;
  left: 5px;
  margin-top: -32px;
  background: url(images/controls.png) no-repeat top left;
  width: 28px;
  height: 65px;
  text-indent: -9999px;
}
#cboxPrevious:hover {
  background-position: bottom left;
}
#cboxNext {
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -32px;
  background: url(images/controls.png) no-repeat top right;
  width: 28px;
  height: 65px;
  text-indent: -9999px;
}
#cboxNext:hover {
  background-position: bottom right;
}
#cboxLoadingOverlay {
  background: black;
}
#cboxLoadingGraphic {
  background: url(images/loading.gif) no-repeat center center;
}
#cboxClose {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
  background: url(images/controls.png) no-repeat top center;
  width: 38px;
  height: 19px;
  text-indent: -9999px;
}
#cboxClose:hover {
  background-position: bottom center;
}


/* MailChimp */
.mc_form_inside .mc_merge_var {
    float: left;
    width: 32%;
    margin-right: 1%;
}
#mc-indicates-required {
  display: none;
}
.mc_form_inside #mc_signup_submit {
    margin-top: 0.5em;
    width: auto;
    float: left;
}

/* RESPONSIVE */

.container {
  margin: 0 auto;
  width:96%;
  padding-left:2%;
  padding-right:2%;
  max-width: 1170px;
}
.span1,
.span2,
.span3,
.span4,
.span5,
.span6,
.span7,
.span8,
.span9,
.span10,
.span11,
.span12 {
  float: left;
  margin: 0 1.04167%;
  min-height: 1px;
}
.span1 {
  width: 6.25%;
}
.span2 {
  width: 14.58333%;
}
.span3 {
  width: 22.91667%;
}
.span4 {
  width: 31.25%;
}
.span5 {
  width: 39.58333%;
}
.span6 {
  width: 47.91667%;
}
.span7 {
  width: 56.25%;
}
.span8 {
  width: 64.58333%;
}
.span9 {
  width: 72.91667%;
}
.span10 {
  width: 81.25%;
}
.span11 {
  width: 89.58333%;
}
.span12 {
  width: 97.91667%;
}
/* MEDIA QUERIES */
@media (max-width: 1060px) {
  #main-menu ul li a {
    padding: 1.3em 1.25em 1.3em 0.25em;
  }
}
@media (min-width: 801px) {
  #menu-main-menu{
    display: block !important;
  }
}
@media (max-width: 800px) {
  .span1,
  .span2,
  .span3,
  .span4,
  .span5,
  .span6,
  .span7,
  .span8,
  .span9,
  .span10,
  .span11,
  .span12 {
    float: none;
    padding: 0 2%;
    width: 96%;
    margin: 0;
  }

  /* Navigation */
  .menu-toggle{
    display: block;
  }
  #menu-main-menu{
    display: none;
    padding-bottom: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgb(171, 219, 37);
  }
  #main-menu ul li {
    width: 100%;
    border-top: 1px solid rgb(171, 219, 37);
    padding: 8px 0;
  }
  #main-menu ul li a {
    background: transparent;
    padding: 0.3em 1.25em 0.3em 1.25em;
  }

  #main-menu .sub-menu {
    display: block;
    position: relative;
    width: 100%;
    background: transparent;
    box-shadow: none;
    text-align: center;
    font-size: 0.7em;
  }
  #main-menu .sub-menu li {
    border-bottom: none;
    border-top: 1px solid #CDDAAB;
  }
  #main-menu .sub-menu li a {
    padding: 0;
  }

  /* Banner */
  #banner .carousel .item img{
    max-width: none;
    height: 310px;
  }

  /* Category Section */
  #categories .wrapper {
    width: 22.5%;
  }

  /* Bottom Widgets */
  #bottom .widget-1, #bottom .widget-2{
    padding-bottom: 20px;
  }
  
  /* Alo */
  .alo-easymail-widget-custom input, .alo-easymail-widget-custom .input-submit {
    width: 29%;
    margin-right: 1%;
  }

}

@media (max-width: 520px) {
  /* Category Section */
  #categories .wrapper {
    width: 30.5%;
  }
  
  #banner .carousel-caption {
    width: 80%;
  }

  /* Form */
  textarea, input, select{
    width: 96%;
  }
  .wpcf7 input[type=submit]{
    margin: 0 5px;
  }

  /* Alo */
  .alo-easymail-widget-custom input {
    width: 94%;
    margin-bottom: 1em;
  }
  .alo-easymail-widget-custom .input-submit {
    width: auto;
  }

  /* MailChimp */
  .mc_form_inside .mc_merge_var {
      float: none;
      width: 100%;
      margin-right: 0;
  }

}

