/*
 * Main underscore_resp stylesheet
 * Copyright 2013-2015 IndieMade LLC. All rights reserved.
 */

/** body **/
body { margin: 0; padding: 0 0 20px 0; }
#site-name { font-size: 2em; line-height: 1.3em; font-weight: bold; text-align: center;}
#site-name a:link, #site-name a:visited { color: #456771; text-decoration: none; }
#site-slogan { font-size: 1.5em; line-height: 1.444em; font-weight: normal; text-align: center; font-style: italic; color: #456771; }
#header-logo { width: 100%; }
#header-logo img { display: block; margin: 0 auto; }

/* -- header blocks -- */
#block-imsite-social_web { float: right; margin: 0; }
#block-imsite-social_web a img { padding: 3px 10px 0 0; }
#block-imsite-cart { float: right; margin: 0; padding: 0; }
#block-imsite-cart a { text-decoration: none; border: none; }
#block-imsite-cart #cart { padding-top: 10px; }
#header-blocks { font-size: 1.5em; line-height: 1.444em;
    font-weight: normal; margin: 0; font-style: italic; color: #000; }

h1.title { border-bottom: 1px solid #CCCCCC; margin-top: -10px; padding-bottom: 10px; }
h2.title,
h3.title { margin: 0; }
h2.teasertitle { margin: 5px 0 5px 0; font-size: 1.25em; }

.pager { clear: both; text-align: center; font-size: 1.25em;}
.sidebar-first .pager { font-size: 1em; text-align: left; }
.item-list .pager li { margin: 1em 0; }
.feed-icons { margin: 1em 0; }

input#edit-search-theme-form-1 { width: 116px; padding: 2px; }
.marker { color: #c00; }

.node .submitted,
.comment .submitted { font-style: italic; margin-top: 5px; margin-bottom: 12px; }
.node .submitted a,
.comment .submitted a { border: none; }
#content img { height: auto !important; }

.node .terms { font-size: .92em; line-height: 1.636em; 
    font-weight: bold; margin: 0 0 0 0; padding: 10px 0 0 0; text-transform: uppercase; }
.node .terms a { border: none; }
.node div.links {margin: 1em 0; }
.front .node {margin-bottom: inherit; }

ul.links { margin: 0; padding: 0;}
ul.links.inline { display: inline; }
ul.links li { display: inline; list-style-type: none; padding: 0 12px 0 0; }
#comments { margin: 22px 0; }
form#comment-form { margin-bottom: 30px; }
.comment { margin-bottom: 22px; }
.new { color: #c00; font-size: .59em; line-height: 1.5em; font-weight: bold; margin: 0 0 16px 0; }
.comment div.links { margin: 1em 0; }
.comment div.links a { border: none; }
.indented { margin-left: 22px;}
.more-link { text-align: right; }

#user-login-form { text-align: left; }

tr.even, tr.odd { border-bottom: none; padding: 0; }
li a.active { color: #000; }

input { cursor: pointer; }
.form-item,
.form-checkboxes,
.form-radios { margin: 1em 0; }
.form-item input.error,
.form-item textarea.error,
.form-item select.error { border: 2px solid #c00; }
.form-item label { display: block;font-weight: bold; }
.form-item label.option { display: inline; font-weight: normal; }
.form-required { color: #c00; }
.form-item .description { font-size: 0.85em;}
.form-checkboxes .form-item,
.form-radios .form-item { margin: 0.4em 0; }
.container-inline div, .container-inline label { display: inline; }
.tips { margin: 0; padding: 0;font-size: 0.9em; }

html.js .resizable-textarea textarea { display:block; font-size:1em; margin-bottom:0;width:100%; }
.compact-link { margin-bottom: 1em; }
.field-item { margin: 0 0 1em 0; }
td.checkbox, th.checkbox { text-align: left; }
.option { padding: 2px 0 2px 0; }

.region-navigation {
  position: relative;
}
.region-navigation #block-search-0 {
  float: right;
  position: absolute;
  top: 13px;
  right: 0;

  width: 219px;
}
.region-navigation #block-search-0 .form-text {
  width: 123px;
}
@media (max-width: 780px) {

  .region-navigation #block-search-0 {
    float: none;
    position: static;
  }
}

/* -- footer -- */
#block-imsite-footer { margin-bottom: 0; }
#footer { color: #666; line-height: 2em; }
#footer a { color: #000;}
#footer-right { text-align: right;}
#footer-right #adminpagelinks span { padding-left: 10px; }
#footer-navbar { width: 100%; display: table; border-bottom: 1px solid #bababa; border-top: 1px solid #bababa; margin-bottom: 1em;}
#footer-navbar li { float: left; }
#footer-navbar a { padding: 0 18px 0 20px; text-decoration: none; display: block; border-left: 1px solid #bababa;
    margin-top: 16px; font-size: 14px;}
#footer-navbar li:first-child a { border-left: none; padding-left: 0;}
#footer-navbar li a:hover { color: #75af10; }

/* ---- Images Grid -----*/
div.node-images-grid ul { margin: 0 0 0 -2%; padding: 0; list-style: none; }
div.node-images-grid li { width: 22%; padding: 0; margin: 0 0 3% 3%; float: left; list-style-type: none; display: block; }
div.node-images-grid li div.image { overflow: hidden; }
div.node-images-grid li div.image img {	display: block; margin: 0; vertical-align:top; }
div.node-images-grid li div.title {	padding: 5px 0 5px 0;}
div#catalog div.product div.sell-price { float: left; margin-right: 5px; text-decoration: line-through; }
div#catalog div.product div.price {	font-weight: bold; }
div#catalog div.product div.sell-price + div.price::before { content: "Sale: "; }

/* Category view */
.view-id-category_front_page .views-row {
  float: left;

  margin: 0 3% 3% 0;
  width: 31%;
}
.view-id-category_front_page .views-row:nth-child(3n) {
  margin-right: 0;
}
.view-id-category_front_page .views-field-tid-1 {
  display: none;
}
.view-id-category_front_page .field-content a {
  display: block;
  padding-bottom: 5px;

  font-size: 16px;
  text-align: center;
}
.view-id-category_front_page .field-content img {
  margin-bottom: 5px;
}

/* ---- Product -----*/
.node-type-product #primarydetails { width:465px; float:left; }
.node-type-product .primarydetails-noimage .slideshow-container { min-height: 360px; }
.node-type-product #page #primaryimage { position: relative;}
.node-type-product #page #primaryimage img { position: absolute; top: 0; left: 0; width: 465px; }

.node-type-product #secondarydetails #details {
  float: left;

  padding-left: 20px;
  width: 250px;
}
.no-sidebars.node-type-product #secondarydetails #details {
  width: 450px;
}
.node-type-product .move #primarydetails {
  padding-right: 20px;
}
.node-type-product .move #secondarydetails #details {
  clear: both;
  float: none;

  padding-left: 0;
  width: auto;
}
.node-type-product #secondarydetails #buy {
  float: left;

  padding: 0 0 40px 20px;
  width: 260px;
}
.node-type-product .move #secondarydetails #buy {
  padding-left: 0;
}
.no-sidebars.node-type-product #secondarydetails #buy {
  width: 450px;
}
.node-type-product #secondarydetails .stock {
  padding-top: 2px;

  color: #2c9ad9;
  font-size: 20px;
  line-height: 1.2;
}
.node-type-product #secondarydetails .sell-price { float: left; margin-right: 5px; padding-top: 2px; font-size: 20px; line-height: 1.2; text-decoration: line-through; }
.node-type-product #secondarydetails .price { font-size: 20px; line-height: 1.2; padding-top: 2px;}
.node-type-product #secondarydetails .sell-price + .price::before { content: "Sale: "; }
.node-type-product #secondarydetails .form-submit { margin-top: 7px; }
.node-type-product .add-to-cart table {
  max-width: 263px;
}
.node-type-product .add-to-cart .indiemade-attribute > .form-item > label { font-size: 1.5em; font-weight: normal; }
.node-type-product .add-to-cart .indiemade-attribute input[type='text'] { width: 90%;}
.node-type-product .add-to-cart .attributes .description { font-size: 0.8em; font-style: italic;}
.node-type-product .add-to-cart .attributes .form-select, .node-type-product .add-to-cart .attributes .form-text { margin-top: 10px;}
.node-type-product #slideshow-controls { font-size: 1em; padding-top: 10px; padding-bottom: 10px; }
.product.node .gallery { display: block; position: relative; }
.product.node #active-image .zoom-in { position: absolute; right: 0.25em; bottom: 0.25em; z-index: 20; }
.node-type-product #reviews,
.node-type-product #review-form {
  clear: both;

  padding-top: 1em;
}


