/* --------------------------
GLOBAL STYLES
-------------------------- */

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'),
       local('MaterialIcons-Regular'),
       url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
       url(../fonts/MaterialIcons-Regular.woff) format('woff'),
       url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

.main-body-content-container { font-size: 0.86rem; }

a {color: #03a9f4}

a:hover {text-decoration: underline}

nav a:hover,
nav ul a:hover,
a.btn:hover,
.tabs a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  overflow: hidden;
  height: auto;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}


.btn .fa {
  font-size: 1.3rem;
  margin-left: 10px;
  vertical-align: -1px;
}

.blue {
  background-color: #03a9f4 !important;
}

#main-container {
  overflow: hidden;
  background-color: #f4f5f6;
}

#main-body-content-container {
  font-size: 0.86rem;
  position: relative;
}

.navbar-fixed {
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.side-nav {overflow-x: hidden;}

.twitter-feed {
  margin-top: 25px;
}

nav .button-collapse {
  color: #333;
}




section.spacing {
  padding: 50px 0 0 0;

}

.sub-titles {
  font-size: 2rem;
  font-weight: bold;
}

.sub-titles:after {
  content: " ";
  display: block;
  height: 3px;
  width: 100%;
  margin: 25px 0 50px 0;
  background-color: #f7f6f6;
}

i.circle-icon {
  background-color: #03a9f4;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 42px;
  vertical-align: middle;
  text-align: center;
  font-size: 1rem;
}

/* --------------------------
HEADER / LOG IN OUT / SOCIAL MEDIA
-------------------------- */
.inline-list{
  display: inline;
}

.inline-list li{
  display: inline-block;
  margin: 0 20px 0 0;

}

.log-in-out {
	display: inline-block;
  vertical-align: top;
  margin-right: 50px;
}

.global-social-login {
	background-color: #03a9f4;
	color: #fff;
	padding: 10px 0;
  line-height: 20px;
}

.global-social-login .row { margin-bottom: 0; }

.global-social-login a {
	color: #fff;
}

.global-social-login a i {
	font-weight: normal;
  display: inline-block;
  margin-right: 3px;
}

.social-media {
	display: inline-block;
  vertical-align: top;
}

.social-media ul {
	padding: 0;
 	margin: 0;
 	list-style: none;
}

.social-media li {
  padding: 0;
  margin: 0 15px 0 0;
  display: inline-block;
  vertical-align: top;
}

.social-media li:last-child {
    margin-right: 0;
}

.social-media a {
  font-size: 1em;
  font-weight: normal;
  background-color: transparent;
  transition: all 300ms;
  -webkit-transition: all 300ms;
  line-height: 20px;
}

.social-media span {
  line-height: 20px;
  font-size: 1em;
}



/* --------------------------
GLOBAL NAV
-------------------------- */

nav ul a, nav .brand-logo {
    color: #333;
}

.global-social-login, nav ul a {
  font-size: 0.86rem;
}

/* --- search component --- */

.icon-circle {
    display: inline-block;
    height: 32px;
    width: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background-color: #03a9f4;
    margin-top: 15px;
    margin-bottom: 5px;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.icon-circle .fa {
  font-size: 1rem;
}


#global-icon-search {
	position: relative;
}

#global-icon-search a {
	padding-left: 20px;
  background-color: transparent;
}

.global-search-container {
	position: absolute;
	right: 47px;
	top: 0px;
	width: 0;
	text-align: right;

	overflow: hidden;
	white-space: nowrap;

	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

.global-search {
  height: 32px;
  margin-top: 16px;
  line-height: 0;

	background-color: #fff;
	border: 1px solid #fff;
	border-right:none;

	overflow: hidden;
	white-space: nowrap;
}

.global-search input {
  height: 2rem;
  border-bottom: none;
  padding-left: 5px;
}

.search-text {
	width: 94%;
  border: none;
  padding: 4px 4px 5px 4px;
  outline: 0;
  color: #333;
}

.search-button {
    margin-right: 5%;
    font-size: 1.25em;
    cursor: pointer;
    color: #666;
}

.search-circle .search-x {
	display:none;
}

.search-sub-active .search-circle .search-x {
	display:inline-block;
}

.search-sub-active .search-circle .search-spy {
	display:none;
}

.search-sub-active .search-circle {
	border-radius:0;
}

.search-sub-active .global-search-container {
	width:600px;
}

.search-sub-active .global-search {
	border-color: #ccc;
}

/* --- hamburger menu --- */


#mobile-menu-bars {

  margin-top: 20px;

  width: 30px;
  height: 25px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#mobile-menu-bars span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #666;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}


#mobile-menu-bars span:nth-child(1) {
  top: 0px;
}

