/* ! The Grid

The Infinity Base Grid. Do you want to generate your own Fluid or Fixed Grid? Read More about the Grid
and how to Modify it here: http://infinity.presscrew.com/docs/?page=infinity-theme&route=cpanel/ddocs/theme_design

You can disable the css in this file by adding the following code to your child theme config/infinity.ini file

infinity-grid-style = off

/*
================================================== */
* {
   box-sizing: border-box;
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box; 
}

/* Fix WP Editor, which assumes W3C box model */
.wp-editor-wrap * {
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}

/* Except Quicktags buttons, which do use border-box! */
.wp-editor-wrap .quicktags-toolbar * {
   box-sizing: border-box;
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box; 
}

/* The Grid ---------------------- */
.row { width: 1050px; max-width: 100%; min-width: 768px; margin: 0 auto; }
.row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
.row.collapse .column, .row.collapse .columns { padding: 0; }
.row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
.row .row.collapse { margin: 0; }

.column, .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; }
.column.centered, .columns.centered { float: none; margin: 0 auto; }

[class*="column"] + [class*="column"]:last-child { float: right; }

[class*="column"] + [class*="column"].end { float: left; }

.row .one { width: 6.25%; }

.row .two { width: 12.5%; }

.row .three { width: 18.75%; }

.row .four { width: 25%; }

.row .five { width: 31.25%; }

.row .six { width: 37.5%; }

.row .seven { width: 43.75%; }

.row .eight { width: 50%; }

.row .nine { width: 56.25%; }

.row .ten { width: 62.5%; }

.row .eleven { width: 68.75%; }

.row .twelve { width: 75%; }

.row .thirteen { width: 81.25%; }

.row .fourteen { width: 87.5%; }

.row .fifteen { width: 93.75%; }

.row .sixteen { width: 100%; }

.row .offset-by-one { margin-left: 6.25%; }

.row .offset-by-two { margin-left: 12.5%; }

.row .offset-by-three { margin-left: 18.75%; }

.row .offset-by-four { margin-left: 25%; }

.row .offset-by-five { margin-left: 31.25%; }

.row .offset-by-six { margin-left: 37.5%; }

.row .offset-by-seven { margin-left: 43.75%; }

.row .offset-by-eight { margin-left: 50%; }

.row .offset-by-nine { margin-left: 56.25%; }

.row .offset-by-ten { margin-left: 62.5%; }

.row .offset-by-eleven { margin-left: 68.75%; }

.row .offset-by-twelve { margin-left: 75%; }

.row .offset-by-thirteen { margin-left: 81.25%; }

.row .offset-by-fourteen { margin-left: 87.5%; }

.push-two { left: 12.5%; }

.pull-two { right: 12.5%; }

.push-three { left: 18.75%; }

.pull-three { right: 18.75%; }

.push-four { left: 25%; }

.pull-four { right: 25%; }

.push-five { left: 31.25%; }

.pull-five { right: 31.25%; }

.push-six { left: 37.5%; }

.pull-six { right: 37.5%; }

.push-seven { left: 43.75%; }

.pull-seven { right: 43.75%; }

.push-eight { left: 50%; }

.pull-eight { right: 50%; }

.push-nine { left: 56.25%; }

.pull-nine { right: 56.25%; }

.push-ten { left: 62.5%; }

.pull-ten { right: 62.5%; }

.push-eleven { left: 68.75%; }

.pull-eleven { right: 68.75%; }

.push-twelve { left: 75%; }

.pull-twelve { right: 75%; }

.push-thirteen { left: 81.25%; }

.pull-thirteen { right: 81.25%; }

.push-fourteen { left: 87.5%; }

.pull-fourteen { right: 87.5%; }

img, object, embed { max-width: 100%; height: auto; }

img { -ms-interpolation-mode: bicubic; }

#map_canvas img, .map_canvas img { max-width: none!important; }

/* Nicolas Gallagher's micro clearfix */
.row { *zoom: 1; }
.row:before, .row:after { content: ""; display: table; }
.row:after { clear: both; }

