/**
 * @file
 * Positioning for responsive layout .
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout uses the Zen Grids plugin for Compass: http://zengrids.com
 */
/*
 * Center the page.
 */
/* line 44, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
#page,
.region-bottom {
  /* For screen sizes larger than 1200px, prevent excessively long lines of text
     by setting a max-width. */
  margin-left: auto;
  margin-right: auto;
  max-width: 959px;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */
/* line 63, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
#header,
#content-container,
#content,
.region-sidebar-first,
.region-sidebar-second,
.region-sidebar-home2,
#footer {
  padding-left: 12px;
  padding-right: 12px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  word-wrap: break-word;
}

/*
 * Containers for grid items and flow items.
 */
/* line 52, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass-extensions/zen-grids/stylesheets/zen/_grids.scss */
#header:before, #header:after,
#main:before,
#main:after,
#content-container:before,
#content-container:after,
#footer:before,
#footer:after {
  content: "";
  display: table;
}
/* line 56, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass-extensions/zen-grids/stylesheets/zen/_grids.scss */
#header:after,
#main:after,
#content-container:after,
#footer:after {
  clear: both;
}

/* line 85, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
.region-sidebar-first,
.region-sidebar-home2 {
  display: table-cell;
}

/* ***************************************** #Mobile ***************************************** */
@media all and (max-width: 767px) {
  /* line 98, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #page {
    min-width: 300px;
  }

  /* line 104, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #navigation #main-menu #block-nice-menus-1, #navigation #red-nav,
  #block-menu-secondary-menu, #block-search-form, img#tagline {
    display: none;
  }

  /* line 107, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #header {
    height: 91px;
    padding-left: 0;
    padding-right: 0;
    clear: left;
    border-bottom: 5px solid #6a1b1c;
  }

  /* line 113, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #header #logo {
    float: left;
    width: 80%;
    margin-left: 0%;
    margin-right: -80%;
  }
  /* line 115, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #header #logo #logo-inside {
    padding: 10px;
  }
  /* line 118, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #header #logo img {
    max-width: 100%;
    width: auto;
    height: auto;
  }

  /* line 124, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #mobile-menu-toggle {
    float: left;
    width: 20%;
    margin-left: 80%;
    margin-right: -100%;
    background-color: #6a1b1c;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #c8bfa2), color-stop(100%, #856c4c));
    background-image: -webkit-linear-gradient(#c8bfa2, #856c4c);
    background-image: -moz-linear-gradient(#c8bfa2, #856c4c);
    background-image: -o-linear-gradient(#c8bfa2, #856c4c);
    background-image: linear-gradient(#c8bfa2, #856c4c);
    height: 86px;
  }

  /* line 131, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  span.mobile-menu-toggle-link {
    height: 86px;
    position: absolute;
    padding: 32px 15px 0 15px;
  }

  /* line 136, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  a.mobile-menu-toggle-link {
    color: #fff;
    font-family: 'Roboto Slab', serif;
    font-size: 0.8em;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
  }

  /* line 145, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #block-menu-mobile-navigation {
    visibility: hidden;
    border-top: 3px solid #ccc;
    z-index: 1000;
    background-color: #EEEEEE;
    width: 250px;
    position: absolute;
    top: 91px;
    right: 0px;
  }

  /* line 156, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #block-menu-mobile-navigation.open {
    visibility: visible;
  }

  /* line 160, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #block-menu-mobile-navigation ul {
    margin: 0;
    padding: 0;
  }

  /* line 164, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #block-menu-mobile-navigation ul li {
    display: block;
    border: 1px solid #ccc;
    border-top: 0;
  }

  /* line 169, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #block-menu-mobile-navigation ul li a {
    display: block;
    text-align: left;
    border-right: none;
    color: black;
    font-size: 1em;
    letter-spacing: 0;
    text-decoration: none;
    line-height: normal;
    background-image: none;
    padding: 0.7em 5px;
  }

  /* line 181, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #block-menu-mobile-navigation ul li a:hover {
    background-color: #ccc;
    color: #6a1b1c;
  }

  /* line 189, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .no-sidebars #content {
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
  }

  /* line 195, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .sidebar-second #content {
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
  /* line 199, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .sidebar-second .region-sidebar-second {
    clear: left;
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }

  /* line 207, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-first {
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
  /* line 211, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-home2 {
    clear: left;
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
  /*
  // print each block in this region in a separate own column
  @include zen-nested-container(); 
  @include zen-clear();
  .block {
    @include zen-grid-item-base();
  }
  .block:nth-child(3n+1) { 
    @include zen-grid-item(1, 1);
    @include zen-clear();
  }
  .block:nth-child(3n+2) { 
    @include zen-grid-item(1, 2);
  }
  .block:nth-child(3n) { 
    @include zen-grid-item(1, 3);
  }
*/
  }
  /* line 235, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second {
    clear: left;
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
  }

  /* line 243, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .side_bar_grey_med {
    background-color: #68685E;
  }

  /* line 246, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .side_bar_red_med, #block-views-hp-events-block-1 {
    background-color: #6E4B4F;
  }

  /* line 249, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #page #content-container {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
}
/* ***************************************** #Tablet/portrait ***************************************** */
/* ***************************************** #Desktop ***************************************** */
@media all and (min-width: 768px) {
  /*
   * Use 5 grid columns for larger screens.
   */
  /* line 271, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #mobile-menu-toggle, #block-menu-mobile-navigation {
    display: none;
  }

  /* line 276, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #header {
    padding: 0;
    margin: 0;
  }

  /* line 281, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #logo {
    /* Wrapping link for logo */
    float: left;
    width: 50%;
    margin-left: 0%;
    margin-right: -50%;
  }
  /* line 283, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #logo img {
    margin: 25px 0 0 1px;
  }
  /* line 286, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  #logo img#tagline {
    margin: -4px 0 3px 0;
  }

  /* line 291, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .region-header {
    /* Wrapper for any blocks placed in the header region */
    margin-top: 3px;
  }

  /*
   * The layout for no sidebars: print the right sidebar anyway
   */
  /* line 301, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .no-sidebars #content {
    float: left;
    width: 66.66667%;
    margin-left: 0%;
    margin-right: -66.66667%;
  }
  /* line 304, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .no-sidebars .region-sidebar-second {
    float: left;
    width: 33.33333%;
    margin-left: 66.66667%;
    margin-right: -100%;
  }

  /*
   * The layout when there is only one sidebar, the right one.
   */
  /* line 313, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .sidebar-second #content {
    float: left;
    width: 66.66667%;
    margin-left: 0%;
    margin-right: -66.66667%;
  }
  /* line 316, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .sidebar-second .region-sidebar-second {
    float: left;
    width: 33.33333%;
    margin-left: 66.66667%;
    margin-right: -100%;
  }

  /*
   * The layout when there are two sidebars: the home page.
   */
  /* line 325, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 41.66667%;
    margin-left: 0%;
    margin-right: -41.66667%;
  }
  /* line 328, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-home2 {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 25%;
    margin-left: 41.66667%;
    margin-right: -66.66667%;
  }
  /* line 331, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second {
    /* Span 1 column, starting in 5th column from left. */
    float: left;
    width: 33.33333%;
    margin-left: 66.66667%;
    margin-right: -100%;
  }

  /* line 336, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .side_bar_grey_med {
    background: url(../../images/side_bar_med_grey_full.jpg) no-repeat scroll 0 0 #68685e;
  }

  /* line 340, E:/cashel.net/clients/sej/www/sites/all/themes/sej/sass/layouts/responsive-sidebars.scss */
  .side_bar_red_med,
  #block-views-hp-events-block-1 {
    background: url(../../images/side_bar_back1.jpg) no-repeat scroll 0 0 #6e4b4f;
  }
}
