/*
Theme Name: Ant Mackenzie 1
Theme URI: http://antmackenzie.co.nz
Author: Thinkbox
Author URI: http://thinkbox.co.nz
Description: Theme for Ant Mackenzie.
Version: 1.0

	This theme was designed and 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=Droid+Serif:400,400italic,700|Hind:400,700,300);

/* 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: 0 2.5%; 
  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;
}


















/**** 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;
}
.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: 10px;
}



/***************TYPOGRAPHY*****************/


body {
  font-size:14px !important; 
  font-family: 'Droid Serif', serif;
  font-weight: 400; 
  text-align: left;    
  color: #5a5956;
  }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Hind', sans-serif; 
  margin: 0 0 20px 0; 
  padding: 0; 
  letter-spacing: normal; 
  color: #5a5956;
  line-height: 1.5;
  font-weight: 700; 
}

p, li, td {     
  margin: 0 0 10px 0; 
  padding: 0; 
  letter-spacing: normal;
  line-height: 1.5;
}
li, td {     
  margin: 0; 
}


 h1 {  
  font-size:2.5em;
  text-transform: uppercase;
}
.blog-wrapper h1 {  
  color: #ab0634;
  margin: 0 0 0 0; 
}

h2 {  
  font-size:1.9em;
}
.home h2 {
  color: #fff;
  letter-spacing: 0.1em;
  font-weight: 800; 
  line-height: 1;
  text-transform: uppercase;
}
#wine-wrapper h2 {
  font-size:1.8em;
  color: #5a5956;
  font-weight: 800; 
  line-height: 1;
  text-transform: uppercase;
  margin-top: 10px;
}
#wine-wrapper h2 .region {
  font-weight: 300; 
}
.page-theory-practice #wine-wrapper h2 {
  color: #ffc222;
}
.page-craft-farm #wine-wrapper h2 {
  color: #5a5956;
}
.page-tono #wine-wrapper h2 {
  color: #e5b53b;
}
.blog-wrapper h2 {
  font-size:1.6em;
  margin: 0 0 5px 0; 
  color: #f8bd2a;
}




h3 {  
  font-size:1.5em; 
  font-weight: 300; 
  text-transform: uppercase;
  margin: 40px 0 25px 0; 
}
.about-content h3 { 
  width: 75%;
}
#wine-wrapper h3 {
  font-size:1.6em; 
  font-weight: 800; 
  margin: 0 0 5px 0; 
}

footer h3 {
   margin: 0 0 25px 0;  
   text-align: center;
}
.sidebar h3 {
  font-size:1em; 
  font-weight: 800; 
  margin: 0 0 5px 0; 
}
#wine-content h3 {
  margin-top: 0; 
}

h4 { 
  font-size:1.15em; 
  font-weight: 300; 
}
#wine-wrapper h4 {
  padding: 15px 0 5px 0; 
  text-transform: uppercase;
}
.page-theory-practice #wine-wrapper h4 a {
  color: #ffc222;
}
.blog-wrapper h4 {
  font-style: italic;
  color: #ab0634;
  font-family: 'Droid Serif', serif;
  font-weight: 400; 
}
.blog-summary h4 {
  margin: 0 0 5px 0; 
  
}



h5 {  
  font-size:1.3em; 
  font-weight: 400; 
}

h6 { 
  font-size:0.75em;
}

footer h3,
footer p {
  color: #5a5956;
}

.card .content p {
  font-family: 'Hind', sans-serif; 
  font-size:1.8em;
  line-height: 1.6;
  letter-spacing: 0.1em;
  font-weight: 300; 
  text-transform: uppercase;
  color: #fff;
  padding: 0;
}
.winenav .card .content p {
  font-family: 'Droid Serif', serif;
  font-size:1.1em;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-weight: 400;    
  color: #5a5956;
  text-transform: none;
  margin: 0;
}
#wine-wrapper p:first-child {
  font-family: 'Hind', sans-serif; 
  font-size:1.5em; 
  font-weight: 300; 
  text-transform: uppercase;
  margin: 0 0 25px 0; 
}


