/* cmsms stylesheet: Normalize modified: Sunday, February 25, 2018 12:30:07 AM */
/*! normalize.css v1.1.0 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `font-family` inconsistency between `textarea` and other form
 * elements.
 */

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

/**
 * Address margins handled incorrectly in IE 6/7.
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address font sizes and margins set differently in IE 6/7.
 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.17em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
}

/**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 * Known issue: no IE 6/7 normalization.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 6/7/8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Address margins set differently in IE 6/7.
 */

p,
pre {
    margin: 1em 0;
}

/**
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;

}

/**
 * Address CSS quotes not supported in IE 6/7.
 */

q {
    quotes: none;
}

/**
 * Address `quotes` property not supported in Safari 4.
 */

q:before,
q:after {
    content: '';
    content: none;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Lists
   ========================================================================== */

/**
 * Address margins set differently in IE 6/7.
 */

dl,
menu,
ol,
ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
}

/**
 * Address paddings set differently in IE 6/7.
 */

menu,
ol,
ul {
    padding: 0 0 0 40px;
}

/**
 * Correct list images handled incorrectly in IE 7.
 */

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
	padding:0;
	margin:0;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible;  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */

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

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
	border: none;
}
/* cmsms stylesheet: Flexslider modified: Sunday, February 25, 2018 12:27:53 AM */
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* 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; min-height:150px; background:url(images/loader.gif) no-repeat center center;}
.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;}

.flexslider .flex-caption{ margin:10px 7px;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; opacity: 0.8; right: 5px;}
.flex-direction-nav .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); 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;}
/* cmsms stylesheet: Base, Home modified: Wednesday, June 9, 2021 11:29:02 PM */
/*
BASE (MOBILE) SCREENS
These base styles apply to all screen sizes, but may be overridden on larger screens by the media query-driven styles that appear later in this file.
*/

.border {
    border-style: dashed;
    border-width: 1px;
    border-color: red;
}

/* Responsive Images */
img {
	width:auto;
	max-width:100%; 
	height:auto;
	float:left; /* cures the 4 px whitespace anomaly */
}



/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
* {  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
       box-sizing: border-box; 
}


/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.right {
	float:right;
}

.left {
	float:left;
}

.cell-bottom {
	display:table-cell; 
	vertical-align:bottom;
	width: 100%;
}

body {
	height: 100%;
	background-color: #acaba3; /* dark beige */
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 13px;
	color: black;
	margin: 0;
}

strong {
	font-weight: 700; /* bold */
}

#wrapper {
	background: #FFFFFF;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
}

#header {
	background-color: #efede0; /* beige */
}

#logo {
	float: left;
	width: 68.5%;
	margin-left: 0;
	margin-top: 0;
	margin-bottom: 4%;
}

#utility_payment_button-desktop {
	display: none;
}

#topnav {
	text-align: right;
	margin-right: 0;
}
	
hr.burgundy {
    height: 0;
    border: 0;
    border-top: 3px solid #66001d;
    margin: 0;
    padding: 0;
}

#content {  
	width:100%;
	height: 100%;
	margin: 0;
}

#main {
	padding-top: 10px;
	padding-right: 4.5%;
	padding-bottom: 35px;
	padding-left: 4.5%;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 13px;
	line-height: 17px;
}

#banner_image {
}

#main h1 {
	font-family: 'Playfair Display', serif;
	font-weight: 400; /* regular */
	font-size: 19px;
	line-height: 23px;
	color: black;
	margin: 0 0 14px 0;
}

#main h2,
#contacts h2 {
	text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
	font-weight: 700; /* bold */
	font-size: 14px;
	line-height: 18px;
	color: #66001d; /* burgundy */
	margin: 13px 0 0 0;
	padding-bottom: 2px;
	border-bottom: 2px solid #66001d; /* burgundy */
	clear: both;
}

#main h3,
#contacts h3 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700; /* bold */
	font-size: 13px;
	line-height: 17px;
	color: #66001d; /* burgundy */
	margin: 9px 0 0 0;
}

#main h4 {
}

#main p,
#contacts p {
	color: black;
	margin: 6px 0 0 0;
}

#contacts h3 + p {
	margin-top: 0;
}

#main p.caption, #main p.caption_landscape, #main p.caption_portrait, #caption_square {
}

#main p.caption_portrait {
}

#main UL, OL { 
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 14px;
	line-height: 18px;
	color: black;
	margin-top: 0px; 
	margin-bottom: 0px;
	margin-left: 9px; 
	padding-left: 9px; 
	list-style-position: outside; 
}

#main LI { 
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 14px;
	line-height: 18px;
	color: black;
	margin-top: 2px; 
	margin-bottom: 0px; 
}

#main img.photo_landscape {
	margin: 12px 0 4px 0;
}

#main img.photo_portrait {
	float: left;
	width: 45%;
	margin: 10px 25px 4px 0;
}

#sidebar {
	padding-top: 3%;
	padding-right: 4.5%;
	padding-bottom: 32px;
	padding-left: 4.5%;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 13px;
	line-height: 17px;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

