/*
Theme Name: TreeChurch
Theme URI: http://thetreechruch.co.nz
Author: Thinkbox
Author URI: http://thinkbox.co.nz
Description: Theme for The Tree Church.
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=Open+Sans:300,400,600,700|Rozha+One');

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



body {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    width: 100%;
    height: 100%;
    background: #f6f6f6;
    font-size: 16px !important;
    font-family: 'Open Sans', sans-serif; 
    font-weight: 400;
    color: #353B49;
    text-align: left;
    overflow-x: hidden;
}
p {
    font-weight: 400;
    font-size: 1em;
    line-height: 1.5em;
    margin: 0 0 16px 0;
    padding: 0;
    letter-spacing: normal;
}
.dark p {
    font-weight: 300;
}

footer p {
    color: #fff;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2em;
    margin: 0 0 15px 0;
    padding: 0;
    letter-spacing: normal;
    color: #58595b;
}
h1, h2, h3 {
    font-family: 'Rozha One', serif;
    font-weight: normal;
    font-size: 2.6em;
    margin: 0 0 35px 0;
}

h3 {
    font-size: 2.1em;
}

.dark h1,
.dark h2,
.dark h3  {
    color: #fff;
}
.sidebar h1,
.sidebar h2 {
    color: #B9976B;
}
#about-me h1 {
    color: #B9976B;
    margin-bottom: 16px;
}
#testimonials h2 {
    color: #B9976B;
    margin-bottom: 45px;
    font-size: 2.1em;
}
.txtblock.txttitle h1,
.txtblock.txttitle h2 {
    padding-top:30px;
}
.txtblock.txtbody h1,
.txtblock.txtbody h2 {
    margin-bottom:75px;
/*     max-width: 600px; */
}
.felicity-warren .contact h2 {
    margin-bottom: 75px;
}
#services .txtblock.txtbody h2 {
    font-size: 2.1em;
    margin-bottom: 45px;
}

h4 {
    font-size: 1em;
    font-weight: 400;
    padding-bottom: 10px;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAABCAMAAACmEX3HAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFGMDU0QzVEODk1NTExRTZCMkY2OUNEQjFBNzlGNjI1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFGMDU0QzVFODk1NTExRTZCMkY2OUNEQjFBNzlGNjI1Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUYwNTRDNUI4OTU1MTFFNkIyRjY5Q0RCMUE3OUY2MjUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUYwNTRDNUM4OTU1MTFFNkIyRjY5Q0RCMUE3OUY2MjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5fKVduAAAABlBMVEW4lmsAAADhn4plAAAADklEQVR42mJgIAMABBgAADUAAWmhMkAAAAAASUVORK5CYII=);
    color: #B9976B;
    margin: 0 0 35px 0;
    text-transform: uppercase;
}
.txtblock.txttitle h4 {
    margin-bottom:0px;
}
.txtblock.txtbody h4 {
    padding-top:30px;
}
.txthead .txtblock.txtbody h4 {
    padding-top:0px;
}

#testimonials .txtblock.txtbody h4 {
    background-image: none;
}


h5 {
    font-size: 1em;
    font-weight: 700;
    padding-top: 8px;
    margin-bottom: 8px;
}


h6 {
    font-size: 1em;
    font-style: italic;
    color: #DF2646;
}
blockquote {
    width: 100%;
    max-width: 775px;
    margin: 0 auto;
    padding: 0;
    font-size: 1.2em;
    line-height: 1.3em;
    font-style: italic;
    color: #9a1d3b;
    text-align: center;
    padding-bottom: 0;
    text-transform: uppercase;
}
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;
    font-style: italic;
    color: #565656;
    letter-spacing: normal;
    border: solid 1px #f176ae;
    padding: 3px 10px;
    width: 90%;
}
input[type="submit"] {
    display: block;
    font-style: normal;
    font-weight: 300;
    color: #fff !important;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
    border: none;
    padding: 0;
    text-decoration: none;
    border: solid 2px #f176ae;
    background: #3f3f40;
    cursor: pointer;
    height: 27px;
    width: 123px;
    font-size: 0.7em;
    line-height: 24px;
}
input[type="submit"]:hover {
    background: #920953 !important;
    text-decoration: none !important;
}
ul, ol {
    position: relative;
    margin: -8px 0 16px;
}
ul li, ol li {
    list-style-position: outside;
    margin: 0;
    font-size: 1em;
    line-height: 1.5em;
    padding: 0 0 0 0px;
    letter-spacing: normal;
    margin-left: 24px;
}
ul li {
  list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAFCAMAAACtk0YeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAwN0JCRjRDOEM0MDExRTY5QTRCRTAwNUUxRjhBRDY3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjAwN0JCRjREOEM0MDExRTY5QTRCRTAwNUUxRjhBRDY3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDA3QkJGNEE4QzQwMTFFNjlBNEJFMDA1RTFGOEFENjciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDA3QkJGNEI4QzQwMTFFNjlBNEJFMDA1RTFGOEFENjciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6L2BFaAAAABlBMVEU1O0n////Bg5fjAAAAAnRSTlP/AOW3MEoAAAAUSURBVHjaYmAAAUY4QGKSxQcIMAAKhwBH1ZQG6QAAAABJRU5ErkJggg==);
}


