/*
Theme Name: hepounamu
Theme URI: http://hepounamu.co.nz/
Author: Thinkbox
Author URI: http://thinkbox.co.nz
Description: Theme for He Pounamu
Version: 1.0

  This theme was built by Sam Cooke,
  whose website you will find at http://www.thinkbox.co.nz/

  The CSS, XHTML and design is released under GPL:
  http://www.opensource.org/licenses/gpl-license.php
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:700|Muli:300,400,400i,600,700,800');


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-spacing: 0;
}

/* end reset css */


/* reset box-sizing */
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}


/* responsive */

.full {
    display: inline-block;        
}
.resp {
    display: none;
}
.rhide {
  display: block !important;
}
.rshow {
  display: none !important;
}




/***************GRID*****************/

/* Grid >> 20 Columns
----------------------------------------------------------------------------------------------------*/
.col { 
/*   padding: 5px;  */
  position: relative;
}
.col.nopad { 
  padding: 0; 
}

.grid-1 { width:5.0%; }
.grid-2 { width:10.0%; }
.grid-3 { width:15.0%; }
.grid-4 { width:20.0%; }
.grid-5 { width:25.0%; }
.grid-6 { width:30.0%; }
.grid-7 { width:35.0%; }
.grid-8 { width:40.0%; }
.grid-9 { width:45.0%; }
.grid-10 { width:50.0%; }
.grid-11 { width:55.0%; }
.grid-12 { width:60.0%; }
.grid-13 { width:65.0%; }
.grid-14 { width:70.0%; }
.grid-15 { width:75.0%; }
.grid-16 { width:80.0%; }
.grid-17 { width:85.0%; }
.grid-18 { width:90.0%; }
.grid-19 { width:95.0%; }
.grid-20 { width:100%; }

.grid-1-3 { width: 33.333333%; }
.grid-2-3 { width: 66.666666%; }


.prefix-1 { padding-left: 5.625%; }
.prefix-2 { padding-left: 10.625%; }
.prefix-3 { padding-left: 15.625%; }
.prefix-4 { padding-left: 20.625%; }
.prefix-5 { padding-left: 25.625%; }
.prefix-6 { padding-left: 30.625%; }
.prefix-7 { padding-left: 35.625%; }
.prefix-8 { padding-left: 40.625%; }
.prefix-9 { padding-left: 45.625%; }
.prefix-10 { padding-left: 50.625%; }

.suffix-1 { padding-right: 5.625%; }
.suffix-2 { padding-right: 10.625%; }
.suffix-3 { padding-right: 15.625%; }
.suffix-4 { padding-right: 20.625%; }
.suffix-5 { padding-right: 25.625%; }
.suffix-6 { padding-right: 30.625%; }
.suffix-7 { padding-right: 35.625%; }
.suffix-8 { padding-right: 40.625%; }
.suffix-9 { padding-right: 45.625%; }
.suffix-10 { padding-right: 50.625%; }

/* Push Space >> 32 Columns
---------------------------------------------------------------------------------------------------*/

.push-1 { left:5.0%; }
.push-2 { left:10.0%; }
.push-3 { left:15.0%; }
.push-4 { left:20.0%; }
.push-5 { left:25.0%; }
.push-6 { left:30.0%; }
.push-7 { left:35.0%; }
.push-8 { left:40.0%; }
.push-9 { left:45.0%; }
.push-10 { left:50.0%; }
.push-11 { left:55.0%; }
.push-12 { left:60.0%; }
.push-13 { left:65.0%; }
.push-14 { left:70.0%; }
.push-15 { left:75.0%; }
.push-16 { left:80.0%; }
.push-17 { left:85.0%; }
.push-18 { left:90.0%; }
.push-19 { left:95.0%; }
.push-20 { left:100%; }

.push-1-3 { left:33.33333%; }
.push-2-3 { left:66.66666%; }

/* Pull Space >> 32 Columns
----------------------------------------------------------------------------------------------------*/
.pull-1 { left:-5.0%; }
.pull-2 { left:-10.0%; }
.pull-3 { left:-15.0%; }
.pull-4 { left:-20.0%; }
.pull-5 { left:-25.0%; }
.pull-6 { left:-30.0%; }
.pull-7 { left:-35.0%; }
.pull-8 { left:-40.0%; }
.pull-9 { left:-45.0%; }
.pull-10 { left:-50.0%; }
.pull-11 { left:-55.0%; }
.pull-12 { left:-60.0%; }
.pull-13 { left:-65.0%; }
.pull-14 { left:-70.0%; }
.pull-15 { left:-75.0%; }
.pull-16 { left:-80.0%; }
.pull-17 { left:-85.0%; }
.pull-18 { left:-90.0%; }
.pull-19 { left:-95.0%; }
.pull-20 { left:-100%; }

.pull-1-3 { left:-33.33333%; }
.pull-2-3 { left:-66.66666%; }

.gutter-left-1 { padding-left:5.0%; }
.gutter-left-2 { padding-left:10.0%; }
.gutter-left-3 { padding-left:15.0%; }
.gutter-right-1 { padding-right:5.0%; }
.gutter-right-2 { padding-right:10.0%; }
.gutter-right-3 { padding-right:15.0%; }



/*************FIXED GRID**************/

.fixed .col { 
  padding: 0 10px; 
}
.fixed .grid-1 { width:80px }
.fixed .grid-2 { width:160px }
.fixed .grid-3 { width:240px }
.fixed .grid-4 { width:320px }
.fixed .grid-5 { width:400px }
.fixed .grid-6 { width:480px }
.fixed .grid-7 { width:560px }
.fixed .grid-8 { width:640px }
.fixed .grid-9 { width:720px }
.fixed .grid-10 { width:800px }
.fixed .grid-11 { width:880px }
.fixed .grid-12 { width:960px }
.fixed .grid-13 { width:1040px }
.fixed .grid-14 { width:1120px }
.fixed .grid-15 { width:1200px }
.fixed .grid-16 { width:1280px }
.fixed .grid-17 { width:1360px }
.fixed .grid-18 { width:1440px }
.fixed .grid-19 { width:1520px }
.fixed .grid-20 { width:1600px }

.fixed .prefix-1 { padding-left:90px }
.fixed .prefix-2 { padding-left:170px }
.fixed .prefix-3 { padding-left:250px }
.fixed .prefix-4 { padding-left:330px }
.fixed .prefix-5 { padding-left:410px }
.fixed .prefix-6 { padding-left:490px }
.fixed .prefix-7 { padding-left:570px }
.fixed .prefix-8 { padding-left:650px }
.fixed .prefix-9 { padding-left:730px }
.fixed .prefix-10 { padding-left:810px }

.fixed .suffix-1 { padding-right:90px }
.fixed .suffix-2 { padding-right:170px }
.fixed .suffix-3 { padding-right:250px }
.fixed .suffix-4 { padding-right:330px }
.fixed .suffix-5 { padding-right:410px }
.fixed .suffix-6 { padding-right:490px }
.fixed .suffix-7 { padding-right:570px }
.fixed .suffix-8 { padding-right:650px }
.fixed .suffix-9 { padding-right:730px }
.fixed .suffix-10 { padding-right:810px }