#sidebar h2 {
	display: block;
	text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
	font-weight: 700; /* bold */
	font-size: 14px;
	line-height: 18px;
	color: #66001d; /* burgundy */
	margin: 14px 0 0 0;
	padding-bottom: 2px;
	border-bottom: 1.7px solid #c7c8bf; /* greige */
	clear: both;
}

#sidebar h3 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700; /* bold */
	font-size: 13px;
	line-height: 17px;
	color: black;
	margin: 0 0 0 0;
}

#sidebar h4 {
    font-family: 'Martel Sans', sans-serif;
	font-weight: 400; /* regular */
	font-size: 12.25px;
	line-height: 18px;
	color: #7e193f; /* tawny port */
	margin: 0;
}

#sidebar p {
	color: black;
	margin: 4px 0 0 0;
}

#sidebar h3 + p {
}

.gradient_box {
    background: linear-gradient(#eeece0, #faf7f5);
	background-color: #f0f0e5; /* mid-beige of gradient */
	padding: 0 3.7% 3.7% 3.7%;
}

#sidebar img.photo_portrait,
#sidebar img.photo_landscape {
	float: none;
	width: 100%;
	margin-top: 6px;
}

#sidebar img.photo_portrait,
#sidebar p.caption_portrait {
	width: 75%;
	margin-left: 12.5%;
}

#sidebar UL, OL { 
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 14px;
	line-height: 18px;
	color: black;
	margin-top: 0px; 
	margin-bottom: 0px;
	margin-left: 9px; 
	padding-left: 9px; 
	list-style-position: outside; 
}

#sidebar LI { 
	margin-top: 2px; 
	margin-bottom: 0px; 
	line-height: 18px; 
}

p.warning {
	font-weight:bold;
	color:red;
} 

span.bold {
	font-weight: 600;
}

span.extrabold {
	font-weight: 800;
}



/* Footer */
#back_to_top {
	background-image: url(http://villageofbergen.com/images/back_to_top_background.gif);
	background-repeat: repeat-x;
	background-size: contain;
}

img.back_to_top {
	width: 30px;
	display: block;
	float: none;
	margin: 0 auto;
}

#footer {
	background-color: black;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 12px;
	line-height: 16px;
	text-align: left;
	color: white;
	width: 100%;
	margin: 0 0 0 0;
	padding: 0 6.5% 16px 6.5%;
}

#footer_block_1 h3,
#footer_block_2 h3,
#footer_block_3 h3 {
	display: inline;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600; /* semibold */
	font-size: 12px;
	line-height: 16px;
	color: white;
}

#footer_block_2,
#footer_block_3 {
	padding-top: 12px;
}



/* Links */
a:link,
a:visited {
	text-decoration: underline;
	font-weight: 400; /* regular */
	font-style: italic;
	color: #e26001; /* orange text */
}

h4 a:link,
h4 a:visited {
	font-weight: 500;
}

#footer a:link,
#footer a:visited {
	color: white;
	text-decoration: underline;
	font-weight: 300; /* light */
	font-style: normal;
}

a.signup_button {
	display: block;
	float: left;
	background-color: #e26001;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-style: normal;
	margin-top:10px;
	padding: 3px 25px;
}

a.signup_button:hover {
	text-decoration: none;
}



/*
PHONES in LANDSCAPE ORIENTATION
*/
@media only screen and (min-width: 500px) {

#logo { 
	width: 48%;
	margin-bottom: 2.8%;
}

#banner_image {
}

#main UL, OL { 
	margin-left: 15px; 
	padding-left: 15px; 
}

#main img.photo_landscape {
	float: none;
	width: 74%;
	margin-left: 13%;
}

#main p.caption_landscape {
	width: 74%;
	margin-left: 13%;
}

#main img.photo_portrait {
	width: 35%;
}

#main p.caption_portrait {
    width: 35%;
}

#photojournalistic {
	width: 85%;
}

#sidebar img.photo_landscape {
	width: 60%;
	margin-left: 20%;
}

#sidebar img.photo_portrait,
#sidebar p.caption_portrait {
	width: 45%;
	margin-left: 27.5%;
}

#footer {
	font-size: 13px;
	line-height: 17px;
}

#footer_block_1 h3,
#footer_block_2 h3,
#footer_block_3 h3 {
	font-size: 13px;
	line-height: 17px;
}

}




/*
TABLETS in PORTRAIT ORIENTATION
*/
@media only screen and (min-width: 700px) {

#logo { 
	width: 34.3%;
	margin-bottom: 2%;
}

#main {
	float: left;
	width: 65%;
	padding-right: 2.3%;
	padding-bottom: 3%;
	padding-left: 4%;
}

#banner_image {
}

#sidebar {
	float: right;
	width: 35%;
	padding-top: 2.5%;
	padding-right: 4%;
	padding-bottom: 3%;
	padding-left: 1.7%;
}

#footer {
	padding-left: 4.5%;
}

#footer_block_1 {
	float: left;
	text-align: left;
	width: 55%;
}

#footer_block_2 {
	float: right;
	text-align: left;
	padding-top: 0;
}

#footer_block_3 {
	text-align: center;
	clear: both;
}

} 



