body {

/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#252525+0,02263c+13,022840+100 */
background: #fff;
font-family: 'Open Sans', sans-serif;
}
h1{
    font-family: 'Oswald', sans-serif;
}
h2{
    font-family: 'Oswald', sans-serif;
}
h3{
    font-family: 'Oswald', sans-serif;
}

.responsive {
  width: 100%;
  height: auto;
}

a:hover {
    text-decoration: none;
}
.container{
    background-color: #fff;

}

/* google translate styling*/
.s-translate{
	position: absolute; 
	margin: auto;
}

.m-translate{
	position: absolute; 
	margin: auto;
}

.l-translate{
	position: absolute; 
	left: -15px; 
	top: -4px;
}

/*generic center styling for images*/
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* navbar Custom Styling */

.navbar-custom{

}
/* Title */
.navbar-custom .navbar-brand {
    color: #B3DDF2;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
    color: #5E5E5E;
}

/* Link */
.navbar-custom .navbar-nav > li > a {
    color: #fff;
    text-transform: uppercase;
    font-size: medium;
    padding: 40px 10px 40px 10px;  
    font-family: 'Oswald', sans-serif; 
}
.navbar-custom .navbar-nav > li > a:hover {
    color: black;
    background-image: -webkit-linear-gradient(top, #fceb27 0%, #d89600 100%);
    background-image: -o-linear-gradient(top, #fceb27 0%, #d89600 100%);
    background-image: linear-gradient(to bottom, #fceb27 0%, #d89600 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceb27', endColorstr='#d89600', GradientType=0);
}
.navbar-custom .navbar-nav > li > a:focus{
    background-image: -webkit-linear-gradient(top, #022a43 0%, #01111b 100%);
    background-image: -o-linear-gradient(top, #022a43 0%, #01111b 100%);
    background-image: linear-gradient(to bottom, #022a43 0%, #01111b 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#022a43', endColorstr='#01111b', GradientType=0);
    color: white;
} 
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {

}
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover{
    color: black;
}

/* Caret */
.navbar-custom .navbar-nav > .dropdown > a .caret {
    border-top-color: #777;
    border-bottom-color: #777;
}
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
.navbar-custom .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #333;
    border-bottom-color: #333;
}
.navbar-custom .navbar-nav > .open > a .caret,
.navbar-custom .navbar-nav > .open > a:hover .caret,
.navbar-custom .navbar-nav > .open > a:focus .caret {
    border-top-color: #555;
    border-bottom-color: #555;
}

.navbar-custom .navbar-nav .open .dropdown-menu>li>a, .navbar-default .navbar-nav .open .dropdown-menu {
    color:#ffffff;
    background-color: #022a43;
}
/* Mobile version */
.navbar-custom .navbar-toggle {
    border-color: #DDD;
    width: 100%;
    float: none;

}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {

}
.navbar-custom .navbar-toggle .icon-bar {

}

.navbar{
    margin: 0px 0px 0px 0px;
    background-color: #022a43;   
}

.navbar-custom .navbar-nav > li > a {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;  
}
.navbar-custom .navbar-nav > .active > a{
    color: white;
}
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover{
    color: white;
}
.mobile-nav-text{
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: medium;
    display: block;
}
/* Top Nav Style */
#top-menu {
    background-color: #021826;
} 
#top-menu a{
    color: #fff;
    font-size: x-small;
}
#top-menu a:hover{
    color: #fff;
    opacity: .8;
}


#top-menu .text-white{
    color:#fff;
}
#top-menu p{
    color: #fff;
    font-family: "tahoma";
    font-size: small;
    margin-top: 5px;
}
.top-menu-links {
    margin-top: 5px;
}


/* Secondary Navigation */
.home-page-second-nav{
    font-family: 'Oswald';
    height: 75px;
    background-color: #f4f4f4;
    margin: 5px 0px 10px 0px;
    padding: 0px 10px 0px 10px;
    transition: background 0.3s linear; 
}
.home-page-second-nav:hover{
    background-color: #e4e4e4;  
}
.home-page-second-nav a{
    border: none;
    color: #022e48;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    display: block;
    width: 100%;
    height: 100%;
}