ol li {
    list-style-type: lower-alpha;
}
a, a:visited {
    color: #B9976B;
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
}
a img {
    border: none;
}
a.readmore {
    font-weight: 600;
}
div.readmore {
    padding-top: 30px;
    padding-bottom: 16px;
}



h3 a, h3 a:visited {
    color: #B9976B;
}

a.btn {
    margin-top: 15px;
    display: inline-block;
    font-size: 0.75em;
    letter-spacing: 0.3em;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #58595b;
    line-height: 32px;
    padding: 0 40px;
    border: solid 1px #58595b;
    text-decoration: none;
}
footer a.btn {
    color: #fff;
    border-color: #fff;
}
a.btn:hover {
    color: #fff;
    background: #58595b;
}
footer a.btn:hover {
    color: #58595b;
    background: #fff;
}
.big-btn-wrapper a.btn {
    font-size: 1.333em;
    letter-spacing: 0.1em;
    line-height: 52px;
    padding: 0 80px;
}
.txthead em {
    color: #B9976B;
}

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;
    font-family: Georgia, serif;
}
small {
    font-size: 0.75em;
}
hr {
    display: block;
    border: 0;
    width: 100%;
    height: 3px;
    background-color: #DF2646;
    color: #DF2646;
    margin: 0 0 25px 0;
}
code {
    font: 1.1em'Courier New', Courier, Fixed;
}
#postend {
    height: 1px;
    width: 100%;
}
.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;
}
#overlay {
    display: none;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0;
    position: absolute;
    z-index: 99999;
    background: #58595b;
}
#overlay.is-active {
    display: block;
}
/**** 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;
}
.col-1 {
    width: 8.333333%
}
.col-2 {
    width: 16.66666%
}
.col-3 {
    width: 24.999999%
}
.col-4 {
    width: 33.333333%
}
.col-5 {
    width: 41.666666%
}
.col-6 {
    width: 50%
}
.col-7 {
    width: 58.333333%
}
.col-8 {
    width: 66.666666%
}
.col-9 {
    width: 74.999999%
}
.col-10 {
    width: 83.333333%
}
.col-11 {
    width: 91.666666%
}
.col-12 {
    width: 100%
}


.main .col-5 {
    width: 44.44444%;
}
.main .col-7 {
    width: 55.55555%;
}

.tree-church .contact .col-4 {
    width: 37.33333%;
}
.tree-church .contact .col-8 {
    width: 62.66666%;
}


.pad {
    padding-left: 10px;
    padding-right: 10px;
}
.col.first {
    /*   margin-left: 0%;
margin-right: 3%; */
}
.col.last {
    /*   margin-left: 3%;
margin-right: 0%; */
}
.push-1 {
    left: 8.333333%
}
.push-2 {
    left: 16.66666%
}
.push-3 {
    left: 24.999999%
}
/* tbcolumns plugin css */