.no-gutter {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.middle .container {
  display: table !important;
  width: 100%;
  height: 100%;
} 
.middle .container .group {
  display: table-cell !important;
  vertical-align: middle;
} 
.middle .container .group {
  display: table-cell !important;
  vertical-align: bottom;
} 

.noie .middle {
  display: flex;
  align-items: center;
  justify-content: center;
}

/**** clearfix ****/

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.clearfix {
  display: inline-block;
}
html[xmlns] .clearfix {
  display: block;
}
* html .clearfix {
  height: 1%;
}

.clear { clear: both; }

/**** cols and rows and ****/

.row {
  overflow: hidden;
  _overflow:visible;
  _zoom:1;
  width: 100%;
}
.group:after {
  content: "";
  display: table;
  clear: both;
}
/* .content {
  margin: 0 auto;
} */
.col {
  position: relative;
  float:left;
  display: block;
  min-height: 1px;
}
.stack .col {
  width: 100% !important;
  float: none;
}
.float-right {
  float:right;
}

.center {
  margin: 0 auto;
}
.hidden {
  display: none;
}
.tall {
  min-height:100%;
}
.hide {
  display: none;
}

.centxt {
  text-align: center;
}
.lefttxt {
  text-align: left;
}
.righttxt {
  text-align: right;
}
.clearleft {
  clear: left;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* tbcolumns plugin css */

.wpcolumn-wrapper { width: 100%; }
.wpcolumn { 
  float:left; display:inline; padding-left:25px; padding-right:25px;  
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;}
.wpcolumn-wrapper-2 .wpcolumn { width: 50%; }
.wpcolumn-wrapper-3 .wpcolumn { width: 30%; }
.wpcolumn-first { padding-left: 0 !important; }
.wpcolumn-last { padding-right: 0 !important; }
.wpcolumn-clearfix { clear: both; }

.padleft {
  padding-left: 25px;
}
.padright {
  padding-right: 25px;
}

.headspace {
  padding-top: 30px !important; 
}
.footspace {
  padding-bottom: 30px !important;  
}
.pad {
  padding: 9px;

}



/***************TYPOGRAPHY*************    Sree Krushnadevaraya              Buenard       Lusitana                     ****/


body {
  font-size: 16px !important; 
  font-family: 'Muli', sans-serif; 
  font-weight: 400; 
  text-align: left; 
  line-height: 1.6;   
  color: #231f20;
  
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}
#sitewrap {
  /* background: #fff; */
  /* width: 100%; */
  /* max-width: 1280px; */
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* border: solid #2e4252; */
  /* border-width: 30px 30px; */
  overflow-x: hidden;
}


h1,h2,h3,h4,h5,h6 {
	max-width: 810px;
	margin-left: auto;
	margin-right: auto;
}
p,ul {
  max-width: 810px;
  margin-left: auto !important;
  margin-right: auto !important;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Muli', sans-serif;
}
h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
  margin-bottom: 20px;
  padding: 0;
  letter-spacing: normal;
  color: #2e4252;
  line-height: 1.5;
  font-weight: 700;
}
h1,h2,h3,h5 {
  text-align: center;
}



p, li, td {
  font-family: 'Muli', sans-serif;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 15px;
  padding: 0;
  line-height: 1.375;
}
li, td {     
  margin: 0; 
}


 h1 {  
  font-size:3.125em;
  line-height: 1.15;
  margin-bottom: 40px; 
}
h1 {
  display: none;
}

h2 {
    font-size: 2.875em;
    line-height: 1.2em;
    color: #425d59;
    margin-bottom: 40px;
    margin-top: 0px;
    font-weight: 300;

}



h3 {  
  font-family: 'Montserrat', sans-serif;
  margin-top: 40px;
  font-size: 2.125em; 
  font-weight: 700;
}
.person h3 {
  text-align: left;
  margin: 0 auto;
}

h4 {
  font-size: 1.375em;
  margin: 25px auto 10px;
  line-height: 1.3;
  font-weight: 600;

  /* letter-spacing: 0.1em; */
}
.reviews-tab h4 {
  text-align: left;
  font-size: 0.9em;
  color: #000;
  margin-bottom: 0px;
}



h5 {  
  font-family: 'Montserrat', sans-serif;
  margin-top: 40px;
  font-size:1.6em; 
}




h6 { 
  font-size:1em;
  margin: 0 0 10px 0; 
}

.home h2,
.home h5,
.home p {
  text-align: center;
}
.home h5,
.home p {
  text-align: center;
  max-width: 800px;
}


.wp-block-cover-image p {
	color: #fff;
	text-align: center;
	font-size: 1.2em;
	padding-top: 17px;
	padding-bottom: 17px;
	position: relative;
	z-index: 2;
	max-width: 80%;
}

p.thin {  font-weight: 400; }
p.small { font-size: 0.7em; margin: 0px 0px 10px 0px; }
p.smaller { font-size: 0.6em; margin: 0px 0px 10px 0px; }

p.up { text-transform: uppercase; }

p.clear { clear: both;  margin: 0; padding: 0; height:0px;  }
p.clearspace10 { clear: both;  margin: 0; padding: 0; height:25px; }
p.clearspace25 { clear: both;  margin: 0; padding: 0; height:25px; }
p.clearspace50 { clear: both;  margin: 0; padding: 0; height:50px; }  

.person p.posn {
  text-transform: uppercase;
  margin-bottom: 25px;
}

ul, ol{
  margin: 10px 0 25px;
}
ul li, 
ol li{
  list-style-position:outside;
  margin: 0 0 0 2.5em;
  font-size:1em;    
  margin-left: 30px;
  line-height: 1.4em;
  letter-spacing: normal;
  padding: 0;
} 
ul li,
ul li ul li { list-style: disc;
}
ol li,
ol li ol li,
ul li ol li  {
  list-style-type: lower-alpha;
}
ol li ul li {
  list-style: disc;
}
.content ul li {
    line-height: 1.5;
}
.sidebar ul {
  margin-bottom: 20px !important;
}




a, a:visited,
a:active {   
  color: #231f20;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 31, 32,.2);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
a:hover {
  color: #231f20;
  border-bottom-color: rgba(35, 31, 32, 1);
}
a:active {
  text-decoration: underline;
}
a img {
  border: none;
}

h2 a {
  text-decoration: none;
}







a.btn {
  display: inline-block;
  width: auto;
  height: 36px;
  line-height: 36px;
  color: #777;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-size: 0.875em;
  font-weight: 400;
  padding: 0 35px;
  background: transparent;
  border: solid 1px #bbb;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
a.btn:hover {
  background: #bbb;
  color: #fff;
}



a.btn.btn-2-line {
  line-height: 18px;
  padding-top: 9px;
  padding-bottom: 7px;
}
a.read-btn {
  margin: 15px 0 30px;
}
a.login-btn {
  margin: 0 0 50px;
}

a.login-link {
  display: inline-block;
  background: url(images/icon-trade-login.png) no-repeat left top;
  padding-left: 30px;
  font-size: 1.0625em;
  line-height: 22px;
  text-decoration: none;
}



header a.login-link {
  position: absolute;
  right: 0;
  top: 112px;
  font-size: 0.875em;
  padding-top: 5px;
  height: 22px;
}
header a.login-link.trade {
  position: absolute;
  right: 92px;
  background: none;
  padding-left: 0;
  padding-right: 0;
}
a.login-link:hover {
  background-position: left bottom
}

a.login-link.logout {
  background-position: right top;
  padding-left: 0;
  padding-right: 30px;
}
a.login-link.logout:hover {
  background-position: right bottom;
}





table { 
  border-collapse: collapse;
  width: 100%
}
td, th {
  border: none;
  text-align: left;
  /* vertical-align: middle; */
  padding: 0 10px 0 0;
}

table.alt-table td {
  text-align: right;
}
table.alt-table td:first-child {
  text-align: left;
}

strong { 
  font-weight: 700;
}
em {
  font-style:italic;
     
}
small {
  font-size: 0.75em;
}
hr {
  display: block;
  border: 0;
  width: 100%;
  height: 1px;
  background-color: #d6d1ca;
  color: #d6d1ca;
  margin: 20px 0 15px;
  padding: 0;
}



code {
  font: 1.1em 'Courier New', Courier, Fixed;
}
#postend {
  height: 1px;
  width:100%;
}
figcaption {
  margin-top: 10px;
  padding-top: 12px;
  text-align: right;
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.5;
}
figcaption small {
  font-size: 0.8em;
  font-style: italic;
}

blockquote {
  max-width: 960px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin: 30px 0 15px;
  padding: 0;
  line-height: 1;
  font-size: 1em;
  border-radius: 5px;
  background: #e8f5f6;   
}
blockquote p {
  line-height: 1.3;
}
cite {
  font-size: 9px;
  line-height: 1em;
  text-transform:  uppercase;
  display: block;
  padding: 0;
  margin: 10px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}




.wp-block-quote:not(.is-large):not(.is-style-large) {
  border-left: none;
  padding: 20px;
}

.wp-block-quote {
    margin: 20px 0;
}





input, textarea {
  font-size:1em;
  color: #777;
  letter-spacing: normal;
  width: 100%;
  margin: 0 0 10px;
  padding: 0 8px;
  border: solid 1px #D3D3D3;
  /* text-transform: uppercase; */
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"]{
  line-height: 35px;
  height: 35px;
}
input[type="checkbox"] { 
  width: 20px;
  margin-right: 10px;
}
textarea {
  /* padding: 8px; */
}
input[type="submit"] { 
  max-width: 230px ;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.95em;
  background: #b3b3b3;
  font-weight: 500;
  line-height: 44px; height: 44px;
  cursor: pointer;
}
.filter input[type="submit"] { 
  float: right;
}
select {
  line-height: 46px;
  padding: 0 8px;
  font-size: 0.875em;
  text-transform: uppercase;
  border: none;
  line-height: 35px;
  /* height: 35px; */
  margin-bottom: 10px !important;
  font-weight: 400;
  background-color: #FFF;
  color: #777;
  vertical-align: baseline;
  border-radius: 0;
  border: solid 1px #D3D3D3;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: solid 1px #D3D3D3;
    border-radius: 3px;
    height: 35px;
}



input, select, textarea {
    /* -webkit-appearance: none;  */
    outline: none;
    font-family: inherit;
    font-size: 1em;
    border-radius: 3px;
    padding-bottom: 5px;
}

.newsletter input[type="email"] {
  width: 250px;
  height:  50px;
  background: #fff;
  line-height: 50px;
  margin: -1px 0 0 0;
  position: relative;
}
.newsletter input[type="text"] {
  width: 29%;
  margin-left: 1%;
  background: #efefef;
}
.newsletter input[type="submit"] {
  display: inline-block;
  width: 50px;
  margin: 1px 0 0 -2px;
  line-height: 46px;
  height: 50px;
  background:  #fff;
  color: #000;
  position: relative;
  background: url(images/bg-right.png) no-repeat center center;
  text-indent: -9999px;
}



label {
  color: #000;
  /* text-transform: uppercase; */
  font-weight: 400;
  padding-right: 20px;
  font-size: 1em;
}





::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #959595;
  font-style:  normal !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #959595;
  font-style:  normal !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #959595;
  font-style:  normal !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: #959595;
  font-style:  normal !important;
}



