/*----------------*/
/* general styles */
/*----------------*/
html, body {
	height: 100%;
	padding: 0;
	margin: 0;
}
body {
	display: table;
	width: 100%;
	height: 100%;
	color: #555;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 14px;
	line-height: 1.428571429;
	background-color: #f7f7f7;
}
a {
	text-decoration: none;
	background: transparent;
	transition: color .4s cubic-bezier(.25,.8,.25,1);
}
a:hover, a:focus {
	text-decoration: none;
}
p {
	margin: 0 0 10px;
}
h1 small, h2 small, h3 small, h4 small, h5 small {
	font-size: 65%;
	font-weight: normal;
	line-height: 1;
	color: #999;
}

/*--------*/
/* header */
/*--------*/
.uw-global-bar {
  -webkit-font-smoothing: antialiased;
  background-color: #c5050c;
  color: white;
  padding: 0 16px;
  padding: 0 1rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  text-transform: uppercase;
  font-size: 13px;
  font-size: .825rem;
  font-weight: 700; }
  .uw-global-bar.uw-global-bar-inverse {
    background-color: white;
    border-bottom: 1px solid #cfcfcf;
    position: relative;
    z-index: 10; }
    .uw-global-bar.uw-global-bar-inverse a, .uw-global-bar.uw-global-bar-inverse a:visited, .uw-global-bar.uw-global-bar-inverse a:active, .uw-global-bar.uw-global-bar-inverse a:hover {
      color: #FFF; }

.uw-global-bar a, .uw-global-bar a:hover {
	color: #fff;
	margin-right: 20px;
}

.uw-global-name-link {
  color: white;
  line-height: 35px;
  line-height: 2.2rem; }
  .uw-global-name-link:hover, .uw-global-name-link:visited, .uw-global-name-link:active {
    text-decoration: none; }
  .uw-global-name-link span {
    display: none; }
  .uw-global-name-link .uw-of {
    text-transform: none; }
  @media screen and (min-width: 17.5em) {
    .uw-global-name-link span {
      display: inline; } }

.outages-top-bar {
	border-bottom: 1px solid #e7e7e7;
}

.outages-top-bar ::-webkit-input-placeholder {
	color: #fff;
	font-size:0.8em;
	font-weight:200;
	line-height:1.8em;
}
md-input-container.md-default-theme .md-input::-webkit-input-placeholder, md-input-container .md-input::-webkit-input-placeholder {
	color: #fff!important;
}
.outages-top-bar :-moz-placeholder { /* Firefox 18- */
	color: #fff;
	font-size:1em;
	font-weight:200;
}
.outages-top-bar ::-moz-placeholder {  /* Firefox 19+ */
	color: #fff;
	font-size:1em;
	font-weight:200;
}
.outages-top-bar :-ms-input-placeholder {
	color: #fff;
	font-size:1em;
	font-weight:200;
}
.outages-top-bar .md-toolbar-tools .md-button {
	margin: 0;
}
.outages-top-bar .title-link:hover {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}
.outages-top-bar a:not(.title-link) {
	padding: 0 6px;
	margin: 6px 8px;
	line-height: 36px;
	font-size: 14px;
	transition: all .4s cubic-bezier(.25,.8,.25,1);
	outline: 0;
	border: 0;
	border-radius: 3px;
}
.outages-top-bar a:hover:not(.title-link) {
	background-color: rgba(255,255,255,0.2);
	color: #fff;
	text-decoration: none;
}
.outages-top-bar .title-link img {
	height: 56px;
	margin-right: 16px;
}
.outages-top-bar .md-menu {
	margin-right: 0;
}
.outages-top-bar .md-button .material-icons,
md-menu-item .md-button .material-icons{
	top: 0;
}
.outages-top-bar .md-button:not([disabled]):hover {
	background-color: rgba(255,255,255,0.2);
}

/*-------------------------------------*/
/* search bar (header and mobile menu) */
/*-------------------------------------*/
.outages-search-form {
	height: 36px;
	width: 90%;
}
.outages-search-form .outages-search {
	background: rgba(255,255,255,0.3);
	margin: 0;
	padding: 0;
}
.outages-search .md-button {
	height: 36px;
	width: 36px;
	line-height: 22px;
	margin: 0;
}
.outages-search .md-input {
	float: none;
	border-bottom: none;
	color: #FFF;
	display: inline-block;
	width: 80%;
}

.outages-search .md-input::placeholder {
	color: #FFF;
}


/*------------------------------------*/
/* main content area (general styles) */
/*------------------------------------*/
.wrapper {
	max-width: 1200px;
	margin: 0 auto;
}
.wrapper md-toolbar {
	min-height: 54px;
	max-height: 54px
}
.badge {
	display: inline-block;
	min-width: 10px;
	margin-left: 10px;
	padding: 3px 7px;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	line-height: 1;
	vertical-align: baseline;
	white-space: nowrap;
	text-align: center;
	background-color: #999;
	border-radius: 10px;
}
.md-subheader.md-default-theme, .md-subheader {
	background-color: rgb(245,245,245);
}
.md-subheader-content > a {
	font-size: 20px;
}
.md-button .material-icons {
	position: relative;
	top: 6px;
}
.md-tab {
	text-transform: none;
}
.md-button {
	text-transform: none;
}
md-dialog#share-dialog {
	position: absolute;
	top: 50px;
}
md-progress-circular {
	display: inline-block;
}
md-toolbar .md-toolbar-tools > .md-button:not([disabled]):hover {
	background-color: rgba(255,255,255,0.2);
}
md-datepicker.md-default-theme, md-datepicker {
	background-color: #f7f7f7;
}
md-input-container {
	margin-bottom: 0;
}
md-input-container.md-block .md-errors-spacer{
	min-height: 0;
}

