﻿@import url("https://fonts.googleapis.com/css?family=Poppins:400,700,300");

body {
    font-family: Poppins, sans-serif;
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* menu navbar */
.menu .navbar-header {
    width: 250px;
	margin-left: 40px;
    background-color: #1565C0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
 .menu .navbar-header span.title {
    margin-left: 10px;
	font-size: 16pt;
}
 .menu .navbar-collapse  ul:first-of-type{
     padding-left: 26px;
 }
 .menu .navbar-header .navbar-nav > li > a {
    width: 250px;
}
@media(min-width:768px) {
    .menu .navbar-header {
        width: 50px;
    }
    .menu .navbar-header .navbar-nav > li > a {
        width: 50px;
    }
    .menu .navbar-header span.title {
        display: none;
    }
    .menu .navbar-header.toggled .navbar-nav > li > a {
        width: 50px;
    }
}
@media(min-width:992px) {
    .menu .navbar-header {
        width: 250px;
    }
    .menu .navbar-header .navbar-nav > li > a {
        width: 250px;
    }
    .menu .navbar-header span.title {
        display: inline;
    }
    .menu .navbar-header.toggled {
        width: 50px;
    }
    .menu .navbar-header.toggled span.title {
        display: none;
    }
    .menu .navbar-header.toggled .navbar-nav > li > a {
        width: 50px;
    }
}
.menu.navbar {
    background-color: #1976D2;
    color: #fff;
    border: none;
    border-radius: 0px;
    margin-bottom: 0px;
}
.menu.navbar .container-fluid {
    padding-left: 0px;
    margin-right: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.menu.navbar-default .navbar-nav > li > a {
    color: #fff;
}
.menu.navbar-default .navbar-nav > li > a:hover {
    background-color: #1565C0;
}
.navbar-default .navbar-nav>.active>a {
    color: #fff;
    background-color: #1976D2;
}
.navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #fff;
    background-color: #1565C0;
}
.menu.navbar .navbar-header ul.nav.navbar-nav  {
    font-size: 18pt;
}
.menu.navbar .navbar-header ul.nav.navbar-nav li img {
    height: 40px;
    margin-right: 10px;
}
.menu .navbar-nav > li > a {
    line-height: 40px;
}
.menu .navbar-nav > li > span {
    line-height: 40px;
    font-size: 18pt;
    position: relative;
    display: block;
    padding: 14px 14px;
}
.menu.navbar li.dropdown {
    font-size: 30pt;
}
.menu .navbar-right {
	margin-right: 25px;
}
@media (max-width: 768px) {
    .container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header {
        margin-right: 0;
        margin-left: 0;
    }

    .menu .navbar-header {
        float: left;
        width: 50px;
    }

    .menu .navbar-header span.title {
        display: none;
    }

    .menu .navbar-nav {
        float: left;
        margin: 0;
    }

    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .menu .navbar-header .navbar-nav > li > a {
        width: 50px;
    }

    .navbar-collapse.collapse {
        display: block;
    }

    .navbar-nav > li, .navbar-nav {
        float: left;
    }

    .navbar-nav.navbar-right:last-child {
        margin-right: -15px;
    }

    .menu .navbar-right {
        float: right!important;
    }
}

/* side options */
.side-options {
    position: absolute;
    right: 0;
    top: 74px;
    bottom: 0;
    width: 300px;
    background-color: #eee;
    z-index: 9999;
    padding: 20px;
}
.side-options.closed {
    display: none;
}
.side-options h1 {
    font-size: 16pt;
    margin-bottom: 20px;
    margin-top: 10px;
}
.side-options h1 i {
    float: right;
    cursor: pointer;
}
.side-options li {
    margin-bottom: 20px;
}

/* persistent support chat */
.chat-launcher {
	position: fixed;
	right: 28px;
	bottom: 28px;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #1565C0;
	color: #fff;
	font-size: 22px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	z-index: 10002;
}
.chat-launcher:hover,
.chat-launcher:focus {
	background: #0D47A1;
	color: #fff;
	outline: 3px solid rgba(21, 101, 192, .3);
	outline-offset: 3px;
}
.chat-launcher-open {
	display: none;
}
.chat-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(20, 30, 40, .36);
	z-index: 10000;
}
.chat-backdrop-open {
	display: block;
}
.chat-panel {
	display: flex;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(440px, 100%);
	flex-direction: column;
	background: #fff;
	box-shadow: -8px 0 30px rgba(0, 0, 0, .2);
	transform: translateX(105%);
	transition: transform .25s ease-out;
	z-index: 10001;
}
.chat-panel-open {
	transform: translateX(0);
}
.chat-panel-header {
	display: flex;
	min-height: 84px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	background: #2C373E;
	color: #fff;
}
.chat-panel-header h2 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
}
.chat-panel-header p {
	margin: 0;
	font-size: 12px;
	color: #dce5e9;
}
.chat-status {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 5px;
	border-radius: 50%;
	background: #55c878;
}
.chat-close,
.chat-composer button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
}
.chat-close {
	width: 40px;
	height: 40px;
	color: #fff;
	font-size: 19px;
}
.chat-close:hover,
.chat-close:focus {
	background: rgba(255, 255, 255, .12);
	color: #fff;
	outline: 2px solid #fff;
}
.chat-messages {
	display: flex;
	flex: 1;
	min-height: 0;
	flex-direction: column;
	gap: 18px;
	overflow-y: auto;
	padding: 24px 22px;
	background: #f4f6f7;
}
.chat-message {
	max-width: 82%;
	align-self: flex-start;
}
.chat-message > span {
	display: block;
	margin: 0 0 5px 3px;
	color: #59666d;
	font-size: 11px;
	font-weight: 700;
}
.chat-message p {
	margin: 0;
	padding: 11px 14px;
	border: 1px solid #dce1e4;
	border-radius: 4px 8px 8px 8px;
	background: #fff;
	color: #263238;
	line-height: 1.5;
}
.chat-message-own {
	align-self: flex-end;
}
.chat-message-own > span {
	text-align: right;
}
.chat-message-own p {
	border-color: #1565C0;
	border-radius: 8px 4px 8px 8px;
	background: #1565C0;
	color: #fff;
}
.chat-composer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	gap: 10px;
	padding: 16px;
	border-top: 1px solid #dce1e4;
	background: #fff;
}
.chat-composer .form-control {
	height: 44px;
	border-color: #b9c2c7;
	box-shadow: none;
}
.chat-composer .form-control:focus {
	border-color: #1565C0;
	box-shadow: 0 0 0 2px rgba(21, 101, 192, .18);
}
.chat-composer button {
	width: 44px;
	height: 44px;
	border-radius: 4px;
	background: #1565C0;
	color: #fff;
	font-size: 16px;
}
.chat-composer button:hover,
.chat-composer button:focus {
	background: #0D47A1;
	color: #fff;
	outline: 2px solid rgba(21, 101, 192, .35);
	outline-offset: 2px;
}
@media (max-width: 480px) {
	.chat-launcher {
		right: 18px;
		bottom: 18px;
	}
	.chat-panel {
		width: 100%;
	}
}
.jumbotron .profile-pic {
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-o-border-radius: 50%;
	width:100px;
	height: auto;
	border: #1565C0 2px solid;
	float: left;
	margin-top: 20px;
}
.jumbotron .councillor-info {
	float: left;
	margin-left: 20px;
}
.jumbotron h1 {
	font-size: 14pt;
}
.jumbotron h2 {
	margin-top: 0px;
	margin-bottom: 20px;
}
.jumbotron p.lead {
	font-size: 10pt;
}
.jumbotron .thumbnail {
	margin-bottom: 0px;
}
.jumbotron .thumbnail.dashboard {
	border: none;
}
.jumbotron .thumbnail.dashboard .caption {
	padding: 0;
}
.jumbotron .thumbnail.dashboard .key-stat.caption h4 {
	font-size: 14pt;
	font-weight: bold;
	text-align: left;
}
.jumbotron .thumbnail.dashboard .key-stat-description.caption p {
	font-size: 10pt;
	text-align: left;
}
.jumbotron .dashboard-more {
	margin-top: auto;
	text-align: right;
}
.jumbotron .dashboard-more a {
	color: #000;
	font-weight: bold;
}

