/*
 * GTS Battery Central
 *
 * wavm.org
 * v3.0
 *
 * Dave Griffin  (dave@confluencevisuals.com)
 *
 */

* {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	-webkit-overflow-scrolling: touch;
	margin: 0;
	padding: 0;
	background-color: #fff;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
}

.dashboard-main {
}

.header-logo {
	display: inline-block;
    background-image: url(gts-logo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 80px;
    height: inherit;
    margin-left: 8px;
}

.dashboard-header {
	position: relative;
	top: 0;
	left: 0;
	width: 100vw;
	height: 44px;
	z-index: 10;
}

.dashboard-panel {
	display: block;
	position: relative;
	top: 0;
	bottom: 0;
	overflow: auto;
}

.dashboard-footer {
    position: fixed;
    bottom: 0;
    height: 80px;
    width: 100vw;
    text-align: center;
}

.subpanel {
	display: none;
}


#login-info {
	margin: 2% 2%;
	font-size: 1.2em;
}

html {
    font-family: Helvetica Neue, Helvetica, sans-serif; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

input, textarea {
	font-size: 1.1em;
}

/*input:read-only {
	cursor: not-allowed;
}*/

body.regularAdmin .superUserVisible .masterVisible .collaboratorVisible {
	display: none;
}

label {
	display: block;
}

div.superUserVisible {
	display: none;
}

li.superUserVisible {
	display: none;
}

li.collaboratorVisible {
	display: none;	
}

div.groups-filter-hit:hover {
	background-color: #c4c4c4;
}

#header-title-label {
	position: absolute;
	display: inline-block;
    width: 200px;
    margin-left: 16px;
    line-height: 44px;
}

.app-logo {
	background-image: url(app-icon-500.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: inherit;
    height: 80px;
    margin-top: 80px;
    margin-bottom: 16px;
}

.panel-button.signout:hover {
	color: #fff;
	background-color: rgb(236,31,38);
}

.regular-button-white {
	display: inline-block;
	padding: 8px 16px 8px 16px;
	border: 1px solid rgb(236,31,38); /* PANTONE 1795 C */
	background-color: rgb(255,255,255); /* PANTONE 1795 C */
	font-size: 0.85em;
	color: rgb(236,31,38);
	text-align: center;
	min-width: 100px;
	max-height: 33px;
	cursor: pointer;
	text-decoration: none;
	border-radius: 5px;
}

.regular-button {
	display: inline-block;
	padding: 8px 16px 8px 16px;
	border: 1px solid rgb(210,38,48); /* PANTONE 1795 C */
	background-color: rgb(210,38,48); /* PANTONE 1795 C */
	border: 1px solid rgb(236,31,38);
	background-color: rgb(236,31,38);
	font-size: 0.85em;
	color: #fff;
	text-align: center;
	min-width: 100px;
	max-height: 33px;
	cursor: pointer;
	text-decoration: none;
	border-radius: 5px;
}

.big-button {
	display: inline-block;
	padding: 15px;
	border: 0px solid #333;
	font-size: 1.0em;
	color: #fff;
	background-color: rgb(236,31,38);
	min-height: 8em;
	min-width: 8em;
	text-align: left;
	vertical-align: middle;
	margin-bottom: 5px;
	cursor: pointer;
	border-radius: 5px;
}

.add-button {
    display: inline-block;
    cursor: pointer;
    font-size: 2em;
	color: rgb(236,31,38);
}

.panel-title {
	background-color: #e0e0e0;
	color: #fff;
	height: 20px;
	line-height: 20px;
	font-size: 0.9em;
	text-align: center;
}

.login-container {
	margin: auto;
}

.whichpanel {
	display: none;
	padding: 5%;
	margin: 0 auto;
	text-align: center;
}

.panel-tabs {
	cursor: pointer;
}

.panel-tab {
}

.panel-button {
	cursor: pointer;
}

.panel-tab.current-tab {
	background-color: #fff;
	border-bottom: 1px solid #fff;

}

.panel-pane-container {
	position: relative;
	height: 100%;
}

.gts-form {
	position: relative;
	font-size: 1em;
}

.gts-form input {
	width: 98%;
	font-size: 1em;
	padding: 3px;
    margin-bottom: 0.5em;
}

.gts-form select {
	width: 98%;
	font-size: 1em;
	padding: 3px;
    margin-bottom: 0.5em;
}

.gts-form label {
	font-size: 0.7em;
	color: #ccc;
}

.gts-form textarea {
	width: 100%;
	font-size: 0.9em;
}

.error-message {
	font-size: 0.8em;
	text-align: center;
	color: #f00;
}

.customers-left, .batteries-left, .admins-left, .groups-left {
	position: relative;
	vertical-align: top;
	display: inline-block;
	width: 100px;
	height: inherit;

}

.customers-left input, .batteries-left input, .admins-left input, .groups-left input {
	font-size: 0.9em;
}

#customers-mod-filter-results {
	height: 100%;
}