/*
TABLETS in LANDSCAPE & SMALLER LAPTOPS
This is the first appearance of the "desktop layout"
*/
@media only screen and (min-width: 900px) {

#header {
}

#nav-outer {
	float: right;
	width: 73.9%;
	margin-right: 3.5%;
}

#utility_payment_button-desktop {
	display: block;
	float: right;
	width: 27.7%;
}

#topnav {
	float: right;
	margin-top: 5px;
	margin-bottom: -1px;
}

#logo { 
	width: 21.065%;
	margin-left: 1.47%;
	margin-bottom: 0;
}

#hr-desktop {
	display: block;
}

#main {
	width: 67%;
}

#banner_image {
}

#sidebar {
	width: 33%;
}

#footer-mobile {
	display: none;
}

#footer {
	padding-top: 12px;
}

#footer {
	font-size: 14px;
	line-height: 18px;
}

#footer_block_1 h3,
#footer_block_2 h3,
#footer_block_3 h3 {
	font-size: 14px;
	line-height: 18px;
}

br.mobile_only{
	display: none;
}



/* Links */
a:link,
a:visited, 
#footer a:link,
#footer a:visited {
	text-decoration: none;
}

a:hover, 
#footer a:hover {
	text-decoration: underline;
	cursor: pointer;
}

}



/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1100px) {
#wrapper {
	max-width: 1300px; 
}

#topnav {  /* top and bottom margins position the nav bar vertically within the header */
	margin-top: 9px;
	margin-bottom: -1px;
}

hr.burgundy {
    border-top: 4px solid #66001d;
}

#banner_image {
}

#main h1 {
	font-size: 32px;
	line-height: 36px;
	color: black;
	margin: 0 0 17px 0;
}

#main h2 {
	font-size: 17px;
	line-height: 22px;
	margin: 16px 0 0 0;
}

#main h3, 
#main p {
	font-size: 16px;
	line-height: 22px;
	margin: 6px 0 0 0;
}

#main h4 {
	font-size: 16px;
	line-height: 22px;
}

#main UL, OL { 
	font-size:16px;
	line-height:22px; 
	margin-left: 18px; 
	padding-left: 18px; 
}

#main LI { 
	font-size:16px;
	line-height:22px; 
	margin-top: 4px; 
}

#main p.caption_landscape, #main p.caption_portrait, #caption_square {
	font-size: 15px;
	line-height: 20px;
}

#photojournalistic {
	width: 75%;
}

#sidebar {
	font-size: 16px;
	line-height: 22px;
	max-width: none;
}

#sidebar h2 {
	font-size: 17px;
	line-height: 22px;
	margin: 16px 0 0 0;
	padding-bottom: 2px;
}

#sidebar h3 {
	font-size: 16px;
	line-height: 22px;
	color: black;
}

#sidebar UL, OL { 
	font-size: 14.7px;
	line-height: 21.6px;
}

#sidebar LI { 
	line-height: 21.6px;
}

#footer {
	font-size: 15px;
	line-height: 19px;
}

#footer_block_1 h3,
#footer_block_2 h3,
#footer_block_3 h3 {
	font-size: 15px;
	line-height: 19px;
}


} 



/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
/* cmsms stylesheet: Homepage modified: Sunday, April 1, 2018 2:08:26 PM */
/*
BASE (MOBILE) SCREENS
These base styles apply to all screen sizes, but may be overridden on larger screns by the media query-driven styles that appear later in this file.
*/

.flexslider {
	display:none;
}

#banner_image-mobile {
}

#utility_payment_button-mobile {
	border-top: 3px solid white;
	background-color: #efede0;  /* beige */
	float: left;
	padding: .5% 5%;
	width: 100%;
}

img.utility_payment_button-mobile {
	width: 65%;
}

#quicklinks_array {
	background-color: #66001d;  /* burgundy */
}

#quicklinks_row_1, 
#quicklinks_row_2 {
	width: 100%;
}

.quicklinks_button_outer {
	float: left;
	padding: .5% 5%;
	width: 50%;
}

.ql_button {
	background-color: white;
}

.ql_button:hover {
	background-color: #fb8700;  /* orange */
}

.ql_button.desktop {
	display: none;
}

#ql_button_1 {
	border-top: 3px solid white;
	border-right: 1.5px solid white;
	border-bottom: 1.5px solid white;
}

#ql_button_2 {
	border-top: 3px solid white;
	border-left: 1.5px solid white;
	border-bottom: 1.5px solid white;
}

#ql_button_3 {
	border-top: 1.5px solid white;
	border-right: 1.5px solid white;
}

#ql_button_4 {
	border-top: 1.5px solid white;
	border-left: 1.5px solid white;
}

#meetings_and_events_button {
	float: right;
	width: 87px;
	margin-top: 25px;
	margin-right: 4.3%;
	margin-left: 9px;
}

#elevator_pitch p {
	font-family: 'Playfair Display', serif;
	font-weight: 400; /* normal */
	font-size: 14px;
	line-height: 21px;
	color: black;
	margin-top: 7px;
}

#elevator_pitch {
	margin-bottom: 24px;
}