.wpcolumn-wrapper {
    width: 100%;
}
.wpcolumn {
    float: left;
    display: inline;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.wpcolumn-wrapper-2 .wpcolumn {
    width: 50%;
    padding-right: 55px;
}
.wpcolumn-wrapper-3 .wpcolumn, .wpcolumn-wrapper-6 .wpcolumn {
    width: 33.333333%;
}
.wpcolumn-first {} .wpcolumn-last {} .wpcolumn-clearfix {
    clear: both;
}

.padleft {
    padding-left: 25px;
}
.padright {
    padding-right: 25px;
}
.headspace {
    padding-top: 30px !important;
}
.footspace {
    padding-bottom: 30px !important;
}
/***** GENERIC STYLE ****/

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



.rhide {
    display: block !important;
}
.rshow {
    display: none !important;
}
header, .header, section, .section, footer, .footer {
    position: relative;
    width: 100%;
    display: block;
}
.section-wrap {
    position: relative;
}
section, footer {
    padding: 0;
}
.container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.wrapper {
    position: relative;
    z-index: 1000;
}

/*===============HEADER=================*/

header {
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 0;
    height: 510px;
}
header .content {

}
header .container .row {

    height: 510px;
}



header img {
    position: relative;
    z-index: 1;
}
header .logo img {
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}


/*===============BODY=================*/



section {
    z-index: 2;
    position: relative;
}
section.contact {
    z-index: 3;
    position: relative;
}
section > .container > .group > .col {
    padding: 0 0 0 8px;
}
section > .container > .group > .col:first-child {
    padding: 0 8px 0 0;
}

section > .container > .group > .col article {
    margin-top: 16px;
}
section > .container > .group > .col.sidebar article {
    padding-top: 1px;
}
/* section > .container > .group > .col article:first-child, */
section.contact  > .container > .group > .col article {
    margin-top: 16px;
    padding-top: 1px;
}

article img {
    margin-top: -1px;

}
article.imgtxt img {
  border-radius: 50%;
}




article.light {
    background: #fff;
}
article.dark {
    background: #353b49;
    color: #fff;
}
article.light.right-2  {
    background: none;
}
article.light.right-2 .col:first-child  {
    background: #fff;
}

/* article.img {
    object-fit: cover;
      display: flex;
  flex-flow: row nowrap;
  align-items: center;
}
 */


.equalHMWrap {
    justify-content: space-between;
    flex-wrap: wrap;
}
.eqWrap {
    display: flex;
}



.txtblock {
    padding: 40px;
}
.sidebar .txtblock {
    padding: 40px 30px;
}

.txtblock.txttitle {
    padding: 40px 40px 0px 40px;
}
.txt .row .txtblock, 
.txthead .row .txtblock {
    padding-left: 10px;
}
.txt .row .col:first-child .txtblock, 
.txthead .row .col:first-child .txtblock {
    padding-left: 40px;
    padding-right: 10px;
}



article {
    width: 100%;
}
.noie article:last-child {
    flex: 1;
}

article#testimonials {
    padding-bottom: 130px;
}



.main .container .group .col:first-child {
  display: flex;
  flex-direction: column;
}
.sidebar {
  display: flex;
  flex-direction: column;
} 



.sidebar article {
    position: relative;
    z-index: 2;
    margin-top: 0px !important;
    padding: 1px;
}
.sidebar article:first-child  {
    z-index: 1;
    margin-top: 16px !important;
}
.felicity-warren .sidebar article {
    margin-top: 16px !important;
}
.tree-church .sidebar article:first-child  {
    padding-bottom: 200px;
}



.tree-church .sidebar  article img {
    position: relative;
    max-width: 88%;
    display: block;
    margin: -45% auto 0;
}
.tree-church .sidebar article:first-child img {
    max-width:255px;
    margin: -60px auto 0;
}

.felicity-warren .sidebar  article img {
    position: relative;
    max-width:160px;
    display: block;
    margin: -80px auto 0;
}

.felicity-warren .sidebar article:first-child img {
    max-width:207px;
    margin: -70px auto 0;
}
.felicity-warren .sidebar article.img img {
    max-width:100%;
    margin: 0px auto 0;
}
 




.right-2 img {
    padding: 16px 0 0 16px;
    background: #f6f6f6;
}
.right-2 img:first-child {
    padding-top: 0px;
}


.contact .group {
  display: flex;
  flex-direction: row;
}
.contact .col {
  display: flex;
}
.contact article {
    position: relative;
}
.contact .imgtxt img {
    position: relative;
    max-width:244px;
    display: block;
    margin: -122px auto 0;
}

.contact a[href^="mailto:"] {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}




.felicity-warren .imgtxt img {
    position: relative;
    max-width:344px;
    display: block;
    margin: -172px auto 0;
}
.felicity-warren .imgtxtnorm img {
    position: relative;
    max-width:217px;
    display: block;
    margin: 40px auto 0;
}

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