.address p {
  font-family: 'Hind', sans-serif; 
  font-size:1.1em;
  line-height: 1.8;
  font-weight: 400; 
  text-transform: uppercase;
}


.button p {
  margin-bottom: 0;
  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
}
.button:hover p,
.button.active p {
  color: #fff;
}
footer .copyright p {
  font-size: 0.8em;
  text-transform:  none !important;
}
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; }  

input, textarea { 
  font-size:1em; line-height: 1.5;  color: #333; letter-spacing: normal;  
  font-family: "Mercury Text G1 A", "Mercury Text G1 B", 'Times New Roman', Times, serif; 
  padding: 0 10px;
}
input{ 
  line-height: 34px; height: 34px;
}


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: #f8bd2a;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
a:hover {

  text-decoration: underline;
}
a:active {
  text-decoration: underline;
}
a img {
  border: none;
}

.blog h2 a {
  color: #f8bd2a;
}


.banner-text p a {
  color: #fff;
  font-weight: 600; 
  font-family: "Raleway", Verdana, sans-serif; 
}
footer a {
/*   color: #d1d3d4;
text-decoration: underline; */
  text-transform:  none !important;
}



a.btn {
  display: inline-block;
  width: 243px;
  height: 54px;
  line-height: 54px;
  color: #645465;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  font-style: normal;
  padding: 0 40px 0 15px;
  margin-top: 55px;
  margin-right: 30px;
  background: #fecf5d;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    float: left;
}
a.btn:hover,
.page-items a:hover {
  background: #736091 url(images/btn-arrow.png) no-repeat right center;
  color: #fff;
}
a.btn.btn-2-line {
  line-height: 18px;
  padding-top: 9px;
  padding-bottom: 7px;
}


.textright {
  text-align: right;
}

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: 600;
}
em {
  font-style:italic;
     
}
small {
  font-size: 0.75em;
}
hr {
  display: block;
  border: 0;
  width: 100%;
  height: 1px;
  background-color: #645465;
  color: #645465;
  margin: 20px 0 15px;
  padding: 0;
}

.portfolio ul#list li a.detail hr {
  width: 75px;
  height: 1px;
  background-color: #fff;
  color: #fff;
  margin: 10px auto 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: 600;
  line-height: 1.5;
}
figcaption small {
  font-size: 0.8em;
  font-style: italic;
}

blockquote {
  width: 100%;
  margin: 0 0 15px;
  padding: 0;
  font-size:0.9em;
  line-height: 1.1em;
}
cite {
  font-size: 9px;
  line-height: 1em;
  font-weight: 700;
  text-transform:  uppercase;
  display: block;
  padding: 0;
  margin: 10px 0 0;
}

select {
  line-height: 46px;
  padding:3px;
  font-size: 1em;
  border: solid 1px #dfdfdf;
  -webkit-box-shadow: inset 0px 1px 8px 0px #dfdfdf;
  -moz-box-shadow:    inset 0px 1px 8px 0px #dfdfdf;
  box-shadow:         inset 0px 1px 8px 0px #dfdfdf;
  line-height: 23px;
  margin-bottom: 10px !important;
  font-weight: 500;
  background-color: #FFF;
  color: #5c616f;
  vertical-align: middle !important;
  border-radius: 0;
}
input, select { 
    /* -webkit-appearance: none;  */
    outline: none;
}






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

body {
  margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0;
  width: 100%; height: 100%; 
  /* background: #58595b; */
  background: #989898 url(images/bg.jpg) no-repeat center top;
  background-size: 100% auto;
  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;
}
nav {
  z-index: 5;
}
section {
  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: 990px;
  margin: 0 auto !important;
  background: #fff;
}
.content {
  padding-bottom: 0px;
}
section.main .container  {
  padding-top: 60px;
}
section.homenav {
  z-index: 3;

}

/*==============HEADER=================*/
header {
  margin-top: 33px;

}
header .container {
  height: 60px;
  border-bottom: solid 1px #fcfaf5;
}