#main h2 {
	text-transform: none;
}

#news_col_1,
#news_col_2 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 13px;
	line-height: 18px;
	color: black;
}

#news_col_1 p,
#news_col_2 p {
	margin: 12px 0 0 0;
}

div.see_all {
	margin-top: 9px;
}

a.see_all:link, a.see_all:visited {
	font-weight: 700; /* bold */
	font-size: 13px;
	font-style: italic;
	line-height: 18px;
	color: #e26001; /* orange text */
	text-decoration: underline;
}

a.see_all:hover {
	color: #e26001; /* orange text */
	text-decoration: underline;
}

div.event {
	padding-top: 2%;
}

div.event_date {
	float: left;
	width: 12%;
	padding-top: 3px;
}

div.event_details {
	float: right;
	width: 83.5%;
	padding-right: 9%;
}

#sidebar div.see_all {
	margin-top: 5px;
	margin-left: 16.5%
}

#contacts,
#forms  {
	display: none;
}




/*
PHONES in LANDSCAPE ORIENTATION
*/
@media only screen and (min-width: 500px) {

#utility_payment_button-mobile {
	border-top: 3px solid white;
	border-bottom: 3px solid white;
	padding: .5% 3.5%;
	width: 100%;
}

img.utility_payment_button-mobile {
	width: 27.5%;
}

#quicklinks_row_1, 
#quicklinks_row_2 {
	width: 50%;
	float: left;
}

.quicklinks_button_outer {
	padding: 1% 7%;
}

#ql_button_1, 
#ql_button_2, 
#ql_button_3, 
#ql_button_4 {
	border: none;
}

#meetings_and_events_button {
	width: 90px;
	margin-left: 12px;
}

#news_col_1 {
	float: left;
	width: 48.5%;
}

#news_col_2 {
	float: right;
	width: 48.5%;
}

}




/*
TABLETS in PORTRAIT ORIENTATION
*/
@media only screen and (min-width: 700px) {

/* Hide static banner image; Reveal FlexSlider */

#banner_image-mobile { 
	display:none;
}

.flexslider{
display:block;
margin: 0; 
background: #000000; 
}

#home-slider {
	width: 100%;
	height: auto;
}

#utility_payment_button-mobile {
	padding: .2% 4.3%;
	width: 100%;
}

img.utility_payment_button-mobile {
	width: 30%;
}

.ql_button.mobile {
	display: none;
}

.ql_button.desktop {
	display: block;
}

#quicklinks_row_1 {
	width: 51%;
}

#quicklinks_row_2 {
	width: 49%;
}

.quicklinks_button_outer {
	width: auto;
	padding: 0;
}

#ql_button_1 {
	width: 51%;
}

#ql_button_2 {
	width: 49%;
}

#ql_button_3 {
	width: 39%;
}

#ql_button_4 {
	width: 61%;
}

#meetings_and_events_button {
	display: none;
}

#elevator_pitch {
	margin-right: -57%;
}

#sidebar  {
	margin-top: 90px;
}

} 



/*
TABLETS in LANDSCAPE & SMALLER LAPTOPS
This is the first appearance of the "desktop layout"
*/
@media only screen and (min-width: 845px) {

#sidebar  {
	margin-top: 68px;
}

} 



/*
TABLETS in LANDSCAPE & SMALLER LAPTOPS
This is the first appearance of the "desktop layout"
*/
@media only screen and (min-width: 900px) {

#utility_payment_button-mobile {
	display: none;
}

#elevator_pitch {
	margin-right: 0;
}

#sidebar  {
	margin-top: 0;
}

}



/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1100px) {

#elevator_pitch p {
	font-size: 17px;
	line-height: 25px;
	margin-top: 9px;
}

#elevator_pitch {
	margin-bottom: 29px;
}

#news_col_1,
#news_col_2 {
	font-size: 16px;
	line-height: 22px;
}

#news_col_1 p,
#news_col_2 p {
	margin: 14px 0 0 0;
}

div.see_all {
	margin-top: 11px;
}

a.see_all:link, a.see_all:visited {
	font-weight: 700; /* bold */
	font-size: 16px;
	font-style: italic;
	line-height: 22px;
	color: #e26001; /* orange text */
	text-decoration: underline;
}

a.see_all:hover {
	color: #e26001; /* orange text */
	text-decoration: underline;
}

div.event_date {
	padding-top: 5px;
}

} 



/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
/* cmsms stylesheet: Mailchimp Subscription Form modified: Sunday, February 25, 2018 12:35:18 AM */
/* MailChimp Form Embed Code - Slim - 12/15/2015 v10.7 */
/* With some local edits for Bergen */
/* And local styles for the sidebar subscription form */

#mc_embed_signup form {
display:block; position:relative; text-align:left; padding:0;
}

#mc_embed_signup input {
border:1px solid #999; -webkit-appearance:none;
}

#mc_embed_signup input[type=checkbox]{
-webkit-appearance:checkbox;
}

#mc_embed_signup input[type=radio]{
-webkit-appearance:radio;
}

#mc_embed_signup input:focus {
border-color:#333;
}

