header .sub-container { color:#fff; background:url(../images/header.jpg) no-repeat 0; }
header { background-color:#1c213f;}
header h2.logo a { width:450px; } /* Changes width of clickable home link in header - this will depend on how long your agency/department name is */
footer { background:#1c213f; color:#fff;}
footer h4 {color: #fff;}

th, td { font-size:100%!important; }

/* Search Button -- If you choose to change the search button color, create new class name and change colors (instead of .green_btn which is for a green button only) */
.green_btn { background:#607c05 none repeat scroll 0 0!important; border: 1px solid #5C8645!important; color: #fff!important; }

/* Highlight Boxes -- Containing div (box) that holds the homepage slideshow */
.photo_highlight { margin:-10px -1em 0; }

/* Main (drop down) navigation colors */
nav#top-nav, nav#top-nav ul.sf-menu, .sf-menu li { background-color: #D9D9D9; }
.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu li a:focus, .sf-menu li.sfHover .sf-with-ul, .sf-menu a:hover, .sf-menu li.current a:hover, .sf-menu li.current, ul.sf-menu li:hover > a { background:#1c213f; color:#fff; }
.sf-menu a, .sf-menu a:link, .sf-menu li ul li a  { color:#1c213f; }
.sf-menu ul { border-top:5px solid #1c213f; }
.sf-menu ul li { background:#fff; border-bottom:1px solid #f1f1f1; }

/* Dropdown navigation default arrow color - border-top-color only should be same color as links */
.sf-arrows .sf-with-ul::after, .sf-arrows .sf-with-ul:after { /* do not change this -->*/ border:5px solid transparent; /* only change this -->*/ border-top-color:#1c213f; }

/* Dropdown navigation arrow color when mouse hovers - should be same color as the text when hovered */
.sf-arrows > li > .sf-with-ul:focus::after, .sf-arrows > li:hover > .sf-with-ul::after, .sf-arrows > .sfHover > .sf-with-ul::after { border-top-color:#fff; }

/* Color of arrow when in section - should match the color of the text (can be found in "Active" colors section) */
body#samples nav .samplestab.sf-with-ul::after, body#features nav .featurestab.sf-with-ul::after { border-top-color:#fff; }

/* Top nav style for when navigation items wrap to two lines. Not needed if the items don't wrap to two lines */
nav .abouttab, nav .courtstab, nav .hometab, nav .ecourtstab, nav .programstab, nav .rulestab, nav .formstab, nav .helptab, nav .infotab, nav .newstab {  display:inline-block; vertical-align:middle; line-height:40px; }

/* "Active" section colors (former tabs)  -- highlight the navigation section you are in (see documentation for details) */
body#about nav .abouttab, body#courts nav .courtstab, body#help nav .helptab, body#rules nav .rulestab, body#forms nav .formstab, body#ecourts nav .ecourtstab, body#forms nav .formstab, body#bar nav .bartab, body#jurors nav .jurorstab, body#programs nav .programstab, body#news nav .newstab, body#reports nav .reportstab, body#info nav .infotab {  background-color:#4e5668; color:#fff; }

/* Headline for Left Navigation */
#sectionnav h3 { background-color:#1c213f; color:#fff; }
.sectionbanner { background-color:#f4f5f7; background: -webkit-linear-gradient(left, #f4f5f7, white); /* For Safari 5.1 to 6.0 */ background: -o-linear-gradient(right, #f4f5f7, white); /* For Opera 11.1 to 12.0 */ background: -moz-linear-gradient(left, #f4f5f7, white); /* For Firefox 3.6 to 15 */ background: linear-gradient(to right, #f4f5f7, white); /* Standard syntax (must be last) */ }

.crumb_trail + #sectionnav { margin-top:15px!important; }

/* Google Calendar */
.calendar { width:100%; height:100%; }

/* Google Directions Form */
.map-btn { width: 20%; font-size: 14px; background-color: #c14700; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; }
.map-btn:hover { background-color: #a23b00; }
.input-box { width: 50%; margin: 8px 0; display: inline-block; border: 1px solid #ccc; font-size: 14px; box-sizing: border-box; background-color: white; padding: 12px 20px; }
.input-box { width: 50%; margin: 8px 0; display: inline-block; border: 1px solid #ccc; font-size: 14px; box-sizing: border-box; background-color: white; background-image: url(../images/point.png); background-position: 10px 10px; background-repeat: no-repeat; padding: 12px 20px 12px 40px; }

/* Contact Form */
.form-btn { width: 20%; font-size: 14px; background-color: #c14700; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; }
.form-btn:hover { background-color: #a23b00; }
.input-form { width: 50%; margin: 8px 0; display: inline-block; border: 1px solid #ccc; font-size: 14px; box-sizing: border-box; background-color: white; padding: 12px 20px; }


/* Arabic text */
.arabic { text-align: right; }

/* Home Page Example  -- if not used, delete */
.home-content {max-width:1260px;margin:0 auto;}
.homecol1 { width:68%; float:left; margin:0 1em; }
.homecol2 { width:25%; float:left; margin:1.55em 1em; }
.homerightbox {border:1px solid #ececec;padding:10px; margin-bottom:10px; text-align:center;border-radius: 10px;}
.homerightbox h2 { margin:0; text-align:center; }
.homerightbox ul { margin-left:-18px; }
.homerightbox p { text-align:left; }
.homerightbox img { margin:.5em 0 0 0; }


.home-newsrow {display:flex;flex-direction:row;margin-bottom:2em;}
.homenews {width:70%;margin-right:1.5em;}
.homenews-rt {width: 25%;text-align: center;border: 1px solid #ececec;border-radius: 10px;padding: 0 20px;margin-top: 1.5em; }

.newslist li {margin-bottom:.5em;}

.pdf-viewer { clear:both; width:70%; margin:30px auto; padding:1px 10px 1px 56px; background:#fff url(../images/pdf-icon.png) 10px 20px no-repeat; border:1px solid #beb7a5; }
aside .pdf-viewer { width:auto!important; }

.getinvolved {
background-color: rgba(0, 0, 0, 0.7);
border-radius: 10px;
float: right;
margin: 2em auto auto;
padding: 5px 20px 20px;
width: 37%;
color: #fff!important;
z-index:1001;
}
.getinvolved ul {list-style-type:none;margin-left:0;padding-left:0;}
.getinvolved li {margin-bottom:.5em;}

.getinvolved a {color:#fff !important;text-decoration: underline;}
.getinvolved a:hover {text-decoration: none;}
.getinvolved a:visited {text-decoration: underline;}

.icon-grid {display:flex;margin:0;padding:0;list-style-type: none;margin-top:1em;}
.icon-grid li {text-align: center;flex:1 1 300px;margin: 10px;}
.icon-grid h2 {font-size:1.125em !important;margin:0;}
.icon-grid p {margin-top:.25em !important;}
.icon-grid a {text-decoration:none;}

@media screen and (max-width:600px){
  .icon-grid {flex-direction:column;}
  .icon-grid li {flex: 1 1 auto;}
}


/*Right Column Box Styles */
.sidebarbox { background-color:#eee; }
.sidebarbox h3 { color:#fff; background-color:#1c213f; }

/* tbstribed table styles for  */
.tbstriped tr th { background-color:#1C213F; color:#fff; }
.tbstriped thead td { color:#fff; background-color:#1C213F; }
/* these are the colors for alternating rows */
.tbstriped tr td { background:#fff; }
.tbstriped tbody tr.zebra td { background:#eee; }


/* Highlight box without border -- as seen on /features/highlightbox.html  */
.highlightbox1 { background:#7497cf url("../images/fishing-bulletin-bg.jpg") no-repeat scroll right bottom; margin:10px auto 0; padding:0 0 400px; width:85%; }
.fishlink { text-decoration:none; color:#000!important; }
.gotfish { color:#fff!important; display:block; font-size:2.2em; margin:auto; padding-top:10px; text-transform:uppercase; width:72%; text-shadow:0px 1px 2px #000; text-align:center; }
.getfish { color:#fff; font-size:1.6em; text-align:center; text-shadow:0px 1px 3px #000; margin:10px; }

/* Highlight box with border -- as seen on /features/highlightbox.html */
.highlightbox2 { background:#7497cf url("../images/fishing-bulletin-bg.jpg") no-repeat scroll right bottom; margin:10px auto 0; padding:0 0 400px; border:2px solid #fff; box-shadow: 0 1px 5px 1px #666; width:85%; }
.fishbtn { display:block; margin:auto; font-size:1.5em; text-align:center; width:70%; }

/* Highlight box traffic pages */
.highlightbox3 { background:#7497cf url("../images/traffic-bulletin.jpg") no-repeat scroll right bottom; margin:10px auto 0; padding:0 0 400px; border:2px solid #fff; box-shadow: 0 1px 5px 1px #666; width:85%; }
.trafficbtn { display:block; margin:auto; font-size:1.5em; text-align:center; width:70%; }


/* Small Slideshow with Search and Buttons  -- as seen on /features/slideshow.html */
#home-promobox { background:#35363B; margin:0 0 10px; width:100%; }
#home-search { float:left; margin:0 2%; width:34%; }
#home-search form.searchform { background:#ffffff; border:medium none #666; border-radius:7px; box-shadow:0 2px 4px 1px #666 inset; clear:left; float:none; margin:17px auto 10px; padding:9px 10px 7px; width:100%; }
#home-search input.searchbutton { background:transparent url("../images/magn.jpg") no-repeat scroll 0 0; border:medium none; cursor:pointer; float:right; height:18px; margin:3px 0 0; width:20px; }
#home-search input.searchtext { border:medium none; color:#999999; font-size:1em; width:80%; } 
#home-popular { float:right; margin:10px 0 0; width:59%; }
ul#browse-home { float:left; list-style:outside none none; margin:5px 0 14px; padding:0; width:auto; }
ul#browse-home li { color:#fff; display:inline-block; float:left; margin:6px 4px 8px 3px; }
ul#browse-home a { background-color:#fff; border-radius:4px; color:#35363B; padding:6px 7px 5px;  text-decoration:none; }
ul#browse-home li a:hover { background-color:#475c04; color:#fff; }
#home-promobox .flexslider { padding: 3px; width:auto; }
.flexslider .slides img { color:#fff; }
 

/* index2 home page design -- alternative homepage design as seen on index2.html */
.home-info { margin:40px auto 0; width:75%; }
.home-info .info { float:left; width:75%; }
.more-button { float:right; margin-top:70px; }
.more-button a { background-color:#444; box-shadow:0 0 3px -1px #000; color:#fff !important; padding:15px 25px; text-decoration:none; }
.more-button a:hover { background-color:#777; }

.highlight-boxes { margin:20px -1em 0; width:103%; float:left;}
.subscriber-box { background-color:#6693aa; color:#fff; height:225px; margin:0; padding:1.5% 2.5%; width:45%; float:left; }
.parent-box { background-color:#50798F; color:#fff; height:225px; margin:0; padding:1.5% 2.5%; width:45%; float:left; }
.subscriber-box h2, .parent-box h2 { color:#fff; padding-top:20px; text-align:center; margin:20px auto; }
.subscriber-box p, .parent-box p{ text-align:center; width:72%; margin:25px auto; }
.subscriber-box p a, .parent-box p a{ color:#fff; }

.services-box { width:103%; margin:-32px -1em -10px; background:#F1F1F1; height:auto; float:left; }
.design, .online, .payment, .solutions { float:left; width:17%; margin:0 4%; margin-bottom:30px; }
.services-box h2 { text-align:center; font-size:2.2em; color:#1C213F; }
.services-box h3 { text-align:center; color:#1C213F; }

.top {border-bottom: 1px solid #cccccc; padding-bottom: .8em; text-align:right; font-style:italic; clear:both;}

/* News Search */
form.news-search fieldset { border:1px solid #ccc; padding:10px; }
form.news-search h2 { color:#1C213F; margin:0; }
form.news-search p { font-size:.85em; }

.parallax-window { height:300px; background: transparent; width:100%; margin-left:-1em; padding-right:2em; margin-top:0; padding-top:60px; color:#fff; }
.parallax-window2 { height: 275px; background: transparent; width:100%; margin-left:-1em; padding-right:2em; margin-top:-26px; padding-top:60px; }


/* Homepage FINAL */

.parallax-window h1 { text-transform:uppercase; }
.courts-container { max-width:80em; margin:0 auto; padding:0 1em; }
.courts-container h1 { font-size:3.3em; margin-bottom:0; font-weight:normal!important; }
.courts-container h2 { font-size:2em; margin-bottom:0; }
.courts-container h1 + h2 { font-size:2.2em; margin-top:0; font-style:italic; }
.mission p { font-size:1.1em; margin-bottom:0; }

.flexrow { display:flex; flex-direction:row; }
.flex-cell-wide { flex:1 1 65%; margin-right:80px; }
.flex-cell-narrow { flex:1 1 35%; }

.flex-cell { flex:1 1 50%; }
.card { padding:15px; box-shadow:0 0 12px #999; margin:0 60px 40px 0; }
.card:last-child { margin-right:0; }
.card h3 { margin:10px 0 0; font-size:1.6em; }
.card p { margin-top:0; }

.courts-container h2 { font-size:2em; margin-bottom:0; }

img.resp-img { max-width:100%; }

.flexslider { margin-bottom:35px!important; }
.flex-caption { text-align:center!important; font-size:1.3em; bottom:-21px!important; }

.signup { background-color:#ccc; border-radius:7px; padding:5px 15px; }
.signup .flexrow { width:100%; }
.signup h4 { flex:1 1 30%; font-size:1.8em; font-style:italic; margin:15px 0 10px; }
.signup form { flex:1 1 70%; margin:10px 0 0 0; }
.signup form input { float:left; }
.signup form input[type=text] { font-size:1.2em; border:0; padding:5px; }
.signup form input[type=submit] { font-size:1em; padding:6px; margin-left:10px; }
.signup p { clear:both; }
a.visitcourt { background:url("../images/building-icon.png") 10px 5px no-repeat; padding-left:45px!important; background-size:25px; }

.court-locations { margin-bottom:40px; }
.court-locations p:last-child { margin-top:30px; }
.social-highlights h2 { margin:0; }
.heading-border { display:none; }

#court-alerts { margin-left:-1em;  font-weight:bold; text-align:center; background-color:#ffa32e; padding:10px; }
#court-alerts p { margin:0; padding:0 10px; }
#court-alerts p img { width:25px; height:19px; vertical-align:text-bottom; }

.blue.button, .blue.button:visited, .blue.roundbutton, .blue.roundbutton:visited { background-color:#1C213F!important; }
.blue.button:hover, .blue.roundbutton:hover { background-color:#49506D!important; }

a.whiteoutline { border:1px solid #fff!important; color:#fff!important; text-decoration:none; background-color:rgba(0,0,0,.1); }

#criticalinfo { display:none; }
.flex-caption a, .flex-caption a:link, .flex-caption a:visited { color:#fff!important; }
