/* fix top menu ----------- */
@media only screen and (min-width : 1050px) and (max-width : 1225px) {
/* Styles */
#main-menu{left:20px}
body #main-menu ul.nice-menu-down li {margin-right: 3px;}
.block-views-instagrams-block .views-row {width:24%}
}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-width : 768px)
and (max-width : 1050px) {
/* Styles */



.large-5.slideshow-content {
  width: 100%;
  padding: 0px;
  bottom: 0px;
  position: relative;
}
.flex-control-nav {
  bottom: 0px;
  display: none;
}

img.logo {
  height: auto;
  margin-top: 32px;
  width: 100px;
}
.block-block-6 p:last-of-type a:first-of-type img {
  margin-left: 62px;
}
.block-block-6 p:last-of-type a:last-of-type img {
  margin-left: 5px;
}

.slideshow.row {margin-top:0px;}

body #main-menu ul.nice-menu-down li {
  margin-right: 8px;
}

#main-menu{
  left:-18px;
}

header .large-2 {width: 16.66667%;}

header .large-7 {width: 67.33333%;}

header .large-3 {width: 16%;}

.services .large-4 {width: 33.33333%;}

ul.nice-menu a, ul.nice-menu .nolink {
  font-size:12px;
  padding: 0px 2px;
}

.block-views-instagrams-block .views-row {width:24%}

.footer-bg .large-2 {width: 16.66667%;}
.footer-bg .large-3 {width:25%}
.footer-bg .large-1 {width: 8.33333%;}

.not-logged-in .header-links p:nth-child(2),.logged-in .header-links p:nth-child(2){margin-right:0px}

.header-links .block p strong{font-size:12px;}
.header-links {padding-right: 0px;}

.block-block-6 img.shadow {
  width: 30%;
  text-align: right;
  float: left;
  margin-left: 6px;
  margin-top: 12px;
}

.slideshow-content .title .field-content{font-size:30px}
.slideshow-content .body p{font-size:20px;}
.slideshow-content{background-size:45px;}

.block-block-6 {
  padding-top: 5px;
  position: absolute;
  right: 0px;
  width: 158%;
}

.services .text-content a{font-size:25px}

.bg {
  height: 394px;
  background-size: 100% auto!important;
  background-attachment:scroll!important;
}


.view-homepage-images .caption p{
  padding:60px 2%;
  position:absolute;
  top:100px;
  font-size: 45px;
}

.views-field-title a{font-size:25px}
.views-field-created span {font-size:24px;}
.view-coffee-news .views-field-body p{font-size:24px;}
body .full-width .block-title,
body .block-views-instagrams-block .view-header p{font-size:33px;}
.services .block-nodeblock {padding-right: 0px;}
.footer-bg .block-title{font-size:14.5px}
.footer-bg a, .footer-bg p{font-size:13px;}

.siteby {margin-top: -30px;}

/*basic pages*/
.field-name-field-quote p{
  padding:0px 15px;
  line-height:1.5em;
}

.row.quote{padding:50px 15px;}

.not-front .large-12.columns,
.row.section.third-section .large-8.has-image,
.row.section.third-section .large-12 {
  padding-right:15px;
  padding-left:15px;
}

.large-12.columns.brands {
  padding-right:15px;
  padding-left:15px;
}

.section-brands .large-12.main.columns {
  padding: 0px 15px;
}

.block-views-instagrams-block .views-row:hover .views-field-caption span {
  padding: 4% 1px 0;
  font-size: 13px;
  line-height: 17px;
  max-width: 189px;
}

.block-views-education-blocks-list-block .views-row {
  display: block;
  float: left;
  position: relative;
  margin: 0 12px 30px 0;
  width: 32.33333%;
}

.block-views-education-blocks-list-block .views-row:hover .views-field-nothing a {
  display: inherit;
  background: url("../images/gavina-ed-bg.png") repeat;
  padding: 97px 46px;
}

.section-blog main .large-9 {width: 75%;}
.section-blog main .large-3 {width: 25%;}