footer .container {
    padding: 40px 30px;
}
footer .logo {
    width:25%;
}
footer .logo img {
    width: auto;
}
footer nav {
    width:75%;
}
footer p.copyright {
    padding-top: 20px;
    font-size: 0.7em;
    color: #353B49;
    text-transform: none;
    text-align: right;
}


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

.nav ul, .nav ul li {
    margin: 0;
    padding: 0 !important;
    list-style: none;
    position: relative;
}
.nav ul li {
    margin: 0;
    padding: 0;
    display: block;
    list-style-image: none;
    width: auto;
}
.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;
}
/* Fix IE. Hide from IE Mac \*/

* html ul li {
    float: left;
}
* html ul li a {
    height: 1%;
}
body {
    font-size: 100%;
}
/* End */

nav {
    width:100%;
}
 
.mainmenu {
    width:100%;
    height:100%;
}
.mainmenu ul {
    position: relative;
    display: flex;
    width:85%;
    margin: 0 auto;
  }
.mainmenu ul li {
    flex-grow: 1; 
    position: relative;
}
.mainmenu ul li a {
    display: block;
    padding: 0;
    color: #fff;
    font-size: 1em;
    padding: 147px 10px 0;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 50px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.tc .mainmenu ul li a {
    padding: 161px 10px 0;
}
.mainmenu ul li a:hover,
.mainmenu ul li a.is-active {
    color: #B9976B;
    text-decoration: none;
}
.mainmenu ul li.logo a,
.mainmenu ul li.logo a:hover,
.mainmenu ul li.logo a img,
.mainmenu ul li.logo a:hover img {
    text-decoration: none;
    border: none;
}
.mainmenu ul li.logo a {
    padding-top: 0;
}
.mainmenu ul li.logo {    
    margin: 0 1%;
}
.tc .mainmenu ul li.logo {
    margin: 0 7%;
}
.mainmenu ul li.logo a img {
    width: auto;
    display: block;
    margin: 0 auto;
}






.footermenu ul {
    position: relative;
    width:auto;
    float:right;
  }
.footermenu ul li {
    position: relative;
}
.footermenu ul li a {
    display: block;
    padding: 0;
    color: #353B49;
    font-size: 0.85em;
    margin-top: 98px;
    padding: 0 20px;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 50px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.footermenu ul li:last-child a {
    padding-right: 0px;
}
.footermenu ul li.facebook a {
    padding-right: 30px;
    background: url('images/icon-facebook.png') no-repeat right center;
}


.responsive-nav {
   position: relative;
   top: 0;
   left: 0;
    z-index: 101;
    width: 100%;
    z-index: 999999;
}
.responsive-nav-trigger {
    display: none;
    height: 39px;
    width: 52px;
    position: absolute;
    top: 75px;
    right: 0px;
    z-index: 2000;
    background:  url(images/bg-primary-nav-trigger.png) no-repeat left center;
    text-indent: -9999px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.responsive-nav-trigger.is-scrolled {
    /* top: 0; */
}

.responsive-nav-close {
    display: block;
    height: 39px;
    width: 52px;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 2000;
    background: url(images/bg-primary-nav-trigger.png) no-repeat right center;
    text-indent: -9999px;
}

  .responsive-nav .logo {
    position: relative;
    float: none;
    display: block;
    width: 99px !important;
    height: auto;
    margin: 0 auto;
    padding: 25px 0;
    background-size: 100% auto;
  }
.felicity-warren .responsive-nav .logo {
    width: 116px !important;
}


.responsive-nav .responsive-menus {
    display: none;
    position: absolute;
    top: 0px;
    left: -85%;
    z-index: 2100;
    width: 85%;
    height: 1200px;
    margin: 0;
    padding: 0 8% 30px;
    background: #fff;
}
.responsive-nav .responsive-menus .logo {
    padding: 25px 0 35px 0;
}



.responsive-nav ul {
    width: 100%;
    border-top: solid 1px #d5d5d6;
}
.responsive-nav ul li {
    display: block;
    position: relative;
    float: none;
    height: auto;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    /* border-bottom: solid 1px #9a1d3b; */

overflow: hidden;
}
.responsive-nav ul li a {
    display: block;
    padding: 0;
    font-size: 0.85em;
    padding: 0;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #58595b;
    text-transform: uppercase;
    text-decoration: none;
    text-align:left;
    line-height: 42px;
    border-bottom: solid 1px #d5d5d6;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.full {
    display: inline-block;
}
.resp {
    display: none;
}
.in-page {
    position: relative;
}
.onepage-pagination {
    position: fixed;
    right: 56px;
    top: 50%;
    width: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 100000000;
}
.onepage-pagination li {
    margin: 0;
    padding: 0;
    text-align: right;
    list-style: none;
    clear: both;
    font-size: 0.6em;
    height: 34px;
    line-height: 34px;
    margin-bottom: 5px;
    padding: 0 10px 0 20px;
}
.onepage-pagination li span.ntitle {
    position: relative;
    text-align: right;
    padding-right: 8px;
    display: inline-block;
    display: none;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    color: #4d585a;
    text-transform: uppercase;
    white-space: nowrap;
}
.onepage-pagination li a {
    background-color: #c0bfbe;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    width: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    line-height: 1em;
    font-size: 1em;
}
.onepage-pagination li:hover a, .onepage-pagination li a:hover, .onepage-pagination li a.is-active {
    background-color: #9a1d3b;
}
.onepage-pagination li:hover {
    background: url(images/bg-white-trans.png) repeat 0 0;
}
.onepage-pagination li:hover span.ntitle {
    display: inline-block;
}


/** images */

img, .txt img, p img {
    width: 100%;
    max-width: 100%;
}
p img {
    padding: 0;
}
.the-story img{
    width: 170px;
}
.the-drizzles img {
    width: 60px;
}
.the-drizzles img {
    margin: 0 0 20px;
}


.banner-lockup img {
    width: 55%;
}
.feature-image {
    position: relative;
    z-index: 100;
}
.feature-image {
    position: relative;
    z-index: -1;
    height: 750px;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
}




img.ajax-loader {
    width: auto;
}
.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%;
}
.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: 30px;
}
.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;
}
/* End Structure */

