/*
Theme Name:     J Marchini Farms
Theme URI:      http://www.jmarchinifarms.com
Description:    Custom theme for J Marchini Farms
Author:         Moxxy Marketing
Author URI:     http://www.getmoxxy.com
Template:       Aggregate 
*/

/*
dark grey (nav) 4D4D4D
dark tan (current nav) B9AF9D
grey text 373737
tan C7BDAE
green 475c2e
blue 3C91C5
light tan AFA59F

font-family: "Montserrat",Arial,sans-serif !important;
font-family: 'Arapey', serif;
*/

@import url("../Aggregate/style.css");
@import url(http://fonts.googleapis.com/css?family=Arapey:400,400italic);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

body {
  text-shadow: none;
  background: #DEDAD0;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 33px !important;
}
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0;
}
p {
  padding-bottom: 20px;
}
.entry.post > p {
  line-height: 32px;
}
.hidden {
  display: none
}
/*_____ header _____*/

#logo-area > a {
  position: relative;
  z-index: 100;
}
#logo-area {
  padding-bottom: 0;
  padding-top: 28px;
  padding-bottom: 16px;
}
#top-header {
  border: none;
  background: #F6F4ED url(images/header-gradient.png) repeat-x;
}
#top-header .container {
  min-height: auto;
}
/*_____ navigation _____*/

ul#top-menu li.menu-gradient {
  background: none;
}
ul#top-menu {
  margin-top: -88px;
  width: 100% !important;
}
ul#top-menu li {
  background: none;
  margin-right: 40px;
}
ul#top-menu li:last-child {
  margin-right: 0;
}
ul#top-menu a {
  text-shadow: none;
  font-weight: normal;
  font-size: 18px;
  color: #4d4d4d;
}
ul#top-menu a:hover {
  color: #3c91c5;
}
ul#top-menu > li.current_page_item > a {
  border-bottom: solid 9px #B9AF9D;
  color: #4D4D4D !important;
  padding-bottom: 43px;
}
.lspace {
  margin-left: 332px;
}
ul#top-menu ul li {
  background: #C7BDAE;
}
ul#top-menu ul li a, #mobile_menu a {
  font-size: 14px;
  line-height: 14px;
}
.sf-sub-indicator {
  display: none;
}
.prev-post {
  float: left
}
.next-post {
  float: right
}
.pagination a,  .prev-post a,  .next-post a {
  background: #475c2e;
  color: #FFF;
  text-transform: uppercase;
  padding: 6px 24px;
}

/*_____ slider _____*/
div[id^='zoominoutParent'] {
  margin: 0 auto;
}
.magic_slider.bullets .bottomNav {
  margin-top: -13px !important;
  width: auto !important;
}
.magic_slider.bullets .bottomNavButtonOFF {
  background: url(images/slider-bullet.png) no-repeat !important;
  height: 38px !important;
  width: 38px !important;
  padding-left: 15px !important;
}
.magic_slider.bullets .bottomNavButtonON {
  background: url(images/slider-bullet-current.png) no-repeat !important;
  height: 38px !important;
  width: 38px !important;
  padding-left: 15px !important;
}
.page-banner {
  margin-bottom: 1em
}

/*_____ main _____*/
.container {
  width: 1000px;
}
#content {
  border: none;
  border-radius: 0;
  padding-bottom: 40px;
  margin-bottom: 0;
}
#content-area {
  background: url(images/bg-repeater.png) repeat-y;
  border-bottom: none;
  background-position: center center;
  min-height: 400px;
}
#entries {
  background: none;
  padding: 0;
}
h1.title {
  font-size: 48px;
  color: #475c2e;
  text-shadow: none;
}
#breadcrumbs {
  display: none;
}

/*_____ footer _____*/
#footer {
  background: #DEDAD0;
  margin-bottom: 100px;
}
#footer-widgets h4, #footer h4.widgettitle, #footer-widgets h4 a {
  color: #475c2e;
  font-size: 14px;
  text-shadow: none;
  text-transform: uppercase;
}
.footer-widget {
  margin-right: 20px;
  width: 180px;
}
#footer-widgets h4 a {
  font-size: 16px;
  font-weight: bold;
}
#footer-widgets h4 a:hover {
  color: #afa59f;
}
.footer-widget p {
  color: #373737;
  text-shadow: none;
}
#custom_post_widget-2 {
  margin-right: 20px;
}
#custom_post_widget-5 {
  border-left: solid 1px #475c2e;
  padding-left: 40px;
}
.footer-widget ul li {
  background: none;
  padding: 0;
  line-height: 24px;
}
.footer-widget a {
  color: #4d4d4d;
  text-shadow: none;
}
#custom_post_widget-5 {
  width: 150px;
}
#custom_post_widget-6 {
  width: 388px;
  position: relative;
  z-index: 100;
}
#custom_post_widget-6 .attachment-post-thumbnail.wp-post-image {
  bottom: -240px;
  left: -12px;
  position: absolute;
  z-index: -100;
  width: 542px;
  height: 294px;
}