.gallery-section {
  overflow: hidden;
}
.gallery-section .first-images,
.gallery-section .second-images {
  height: 215px;
  margin-bottom: 20px;
  overflow: hidden;
}
.gallery-section .large-3.image {
  max-width: 225px;
}
.gallery-section .large-6.image {
  max-width: 346px;
  padding-right: 0;
}
.gallery-section .large-8.image {
  max-width: 485px;
}
.gallery-section .large-4.image {
  max-width: 310px;
  padding-right: 0;
}
.gallery-section .image img {
  height: auto;
  width: 100%;
}
.gallery-section .large-3.image:hover .caption {max-width: 195px;}
.gallery-section .large-8.image:hover .caption {max-width: 455px;}
.gallery-section .large-4.image:hover .caption {max-width: 280px;}
.gallery-section .large-6.image:hover .caption {max-width: 510px;}

.gallery-section .image:hover .caption {
  display: block;
  position: absolute;
  top: 0px;
  padding: 15px;
  text-align: center;
  width: 100%;
  background:rgba(65, 31, 31, 0.9);
  height: 240px;
  padding-top: 22.5%;
}

.section-3.row {
  width: 97%;
  margin-left: 10px;
}

.node-type-sustainability-page .row.section.first-section {
  padding-top: 10px;
}
.node-type-sustainability-page .large-4.columns.image{padding-right:auto}

.view-education-blocks-list td:hover .views-field-nothing {
  width:280px;
  height:180px;
}

.view-education-blocks-list td .views-field-nothing {
  width:280px;
  height:180px;
  margin-top:-180px;
}

.view-education-blocks-list td {
  display: block;
  float: left;
  width:225px;
  height:275px;
  margin-right:20px
}
.node-gavina-education .body table {
  width: 100% !important;
}

#search-block-form .form-type-textfield {
  width: 24%;
  height: 42px;
  display: inline-block;
  margin-top: 12px;
}

#search-block-form button.form-submit {
  padding: 0px;
  font-size: 10px;
  float: right;
  margin-top: 15px;
  display: inline-block;
  height: 19px;
  line-height: 0em;
  width: 52px;
  left: -206px;
}

.siteby.text-right {
clear: both;
width: 100%;
margin-top: 0px;
text-align: left!important;
float: left;
padding-left: 50px;
}

.block-views-education-blocks-list-block .views-field-title a {
  font-size: 14px;
}
.view-education-blocks-list td:hover .views-field-nothing {
  height: 150px;
  width: 205px;
  margin-top: -149px;
}
.view-education-blocks-list td .views-field-nothing a {
  font-size: 20px;
  letter-spacing: 1px;
  top: 49%;
}

#search-block-form input[type="text"] {left:40px}

.menu-block-5 ul.menu li {
  background: #4B2122;
  width: 162px;
  float: left;
  display: inline;
  padding: 5px 15px;
  margin-right: 0.5%;
}

.menu-block-5 ul.menu {
  padding-left: 0;
  height: 90px;
  margin: 0 auto;
  overflow: hidden;
  padding-left: 0;
  width: 665px;
}

.sidebar-second .large-9 {
  padding-top: 0;
  width: 58%;
}
.section-contact .sidebar-second.columns {
  width: 38%;
}
.webform-client-form button.form-submit {
  margin-left: 0;
  margin-right: 20px;
  float: right;
}
#webform-component-interested-in .form-item.form-type-checkbox label {
  margin: 0 0 0 4px;
}

.footer-bg .footer-first.columns {
  min-width: 100px;
  min-height: 175px;
}
.footer-bg .columns {
    min-width: 160px;
}
.footer-bg .footer-fourth.columns.large-3 {
  margin-top: -65px;
}
.footer-bg .large-3.columns {
  float: left;
}
.copyright {
  max-width: 540px;
  display: inline-block;
}
.siteby.text-right {
  display: inline-block;
  float: none !important;
  width: 100%;
  max-width: 155px;
  margin: 7px 0 0;
  text-align: right !important;
  padding-right: 0;
}
.copyright span {
  display: block;
  margin-bottom: 13px;
}
.copyright a:first-of-type {
  padding-left: 0;
}

}


/* smaller than an ipad ----------- */
@media only screen and (max-width : 767px) {

h1#page-title {
  line-height: 38px;
  font-size:25px;
}

header{
    height:140px;
    position:relative;
}

.large-5.slideshow-content {
  width: 100%;
  padding: 0px;
  bottom: 0px;
  position: relative;
  display:none;
}