.customers-right, .batteries-right, .admins-right, .groups-right {
	position: relative;
	vertical-align: top;
	display: inline-block;
	width: inherit;
    height: inherit;
    padding-top: 1em;
    padding-left: 1em;
}

.cbmap-wrapper {
}

.cbmap-left, .cbmap-right {
    display: inline-block;
    width: 40%;
    margin-left: 5%;
    vertical-align: top;
}

.cbmap-list {
    list-style: none;
    margin: 0;
    padding: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
}

.cbmap-list li {
    padding: 5px;
    border: 1px solid #aaa;
    margin-bottom: 5px;
    width: 100%;
    cursor: pointer;
}

.batteries-left {
	width: 40%;
}

.batteries-right {
	width: 59%;
}


.caller-mgt-display {
	position: relative;
}

#customer-mod-form {
	display: none;
}

#customer-mod-form.add-form #customer-modify-button {
	display: none;
}

#customer-mod-form.add-form #customer-add-button {
	display: inline-block;
}

#customer-mod-form.mod-form #customer-modify-button {
	display: inline-block;
}

#customer-mod-form.mod-form #customer-add-button {
	display: none;
}

#group-mod-form {
	display: none;
}

#group-mod-form.add-form #group-modify-button {
	display: none;
}

#group-mod-form.add-form #group-add-button {
	display: inline-block;
}

#group-mod-form.mod-form #group-modify-button {
	display: inline-block;
}

#group-mod-form.mod-form #group-add-button {
	display: none;
}

#tag-mod-form {
  display: none;
}

#tag-mod-form.add-form #tag-modify-button {
  display: none;
}

#tag-mod-form.add-form #tag-add-button {
  display: inline-block;
}

#tag-mod-form.mod-form #tag-modify-button {
  display: inline-block;
}

#tag-mod-form.mod-form #tag-add-button {
  display: none;
}

#charger-mod-form {
  display: none;
}

#charger-mod-form.add-form #charger-modify-button {
  display: none;
}

#charger-mod-form.add-form #charger-add-button {
  display: inline-block;
}

#charger-mod-form.mod-form #charger-modify-button {
  display: inline-block;
}

#charger-mod-form.mod-form #charger-add-button {
  display: none;
}

.charger-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 150px;
    min-height: 150px;
    background-color: gainsboro;
    margin: auto;
    padding: 1rem;
}

#issue-mod-form {
  display: none;
}

#issue-mod-form.add-form #issue-modify-button {
  display: none;
}

#issue-mod-form.add-form #issue-add-button {
  display: inline-block;
}

#issue-mod-form.mod-form #issue-modify-button {
  display: inline-block;
}

#issue-mod-form.mod-form #issue-add-button {
  display: none;
}

#admin-mod-form {
	display: none;
}

#admin-mod-form.add-form #admin-modify-button {
	display: none;
}

#admin-mod-form.add-form #admin-add-button {
	display: inline-block;
}

#admin-mod-form.mod-form #admin-modify-button {
	display: inline-block;
}

#admin-mod-form.mod-form #admin-add-button {
	display: none;
}