/***************LAYOUT*****************/

body {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow-x: hidden;
}
body.is-scrolled {
  /* margin-top: 85px; */

}


header,
nav,
section,
footer {
  position: relative;
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}
header {
  z-index: 100;
  /* display: flex; */
  /* flex-direction: column; */
}
nav {
  z-index: 100;
  order: 2;
}
section {
  z-index: 101;
  position: relative;
  padding: 0;
  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
}




.container {
  position: relative;
  width: 100%;
  /* max-width: 1280px; */
  margin: 0 auto !important;
}
.content {
  padding-bottom: 0px;
}


/*==============HEADER=================*/
header {


}
header .container {
  height: 130px;
  order: 1;

}

header .container .grid-12 {
  max-width: 650px;
}


header #logo {
  position: relative;
/*  width: 235px;*/
  height: auto;
  margin-top: 15px;
  /* margin-left: 20%; */
}

header #logo a {
  display: block;
  position: relative;
  width: 235px;
  float: right;
  margin-right: 50px;
  border: none !important;
}

#cover-logo {
	display: block;
	width: 190px;
	height: 362px;
	background: url(images/logo-home-cover.svg) no-repeat center center;
  background-size: 100%;
	margin: 0 50px;
	opacity: 1;
}

/* 
.scroll {
  display: block;
  width: 70px;
  height: 70px;
  background: #fff url(images/arrow-down-red.png) no-repeat center center;
  border-radius: 35px;
  position: absolute;
  left: 50%;
  margin-left: -35px;
  bottom: -35px;
}

 */



/*===============FOOTER=================*/


footer {
  padding: 35px 0;
  background: #d2dcd9;
}

footer .container {
  max-width: 940px;
}
footer .widgets {
  margin-bottom: 15px;
  padding: 22px 5px 13px;
}
footer .footer-logo a {
  border: none !important;
}
footer .footer-logo a img {
  max-width: 153px;
}
footer p {
  text-align: left !important;
  margin-bottom: 0;
  font-size: 0.9375em;
} 
/*footer p a,
footer p a:visited {
  color: #231f20;
  text-decoration: none;
  border-bottom-width: 1px solid rgba(35, 31, 32,.2);
	opacity: 1;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
footer p a:hover {
  color: #231f20;
  border-bottom-color: rgba(35, 31, 32,1);
}*/




footer .copyright {
  padding: 35px 0 0px;
  /* text-align: center; */
}
footer .copyright p {
	color: #231f20; 
	font-size: 0.688em;
	text-transform:  none !important;
  max-width: 100%;
	text-align: center !important;
  margin-bottom: 0;
}




/*===============OTHER=================*/

.vert-align {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


.banner .bg {
  width:100%;
}
.banner-txt {
  text-align: center;
  max-width: 70%;
  margin: 0 auto;
}



.item-content {
  padding: 15px;
  margin-bottom: 15px;
  border-left: solid 1px #5d5d5d;
  min-height: 300px;
}

.terms {
  padding-bottom: 40px;
}
.terms span {
  display: inline-block;
  font-size: 1em;
  text-transform: uppercase;
  position: relative;
  font-size: 12px;
  color: #fff;
  /* background: #777; */
  padding: 0 10px 1px;
  margin: 0 2px 5px 0;
  white-space: nowrap;
}



/*=================NAVIGATION=================*/
.nav {
  display: block;
}
nav .nav {
  display: block;
}
.nav ul,
.nav ul li {
  margin: 0;
  list-style: none;
  position: relative;
  padding: 0;
}
.nav ul li {
  margin: 0;
  padding: 0;
  list-style-image: none;
  display: block;
}
.nav ul li a, .nav ul li a:visited, .nav ul li a:hover, .nav ul li a:active {
  text-decoration:none; 
  border-bottom: none;
  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
}
.nav.hrz ul li {
  float: left;
}
.nav.vert ul li {
  float: none;
}
.nav.hrz.cent ul {
  float: left !important;
  left: 50% !important;
}
.nav.hrz.cent ul li {
  right: 50% !important;
}
.nav>ul>li>ul>li>ul {
  display: none;
}

  /* Fix IE. Hide from IE Mac \*/
  * html ul li { float: left;  }
  * html ul li a { height: 1%; }
  body { font-size: 100%;  }
  /* End */

header nav {

}

.main-menu {

  width: 100%;
  z-index: 100000;
  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
}


.mainmenu {
  width: 100%;
  z-index: 2;
  padding: 0;
  z-index: 10;
}

.top-menu {
  margin-top: 110px;
}

.mainmenu>ul {
  margin-top: 0px;
  margin-bottom: 12px;
  max-width: 100%;
  float: right;
}
.mainmenu>ul>li {
  height: 16px;
  width: auto;
  z-index:100;
  display:block;
  padding: 0 14px;
  opacity: 1;
  border-left: solid 2px #2e4252;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
.mainmenu>ul>li:first-child {
  border-left: none;
}

.mainmenu>ul li a  {
  display: inline-block;
  margin: 0;
  padding: 0 0 4px;
  font-size: 1em;
  color: #2e4252;
  line-height: 1;
  text-align: left;
  font-weight: 600;
  opacity: 1;
  text-transform: lowercase;
  border-bottom: solid 2px transparent !important;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

.mainmenu>ul>li>a {
  position: relative;
  z-index: 2;
}
.mainmenu>ul>li ul {
  position: absolute;
  top: 17px;
  left: -10px;
  padding: 20px 10px 10px 10px;
  display: none;
  background: #fff;
  width: 320px;
  z-index: 1;
}
.mainmenu>ul>li:hover ul {
  display: block;
}
.mainmenu>ul>li ul li {
  float: none;
  width: 100%;
}
.mainmenu>ul>li ul li a {
  border: none;
  line-height: 32px;
    opacity: 0.4;
  transition: all 0.15s ease-out;
  
}
  nav:hover .mainmenu>ul>li {
  	/* opacity: 0.4; */
  }
  .mainmenu:hover>ul:hover>li:hover a,
  .mainmenu>ul:hover>li:hover a,
  .mainmenu>ul>li.current-menu-item a,
  .mainmenu>ul>li.current_page_parent a,
  .mainmenu>ul>li.current-page-ancestor a,
  .mainmenu>ul>li.current-our-work-item a,
  .mainmenu>ul>li.current-menu-item:hover a,
  .mainmenu>ul>li.current_page_parent:hover a  {
    border-bottom: solid 2px #2e4252 !important;
    color: #2e4252;
  	opacity: 1;
  }



.trigger-container {
	display: none;
  position: relative;
  /* max-width: 1040px; */
  margin: 0 auto !important;
}

a.nav-trigger {
  position: absolute;
  z-index: 100001;
  background: url(images/bg-primary-nav-trigger.png) no-repeat left top;
  border: none;
  height:40px;
  width: 40px;
  overflow: hidden;
  margin: 0;
  -webkit-transition: top 0.25s, left 0.25s;
  -moz-transition: top 0.25s, left 0.25s;
  transition: top 0.25s, left 0.25s;
  font-size: 0.875em;
  text-transform: uppercase;
  color: #191919;
  line-height: 47px;
  padding-left: 0;
  vertical-align: bottom;
  text-decoration:  none;
  opacity: 1;
  text-indent: -9999px;
  display: none;
}
a.nav-trigger:hover {
  opacity: 0.7;

}
a.nav-trigger.is-active {
  background-position: left -40px;
  /*   top: 50px;  
left: 125px; */
  text-indent: -9999px;
  padding-left: 0;
}

nav#fixed {
	position: fixed;
	bottom: 0;
	display:block;
	height: 70px;
	width: 100%;
	background: #BB9A37;
	overflow:  hidden;
	z-index: 20;
}
nav#fixed ul {
	width: 100%;
	max-width: 540px;
}

nav#fixed ul li {
	width: 16.66666%;
}