/* page layout */
div#page-content-wrapper > .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
}

/* page header */
.page-header {
    margin-top: 0px;
}
.page-header h1 {
    font-size: 18pt;
}
.page-header.section {
    margin-top: 30px;
}
.page-header.with-tabs {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom-style: none;
}
.page-header button {
    margin-top: 10px;
}

/* section breaks */
.section-break-below {
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}
.section-break-above {
	border-top: 1px solid #eee;
	margin-top: 20px;
}

/* nav tabs */
.nav-tabs {
	/*border-bottom: 0px;*/
	margin-bottom: 1px;
}
.nav-tabs > li:first-child > a {
    padding-left: 0px;
} 
.nav-tabs > li > a {
	border: none;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;
	color: #212121;
} 
.nav-tabs.nav > li > a:hover {
	text-decoration: none;
	/*color: #fff;*/
    background-color: transparent;
	border-bottom: 2px solid #ddd;
}
.nav-tabs> li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
	border: none;
	/*color: #fff;*/
    font-weight: bold;
	border-bottom: 2px solid #2196F3;
	background-color: transparent;
}
.nav-tabs.nav > li >a:focus {
    text-decoration: none;
	/*color: #fff;*/
    background-color: transparent;
	border-bottom: 2px solid #2196F3;
}

