/*
The styles in this stylesheet only apply to resolutions 768px 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/

-----
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;
  }
}

article.featuresLeftBlock img {
  display: none;
} 

.img-pos-mobile {
  display: block;
}

#footer-widgets.col-4 .footer-widget-4 { 
    clear: both;
}

.module ul {
  list-style-position: inside;
}

.sideLeft-half {
  width: 100%;
  margin: 0; 
  padding-right: 0;
}

.sideRight-half {
  width: 100%;
  padding-left: 0; 
}


/*----------------------*/
@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 { 
    margin-left: 53px;
    margin-top: -34px;
    position: relative;
    margin-bottom: 0;
    /* LEVEL 2 */ 

  }
  ul.nav li {
    position: relative;
    float: left;
    zoom: 1;
    list-style: none;
  }
  ul.nav li a {
    display: block;
    padding: .53em 1em;
  }
  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;
    margin: 0;
  }
  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;
  }
  /* 2. TOP NAVIGATION (Add top navigation presentational styles here) */
  #top #top-nav {
    display: block;
  }
  #top ul.nav {
    font-size: .857em;
    /* LEVEL 2 */
  
    /* LEVEL 3 */
  
  }
  #top ul.nav > li > a {
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  #top ul.nav > li > a:hover {
    background: #21364e;
    text-decoration: none;
  }
  #top ul.nav > li:hover > a {
    background: #21364e;
  }
  #top ul.nav li a {
    text-decoration: none;
  }
  #top ul.nav li.current_page_item > a,
  #top ul.nav li.current_page_parent > a,
  #top ul.nav li.current-menu-ancestor > a,
  #top ul.nav li.current-cat > a,
  #top ul.nav li.li.current-menu-item > a {
    text-decoration: underline;
  } 


  #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: none;
    font-weight: 600;
  }


  ul.nav li.current-menu-item {
    color: #ff6d00;
  }

  #top ul.nav li.parent > a:after {
    top: 1.3em;
  }
  #top ul.nav ul {
    background: #21364e;
  }
  #top ul.nav ul li:hover > a {
    text-decoration: underline;
    color: #000;
  }
  #top ul.nav ul li.parent > a:after {
    top: 1.1em;
  }
  /* 3. MAIN NAVIGATION DROPDOWN MENUS (Add main navigation presentational styles here) */
  #navigation {
    display: block !important;
    margin: 0.53em 0 0;
  }
  #navigation ul.nav {  
    /* LEVEL 2 */
  
    /* LEVEL 3 */
  
  }
  #navigation ul.nav > li {
    margin: 0 0.53em 0 0;
  }
  #navigation ul.nav > li > a {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  #navigation ul.nav > li > a:hover {
    background: none;
    text-decoration: none;

  }
  #navigation ul.nav > li:hover > a {
    background: none;
    text-decoration: underline;
  }
  #navigation ul.nav li a {
    padding: .236em 1em;
    text-decoration: none;
  }
  #navigation ul.nav ul {
    background: #000000;
    -webkit-border-radius: 0 5px 5px 5px;
    -moz-border-radius: 0 5px 5px 5px;
    border-radius: 0 5px 5px 5px;
    margin-top: 0;
    padding-top: 2px;
    width: 200px; 
  }
  #navigation ul.nav ul > li > a {
    font-size: 0.857em;
    padding: 0.618em 1em;
  }
  #navigation ul.nav ul > li > a:hover {
    text-decoration: none;
    background: none;
  }
  #navigation ul.nav ul > li:hover > a {
    background: #dd7500;
  }
  #navigation ul.nav ul ul {
    margin-top: 0;
    left: 100%;
    margin-top: -2px; 
  }

  #navigation ul.nav > li > ul > li:hover {
    background: #dd7500;
  }




  .nav-toggle {
    display: none;
  }
  /* 4. CONTAINERS & COLUMNS */
  #header {
    padding: 3.631em 1.618em 3.631em;
  }
  #header #logo {
    margin-bottom: 0;
  }
  #header hgroup {
    float: left;
    margin: 0 1.618em 0 0;
  }
  #header hgroup h1,
  #header hgroup h2,
  #header hgroup h3 {
    float: none;
  }
  #header ul.cart li a {
    background: #4874a7;
  }
  #header #navigation {
    float: left;
    width: auto;
    clear: none;
  }
  #header #searchform {
    margin-bottom: 0;
  }
  #header .search_main {
    float: right;
    margin: 0.53em 0 0;
  }
  #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%;
  }
  #featured-slider.flexslider .has-slide-background {
    position: relative;
  }
  #featured-slider.flexslider .has-slide-background .slide-background {
    z-index: 1;
  }
  #featured-slider.flexslider .has-slide-background .slide-content {
    width: 48%;
    position: absolute;
    bottom: 2em;
    left: 2em;
    padding: 1em 2em;
  }



  .slide-content p {
    font-size: 114%;
  }

  #main.fullwidth,
  .layout-full #main,
  .col-full {
    /*max-width: 75.998em;*/
    max-width: 83.998em;
    margin: 0 auto;
    width: 100%;
  }

  .full {
    margin: 0 7.45em;
  }

  #main {
    width: 62%;
  }
  #sidebar {
    margin-top: 0;
    width: 34%;
  }
  .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;
  }
  #connect .related-posts {
    border-top: 0;
    border-left: 1px solid #e6e6e6;
    margin-top: 0;
    padding-top: 0;
    padding-left: 1em;
  }
  #main #connect .col-left,
  #main #connect .col-right {
    width: 48%;
  }
  #post-author .profile-link {
    position: absolute;
    top: 2em;
    right: 1.618em;
    margin-top: 0;
    text-align: right;
  }
  /* Homepage Components */
  .home .features .feature,
  .home .testimonials .quote,
  .home .featured-products li.product {
    margin: 0; 
    margin-left: 20px;
    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;
  }
  /* 5. FOOTER WIDGETS */
  #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%;
    clear: both; 
  }
  #footer-widgets.col-4 .footer-widget-4 {
    margin-right: 0;  
    clear: none;
  }
  /* 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!important;
    font-weight: 600;
  } 

  #footer-widgets.col-4 .block { 
    clear: none; 
  }

  #copyright p { 
    margin: 0 0 0 1em;
    font-size: 95%;
    color: #7c7c7c;
    font-weight: 600;
  }
 

  .sideLeft,
  .sideRight,
  .sideLeft-2,
  .sideRight-2,
  .sideLeft-half,
  .sideRight-half {
     float: left;
  }

  .sideLeft-half { 
    margin: 0 1em; 
  }

  .side-full {
    width: 100%;
    margin: 0 1em;
    padding-top: 30px;
    clear: both;
  }
  .sideLeft {
     width: 25%;
     margin: 0 1em;
  }

  .sideRight {
     width: 70%;
     margin: 0 1em;
  }

  .sideLeft-2 {
     width: 40%;
     margin: 0 1em;
  }

  .sideRight-2 {
     width: 55%;
     margin: 0 1em;
  }

  .sideLeft-half {
     width: 44%;
     margin: 0 1em; 
     padding-right: 10px;
  }

  .sideRight-half {
     width: 44%;
     margin: 0 1em;
     padding-left: 10px; 
  }
 
  article.featuresLeftBlock img {
    display: block;
  } 

  .img-pos-mobile {
    display: none;
  }

  .featurescontent {
    text-align: left;
    margin-top: 0;
    padding: 10px;
    margin-bottom: 29px;
    background: #faf5ed;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }

  .center {
    text-align: center;
  }

  /* contact page components */
  #contact .col-left,
  #contact .col-right { 
    margin-top:-20px;
    width: 50%;
  }

  .blocks-wrapper { 
  }


  .blocks-wrapper h3 { 
    margin-left: 20px;
  } 

  .blocks-wrapper .blocks { 
    overflow: hidden; 
    width: 35%;
    float: left;
    height: 180px; 
    margin: 0 20px;
  }
  
  
  /* 6. IE FIXES */
  .ie7 #top-nav {
    position: relative;
    z-index: 9999999;
  }
  .ie7 #header {
    position: relative;
    z-index: 9999999;
  }

  #map iframe {
    width: 100%;
    height: 400px; 
  }
}


/*----------------------*/
@media only screen and (min-width: 769px) and (max-width: 1100px) { 
  ul.nav { 
    margin-left: 0;
    margin-top: 0;  
  }

  .sideRight {
  width: 66%;
  }

}

/*contact form changes  -- should be in the shortcodes css but those styles not taking in the child theme */
.contact-form .submit { 
  padding: 10px 20px;
  border: 1px solid #ff9240;
  border-bottom-color: none;
  color: white !important;
  text-transform: uppercase; 
  /*Border radius*/
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius:0;
  
  /*Background*/
  background: #111314;   
  
  /*Box shadow*/
  -webkit-box-shadow:none;
  -moz-box-shadow: none;
  box-shadow: none;
}

 
.contact-form .submit:hover {
  background: #ff9240;
  color: #111314; 
} 