div#block-imsite-store_sections .catalog .trail { font-weight: normal; }
div#block-imsite-store_sections .catalog.menu { margin-left: -5px; }
div#block-imsite-store_sections .catalog li.expanded { padding-left: 5px; }

/* --- news ------*/
div#news-item-list ul {	list-style: none; padding-left: 0; }
div#news-item-list li.news-item { float: left; width: 45%; padding-bottom: 10px;}
div#news-item-list li.even { clear: both; margin-right: 20px;}

.node-type-story div#newsimage { width: 465px; float: left;}
.node-type-story div#newsdetail { width: 250px; padding-left: 20px; float: left;}

/* ---- events ----*/
div.calendar-calendar ul.links { padding-bottom: 10px; }
.node-type-event .node .terms .links {color:#89C8D3}
.node-type-event .node .field-type-datetime div {display:inline;}
.node-type-event .node .field-type-datetime .field-label {font-weight:normal;}

/* ------- galleries -------*/
div#galleries div.gallery-cover-view { font-size: 12px; }
.noscript {	display: none; }

div.node-type-node-gallery-gallery div.submitted { display: none; }

.node_gallery_image #image { float: left; width: 465px; }
.node_gallery_image #image-container img { margin: 0 auto; float: none;}
.node_gallery_image img.imagecache { float: left; display: block; vertical-align: top;}
.node_gallery_image #image .nav { clear: both; float: left; padding-top: 10px;}
.node_gallery_image #image .nav ul { list-style:none; border: 0; padding: 0; display:inline;}
.node_gallery_image #image .nav ul li { margin: 0; padding: 0; display:inline;}
.node_gallery_image #image .nav ul li a { font-size:0.8em; }
.node_gallery_image #lightbox-links { float: right; padding-top: 14px; font-size: 0.8em; }
.node_gallery_image #lightbox-links #lightbox-link { border: none;}

.node_gallery_image #image-container { display: block; position: relative; }
.node_gallery_image #mag-glass { position: absolute; right: 0.25em; bottom: 0.25em; z-index: 20; }

.node_gallery_image #about { clear: both; padding-top: 10px; }
.node_gallery_image #imagedetail { padding: 20px 0 20px 0; }

.node_gallery_image #thumbpager { width: 275px; float: left; padding-left: 5px;}
.node_gallery_image #thumbpager .thumbs ul {margin: 0; padding: 0; list-style:none;}
.node_gallery_image #thumbpager .thumbs ul li { float: left; margin: 0; padding: 0 0 20px 18px; list-style: none; overflow: hidden; display: block;}
.node_gallery_image #thumbpager .thumbs ul li img { display: block; }
.node_gallery_image #thumbpager .thumbs ul li.active img { opacity:0.4; }
.node_gallery_image #thumbpager .thumbs-nav { clear: both; position: absolute; top: 472px;}
.node_gallery_image #thumbpager .thumbs-nav div { display: inline; }
.node_gallery_image #thumbpager .thumbs-nav div.prev-page { position: absolute; left: 0; }
.node_gallery_image #thumbpager .thumbs-nav div.next-page { position: absolute; left: 170px; }

/* ----- blog ----- */
.node-type-blog { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #cccccc;}
.node-type-blog h1 { margin-bottom: 0; }
.node-type-blog .submitted { margin-top: 5px; margin-bottom: 12px; }
.node-type-blog .option { clear: both; }
.node-type-blog-page { border-bottom: none;}
.node-type-blog-page .content { padding-bottom: 20px;}
.page-blog #content-header {display:none;}
#sidebar-first .block-views .view-id-blog_entry_list .views-row {
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
}
#sidebar-first .block-views .view-id-blog_entry_list .views-row.views-row-first {
  padding-top: 0;
}
#sidebar-first .block-views .view-id-blog_entry_list .views-row.views-row-last {
  border-bottom: 0;
}