nav#fixed li a {
	display: block;
	width: 50px;
	height: 70px;
	margin: 0 auto;
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	font-size: 0.83333em;
	line-height: 1;
	letter-spacing: 0.1em;
	padding-top: 46px;
	background: url(images/icons-fixed-menu.png) no-repeat center 0;
}
nav#fixed li.fm-wine a {
	background-position: center 0;
}
nav#fixed li.fm-food a {
	background-position: center -70px;
}
nav#fixed li.fm-hours a {
	background-position: center -140px;
}
nav#fixed li.fm-phone a {
	background-position: center -210px;
}
nav#fixed li.fm-map a {
	background-position: center -280px;
}
nav#fixed li.fm-cart a {
	background-position: center -350px;
}


.footermenu  {
  padding-top: 30px;
  border-top: solid 1px #fff;
}
.footermenu ul li {
  height: 16px;
  padding: 0 14px;
  border-left: solid 2px #231f20;
}
.footermenu ul li a  {
  display: inline-block;
  /* width: 100%; */
  margin: 0;
  padding: 0 0 5px;
  font-size: 1em;
  color: #231f20;
  line-height: 1;
  text-align: left;
  font-weight: 600;
   border-bottom: solid 2px transparent !important;
  text-transform: lowercase;
  /* letter-spacing: 0.1em; */
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.footermenu ul li:first-child  {
  border: none;
}
.footermenu ul li a:hover {
  border-bottom: solid 2px #2e4252 !important;
}
.mainmenu ul li.widehide {
   display: none;
}






/* 
.responsive-nav.is-scrolled .responsive-nav-trigger {
  top: 0;
  right: 0;
}
 */
.accordion h4,
.clientlist h4 {

}
.accordion h6,
.clientlist h6 {
  margin: 0 0 20px;
}
.accordion ul li,
.clientlist ul li {
  border-bottom: solid 1px #bbb;
  padding: 0 0 10px;
}

.accordion ul li h3 {
  background: url(images/accordion-up-down.png) no-repeat right top;
  line-height: 1.2;
  min-height: 45px;
  padding: 10px 75px 0 0;
  margin: 0;
  cursor: pointer;
  font-size: 2em;
}
.accordion ul li h3.active {
  background-position: right -200px;
}
.acrd-content {
  padding: 15px 0 10px;
}



a.floattotop {
    display: none;
    overflow: hidden;
    width: 60px;
    height: 60px;
    z-index: 1038;
    position: fixed;
    bottom: 50px;
    right: 0px;
    top: auto;
    left: auto;
    padding: 0;
    border: none;
    background: #698a82; 
    opacity: 1;
     -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out; 
/*  
url(images/bg-up.png) no-repeat center center;
border-radius: 99px;
    text-indent: -9999px;
    background-size: 75%; */
}
a.floattotop .dashicons {
  width: 60px;
  font-size: 30px;
  line-height: 60px;
  vertical-align: middle;
  text-align: center;
  transition: color .1s ease-in;
  color: #fff;
}
a.floattotop:hover {
  background: #7fb2a5;
}


.nextprev { 
  position: absolute;
  top: 0px;
  right: 0;
  z-index: 10000;
  display: block;
  width: auto;
  height: auto;
}
.nextprev a {
  font-size: 0.92em;
  font-weight: 700;
  text-transform: uppercase;
}
.next {

  background-position: right 0;
}
.prev {
  margin-left: 15px;
}
.next:hover {
  background-position: right bottom;
}
.prev:hover {
  background-position: left bottom;
}

.overlay {
  display: none;
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
  position: absolute;
  z-index: 99;
  background: rgba(0,0,0,0);
  -webkit-transition: top 0.25s, left 0.25s;
  -moz-transition: top 0.25s, left 0.25s;
  transition: top 0.25s, left 0.25s;
}
.overlay.is-active {
  display: block;
  background: #fff;
}
  

header .socialmenu {
  margin: 35px 0 20px;
}

.socialmenu ul {
  position: relative;
/*  margin-bottom: 15px;*/
}
.socialmenu ul {
  float: right;
  padding-right: 14px;
}
footer .socialmenu ul {
  padding-right: 0;
}
.socialmenu ul li {
  width: 28px;
  height: 28px;
  margin-left: 5px !important;
}
.socialmenu ul li a {
  width: 28px;
  height: 28px;
  float: left;
  display: block !important;
  text-indent: -9999px;
  /*background: url(images/social-icons.svg) no-repeat left 0;
  background-size: auto 27px;*/
  border-bottom: none !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

/*.socialmenu ul li.facebook a { background-position: 0 0px; }
.socialmenu ul li.instagram a { background-position: 0 -36px; }
.socialmenu ul li.pinterest a { background-position: 0 -72px; }
.socialmenu ul li.twitter a { background-position: 0 -108px; }*/

.socialmenu ul li a:before {
 display: block;
 position: absolute;
 top: 0;
 left: 0;
 -webkit-font-smoothing: antialiased;
 font: normal 32px/1 'dashicons';
 vertical-align: middle;
 width: 28px;
 color: #2e4252;
 text-indent: 0px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.socialmenu ul li.facebook a:before { content: "\f305"; }
.socialmenu ul li.instagram a:before { content: "\f12d"; }
.socialmenu ul li.twitter a:before { content: "\f301"; }



.socialmenu ul li a:hover,
.socialmenu ul li:hover a:before {
  color: #da763e;
}



/***************WP STDS*****************/

.post.col {
  width:285px;
  height: 520px;
  margin: 30px 24px 0 25px;
  
}
.post.col.quote {
  border: none !important;
}
.col .post {

}
p.postmetadata {
  font-size: 0.65em;
  color: #666;  
    margin-bottom: 20px;
}
p.postmetadata a {
  color: #666;
  text-decoration: none;
}
p.postmetadata a:hover {
  color: #DF2646;
}

p.wp-caption {
  font-size: 0.7em;
  font-style: italic;
  padding: 0 0 15px;
  border-bottom: solid 1px #bcbcbc;
  margin-bottom: 40px;

}

.share-col span {
  cursor: pointer;
}
.share-col span:hover {
  color: #fff;
}


.widget {
  margin: 0;
}
.widget ul,
.widget ul li {
  padding: 0;
  margin: 0;
}

.thread-alt {
  background-color: #f8f8f8;
}
.thread-even {
  background-color: white;
}
.depth-1 {
}
.even, .alt {
}

.entry {
  padding-top: 0px;
}
.entry p a:visited {
  color: #b85b5a;
  }

.commentlist li, #commentform input, #commentform textarea {
  font: 0.9em;
  }
.commentlist li ul li {
  font-size: 1em;
}

.commentlist li {
  font-weight: bold;
}

.commentlist li .avatar { 
  float: right;
  border: 1px solid #eee;
  padding: 2px;
  background: #fff;
  }

.commentlist cite, .commentlist cite a {
  font-weight: bold;
  font-style: normal;
  font-size: 1.1em;
  }

.commentlist p {
  font-weight: normal;
  line-height: 1.5em;
  text-transform: none;
  }

#commentform p {
  }

.commentmetadata {
  font-weight: normal;
  }






html>body .entry ul {
  margin-left: 0px;
  padding: 0 0 0 30px;
  list-style: none;
  padding-left: 10px;
  text-indent: -10px;
  }

html>body .entry li {
  margin: 7px 0 8px 10px;
  }

.entry ul li:before {
  content: "\00BB \0020";
  }

.entry ol {
  padding: 0 0 0 35px;
  margin: 0;
  }

.entry ol li {
  margin: 0;
  padding: 0;
  }

.postmetadata ul, .postmetadata li {
  display: inline;
  list-style-type: none;
  list-style-image: none;
  }


/* End Entry Lists */

/* Begin Form Elements */
.entry form { /* This is mainly for password protected posts, makes them look better. */
  text-align:center;
  }



#commentform input {
  width: 170px;
  padding: 2px;
  margin: 5px 5px 1px 0;
  border: solid 1px #e2eff4; 
  }