header #logo {
  margin-left: 3.5% !important;
}

header #logo a {
  display: block;
  position: relative;
  margin: 12px 0 0 0px;
  width: 263px;
}





.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;
}


.home .head-content {
  width: 100%;
  z-index: 2;
  background: none;
  padding-bottom: 30px;
}
.home .head-content .content {
      margin-bottom: 35px;
}


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


footer { 
  position: relative;
  z-index: 1001;
  margin-bottom: 35px;
}

footer .container {
  background: #fcfaf5;
    box-shadow: 0 1px 2px 0 rgba(110,109,109,0.5);
  padding-bottom: 30px;
 /*  border-top: solid 1px #e9ecf3; */
}
footer .col {
  padding-top: 40px;
  min-height: 350px;
}
footer .col.twtl {
  padding-top: 30px;
}


.copyright {
  text-align: center;
}
.copyright p {
  margin: 20px 0 0;
}


footer .address {
  text-align: center;
}
footer .menu ul#menu-socialmenu {
  text-align: center;
  margin-top: 0;

}




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

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

.homenav .container {
  background: #000;
/*   border-top: solid 1px #efefef; */

}
.homenav.winenav .container {
  background: #fff;
}
.homenav .col {
  position: relative;
  padding-top: 33.333333%;
  overflow: hidden;
}
.homenav .col .thumb {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  padding-top: 100%;
  width: 100%;
  margin: 0 auto;
  background-size: 100%;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out; 
}
.homenav .col:hover .thumb {
  /* opacity: 0.7; */
  width: 104%;
  padding-top: 104%;
  left: -2%;
  top: -2%;
}
.winenav .col {

} 
/* .winenav .col  {
  border-left: solid 1px #e9ecf3;
}
.winenav .col:first-child  {
  border-left: none;
} */
.winenav .col .thumb {
  opacity: 1;
    -webkit-transition: all 0.18s ease-out;
    -moz-transition: all 0.18s ease-out;
    transition: all 0.18s ease-out; 
}
.winenav .col:hover .thumb {
padding-top: 102%;
opacity: 1;
top: -1%;
/*   opacity: 0.2;
width: 100%;
left: 0%; */
}


a.card {
  cursor: pointer;
}


.homenav .col a.card {
  position: absolute;
  z-index: 2;
  top: 0;
/*  border: solid 18px transparent; */
   padding-top: calc(200% - 40px);
  display: block;
  width: 100%;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out; 
}
.homenav .col:hover a.card {
 /*  border-color: #3e3d3c; */
}

 .homenav .col a.card .title {
  position: absolute;
  top: 0%;
  width: 100%;
  height: calc(50%);
  text-align: center;
  opacity: 1;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out; 
}
 .homenav .col a.card:hover .title {
   opacity: 0; 
 }





.homenav .col a.card .content {
  position: absolute;
  top: 0%;
  width: 100%;
  height: calc(50%);
  text-align: center;
  opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out; 
}

.homenav .col:hover a.card .content {
  opacity: 1;
}
.homenav.winenav .col a.card {
  padding-top: 0;
  text-decoration: none;
}
.homenav.winenav .col a.card .content {
  position: relative;
  padding-top: 160px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  opacity: 1;

}


.blog-summary .container {
  padding-bottom: 15px;
}




.about-wrapper .container {
  background: #f2f0ee;
}

.about-content {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 8%;
  padding-right: 8%;
  background: #fff;
}

.about-content>div  {
  padding-top: 130px;
  background: url(images/ant-mackenzie-big-lockup.png) no-repeat 0 0;
}

.page-where-to-buy .about-content>div {
  background: #fff;
  padding-top: 0px
}




.label-wrapper .label {
  padding-top: 200px;
}
.label-content {
  padding-bottom: 60px;
/*   padding-left: 8%;
padding-right: 8%; */

}


#wine-wrapper {
  padding: 0;
}
#wine-wrapper table {
  margin-bottom: 30px;
}


.blog-head {
  border-bottom: solid 1px #fcfaf5;
  margin-bottom: 25px;

}
.post{
  border-bottom: solid 1px #fcfaf5;
  margin-bottom: 25px;
}


