/*
The styles in this stylesheet only apply to resolutions 800px and up

CALCULATING DIMENSIONS:
----------------------
The layout is fluid. The site wrapper (.col-full) has a fixed pixel max-width.
All subsequent dimensions are calculated based on that fixed pixel width, using the formula: target / context = result
Credit - http://www.alistapart.com/articles/fluidgrids/

/*----------------------*/
@-webkit-keyframes spin-360 {
  from {
    -webkit-transform: rotate(0);
    /* Saf3.1+, Chrome */

    -moz-transform: rotate(0);
    /* FF3.5+ */

    -ms-transform: rotate(0);
    /* IE9 */

    -o-transform: rotate(0);
    /* Opera 10.5 */
    transform: rotate(0);
    zoom: 1;
  }
  50% {
    -webkit-transform: rotate(180deg);
    /* Saf3.1+, Chrome */

    -moz-transform: rotate(180deg);
    /* FF3.5+ */

    -ms-transform: rotate(180deg);
    /* IE9 */

    -o-transform: rotate(180deg);
    /* Opera 10.5 */
    transform: rotate(180deg);
    zoom: 1;
  }
  to {
    -webkit-transform: rotate(0);
    /* Saf3.1+, Chrome */

    -moz-transform: rotate(0);
    /* FF3.5+ */

    -ms-transform: rotate(0);
    /* IE9 */

    -o-transform: rotate(0);
    /* Opera 10.5 */
    transform: rotate(0);
    zoom: 1;
  }
}
/*----------------------*/
@media only screen and (min-width: 800px) {
  /* GLOBAL DROPDOWN STYLES (these are purely for the dropdown layout and you should only edit the width of the dropdowns) */
  ul.nav {
    position: relative;
  }
  ul.nav li {
    position: relative;
    float: left;
    zoom: 1;
    list-style: none;
  }
  ul.nav li a {
    display: inline-block;
  }
  ul.nav li.parent > a {
    position: relative;
    padding-right: 2em!important;
  }
  ul.nav li.parent > a:after {
    content: '';
    position: absolute;
    top: .9em;
    right: 1em;
    display: block;
    width: 0;
    height: 0;
    border: 3px solid #fff;
    border-color: #fff transparent transparent transparent;
  }
  ul.nav ul {
    width: 11.089em;
    visibility: hidden;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    margin: 0;
  }
  ul.nav ul li {
    float: none;
  }
  ul.nav ul li a {
    width: 100%;
    display: inline-block;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
  }
  ul.nav ul li.parent > a:after {
    top: 1.2em;
    border-color: transparent transparent transparent #fff;
  }
  ul.nav ul ul {
    left: 100%;
    top: 0;
  }
  ul.nav li:hover > ul {
    visibility: visible;
    display: block;
  }
  /* MAIN NAVIGATION DROPDOWN MENUS (Add main navigation presentational styles here) */
  #navigation {
    display: block !important;
    margin: 0.53em 0 0;
  }
  #navigation ul.nav {

  }
  #navigation ul.nav > li {
    margin: 0 0.53em 0 0;
  }
  #navigation ul.nav > li > a {

  }
  #navigation ul.nav > li > a:hover {
    background: #406895;
    text-decoration: none;
  }
  #navigation ul.nav > li:hover > a {
    background: #406895;
  }
  #navigation ul.nav li a {
    text-decoration: none;
  }
  #navigation ul.nav li.current_page_item > a,
  #navigation ul.nav li.current_page_parent > a,
  #navigation ul.nav li.current-menu-ancestor > a,
  #navigation ul.nav li.current-cat > a,
  #navigation ul.nav li.li.current-menu-item > a {
    background: #385b83;
    text-decoration: none;
  }
  #navigation ul.nav ul {
    background: #406895;
    -webkit-border-radius: 0 5px 5px 5px;
    -moz-border-radius: 0 5px 5px 5px;
    border-radius: 0 5px 5px 5px;
    margin-top: -4px;
    padding-top: 2px;
  }
  #navigation ul.nav ul > li > a {

  }
  #navigation ul.nav ul > li > a:hover {
    text-decoration: none;
    background: #385b83;
  }
  #navigation ul.nav ul > li:hover > a {
    background: #385b83;
  }
  #navigation ul.nav ul ul {
    margin-top: 0;
    left: 100%;
  }
  .nav-toggle {
    display: none;
  }

  /* CONTAINERS & COLUMNS */
  #featured .flexslider .slide-content {
    float: left;
    width: 48%;
  }
  #featured .flexslider .slide-media {
    float: right;
    width: 48%;
    margin: 0;
  }
  #featured .flexslider.full-width-slide .has-video .slide-media {
    float: none;
    width: 100%;
    height: auto;
  }
  #featured .flexslider .no-image.no-video .slide-content {
    width: 100%;
  }

  #content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  }
  #main {
    width: 66.6666%;
  }
  #main.fullwidth {
    width: auto;
  }
  #sidebar {
    padding-left: 1em;
    width: 33.3333%;
  }

  .entry img {
    max-width: 100%;
  }
  .layout-full .entry img {
    max-width: 100%;
  }

  .layout-full #main,
  .col-full {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
  }

 
  /* Homepage Components */
  .home .features .feature,
  .home .testimonials .quote,
  .home .featured-products li.product {
    margin: 0 3.75% 2.244em 0;
    clear: none;
    width: 30.75%;
    float: left;
  }
  #sidebar .features .feature,
  #sidebar .testimonials .quote,
  #sidebar .featured-products li.product {
    margin: 0 0 2.244em 0;
    clear: both;
    width: 100%;
    float: none;
  }
  /* Comments Form */
  #respond #commentform .comment-form-author,
  #respond #commentform .comment-form-email,
  #respond #commentform .comment-form-url {
    width: 30.75%;
    float: left;
    margin-right: 3.75%;
  }
  #respond #commentform .comment-form-url {
    margin-right: 0;
  }
  /* FOOTER WIDGETS */
  #footer-widgets .widget {
    padding-right: 1em;
  }
  #footer-widgets .block {
    float: left;
  }
  #footer-widgets.col-1 .block {
    width: 100%;
    float: none;
  }
  #footer-widgets.col-1 .footer-widget-1 {
    margin-right: 0;
  }
  #footer-widgets.col-2 .block {
    width: 48%;
  }
  #footer-widgets.col-2 .footer-widget-2 {
    margin-right: 0;
  }
  #footer-widgets.col-3 .block {
    width: 30.75%;
  }
  #footer-widgets.col-3 .footer-widget-3 {
    margin-right: 0;
  }
  #footer-widgets.col-4 .block {
    width: 25%;
  }
  #footer-widgets.col-4 .footer-widget-4 .widget {
    padding-right: 0;
  }
  /* Footer Nav */
  #footer .col-right {
    float: right;
  }
  #footer .col-left {
    float: left;
  }
  #footer #credit p {
    float: right;
  }
  #footer .nav {
    float: right;
  }
  #footer .nav li a {
    margin: 0 0 0 1em;
    padding: 0;
    color: #7c7c7c;
  }
  /* 6. IE FIXES */
  .ie7 #top-nav {
    position: relative;
    z-index: 9999999;
  }
  .ie7 #header {
    position: relative;
    z-index: 9999999;
  }
}