#mobile-menu-bars span:nth-child(2),#mobile-menu-bars span:nth-child(3) {
  top: 9px;
}

#mobile-menu-bars span:nth-child(4) {
  top: 18px;
}

#mobile-menu-bars.open span:nth-child(1) {
  top: 9px;
  width: 0%;
  left: 50%;
}

#mobile-menu-bars.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#mobile-menu-bars.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#mobile-menu-bars.open span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

/*-------Mobile Navigation-------*/

.side-nav li a {
    font-size: 13px;
    line-height: 44px;
    height: 44px;
    padding: 0 15px;
}


.side-nav.fixed a {
  color: #333;
}

#nav-mobile li.search {
    position: absolute;
    left: 0;
    right: 0;
    /*top: 0;*/
    top: 150px;
    margin-top: 32px;
    padding: 1px 0 0 0;
    z-index: 2;
}

.side-nav .userView .background {
  max-width: inherit;
  overflow: auto;
}

#nav-mobile li.search + li {
  margin-top: 90px;
}

#nav-mobile li.search ~ li {
  margin-left: 10px;
  margin-right: 10px;
}


#nav-mobile li.search .search-wrapper {
    margin: 0 12px;
    transition: margin .25s ease;
}

#nav-mobile li.search .search-wrapper.focused {
    margin: 0;
}

#nav-mobile li.search .search-wrapper input#search-query-mobile {
    display: block;
    font-size: 16px;
    color: #333;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 0 45px 0 15px;
    border: 0;
    box-shadow: none;
}

#nav-mobile li.search .search-wrapper input#search-query-mobile:focus {
    outline: none;
}

#nav-mobile li.search .search-wrapper i.material-icons {
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    line-height: 50px;
}

#nav-mobile li.search .search-results {
    margin: 0;
    border-top: 1px solid #e9e9e9;
    background-color: #fff;
}


/*-------/Mobile Navigation-------*/

/* --------------------------
BANNER
-------------------------- */

.site-banner {
  padding: 150px 0 50px 0;
  margin-bottom: 5px;

  background: url(../images/main-banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}




.site-banner .banner-text {
  color: #fff;
}

.banner-text h1 {
  font-size: 3em;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 1px 1px 20px rgba(40, 40, 40, .5);
  margin:10px 0;
}

.banner-text h3 {
  text-shadow: 1px 1px 20px rgba(40, 40, 40, 1);
  margin:10px 0;
}

.banner-text .banner-header {
  font-size: 3em;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 1px 1px 20px rgba(40, 40, 40, .5);
  margin:10px 0;
}

.banner-text .banner-sub-header {
  font-size: 1.75em;
  text-shadow: 1px 1px 20px rgba(40, 40, 40, 1);
  margin:10px 0;
}


.global-site-banner .banner-text .banner-header:after{

  content: 'Beta Pilot Project';
}

.global-site-banner .banner-text .banner-sub-header:after{

  content: 'Building a better miamidade.gov';
}

/*---------------------------
  BREADCRUMBS
-----------------------------*/


.breadcrumbs {
  overflow: auto;
}

.breadcrumbs a {
  cursor: pointer;

}

.breadcrumbs ul li{
  display: inline;
  font-size: 0.86rem;
}


.breadcrumbs ul.jCrumb > li + li:before {
  padding: 0 5px 0 7px;
  color: #ccc;
  content: "/\00a0";
}


.breadcrumbs ul li span{
  display: none;
}

.breadcrumbs ul li:last-child span {
  display: inline-block;
  color: inherit;
}

.breadcrumbs .z-depth-1 { box-shadow: none; }


/* --------------------------
INTRO
-------------------------- */

#sp_pagetitle,
.intro-text,
.subtitle { text-align: center; }

#sp_pagetitle,
.subtitle  {
  font-weight: 600;
  text-transform: uppercase;
}

#sp_pagetitle {
  font-size: 2.26rem;
}

