.p-sm {
  padding:8px !important;
}
.p-md {
  padding:24px !important;
}
.p-lg {
  padding:48px !important;
}
.p-0 {
  padding:0 !important;
}
.m-sm {
  margin:8px !important;
}
.m-md {
  margin:24px !important;
}
.m-lg {
  margin:48px !important;
}
.m-0 {
  margin:0 !important;
}

.esri-legend__layer-caption {
  display: none !important;
}

.pv-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.ph-10 {
  padding-left: 10px;
  padding-right: 10px;
}

.pv-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.ph-20 {
  padding-left: 20px;
  padding-right: 20px;
}

.inline {
  display:inline-block;
}

.required::before {
  content: '\002731  ';
  color: red;
  font-weight: normal;
}
.required-cond::before {
  content: '\002731\002731  ';
  color: orange;
  font-weight: normal;
}

.center {
  text-align:center;
}

.bold {
  font-weight:bold;
}

.text-xs {
  font-size:8pt;
}

.text-sm {
  font-size:10pt;
}

.text-md {
  font-size:12pt;
}

.text-lg {
  font-size:16pt;
}

.text-align-r {
  text-align:right;
}

.text-align-l {
  text-align:left;
}

.valign-t {
  vertical-align: top;
}

.valign-m {
  vertical-align: middle;
}

.valign-b {
  vertical-align: bottom;
}

.valign-bl {
  vertical-align: baseline;
}

.panel.panel-horizontal {
  display:table;
  width:100%;
}

.panel.panel-horizontal > .panel-heading, .panel.panel-horizontal > .panel-body
, .panel.panel-horizontal > .panel-footer {
  display:table-cell;
}
.panel.panel-horizontal > .panel-heading, .panel.panel-horizontal > .panel-footer {
  width: 25%;
  border:0;
  vertical-align: middle;
}
.panel.panel-horizontal > .panel-heading {
  border-right: 1px solid #ddd;
  border-top-right-radius: 0;
  border-bottom-left-radius: 4px;
}
.panel.panel-horizontal > .panel-footer {
  border-left: 1px solid #ddd;
  border-top-left-radius: 0;
  border-bottom-right-radius: 4px;
}

#tools {
  position:absolute;
  right:0;
}

main {
  position:relative;
  min-height:500px;
}

.plain {
  background:none;
  border:none;
}
.rightJustified{
  text-align: right !important;
}
.centered{
  text-align: center !important;
}
.leftJustified{
  text-align: left !important;
}

.sub-button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 12px;
  background-color: #d88c20;
  transition: opacity 0.2s;
  margin-top: 10px;
  height: 60px;
  width: 65px;
}

a.app .ca-gov-icon-plus-line:before, a.app .ca-gov-icon-table:before {
  top: 2px;
  font-size: 1.1em;
  position: relative;
}

.btn:hover .sub-button {
  transition: opacity 0.2s;
}

.sub-button:hover {
  background-color: #ffaa30;
}

.btn-pale-blue {
  background-color: #a7cbdb;
}

.tab-pane.active {
  outline: 0 !important;
}

.first-level-link {
  outline: 0 !important;
}

#tools a:hover {
  text-decoration:none;
}

form#sign-in-form label {
  width:100%;
}

.main-navigation.megadropdown .sub-nav {
  /*max-width: 250px;*/
  min-width: 250px;
  left: auto;
  right: auto;
}

.gei-icon-map-viewer::before {
  content: url(../images/map-viewer-icon.png);
  display: block;
  font-size: 32px;
  text-align: center;
}

.gei-icon-map-viewer.compact::before {
  display: none;
}

.gei-icon-data-management::before {
  content: url(../images/table-icon.png);
  display: block;
  font-size: 32px;
  text-align: center;
}

.gei-icon-accounts::before {
  content: url(../images/accounts-icon.png);
  display: block;
  font-size: 32px;
  text-align: center;
}

.gei-icon-signout::before {
  content: url(../images/signout-icon.png);
  display: block;
  font-size: 32px;
  text-align: center;
}

.nav-item a {
  color: #fff !important;
  font-weight: bold;
}

.nav-item a:hover {
  color: #ddd !important;
}

.second-level-nav > li {
  height: 220px;
}

.second-level-nav h5 {
  font-weight: bold;
  color: rgb(48,88,137);
}

.nav-unit-block {
  padding: 15px;
}