/* 

#mc_embed_signup .button {
clear:both; background-color: #aaa; border: 0 none; border-radius:4px; letter-spacing:.03em; color: #FFFFFF; cursor: pointer; display: inline-block; font-size:15px; height: 32px; line-height: 32px; margin: 0 5px 10px 0; padding:0; text-align: center; text-decoration: none; vertical-align: top; white-space: nowrap; width: auto; transition: all 0.23s ease-in-out 0s;
}

#mc_embed_signup .button:hover {
background-color:#777;
}

#mc_embed_signup input.button {
display:block; width:35%; margin:0 0 10px 0; min-width:90px;
}

 */

#mc_embed_signup .small-meta {
font-size: 11px;
}

#mc_embed_signup .nowrap {
white-space:nowrap;
}
     
#mc_embed_signup .clear {
clear:none; display:inline;
}

#mc_embed_signup label {
display:block; font-size:16px; padding-bottom:10px; font-weight:bold;
}

#mc_embed_signup input.email {
font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,Verdana,sans-serif; font-size: 15px; display:block; padding:0.4em 0.4em; margin:0; min-height:32px; width:58%; min-width:130px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border-color: #c7c8bf;
}

#mc_embed_signup div#mce-responses {
float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;
}

#mc_embed_signup div.response {
margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;
}

#mc_embed_signup #mce-error-response {
display:none;
}

#mc_embed_signup #mce-success-response {
color:#529214; display:none;
}

#mc_embed_signup label.error {
display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;
}

#enews_subscription_form {
	background-color: white;
	padding: 4% 5% 3.5% 5%;
	border: 1px solid #c7c8bf; /* greige */
	margin-top: 7%;
}

#enews_subscription_form h2 {
	text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
	font-weight: 700; /* bold */
	font-size: 14px;
	line-height: 18px;
	color: #e26001; /* orange text */
	margin: 0;
	padding-bottom: 0;
	border-bottom: none;
}

#mc_embed_signup {
	background:#fff;
	clear:left;
	font:14px Helvetica,Arial,sans-serif; 
}

input#mce-EMAIL.email {
	margin-top: 10px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; /* light */
	font-size: 11px;
	height: 28px;
	width: 100%;
	padding-top: 5px;
}

input#mc-embedded-subscribe.button {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700; /* bold */
	font-size: 12px;
	background-color: #e45f00;
	color: white;
	border: none;
	margin-top: 10px;
	padding: 3px 30px 3px 30px;
	cursor: pointer;
}

#signup_button {
	float: left;
}

#social_media_buttons  {
	float: right;
	padding-top: 10px;
}

img#facebook,
img#twitter {
	float: right;
	width: 23px;
}

img#facebook {
	margin-right: 7px;
}




/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1100px) {

#enews_subscription_form h2 {
	font-size: 17px;
	line-height: 22px;
	color: #e26001; /* orange text */
	margin: 0;
	padding-bottom: 0;
	border-bottom: none;
}

input#mce-EMAIL.email {
	margin-top: 12px;
	font-size: 13px;
	height: 28px;
	width: 100%;
	padding-top: 5px;
}

input#mc-embedded-subscribe.button {
	font-size: 14px;
	background-color: #e45f00;
	color: white;
	border: none;
	margin-top: 10px;
	padding: 4px 36px 4px 36px;
	cursor: pointer;
}

#signup_button {
	float: left;
}

img#facebook,
img#twitter {
	width: 27px;
}

img#facebook {
	margin-right: 9px;
}

}
/* cmsms stylesheet: Menu modified: Sunday, February 25, 2018 12:36:27 AM */
/*
BASE (MOBILE) SCREENS
These base styles apply to all screen sizes, but may be overridden on larger screns by the media query-driven styles that appear later in this file.
*/

nav ul,
nav ul li ul {
    list-style-type: none;
}

nav ul li ul {
    margin-left: 0px;
    padding-left: 0px;
}

/*Mobile Menu*/

.menu-toggle {
	display:block;
	float:right;
	width: 7.2%; 
	margin-top: 26%;
	margin-right: 5.4%;
	cursor:pointer;
}

.menu-toggle.toggled-on {
}

.srt-menu.toggled-on {
	display:block;
	position:relative;
	z-index:10;
}

.srt-menu {
	display:none;
	clear:both;
	margin-bottom: 0;
	border-top: 3px solid #66001d;
}

.srt-menu li {
	margin-top: 0; 
	padding-left: 0;
}

.srt-menu li a {
	display: block;
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 15px;
	font-style: normal;
	color: black;
	text-align: left;
	text-decoration: none;
	background-color: #efede0; /* header beige */
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 6px;
	padding-left: 5.4%;
}

/*Mobile menu, all levels*/
.srt-menu li a:hover,
.srt-menu li a.current {
	color: black;
}

/*Mobile menu, second level*/
.srt-menu li li a {
	font-weight: 400;
	color: black;
	background-color: white;
	border-bottom: 1px solid #c7c8bf;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 11.6%;
}

/*Mobile menu, third level */
.srt-menu li li li a {
	font-weight: 400;
	color: black;
	background-color: white;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 20%;
}