/*-------------------------------*/
/* main content area (home view) */
/*-------------------------------*/
#outages__row-controls,
#outages__title-heading {
	margin: 0 8px;
}
#outages__home-main + .sidebar {
	margin-top: 48px;
}
.home-date-controls h2{
	margin: 9px 0;
}
.home-date-controls.layout-column .button-group {
	text-align: center;
}
.list-item__outages h3 {
	margin: 5px 0 0;
}
.outage-weekly-dates {
	margin-left:30px;
	line-height: 1;
	color: #4d4d4d;
}
md-content {
	background-color: #fff;
}
#outages__row-controls .button-group {
	display: inline-block;
}
.button-flat {
	display: inline-block;
	margin-bottom: 0;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-color: #fff;
	border: 1px solid #ccc;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.428571429;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: 0;
	transition: all .4s cubic-bezier(.25,.8,.25,1);
}
.button-flat:hover {
	background-color: #ebebeb;
	border-color: #adadad;
}
.button-flat:focus, .button-flat:active {
	outline: 0;
}
.button-flat.active {
	color: #333;
	background-color: #ebebeb;
	border-color: #adadad;
	-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
	box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
	outline: 0;
}
.button-group > .button-flat {
	float: left;
	position: relative;
}
.button-group > .button-flat:first-child {
	margin-left: 0;
}
.button-group > .button-flat:first-child:not(:last-child) {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}
.button-group > .button-flat:last-child:not(:first-child) {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}
.button-group > .button-flat:not(:first-child):not(:last-child) {
	border-radius: 0;
}
.button-group > .button-flat + .button-flat {
	margin-left: -1px;
}
.button-group,
.label__view-type {
	padding: 0 8px;
	margin: 6px auto;
}
.label__view-type {
	font-weight: 500;
	line-height: 36px;
}
.outage-title__type {
	margin-bottom: 2.5rem;
}
.outage-title {
	padding: 0.5rem 1rem;
	margin-bottom: 0;
}
.outages-pinned > md-content {
	padding: 8px 16px;
}
.outages-pinned .md-subheader:first-child, .monthly-badge-emergency, .monthly-badge-pinned {
	background-color: rgb(226, 131, 50);
}
.monthly-badge-planned {
	background-color: #008C23;
}
.monthly-badge-unplanned {
	background-color: rgb(197, 5, 12);
}

.badge.open {
	background-color: orange;
}
.badge.upcoming {
	background-color: royalblue;
}