/* --- comments -----*/
div.comment { padding: 10px; }
div.comment div.submitted { font-size: 10px; padding-bottom: 4px; }
div.comment { border: 1px solid #cccccc; margin-bottom: 10px; }
div.comment li.comment_edit { text-transform: capitalize; padding-left: 20px; background: url('/sites/all/files/icons/comment_edit.png') left center no-repeat; }
div.comment li.comment_reply { text-transform: capitalize; padding-left: 20px; background: url('/sites/all/files/icons/comment_add.png') left center no-repeat; }
div.comment li.comment_delete { text-transform: capitalize; padding-left: 20px; background: url('/sites/all/files/icons/comment_delete.png') left center no-repeat; }
div.comment li.antispam_comment_spam { padding-left: 20px; background: url('/sites/all/files/icons/flag_red.png') left center no-repeat; }
div.comment li.antispam_comment_ham { padding-left: 20px; background: url('/sites/all/files/icons/flag_green.png') left center no-repeat; }

/* ---- cart and checkout ---- */
#cart-form-products { border: none; }
#cart-form-products td { background-color: #FFFFFF;	border: none; padding-top: 5px; padding-bottom: 5px; }
#cart-form-products td.desc a { font-weight: bold; }
#cart-form-products th { border: none; }
#cart-form-products ul.product-description { padding-left: 30px; }
#cart-form-buttons { border: none; }
#cart-pane td { background: #FFFFFF; border: none; }
#cart-pane table.cart-review td.products ul { padding-left: 30px; }
#checkout-form-bottom { border: none; }
body.page-cart-checkout fieldset#quotes-pane .description,
body.page-cart-checkout fieldset#quotes-pane .form-submit {
  display: none;
}
body.page-cart-checkout fieldset#quotes-pane.usps-enabled .description,
body.page-cart-checkout fieldset#quotes-pane.usps-enabled .form-submit {
  display: block;
}
.cart-review { border: none; }
.order-review-table { border: none; }
.order-review-table .pane-title-row { border: none; background: none; font-size: 1.2em; }
.order-review-table .pane-title-row td { padding-top: 15px; font-style: italic; }
.order-review-table td { background: none; padding: 5px; }
.order-review-table .review-button-row { background:  none; border:  none; }
.order-review-table .row-border-top { border-top: none; }
.order-review-table .row-border-bottom { border-bottom: none; }
.order-review-table tr.even, .order-review-table tr.odd { background: none; border: none; }