/* Yellow Horizontal Rule Below Slider */
.horizontal-yellow-hr {
    background-image: url("img/yellow-horizontal.png");
    background-repeat: repeat-x;
    height: 26px;
    margin: 0px 0px 0px 0px;
    width: 100%;
}

/* Change Glyphicon On Home Page */
.home-page-second-nav .glyphicon-search {
    font-size: 40px;
    color: #022e48;
    display: block;
}
.home-page-second-nav .glyphicon-leaf {
    font-size: 40px;
    color: #022e48;
    display: block;
}
.home-page-second-nav .glyphicon-question-sign {
    font-size: 40px;
    color: #022e48;
    display: block;
}
.home-page-second-nav .glyphicon-envelope {
    font-size: 40px;
    color: #022e48;
    display: block;
}
.home-page-second-nav .glyphicon-save {
    font-size: 40px;
    color: #022e48;
    display: block;
}
.home-page-second-nav .glyphicon-calendar {
    font-size: 40px;
    color: #022e48;
    display: block;
}

.home-page-second-nav .glyphicon-briefcase {
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .glyphicon-star {
	font-size: 40px;
	color: #DAA520;
	display: block;
}

.home-page-second-nav .glyphicon-user {
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .glyphicon-plus-sign {
	font-size: 40px;
	color: #022e48;
	display: block;
}


.home-page-second-nav .glyphicon-pencil{
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .glyphicon-flag{
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .glyphicon-hdd{
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .glyphicon-home{
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .glyphicon-list-alt{
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .glyphicon-list{
	font-size: 40px;
	color: #022e48;
	display: block;
}
.home-page-second-nav .glyphicon-eye-open{
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .glyphicon-info-sign{
	font-size: 40px;
	color: #022e48;
	display: block;
}

.home-page-second-nav .small-text{
    font-size:12px;
    display: block;
}


.population{
    background-color: #da9900;
    margin: 0px 0px 0px 0px;
}
.population p{
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    margin-top: 0px;
    font-style: 'Teko', sans-serif;
}


/* Highlights section below second Nav */
.highlights2{
    background: url("/wp-content/themes/cookcountytheme/img/bg.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding-top: 15px;
    padding-bottom: 30px;
}
.highlights-search{
    padding-bottom: 25px;
}
.highlights{
    margin-top: 8px;
    margin-bottom: 5px;
    font-size: smaller;
    line-height: 1.2;
}
.highlights p{
    display: inline;    
}
.highlights img{
    height: 100px;
    width: 100px;   
    float: left; 
    margin: 0px 5px 0px 0px;
    border-style: solid;
    border-width: 4px;
    border-color: #f4f4f4; 
}
.highlights a{
    font-size: large;
    font-weight: bolder;
    color: #022e48;
}
.highlights a:hover{
    opacity: .7;
}

/* Quick Links Menu */
#quicklinks {
    background-color: #022a43;
    margin-top: 0px;
}
#quicklinks h1{
    color: #fff;
    font-weight: bold;
}
#quicklinks ul{
    list-style-type: none;
    -moz-column-count: 4;
    -moz-column-gap: 20px;
    -webkit-column-count: 4;
    -webkit-column-gap: 20px;
    column-count: 4;
    column-gap: 20px;
    padding-bottom: 30px;
}
@media only screen and (max-width: 760px) {
#quicklinks ul{
    list-style-type: none;
    -moz-column-count: 1;
    -moz-column-gap: 0px;
    -webkit-column-count: 1;
    -webkit-column-gap: 0px;
    column-count: 1;
    column-gap: 0px;
    padding-bottom: 30px;

}
}

#quicklinks a{
    color: #fff;
    width: "100%";
    height: "100%";
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 20px;
    display: block;
    text-transform: uppercase;
    padding: 0px 0px 0px 0px;
}
#quicklinks li{
    color: #021c2c;
    text-align: center;
    width: 100%;
}
#quicklinks li :hover{
    color: #da9900;
}

/* Quick Links Menu */
#sheriffs_police ul{
    list-style-type: none;
}

#sheriffs_police a{
    color:  #022e48;
    width: "100%";
    height: "100%";
    font-weight: bold;
    font-size: small;
    display: block;
}
#sheriffs_police a:hover{
    color:  black;
}
#sheriffs_police h3{
    font-size: small;
    font-weight: bold;
    text-transform: uppercase;
}