.blog-wrapper .container {
  padding-top: 20px;
  padding-bottom: 50px;
}
.single .blog-wrapper .container {
  padding-top: 40px;
  padding-bottom: 50px;
}

.navigation {
  padding-top: 30px;
}

.widget {
  padding-bottom: 20px;
}




/*=================NAVIGATION=================*/

.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; 
}
.nav.hrz ul li {
  float: left;
}
.nav.vert ul li {
  float: none;
}
.nav.hrz.center ul {
  float: left !important;
  left: 50% !important;
}
.nav.hrz.center 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 */



.main-menu {
  display: none;
  position: absolute; 
  top: 60px; 
  right: 0; 
  z-index: 100000;
  height: auto; 
  width: 33.3333%; 
  -webkit-box-shadow: -1px 3px 10px 0px rgba(50, 50, 50, 0.6);
  -moz-box-shadow:    -1px 3px 10px 0px rgba(50, 50, 50, 0.6);
  box-shadow:         -1px 3px 10px 0px rgba(50, 50, 50, 0.6);
}

.main-menu .mainmenu {
  position: relative;
  z-index: 2;
  height: auto; 
  width: 100%;
  margin: 0; padding: 20px;
  background: rgba(255,194,34,0.9);
}

.main-menu .point {
  position: absolute;
  z-index: 1;
  top: -10px;
  right: 57px;
  display: block;
  width: 10px;
  height: 10px;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid rgba(255,194,34,0.9);


}




.mainmenu>ul { 
  margin-top: 20px;
     overflow: hidden;
  _overflow:visible;
  _zoom:1;
}
.mainmenu>ul>li {  
  height: auto; 
  width: 100%; 
  z-index:100; 
  display:block; 
  float: none !important;
  padding: 0 0 10px;
}
.mainmenu>ul li.where {
  border-top: solid 1px rgba(109,110,113,0.3);
  margin-top: 5px;
  padding-top: 5px;
  display: inline-block;
}
.mainmenu>ul li a  { 
 display:block; 
    width: 100%; 
    margin: 0;
    padding: 0px;
    font-family: 'Hind', sans-serif; 
    font-size: 1.1em;
    line-height: 32px;
    text-align: left;
    color: #6d6e71;
    font-weight: 400; 
    letter-spacing: normal;
    text-transform: uppercase;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.mainmenu>ul>li>a { 
    font-weight: 700; 
}
.mainmenu>ul li span.nav_desc { 
    position: relative;
    display: block;
    margin-top: -4px;
    padding-left: 10px;
    font-family: 'Hind', sans-serif; 
    font-size: 1em;
    line-height: 24px;
    text-align: left;
    color: #6d6e71;
    font-weight: 400; 
    letter-spacing: normal;
/*     text-transform: uppercase; */
}
  .mainmenu>ul>li.current-menu-item,
  .mainmenu>ul>li.current_page_parent,
  .mainmenu>ul>li.current-page-ancestor,
  .mainmenu>ul>li.current-our-work-item,
  .mainmenu>ul>li.current-menu-item:hover,
  .mainmenu>ul>li.current_page_parent:hover {
    
  } 
  .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>a:hover,
  .mainmenu>ul>li.current_page_parent>a:hover {
    text-decoration: none; 
    cursor: default;
  } 
  .mainmenu>ul>li>a:hover,
  .mainmenu ul li.current-page-ancestor>a,
  .mainmenu ul li.current_page_item>a,
  .mainmenu ul li.current-page-parent>a {
    /* color: #00bce4; */
  }



a.nav-trigger {
  position: absolute;
  z-index: 2000; 
  top: 10px;  
  right: 3.5%;
  background: url(images/bg-primary-nav-trigger.png) no-repeat right top;
  border: none;
  height:40px;
  width: 40px;
  margin: 0;
  text-indent: -9999px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.responsive-nav-trigger.is-active {
  background-position: right bottom;
  top: 0px;  
}


.responsive-nav.is-scrolled .responsive-nav-trigger {
  top: 0;
  right: 0;
}







a.floattotop {
  display: none;
  overflow: hidden;
  width: 52px;
  height: 52px;
  z-index: 900000;
  position: fixed;
  bottom: 52px;
  right: 52px;
  top: auto;
  background: url(images/bg-backtotop.png) no-repeat center center;
  -webkit-border-radius: 99px;
  -moz-border-radius: 99px;
  -icab-border-radius: 99px;
  -khtml-border-radius: 99px;
  border-radius: 99px;
  text-indent: -9999px
}
a.floattotop span {


}


.nextprev { 
  position: absolute;
  top: 0px;
  right: 0;
  z-index: 10000;
  display: block;
  width: auto;
  height: auto;
}
.nextprev a {
  font-size: 0.92em;
  font-weight: 600;
  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: transparent;
  opacity: 0.5;
}
#overlay.is-active {
  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; 
}
.nav.hrz ul li {
  float: left;
}  
.nav.hrz.center ul {
  float: left !important;
  left: 50% !important;
}
.nav.hrz.center ul li {
  right: 50% !important;
}*/

ul#menu-socialmenu,
ul#menu-socialmenu li,
ul#menu-socialmenu-1 ,
ul#menu-socialmenu-1  li {
  margin: 0;
  list-style: none;
  position: relative;
  padding: 0;
}
ul#menu-socialmenu li,
ul#menu-socialmenu-1  li {
  margin: 0;
  padding: 0;
  list-style-image: none;
  display: block;
}