#commentform {
  margin: 5px 10px 0 0;
  }
#commentform textarea {
  width: 100%;
  padding: 4px;
  border: solid 1px #e2eff4; 
  }
#respond:after {
    content: "."; 
      display: block; 
      height: 0; 
      clear: both; 
      visibility: hidden;
  }
#commentform #submit {
  clear:both;
  padding: 4px; margin: 0;  
  border: solid 1px #e2eff4; 
  background: #fff; 
  cursor: pointer;
  font-size: 10px;
  color: #00749b;
  text-transform:uppercase;
}
#commentform #submit:hover { }  
  

/* Begin Comments*/
.alt {
  margin: 0;
  padding: 10px;
  }

.commentlist {
  padding: 0;
  text-align: justify;
  }

.commentlist li {
  margin: 15px 0 10px;
  padding: 5px 5px 10px 10px;
  list-style: none;

  }
.commentlist li ul li { 
  margin-right: -5px;
  margin-left: 10px;
}

.commentlist p {
  margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
  margin: 5px 0;
  }

.nocomments {
  text-align: center;
  margin: 0;
  padding: 0;
  }

.commentmetadata {
  margin: 0;
  display: block;
  }
/* End Comments */


/***************MEDIA*****************/

img,
.txt img,
p img {
  width: 100%;
  /* object-fit: cover; */
  max-width: 100%;
  }
p img {
  padding: 0;
  }
.post img {
 /*  margin: 25px 0;  */
}
.blog .post img {
  margin-bottom: 15px;
}
.main img {
  margin-bottom: 30px;
}
.woocommerce .thumb  {
   padding-top:10px;
   text-align: center;
}
.woocommerce .thumb img {
	max-width: 150px;
}
h2 img {
	width: auto;
}
.reviews-tab img {
  width: auto;
}
.avatar img {
  max-width: 117px;
}
.feature-image img {
  object-fit: cover;
}
img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  }
img.alignright {
  margin: 0 0 0 20px;
  }
img.alignleft {
  margin: 0 30px 2px 0;

  }
.alignright {
  float: right;
  }
.alignleft {
  float: left
  }