/*_____ footer banner _____*/
#FootBanner {
  background: transparent none no-repeat scroll 50% top / cover;
  height: 346px;
  position: relative;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.33)
}
#FootBanner span {
  bottom: 7%;
  color: #fff;
  display: block;
  font-size: 5.75em;
  font-style: italic !important;
  line-height: 1em;
  position: absolute;
  text-align: center;
  text-shadow: 5px 5px 5px rgba(0,0,0,0.33);
  width: 100%;
  font-style: inherit;
}
/*_____ homepage _____*/

.page-port {
  background: #FFF none repeat scroll 0 0 / cover;
  display: inline-block;
  height: 330px;
  width: 48.9%;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.33);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}
.page-port:hover {
  box-shadow: none;
}
.page-port.first {
  margin-right: 1.6%;
}
.page-port .label,
a .page-port .label,
.page-port span.label {
  background-color: rgba(240, 240, 240, 0.85);
  bottom: 0;
  font-size:18px;
  line-height: 50px;
  padding: 0 22px;
  position: absolute;
  text-transform: uppercase;
  width: 100%;
  color: #475c2e
}
.page-port .label a {
  font-size: 18px;
  color: #475c2e
}
.home h3 {
  text-align: center;
  color: #475c2e;
  font-size: 47.9px;
  line-height: 38.38px;
  margin: 11px 0;
}
.home .row p {
  text-align: center;
  font-size: 16px;
  line-height: 33px !important;
}
.col-28 {
  width: 28.3%;
  float: left
}
.col-44 {
  float: left;
  padding: 0 32px;
  width: 36.9%;
}
.col-28, .col-44 {
  height: 390px;
  position: relative
}
.img-vert {
  background: none no-repeat scroll 50% 50% / cover;
  height: 100%;
  width: 100%;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.33);
}
.img-horiz {
  background: rgba(0, 0, 0, 0) none no-repeat scroll 50% 50% / cover;
  bottom: 0;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.33);
  height: 188px;
  position: absolute;
  width: calc(100% - 64px);
}
.shadow {
  box-shadow: 5px 5px 5px rgba(0,0,0,0.33);
}

/*_____ about us _____*/
#AboutUsPorts .page-port {
  width: calc(50% - 19px);
}
.page-port.odd {
  margin-right: 32px;
}

/*_____ product _____*/
.single-product h1 {
  font-size: 48px;
  color: #475c2e;
}
.single-product h3 {
  background-color: #475c2e;
  padding: 10px 8px;
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}
.prod-info,  .brief-history {
  font-size: 16px;
}
.prod-info p, .brief-history p {
  padding: 0 8px
}
.prod-info li p,  .prod-info li span {
  display: inline;
}
.prod-info li {
  margin-bottom: 30px;
  line-height: 33px;
}
.prod-info li span {
  color: #475c2e;
  font-size: 24px;
  margin-right:-6px; /** spacing after Product Information section labels **/
}
.single-product .wp-post-image {
  float: right;
  margin-bottom: 45px;
  /* margin-top: 45px; */
  padding: 0 40px 0 48px;
}
.entry-content p,  .brief-history p {
  line-height: 33px;
  font-size: 16px;
}
.single-product .entry-content:after,  .prod-info:after,  .prod-photos:after,  .single-product .type-product::after {
  clear: both;
  content: "";
  display: block;
}
.brands,  .prod-photos {
  clear: both;
  margin: 35px 0;
}
.prod-photos img {
  width: 100%;
  height: auto
}
.brands {
  border-top: 1px solid #475c2e;
  clear: both;
  margin-bottom: 0;
  padding: 40px 0 0;
}
.col {
  float: right;
  width: 49%;
  height: auto;
}
.col.left {
  float: left
}
a.dl {
  border: 1px solid #c6c267;
  padding: 8px 18px;
  color: #4d4d4d;
  text-decoration: none
}
a.dl:hover {
  background: #c6c267;
}
.col-one-1, .col-one-2, .col-one-3 {
  float: left;
}
.col-one-1 {
  text-align: center;
  width: 100%;
}
.col-one-2 {
  text-align: center;
  width: 50%;
}
.col-one-3 {
  text-align: center;
  width: 33%;
}