ul#menu-socialmenu-1 {
  float: left !important;
  left: 50% !important;
}
ul#menu-socialmenu li {
  margin-left: 5px;
  float: left;
}
ul#menu-socialmenu-1 li {
  margin-left: 5px;
  float: left;
  right: 50% !important;
}
ul#menu-socialmenu li:first-child,
ul#menu-socialmenu-1 li:first-child {
  margin-left: 0px;
}

ul#menu-socialmenu li a,
ul#menu-socialmenu-1 li a {
  display: block;
  width: 44px;
  height: 42px;
  background: url(images/social-icons.png) no-repeat center top;
  font-size: 1.2em;
  font-style: italic;
  color: #5a5956;
  text-indent: -9999px;
  opacity: 1;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

ul#menu-socialmenu-1 li.email a { background-position: center 0; }
ul#menu-socialmenu-1 li.twitter a { background-position: center -90px; }
ul#menu-socialmenu-1 li.facebook a { background-position: center -180px; }
ul#menu-socialmenu-1 li.linkedin a { background-position: center -270px; }
ul#menu-socialmenu-1 li.instagram a { background-position: center -360px; }

ul#menu-socialmenu li a:hover,
ul#menu-socialmenu-1 li a:hover {
  opacity: 0.7;
}


header .socialmenu {
  padding-right: 110px;
  padding-top: 15px;
}
header .socialmenu ul {
  float: right;
}
header .socialmenu ul#menu-socialmenu li a {
  width: 32px;
  height: 32px;
  background: url(images/social-icons-header.png) no-repeat center top;
}
header .socialmenu ul#menu-socialmenu li.twitter a { background-position: center -40px; }
header .socialmenu ul#menu-socialmenu li.facebook a { background-position: center -80px; }
header .socialmenu ul#menu-socialmenu li.linkedin a { background-position: center -120px; }
header .socialmenu ul#menu-socialmenu li.instagram a { background-position: center -160px; }