.video-embed {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-bottom: 30px;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
img.ajax-loader {
  width: 16px;
}




/*!
 * Block fixes
 *
 */









.wp-block-columns {
  padding: 25px 0 0;
  max-width: calc(1000px + 7.5%);
  margin-left: auto;
  margin-right: auto;
}
.wp-block-columns.has-3-columns {
  margin-bottom: 20px;
}
.home .wp-block-columns {
  padding: 0 0 0;
  text-align: center;
}
.page-contact-us .wp-block-columns {
  max-width: calc(800px + 7.5%);
}




.wp-block-column {
    margin-bottom: 0;
    padding: 0 3.75%;
}
.wp-block-image {
  padding: 0 0 0 0;
}
.wp-block-image {
  margin-bottom: 75px;
}
figure.wp-block-image:first-child { 
  margin-bottom: 0;
}
.wp-block-columns.has-3-columns .wp-block-image {
  margin-bottom: 35px;
}
.wp-block-columns.has-3-columns a.readmore {
  margin-top: 3px;
}
.wp-block-image a {
  position: relative;
  border: none;
  padding: 0;
    display: block;
  overflow: hidden;
  width: 100%;
}
.wp-block-image a img {
  position: relative;
  width: 100%;
  max-width: 1000%;
  margin: 0;
  transition: all 0.25s ease-out;
}
.wp-block-image a:hover img {
  width: 104%;
  margin: -3.2% -2% 0% -2%;
}

.wp-block-image  {
  position: relative;
  border: none;
  padding: 0;
  display: block;
  overflow: hidden;
  width: 100%;
}

.wp-block-image img {
  position: relative;
  width: 100%;
  max-width: 1000%;
  margin: 0;
  transition: all 0.25s ease-out;
}
.wp-block-image:hover img {
  width: 104%;
  margin: -1% -2% 0% -2%;
}
.wp-block-column .wp-block-image:hover img {
  width: 104%;
  margin: -3.1% -2% 0% -2%;
}
.page-contact-us .wp-block-image:hover img {
  margin: -1.2% -2% 0% -2%;

}




ul.wp-block-gallery {
  max-width: 100%;
  padding-top: 40px;
}
.wp-block-gallery .blocks-gallery-image, 
.wp-block-gallery .blocks-gallery-item {
    margin: 0 !important;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
  overflow: hidden;
}
.wp-block-gallery .blocks-gallery-item img {
  position: relative;
  width: 100%;
  max-width: 1000%;
  margin: 0;
  transition: all 0.25s ease-out;
}
.wp-block-gallery .blocks-gallery-item:hover img {
  width: 104%;
  margin: -3.2% -2% 0% -2%;
}





section.gallery ul {
  max-width: 100%;
  padding-top: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow: hidden;  
  height: 50%;
}
section.gallery .item {
    margin: 0 !important;
/*    flex-grow: 1;*/
    position: relative;
  overflow: hidden;  
  width: 25%;
}
section.gallery .item:first-child,
section.gallery .item:last-child {
  width: 50%;
}

section.gallery .item .thumb {
  width: 100%;
  height: 100%;
  overflow: hidden;  
}


section.gallery .item .thumb img {
  position: relative;
  width: 100%;
  max-width: 1000%;
  margin: 0;
  transition: all 0.25s ease-out;
}
section.gallery .item .thumb:hover img {
  width: 104%;
  margin: -4.1% -2% 0% -2%;
}
section.gallery .item:first-child .thumb:hover img,
section.gallery .item:last-child .thumb:hover img {
  margin: -2% -2% 0% -2%;
}










.wp-block-image.bio {
    max-width: 960px;
    margin: 30px 0px 30px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.wp-block-image.bio img {
  border-top: solid 6px #4ca1a6;
  width: auto;
}

.blog .wp-block-image,
.single .wp-block-image {
  max-width: 960px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 25px;
}
.single .person .wp-block-image {
  max-width: 100%;
}



.wp-block-cover-image.imgrow {
	min-height: 100px;
	flex-direction: row;
}
.imgrow.triple img {
	/* width: 33.3333%; */
}

.wp-block-column img {
	/* width: 80%; */
}
.wp-block-column h3 {
	text-align: left;
}
.home .wp-block-column h4 {
    font-size: 1.625em;
}




.wp-block-cover, .wp-block-cover-image {
    position: relative;
    background-color: transparent;
    background-size: cover;
    background-position: 50%;
    width: 100%;
    margin: 0 0 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.wp-block-cover {
    height: calc(100vw * 0.30);
    min-height: 0;
    background-color: #dff4ef;
}
.wp-block-cover-image.has-background-dim:before {
  background: inherit;
    opacity: 1;
    z-index: 1;
}
.wp-block-cover:last-child {
    margin: 0;
}


.wp-block-cover-image .wp-block-cover-image-text, 
.wp-block-cover-image .wp-block-cover-text, 
.wp-block-cover-image h2, 
.wp-block-cover .wp-block-cover-image-text, 
.wp-block-cover .wp-block-cover-text, 
.wp-block-cover h2 {
    z-index: 1;
    max-width: calc(100vw * 0.37);
/*    padding: calc(100vw * 0.04) 0 0;*/
    font-size: 3.750em;
    line-height: 1.2em;
    font-weight: 300;
    text-align: center;
    color: #425d59 !important;
    margin-bottom: 40px;
    margin-top: 0px;
}
.wp-block-cover-image p,
.wp-block-cover p {
    max-width: calc(475px + 6%);
    padding: 0 3%;
    font-size: 1.375em;
    line-height: 1.2em;
    font-weight: 400;
    text-align: center;
    color: #231f20 !important;
    margin-bottom: 20px;
    margin-top: 0px;
}
.wp-block-cover-image p a.readmore,
.wp-block-cover p a.readmore {
  font-size: 16px;
  background: transparent;
  border-color: #fff !important;
}
.wp-block-cover-image p a.readmore:hover,
.wp-block-cover p a.readmore:hover {
  background: #fff !important;
}
.wp-block-cover-image p a.contact,
.wp-block-cover p a.contact {
  font-size: 16px;
  background: transparent;
  border-color: #b9e7dd;
}
.wp-block-cover-image p a.contact:hover,
.wp-block-cover p a.contact:hover {
  background: #b9e7dd !important;
}

.panel.contact .wp-block-cover{
  margin: 0;
}





.wp-block-embed-youtube {
    max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
}
.wp-block-embed__wrapper iframe {
  width: 100%;
  height: auto;
}

a.fb {
  display: inline-block;
  line-height: 28px;
  padding-left: 34px;
  background: url(images/fb.png) no-repeat 0 center;
}

.wp-block-image.gallery {
  padding: 60px 0 0;
}


.page-contact-us .wp-block-columns {
  padding-bottom: 40px;
}

.page-contact-us .wp-block-columns ul,
.page-contact-us .wp-block-columns ul li {
  margin: 0;
  list-style: none;
  position: relative;
  padding: 0;
}
.page-contact-us .wp-block-columns ul li {
  margin: 0;
  padding: 0;
  list-style-image: none;
  display: block;
  line-height: 40px;
  border-bottom: solid 1px #333e48;

}

.page-contact-us .wp-block-columns ul li:before {
 display: inline-block;
 -webkit-font-smoothing: antialiased;
 font: normal 16px/1 'dashicons';
 vertical-align: middle;
 width: 40px;
}

.page-contact-us .wp-block-columns ul li.address:before {
  content: "\f230";
}
.page-contact-us .wp-block-columns ul li.phone:before {
  content: "\f470";
}
.page-contact-us .wp-block-columns ul li.email:before {
  content: "\f466";
}






.page-contact-us section.contact {
  margin-top: 60px;
}




section.people {
  background: #f6f6f6;
  padding: 40px 0 60px;
}
section.people h3 {
  margin-bottom: 50px;
}



.row-slider .container {
  max-width: 1055px;
}
.carousel.flexslider  {
  position: relative;
  margin: 0 -3% !important;
}
.carousel .slide .tilecontent {
  padding-left: 12% !important;
  padding-right: 12% !important;
  text-align: center;
}
.carousel .slide .tilecontent .thumb {
  margin-bottom: 25px;
}

.carousel .slide .tilecontent .thumb a {
  position: relative;
  border: none;
  padding: 0;
    display: block;
  overflow: hidden;
  width: 100%;
}
.carousel .slide .tilecontent .thumb a img {
  position: relative;
  width: 100%;
  max-width: 1000%;
  margin: 0;
  transition: all 0.25s ease-out;
}
.carousel .slide .tilecontent .thumb a:hover img {
  width: 104%;
  margin: -3.7% -2% 0% -2%;
}





.carousel .slide .tilecontent .txt h4 {
  margin-bottom: 3px;
}
.carousel .slide .tilecontent .txt p.posn {
  text-transform: uppercase;
  margin-bottom: 22px;
}

.person  {
  padding: 0 0 80px;
}
.person .people-meta {
  padding: 20px 0 0;
}

.person p.bc {
  font-size: 0.8em;
  padding-top: 10px;
  margin-bottom: 35px;
}



section.resource {
  padding: 40px 0 60px;
}
section.resource h3 {
  text-align: left;
  margin-bottom: 0px;
}
section.resource h4 {
  margin-top: 30px;
  margin-bottom: 10px;
}
section.resource .author-meta,
section.resource .resource-meta {
  max-width: 810px;
  margin-left: auto !important;
  margin-right: auto !important
}
section.resource .resource-meta {
  padding-top: 20px;
  margin-bottom: 60px;
}
section.resource .author-meta p {
  text-transform: uppercase;
  margin-bottom: 35px;
}

section.resource .weblnk,
section.resource .download {
  width: 47%;
  padding-bottom: 15px;
  border-bottom: solid 2px #b2b6ba;
}
section.resource .weblnk {
  float: right;
}


section.resource .weblnk:before,
section.resource .download:before {
 display: inline-block;
 -webkit-font-smoothing: antialiased;
 font: normal 32px/1 'dashicons';
 vertical-align: middle;
 width: 40px;
}

section.resource .weblnk:before {
  content: "\f11f";
}
section.resource .download:before {
  content: "\f316";
}

section.resource .weblnk a,
section.resource .download a {
  border-bottom-color: rgba(35, 31, 32, 0);
}
section.resource .weblnk a:hover,
section.resource .download a:hover {
  border-bottom-color: rgba(35, 31, 32, 1);
}



section.resources {
  background: #f6f6f6;
  padding: 40px 0 60px;
  margin-top: 60px;
}
section.resources h3 {
  margin-bottom: 50px;
}
section.resources h4 {
  font-size: 1.25em;
  margin-bottom: 3px;
}
section.resources p {
  margin-bottom: 0;
}

section.resources .name p {
  text-transform: uppercase;
}
section.resources .item {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center; 

  min-height: 130px;
  margin-bottom: 23px;
  background: #fff;
}
section.resources .item .icon {
  min-height: 130px;
    width: 125px;
    border-right: solid 1px #b9e7dd;
}
section.resources .item .name {

  width: calc(100% - 330px);
  padding: 0 20px;
}
section.resources .item .button {

  width: 195px;
  padding-left: 20px;
}

section.resources .item .icon.zoom {
  background: url(images/icon-zoom.svg) no-repeat center center;
  background-size: 64px auto;
}
section.resources .item .icon.hpicon {
  background: url(images/icon-hpicon.svg) no-repeat center center;
  background-size: 64px auto;
}



section.upcoming-events {
  padding: 0 0 60px;
/*  margin-top: 60px;*/
}
section.upcoming-events h4,
section.upcoming-events p {
  text-align: center;
}

section.upcoming-events .grid {
  width: 100%;
}
section.upcoming-events .grid ul  {
  width: 100%;
  max-width: calc(1000px + 7.5%);
  position: relative;
  padding-top: 40px;

  display: flex;
  flex-direction: row;
}
section.upcoming-events .grid ul li {
  padding: 0 -3.75% !important;
  flex-basis: 33.333%;
  flex-grow: 0;
}
section.upcoming-events .grid .tilecontent {
  padding-left: 12% !important;
  padding-right: 12% !important;
  text-align: center;
}
section.upcoming-events .grid .tilecontent .thumb {
  margin-bottom: 25px;
  position: relative;
}
section.upcoming-events .grid .tilecontent .thumb .date {
  position:absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  width:56px;
  height:56px;
  padding: 8px;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.1;
  z-index: 20;
}
section.upcoming-events .grid .tilecontent .thumb .date .day {
  display: block;
  width: 100%;
  font-size: 1.5em;
}

section.upcoming-events .grid .tilecontent .thumb a {
  position: relative;
  border: none;
  padding: 0;
    display: block;
  overflow: hidden;
  width: 100%;
}
section.upcoming-events .grid .tilecontent .thumb a img {
  position: relative;
  width: 100%;
  max-width: 1000%;
  margin: 0;
  transition: all 0.25s ease-out;
}
section.upcoming-events .grid .tilecontent .thumb a:hover img {
  width: 104%;
  margin: -3.2% -2% 0% -2%;
}







section.upcoming-events .grid .tilecontent .txt h4 {
  margin-bottom: 3px;
}
section.upcoming-events .grid .tilecontent .txt p.posn {
  text-transform: uppercase;
  margin-bottom: 22px;
}
#tribe-events-pg-template, .tribe-events-pg-template {
    margin: 0 auto;
    max-width: 1000%;
}
#tribe-events-content-wrapper {
    max-width: 1055px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 80px;
}
#tribe-events-single-content-wrapper {
    max-width: 810px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.event-item {
  margin-bottom: 40px;
}
.event-item h4 {
  font-size: 1.625em;
  margin-bottom: 3px;
}
.event-item h4 a {
  border-color: transparent;
}

.event-item .thumb .date {
  position:absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  width:56px;
  height:56px;
  padding: 8px;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.1;
  z-index: 20;
}
.event-item .thumb .date .day {
  display: block;
  width: 100%;
  font-size: 1.5em
}


.event-item .thumb a {
  position: relative;
  border: none;
  padding: 0;
    display: block;
  overflow: hidden;
  width: 100%;
}
.event-item .thumb a img {
  position: relative;
  width: 100%;
  max-width: 1000%;
  margin: 0;
  transition: all 0.25s ease-out;
}
.event-item .thumb a:hover img {
  width: 104%;
  margin: -3.1% -2% 0% -2%;
}




.tribe-events-loop .tribe-events-event-meta {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 15px;
  text-transform: uppercase;
}

#tribe-events .wp-block-image.banner {
    max-width: 100%;
}
.events-list .tribe-events-loop {
    max-width: 1055px;
    margin: 0 auto;
}
.tribe-events-single h3 {
  text-align: left;
}