/*_____ blog _____*/
#sidebar {
  width: 260px;
  float: right;
}
.widget a.more, p.et_pt_blogmeta, .block-post p.meta-info, div.et_pt_thumb span.overlay {
  display: none !important;
}
div.et_pt_thumb {
  padding: 0 !important;
}
.block-post .thumb {
  display: none;
}
.widget .block-post .thumb span.overlay {
  background: none !important;
}
.block-post h3.title {
  text-shadow: none;
}
.block-post h3.title a {
  color: #4d4d4d;
}
h2.et_pt_title {
  font-size: 18px;
}
h2.et_pt_title a {
  color: #4d4d4d;
}
h2.et_pt_title a:hover, .block-post h3.title a:hover {
  color: #3C91C5 !important;
}
.block-post {
  margin-bottom: 15px;
}
.entry .thumb, .photostream .thumb {
  margin-right: 25px;
}
.post-edit-link {
  display: none;
}
.et_pt_thumb.alignleft > img,  .post-image {
  border-radius: 100px;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2);
}
.latest .thumb span.overlay, body.single .thumb span.overlay, body.page .thumb span.overlay {
  background: none !important;
}
.main-title {
  background: #475c2e;
  color: #f6f4ec;
  font-weight: normal;
  font-size: 16px !important;
  padding-bottom: 0;
  padding-left: 10px;
  text-align: left;
  text-shadow: none;
  text-transform: uppercase;
  height: 36px;
  line-height: 36px;
  padding-top: 2px;
}
.widget {
  padding: 30px 25px 30px 0px;
  width: 297px;
}
.et_pt_blogentry a.readmore {
  background: none !important;
  color: #4d4d4d;
  padding: 3px 6px;
  text-shadow: none !important;
  border: 1px solid #c6c267;
  padding-right: 7px !important;
  padding-bottom: 0 !important;
}
.et_pt_blogentry a.readmore:hover {
  background: #c6c267 !important;
}
.et_pt_blogentry a.readmore span {
  background: none !important;
  height: 27px;
  padding: 0 !important;
}
#wpgmza_map {
  margin: -20px 0 0 0 !important;
}

/*_____ social icons _____*/
.social {
  float: left;
}
.social a {
  height: 48px;
  width: 48px;
  display: inline-block;
  margin: 0 5px
}
.fb, .tw, .ig, .pi {
  background-image: url(images/marchini-social-sprite-20150828.png)
}
.fb {
  background-position: 0 0
}
.fb:hover {
  background-position: 0 -48px
}
.tw {
  background-position: -48px 0
}
.tw:hover {
  background-position: -48px -48px
}
.ig {
  background-position: -95px 0
}
.ig:hover {
  background-position: -95px -48px
}
.pi {
  background-position: -143px 0
}
.pi:hover {
  background-position: -143px -48px
}

/*_____ product crousel _____*/
.page-id-9 h1 {
  display: none
}
.page-id-9 h5 {
  color: #495c2f;
  text-align: center;
  padding-bottom: 12px;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-left: -8px
}
.page-id-9 .entry p {
  color: #70644e;
  font-size: 24px;
  font-weight: 100;
  line-height: 40px;
  margin: 0 40px 0;
}
.prod-carousel {
  width: 100%;
  margin-left: 20px;
  margin-bottom: 35px
}
.prod-carousel .prod {
  width: 200px;
  display: none;
}
.prod-carousel .prod a {
  background: #fff none no-repeat scroll center center / cover;
  border: 1px solid #cac4b4;
  border-radius: 80px;
  display: table-cell;
  height: 144px;
  letter-spacing: 0.5px;
  position: relative;
  vertical-align: middle;
  width: 144px;
}
.prod-carousel .prod span {
  color: #4e473d;
  /*font-size: 16px;*/

  font-size: 12px;
  margin-top: -8px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 50%;
  width: 100%;
  display: none;
  font-weight: bold;
}
.slick-slide img {
  display: block;
  margin: auto;
  max-height: 100px !important;
  max-width: 114px !important;
  vertical-align: middle;
  opacity: 1.0
}
.prod-carousel.thin .prod a img {
  opacity: 0.35
}
/** highlight current product page **/
.prod-carousel.thin .prod.cur-prod a img {
  opacity: 1.0
}
.prod-carousel.thin .prod a:hover img,  .prod-carousel .prod a:hover img {
  opacity: 0.35
}
.prod-carousel .prod a:hover span {
  display: block
}
.slick-arrow {
  background: transparent url("images/ico-carousel.png") no-repeat scroll 0 0;
  border: medium none;
  height: 30px;
  overflow: hidden;
  text-indent: 9999px;
  width: 35px;
  position: absolute;
  top: -37px;
  left: 50%;
  cursor: pointer;
}
.page-id-9 .slick-prev {
  margin-left: -116px;
}
.slick-prev {
  margin-left: -106px;
}
.slick-next {
  margin-left: 31px;
  background-position: -36px 0
}
.prod-carousel.thin .prod {
  width: 112px;
}
.prod-carousel.thin .prod a {
  width: 90px;
  height: 90px;
}
.prod-carousel.thin .prod span {
  font-size: 100%;
  line-height: 1
}
.prod-carousel.thin .slick-slide img {
  max-height: 60px !important;
  max-width: 60px !important;
}