.winemenu.nav ul li ul {
    display: block;
}
.winemenu.nav ul li {
  font-family: 'Hind', sans-serif; 
  font-size:1.6em;
  color: #5a5956;
  font-weight: 800; 
  line-height: 1.4;
  text-transform: uppercase;
}
.winemenu.nav ul li ul li a {
  font-family: 'Hind', sans-serif; 
  font-size:0.5em;
  color: #5a5956;
  font-weight: 300; 
  text-transform: uppercase;
}
.winemenu.nav>ul>li {
    padding-bottom: 20px;
}
.winemenu.nav>ul>li.overview a {
  font-weight: 300; 
  color: #5a5956;
}
.winemenu.nav>ul>li.overview a.active {
  color: #f8bd2a;
}
.winemenu.nav>ul>li.return a {
  font-size: 0.7em;
  font-weight: 300; 
  color: #5a5956;
  text-transform: none;
}
.winemenu.nav>ul>li a:hover {
  color: #ffc222;
}
.page-theory-practice .winemenu.nav ul li.active,
.page-theory-practice .winemenu.nav ul li.active a.active {
  color: #ffc222;
}
.page-craft-farm .winemenu.nav ul li.active,
.page-craft-farm .winemenu.nav ul li.active a.active {
  color: #b9bf97;
}
.page-tono .winemenu.nav ul li.active,
.page-tono .winemenu.nav ul li.active a.active {
  color: #f8bd2a;
}

/***************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;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif; 
  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-family: Helvetica, Arial,  sans-serif;
  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 */





/***************PLUGINS*****************/

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50200000;
  overflow: hidden;
  position: fixed;
  background: #000;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50300000;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  height: 100%;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 50500000; 




}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 90%;
  max-width: 620px;
  padding: 8px;
  cursor: auto; 
  background: #fff;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none; }

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 50400000; }

.mfp-preloader a {
  color: #cccccc; }

.mfp-preloader a:hover {
  color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  z-index: 50600000; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 10px;
  top: 10px;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #fff;
  font-style: normal;
  font-size: 40px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 11px; }

.mfp-close-btn-in .mfp-close {
  color: #000; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #fff;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px; }

.mfp-arrow {
  position: absolute;
  top: 0;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

.mfp-arrow:active {
  margin-top: -54px; }

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1; }

.mfp-arrow:before, .mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: solid transparent; }
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  opacity: 0.8;
  border-top-width: 12px;
  border-bottom-width: 12px;
  top: 8px; }
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 20px;
  border-bottom-width: 20px; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after,
  .mfp-arrow-left .mfp-a {
    border-right: 12px solid black;
    left: 5px; }
  .mfp-arrow-left:before,
  .mfp-arrow-left .mfp-b {
    border-right: 20px solid white; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after,
  .mfp-arrow-right .mfp-a {
    border-left: 12px solid black;
    left: 3px; }
  .mfp-arrow-right:before,
  .mfp-arrow-right .mfp-b {
    border-left: 20px solid white; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; 
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 1200px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 55.5%; }

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.6);



  background: #000; }

.mfp-iframe-holder .mfp-close {
  top: -40px; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); }

.mfp-figure {
  line-height: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-break: break-word;
  padding-right: 36px; }

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
   * Remove all paddings around the image on small screen
   */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }

  .mfp-img-mobile img.mfp-img {
    padding: 0; }

  /* The shadow behind the image */
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0; }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; } }
@media all and (max-width: 800px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }
.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }


/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}















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

.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;}
.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%;  }
.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;*/}
.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;}


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

.flex-control-paging li a:hover {  
  background: #00bce4;  
}
.flex-control-paging li a.flex-active {  
  background: #00bce4; 
  width: 12px; height: 12px;
  border: solid 1px #fff;
  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;
}



/***************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;
}
.section-marker img {
  width: 90px;
}
.section-top .content img,
.section-main .content img {
  width: auto;
  margin-top: 10px;
}

.feature-image {
  position: relative;
  z-index: 100;
}
.circle-img {
  margin-top: 25px;
}
.circle-logo-wrapper {
  width: 100%;
}
.circle-logo {
  display: block;
  width: 168px;
  max-width: 168px;
  margin: 110px auto 50px;
}
.avatar img {
  max-width: 117px;
}
.feature-img {
  text-align: right;
}
.feature-img img {
  margin-top: 120px;
  padding: 11px;
  border: solid 1px #f2ecdb;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.posts-wrapper .feature-img img {
  margin-top: 0px;
}
.your-team-img img {
  margin-bottom: 35px;
}

.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;
}