/*
PHONES in LANDSCAPE ORIENTATION
*/
@media only screen and (min-width: 500px) {

.menu-toggle {
	width: 5%; 
	margin-top: 18.3%;
	margin-right: 4.4%;
}

.srt-menu li a {
	font-size: 17px;
	padding-top: 6px;
	padding-bottom: 6px;
}

/*Mobile menu, second level*/
.srt-menu li li a {
	padding-top: 7px;
	padding-bottom: 7px;
}

/*Mobile menu, third level */
.srt-menu li li li a {
	padding-top: 7px;
	padding-bottom: 7px;
}

}



/*
TABLETS in PORTRAIT ORIENTATION
*/
@media only screen and (min-width: 700px) {

.menu-toggle {
	width: 3.6%; 
	margin-top: 13%;
	margin-right: 3.2%;
}

}






/*
TABLETS in LANDSCAPE & SMALLER LAPTOPS
This is the first appearance of the "desktop layout"
*/
@media only screen and (min-width: 900px) {

/*** DROPDOWN MENU for TABLETS and DESKTOPS ***/

.menu-toggle {
	display:none;
}

#menu-main-navigation {
	display:block;
}

.srt-menu, .srt-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}

.srt-menu {
	float: left;
	margin-bottom: 0;
	border: 0;
}

.srt-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
	min-width: 5em; /* allow long menu items to determine submenu width */
	*width: 5em; /* no auto sub width for IE7, see white-space comment below */
}

.srt-menu li {
	position: relative;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
}

.srt-menu > li {
	float: left;
}

.srt-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}

.srt-menu li:hover > ul,
.srt-menu li.sfHover > ul {
	display: block;
}

.srt-menu a {
	display: block;
	position: relative;
	padding: 0;
	text-decoration: none;
	zoom: 1; /* IE7 */
}

.srt-menu li a {  /* nav bar */
  /* #topnav margins in style-base.css position the nav bar vertically within the header */
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 15px;
	color: black;
	background-color: transparent; /* nav bar background shows thru */
	display:block;
	margin: 0px 0 0px 0;  /* adds top and bottom margin to all nav bar items, showing background color of the parent div */
	padding-top: 8px;
	padding-right: 31px;
	padding-bottom: 9px;
	padding-left: 31px;
	border: 0;
	text-decoration:none;
	cursor:pointer;
}

.srt-menu > li:first-child a {
	padding-left: 10px;
}

.srt-menu > li:last-child a {
	padding-right: 0;
}

.srt-menu li a:hover,
.srt-menu li a.current { /* top-level menu rollover colors AND current state */
	color: #66001d; /* burgundy */
	cursor:pointer;
}

.srt-menu li:hover > a,
.srt-menu li a:hover,
.srt-menu li a:active { /* top-level menu rollover color */
	color: #66001d; /* burgundy */
}

.srt-menu ul ul {
	top: 0;
	left: 100%; 
}

.srt-menu li ul {
	margin-top: -1px;  /* negative top margin nudges the dropdowns up to the nav bar, compensating for the invisible bits of the nav bar items */
	margin-left: 19px;  /* aligns left edge of drop-down menu background */
	padding-top: 3px;  /* pushes dropdowns down so that line spacing looks right */
	padding-bottom: 3px;  /* adds whitespace below the last menu item */
	background-color: white;
}

.srt-menu > li:first-child ul {
	margin-left: 0px;  /* aligns left edge of first drop-down menu background */
}

.srt-menu li li a,
.srt-menu li li li a { /* drop-down menus */
	text-align: left;
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 15px;
	color: black;
	background-color: white;
	border-bottom: none;
	padding-left: 12px;  /* aligns text in dropdowns with nav bar items */
	padding-right: 12px; 
	padding-top: 5px;
	padding-bottom: 6px;
	min-width: 130px;
}

.srt-menu li li a:hover,
.srt-menu li li li a:hover { /* drop-down menu hover colors */
	color: black;
	background-color: #efede0;
}

}



/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1100px) {

.srt-menu, .srt-menu * {
}

.srt-menu li a {  /* nav bar */
  /* #topnav margins in style-base.css position the nav bar vertically within the header */
	font-size: 18px;
	padding-right: 37px;
	padding-left: 37px;
}

.srt-menu li ul {
	margin-top: -1px;  /* negative top margin nudges the dropdowns up to the nav bar, compensating for the invisible bits of the nav bar items */
	margin-left: 23px;  /* aligns left edge of drop-down menu background */
	padding-top: 4px;  /* pushes dropdowns down so that line spacing looks right */
	padding-bottom: 4px;  /* adds whitespace below the last menu item */
}

.srt-menu li li a,
.srt-menu li li li a { /* drop-down menu colors */
	font-size: 18px;
	padding-left: 14px;  /* aligns text in dropdowns with nav bar items */
	padding-right: 14px; 
	padding-top: 6px;
	padding-bottom: 7px;
	min-width: 150px;
}

}
/* cmsms stylesheet: Fancybox modified: Thursday, March 22, 2018 2:24:11 PM */
@charset "UTF-8";
.fancybox-enabled {
  overflow: hidden; }