.outages-pinned .md-subheader-content > a {
	color: #fff;
}
.subheader__weekly-view .md-subheader-content > a {
	font-size: 16px;
}
.md-subheader.subheader__weekly-view .md-subheader-inner {
	padding: 12px;
}
.subheader__date-time {
	color: #555;
}
.date__monthly-view {
	padding: 8px;
	min-height: 48px;
	line-height: 48px;
	font-size: 24px;
	text-align: left;
}
#outages__monthly-content > div {
	transition: background-color .4s cubic-bezier(.25,.8,.25,1);
}
#outages__monthly-content > div > .layout-row {
	padding: 4px 8px;
}
#outages__monthly-content > div:hover {
	background-color: rgba(158,158,158,0.2);
	cursor: pointer;
}

/*---------------------------------*/
/* main content area (search view) */
/*---------------------------------*/
#main-search-container {
	display: flex;
}
#main-search-container md-input-container {
	flex: 1;
}
#search-field-clear {
	float: left;
	margin-left: 12px;
	margin-top: 16px;
}
#search-field-load {
	float: left;
	margin-left: 8px;
	margin-top: 14px;
}
.md-title__search-view {
	margin: 0;
	display: inline-block;
	line-height: 50px;
}
#input__search-view {
	font-size: 18px;
}
.date__search-view {
	padding: 8px;
	min-height: 48px;
	line-height: 48px;
	font-size: 24px;
	text-align: left;
	margin-left:20px;
}

/*---------*/
/* sidebar */
/*---------*/
.sidebar md-list md-datepicker {
	margin-left: -6px;
}
.sidebar md-list-item {
	padding: 0;
}
.sidebar md-list-item > a.md-button {
	text-align: left;
	text-transform: none;
	width: 100%;
	white-space: normal;
	-webkit-flex-direction: inherit;
	-ms-flex-direction: inherit;
	flex-direction: inherit;
	-webkit-align-items: inherit;
	-ms-flex-align: inherit;
	align-items: inherit;
	border-radius: 0;
	margin: 0;
	padding: 6px 16px;
}

/*--------*/
/* footer */
/*--------*/

#outages-footer__content{
	max-width: 1200px;
	margin: 0 auto;
}
#outages-footer {
	background-color: #282728;
	color: #cfcfcf;
	display: table-row;
	height:0;
}
#outages-footer a,
#outages-footer p {
	color: #cfcfcf;
}
#outages-footer a:hover {
	color: #9c9c9c;
}
#outages-footer .fa {
	font-size: 22px;
	margin: 0 6px;
}
#outages-footer md-divider {
	border-top-color: rgba(207, 207, 207, 0.35);
	margin: 1rem 0;
}
#outages-footer_divider {
	background-color: #9c9c9c;
	height: 5px;
	width: 100%;
}
#outages-footer__content{
	padding: 0 1.5rem 1.5rem 1.5rem;
}
#app-version {
	text-align: center;
	padding: 1rem 0;
}
md-datepicker {
	padding-right: 0px;
	margin-right: 0px;
}

/*---------------*/
/* media queries */
/*---------------*/

/* so tiny we probably don't even need to care */
@media (max-width: 302px) {
	#outages__row-controls md-datepicker {
		display: none;
	}
}

/* tiny */
@media (max-width: 330px) {
	.button-flat {
		min-width: 40px;
		padding: 6px;
	}
}

/* extra small+ */
@media (min-width: 600px) {
	md-dialog {
		min-width: 550px;
	}
}

/* < small */
@media (max-width: 690px) {
	.md-display-3 {
		font-size: 36px;
		line-height: 36px;
		margin-top: 0;
	}
	h1 > small, h2 > small {
		display: block;
	}
	md-card {
		margin: 0;
	}
	.md-toolbar-tools {
		font-size: 16px;
	}
	.md-subheader-content > a {
		font-size: 16px;
		line-height: 20px;
	}
	.wrapper, .wrapper > .ng-scope {
		padding: 0;
	}
	md-dialog {
		min-width: 100%;
	}
	#outages__row-controls + .md-button {
		text-align: left;
	}
	.layout-align-center-center {
		text-align: center;
	}
	.date__monthly-view {
		font-size: 18px;
	}
	#outages__monthly-content > div > .layout-row {
		padding: 0 8px;
	}
	.md-datepicker-input-container {
		display: none;
	}
}

/* < small */
@media (max-width: 960px) {
	.outages-search .md-input {
		border-bottom: 1px solid rgba(0,0,0,0.12);
		color: #333;
		float: left;
	}
}

