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

CALCULATING DIMENSIONS:
----------------------
The layout is fluid. The sote 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/

-----
INDEX
-----

1. Global dropdown styles
2. Top Navigation
3. Main navigation dropdown menus
 -3.1 General dropdown menus
4. Containers & Columns
5. Footer widgets
6. IE Fixes

/*----------------------*/
@-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: 768px) {
  /* 1. GLOBAL DROPDOWN STYLES (these are purely for the dropdown layout and you should only edit the width of the dropdowns) */
  ul.nav {
    position: relative;
    margin-bottom: 0;
    /* LEVEL 2 */
  
    /* LEVEL 3 */
  
  }
  ul.nav li {
    position: relative;
    float: left;
    zoom: 1;
    list-style: none;
  }
  ul.nav li a {
    display: block;
    padding: .53em 1em;
  }
  ul.nav ul {
    width: 11.089em;
    visibility: hidden;
    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 ul {
    left: 100%;
    top: 0;
  }
  ul.nav li:hover > ul {
    visibility: visible;
  }
  /* 2. TOP NAVIGATION (Add top navigation presentational styles here) */
  #top {
    padding: 0 1.618em;
    background: #3e3448;
    border: 1px solid #393042;
    border-width: 0 0 1px 0;
  }
  #top #top-nav {
    display: block;
  }
  #top ul.nav {
    font-size: .857em;
    /* LEVEL 2 */
  
    /* LEVEL 3 */
  
  }
  #top ul.nav > li a {
    color: #d8d2df;
  }
  #top ul.nav > li a:hover {
    background: #372e3f;
  }
  #top ul.nav > li:hover {
    background: #372e3f;
  }
  #top ul.nav ul {
    background: #372e3f;
  }
  /* 3. MAIN NAVIGATION DROPDOWN MENUS (Add main navigation presentational styles here) */
  #navigation {
    background: none;
    margin: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    display: block !important;
  }
  #navigation ul.nav {
    float: left;
    /* LEVEL 2 */
  
    /* LEVEL 3 */
  
  }
  #navigation ul.nav > li {
    margin: 0 .1em;
  }
  #navigation ul.nav > li a {
    color: #d8d2df;
    text-shadow: 0 -1px 0 #715f86;
    padding: .327em 1em .4em;
    margin: 0;
    border: 0;
  }
  #navigation ul.nav > li a:hover {
    text-decoration: none;
  }
  #navigation ul.nav > li:hover {
    background: #3f354a;
    -webkit-border-radius: 0.327em;
    border-radius: 0.327em;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  #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: #3f354a;
    -webkit-border-radius: 0.327em;
    border-radius: 0.327em;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  #navigation ul.nav > li.parent:hover {
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  #navigation ul.nav ul {
    background: #3f354a;
    -webkit-border-radius: 0.327em;
    border-radius: 0.327em;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-border-top-left-radius: 0;
    border-top-left-radius: 0;
  }
  #navigation ul.nav ul li a {
    font-size: .9em;
  }
  #navigation ul.nav ul li a:hover {
    background: #322a3b;
  }
  #navigation ul.nav ul li:last-child a {
    -webkit-border-bottom-left-radius: 0.327em;
    -webkit-border-bottom-right-radius: 0.327em;
    border-bottom-left-radius: 0.327em;
    border-bottom-right-radius: 0.327em;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  #navigation ul.nav ul ul {
    top: -1px;
    left: 100%;
  }
  .nav-toggle {
    display: none;
  }
  /* 4. CONTAINERS & COLUMNS */
  #header {
    padding: 3.631em 0 0;
  }
  #header .header-left {
    float: left;
    width: 25%;
    margin: 0 0 2.618em;
  }
  #header .header-right {
    float: right;
    margin: 0 0 2.618em;
  }
  #header hgroup {
    float: left;
  }
  #header hgroup h1,
  #header hgroup h2,
  #header hgroup h3 {
    float: none;
  }
  #header ul.rss {
    margin-right: 0;
    padding-right: 0;
  }
  #header ul.rss li {
    border-right: 0;
  }
  #header ul.cart {
    border-left: 1px dotted #726384;
    margin: .202em 0 0 1.2em;
    padding: 0 0 0 2em;
  }
  #header ul.cart li:hover {
    background: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  #header ul.cart li a.cart-contents {
    padding: 0;
  }
  #header ul.cart li a.cart-contents:before {
    content: normal;
  }
  #header ul.cart li a.cart-contents:hover span {
    background: #83a41d;
    -webkit-transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -ms-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
  }
  #header ul.cart li a.cart-contents span {
    margin: 0 .618em 0 0;
    padding: 0;
    width: 2em;
    height: 2em;
    line-height: 2em;
    background: #94b52e;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    color: #fff;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
  }
  body.has-slider #header,
  body.has-top-section #header {
    margin: 0;
    padding: 3.631em 2em 0;
  }
  #top-section .col-full {
    padding: 0;
  }
  #top-section header h1 {
    float: left;
  }
  #top-section #breadcrumbs {
    float: right;
    text-align: right;
  }
  #main.fullwidth,
  .layout-full #main,
  .col-full {
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
  }
  #content {
    margin: 0 auto;
  }
  #main {
    width: 63.8%;
    margin-bottom: 1em;
  }
  #sidebar {
    margin-top: 0;
    width: 29.8%;
  }
  #footer {
    margin: 0 auto;
  }
  #footer #footer-nav li {
    float: none;
  }
  #footer #footer-right {
    margin: 0;
  }
  .entry img {
    max-width: 100%;
  }
  .layout-full .entry img {
    max-width: 100%;
  }
  .layout-right-content #main {
    float: right;
  }
  .layout-right-content #sidebar {
    float: left;
  }
  .layout-full #main {
    width: 100%;
  }
  .col-left {
    float: left;
  }
  .col-right {
    float: right;
  }
  .page-template-template-contact-php .location-twitter .col-left {
    float: left;
  }
  .page-template-template-contact-php .location-twitter #office-location {
    width: 48%;
    margin: 0;
  }
  .page-template-template-contact-php .location-twitter .contact-social {
    float: right;
    width: 48%;
  }
  .page-template-template-contact-php .location-twitter .contact-social #twitter {
    margin: 0;
  }
  /* 5. FOOTER WIDGETS */
  #footer-widgets {
    margin: 0 auto 2.244em;
  }
  #footer-widgets .block {
    margin-right: 3.8%;
    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: 22.05%;
  }
  #footer-widgets.col-4 .footer-widget-4 {
    margin-right: 0;
  }
  #footer-widgets.col-4 .footer-widget-4 #searchform #searchsubmit {
    margin: 0 0 0 0.327em;
  }
  /* 6. IE FIXES */
  .ie7 #top-nav {
    position: relative;
    z-index: 9999999;
  }
  .ie7 #header {
    position: relative;
    z-index: 9999999;
  }
  .ie8 .header-right {
    width: 72%;
  }
  .ie8 ul.products li.product img {
    padding: 0;
  }
  /* 7. FEATURED SLIDER */
  #featured-slider {
    padding: 0;
  }
  #featured-slider .flexslider:hover .flex-next {
    opacity: 0.8;
    filter: alpha(opacity=@opacity * 100);
    right: -5.874em;
  }
  #featured-slider .flexslider:hover .flex-prev {
    opacity: 0.8;
    filter: alpha(opacity=@opacity * 100);
    left: -5.874em;
  }
  #featured-slider .slide-content {
    width: 42%;
  }
  #featured-slider .slide-media {
    width: 54%;
    margin: 0;
  }
  #featured-slider .has-video .slide-media {
    float: right;
    width: 54%;
    height: auto;
  }
  #featured-slider .flex-direction-nav .flex-next {
    right: -5.874em;
  }
  #featured-slider .flex-direction-nav .flex-prev {
    left: -5.874em;
  }
  #featured-slider .flex-direction-nav li {
    display: inline;
  }
  #featured-slider .flex-direction-nav a {
    margin: -5.874em 0 0;
    position: absolute;
  }
  #featured-slider .flex-control-nav {
    width: auto;
    bottom: 2em;
  }
  /* 8. HOMEPAGE */
  #main .widget_woothemes_features .feature {
    width: 30%;
    margin: 0 5% 2.244em 0;
  }
  #main .widget_woothemes_features .feature .feature-image {
    float: left;
    display: block;
    width: 22%;
  }
  #main .widget_woothemes_features .feature .feature-content {
    float: right;
    width: 71%;
  }
  #main .widget_woothemes_testimonials {
    padding: 0 0 2.244em;
    border-bottom: 1px solid #dfdfdf;
  }
  #main .widget_woothemes_testimonials h2 {
    margin: 0 0 1.387em;
  }
  #main .widget_woothemes_testimonials .quote {
    width: 29.3%;
    margin: 0 6% 2.244em 0;
    padding: 0;
    border: 0;
  }
  #main .widget_woothemes_testimonials .quote .testimonials-content {
    float: right;
    width: 71%;
  }
  #main #page-content article.has-featured-image .featured-image {
    margin: 0;
    width: 53%;
    float: left;
  }
  #main #page-content article.has-featured-image .article-content {
    width: 41%;
    float: right;
  }
  /* 8. Timeline Template */
  #archives .archives_list li {
    padding-bottom: 0;
    border-bottom: 0;
  }
  #archives .archives_list .date {
    display: inline-block;
    width: 22.5%;
  }
  #archives .archives_list .linked {
    display: inline-block;
    width: 48%;
  }
  #archives .archives_list .comments {
    display: inline-block;
    width: 22.5%;
  }
  #archives .archives_list .comments a {
    padding-left: 1.236em;
  }
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {
  #featured-slider .flexslider:hover .flex-next {
    right: 1em;
  }
  #featured-slider .flexslider:hover .flex-prev {
    left: 1em;
  }
  #featured-slider .flex-direction-nav .flex-next {
    right: 1em;
  }
  #featured-slider .flex-direction-nav .flex-prev {
    left: 1em;
  }
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: landscape) {
  #featured-slider .flexslider:hover .flex-next {
    right: 0em;
  }
  #featured-slider .flexslider:hover .flex-prev {
    left: 0em;
  }
  #featured-slider .flex-direction-nav .flex-next {
    right: 0em;
  }
  #featured-slider .flex-direction-nav .flex-prev {
    left: 0em;
  }
}