.fancybox-enabled body {
  overflow: visible;
  height: 100%; }

.fancybox-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99993;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

/* Make sure that the first one is on the top */
.fancybox-container ~ .fancybox-container {
  z-index: 99992; }

.fancybox-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #0f0f11;
  opacity: 0;
  transition-timing-function: cubic-bezier(0.55, 0.06, 0.68, 0.19);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

.fancybox-container--ready .fancybox-bg {
  opacity: 0.87;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); }

.fancybox-controls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  z-index: 99994;
  transition: opacity .2s;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  direction: ltr; }

.fancybox-show-controls .fancybox-controls {
  opacity: 1; }

.fancybox-infobar {
  display: none; }

.fancybox-show-infobar .fancybox-infobar {
  display: inline-block;
  pointer-events: all; }

.fancybox-infobar__body {
  display: inline-block;
  width: 70px;
  line-height: 44px;
  font-size: 13px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  text-align: center;
  color: #ddd;
  background-color: rgba(30, 30, 30, 0.7);
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: subpixel-antialiased; }

.fancybox-buttons {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  pointer-events: all; }

.fancybox-show-buttons .fancybox-buttons {
  display: block; }

.fancybox-slider-wrap {
  overflow: hidden;
  direction: ltr; }

.fancybox-slider-wrap,
.fancybox-slider {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0;
  margin: 0;
  z-index: 99993;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent; }

.fancybox-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
  outline: none;
  white-space: normal;
  box-sizing: border-box;
  text-align: center;
  z-index: 99994;
  -webkit-overflow-scrolling: touch; }

.fancybox-slide::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 0; }

.fancybox-slide > * {
  display: inline-block;
  position: relative;
  padding: 24px;
  margin: 44px 0 44px;
  border-width: 0;
  vertical-align: middle;
  text-align: left;
  background-color: #fff;
  overflow: auto;
  box-sizing: border-box; }

.fancybox-slide--image {
  overflow: hidden; }

.fancybox-slide--image::before {
  display: none; }

.fancybox-content {
  display: inline-block;
  position: relative;
  margin: 44px auto;
  padding: 0;
  border: 0;
  width: 80%;
  height: calc(100% - 88px);
  vertical-align: middle;
  line-height: normal;
  text-align: left;
  white-space: normal;
  outline: none;
  font-size: 16px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch; }

.fancybox-iframe {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: #fff; }

.fancybox-slide--video .fancybox-content,
.fancybox-slide--video .fancybox-iframe {
  background: transparent; }

.fancybox-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: 0;
  z-index: 99995;
  background: transparent;
  cursor: default;
  overflow: visible;
  -webkit-transform-origin: top left;
  -ms-transform-origin: top left;
  transform-origin: top left;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

.fancybox-image,
.fancybox-spaceball {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  background: transparent;
  background-size: 100% 100%;
  cursor: default; }

.fancybox-controls--canzoomOut .fancybox-placeholder {
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.fancybox-controls--canzoomIn .fancybox-placeholder {
  cursor: -webkit-zoom-in;
  cursor: zoom-in; } 

.fancybox-controls--canGrab .fancybox-placeholder {
  cursor: -webkit-grab;
  cursor: grab; }

.fancybox-controls--isGrabbing .fancybox-placeholder {
  cursor: -webkit-grabbing;
  cursor: grabbing; }

.fancybox-spaceball {
  z-index: 1; }

.fancybox-tmp {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: hidden; }

.fancybox-error {
  position: absolute;
  margin: 0;
  padding: 40px;
  top: 50%;
  left: 50%;
  width: 380px;
  max-width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: #fff;
  cursor: default; }

.fancybox-error p {
  margin: 0;
  padding: 0;
  color: #444;
  font: 16px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; }

.fancybox-close-small {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  z-index: 10;
  cursor: pointer; }

.fancybox-close-small:after {
  content: '×';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  font: 20px/30px Arial,"Helvetica Neue",Helvetica,sans-serif;
  color: #888;
  font-weight: 300;
  text-align: center;
  border-radius: 50%;
  border-width: 0;
  background: #fff;
  transition: background .2s;
  box-sizing: border-box;
  z-index: 2; }

.fancybox-close-small:focus:after {
  outline: 1px dotted #888; }

.fancybox-slide--video .fancybox-close-small {
  top: -36px;
  right: -36px;
  background: transparent; }

.fancybox-close-small:hover:after {
  color: #555;
  background: #eee; }

/* Caption */
.fancybox-caption-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 30px 0 30px;
  z-index: 99998;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none; }

.fancybox-show-caption .fancybox-caption-wrap {
  opacity: 1; }

.fancybox-caption {
  padding: 10px 0 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 16px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  color: #fff;
  line-height: 20px;
  text-align: center;
  -webkit-text-size-adjust: none; }

.fancybox-caption a,
.fancybox-caption button {
  pointer-events: all; }

.fancybox-caption a {
  color: #fff;
  text-decoration: underline; }

/* Buttons */
.fancybox-button {
  display: inline-block;
  position: relative;
  width: 44px;
  height: 44px;
  line-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: transparent;
  color: #fff;
  box-sizing: border-box;
  vertical-align: top;
  outline: none; }

.fancybox-button--disabled {
  cursor: default;
  pointer-events: none; }

.fancybox-infobar__body, .fancybox-button {
  background: rgba(30, 30, 30, 0.6); }

.fancybox-button:hover {
  background: rgba(0, 0, 0, 0.8); }

.fancybox-button::before,
.fancybox-button::after {
  content: '';
  pointer-events: none;
  position: absolute;
  border-color: #fff;
  background-color: currentColor;
  color: currentColor;
  opacity: 0.9;
  box-sizing: border-box;
  display: inline-block; }

.fancybox-button--disabled::before,
.fancybox-button--disabled::after {
  opacity: 0.5; }

.fancybox-button--left::after {
  left: 20px;
  top: 18px;
  width: 6px;
  height: 6px;
  background: transparent;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg); }

.fancybox-button--right::after {
  right: 20px;
  top: 18px;
  width: 6px;
  height: 6px;
  background: transparent;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg); }

.fancybox-button--left {
  border-bottom-left-radius: 5px; }

.fancybox-button--right {
  border-bottom-right-radius: 5px; }

.fancybox-button--close {
  float: right; }

.fancybox-button--close::before, .fancybox-button--close::after {
  content: '';
  display: inline-block;
  position: absolute;
  height: 2px;
  width: 16px;
  top: calc(50% - 1px);
  left: calc(50% - 8px); }

.fancybox-button--close::before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg); }