/* Mobile Grid and Overrides ---------------------- */
@media only screen and (max-width: 767px) { body { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; width: 100%; min-width: 0; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .row { width: auto; min-width: 0; margin-left: 0; margin-right: 0; }
  .column, .columns { width: auto !important; float: none; }
  .column:last-child, .columns:last-child { float: none; }
  [class*="column"] + [class*="column"]:last-child { float: none; }
  .column:before, .columns:before, .column:after, .columns:after { content: ""; display: table; }
  .column:after, .columns:after { clear: both; }
  .offset-by-one, .offset-by-two, .offset-by-three, .offset-by-four, .offset-by-five, .offset-by-six, .offset-by-seven, .offset-by-eight, .offset-by-nine, .offset-by-ten, .offset-by-eleven, .offset-by-twelve, .offset-by-thirteen, .offset-by-fourteen { margin-left: 0 !important; }
  .push-two, .push-three, .push-four, .push-five, .push-six, .push-seven, .push-eight, .push-nine, .push-ten, .push-eleven, .push-twelve, .push-thirteen, .push-fourteen { left: auto; }
  .pull-two, .pull-three, .pull-four, .pull-five, .pull-six, .pull-seven, .pull-eight, .pull-nine, .pull-ten, .pull-eleven, .pull-twelve, .pull-thirteen, .pull-fourteen { right: auto; }
  /* Mobile 4-column Grid */
  .row .mobile-one { width: 25% !important; float: left; padding: 0 15px; }
  .row .mobile-one:last-child { float: right; }
  .row.collapse .mobile-one { padding: 0; }
  .row .mobile-two { width: 50% !important; float: left; padding: 0 15px; }
  .row .mobile-two:last-child { float: right; }
  .row.collapse .mobile-two { padding: 0; }
  .row .mobile-three { width: 75% !important; float: left; padding: 0 15px; }
  .row .mobile-three:last-child { float: right; }
  .row.collapse .mobile-three { padding: 0; }
  .row .mobile-four { width: 100% !important; float: left; padding: 0 15px; }
  .row .mobile-four:last-child { float: right; }
  .row.collapse .mobile-four { padding: 0; }
  .push-one-mobile { left: 25%; }
  .pull-one-mobile { right: 25%; }
  .push-two-mobile { left: 50%; }
  .pull-two-mobile { right: 50%; }
  .push-three-mobile { left: 75%; }
  .pull-three-mobile { right: 75%; } }
/* Block Grids ---------------------- */
/* These are 2-up, 3-up, 4-up and 5-up ULs, suited
for repeating blocks of content. Add 'mobile' to
them to switch them just like the layout grid
(one item per line) on phones

For IE7/8 compatibility block-grid items need to be
the same height. You can optionally uncomment the
lines below to support arbitrary height, but know
that IE7/8 do not support :nth-child.
-------------------------------------------------- */
.block-grid { display: block; overflow: hidden; padding: 0; }
.block-grid > li { display: block; height: auto !important; float: left; }

.block-grid.one-up > li { width: 100%; padding: 0 0 15px; }


.block-grid.two-up > li { width: 50%; padding: 0 15px 15px; }

/*  .block-grid.two-up>li:nth-child(2n+1) {clear: left;} */

.block-grid.three-up > li { width: 33.33%; padding: 0 12px 12px; }

/*  .block-grid.three-up>li:nth-child(3n+1) {clear: left;} */
.block-grid.four-up { margin: 0 -10px; }

.block-grid.four-up > li { width: 25%; padding: 0 10px 10px; }

/*  .block-grid.four-up>li:nth-child(4n+1) {clear: left;} */

.block-grid.five-up > li { width: 20%; padding: 0 8px 8px; }

/*  .block-grid.five-up>li:nth-child(5n+1) {clear: left;} */
/* Mobile Block Grids */
@media only screen and (max-width: 767px) { .block-grid.mobile { margin-left: 0; }
  .block-grid.mobile > li { float: none; width: 100%; margin-left: 0; } }
