/*********** Headers */
.ms-WPBody h3 {
  overflow: visible;
  white-space: normal;
  overflow-wrap: break-word;
}

@media (max-width: 425px) {
  .ms-WPBody h3 {
    font-size: 18px !important;
    margin: 10px 0 3px 0;
  }
}

.panel-default>.panel-heading h4 {
  margin: 0;
}

/*********** Breadcrumbs */
.breadcrumb {
  padding: 0;
}

@media (max-width: 767px) {
  .breadcrumb {
    margin: 15px 10px 0 0;
  }
}

/*********** Filters and Services */
.toc-layout-main>.dfwp-list>.level-section>.level-header,
.ms-ref-refinername:link,
.ms-ref-refiner #Value,
.ms-ref-unsel-toggle,
#OtherValue,
#SubmitValue {
  width: 100%;
  padding-left: 10px;
}

.ms-ref-ellipsis {
  white-space: normal;
  /* maintains left column size upon fitler selection */
}

.ms-ref-refiner #Value>a:hover,
.ms-ref-unsel-toggle:hover {
  background: none !important;
}

.ms-ref-refinername:link {
  background: #f5f5f5;
}

.toc-layout-main>.level-header,
.ms-ref-refinername:link {
  font-size: inherit;
  font-weight: bold;
  padding: 10px;
}

.dfwp-list>.level-section, .ms-ref-refiner {
  padding: 0;
  /* 1. overwrites padding to make Services List full column width */
  /* 2. overwrites padding to make filter header full column width */
}

.toc-layout-main .dfwp-list ul li {
  padding: 0 0 0 10px;
  margin: 5px 0px;
  vertical-align: text-top;
  display: block;
  background-image: none;
}

.toc-layout-main .dfwp-list ul li a {
  font-weight: normal;
}

/*********** Service Online Icon */
.service-online {
  display: none;
  /* hides 'false' value text */
}

h2 .service-online img {
  height: 18px;
}

/*************Expand/Collapse*************/
.content .groupheader, .service-title {
  background: url(/SiteAssets/responsive/img/plus.png) no-repeat;
}

.content .groupheader.expanded, .service-title.expanded {
  background: url(/SiteAssets/responsive/img/minus.png) no-repeat;
}

.content .groupheader, .content .groupheader.expanded {
  background-position: 0px 7px;
  padding-left: 20px;
  cursor: pointer;
}

.groupheader {
  margin-left: 0 !important;
  font-size: 1.7em;
  line-height: normal;
  border-bottom: thin;
  border-bottom-style: solid;
}

.groupheader, .content h4 {
  font-family: 'open_sanslight';
  color: #144e82;
  font-weight: 500 !important;
}

.content h4 {
  font-size: 1.25em;
}

.service-title {
  margin-left: 20px;
  padding-left: 20px;
  cursor: pointer;
}

.service-title~.service-description {
  margin-left: 40px;
}

/*********** Services Home - Online Services List */
.panel-body {
  padding: 10px 0 0 0;
}

.service-content-area {
  border-bottom: thin;
  border-bottom-style: dotted;
}

ul.dfwp-column>.dfwp-item {
  padding-bottom: 20px;
}

.panel-default>.panel-heading {
  border: none;
}

/*********** Header Search */
#SearchBox {
  float: none;
}

#SearchBox .ms-srch-sbLarge {
  background-color: transparent;
}

#SearchBox .ms-srch-sbLarge {
  width: 98%;
  border-collapse: collapse;
  border-width: 0;
  white-space: nowrap;
  border: none;
}

#header .ms-srch-sbLarge>.ms-srch-sb-searchLink,
.navbar .ms-srch-sbLarge>.ms-srch-sb-searchLink,
.navbar .ms-srch-sb>.ms-srch-sb-searchLink {
  height: 40px !important;
  width: 40px !important;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  margin: 0;
  background-color: #1F476A !important;
  border: 1px solid rgba(225, 225, 225, 0.3) !important;
  border-left: none !important;
  box-sizing: border-box;
}

/*********** Main Content Search */
#main_content .ms-srch-sbLarge>input {
  background-color: #f1f1f1 !important;
  border-radius: 10px 0 0 10px !important;
  margin: 0;
  color: #333 !important;
  height: 40px;
  padding: 0 0px 0 15px;
  font-size: 16px;
}

