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

	Theme Name: Okanogan County, WA
	Front-end developer: Joshua Leach
	Author Design: Alex Parent
	Author URI: http://www.revize.com/
	Date: 11/30/2020

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

#fonts

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

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;700&display=swap');
@font-face{
	font-family: Tradesmith;
	src: url(../fonts/Tradesmith/TradesmithRegular.otf)
}
@font-face{
	font-family: TradesmithStamp;
	src: url(../fonts/Tradesmith/TradesmithStamp.otf)
}

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

#basic styles

-----------------------------------------*/
body{background:#fff;font-size:18px; font-weight: normal; line-height:1.6;font-family:"Cabin", sans-serif;color:#ffffff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;overflow-x:hidden;top:0!important}
body#freeform{font-weight: normal;}
#tinymce{color:#000}

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

#typography

-----------------------------------------*/
h1,h2,h3,h4,h5,h6{color:#111;font-weight:normal;margin-bottom:30px;line-height:1.2}
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{font-family: "Tradesmith", sans-serif; font-size: 34px; font-weight: normal; line-height: 26px; color: #003e6b; margin-top: 23px; margin-bottom: 72px}
.subheader{display: inline-block; font-family: "Cabin", sans-serif; font-weight: bold; font-size: 24px; line-height: 26px; color: #0a558c; margin-top: 37px; }
p{margin:0 0 30px 0}
#post p{margin-bottom: 0px;}
em{font-style:italic}
strong,b{font-weight:bold}
small{font-size:80%}
hr{border:solid #ccc;border-width:1px 0 0;clear:both;margin:10px 0 30px;height:0}

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

#links

-----------------------------------------*/
a,a:visited{text-decoration:underline;
-webkit-transition:color .3s ease;-moz-transition:color .3s ease;-o-transition:color .3s ease;transition:color .3s ease;
-webkit-transition:background .3s ease;-moz-transition:background .3s ease;-o-transition:background .3s ease;transition:background .3s ease}
p a,p a:visited{line-height:inherit}

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

#lists

-----------------------------------------*/
ul,ol{margin-bottom:20px;margin-left:10px}
ul{list-style:disc}
ol{list-style:decimal}
ul ul,ul ol,
ol ol,ol ul{margin:4px 0 5px 30px}
ul ul li,ul ol li,
ol ol li,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:16px 49px;background:#003e6b;color:#fff!important;border:0;border-radius:0;display:inline-block;font-size:15px;font-weight:700!important;text-decoration:none;cursor:pointer;line-height:normal;vertical-align:top;font-family:"Cabin", sans-serif;transition:all .3s; border-radius: 12px}
.btn>a{color:#fff!important; text-decoration: none;}
.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:#4098d7; text-decoration: none}
.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:#4098d7}
button::-moz-focus-inner,
input::-moz-focus-inner{border:0;padding:0}
a:hover{text-decoration: none}

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

#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:0px;outline:none;font-size:13px;font-family:"Cabin",sans-serif; font-weight: bold; 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,
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{background:#fff;padding:30px;border:1px solid #D2DFEF}
form.loginform p{background:#E65229;color:#fff;padding:20px;line-height:1}
form.loginform label{font-weight:normal}
form.loginform label input{display:block;margin-bottom:10px;width:100%;box-sizing:border-box;padding:10px;color:#000}

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

#rz notify

-----------------------------------------*/
.e-notify{font-weight:bold;font-size:12px;background:#E7DF7F;position:fixed;padding:3px 13px 2px;bottom:10px;left:10px;color:#111;border-radius:50px;text-transform:uppercase;z-index:999;overflow:hidden;box-shadow:0 0 10px rgba(0,0,0,.175)}
.e-notify img{display:none}
.e-notify i{margin-right:4px!important}
.e-notify a{position:absolute;top:0;bottom:0;left:0;right:0}

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

#rz alert

-----------------------------------------*/
.floating-alert{position:fixed;z-index:99999;bottom:10px;margin:0;right:10px;border:3px solid #fff;background:#000;background:rgba(0,0,0,.9);box-shadow:0 0 10px rgba(0,0,0,.2);color:#fff;padding:30px;font-size:14px;width:350px}
.floating-alert h2{color:#ffc140;margin:0 0 10px;font-family:sans-serif;font-weight:bold;text-transform:uppercase;font-size:18px}
.floating-alert .btn{margin:20px 0 0 0!important}
.floating-alert .close{padding:0;background:none!important;color:#fff!important;opacity:1;margin-right:20px}

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

#rz edit

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

.rzBtn{background:#0a558c!important}
.faqs-heading.active{background-color:#0a558c!important}
.faqs-toggle-content{border:1px solid #0a558c!important}
.videoBtn{position:absolute;left:0;right:0;bottom:302px;z-index:80;text-align:center}
.sliderbtn{position:absolute;left:0;right:0;bottom:0;top:auto;z-index:80;text-align:center}
.qlinksBtn{position: absolute; z-index: 61;}
.resourcesBtn{position: relative;}
.rz-action-btns{z-index: 61;}

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

#main

-----------------------------------------*/
#skip{position:fixed;left:-100%;top:-100%;transition:all .3s;z-index:999}
#skip:focus{left:50px;top:50px}
.fa{font-family: 'FontAwesome'!important}
#calendarEvent{left:0px;top:30%;max-height:500px;overflow-y:auto;margin:0 auto!important}
.dropdown-backdrop{display:none!important}

html{overflow-x:hidden;max-width:100%}
.text-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.toggle{display:none}

header{position: absolute; top:0; left: 0; z-index:200; background-color: rgba(0, 62, 107, .8) ;width: 100%}
header > .container{width: 1420px!important; max-width: 100%}
#homepage .container, #freeform footer .container{width: 1210px; max-width: 100%}
#freeform-main .container{width: 1460px; max-width: 100%}

#logo img{height: 42px}

nav{margin-left: auto;}
#nav{padding:0;margin:0;position:relative}
#nav li{margin:0;display:inline-block}
#nav a,
#nav span{display:block;font-size:18px;text-decoration:none!important;color:#ffffff;}


#nav ul{padding:0;margin:0}
#nav ul a,
#nav ul span{font-size:16px;padding:0;color:#fff}
#nav ul li{display:block;page-break-inside:avoid}

.btn-wrapper{text-align: center}

.goog-te-banner-frame{display:none}
#translation-links{padding:0;margin:0}
#translation-links li{position:relative;margin:0;list-style:none}
#translation-links ul{padding:30px;margin:0;position:absolute;top:100%;right:0;background:#fff;display:none; width: 100vw; height: auto;}
#translation-links ul li{float:left;width:120px;padding:5px 15px 5px 0}

/* Search styling */
#search-toggle{cursor:pointer}
#search form{position:relative}
#search a {color: #84c5f4; text-decoration: none}
#search input{font-size: 18px; padding-left: 0}
#search input::-webkit-input-placeholder{color:#84c5f4}
#search input:-moz-placeholder{color:#84c5f4}
#search input::-moz-placeholder{color:#84c5f4}
#search input:-ms-input-placeholder{color:#84c5f4}

/* Quick Links styling */
#quick-links-wrap{position: relative; z-index: 60; margin-top: -179px; background-color: rgba(2, 25, 51, .95)}
#quick-links{margin-top: -20px;}
.owl-item{padding: 21px 0 0; margin-top: 11px; height: 193px;}
.owl-item:hover{background-color: rgba(24, 111, 175, 1); box-shadow: 0px 2px 21.6px 2.4px rgba(0, 0, 0, 0.07); cursor: pointer; border-top-left-radius: 5px; border-top-right-radius: 5px;}
/* .owl-item:hover::before{content: ""; width: 100%; height: 5px; position: absolute; background-color: #186faf; top: -5px; border-radius: 15px 15px} */
.quick-link{color: #ffffff; text-decoration: none; font-size: 20px}
.quick-link:hover,
.quick-link:focus{text-decoration: none; color: #ffffff}
.quick-link-image-wrapper{display: flex; justify-content: center; align-items: center; width: 74px; height: 74px; margin: 0 auto; background-color: #0a558c; border: 2px solid #ffffff; border-radius: 50%}
.quick-link img {width: auto!important; transform: scale(.69)}
.quick-link-text{text-align: center; padding: 0 41px; margin-top: 12px; line-height: 26px}

.owl-stage .owl-item:nth-of-type(1) .quick-link-text{padding: 0 57px}
.owl-stage .owl-item:nth-of-type(2) .quick-link-text{padding: 0 50px}
.owl-stage .owl-item:nth-of-type(3) .quick-link-text{padding: 0 49px}
.owl-stage .owl-item:nth-of-type(6) .quick-link-text{padding: 0 52px}

.owl-prev, .owl-next{position: absolute; top: 32%; font-size: 35px}
.owl-prev{left: 15px}
.owl-next{right: 15px}

/* Resident Resources Styling */
#resident-resources-title{font-family: "Tradesmith", sans-serif; font-size: 48px; color: #ffffff; text-align: center; position: relative; margin: 106px 0 36px}
#resident-resources { position: relative; background: url(../images/resident-resources/background.jpg); background-size: cover}
#resident-resources::before {content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(10, 85, 140, .2)}
#resident-resources > .container{width: 1230px; max-width: 100%}
#resident-resources-tiles{margin-bottom: 95px}
#resident-resources-tiles>.row{margin: 0; padding-bottom: 20px}
#resident-resources .col-md-3,
#resident-resources .col-md-6 {padding-left: 10px; padding-right: 10px}
.resident-resources-tile{height: 150px; border: 1px solid #ffffff; position: relative; display: flex; justify-content: center; align-items: center; cursor: pointer;border-radius: 2px; color: #fff; text-decoration: none;}
.resident-resources-tile:hover{color: #fff;}
.resident-resources-tile::before{content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 62, 107, .5)}
.resident-resources-tile:hover::before{background-color: transparent}
.resident-resources-text{position: relative; width: 100%; padding: 0 103px; text-align: center; line-height: 26px; font-weight: bold;}
#resident-resources-tiles .row:first-of-type .col-md-3:nth-of-type(2) .resident-resources-text{padding: 0 77px}



/* County News Styling */
#county-news{background-image: url(../images/county-news/background.jpg); background-size: cover}
#county-news-title{text-align: center; font-family: "Tradesmith", sans-serif; font-size: 48px; color: #003e6b; margin: 105px 0 38px}
.county-news-tile{height: 250px; position: relative; background-size: cover; cursor: pointer}
.county-news-tile::before {content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 62, 107, .7)}
.county-news-tile:hover::before{background-color: transparent}
.county-news-date{width: 70px; height: 70px; background-color: #fadb5f; color: #003e6b; line-height: 24px; position: relative}
.county-news-month,.county-news-day{text-align: center; font-family: "Cabin", sans-serif; font-weight: bold}
.county-news-month{font-size: 14px; padding-top: 15px; line-height: 15px}
.county-news-day{font-size: 26px}
.county-news-title{position: relative; text-align: center; padding: 25px 44px 23px; font-size: 22px; line-height: 30px}
.county-news-tile img{width: 22px;position: relative; display: flex; justify-content: center; width: 22px; height: 22px; margin: 0 auto}
.btn-see-all-news{margin: 49px 0 115px}
.county-news-button{color: #fff; text-decoration: none;display:block;text-align:center;color:#fff}
.county-news-button:hover{color: #fff;}


#county-news > .container{width: 1200px; max-width: 100%}

/* County Events Styling */
#county-events>.container{width: 1010px; max-width: 100%}
#county-events{background-image: url(../images/county-events-background.jpg); background-size: 100% 100%}
.calendar-tab{background-color: #186faf; display: flex; align-items: center; padding: 15px}
.calendar-tab:hover{cursor: pointer}
.calendar-tab:nth-of-type(2){border-left: 1px solid #fdfeff; border-right: 1px solid #fdfeff}
.calendar-tab i{transition: transform 1s; margin-left: 19px; margin-right: 21px; font-size: 20px}
.calendar-tab.calendar-active{background-color: #003e6b}
.calendar-tab.calendar-active i{transform: rotate(180deg)}
.calendar-tab-title{font-family: "Cabin", sans-serif; font-size: 20px; font-weight: bold; color: #ffffff}
.calendar-meetings, .calendar-county-council{display: none}
#county-events-title{font-family: "Tradesmith", sans-serif; font-size: 48px; color: #003e6b; text-align: center; margin: 105px 0 37px}

/* Calendar Styling */
#btn-see-all-events{margin-bottom:65px;position:relative;top:-100px}
ul#calendar-filters li.calendar-active a{background-color: rgba(0, 0, 0, 0.15);}
.fc-prev-button.fc-button.fc-button-primary, .fc-next-button.fc-button.fc-button-primary {padding-top: 0.1em;}

footer{background-color: #ededed}
footer>.container>.row{display: flex; align-items: center;}
footer span{font-family: "Cabin", sans-serif; font-weight: bold; font-size: 14px; color: #636363}
footer a{color: #636363; text-decoration: none}
footer a:hover{color: #636363}
#footer-logo{width: 99px; margin: 25px 15px 25px}
#footer-county-information{margin-left: 11px}
#footer-county-information span::after,
#footer-revize span::after{content: "\2022"; padding: 0 12px 0 16px}
#footer-county-information span:last-of-type::after,
#footer-revize span:last-of-type::after{content: ""; padding: 0}
#footer-revize{float: right; margin: 0 16px 0 auto}
#revize-link, #revize-login{color: #000000}
#footer-trim{height: 5px; background-color: #0a558c}

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

#inner

-----------------------------------------*/
#freeform-main{background-color: #f7fcff}
#freeform >#slider{height: 396px}
#body-trim{height: 4px; background-color: #fadb5f; margin-bottom: 50px}
.fullwidth .subheader{display: block}

#flyout-wrap{background-color: #0a558c}
#flyout-wrap h3{font-size: 18px; font-family: "Cabin", sans-serif; font-weight: bold; line-height: 26px; color: #fadb5f; margin-bottom: 15px}
#flyout{margin:0;padding:0}
#flyout li{margin:0;display:block;position:relative}
#flyout a,
#flyout span{text-decoration:none;padding:15px 20px;display:block; font-family: "Cabin", sans-serif; font-weight: bold; font-size: 14px; line-height: 26px; color: #ffffff; padding-bottom: 10px; padding-right: 34px; padding: 0 34px 10px 0}
#flyout ul{display:none;position:absolute;top:0;left:100%;margin:0;padding:0;background:#aaa;z-index:1}
#flyout ul a,
#flyout ul span{font-size:13px;padding:10px 15px;width:180px;color:#fff;border-bottom:1px solid rgba(0,0,0,.15)}
#flyout li:hover > ul{display:block}
#flyout-wrap, #right-bar{min-height: 450px; margin-bottom: 15px;}

#breadcrumbs{font-size:14px;color:#222; margin-top: 44px}
#breadcrumbs a{display:inline-block;text-decoration:none;color:#003e6b; margin-right: 32px}
#breadcrumbs span{color: #4098d7; font-weight: normal}
#breadcrumbs a:after{content:'\f0da';font-family:'FontAwesome'; position: relative; left: 19px}

.post p, .post li{font-family: "Cabin", sans-serif; font-size: 16px; line-height: 26px; color: #2b2b2b; font-weight: normal}
.post p{margin-bottom: 26px}
.post a{color: #186faf}
.post li{margin-bottom: 0; margin-left: -5px;position: relative}
.post li::before{content: "\f0da"; font-family: "FontAwesome"; position: absolute; left: -10px}
.post img{margin-top: 6px}
.post ul{list-style: none; margin-bottom: 26px}

.entry{box-shadow: 0px 4px 21.84px 2.16px rgba(0, 0, 0, 0.03)}
.entry, #right-bar{color: #2b2b2b}
.fullwidth #freeform-main .entry{margin-right: 0}

#freeform .entry{padding-bottom: 46px; margin-bottom: 50px; background-color: #ffffff; box-shadow: 0px 4px 21.84px 2.16px rgba(0, 0, 0, 0.03); min-height: 450px;}
#freeform #page-heading{position: relative}
#freeform .header::after{content: ""; position: absolute; width: 100%; height: 1px; background-color: #e6eef3; left: 0; bottom: -12px;}
#freeform .header:empty::after{display: none;}

#freeform #blog-posts .blog-item .blog-header h2{width: calc(100% - 90px);}
#freeform #blog-posts .blog-item .blog-header h3{width: 90px;}

/* Styling used for ul labels in the right bar of the freeform page */
#right-bar{background-color: #ededed; padding-top: 43px}
#right-bar ul{list-style: none; margin-bottom: 36px; padding-left: 25px}
#right-bar ul::before{content: attr(aria-label); font-size: 18px; font-family: "Cabin", sans-serif; font-weight: bold; color: #0a558c; line-height: 26px; display: inline-block; margin-bottom: 15px}
#right-bar img{border-radius: 50%; margin-left: 30px; margin-bottom: 15px; height: 100px; width: 100px; object-fit: cover;}
#right-bar li{font-size: 14px; font-family: "Cabin", sans-serif; font-weight: bold; line-height: 26px; padding-right: 19px; margin-bottom: 9px; word-break: break-word}
#right-bar .right-bar-contact li{margin-bottom: 0}
#right-bar .right-bar-faq li{margin-bottom: 10px}
#right-bar a{text-decoration: none; color: #2b2b2b}

/* FAQ Area styling in right-nav (different from regular FAQ styling.  */
.faqarea{padding: 0 35px;}
.faqarea > h2{margin-top: 1px; color: #0a558c; font-family: bold; font-size: 18px;}
.faqarea .content{color: #2b2b2b; font-size: 14px;}

/* FAQ Styling */
.faq-item{border: 1px solid #000000;}
.faq-question{border-bottom: none!important;}
.faq-question>.faq-question-header{color: #000; font-weight: bold; display: block; padding: 11px 0;}
.faq-question>.faq-question-header:active{outline: none; outline-offset: none;}
.faq-question>.faq-question-header.active-question{background-color: #0a558c; color: #ffffff;}
.faq-question .faq-question-header::before{margin-left: 10px; font-size: 20px;}
.faq-item .faq-answer{margin-top: 5px; margin-bottom: 5px;}

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

#share widget

-----------------------------------------*/
.modal-content{overflow:hidden;box-shadow:none!important;border-radius:3px; color: #000000;}
.modal-header{background:#fff;border-color:#F4F9FD;text-align:center;padding:30px 60px;text-align:left}
.modal-header h4{font-size:30px}
.modal-header button{margin-top:2px!important;position:relative;font-size:25px}
.modal-body{padding:40px 60px}
.copylink{margin-bottom:40px}
.copylink pre{border-color:#DBE7F0;background:#F4F9FD;border-width:1px}
.modal-header button,.modal-header button:hover{color:#000!important;background:none}
.share-btns{margin:0 0 20px}
.share-btns a{display:block;border:1px solid #DBE7F0;text-align:center;height:170px;border-radius:3px;overflow:hidden;text-decoration:none;margin-bottom:20px}
.share-btns i{display:block;line-height:170px!important;font-size:60px}
.btn-facebook{color:#3b5998!important}
.btn-twitter{color:#00ACED!important}
.btn-google{color:#D34836!important}
.btn-reddit{color:#ff5700!important}
.btn-facebook:hover{border-color:#3b5998}
.btn-twitter:hover{border-color:#00ACED}
.btn-google:hover{border-color:#D34836}
.btn-reddit:hover{border-color:#ff5700}
.btn-lg{font-size:16px;padding:14px 30px;border:0;border-radius:3px}

#share-translate-buttons{position: fixed; right: 0; top: 40%; z-index:99999;}
.floating-share-btn, #translate{position:relative;border-radius:0;border:0;color:#fff!important;box-shadow:0 0 10px rgba(0,0,0,.3);text-align:center}
.floating-share-btn{background: #003e6b!important;padding:18px 23px}
#translate{background: #186faf!important; padding: 0}
.floating-share-btn span, #translate-text span{display:block;margin-top:5px;text-transform:uppercase; font-size: 12px;}
.translate-btn{font-size: 15px;}
#translate-text{padding: 15px 4px 18px;}
#translate-text:hover{cursor: pointer;}


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

#video-bg

-----------------------------------------*/
.inline-YTPlayer{position:absolute!important;left:0;right:0;bottom:0;top:0;max-width:100%!important}
#video-bg{padding-bottom:0!important;height:100%!important}
.inlinePlayButton{display:none!important}
#video-banner{position:absolute;left:0;right:0;top:0;bottom:0;z-index:-1}
/* -----------------------------------------

#bxslider

-----------------------------------------*/
.bxslider{padding:0;margin:0}
.bxslider,
.bx-viewport,
.bxslider li,
.bx-wrapper{height:100%!important}

.bx-wrapper{position:relative;margin:0;padding:0;overflow:hidden}
.bx-wrapper img{max-width:100%;display:block}

.bxslider{list-style:none}
.bxslider > li{filter: contrast(1.4)}
.bxslider > li:nth-child(n+1){display:none}

#slider{height:1079px;position:relative}
#slider-caption{position:absolute;left:0;right:0;top:45.2%;transform:translateY(-50%);z-index:51; font-size: 128px; font-family: "TradesmithStamp", sans-serif; color: #ffffff}
#slider-caption-title{line-height: 115px}
.slider-caption-stacked{line-height: 137px}
#slider-caption-accent{font-size: 32px; font-family: "Cabin", sans-serif; font-weight: bold; letter-spacing: 6.4px; margin-bottom: 41px}
#slider-scroll{position: absolute;bottom: 19.2%;right: 48.1%;z-index: 51;text-align: center;text-decoration: none;color: #ffffff;text-shadow: 0px 0px 27px rgba(0, 0, 0, 0.64);display: none;}
#slider-scroll:hover{cursor: pointer; color: #ffffff}
#scroll-text{font-size: 18px; line-height: 33px}
#scroll-arrow{font-size: 33px}
#slider-caption-title-top{border-top: 3px solid #ffffff; padding-top: 13px}
#slider-caption-title-bottom{border-bottom: 3px solid #ffffff; padding-bottom: 8px}
#slider-caption-title-bottom::after{content: ""; width: 53.3%; height: 3px; background-color: #ffffff; position: absolute; left: 23.3%; bottom: -30px}

/* pager */
.bx-wrapper .bx-pager{text-align:center}
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item{display:inline-block}
.bx-wrapper .bx-pager.bx-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.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active{background:#000}

/* direction controls */
.bx-wrapper .bx-controls-direction a{width:32px;height:32px;margin:-20px 0 0;display:block;background:url(../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-next{right:-40px;background-position:100% 0!important}
.bx-wrapper:hover .bx-next{opacity:0.6;right:20px}
.bx-wrapper:hover .bx-prev{opacity:0.6;left:20px}
.bx-wrapper .bx-prev:hover,.bx-wrapper .bx-next:hover{opacity:1}

/* iframe avcaiFrame styling */
#avcaiFrame{width: 100%;}

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

#media queries

-----------------------------------------*/
@media only screen and (min-width:992px) {
    #nav-wrapper{display: flex; align-items: center; height: 100px;}
	nav{flex: 1 1 auto; height: 100%;}
	#nav{display: flex!important; justify-content: flex-end; text-align: center; height: 100%;}
	#nav .focused .toggle,#flyout .focused .toggle{display:inline-block!important;margin-left:8px}
	#nav .focused .toggle{position:relative}
	#nav .focused .toggle2{display:none!important}
	#flyout .focused .toggle{-webkit-transform:translateY(-50%)rotate(-90deg);transform:translateY(-50%)rotate(-90deg);position:absolute;right:15px;top:50%}
	#flyout{display:block!important}
	.layout-table{table-layout:fixed;width:100%}
	#nav li:hover>ul{display:block}
	#nav ul ul{left:100%;top:0}
	#nav ul a:hover, #nav ul span:hover{text-decoration:underline!important}
	#nav>li{height: 100%; flex: 1 1 auto;}
	#nav>li>a:first-of-type,#nav>li>span{display: flex; height: 100%; width: 100%; align-items: center; justify-content: center;}
	#nav>li>a>span,
	#nav>li>a>div,
	#nav>li>span>div{position: relative}
	#nav>li:hover>a>div::before,
	#nav>li:hover>span>div::before{content: ""; height: 6px; width: 100%; position: absolute; display: block; background-color: yellow; top: -39px}
	#logo{flex: 1 1 auto; text-align: center; padding-left: 15px;}

	/* Mega Menu Styling */
	#nav>li>ul{column-count:4;-webkit-column-count:4;-moz-column-count:4;column-gap:45px;-webkit-column-gap:45px;-moz-column-gap:45px;position:absolute;left:-102px;right:5px;top:100%;padding:36px 45px;display:none;background-color: rgba(0, 62, 107, .99)}
	#nav>li>ul>li{display:block;width:100%}
	@-moz-document url-prefix(){#nav>li>ul>li{display:inline-block}}
	#search input{width: 64%; background-color: transparent; border: none; color: #84c5f4}
	#nav .first-level>li>a,
	#nav .first-level>li>span{font-family: "Cabin", sans-serif; font-weight: bold; font-size: 16px; line-height: 30px; color: #fadb5f}
	#nav .second-level>li>a,
	#nav .second-level>li>span{font-family: "Cabin", sans-serif; font-weight: normal; font-size: 14px; line-height: 30px; color: #ffffff}

	#flyout ul{position:absolute;left:100%;top:0;background:#0a558c;display:none}
	#flyout li:hover>ul{display:block}
	#flyout ul a:hover,#flyout ul span:hover{background:rgba(0,0,0,.15)}

	.toggle,.toggle2{display:none!important;position:absolute;top:0;right:15px;padding:0!important;border-bottom:none!important}

	#search{display:block!important; min-width: 89px; margin-left: 20px; flex: 0 1 auto;}
	#search form{margin-bottom: 0;}

	#county-news .col-md-4{padding: 0 10px}

	/* Inner/Freeform Styling */
	/* Added z-index because negative margin overalapped hover/click collision */
	#freeform-main .row .col-md-8{z-index: 4}
	#freeform-main .row .col-md-2{z-index: 5}
	#flyout-wrap{margin-right: -37px; padding: 24px 0}
	#flyout>li, #flyout-wrap>h3{padding: 0 20px 0 35px; word-wrap: break-word;}
	#flyout>li{cursor: pointer}
	#right-bar{margin-left: -37px}
	#freeform .entry{padding-left: 56px; padding-right: 50px; margin-right: 7px}
}

@media only screen and (max-width:991px) {
	/* rz form tables - without page scope this targets editforms and makes
	 * editing confusing
	 */
	header > .container{width: 100%}
	header nav{min-height: 0!important}

	#freeform #formwizziwmorf tr,#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}
	/* Allows tables to be used as columns with responsive stacking */
	.layout-table{width:100%!important}
	.layout-table,
	.layout-table thead,
	.layout-table tbody,
	.layout-table th,
	.layout-table td,
	.layout-table tr{display:block!important}
	.layout-table td{margin-bottom:15px}

	#toggles{position:absolute;right:15px;top:15px}
	#nav-toggle,#search-toggle{line-height:45px;width:45px;text-align:center;border-radius:4px;background:#0a558c;color:#fff;margin-left:5px}

	header nav{padding-top: 85px}
	#nav,#flyout{display:none}
	#nav li{display:block}
	#nav a,
	#nav span,
	#flyout a,
	#flyout span{font-size:14px !important;line-height:1 !important;padding:15px !important;border-bottom:1px solid rgba(0,0,0,.15);color:#fff}
	#flyout .fa{font-family: 'FontAwesome'}
	#nav li:last-child>a,
	#nav li:last-child>span,
	#flyout li:last-child>a,
	#flyout li:last-child>span{border:0}
	#nav ul,
	#flyout ul{background:rgba(0,0,0,.15)}
	.toggle,
	.toggle2{display:block;position:absolute;right:0;top:0;line-height:45px;text-align:center;width:45px;background:rgba(0,0,0,.15);transform:none !important}

	#nav{background:#003e6b}
	#nav ul{display:none}
	#nav li{position:relative}

	#slider{height: 890px}
	#slider-caption{top: 34.2%; font-size: 114px;}
	#slider-caption-accent{font-size: 27px; margin-bottom: 39px; margin-top: 62px;}
	#slider-scroll{bottom: 22.2%}

    #logo{position: absolute; top: 23px;}
	#logo img{width:170px; height: auto}

	#search{display:none; position: relative; top: -7px}
	#search>form>a{position: relative;top: 31px; left: 5px}
	#search .search-input{padding-left: 30px}

    #county-events{background-size: cover;}

	.calendar-tab:nth-of-type(2){border: none}


	#flyout{background:#0a558c}
	#flyout ul{position:static;width:100%;background:rgba(0,0,0,.15)}
	#flyout li:hover>ul{display:none}
	#flyout ul a,#flyout ul span{width:auto}
	#flyout-background{display:none}
	#flyout-toggle{color:#fff;background:#003e6b;padding:15px;cursor:pointer}
	#flyout-wrap h3{display:none}

	.entry{padding-left: 15px; padding-right: 15px}

	#right-bar{display: flex; justify-content: center; text-align:center}

	#share-translate-buttons{top: auto; bottom: 125px;position:absolute;}

	#translation-links ul{padding-left: 15px; padding-right: 15px; bottom: 100%; top: auto;}
	#translation-links ul li{width: 72px; font-size: 12px;}

	#resident-resources-tiles>.row{margin: 0; padding-bottom: 0}
}

@media only screen and (max-width:1468px) and (min-width: 992px){
	#search{right: 15px}
	#nav{margin-left: 1.5%}
}

@media only screen and (max-width:1428px){
	#logo{left: 15px}
}

@media only screen and (max-width: 1200px) and (min-width: 992px){
	#logo img{height: 22px}
}

@media only screen and (max-width: 1082px) and (min-width: 992px){
	#nav>li>a, #nav>li>span{font-size: 15px}
}

@media only screen and (max-width:950px){
	footer .row > a{display: flex; justify-content: center}
	#footer-county-information{margin-left: 0}
	#footer-revize{display: flex; justify-content: center; flex-direction: column; width: 100%; margin: 25px 0}
	footer span{display: block; text-align: center}
	footer span::after{content: ""!important}
}

	/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width:767px) {
	.floating-alert{width:auto;right:0;left:0;border:0;bottom:0;border-radius:0;padding-left:15px;padding-right:15px}
	.floating-alert{font-size:12px}
	.floating-alert h4{margin-bottom:10px;font-size:14px}
	.floating-alert .btn{font-size:10px}
	.share-btns a{height:auto;padding:10px;width:100%;font-size:12px;white-space:nowrap;overflow:hidden}
	.share-btns i{display:block;line-height:50px!important;font-size:20px}

	#slider-caption-accent{font-size: 16px}
	#slider-caption-title{line-height: 71px}
	#slider-caption{font-size: 49px}
	#slider-scroll{right: 43%}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width:480px) and (max-width:767px) {}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width:479px) {
	#slider-scroll{right: 39%}
}

@media print {
	#slider,footer,#breadcrumbs,#flyout-wrap,.floating-share-btn,.e-notify,header{display:none!important}
	a[href]:after{content:none!important}
}
