/*
WOO CUSTOM STYLESHEET
---------------------

Instructions:

Add your custom styles in this file instead of style.css so it
is easier to update the theme. Simply copy an existing style
from style.css to this file, and modify it to your liking. */


/* GLOBAL STYLES
----------------
Add styles beneath this line that you want to be applied across your entire site */




/* DESKTOP STYLES
-----------------
Add styles inside the media query below that you only want to be applied to the desktop layout of your site */
@media only screen and (min-width: 768px) {
	/* Desktop styles go below this line */
  ul.nav{ margin: 0px; }
  ul.nav li a{ padding:10px 20px !important;}
}
@media only screen{
  ul.nav{ margin: 0px; }
  ul.nav li a{ padding:10px 18px !important;}
  ul.nav li:last-child{ margin-right: 0px !important;}
  #main-nav{ display: table; float: none; margin: auto; width: auto;}
  /*
   * Globals
   */

  /* Links */
  html,
  body {
    height: 100%;
  }
  body {
    color: #000;
    font-family: "Open Sans" !important;
  }
  p{font-size: 90%; margin-bottom: 10px !important;}
  .entry img, img.thumbnail, #portfolio .group.portfolio-img img{ border: 0px;}
  a:hover{ text-decoration: none;}
  .navbar-toggle{ margin-right: 0px;}
  .navbar-toggle .icon-bar{ background-color: #FFF;}
  #header{
  -webkit-box-shadow: 0px 5px 3px 0px rgba(50, 50, 50, 0.7);
  -moz-box-shadow:    0px 5px 3px 0px rgba(50, 50, 50, 0.7);
  box-shadow:         0px 5px 3px 0px rgba(50, 50, 50, 0.7);
  position: relative; z-index: 1
  }
  #header .container .row:first-child{ margin-top: 20px;}
  #logo{ float: none;}
  ul.masthead-nav li a{ padding: 0 10px !important; }
  .content-wrap{
    background: url(/wordpress/wp-content/uploads/Small_web_home_BKGpsd.jpg) top center no-repeat;
    background-size: cover;
    /*background: url(/wordpress/wp-content/uploads/Small_web_home_BKGpsd.jpg) 0px 0px no-repeat;
    background-size: 100% 779px;*/
  }
  .content-wrap .container{
    padding-top: 90px;
  }
  .glossy-container{
    -webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.7);
    -moz-box-shadow:    0px 5px 5px 0px rgba(50, 50, 50, 0.7);
    box-shadow:         0px 5px 5px 0px rgba(50, 50, 50, 0.7);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    margin: 0px -15px 40px;
  }
  .sidebar{ border: 10px #dab38a solid; background-color: #f1e1cd; padding: 15px; margin-top: -142px; border-top-width: 15px;
  position: relative;z-index: 2; margin-bottom: 10px;
  }
  .sidebar-btn{ color: #FFFFFF; display: block; padding: 8px 0; text-align: center; font-weight: bold;}
  .sidebar-btn:hover{ color: #FFF;}
  .sidebar .img-wrap{ width: 100%; padding-right: 10px 0px; padding-bottom: 10px;}
  .sidebar .img-placeholder{ text-align: center; background-color: #FFF; padding: 20px 0px; margin-bottom: 20px;}
  .sidebar .img-placeholder .img-wrap + a{ text-transform: uppercase; color: #000; border-bottom: 1px solid #666; }

  .main-content h1{ color: #004b8d; font-size: 24px; font-weight: normal; margin: 20px 0px 10px;}
  .main-content article{ padding: 0px 0px 10px 0px; border-bottom: #231f20 solid 1px; margin-bottom: 20px;}
  .main-content .home-about article{border: 0px; }
  .main-content article:last-child{ margin-bottom: 0px;}
  .main-content article a{ font-weight: bold; color: #231f20;}
  .main-content article p{ color: #231f20;}
  .slideshow{ margin-bottom: 20px;}
  .slideshow img{ max-width: 100%;}
  .home-about{
      background: url("img/home-about.png") no-repeat scroll -19px 0 #848689;
      border-radius: 53% 50% 0 0 / 30% 12% 0 0;
      color: #FFFFFF !important;
      padding-left: 235px;
      padding: 10px 0 10px 235px;
      width: 115%; margin-left: -25px;
      background-size: contain;
  }
  .home-about h2{ color: #FFF !important; margin: 20px 0px 10px !important;}
  .home-about p{font-size: 12px; width: 90%; color: #FFFFFF !important;}
  .home-about a{ color: #FFF !important; text-decoration: underline;}
  .purchase, .purchase:link, .purchase:visited{ background-color: #4A6EA7; border-radius: 4px; color: #FFFFFF; display: table; margin: auto auto; padding: 7px 20px; width: auto;
    font-size: 18px; font-weight: bold; border: 0px; 
  }
  .purchase:hover,
  .purchase:focus{ color: #FFF !important;}
  .purchase.large{ padding: 20px;}
  .purchase.cart{ display: inline; padding: 10px 20px; background-color: #A6610C; }
  .sidebar a.purchase{ margin-bottom: -34px;}
  .purchase.large{ background-color: #A6610C; bottom: -47px; font-size: 34px; font-weight: normal; position: relative;}
  #footer{ margin-bottom: 10px; border-top: 0px !important; padding: 0px !important;}
  #footer .container{ padding: 20px 15px; }
  #footer p{ font-size: 12px;}
  #footer h2{ color: #8c6239; font-weight: normal; font-size: 18px; margin-bottom: 10px;}
  .follow{ margin: 0px 0px 10px; padding: 0px;}
  .follow li{ list-style: none; float: left; margin-right: 10px;}
  .follow li:last-child{ margin-right: 0px;}
  .follow a{ background: url(img/follow.png) 0px 0px no-repeat; width: 35px; height: 35px; display: block; text-indent: -9000px;}
  .follow a.tw{ background-position: 0px 0px;}
  .follow a.fb{ background-position: 0 -35px;}
  a.read-chapter{ color: #000000;
      font-weight: bold;
      position: relative;
      text-transform: uppercase;
      top: -15px;}
  /* ribbon style */

   .ribbon-wrapper {
    position: relative;
    margin-top: 0px;
    margin-bottom: 15px;
    cursor: pointer;
  }
  .ribbon-front {
    background-color: #004b8d;  height: 40px;
    width: 140%;
    position: relative;
    left:-45px;
    z-index: 2;
    -webkit-box-shadow: inset 0px 4px 3px -2px rgba(255, 255, 255, 0.5);
    -moz-box-shadow:    inset 0px 4px 3px -2px rgba(255, 255, 255, 0.5);
    box-shadow:         inset 0px 4px 3px -2px rgba(255, 255, 255, 0.5);
  }

  .ribbon-front,
  .ribbon-back-left,
  .ribbon-back-right{
    -moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
    -khtml-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
    -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
    -o-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  }

  .ribbon-edge-topleft,
  .ribbon-edge-topright,
  .ribbon-edge-bottomleft,
  .ribbon-edge-bottomright {
    position: absolute;
    z-index: 1;
    border-style:solid;
    height:0px;
    width:0px;
  }

  .ribbon-edge-topleft,
  .ribbon-edge-topright {
  }

  .ribbon-edge-bottomleft,
  .ribbon-edge-bottomright {
    top: 40px;
  }

  .ribbon-edge-topleft,
  .ribbon-edge-bottomleft {
    left: -45px;
    border-color: transparent #024581 transparent transparent;
  }

  .ribbon-edge-topleft {
    bottom: -10px;
    border-width: 0px 20px 10px 0;
  }
  .ribbon-edge-bottomleft {
    border-width: 0 20px 0px 0;
  }

  .ribbon-edge-topright,
  .ribbon-edge-bottomright {
    right: -45px;
    border-color: transparent transparent transparent #024581;
  }

  .ribbon-edge-topright {
    bottom: -10px;
    border-width: 0px 0 10px 20px;
  }
  .ribbon-edge-bottomright {
    border-width: 0 0 0px 20px;
  }

  .ribbon-back-left {
    position: absolute;
    bottom: -10px;
    left: 0px;
    width: 0px;
    height: 40px;
    z-index: 0;
  }

  .ribbon-back-right {
    position: absolute;
    bottom: -10px;
    right: 0px;
    width: 0px;
    height: 40px;
    z-index: 0;
  }

  .masthead-brand {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .masthead-brand img{ max-width: 100%;}
  .masthead-nav{ float: right;}
  .masthead-nav > li {
    display: inline-block;
    padding-right: 0px; margin: 0px;
    border-right: 2px solid #FFF;
  }
  .masthead-nav > li > a {
    padding: 0px 10px;
    font-size: 16px;
    color: #fff;
  }
  .masthead-nav > li:last-child {
    border: 0px;
  }
  .masthead-nav > li > a:hover,
  .masthead-nav > li > a:focus {
    background-color: transparent;
    border-bottom-color: rgba(255,255,255,.25);
  }
  .masthead-nav > .active > a,
  .masthead-nav > .active > a:hover,
  .masthead-nav > .active > a:focus {
    color: #fff;
    border-bottom-color: #fff;
  }
  .topnav{ display: table; float: none; margin: auto; width: auto;}
  .topnav li{ margin-right: 15px;}
  .topnav li:last-child{ margin-right: 0px;}
  .topnav li a,
  .topnav li a:focus,
  .topnav li a:hover { font-size: 18px; color: #FFF; }
  .topnav li a:hover{ background-color: #02457f; }
  .topnav li.current_page_item a{ background-color:#02457f !important; color: #FFF !important; }
  ul.nav li.current_page_item a, ul.nav li.current_page_parent a, ul.nav li.current-menu-ancestor a, ul.nav li.current-cat a, ul.nav li.current-menu-item a {
  background-color: rgba(255,255,255,0.1) !important;
  color: #FFF;
  }
  .content-box{ background-color: #FFF; padding: 20px; border-bottom: solid 2px #a6610c; overflow: hidden; }
  .content-box h1, .single-product .content-box h1{ font-size: 53px; text-align: center; line-height: 60px;}
  .content-box h2, .single-product .content-box h2{ font-size: 40px; text-align: center; font-style: italic; line-height: 60px;}
  .prod-pic{margin: 20px 40px 0px; float: left;}
  .price strong{ font-size: 16px;}
  .price-grid{ margin: 7px 0 0 0; padding: 0; width: 230px; float: left;}
  .price-grid li{ float: left; width: 80px; font-weight: bold; list-style: none;}
  .testimonial{}

  .content-page h1.title,
  .content-page h1.page-title,
  .content-page h1.product_title,
  body.post-type-archive-product .content-page h1.page-title,
  .content-page h1.archive_header{ color: #004B8D; text-align: left; font-size: 32px; font-weight: bold; margin-top: 0px; }
  .content-page h2{  font-size: 26px; font-weight: normal; line-height: normal; text-align: left; font-style: normal; margin: 20px 0px;}

  .content-page-image{bottom: -80px !important; position: relative !important; width: auto !important;}

  .woocommerce-tabs ul.tabs{ display: none;}
  .woocommerce .woocommerce_tabs, .woocommerce .woocommerce-tabs{ margin: 0px !important; border: 0px !important;}
  .testimonial h2{font-size: 28px !important; font-weight: normal !important; margin: 0px; }
  .woocommerce #tab-description ul li{ list-style: none !important;}
  .woocommerce #tab-description ol, .woocommerce #tab-description ul{
    margin: 0px !important;
    padding: 0px !important;
  }
  #tab-reviews{display: none}
  .cart-price{float: left; margin: 10px 0; width: 100%;}
  .other-books{ border-bottom: 2px solid #A6610C; margin-bottom: 20px;}
  .other-books a{
    background-color: #A6610C; color: #FFFFFF; 
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 7px 10px; width: 180px;
    font-size: 18px; font-weight: normal; border: 0px; line-height: normal;
    text-align: center;;
  }
  .shop-footer h2{font-size: 32px !important;
      font-weight: normal !important;
      margin: 0; color: #A6610C; text-align: center; margin: 20px 10px}
  .shop-footer p{ padding: 0px 40px;}
  .glossy-container + #footer{margin-left: -15px;}
  .purchase.header{ 
	  bottom: 40px;
      font-weight: normal;
      padding: 10px 50px;
      position: relative; 
	  display: none;
	}
  body.post-type-archive-product .purchase.header,
  body.tax-product_cat .purchase.header,
  body.single-product .purchase.header
  { display: inline-block; }
  
.sidebar a.purchase{display:none;}

  .upsell ul.products li.product {margin-right: 2.8%;}
  .woocommerce .images { width: 34.5% !important;}
  .woocommerce .summary { width: 61% !important; }

  #post-author, #connect{ display: none;}
  /*.inner .glossy-container{
    background: #FFF;
    border: 20px solid rgba(255, 255, 255, .5);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  */
  /*
   * Responsive
   */
  .nav-toggle{ display: none;}
  ul.nav li a{ color: #FFF !important;}
  #searchsubmit{padding: 9px;}
}

@media (min-width: 1200px){
  .container{
    width: 950px;
  }
}
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
  .masthead-nav li{margin-top: 10px; float: none; display: block; border: 0px;}
  .home-about{
    border-radius: 0px 0px 0px 0px;
    color: #FFFFFF !important;
    padding-left: 10px 10px 10px 20%;
    width: 100%; margin-left: 0px;
  }
  .topnav{ display: block; margin-top: 4px;}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
  .nav-home{ display: none;}
  .masthead-nav li{margin-top: 10px; float: none;}
  .home-about{
    background-image: none;
    border-radius: 0px 0px 0px 0px;
    color: #FFFFFF;
    padding-left: 0px;
    padding: 10px;
    width: 100%; margin-left: 0px;
  }
  .topnav{ display: block; margin-top: 4px;}
  .topnav ul{margin-top: 10px; float: none;}
  .topnav ul li{ border-right: 0px;}
  .home-sidebar{ left: -20px;}

  #header .container .row:first-child{ margin-top: 0px;}
  .top-nav,.top-nav-primary{ margin-bottom: 10px !important; margin-left: 10px; float: none;}
  .content-wrap .container{padding-top: 0px}
  #main-nav{ display: block; margin-top: 5px;}
  .topM{ overflow: hidden; padding-bottom: 10px;}
  #logo{ margin-top: 10px;}
  .sidebar{ margin-top: 0px;}
}
 
/* Landscape phones and down */
@media (max-width: 480px) { 
  .nav-home{ display: none;}
  .home-about{
    background-image: none;
    border-radius: 0px 0px 0px 0px;
    color: #FFFFFF !important;
    padding-left: 0px;
    padding: 10px;
    width: 100%; margin-left: 0px;
  }
  .topnav{ display: block; margin-top: 4px;}
  .prod-pic{float: none; margin: 20px; float: none;}
  .testimonial{margin-left: 0px;}
  #site-header{ padding-bottom: 10px;}
  /*#logo{ padding-bottom: 16px;}*/
  #header .container .row:first-child{ margin-top: 0px;}
  .top-nav, .top-nav-primary{ margin-bottom: 10px !important; margin-left: 10px; float: none;}
  .content-wrap .container{padding-top: 0px}
  #main-nav{ display: block; margin-top: 5px;}
  .topM{ overflow: hidden; padding-bottom: 10px;}
  #logo{ margin-top: 10px;}
  .sidebar{ margin-top: 0px;}
}

.rslides_nav{ background-color: transparent !important; }

/*manual popup*/

/* Overlay */
#site-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 9998;
	display: none;
}

/* Modal */
#site-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	max-width: 500px;
	width: 90%;
	padding: 30px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	display: none;
	border-radius: 6px;
}



.site-modal-content {
    font-size:16px;
    line-height:1.2;
}

.site-modal-content h2 {
    margin: 0 auto 20px auto;
    text-align:center;
}

/* Close button */
#site-modal-close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 28px;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
}

/* Optional fade-in */
#site-modal.show,
#site-modal-overlay.show {
	display: block;
	animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: translate(-50%, -48%);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}