@media (max-width: 767px) {
  #main_content .ms-srch-sbLarge>input {
    width: calc(100vw - 70px) !important;
  }
}

#main_content #SearchBox .ms-srch-sb-borderFocused {
  width: 98%;
  border-collapse: collapse;
  border-width: 0;
  white-space: nowrap;
  border: none;
}

input[type=password]:focus,
input[type=text]:focus,
select:focus,
textarea:focus,
.sp-peoplepicker-topLevelFocus,
.ms-inputBoxActive,
.ms-inputBoxActive.ms-inputBox:hover {
  border: none;
  -webkit-box-shadow: inset 0px 0px 3px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0px 0px 3px 1px rgba(0, 0, 0, 0.075);
}

/*********** Search Icon */
#main_content .ms-srch-sbLarge>.ms-srch-sb-searchLink {
  height: 40px;
  width: 40px;
  border-radius: 0 10px 10px 0;
  background-color: #f1f1f1;
  text-decoration: none !important;
}

#main_content a.ms-srch-sb-searchLink:hover {
  background: #f1f1f1 !important;
}

#main_content .ms-srch-sbLarge>a.ms-srch-sb-searchLink:before {
  position: relative;
  vertical-align: middle;
  color: #104165 !important;
  font-size: 17px !important;
  line-height: 26px;
  font-weight: bold;
}

#main_content .ms-srch-sbLarge>a.ms-srch-sb-searchLink:hover:before {
  font-size: 20px !important;
  animation: .25s ease-out 1 normal search-hover;
}
  @keyframes search-hover {
    0% {
      font-size: 17px;
    }
    25% {
      font-size: 16px;
    }
    100% {
      font-size: 19px;
    }
  }

/*********** Reduce Margin Spacing */
.content .ms-rte-wpbox .ms-webpartzone-cell {
  margin-bottom: 0;
}

.filter>div {
  margin-top: 10px;
}

.filter #unselShortList {
  margin-bottom: 10px;
}

.filter .ms-webpartzone-cell {
  margin-bottom: 0;
  display: table;
}

.filter #Container {
  padding-bottom: 0;
}

@media (min-width: 1024px) {
  .filter #Container {
    margin-right: 6px;
    /* to maintain same width as search area */
  }
}

/*********** Filter Text Styles */
.filter .ms-ref-refinername:link, .filter .ms-ref-refinername:visited {
  margin: 0 auto;
  font-size: inherit;
  font-weight: bold;
  border: 1px solid #d8d8d8;
  display: flex;
  background: #fff;
}

.filter a:hover {
  background-color: #fff !important;
}

.filter .ms-ref-refinername:before {
  background: none;
  content: "\f1de";
  font: normal normal normal 20px/.75 FontAwesome;
  font-weight: bold;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color: #777;
  margin: 0 auto;
  display: flex;
  padding: 3px 12px 0 0;
}

/*********** Filter Pills */
.filter a {
  text-decoration: none;
}

.filter #Container div[id$='Section'] {
  background-color: white;
}

.filter #Container #SelectedSection [name='Item'] {
  display: inline-block;
}

.filter #Container div[id$='Section'] div[name='Item'] {
  display: table;
  width: fit-content;
  width: auto;
  border: 1px solid #d3c3c3;
  border-radius: 20px;
  padding: 3px 15px;
  margin: 5px 3px;
}

.filter #SelectedSection, .filter #UnselectedSection {
  display: inline;
}

.filter div[class$='arrow'] {
  display: block;
  margin: auto 0;
}

/*********** for Search Results */
.ms-srch-item, .ms-srch-result, .ms-srch-item-path {
  margin: 0 auto;
}

.ms-srch-item {
  padding: 5px 0;
  width: 100%;
}

@media (max-width: 425px) {
  .ms-srch-item, .ms-srch-item-summary, .ms-srch-item-path {
    max-width: 90vw;
  }
}

/*********** Pagination */
.ms-srch-result #Paging a {
  border: none;
  overflow: hidden;
}

.ms-srch-pagingNext {
  left: -110px !important;
  top: -5px !important;
}

/*********** Other */
.content li a {
  color: #1f5b83;
  /* overrides link style inconsistencies */
}