.nav-unit-block ul {
  list-style: none;
}

.nav-unit-block > ul > li > a {
  font-weight: normal;
  color: #333 !important;
  text-decoration: underline;
}

.nav-unit-block > ul > li > a:hover {
  color: #777 !important;
}

.unit2 > a {
  color: #333 !important;
  font-weight: normal !important;
  font-size: 1rem;
}
  
.unit2 > a:hover {
  color: #333 !important;
}

.sub-nav {
  left: 0 !important;
  right: 0 !important;
}

.dm-subnav ul,
.ex-subnav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: transparent;
}

.dm-subnav li,
.ex-subnav li {
  float: right;
}

.dm-subnav a,
.ex-subnav a {
  display: block;
  text-align: center;
  padding: 14px 16px;
  color: rgb(55,191,191);
  text-decoration: underline;
}

.dm-subnav a:hover,
.ex-subnav a:hover {
  color: rgb(123,217,217);
}

#LoadMask > .modal-dialog {
  top: 50% !important;
  left: 50%;
  position: fixed;
  margin-left: -300px;
  margin-top: -65px;
}

.modal-backdrop {
  position: fixed !important;
}

.filter-remove-group {
  float: right;
  width: auto;
  line-height: 1.1;
  background: transparent !important;
  color: #FFF !important;
  border: none;
}

.filter-remove-group:hover {
  color: #CCC !important;
}

.filter-group > .ui-accordion-header {
  background: rgb(48,88,137);
  border: 1px solid #9a9a9a; 
  color: #fff;
}

.filter-group .ui-accordion-header-icon {
  background-image: url("../js/jquery/ui/1.12.1/images/ui-icons_ffffff_256x240.png")
}

.ui-state-active > .filter-remove-group {
  background: transparent !important;
  color: #FFF;
}

.no-padding {
  padding: 0px !important;
}

.filter-condition {
  overflow: visible !important;
  padding-left: 0px;
  padding-right: 30px;
}

.filter-condition .col-md-3 {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.filter-value {
  border-radius: 5px;
  border: 1px solid #aaa;
  line-height: 1.4;
}

.filter-content {
  height: auto !important;
  padding-left: 0px;
  overflow: visible !important;
}

.filter-content .col-md-3 {
  width: 23% !important;
} 

.filter-group-footer {
  border-top: 1px solid #ccc;
  padding-top: 10px;
  padding-right: 0px;
  padding-bottom: 0px !important;
}

.filter-group:before {
  display: none;
}

.filter-remove-condition,
.filter-add-condition {
  padding-left: 0px !important;
  padding-right: 0px !important;
  float: right;
  position: absolute;
  display: inline-block;
  width: auto !important;
}

.filter-remove-condition {
  margin-left: 35px;
}

.filter-remove-condition button,
.filter-add-condition button {
  line-height: 0.5 !important;
  padding: 4px !important;
}

.filter-modal .modal-body {
  padding-bottom: 0px !important;
}

.filter-modal #closebtn {
  background: green;
  color: #fff;
}
.filter-modal #addGroup {
  background: rgb(48,88,137);
  color: #fff;
}

.filter-modal .chosen-drop {
  width: 200px !important;
  margin-top: 1px !important;
}

.download-modal label {
  font-weight: normal;
  margin-left: 10px;
  margin-right: 10px;
}

.download-modal #closebtn {
  background: green;
  color: #fff;
}
.download-modal #close {
  background: rgb(48,88,137);
  color: #fff;
}

.download-modal #related-tables {
  margin-top: 10px;
}

.filterActive {
  background: rgb(68,68,68);
  color: #FFF;
}
.branding .min_scrn{
  width:350px;
  display:block;
}
.main-navigation{
  display:block;
  float:right;
}
#account-edit-dlg .modal-dialog {
  width: 800px;
}
#account-edit-dlg .modal-header
,#account-edit-dlg .modal-footer {
  display:none;
}

#user-account-ct .tab-content {
  padding: 20px 10px;
}

#user-account-ct .nav-tabs >  li > a {
  text-decoration: none;
  cursor: pointer;
}

#profile-update-form label {
  text-transform: uppercase;
  color:#777;
  font-size:10px;
  width: 100%;
}
#profile-update-form input {
  border-radius: 5px;
}

/** FORM SWITCH CSS **/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/** END FORM SWITCH CSS **/