/* tab content */
.tab-content {
    margin-top: 20px;
}
.tab-content h2 {
    font-size: 12pt;
    margin-bottom: 20px;
}

/* list-group */
.list-group > .list-group-item i.toggle, .list-group > .list-group-item > svg {
    visibility: hidden;
}
.list-group > .list-group-item.highlight i.toggle, .list-group > .list-group-item.highlight svg {
    visibility: visible;
}
.list-group > .list-group-item span {
    margin-left: 10px;
}

/* form controls */
input[type=text], input[type=password], input[type=email], input[type=url], input[type=time], input[type=date], input[type=datetime-local], input[type=tel], input[type=number], input[type=search-md], input[type=search], textarea.md-textarea {
	border: 1px solid #ccc;
	padding: 0;
    padding-bottom: 0rem;
	padding-top: 0rem;
	font-size: 1rem;
	line-height: 1.5;
}

.form-group > label > .label {
    margin-left: 5px;
}
.has-error .form-control {
    -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
     box-shadow: inset 0 0px 0px rgba(0,0,0,.075); 
}
select.form-control {
    padding-top: 0px;
    padding-bottom: 0px;
}
.form-control-static.has-error {
	border-bottom: 1px solid red;
	color: red;
	font-weight: bold;
}
.search-result-thumbnail {
	width: 160px;
	height: 90px;
}

/* actions (button bar) */
div.actions .btn:first-of-type {
	margin-left: 0px;
}

/* inline filters */
div.row.filters .btn-sm {
	margin-top: 28px
}


/* tables */
.table tr .btn-sm {
	padding: 4px 1.6rem;
	margin: 0px;
}
.table td.icon {
	width: 20px;
}
.table td.edit {
	width: 90px;
}
.table tr.expanded {
	background-color: #ececec;
}
.table tr.expanded td.content {
	padding-left: 20px; 
	padding-top: 10px; 
	padding-right: 20px;
}

/* dashboard styles */
.thumbnail.dashboard .key-stat.caption h4 {
	text-align: center;
	font-size: 50pt;
	margin-bottom: 0px;
}

.thumbnail.dashboard .key-stat-description.caption p {
	text-align: center;
}

.thumbnail.dashboard .header {
	text-align: center;
} 

.thumbnail.dashboard .body.caption .list-group {
	margin-left: 20px;
	margin-right: 20px;
}

/* new case thumbnails */
.thumbnail.new-case .caption {
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 40px;
	padding-bottom: 40px;
}

/* loading screen styles */
.splash {
  position: absolute;
  width: 300px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin: -100px 0 0 -150px;
  text-align:center;
  color: #F3F3F3;
}
.splash i {
    margin-top:10px;
    font-size: 64pt;
}
.splash p {
    font-size: 24pt;
    margin-top: 5px;
    color: #DDDDDD;
}

/* file upload */
.btn-file {
	position: relative;
	overflow: hidden;
}

.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}

/* icon buttons */
button.icon-button {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    opacity: .2;
    margin-left: 5px;
}

button.icon-button:focus, button.icon-button:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5;
}

/* button groups */
.btn.dropdown-toggle > span.caret {
    margin-left: 0px;
}

.btn-group .btn-off {
	background-color: #fff;
	color: #000 !important;
}

/* spacing */
.top-gutter-1 {
	margin-top: 10px;
}
.bottom-gutter-1 {
	margin-bottom: 10px;
}

/* busy blanket */
#busy-blanket-inner {
	background-color: #2C373E;
	color: #fff;
	position: relative;
	/*top: 70px;
	left: 0;
	right: 0;*/
	border-style: none;
	z-index: 10003;
	border-radius: 0px;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	margin-top: -10px;
	padding: 20px;
}

	#busy-blanket-inner h1 {
		margin-top: 0px;
		margin-bottom: 0px;
		font-size: 14pt;
	}

		#busy-blanket-inner h1 span:last-of-type {
			margin-left: 10px;
		}

	#busy-blanket-inner h2 {
		margin-top: 0px;
		margin-bottom: 0px;
	}

	#busy-blanket-inner div.close-dialogue {
		position: fixed;
		right: 10px;
		top: 10px;
	}

	#busy-blanket-inner div.dialogue {
		text-align: left;
		margin-left: 20px;
	}

	#busy-blanket-inner div.dialoguespan.diag {
		float: left;
		position: absolute;
		bottom: 10px;
		left: 10px;
		font-size: 0.75rem;
		color: silver;
	}