#tribe-bar-form {
    background: transparent;
    margin: 0;
    position: relative;
    width: 100%;
}


.tribe_community_edit #tribe-add-exclusion,
.tribe_community_edit .button,
.tribe_community_edit .button-primary,
.tribe_community_edit .button-secondary,
.tribe_community_edit .tribe-add-recurrence.tribe-button,
.tribe_community_edit .tribe-button,
.tribe_community_list #tribe-add-exclusion,
.tribe_community_list .button,
.tribe_community_list .button-primary,
.tribe_community_list .button-secondary,
.tribe_community_list .tribe-add-recurrence.tribe-button,
.tribe_community_list .tribe-button,
.tribe_community_edit .tribe-button.submit,
.tribe_community_list .tribe-button.submit,
input[type="submit"]#wp-submit,
input[type="submit"].tribe-button,
input[type="reset"], 
input[type="button"],
#tribe-bar-form .tribe-bar-submit input[type=submit] {
  font-family: inherit;
  font-size: 1em;
  margin: 6px 0 0;
  /* line-height: 1; */
  height: 40px;
  line-height: 40px;
  width: 165px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  overflow: visible;
  padding: 0 0 0 20px;
  font-weight: 700;
  border-radius: 0;
  left: auto;
  color: #231f20;
  background-color: #b9e7dd;
  border: solid 1px #b9e7dd !important;
  display: inline-block;
  background-image: none;
  box-shadow: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: 0em;
  text-align: left;
    -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

#tribe-bar-form .tribe-bar-submit input[type=submit]:hover {
  background: #fff;
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
  background-color: #b9e7dd;
  color: #231f20;
  border-radius: 0;
}





.tribe-bar-date-filter,
.tribe-bar-search-filter {
  padding: 5px 15px 0 0;
}
.tribe-bar-views-inner {
  background: transparent;
  padding: 5px 0 8px;
  height: auto;
}

#tribe-bar-form input[type=text] {
    background: #fff;
    border: none;
  border: solid 1px #b9e7dd !important;
    border-radius: 0;
    box-shadow: none;
    font-style: normal;
    font-weight: 400;
    height: auto;
    height: 40px;
    line-height: 40px;
    padding: 5px;
    width: 100%;
}
#tribe-bar-form input[type=text]:focus {
    border-bottom: none;
    outline: none;
}

button#tribe-bar-views-toggle {
  border: solid 1px #b9e7dd !important;
  padding-top: 0;
    height: 40px;
    line-height: 40px;
}

#tribe-bar-views-toggle:after {
    top: 15px;
}
#tribe-bar-views .tribe-bar-views-option {

    line-height: 40px;

}






.tribe-events-calendar .tribe-events-tooltip {
  padding: 10px 10px 10px 10px;
  text-align: left;
}
.tribe-events-tooltip:not(.tribe-event-featured) .tribe-events-event-thumb {
    padding: 0;
}
.tribe-events-tooltip .tribe-events-event-body .tribe-events-event-thumb img {
    max-height: 100%;
    max-width: 100%;
}
#tribe-events-content .tribe-events-tooltip h4 {
  line-height: 1 !important;
  font-size: 14px;
  font-weight: 400 !important;
  color: #231f20 !important;
  margin-top: 10px !important;
  margin-bottom: 0px !important;
  text-align: left;
}
.tribe-events-tooltip .tribe-event-duration {

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

}
.tribe-events-tooltip .tribe-events-event-thumb {
    float: none;
}
.tribe-events-loop h3 {
  font-family: 'Muli', sans-serif;
  color: #698a82;
}

.tribe-events-single .date {
  float: left;
  background: #b9e7dd;
  width:95px;
  height:95px;
  padding: 8px;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: 1.625em;
  margin-right: 30px;
  margin-bottom: 40px;
}
.tribe-events-single .date .day {
  display: block;
  width: 100%;
  font-size: 1.5em
}
.tribe-events-single h3 {
    margin-bottom: 5px;
    line-height: 1.2;
}
.tribe-events-single p.date-meta {
  text-transform: uppercase;
}
.tribe-events-content {
  clear: both;
}
.tribe-events-cal-links {
  text-align: center;
  padding-bottom: 20px;
}



.tribe-events-single .wp-block-columns {
  padding-bottom: 40px;
  max-width: calc(810px + 7.5%);
  margin: 0 -3%;
}

.tribe-events-single .wp-block-columns ul,
.tribe-events-single .wp-block-columns ul li {
  margin: 0;
  list-style: none;
  position: relative;
  padding: 0;
}
.tribe-events-single .wp-block-columns ul li {
  margin: 0;
  padding: 0;
  list-style-image: none;
  display: block;
  line-height: 40px;
  border-bottom: solid 1px #333e48;

}

.tribe-events-single .wp-block-columns ul li:before {
 display: inline-block;
 -webkit-font-smoothing: antialiased;
 font: normal 22px/1 'dashicons';
 vertical-align: middle;
 width: 40px;
 color: #2e4252;
}

.tribe-events-single .wp-block-columns ul li.address:before {
  content: "\f230";
}
.tribe-events-single .wp-block-columns ul li.phone:before {
  content: "\f470";
}
.tribe-events-single .wp-block-columns ul li.email:before {
  content: "\f466";
}
.tribe-events-single .wp-block-columns ul li.edate:before {
  content: "\f145";
}
.tribe-events-single .wp-block-columns ul li.time:before {
  content: "\f469";
}
.tribe-events-single .wp-block-columns ul li.venue:before {
  content: "\f227";
}


#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
  text-align: left !important;
}
#tribe-events-content .tribe-events-calendar td.tribe-events-has-events:hover {
    background: #b9e7dd;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
}













/*
@media (min-width: 600px){
  .wp-block-column {
      flex-basis: 100%;
      flex-grow: 0;
  }
}

*/










.shop p.price  {
  font-size: 2.222em;
  /* font-style: italic; */
  color: #000;
}
.shop p.price  {
  font-size: 1.333em;
  line-height: 34px;
  margin-bottom: 0px;
  padding-bottom: 0;
}
.shop .quantity {
  position: relative;
  /* margin-top: 2px; */
  display: inline-block;
  /* padding-right: 30px; */
  /* margin-bottom: 5px; */
}
.woocommerce.archive .basket {
  padding: 30px 0 0;
  font-size: 0.9em;
  text-align: center;
  border-bottom: solid 1px #dedede;
  margin-bottom: 35px;
}