table {
  width: 100%!important;
}

.body.field table td {
  float: none;
}

.slideshow.row {margin-top:0px;}

table td {
  width: 100%;
  float: left;
}


.view-homepage-images .caption p {
  font-size: 30px;
  padding: 10% 4%;
  color: #4b2122;
}

.view-coffee-news td {padding:10px 15px}

.view-coffee-news table {background: none;}

.view-homepage-images .caption{bottom:755px;}

.bg {display: none;}

.view-homepage-images .caption {bottom: 810px;}

body .full-width .block-title {padding-left:0px}

.view-coffee-news .views-field-body p{font-size:24px;}

.footer-bg {text-align: center;}

#logo {
	text-align: center;
	padding-left: 15px;
	margin-top: 7px;
	margin-bottom: 10px;
	width: auto;
	position: relative;
	z-index: 1111;
}
.l-header.sticky > .row {
	display: flex;
	justify-content: space-between;
}
.responsive-menus.responsified span.toggler{box-shadow:0px!important}

.header-links {
  text-align: center;
  padding-bottom:10px;
  padding:inherit;
  /*margin-bottom: 50px;*/
  width: 220px;
  margin-top: 55px;
  margin-left: auto;
}

.block-block-6 {

}

.flex-control-nav {
  bottom: 0px;
  display: none;
}

.view-coffee-news td {width: 100%;}


.not-logged-in .header-links p:nth-child(2),
.logged-in .header-links p:nth-child(2){
  margin-right:0px;
  margin-top:0px;
}

.siteby.large-2.columns.text-right {
  text-align: center!important;
  padding-left: 50px;
}

.instagram .large-12.columns {
  padding:auto;
}

.responsive-menus.responsified span.toggler,
.responsive-menus.responsified .responsive-menus-simple li{background: #4b2122; border-radius: 0;}

.responsive-menus span.nolink {
  color: #fff;
  display: block;
  padding: 1em 0 1em 10%;
  margin: 0;
  text-align: left;
  color: #fff;
  border-bottom: 1px solid #bbb;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  text-decoration: none;
  text-transform: uppercase;
}

.mean-container .mean-bar{
  background: #4b2122;
}

.mean-container .mean-nav{background: #4b2122;}

.mean-container .mean-nav ul li span {
  display: block;
  float: left;
  width: 90%;
  padding: 1em 5%;
  margin: 0;
  text-align: left;
  color: #fff;
  border-bottom: none;
  border-top: 1px solid rgba(255,255,255,.5);
  text-decoration: none;
  text-transform: uppercase;
}

body .full-width .block-title{
  font-size:32px;
  margin-bottom:0px;
}

img.logo{width:115px}

.header-links .block p{margin-bottom: 15px}

body .block-views-instagrams-block .view-header p {
  padding-left: 0px;
  background: none;
  font-size: 30px;
  margin-bottom: 15px;
}

.slideshow-content .title .field-content {
  font-size: 35px;
  line-height: 1.25em;
}

.not-front .no-banner-image {
  height: 0px;
}

.not-front main.row.l-main {
 /* padding-top: 95px;*/
}

.not-front .large-12.columns,
.row.section.third-section .large-8.has-image,
.row.section.third-section .large-12 {
  padding-right:15px;
  padding-left:15px;
}

.field-name-field-quote p,
.row.quote{padding:0px}

#flexslider-1 {
  margin-top:0px;
  /*height: 465px;*/
  overflow:hidden;
  max-width:100%;
}

#flexslider-1 img{
/*  min-height: 200px!important;
  min-width: 440px!important*/;
}

.services.row .large-4 {
  margin-bottom: -75px;
}

.flexslider .slides > li {overflow:hidden; max-width:100%}

.view-homepage-images .caption {
  margin-bottom: 0;
  bottom: 0;
}

.block-views-instagrams-block .views-row {
  float: none;
  position: relative;
  text-align: center;
  margin:15px auto;
}

.menu-block-5 ul.menu {
  margin: 0 auto;
  text-align: center;
  padding-left: 0px;
  overflow: hidden;
}

