/*-----------------------------------------------------------------------------------

	Theme Name: Waterboro, ME
	Author Design: Samir Alley @samiralley | Kat Requard @kat
	Site Developer: Devin Metivier @djmetivier
	Author URI: http://www.revize.com/
	Date: JUNE 7, 2017

-----------------------------------------------------------------------------------*/
/* -----------------------------------------
#basic styles
-----------------------------------------*/
body { background: #fff; font-family: 'Raleway', sans-serif; font-size: 16px; line-height: 1.6; color: #414341; }

/* -----------------------------------------
#typography
-----------------------------------------*/
h1, h2, h3, h4, h5, h6 { margin: 0 0 30px 0; font-weight: normal; line-height: 1.2; color: #000; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }

h1 { font-size: 36px; }

h2 { font-size: 32px; }

h3 { font-size: 28px; }

h4 { font-size: 21px; }

h5 { font-size: 16px; }

h6 { font-size: 14px; }

.header { margin: 0 0 30px 0; font-family: "Playfair Display", serif; font-weight: 700; font-size: 45px; color: #0a2472; }

.subheader { margin: 0 0 30px 0; font-family: "Playfair Display", serif; font-weight: 700; font-size: 32px; font-style: italic; color: #094356; }

p { margin: 0 0 30px 0; }

em { font-style: italic; }

strong, b { font-weight: bold; }

small { font-size: 80%; }

hr { margin: 10px 0 30px; height: 0; border: solid #ccc; border-width: 1px 0 0; clear: both; }

/* -----------------------------------------
#links
-----------------------------------------*/
a, a:visited { color: #0f99ee; text-decoration: underline; outline: 0 !important; }

a:hover, a:focus { color: #0f99ee; }

p a, p a:visited { line-height: inherit; }

/* -----------------------------------------
#lists
-----------------------------------------*/
ul, ol { margin: 0 0 20px 10px; }

ul { list-style: disc; }

ol { list-style: decimal; }

ul ul { margin: 4px 0 5px 30px; }

ul ul li { margin-bottom: 6px; }

ul ol { margin: 4px 0 5px 30px; }

ul ol li { margin-bottom: 6px; }

ol ol { margin: 4px 0 5px 30px; }

ol ol li { margin-bottom: 6px; }

ol ul { margin: 4px 0 5px 30px; }

ol ul li { margin-bottom: 6px; }

li { line-height: 1.3; margin-bottom: 7px; }

li p { line-height: 1.3; }

/* -----------------------------------------
#images
-----------------------------------------*/
img { max-width: 100%; height: auto; }

a img { border: none; }

.alignleft { float: left; clear: left; margin: 0 20px 20px; }

.alignright { float: right; margin: 0 0 20px 20px; }

.alignnone { margin: 0 auto 20px; display: block; }

img[align="right"], img[style*="float: right"], img[style*="float:right"] { margin: 0 0 20px 20px; }

img[align="left"], img[style*="float: left"], img[style*="float:left"] { margin: 0 20px 20px 0; }

/* -----------------------------------------
#buttons
-----------------------------------------*/
.button, a.button, button, input[type="submit"], input[type="reset"], input[type="button"], .btn { padding: 15px 49px; background: #4ecdc4; color: #f6f8ff !important; border: 0; -webkit-border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; border-radius: 5px; display: inline-block; font-size: 18px; font-weight: 700 !important; text-decoration: none; cursor: pointer; line-height: 1; letter-spacing: 2px; text-transform: uppercase; transition: background .3s; }

.button:hover, a.button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, .btn:hover { -webkit-box-shadow: none; -moz-box-shadow: none; -o-box-shadow: none; box-shadow: none; background: #4ecdc4; color: #f6f8ff; }

.button:active, a.button:active, button:active, input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active, .btn:active { -webkit-box-shadow: none; -moz-box-shadow: none; -o-box-shadow: none; box-shadow: none; background: #4ecdc4; color: #f6f8ff; }

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

/* -----------------------------------------
#forms
-----------------------------------------*/
form { margin-bottom: 30px; }

fieldset { margin-bottom: 30px; }

input[type="text"], input[type="password"], input[type="email"], input[type="search"], textarea, select { border: 1px solid #e9eaec; padding: 10px 14px; outline: none; font-size: 13px; font-family: sans-serif; color: #777; margin: 0; display: inline-block; background: #fff; border-radius: 0; box-shadow: none; }

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="search"]:focus, textarea:focus { color: #63686c; border: 1px solid #0F95E9; }

label, legend { display: block; font-weight: bold; font-size: 13px; }

input[type="checkbox"] { display: inline; }

label span { font-weight: normal; font-size: 13px; color: #444; }

legend span { font-weight: normal; font-size: 13px; color: #444; }

.form-control:focus { border-color: inherit; -webkit-box-shadow: none; box-shadow: none; }

::-webkit-input-placeholder { color: #777; }

:-moz-placeholder { color: #777; }

::-moz-placeholder { color: #777; }

:-ms-input-placeholder { color: #777; }

.gsc-control-cse * { box-sizing: content-box; }

/* -----------------------------------------
#rz intranet
-----------------------------------------*/
form.loginform { padding: 30px; border: 1px solid #D2DFEF; background: #fff; }

form.loginform p { padding: 20px; line-height: 1; background: #E65229; color: #fff; }

form.loginform label { font-weight: normal; }

form.loginform label input { display: block; box-sizing: border-box; margin-bottom: 10px; padding: 10px; width: 100%; color: #000; }

/* -----------------------------------------
#rz notify
-----------------------------------------*/
.e-notify { overflow: hidden; padding: 3px 13px 2px; position: fixed; bottom: 10px; left: 10px; font-size: 12px; font-weight: bold; text-transform: uppercase; border-radius: 50px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.175); background: #E7DF7F; color: #111; z-index: 999; }

.e-notify img { display: none; }

.e-notify i { margin-right: 4px !important; }

.e-notify a { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

/* -----------------------------------------
#rz alert
-----------------------------------------*/
.floating-alert { margin: 0; padding: 30px; position: fixed; right: 10px; bottom: 10px; width: 350px; font-size: 14px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); border: 3px solid #fff; background: rgba(0, 0, 0, 0.9); color: #fff; z-index: 99999; }

.floating-alert h4 { margin: 0 0 10px; font-family: sans-serif; font-size: 18px; font-weight: bold; text-transform: uppercase; color: #ffc140; }

.floating-alert .btn { margin: 20px 0 0 0 !important; padding: 8px 10px; }

.floating-alert .close { margin-right: 20px; padding: 0; background: none !important; color: #fff !important; opacity: 1; }

/* -----------------------------------------
#rz edit
-----------------------------------------*/
.float_button_above {
    position: relative;
    z-index: 60;
}
.calendar-title-btn a:after {display: none;}
.sliderBtn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 59;
}
.welcome .captionbtn {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    text-align: center;
}
.socials .captionbtn {
    position: absolute;
    top: -30px;
    left: 0;
}
.qlinkBtn {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    text-align: center;
}
.newsHeaderbtn {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    text-align: center;
}
.eventsHeaderbtn {
    position: absolute;
    top: -40px;
    left: 0;
}
.eventsHeaderbtn a:after {
    display: none;
}
.mayorbtn {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
}
.navbtn {
    position: absolute;
    top: -20px;
    left: 0;
}
.footerbtn {
    position: absolute;
    top: -20px;
    left: 0;
}
.alertbtn {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 9;
}
.titltBtn {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
}
.page-info .captionBtn {
    position: absolute;
    top: 130px;
    left: 0;
    width: 100%;
    text-align: center;
}
.sliderbtn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 59;
}
/* -----------------------------------------
#loader
-----------------------------------------*/
/* -----------------------------------------
#main
-----------------------------------------*/
body { overflow-x: hidden; }

.text-overflow { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }

#nav-toggle, #search-toggle-2, .toggle { display: none; }

nav { position: fixed; top: 0; left: 0; width: 160px; height: 100%; background: #094356; z-index: 2; }

.logo { padding: 20px; }

#nav { margin: 0; padding: 0; width: 100%; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 14px; line-height: 1; list-style: none; }

#nav a, #nav span { display: block; padding: 40px 30px; width: 100%; text-decoration: none; text-transform: uppercase; text-align: center; background: #094356; color: #f6f8ff; }

#nav a:hover, #nav span:hover { background: #225667; color: #dddfe6; }

#nav a:after, #nav span:after { content: ''; position: absolute; bottom: 0; left: 30px; width: 100px; height: 2px; background: rgba(246, 248, 255, 0.15); }

#nav img { display: block; margin: 0 auto 14px auto; }

#nav li { float: left; margin: 0; position: relative; width: 100%; }

#nav li:hover > ul { display: block; }

#nav ul { display: none; margin: 0; padding: 40px; position: absolute; top: 0; left: 100%; -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; -moz-column-gap: 20px; -webkit-column-gap: 20px; column-gap: 20px; list-style: none; text-align: left; background: #094356; }

#nav ul a, #nav ul span { padding: 0; margin: 0 0 10px 0; width: 170px; text-align: left; color: #4ecdc4; }

#nav ul a:hover, #nav ul span:hover { background: transparent; color: #4ecdc4; }

#nav ul a:after, #nav ul span:after { display: none; }

#nav ul li { float: none; margin: 0; padding: 0; -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; }

#nav ul ul { display: block; position: static; margin: 0 0 10px 0; padding: 0; top: 100%; left: 0; -moz-column-count: 1; -webkit-column-count: 1; column-count: 1; -moz-column-gap: 0; -webkit-column-gap: 0; column-gap: 0; }

#nav ul ul a, #nav ul ul span { margin: 0; padding: 5px; font-family: 'Raleway', sans-serif; font-weight: 400; font-size: 12px; color: #f6f8ff; }

#nav ul ul a:hover, #nav ul ul span:hover { background: #225667; color: #dddfe6; }

#nav .down-arrow, #nav .toggle2 { display: none; }

.search-container { display: inline-block; position: relative; width: 100%; font-family: "Playfair Display", serif; }

.search-container a { display: inline-block; padding: 40px 30px; width: 100%; text-decoration: none; text-transform: uppercase; text-align: center; background: #094356; color: #f6f8ff; }

.search-container a:hover { background: #225667; color: #dddfe6; }

.search-container a i { display: block; margin: 0 0 14px 0; color: #4ecdc4; }

#search { display: none; padding: 10px; position: absolute; top: 40px; left: 100%; width: 255px; background: #094356; }

#search form { margin: 0; position: relative; }

#search input { padding-right: 52px; height: 40px; border: none; }

#search input:focus { outline: none; border: none; }

#search button { padding: 0 15px; position: absolute; top: 0; right: 0; height: 40px; border-radius: 0; background: #fff; }

#search button:focus { outline: none; border: none; }

#search button i { margin-top: 0; color: #094356; }

main { position: relative; margin: 0 0 0 160px; z-index: 1; }

.slider { position: relative; height: 800px; background: #000; z-index: 1; }

.slider .bx-controls { display: none; }

.welcome { margin: 0; position: absolute; bottom: 295px; left: 0; width: 100%; text-align: center; z-index: 55; }

.welcome .title { font-weight: 700; font-size: 80px; line-height: 1; letter-spacing: 5px; text-transform: uppercase; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); color: #f6f8ff; }

.welcome .divider { margin: 39px auto; width: 276px; height: 5px; background: #4ecdc4; }

.welcome .sub { font-family: "Playfair Display", serif; font-weight: 700; font-size: 30px; line-height: 1; font-style: italic; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); color: #f6f8ff; }

.socials { position: absolute; top: 80px; right: 120px; z-index: 56; }

.socials .btn { margin: 0 40px 0 0; border-radius: 0; font-size: 14px; }

.socials .inner { margin: 0 40px 0 0; font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; color: #f6f8ff; }

.translate-btn { display: none; }

.scroll-btn { position: absolute; bottom: -60px; left: 0; width: 100%; text-align: center; z-index: 57; }

.message { padding: 95px 0; position: relative; }

.message .col-md-6 { padding: 0; }

.message .title { margin: 0 0 32px 0; font-family: "Playfair Display", serif; font-weight: 900; font-size: 55px; line-height: 1; color: #0a2472; }

.message .sub { margin: 0 0 32px 15px; font-weight: 500; font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: 2px; }

.message p { margin: 0 0 36px 15px; }

.message .btn { margin: 0 0 36px 15px; }

.message .sendoff { margin: 0 0 0 15px; font-weight: 700; font-size: 14px; }

.services { padding: 45px; max-width: 580px; border: 3px solid #094356; }

#owl-slider .item { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; -moz-column-gap: 34px; -webkit-column-gap: 34px; column-gap: 34px; text-align: center; }

#owl-slider .item:before { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 100%; background: rgba(0, 0, 0, 0.08); }

#owl-slider .item:after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: rgba(0, 0, 0, 0.08); }

#owl-slider .item a { display: block; margin: 0 auto; padding: 40px 0; height: 195px; font-weight: 700; font-size: 18px; text-transform: uppercase; text-decoration: none; color: #414341; }

#owl-slider .item p { margin: 10px 0 0 0; }

#owl-slider .owl-controls { position: absolute; bottom: -105px; left: 0; width: 100%; text-align: center; }

#owl-slider .owl-page { display: inline-block; }

#owl-slider .owl-page span { display: block; width: 10px; height: 10px; margin: 0 4px; border-radius: 20px; background: #094356; }

#owl-slider .owl-page.active span { background: #4ecdc4; }

#owl-slider .owl-page:hover span { background: #4ecdc4; }
.news{display:none}
.news .row { margin: 0; }

.news .col-md-6 { position: relative; }

.news .col-md-6:first-of-type { background: url("../../_assets_/images/knot.jpg") center no-repeat; background-size: cover; }

.news .col-md-6:last-of-type { padding: 90px 100px 150px 100px; background: #0a2472; }

.news .gradient { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 5%, transparent); }

.news .title { margin: 0 0 32px 0; font-family: "Playfair Display", serif; font-weight: 900; font-size: 55px; line-height: 1; color: #4ecdc4; }

.news .sub { margin: 0 0 32px 15px; font-weight: 500; font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: 2px; color: #f6f8ff; }

#owl-slider-2 .owl-controls { position: absolute; bottom: -60px; left: 0; width: 100%; text-align: right; }

#owl-slider-2 .owl-page { display: inline-block; }

#owl-slider-2 .owl-page span { display: block; margin: 0 4px; width: 20px; height: 20px; font-weight: 700; line-height: 1.3; text-align: center; border-radius: 4px; background: transparent; color: #f6f8ff; }

#owl-slider-2 .owl-page.active span { background: #4ecdc4; color: #000; }

#owl-slider-2 .owl-page:hover span { background: #4ecdc4; color: #000; }

#owl-slider-2 .owl-pagination { float: right; }

#owl-slider-2 .owl-buttons { text-align: left; }

#owl-slider-2 .owl-prev { display: inline-block; width: 9px; height: 14px; background: url("../../_assets_/images/news-left-arrow.png") center no-repeat; }

#owl-slider-2 .owl-next { display: inline-block; margin: 0 0 0 5px; width: 9px; height: 14px; background: url("../../_assets_/images/news-right-arrow.png") center no-repeat; }

.news-item { padding: 30px 0 30px 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.news-item .title { margin: 0 0 30px 0; font-family: 'Raleway', sans-serif; font-weight: 900; font-size: 32px; line-height: 1; color: #f6f8ff; }

.news-item .sub { margin: 0 0 27px 0; font-weight: 700; font-size: 16px; line-height: 1; color: #f6f8ff; }

.news-item .content { margin: 0; color: #f6f8ff; }

.news-item .content a { margin: 0 0 0 5px; font-weight: 700; text-decoration: none; color: #4ecdc4; }

.events { padding: 95px 0; }

.events .title { margin: 0 0 32px 0; font-family: "Playfair Display", serif; font-weight: 900; font-size: 55px; line-height: 1; color: #0a2472; }

.events .sub { margin: 0 0 32px 15px; font-weight: 500; font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: 2px; }

.events a { display: block; position: relative; font-weight: 700; font-size: 22px; line-height: 50px; text-transform: uppercase; text-align: right; text-decoration: none; color: #094356; }

.events a:after { content: ''; position: absolute; top: 13px; right: -42px; width: 25px; height: 22px; background: url("../../_assets_/images/btn-right-arrow.png") center no-repeat; }

.mayor { position: relative; }

.mayor .col-md-6:first-of-type { padding: 100px 120px; background: #0a2472; }

.mayor .col-md-6:last-of-type { background: url("../../_assets_/images/mayor.jpg") center no-repeat; background-size: cover; }

.mayor .sub { margin: 0 0 32px 0; font-weight: 500; font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: 2px; color: #4ecdc4; }

.mayor .mayor-message { margin: 0 0 50px 0; font-family: "Playfair Display", serif; font-weight: 700; font-size: 30px; font-style: italic; text-indent: 40px; line-height: 44px; color: #f6f8ff; }

.mayor .signage { margin: 0; font-family: "Playfair Display", serif; font-weight: 700; font-size: 30px; line-height: 1; text-align: right; color: #4ecdc4; }

footer { position: relative; padding: 95px 0; background: #094356; z-index: 2; }

footer .row:first-of-type { margin: 0 0 70px 0; }

footer .col-md-3 { font-size: 14px; text-align: right; }

footer p { margin: 0; color: #4ecdc4; }

footer p a { text-decoration: none; color: #4ecdc4; }

footer p a:visited { text-decoration: none; color: #4ecdc4; }

footer p a:focus { text-decoration: none; color: #4ecdc4; }

footer p a:active { text-decoration: none; color: #4ecdc4; }

footer p a:hover { text-decoration: none; color: #4ecdc4; }

footer p a.color { color: #4ecdc4; }

.foot-nav { margin: 0; padding: 0; list-style: none; }

.foot-nav li { display: inline-block; margin: 0; }

.foot-nav li ul { margin: 0; padding: 0; }

.foot-nav a { margin: 0 30px 0 0; font-weight: 700; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; color: #f6f8ff; }

.foot-nav a:hover, .foot-nav a:active { color: #fff200; }

.social-footer a { color: #f6f8ff; }

.social-footer a:hover, .social-footer a:active { color: #f6f8ff; }

.foot-links { font-weight: 700; text-transform: uppercase; color: #f6f8ff; }

.dropdown-menu a { text-decoration: none; }

.goog-te-gadget-simple { border: none !important; }

.skiptranslate { padding: 0 20px !important; }

.goog-te-menu-value span { display: none; }

.goog-te-menu-value span:first-child { display: inline-block; }

/* -----------------------------------------
#inner
-----------------------------------------*/
#flyout-toggle { display: none; float: right; position: relative; color: #fff; z-index: 9; }

#flyout { margin: 0; padding: 0; }

#flyout a, #flyout span { display: block; padding: 15px 0; font-weight: 700; text-decoration: none; color: #fff; }

#flyout a:hover, #flyout span:hover { color: #fff; }

#flyout li { margin: 0; padding: 0 100px; display: block; position: relative; }

#flyout li:hover > ul { display: block; }

#flyout ul { display: none; position: absolute; top: 0; left: 100%; margin: 0; padding: 0; background: #0a2472; z-index: 99; }

#flyout ul a, #flyout ul span { font-size: 13px; padding: 10px 15px; width: 180px; }

#flyout ul li { padding: 0; }

#flyout .toggle-children { display: none; }

.breadcrumbs { font-size: 14px; text-transform: capitalize; }

.breadcrumbs p { margin: 0; color: #4ecdc4; }

.breadcrumbs a { text-decoration: none; color: #4ecdc4; }

.breadcrumbs span { color: #000; }

#main-content { position: relative; padding: 0; background: #fff; }

.slider-inner { position: relative; height: 600px; background: #000; z-index: 1; }

.slider-inner .bx-controls { display: none; }

.page-info { position: absolute; bottom: 195px; left: 0; width: 100%; text-align: center; z-index: 55; }

.page-info .title { font-weight: 700; font-size: 80px; line-height: 1; letter-spacing: 5px; text-transform: uppercase; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); color: #f6f8ff; }

.page-info .divider { margin: 39px auto; width: 276px; height: 5px; background: #4ecdc4; }

.page-info .sub { font-family: "Playfair Display", serif; font-weight: 700; font-size: 30px; line-height: 1; font-style: italic; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); color: #f6f8ff; }

.left-column {background: #0a2472; z-index: 1;float:left;width:30%}

.left-column h3 { padding: 100px 100px 35px 100px; position: relative; font-family: "Playfair Display", serif; font-weight: 700; font-size: 28px; color: #4ecdc4; }

.left-column h3:after { content: ''; position: absolute; bottom: 0; left: 100px; width: 78px; height: 2px; background: rgba(246, 248, 255, 0.15); }
#main-content:after{content:'';display:block;clear: both;}
.freeform-page {overflow:hidden}

.post { padding: 62px 91px 445px 91px; }

.post p, .post img, .post ul { margin: 0 0 30px 0; }

/* -----------------------------------------
#share widget
-----------------------------------------*/
.modal-content { overflow: hidden; box-shadow: none !important; border-radius: 3px; }

.modal-header { padding: 30px 60px; text-align: center; border-color: #F4F9FD; background: #fff; }

.modal-header h4 { font-size: 30px; }

.modal-header button { margin-top: 2px !important; position: relative; font-size: 25px; background: none; color: #000 !important; }

.modal-header button:hover { background: none; color: #000 !important; }

.modal-body { padding: 40px 60px; }

.copylink { margin-bottom: 40px; }

.copylink pre { border: 1px solid #DBE7F0; background: #F4F9FD; }

.share-btns { margin: 0 0 20px; }

.share-btns a { display: block; overflow: hidden; margin-bottom: 20px; height: 170px; vertical-align: top; text-align: center; text-decoration: none; border-radius: 3px; border: 1px solid #DBE7F0; }

.share-btns i { display: block; font-size: 60px; line-height: 170px !important; }

.btn-facebook { color: #3b5998 !important; }

.btn-facebook:hover { color: #3b5998; }

.btn-twitter { color: #00ACED !important; }

.btn-twitter:hover { color: #00ACED; }

.btn-google { color: #D34836 !important; }

.btn-google:hover { border-color: #D34836; }

.btn-reddit { color: #ff5700 !important; }

.btn-reddit:hover { border-color: #ff5700; }

.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 3px; border: 0; }

.floating-share-btn { padding: 0; position: fixed; top: 40%; right: 0; width: 50px; height: 50px; line-height: 50px; text-align: center; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); border-radius: 0; border: 0; background: #094356 !important; color: #fff !important; z-index: 99999; }

/* -----------------------------------------
#bxslider
-----------------------------------------*/
.bxslider, .bx-viewport, .bx-wrapper { height: 100% !important; }

.bxslider li { height: 100% !important; }

.bx-wrapper { position: relative; margin: 0; padding: 0; *zoom: 1; overflow: hidden; }

.bx-wrapper * { margin: 0; padding: 0; }

.bx-wrapper img { max-width: 100%; display: block; }

.bxslider { list-style: none; }

.bxslider > li:nth-child(n+1) { display: none; }

.bx-wrapper .bx-pager { text-align: center; }

.bx-wrapper .bx-pager .bx-pager-item { display: inline-block; *zoom: 1; *display: inline; }

.bx-wrapper .bx-controls-auto .bx-controls-auto-item { display: inline-block; *zoom: 1; *display: inline; }

.bx-wrapper.bx-pager-default-pager a { background: #666; text-indent: -9999px; display: block; width: 10px; height: 10px; margin: 0 5px; outline: 0; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }

.bx-wrapper.bx-pager-default-pager a:hover { background: #000; }

.bx-wrapper.bx-pager-default-pager a:active { background: #000; }

.bx-wrapper .bx-controls-direction a { width: 32px; height: 32px; margin: -20px 0 0; display: block; background: url("../../_assets_/images/slider-nav.png") no-repeat 0 0; position: absolute; z-index: 51; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease; }

.bx-wrapper .bx-controls-direction a.disabled { display: none; }

.bx-wrapper .bx-prev { left: -40px; }

.bx-wrapper .bx-prev:hover { opacity: 1; }

.bx-wrapper .bx-next { right: -40px; background-position: 100% 0 !important; }

.bx-wrapper .bx-next:hover { opacity: 1; }

.bx-wrapper:hover .bx-prev { opacity: 0.6; left: 20px; }

.bx-wrapper:hover .bx-next { opacity: 0.6; right: 20px; }

.iconBtn {
    position: absolute;
    font-size: 0;
    border: none;
    top: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

.iconBtn a {
    padding: 0 !important;
    border: none !important;
}
.iconBtn a:after {
    display: none;
}

iframe {border: none !important;}
iframe[src="calendar_app/index.html#-mini,css=calendar_mini_waterborome.css"] {
    height: 570px !important;
    width: 100% !important;
    /* margin-top: -25px; */
}

/* -----------------------------------------
#media queries
-----------------------------------------*/
@media only screen and (max-width: 1199px) {
    iframe[src="calendar_app/index.html#-mini,css=calendar_mini_waterborome.css"] {
        height: 1070px !important;
    }
    .left-column{width:35%}
}
@media only screen and (max-width: 633px) {
    iframe[src="calendar_app/index.html#-mini,css=calendar_mini_waterborome.css"] {
        height: 1142px !important;
        margin: 0;
    }
}
@media only screen and (min-width: 992px) { #flyout, #nav { display: block !important; } }

@media only screen and (max-width: 991px) { main { margin: 0; }
.left-column{width:auto;float:none}
    nav { padding: 0 15px; position: relative; top: auto; left: auto; width: auto; height: auto; z-index: 99; }
    .logo { display: inline-block; padding: 5px 0; }
    .logo img { height: 60px; }
    .search-container { float: right; position: absolute; top: 100%; left: 0; width: 100%; }
    .search-container a { display: none; padding: 0; font-size: 0; }
    .search-container a i { margin: 0; font-size: 27px; }
    #search { top: 100%; left: 0; width: 100%; }
    #search form { width: 100%; }
    #search input { width: 100%; }
    .toggle, .toggle2, #nav-toggle, #search-toggle-2, #flyout-toggle { display: inline-block; cursor: pointer; }
    .down-arrow { display: none; }
    #nav-toggle, #search-toggle-2 { float: right; margin: 17px 0 0 15px; color: #4ecdc4; }
    #nav { display: none; }
    #nav a, #nav span { padding: 20px 10px; font-size: 14px; line-height: 1; text-align: left; border-bottom: 1px solid rgba(0, 0, 0, 0.2); background: none; }
    #nav a:after, #nav span:after { display: none; }
    #nav a img, #nav span img { display: none; }
    #nav li { float: none; display: block; }
    #nav li:hover > ul { display: none; }
    #nav li li:hover > a { background: none; color: #fff; }
    #nav ul { padding: 0; position: static; top: 0; width: auto; -moz-column-count: 1; -webkit-column-count: 1; column-count: 1; -moz-column-gap: 0; -webkit-column-gap: 0; column-gap: 0; background: rgba(0, 0, 0, 0.2); }
    #nav ul a, #nav ul span { margin: 0; padding: 20px; width: 100%; color: #f6f8ff; }
    #nav ul a:hover, #nav ul span:hover { background: #225667; color: #dddfe6; }
    #nav ul ul { display: none; margin: 0; padding: 0; left: 0; background: rgba(0, 0, 0, 0.2); }
    #nav ul ul a, #nav ul ul span { margin: 0; padding: 20px 30px; font-family: "Playfair Display", serif; font-size: 14px; }
    #nav ul ul a:hover, #nav ul ul span:hover { background: #225667; color: #dddfe6; }
    #nav .toggle, #nav .toggle2 { display: block; position: absolute; right: 0; top: 0; width: 55px; height: 55px; text-align: center; line-height: 55px; background: rgba(0, 0, 0, 0.2); }
    #flyout { display: none; margin: 0; padding: 0; }
    #flyout li { padding: 0; }
    #flyout li a, #flyout li span { padding: 20px 10px; font-size: 14px; line-height: 1; border-bottom: 1px solid rgba(0, 0, 0, 0.2); background: none; }
    #flyout li:hover > ul { display: none; }
    #flyout ul { position: static; left: 0; padding: 0; background: rgba(0, 0, 0, 0.2); }
    #flyout ul a, #flyout ul span { padding: 20px; width: 100%; }
    #flyout .toggle-children { display: block; float: right; }
    .slider, .slider-inner { height: 400px; }
    .welcome, .page-info { bottom: 105px; }
    .socials { top: 15px; right: 15px; }
    .message .col-md-5 { margin: 0 0 30px 0; }
    .services { margin: 0 auto; }
    #owl-slider .item { -moz-column-count: 1; -webkit-column-count: 1; column-count: 1; -moz-column-gap: 0; -webkit-column-gap: 0; column-gap: 0; }
    #owl-slider .item:before, #owl-slider .item:after { display: none; }
    #owl-slider .owl-controls { display: none !important; }
    .news .col-md-6:last-of-type { padding: 30px 15px 90px 15px; }
    .events { padding: 30px 0; }
    .events a { display: inline-block; text-align: left; }
    .mayor .row { margin: 0; }
    .mayor .col-md-6:first-of-type { padding: 30px 15px; }
    .mayor .col-md-6:last-of-type { display: none; }
    .left-column { position: relative; display: block; padding: 15px; width: auto; }
    .left-column h3 { margin: 0; padding: 0; }
    .left-column h3:after { display: none; }
    .entry-container { margin: 0; }
    .post { padding: 30px 15px; }
    footer { padding: 30px 0; }
    footer .row { margin: 0 !important; }
    footer .col-md-9, footer .col-md-3 { margin: 0 0 15px 0; text-align: left; }
    footer .text-right { text-align: left; }
    .foot-nav a { line-height: 1.6; }
    .foot-nav li { display: block; }
    /* rz form tables - without page scope this targets edit forms and makes editing confusing */
    #freeform #formwizziwmorf tr { display: block !important; }
    #freeform #formwizziwmorf tr td { display: block !important; }
    #freeform #formwizziwmorf tr table tr { display: table-row !important; }
    #freeform #formwizziwmorf tr table td { display: table-cell !important; } }

@media only screen and (max-width: 767px) { .slider, .slider-inner { height: 300px; }
    .welcome, .page-info { bottom: 80px; }
    .welcome .title, .page-info .title { font-size: 40px; }
    .welcome .divider, .page-info .divider { margin: 20px auto; }
    .welcome .sub, .page-info .sub { font-size: 20px; }
    .floating-alert { padding-left: 15px; padding-right: 15px; right: 0; left: 0; bottom: 0; width: auto; font-size: 12px; border-radius: 0; border: 0; }
    .floating-alert h4 { margin-bottom: 10px; font-size: 14px; }
    .floating-alert .btn { padding: 7px 12px !important; font-size: 10px; }
    .share-btns a { padding: 10px; width: 100%; height: auto; font-size: 12px; white-space: nowrap; overflow: hidden; }
    .share-btns i { display: block; font-size: 20px; line-height: 50px !important; }
    .floating-share-btn { top: auto; bottom: 0; } }

@media print { .nav-wrap, .sidebar, #flyout-wrap, .breadcrumbs, .e-notify { display: none !important; }
    a[href]:after { content: none !important; } }