/* Begin Lists

  Special stylized non-IE bullets
  Do not work in Internet Explorer, which merely default to normal bullets. */

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;
}
select {
    padding: 3px;
    border: solid 1px #999;
    color: #666;
}
#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 */


a.floattotop {
    display: none;
    overflow: hidden;
    width: 50px;
    height: 50px;
    z-index: 900000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    top: auto;
    left: auto;
    padding: 17px 16px;
    border: 0px solid #000;
    background: #8a8c8f url(images/arrow-up.png) no-repeat center center;
    border-radius: 99px;
}
a.floattotop span {

}



body, textarea: focus, input: focus {
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}










/* 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: 0px;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #fff;
  font-weight: normal;
  font-style: normal;
  font-size: 40px;
  font-family: 'Droid Sans', Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 0px; }

.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: 18px;
  border-bottom-width: 18px;
  top: 2px; }
.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: 18px solid black;
    left: 2px; }
  .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: 18px solid black;
    left: 0px; }
  .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: 1000px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 600px;
  overflow: hidden;
  }

.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: #fff; }

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



/***** FlexSlider *****/ 

.flexslider {
    overflow: hidden;
}

.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;}
.flex-direction-nav a {width: 30px; height: 50px; margin: -25px 0 0; display: block; background: url(images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;  /* -webkit-transition: all .3s ease;*/}
.flex-direction-nav .flex-next {background-position: 100% 0; right: 25px; }
.flex-direction-nav .flex-prev {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: auto; position: absolute; bottom: 25px; text-align: center; right: 25px;}
.flex-control-nav li {margin-left: 10px !important; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 18px; height: 18px; display: block; background: #fff; cursor: pointer; text-indent: -9999px; 
    -webkit-border-radius: 9px; -moz-border-radius: 9px; -o-border-radius: 9px; border-radius: 9px;  }
.flex-control-paging li a:hover {  background: #9a1d3b; }
.flex-control-paging li a.flex-active {  background: #9a1d3b; 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; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}

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

.slides li .img {
    width: 100%;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover;

}






@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@-moz-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@-o-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

.mfp-open .mfp-figure {
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
    -o-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .75s;
    -moz-animation-duration: .75s;
    -ms-animation-duration: .75s;
    -o-animation-duration: .75s;
    animation-duration: .75s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility:    hidden;
    -ms-backface-visibility:     hidden;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}