.fancybox-button--close::after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg); }

/* Loading spinner */
.fancybox-loading {
  border: 6px solid rgba(100, 100, 100, 0.4);
  border-top: 6px solid rgba(255, 255, 255, 0.6);
  border-radius: 100%;
  height: 50px;
  width: 50px;
  -webkit-animation: fancybox-rotate .8s infinite linear;
  animation: fancybox-rotate .8s infinite linear;
  background: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
  z-index: 99999; }

@-webkit-keyframes fancybox-rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); } }

@keyframes fancybox-rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); } }

/* Styling for Small-Screen Devices */
@media all and (max-width: 800px) {
  .fancybox-controls {
    text-align: left; }
  .fancybox-button--left,
  .fancybox-button--right,
  .fancybox-buttons button:not(.fancybox-button--close) {
    display: none !important; }
  .fancybox-caption {
    margin: 0; } }

/* Fullscreen  */
.fancybox-button--fullscreen::before {
  width: 15px;
  height: 11px;
  left: 15px;
  top: 16px;
  border: 2px solid;
  background: none; }

/* Slideshow button */
.fancybox-button--play::before {
  top: 16px;
  left: 18px;
  width: 0;
  height: 0;
  border-top: 6px inset transparent;
  border-bottom: 6px inset transparent;
  border-left: 10px solid;
  border-radius: 1px;
  background: transparent; }

.fancybox-button--pause::before {
  top: 16px;
  left: 18px;
  width: 7px;
  height: 11px;
  border-style: solid;
  border-width: 0 2px 0 2px;
  background: transparent; }

/* Thumbs */
.fancybox-button--thumbs span {
  font-size: 23px; }

.fancybox-button--thumbs::before {
  top: 20px;
  left: 21px;
  width: 3px;
  height: 3px;
  box-shadow: 0 -4px 0, -4px -4px 0, 4px -4px 0, 0 0 0 32px inset, -4px 0 0, 4px 0 0, 0 4px 0, -4px 4px 0, 4px 4px 0; }

.fancybox-container--thumbs .fancybox-controls,
.fancybox-container--thumbs .fancybox-slider-wrap,
.fancybox-container--thumbs .fancybox-caption-wrap {
  right: 220px; }

.fancybox-thumbs {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 220px;
  margin: 0;
  padding: 5px 5px 0 0;
  background: #fff;
  z-index: 99993;
  word-break: normal;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box; }

.fancybox-thumbs > ul {
  list-style: none;
  position: absolute;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 0; }

.fancybox-thumbs > ul > li {
  float: left;
  overflow: hidden;
  max-width: 50%;
  padding: 0;
  margin: 0;
  width: 105px;
  height: 75px;
  position: relative;
  cursor: pointer;
  outline: none;
  border: 5px solid #fff;
  border-top-width: 0;
  border-right-width: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box; }

li.fancybox-thumbs-loading {
  background: rgba(0, 0, 0, 0.1); }

.fancybox-thumbs > ul > li > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.fancybox-thumbs > ul > li:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 2px;
  border: 4px solid #4ea7f9;
  z-index: 99991;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.fancybox-thumbs > ul > li.fancybox-thumbs-active:before {
  opacity: 1; }

/* Styling for Small-Screen Devices */
@media all and (max-width: 800px) {
  .fancybox-thumbs {
    display: none !important; }
  .fancybox-container--thumbs .fancybox-controls,
  .fancybox-container--thumbs .fancybox-slider-wrap,
  .fancybox-container--thumbs .fancybox-caption-wrap {
    right: 0; } }
