/* ==========================================================================
   Base Fixes
   ========================================================================== */
.dropdown-menu { top: 88%; }
ul.nav > li.dropdown:hover > ul.level0 { display: block; }
ul.level0 > li.active > a, ul.level0 > li.active > a:hover { color:#fff; }
ul.level0 > li.active.dropdown-submenu > a::after { border-left-color: #fff; }
li.active.dropdown-submenu > ul.level1 > li > a { color:#333; }
li.active.dropdown-submenu ul.level1 li.active a, li.active.dropdown-submenu ul.level1 li a:hover { color:#fff; }
li.active.dropdown-submenu a, li.active.dropdown-submenu a:hover { color: #fff; }
.dropdown-submenu > .dropdown-menu { top: 0; left: 98%; -webkit-border-radius: 6px 6px 6px 6px; -moz-border-radius: 0 6px 6px 6px; border-radius: 6px 6px 6px 6px; }

.navbar { text-align:center; }
.navbar .nav { float:none; }
.navbar .nav > li { float: none; display: inline-block; }

/* plugin fixes */
#wpstats { display: none; }

/* =============================================================================
   Header
   ========================================================================== */

/* Fixed Topbar Navigation */
body.top-navbar { padding-top: 40px; }
body.admin-bar .navbar-fixed-top { top: 28px; }
.navbar .nav { margin: 0; }
.navbar .nav>li>a .description { display: block; color: #ddd; font-style: italic; font-size: 12px;}

/* Roots - Below Header Top Menu && Roots - Sidebar Nav */
.root-below-header-nav #banner, .root-sidebar-nav #banner { margin-bottom: 0; position: relative; top: 0;}
.root-below-header-nav .navbar .container, .root-sidebar-nav .navbar .container { width: 980px; }
.root-below-header-nav .navbar-inner, .root-sidebar-nav .navbar-inner { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
.root-sidebar-nav #banner { display: none; }

#root_logo_toparea { border-bottom: 1px solid #fff; background: #f9f9f9; padding: 10px 0;}
#root_logo a { color: #7a7a7a; text-decoration: none; }
#root_logo a:hover { color: #333; }
#root_logo .root_slogan { display: block; font-size: 11px; font-style: italic; }
#root_toparea { text-align: right; }
#root_toparea ul { list-style: none; margin: 0;}
#root_page_banner { margin-top: 10px; margin-bottom: 10px; }
#number_address ul li.number { padding-bottom: 10px; margin-bottom: 10px; }
#root_top_container .address { text-align: right; }

/* ==========================================================================
   Content
   ========================================================================== */

/* yoast breadcrumbs */
#root_yoast_breadcrumbs { font-size: 12px; color: #7a7a7a; }
#root_yoast_breadcrumbs a { color: #7a7a7a; }
#root_yoast_breadcrumbs a:hover { color: #333; text-decoration: none; }

#content img { margin: 10px; -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);}
#content img.aligncenter { margin: 10px auto; }
div.sharedaddy .sd-content { text-align: center; width: auto!important; float: none!important; margin: 0!important; }
div.sharedaddy .sd-content li { float: none!important; display: inline-block!important; vertical-align: top; }
div.sharedaddy h3, #content div.sharedaddy h3, #main div.sharedaddy h3, #primary div.sharedaddy h3 {
   margin: 3px 0 15px!important; width: auto!important; float: none!important;
}

#wrap { padding: 10px 0; }
#sidebar.pull-left { margin:0; }

/* articles */
#root_article_posts .post-excerpt { padding: 10px; }
#root_article_posts [class*="post-"] legend { margin-bottom: 10px; }
#root_article_posts [class*="post-"] legend a { color: #7a7a7a; }
#root_article_posts [class*="post-"] legend a:hover {color: #333; text-decoration: none; }
.root-post-meta { font-size: 11px; margin-bottom: 0; }

/* single post page */
.root-entry-content { padding: 10px; }
.root-single-meta { font-size: 11px; }
#root_post_author {}

/* testimonials */
#root_testimonial_posts { margin-top: 40px; }
#root_testimonial_posts blockquote { font-size: 12px; font-style: italic; }
#root_testimonial_posts .root_testimonial .root_thumbnail { margin: 0 5px; }
#root_testimonial_posts legend { border-bottom: 0; border-top: 1px dotted #ddd; font-size: 13px; margin-top: 10px; text-align: right;}
#root_testimonial_posts legend cite { padding: 0 10px; }
#root_testimonial_posts legend cite h6 { display: inline; }

/* contact */
.page-contact { padding-bottom: 15px; }

/* google map */
#mapcontainer{ overflow:hidden; }
#addrcolumn ul.location { list-style-type: none; margin: 0; padding: 0; }
#addrcolumn ul.location li a { color: #333; }
#addrcolumn ul.location li span { color: #777;}
#addrcolumn ul.location li { position:relative; padding:10px; background: #efefef; }
#addrcolumn ul.location li:hover {background:#e6e6e6;}
#addrcolumn ul.location li.selected{ background: #e0e0e0;}
#addrcolumn ul.location li.selected:after{ /*add arrow after selected LI*/
   position:absolute;
   content:'';
   border-color:transparent transparent transparent #e0e0e0;
   left:100%;
   top:0;
   border-style: solid;
   border-width: 10px; /*adjust this property to change height of arrow*/
}
#mapcolumn iframe{ width: 100%; height: 440px; }

/* gallery */
#content .gallery .gallery-item img { margin: 0 auto; }
.gallery { width: 100%; }
.gallery .gallery-item { float: left; margin-top: 0; margin-bottom: 10px; margin-left: 2.127659574468085%;}
.gallery.gallery-columns-6 .gallery-item { width: 14.53122726821899%; }
.gallery.gallery-columns-5 .gallery-item { width: 17.87353255462646%; }
.gallery.gallery-columns-4 .gallery-item { width: 22.87366416168213%; }
.gallery.gallery-columns-3 .gallery-item { width: 31.20645127105713%; }
.gallery.gallery-columns-2 .gallery-item { width: 47.87332505798339%; }
.gallery.gallery-columns-1 .gallery-item { width: 100%; margin-left:0; }

#content .slideshow-window  img { margin: 0 auto; }

/* Roots - Below Header Top Menu */
.root-below-header-nav #wrap { border-top: 0; }

/* Roots - Sidebar Menu */
.root-sidebar-nav #wrap { border-top: 1px solid #D0D0D0; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
/* Roots - Sidebar Menu */
.root-sidebar-nav .nav-tabs .dropdown-menu { right: 0; left: inherit; -webkit-border-radius: 6px 6px 6px 6px; -moz-border-radius: 6px 6px 6px 6px; border-radius: 6px 6px 6px 6px; }
.root-sidebar-nav .nav-tabs > li > a { color: #333; }
.root-sidebar-nav .nav > li.active > a { background: #333; color: #fff; border: 0; }
.root-sidebar-nav .nav > li.active > a .caret { border-top-color: #fff; }
.root-sidebar-nav .nav .dropdown-toggle .caret { border-top-color: #333; }

/* ==========================================================================
   Footer
   ========================================================================== */
#root_prefooter { border-top:1px solid #ddd; background: whiteSmoke; padding: 10px 0 20px; border-bottom: 1px solid #d0d0d0;}
#root_prefooter h3 { text-shadow: 1px 1px 1px #fff; }
#content-info { background: #efefef; border-top: 1px solid #fff; padding: 20px 0 10px; text-align:center; }


/* ==========================================================================
   Media Queries
   ========================================================================== */


@media (max-width: 979px) {
   .navbar { text-align:left; }
   /* header */
   body.top-navbar { padding-top: 0; }
   /* nav */
   .dropdown-submenu > a::after { display: none; }
   /* contact page */
   #mapcolumn iframe{ width: 100%; height: 300px; }
}

@media (max-width: 979px) and (min-width: 768px) {
  .root-below-header-nav .navbar .container, .root-sidebar-nav .navbar .container  { width: 724px; }
}

@media (max-width: 767px) {
   /* header */
   #root_logo_toparea {text-align: center;}
   #root_toparea { text-align: center; }
   #root_address, #content-info { text-align: center; }
   #root_top_container, #root_top_container .address { text-align: center; }
   #root-slider #root-slide-texts {width: inherit;}

   .root-below-header-nav .navbar .container, .root-sidebar-nav .navbar .container { width: auto; }
   .root-below-header-nav .navbar-inner, .root-sidebar-nav .navbar-inner { padding: 0 5px; }
   .root-below-header-nav #root_logo_toparea, .root-sidebar-nav #root_logo_toparea{ padding-top: 0;}
   .root-sidebar-nav #banner { display:block;}
   /* content */
   #main.pull-right, #sidebar.pull-left { float:none; }
   /* sidebar Nav */
   .dropdown-menu {float: none; position: static; margin:0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; padding: 0; border: 1px solid #ddd;}
   .root-sidebar-nav .nav-tabs .dropdown-menu { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
}

@media(max-width:480px) {
   .gallery .gallery-item { float:none; width: 100%!important; margin-left: 0;}
}

/* ==========================================================================
   WordPress Generated Classes
   See: http://codex.wordpress.org/CSS#WordPress_Generated_Classes
   ========================================================================== */

.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; }
.alignright { float: right; }
figure.alignnone { margin-left: 0; margin-right: 0; }