#sheriffs_police li{
    color: white;
    text-align: center;
    width: 100%;
    padding: 5px 0px 5px 0px;

}
#sheriffs_police li:nth-child(odd){
    background-color: #f4f4f4;
}
#sheriffs_police li:nth-child(odd):hover{
    background-color: #d89800;
    transition: background 0.3s linear;
}
#sheriffs_police li:nth-child(even){
    background-color: #f4f4f4;
}
#sheriffs_police li:nth-child(even):hover{
    background-color: #d89800;
    transition: background 0.3s linear;
}



/* Featured Posts Styling */
.press{
    background-color: #f4f4f4;
}
.press h1{
    font-family: 'Oswald';
    font-weight: bold;
}

.featured_posts img{
    margin-right: 10px;
    border-style: solid;
    border-width: 4px;
    border-color: #f4f4f4; 
}




/* Headline Styling */
.headline {
    border-top: 2px solid #000000;
    margin: 0px;
}

.headline2 {
    border-bottom: 2px solid #000000;
}
.headline h2{
    text-transform: uppercase;
    background-color: #021c2c;
    display: inline-block;
    margin-top: 0px;
    color: white;
    padding: 5px 10px 5px 10px;
    font-size: medium;
    font-weight: bolder;
}
.headline2 h3{
    text-transform: uppercase;
    background-color: #021c2c;
    display: inline-block;
    margin-bottom: 0px;
    color: white;
    padding: 5px 10px 5px 10px;
    font-size: small;
    font-weight: bolder;
    width: 100%;
    text-align: center;
}


/* Most Wanted */
.mostwanted article{
    text-align: center;
}
.mostwanted img{
    height: 150px;
    width: 150px;  
    margin: 5px 0px -20px 0px;
    border-style: solid;
    border-width: 4px;
    border-color: #f4f4f4;
}
.mostwanted h3 a{
    font-size: medium;
    font-weight: bold;
    color: white;
    padding: 5px 10px 5px 10px;
    background-color: #021c2c;
    text-transform: uppercase;
}
.mostwanted h4 a{
    font-weight:bold;
}

.footer {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#45484d+0,000000+100;Black+3D+%231 */
    background: rgb(69,72,77); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(69,72,77,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
    color: white;
}
.footer .col-md-3{
    padding-top: 15px;
    padding-bottom: 15px;
}
.footer p{
    font-size: x-small;
}
.footer .social-icons{
    width: 50px;
    height: 50px;
    display: inline-block;
    margin-right: 5px;
}
.footer .social-icons:hover{
    opacity: .7;
}
.footer ul{
    list-style-type: none;
    padding-left: 0;
}
.footer li{
    font-size: x-small;

}
.footer a{
    color: #f0efef;
}
.footer a:hover{
    opacity: .7;
}
.footer .menu{
    text-transform: none;

}
.footer .sub-menu{
    padding: 0px 0px 0px 10px;
    font-size: x-small;
    text-transform: none;
    font-weight: normal;
}

/* TIP FORM */
.reveal-if-active {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: scale(0.8);
    transition: 0.5s;
    input[type="radio"]:checked ~ &,
    input[type="checkbox"]:checked ~ & {
    opacity: 1;
    max-height: 100px;
    overflow: visible;
    padding: 10px 20px;
    transform: scale(1);
}
input[type="radio"]:checked ~ .reveal-if-active,
input[type="checkbox"]:checked ~ .reveal-if-active {
  opacity: 1;
  max-height: 100px; /* little bit of a magic number :( */
  overflow: visible;
}
article{
    margin-bottom: 5px;
}

/* Sprial Loader */
.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    margin-left: 6px;
    margin-top: 3px;

}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