.woocommerce.archive .basket .total span {
  padding-right: 5px;
}
.woocommerce.archive .basket .count a {
  margin-left: 5px;
}
.woocommerce form .form-row textarea {
    height: 150px;
  }

#add_payment_method #payment ul.payment_methods, 
.woocommerce-cart #payment ul.payment_methods, 
.woocommerce-checkout #payment ul.payment_methods,
#add_payment_method #payment ul.payment_methods li, 
.woocommerce-cart #payment ul.payment_methods li, 
.woocommerce-checkout #payment ul.payment_methods li {
  list-style: none !important;
  list-style-image: none !important;
}



.woocommerce {
  padding-top: 50px;
}
body.woocommerce {
  padding-top: 0;
}
.checkout{
  padding-bottom: 50px;
}

.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.woocommerce a.added_to_cart,
#add_payment_method .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt,
a.readmore,
a.contact,
a.view-events {
  font-family: inherit;
  font-size: 1em;
  margin: 0;
  /* line-height: 1; */
  height: 45px;
  line-height: 45px;
  width: 145px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  overflow: visible;
  padding: 0;
  font-weight: 700;
  border-radius: 0;
  left: auto;
  color: #231f20;
  background-color: transparent;
  border: solid 1px #b9e7dd !important;
  display: inline-block;
  background-image: none;
  box-shadow: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: 0em;
}

a.readmore,
a.contact,
a.view-events {
  text-align: center;
}



.woocommerce #respond input#submit.disabled, 
.woocommerce #respond input#submit:disabled, 
.woocommerce #respond input#submit:disabled[disabled], 
.woocommerce a.button.disabled, 
.woocommerce a.button:disabled, 
.woocommerce a.button:disabled[disabled], 
.woocommerce button.button.disabled, 
.woocommerce button.button:disabled, 
.woocommerce button.button:disabled[disabled], 
.woocommerce input.button.disabled, 
.woocommerce input.button:disabled, 
.woocommerce input.button:disabled[disabled] {
    color: #fff;
    background-color: #8b6e6e;
    cursor: not-allowed;
    opacity: .5;
    padding: 0 15px 10px;
}
#add_payment_method .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
  width: 100%;
  font-size: 1.2em;
  color: #fff !important;
  background-color: #2e4252 !important;
  line-height: 1.5;
}




.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: transparent;
    color: #787878;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 10px;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce a.added_to_cart:hover
#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover, 
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover, 
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover,
a.readmore:hover,
a.view-events:hover
 {
    background-color: #b9e7dd !important;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    background-color: transparent;
    text-decoration: none;
    background-image: none;
    color: #787878;
}
.woocommerce .cart .button, .woocommerce .cart input.button {
    float: none;
    /* line-height: 3px; */
    padding: 0 15px 10px;
}


.woocommerce a.button.add_to_cart_button {
  position: relative;
  vertical-align: middle;
}


.woocommerce .quantity .qty {
  position: relative;

  vertical-align: middle;
    width: 56px;
    height: 36px;
    line-height: 36px;
    border: solid 1px #000;
    padding: 0;
    margin: 0 0 0px;
}
.payment_method_paymentexpress img {
  width: auto;
}


.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float: none;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce .shop table td {
  padding: 10px;
  border-bottom: solid 1px #dedede;
}
.woocommerce .shop table tr  td:first-child {
  padding: 10px 10px 10px 30px;
}
.shop_table td {
  padding: 10px 10px 0 0;
}
#add_payment_method table.cart td, #add_payment_method table.cart th, .woocommerce-cart table.cart td, .woocommerce-cart table.cart th, .woocommerce-checkout table.cart td, .woocommerce-checkout table.cart th {
    vertical-align: baseline;
}

.cart-collaterals {
  margin-bottom: 50px;
}
h3#order_review_heading {
  margin-top: 35px;
}

.wine-wrap {
  padding: 0 0 50px;
}

.wine-item {
  padding: 40px 0;
  border-top: solid 1px #dedede;
}
.wine-item .buy {
  text-align: center;
}
.wine-item .buy .quantity {
  margin-bottom: 10px;
}
.wine-item .buy p.price {
  font-size: 1.666em;
}
.wine-item .buy .add_to_cart_button {
  margin-bottom: 5px;
}
.cart-contents span.space {
  display: none;
}

p.cart-empty,
p.return-to-shop {
  text-align: center;
}
p.return-to-shop {
  margin-bottom: 50px;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {

    margin-bottom: 2em;
    background-color: #fefefe;
    color: #515151;
    border-top: 3px solid #2e4252;
}
.woocommerce-info {
    border-top-color: #2e4252;
}
.woocommerce-info::before {
    color: #2e4252;
}

.woocommerce h3 label {
    color: #2e4252;
}


.woocommerce-order, .woocommerce-error, .woocommerce-info, .woocommerce-message,.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.woocommerce-thankyou-order-received,
.woocommerce-thankyou-order-failed,
h2.woocommerce-order-details__title,
h2.woocommerce-column__title {
  font-size: 1.5em;
  text-align: left;
}
.woocommerce-order {
  margin-bottom: 50px;
}



.page .woocommerce {
    max-width: 960px;
    margin-left: auto !important;
    margin-right: auto !important;
}





/***** FlexSlider *****/ 
.flexslider {
  position: relative;
}
.flexslider ul.slides,
.flexslider li.item {
  width: 100%;
  max-width: 1000%; 
}

.flexslider ol,
.flexslider ul {
  padding-right: 0 !important;
  padding-left: 0 !important; 
  list-style: none !important;
  list-style-type: none !important; 
}
.flexslider ol li,
.flexslider ul li {
  margin: 0;
  padding-right: 0 !important;
  padding-left: 0 !important; 
  list-style: none !important;
  list-style-type: none !important; 
}
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;zoom: 1;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider { position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px;-webkit-transition: all 1s ease;-moz-transition: all 1s ease;transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0; width: 100%; position: absolute; z-index: 300000; top: 50%;   max-width: 1000%;  }
.flex-direction-nav a {   
  width: 50px; height: 50px; 
  margin:  0 0; display: block; 
  background: url(images/prev-next-slider.png) no-repeat 0 0; 
  /* border-radius: 99%; */
  position: absolute; 
  top: 0; 
  margin-top: -25px;
  cursor: pointer; 
  text-indent: -9999px;  /* -webkit-transition: all .3s ease;*/
  border: none;
}
.flex-direction-nav .flex-next {right: 25px; }
.flex-direction-nav .flex-prev {background-position: 100% 0; left: 25px;}
.flexslider .flex-next:hover {/* background-position: 100% 100%; */}
.flexslider .flex-prev:hover {/* background-position: 0 100%; */ }
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

.carousel .flex-direction-nav { top: 30%;}
.carousel .flex-direction-nav a {  background: url(images/prev-next-slider-stays.png) no-repeat 0 0; }
.carousel .flex-direction-nav .flex-next {right: -60px;}
.carousel .flex-direction-nav .flex-prev {background-position: 100% 0; left: -60px;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; z-index: 40000000000000;
  bottom: 20px; text-align: right; right: 25px; }
.flex-control-nav li {margin: 0 5px !important; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 15px; height: 15px; display: block; background: transparent; cursor: pointer; text-indent: 9999px; 
  border-radius: 99%;
  border: solid 1px #fff;
  cursor: pointer;   }

.flex-control-paging li a:hover {  
  background: #fff;  
}
.flex-control-paging li a.flex-active {  
  background: #fff; 
  width: 15px; height: 15px;
  cursor: default; 
}

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; }
  .flex-direction-nav .flex-next {opacity: 1; }
}

.flex-direction-nav,
.flex-direction-nav li {
  height: 0;
  line-height: 0;
}


.wpf_comment_container .nav {
  display: flex !important;
}
.wpf_comment_container .popover-body li, #wpf_general_comment_tabs ul li {
  margin: 0;
}