#busy-blanket {
	z-index: 1001;
	width: 100%;
	height: 100%;
	position: fixed;
	display: none;
	background-color: white;
	opacity: 0.5;
	left: 0;
	right: 0;
	top: 0;
}

	#busy-blanket.show {
		display: block;
	}

/* info blanket */
#info-blanket-inner {
	background-color: #fff;
	color: #000;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 36%;
	height: 300px;
	border-style: none;
	z-index: 10003;
	border-radius: 0px;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	margin-top: -10px;
	padding: 20px;
}

#info-blanket-inner h1 {
	margin-top: 0px;
	margin-bottom: 0px;
	font-size: 14pt;
}

	#info-blanket-inner h1 span:last-of-type {
		margin-left: 10px;
	}

#info-blanket-inner h2 {
	margin-top: 0px;
	margin-bottom: 0px;
}

#info-blanket-inner div.close-dialogue {
	position: fixed;
	right: 30px;
	top: 20px;
}

	#info-blanket-inner div.close-dialogue i {
		cursor: pointer;
	}

	#info-blanket-inner div.dialogue {
		text-align: left;
		margin-left: 20px;
	}

#info-blanket-inner div.dialogue div.message {
	font-size: 0.75rem;
	color: #aeaeae;
	margin-top: 10px;
}

#info-blanket {
	z-index: 1001;
	width: 100%;
	height: 100%;
	position: fixed;
	display: none;
	background-color: white;
	opacity: 0.5;
	left: 0;
	right: 0;
	top: 0;
}

	#info-blanket.show {
		display: block;
	}




/* left and right modals */
.modal.left .modal-dialog,
.modal.right .modal-dialog {
	position: fixed;
	margin: auto;
	width: 520px;
	height: 100%;
	-webkit-transform: translate3d(0%, 0, 0);
	-ms-transform: translate3d(0%, 0, 0);
	-o-transform: translate3d(0%, 0, 0);
	transform: translate3d(0%, 0, 0);
}
.modal.left .modal-dialog.wide,
.modal.right .modal-dialog.wide {
	width: 1024px;
}
@media (max-width: 768px) {
	.modal.left .modal-dialog,
	.modal.right .modal-dialog {
		width:100%;
	}
}
@media (max-width: 1200px) {
	.modal.left .modal-dialog.wide,
	.modal.right .modal-dialog.wide {
		width: 100%;
	}
}

.modal.left .modal-content,
.modal.right .modal-content {
	height: 100%;
	overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
	padding: 15px 35px 15px 35px;
}

/*Left*/
.modal.left.fade .modal-dialog {
	left: -320px;
	-webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
	-moz-transition: opacity 0.3s linear, left 0.3s ease-out;
	-o-transition: opacity 0.3s linear, left 0.3s ease-out;
	transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog {
	left: 0;
}

/*Right*/
.modal.right.fade .modal-dialog {
	right: -320px;
	-webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
	-moz-transition: opacity 0.3s linear, right 0.3s ease-out;
	-o-transition: opacity 0.3s linear, right 0.3s ease-out;
	transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
	right: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
	border-radius: 0;
	border: none;
}
.modal-header {
	border-bottom-color: #2C373E;
	background-color: #2C373E;
	padding: 14px 35px 14px 35px;
	color: #fff;
}
.modal-header .close {
	margin-top: 8px;
	color: #fff;
	opacity: .8;
}
.modal-header .close:hover {
	opacity: 1;
}
.modal-title {
	font-size: 14pt;
	line-height: 40px;
}

.list-group .list-group-item .deleted {
	text-decoration: line-through;
}

.inline-form-group {
    display: flex;
    align-items: baseline;
}

.inline-form-control {
	display: block;
	width: -webkit-fill-available;
	height: 34px;
    margin: 10px;

    font-size: 1rem;
    line-height: 1.5;
    background-color: transparent;
    background-image: none;
    border-radius: 0;
    margin-top: 0.2rem;
    margin-bottom: 1rem;
	color: #555;
	border: 1px solid #ccc;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.inline-form-label {
	width: 40%;
}

.menu .navbar-nav > li > select {
    margin-top: 15px;
    margin-bottom: 15px;
}
.menu .navbar-nav > li > h5 {
    padding-top: 15px;
    padding-bottom: 15px;
}


.jumbotron .profile-pic-minimum {
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-o-border-radius: 50%;
	width:100px;
	height: auto;
	border: #1565C0 2px solid;
	display: block;
	margin: auto;
}

.jumbotron .councillor-info-minimum {
	padding-right: 20px;
	text-align: end;
}
.jumbotron .councillor-info-minimum > h2 {
	margin-bottom: 0px;
}

.jumbotron p {
	margin-bottom: 0px;
}