/*_____ employees _____*/
.emp {
  display: inline-block;
  margin-right: 2%;
  width: 40%;
}
.emp.odd {
  margin-right: 15%;
  margin-bottom: 5%;
}
.emp_photo {
  border-radius: 100px;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2);
  float: left;
  height: 100px !important;
  margin-right: 2em;
  width: 100px !important;
}
.emp p {
  margin: 0.5em 0;
  padding: 0;
}
.emp a {
  color: #3C91C5;
}
.brands .col-one-2 {
  display: inline-block;
  width: 49%;
}



/*_____ tablet _____*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
#FootBanner {
  height: 255px
}
#FootBanner span {
  font-size: 4.3em
}
.page-port {
  height: 248px
}
.col-28 {
  width: 27%
}
.home h3 {
  font-size: 33px
}
.home .row p {
  font-size: 13px;
  line-height: 25px !important
}
.col-28, .col-44 {
  height: 344px
}
.prod-carousel.thin .prod {
    width: 114px;
  }
.prod-carousel.thin {
  margin-left: 55px;
  width: 90%;
}  
.prod-carousel.thin .slick-next { margin-left:57px }
}

/*_____ smartphone _____*/
@media only screen and (max-width: 768px) {
.prod-carousel .prod { width:185px }

.prod-carousel { top:25px; margin-bottom:55px;}

#FootBanner {
  height: 175px
}
#FootBanner span {
  font-size: 2.875em
}
.page-port {
  height: 165px
}
.col-28, .col-44, .img-horiz {
  width: 100%;
  padding: 0;
  margin: 0 0 32px
}
.col-28 {
  height: 180px
}
.col-44 {
  height: auto
}
.img-horiz {
  position: relative;
}
.emp {
  width: 100%;
  margin: 1em 0;
  white-space: nowrap
}
}

@media only screen and ( max-width: 960px ) {
.emp_photo {
  float: none;
}
.page-banner {
  width: 100%;
  height: auto;
  background-size: 100% auto !important;
}
#content-area .container {
  padding-top: 25px;
}
ul#top-menu li {
  margin-right: 10px;
}
.lspace {
  margin-left: 232px;
}
.page-port {
  width: 48.7%;
}
.magic_slider.bullets .bottomNav {
  display: none !important;
}   
}

@media only screen and (max-width: 736px) {
  .prod-carousel.thin .prod {
    width: 116px;
  }
    #AboutUsPorts .page-port {
  width: 100%;
}
.brief-history, .prod-info {
  margin-bottom: 2em;
  width: 100%;
}
.prod-info > ul {
  padding: 0 8px;
}

.page-id-9 .slick-next { margin-left:71px }
.page-id-9 .prod-carousel .prod { width:153px }
}

@media only screen and (max-width: 414px) {
  .prod-carousel.thin .prod {
    width: 100px;
  }
  .prod-carousel { margin-left:0;}
  .slick-prev { margin-left:-86px;}
  .slick-next { margin-left:41px;}
	.page-id-9 .slick-next { margin-left:71px }
	.page-id-9 .prod-carousel .prod { width:150px }
}

@media only screen and (max-width: 640px) {
	.page-id-9 .prod-carousel { margin-left:0 }
}

/** ipad portrait **/
@media only screen and ( min-width: 768px ) and ( max-width: 960px ) {
   .prod-carousel.thin .prod {
    width: 105.4px;
  }
  .single-product .prod-carousel.thin { margin-left:42px }
  .single-product .slick-prev { margin-left:-95px }
  .single-product .slick-next { margin-left: 44px }
   .single-product .prod-carousel.thin .prod {
    width: 114px;
  }
  #custom_post_widget-3, #custom_post_widget-5, #custom_post_widget-6 {
    display: none;
  }
}

@media only screen and ( max-width: 767px ) {

.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target, 
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target {
  background: #475c2e !important;
}
.shiftnav-target:hover {
  background: #3c91c5 !important;
}

.mobile_nav {
  display: none !important;
}
.page-port {
  width: 100%;
}
#footer {
  margin-top: 20px;
}
}

/** hide slider bullet if it's the first and last item (only 1 slide) **/
.magic_slider.bullets .bottomNav > div:first-child:last-child {
  display: none;
}
/* Added by Moxxy 20150828-1457 */

.prod-carousel .prod span,  .prod-carousel.thin .prod span {
  font-size: 12px;
}
#wpgmza_map {
  margin-bottom: 24px!important;
}

.copyright {
  position: relative;
  top:24px;
  clear:both;
  font-size:12px;
  color: #4D4D4D;
}

.copyright a {
  color: #4D4D4D; 
}

/* Added for new map plugin installed December 21, 2015 */

.mapp-layout {
  margin: 0 0 20px !important;
}