.inline-field {
	display: inline-block;
}

.add-form .mod-only-field {
	display: none;
}


#customers-mod-filter-results {
    margin-top: 0.5em;
    border-top: 1px solid #aaa;
}

.customers-filter-hit {
    font-size: 1em;
    padding: 0.1em;
    border-bottom: 1px solid #aaa;
    cursor: pointer;
    color: 000;
}

.customers-filter-hit:hover, .admins-filter-hit:hover {
    color: #00f;
}

#battery-mod-form {
    display: none;
}

#batteries-mod-filter-results {
    margin-top: 0.5em;
}

#battery-mod-form.add-form #battery-modify-button, #battery-mod-form.add-form .battery-mod-imageset {
	display: none;
}

#charger-mod-form.add-form #charger-modify-button, #charger-mod-form.add-form .charger-mod-imageset {
  display: none;
}

#battery-mod-form.add-form #battery-add-button {
	display: inline-block;
}

#battery-mod-form.mod-form #battery-modify-button {
	display: inline-block;
}

#battery-mod-form.mod-form #battery-add-button {
	display: none;
}

.battery-mod-batt-wrapper {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    text-align: center;
}

.battery-mod-batt-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 150px;
}

.battery-mod-batt-title {
    width: 100%;
    text-align: center;
    font-size: 1em;
    color: #666;
    padding: 3px;
    background-color: #ccc;
    border-radius: 5px;
    margin-bottom: 8px;
}

.gts-form input.battery-mod-batt-file input.charger-file {
    font-size: 0.7em;
}

.bql-battery {
    margin-bottom: 2em;
	margin-left: 1em;
}

.bql-header {
    font-size: 1.5em;
}

.bql-testing {
    padding-left: 3em;
}

.bql-thumb {
    max-width: 100px;
    max-height: 100px;
}

.quick-test-list {
	margin-left: 0em;
	border-spacing: 0;
}

.eng-test-list {
	font-size: 0.8em;
}

.quick-test-list tr:nth-child(odd) {
	background-color: #f5f5f5;
}

.sum1-location-col {
	display: none;
}

.sum1-uselocation .sum1-location-col {
	display: table-cell;
}

.menu-button {
	display: inline-block;
	background-image: url(gts-menu-2.png);
	background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 24px;
    height: inherit;
    margin-left: 16px;
}

.dropdown-button {
	display: inline-block;
	cursor: pointer;
	padding-left: 5px;
	padding-right: 5px;
}

.dynamic-dropdown {
	display: none;
	position: absolute;
	left: 0;
	top: 1.5em;
	width: 10em;
	font-size: 1.1em;
}

.download-header {
	background-color: #ececec;
	height: 80px;
	padding: 15px;
	text-align: center;
}

.download-logo {
	display: inline-block;
	background-image: url(gts-logo-100.png?v=2);
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	height: 100%;
	width: 100%;
}

.download-footer {
	background-color: #ececec;
	color: #111;
	font-size: 0.7em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	width: 100%;
	margin-top: 2em;
}

.download-btn {
	background-color: rgb(210,38,48);  /* PANTONE 1795 C */
	background-color: rgb(236,31,38);
	color: #fff;
	padding: 1em;
	display: inline-block;
	text-decoration: none;
}

.download-app-icon {
	display: inline-block;
	width: 80px;
	height: 80px;
	position: relative;
	background-image: url(app-icon-160.png);
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}

.download-note {
	display: inline-block;
	text-align: left;
	width: 90%;
	background-color: rgba(210,38,48,0.1);  /* PANTONE 1795 C */
	background-color: rgba(236,31,38,0.1);
	color: #333;
	padding: 1em;
	font-size: 0.8em;
}

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: #dddddd;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #666666;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(102,102,102,0.2);
}

.sidebar-nav li a:active, .sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #666666;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 0;
    }

    #wrapper.toggled {
        padding-left: 250px;
    }

    #sidebar-wrapper {
        width: 0;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 250px;
    }

    #page-content-wrapper {
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