.menu-block-5 ul.menu li {
  background: #4B2122;
  width: 125px;
  float: none;
  display: inline-table;
  padding: 5px 0px;
  /*margin-right: 0.5%;*/
  margin: 10px 4px;
}
.menu-block-5 ul.menu li:nth-of-type(2n+2) {
  margin-right: 0;
}
.menu-block-5 ul.menu li a {
  /*display: block;*/
  font-size: 12px;
  line-height: 16px;
}
.block-menu-block-5 {
  margin-top: 0;
}
.menu-block-5 ul.menu li.active:after {
  right: 0;
  top: 4px;
  content: none;
  background: none;
}
.node-type-sustainability-page .row.section.first-section {
  padding-top: 40px;
}

.section-brands td {
  padding-right: 0;
  width: 100%;
}
.brands .image {
  height: auto;
  min-height: 77px;
}
.brands .title span {
  /*font-size: 13px;*/
}

.services .block-nodeblock {padding-right: 0px;}
.slideshow-content .title .field-content{font-size:30px}
.slideshow-content .body p{font-size:20px;}
.slideshow-content{background-size:45px;}

.views-field-title a{font-size:25px}
.view-coffee-news .views-field-body p{font-size:21px;}
body .full-width .block-title,
body .block-views-instagrams-block .view-header p{font-size:18px;}
.footer-bg .block-title{
  font-size:22px
}
.footer-bg a, .footer-bg p{font-size:17px;}

.gallery-section .image {
  height: auto;
  padding: 0
}
.gallery-section .image img {
  height: auto;
  width: 100%;
}

.gallery-section .large-3.image {
  max-width: 100%;
}
.gallery-section .large-3.image:hover .caption {
  max-width: 100%;
}
.gallery-section .image:hover .caption {
  height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

#search-block-form input[type="text"]{left:150px}
#search-block-form button.form-submit{left:40px}

.not-logged-in .header-links p:nth-child(2){float:none;display:none}

.block-search-form{left:-170px;}

#search-block-form button.form-submit {
  display:none
}
#search-block-form .form-type-textfield {
  width: 130px;
  display: inline-block;
}

section.l-messages.row {
position: relative;
top: 60px;
}

.copyright.large-10.columns.text-left{
  text-align:center!important;
  line-height: 1.5em;
  background: none;
}
.banner-image img {
  margin-top: 0;
}

.section-contact .sidebar-second.columns {
  padding-top: 0;
}
#webform-component-interested-in .form-item.form-type-checkbox label {
  margin: 0 0 0 7px;
}
#webform-component-serve-coffee label {
  width: 100%;
}
#webform-component-serve-coffee .form-type-radio label.option {
  width: 14px;
}

iframe {
  max-width: 100%!important;
}

.views-field.views-field-comments-link{float:none}

.webform-client-form .form-item input, .webform-client-form .form-item .form-select{width:100%}

html{width:100%; overflow-x:hidden;}

.webform-client-form .form-item .form-textarea-wrapper {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  margin-left: 0px;
}
.responsive-menus-simple ul li ul li a {
  padding-left: 60px !important;
}
.responsive-menus {
position: relative;
top: -2px;
}

.view-education-blocks-list td {
  height: auto;
  margin: 0 0 30px;
  padding: 0;
  width: 100%;
  overflow: visible;
}

.webform-client-form button.form-submit{margin-left:0px}

.siteby.large-2.columns.text-right {
  padding-left: inherit;
}
.copyright, .siteby, .copyright span {
  display: block;
}
.copyright a {
  font-size: 11px;
}
.copyright {
  /*max-width: 540px;*/
  /*display: inline-block;*/
  padding: 12px 0;
}

.view-education-blocks-list td:hover .views-field-nothing {
  display: block;
  width: 252px;
  height: 190px;
  overflow: hidden;
  margin-top: -190px;
}


.view-education-blocks-list td .views-field-field-image .field-content {
  width:252px;
  height:190px;
  overflow:hidden;
}

.block-views-education-blocks-list-block .views-field-title {width:252px;}

.block-block-6 img.shadow,
.front .block-views-homepage-images-block,
.front .block-views-coffee-news-block,
section.block.block-block.block-block-1,
.front .instagram.row,
.block-block-2 {display: none;}

.services {
  padding: 0px;
  margin-bottom: 50px;
}

.mean-container .mean-bar,
.mean-container .mean-nav{
  float:none!important;
}

}