.subtitle { font-size: 1.6rem; }

.intro-text {
  color: #7f7f7f;
}

.intro-text .btn { margin-top: 10px;}

.intro-text strong { font-weight: 600; }

/* --------------------------
CARDS
-------------------------- */
.intro-text, .card { font-size: 0.86rem; }

.card .card-action a:not(.btn):not(.btn-large):not(.btn-floating) {
  color: #03a9f4;
  font-weight: 600;
}

.card .card-action a:not(.btn):not(.btn-large):not(.btn-floating):hover { color: #0271a2; }

.card .card-title {
  font-size: 18px;
  font-weight: 500;
  text-shadow: 1px 1px 10px rgba(40, 40, 40, .6);
}

/* --------------------------
FOOTER
-------------------------- */

.site-footer-container {
  background-color: #0288d1;
  color: #fff;
  font-size: 0.86rem;
}

.site-footer-container a {color: #fff;}
.site-footer-container a:hover {text-decoration: underline;}

.site-footer-container .container {
  padding-top: 40px;
  padding-bottom: 40px;
}

.site-footer-container h4 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 40px;
}

.md-logo-footer {
  width: 120px;
  height: auto;
}

.footer-social-icons {
  margin-bottom: 20px;
}

.footer-social-icons a {
  display: inline-block;
  margin-right: 8px;
  width: 40px;
  height: 40px;
}

.site-footer-container ul li {
    display: block;
    margin-bottom: 10px;
}




/*-----------------------------
OVERWRITES
-----------------------------*/

nav{
  background-color: #fff;
}

a[ng-click]{

  cursor: pointer;
}




/* --------------------------

MOBILE
-------------------------- */

@media only screen and (max-width: 1280px){

/*
  .global-header-container nav .hide-on-med-and-down {display: none;}

  .button-collapse {display: block !important;}

  nav .brand-logo {
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  */

}

@media only screen and (min-width: 992px){

  .news .news-content {
    min-height: 350px;
  }

  .county-highlights .news-image-container { overflow: hidden; }

  .county-highlights .news img {
    width: 100%;
    height: auto;
    position: relative;
  }

  #sp_pagetitle { margin-top: 70px; }

  .intro-text { margin: 0 10% 60px 10%; }

  .card-content { min-height: 78px; }

}



@media only screen and (max-width: 991px){

  section.spacing {
    padding: 25px 0 0 0;
  }

  .site-banner {
    padding: 50px 0 50px 0;
  }

  .sub-titles:after {
    margin-bottom: 25px;
  }

  .navbar-fixed {
    z-index: 1000;
  }

  .navbar-fixed nav {
    position: relative;
  }

  .tab-container {
      min-height: auto;
  }

  .site-footer-container {
    text-align: center;
  }

  .site-footer-container .right-align {
    text-align: inherit;
  }

  .agency-search .search-bg {
    padding-top: 20px;
    margin-bottom: 0;
  }

  .side-nav li:first-child > div { min-height: 144px; }

  .side-nav .userView { padding-top: 30px; }

  .side-nav .userView .name { margin-top: 5px; }

  .md-logo-banner { display: none; }

  .county-highlights .news img {
    width: 100%;
    height: auto;
  }

}

/*---Targeting iPad---*/
@media (min-width: 601px) and (max-width: 991px){

  #nav-mobile li.search { top: 140px; }

  nav .nav-wrapper .side-nav i {
    height: 40px;
    line-height: 42px;
  }

  .service-results-section.spacing { padding: 0;}

  .search-bg { padding-top: 30px }
}


@media only screen and (min-width: 768px){

  .banner-text {
    position: relative;
  }

  .md-logo-banner {
    position: absolute;
    right: 0;
    bottom: -35px;
    max-width: 115px;
    height: auto;

    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
  }


}



@media only screen and (max-width: 600px){

  .global-social-login, .social-login-container {
    text-align: center !important;
  }

  .secondary-links { margin-bottom: 5px; }

  .social-media > ul > li:first-child { display: none; }

  .service-categories i.circle-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
  }

  .service-categories .icon,
  .service-categories .content {
    text-align: center;
  }

  .resources { text-align: center; }

  .resources.spacing { padding-bottom: 25px; }

  .service-results-section.spacing {
    padding-top: 0px;
  }

  /*--Service List Search--*/

  .search-bg {
    padding-top: 10px;

    background-color: transparent;
  }

  .search-bg > .container > .row:first-of-type {
    margin-bottom: 0;
  }

  .search-bg .tabs {
    background-color: #03a9f4;
  }

  .search-bg .tabs:after {
    content: '';
    display: block;
    width: 200px;
  }

  .service-list-tab-container {
    position: relative;
  }

  .white-fade {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45px;
    background-image: linear-gradient(to left, rgba(3, 169, 244, 1), rgba(3, 169, 244, 0));
    content: "";
  }

  .search-bg input {
    font-size: 1.2rem;
    height: 4rem;
    padding-left: 20px;
    padding-right: 40px;

    background-color: #fff;
    border: 1px solid #e2e1e1;
    box-shadow: none;
    color: #333;
    margin-bottom: 0;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
  }

  .search-bg .input-field {
    margin-bottom: 0;
  }

  .search-bg .input-field label {
    top: 1.2rem;
    left: 2rem;
    font-size: 1.2rem;
    color: #888;
  }

  .search-bg .circle-icon {
    height: 0;
    width: 0;
    right: 50px;
    line-height: 12px;

    background-color: transparent;
    box-shadow: none;
  }


  .search-bg .input-field label.active {
   display: none;
    transform: translate3d(0, 0, 0);
}

  .search-bg input[type=text]:focus:not([readonly]),
  input[type=text].valid {
    border-color: #e2e1e1;
  }

  /*--/Service List Search--*/

  .search-bg .tabs {
    -webkit-overflow-scrolling: touch;
  }

  .search-bg .tabs .tab {
    min-width: 160px;
    font-size: 0.8rem;
  }

  .search-bg .tabs .tab a {
    color: #fff;
  }

  .service-results-section .modal-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
  }

  .service-results-section .modal-content {
    padding: 0 24px 24px 24px;
  }

  .service-results-section .modal-content .collection .collection-item.avatar {
    min-height: 65px;
  }

 .service-results-section .modal-content .collection .collection-item {
    line-height: 1.5;
    padding-top: 12px;
  }

 .service-results-section .modal-content .fa {
    top: 50%;
    margin-top: -20px;
  }

 .collection .collection-item.avatar > a {
    display: table;
    min-height: 50px;
 }

 .collection .collection-item.avatar .title {
    display: table-cell;
    font-size: 1rem;
    vertical-align: middle;
  }

  .service-results-section {
    position: relative;
    left: 0;
    transition: all .25s ease-out;
  }

  .row .col.search-filters {
    position: absolute;
    top: 4px;
    left: -272px !important;
    width: 280px !important;

    transition: all .25s ease-out;
  }

  .row .col.search-filters.sticky { position: fixed;}

   /*--Service List Show Filters--*/

 .show-filters {
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  .show-filters .search-filters {
    left: -270px !important;

    max-height: 800px;
    overflow: auto;
    padding-bottom: 500px;
  }

  .show-filters .search-filters.sticky  {
    left: 0!important;
    max-height: 100%;
    overflow: auto;
    padding-bottom: 0;
  }

  .show-filters .search-filters.sticky.search-bottom {
    position: absolute;
    bottom: 0;
    left: -278px !important;
    top: inherit;
  }

  .show-filters .service-results-section {left: 280px;}

  .show-filters .toggle-filter { background-color: #607d8b !important; }

  .show-filters .toggle-filter i { color: #fff !important; }

  .toggle-filter {
    position: fixed;
    z-index: 2;
    bottom: 20px;
    right: 20px;
  }

  /*--/Service List Show Filters--*/

  .site-footer-container {
    transition: all .25s ease-out;
    position: relative;
    left: 0;
  }

  .show-filters .site-footer-container {
    left: 280px;
  }

  .news .news-content {
    min-height: auto;
  }

  .top-services .image-container img {
    left: 0;
  }

  .side-nav li:first-child > div a {
    color: #03a9f4;
  }

  .md-logo-banner { display: none; }


}


