/*
Theme Name: State College
Theme URI: https://www.pittsburghinternetconsulting.com/
Author: the Piconsulting Dev team
Author URI: https://www.pittsburghinternetconsulting.com/
Description: State College Theme.
Version: 1.0.4
License: GNU General Public License v2 or later
Tags: simple, theme
Text Domain: statecollege

*/

:root {
  --red: #cf2e2e;
  --redhover: #a52424;
  --white: #ffffff;
  --mid-gray: #777777;
  --light-gray: #f2f2f2;
  --light-gray-2: #e5e5e5;
  --large-font: 2.5em;
  --blue: #0084d1;
  --blue-hover: #005a87;

}

html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}

/* General Styles */

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

table td,
table th {
  border: 1px solid #ededed;
  margin: 0 !important;
  padding: 5px 15px;
}

thead {
  background-color: #0084d1;
  color: #fff;
  text-transform: uppercase;
}

.gray-bg {
  background: #e5e5e5;
}

.blue-bg {
  background: #0084d1;
  color: white;
}

.light-blue-bg {
  background-color: #0dbae8;
  color: #ccf3ff;
}

.blue-bg a,
.light-blue-bg a {
  color: white;
}

.black-bg {
  background-color: #0d0d0d;
  color: white;
}

.title {
  border-bottom: 3px solid #f1f1f1;
  padding-bottom: 10px;
}
h2.title {
  font-size: 2.5em;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

a {
  color: #0084d1;
}

a:hover,
a:active,
a:focus {
  color: #114;
}

h1 {
  font-size: 2em;
}
h2 {
  font-size: 2.5em;
  line-height: 1.1;
}
h3 {
  font-size: 1.3em;
  margin: 3px 0px;
}
h4 {
  font-size: 1.1em;
}
h5 {
  font-size: 1em;
}
h6 {
  font-size: 1em;
}

h1 a,
h2 a,
h3 a,
h4 a {
  text-decoration: none;
  color: #111111;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
  color: #0084d1;
}

.disclaimer {
  color: #999;
  font-weight: normal;
  font-size: 7pt;
  margin: 0;
}

/* Top Bar */
.top-bar {
  font-size: 12px;
  padding: 5px 0;
}

/* Main Navigation */
.desktop-navigation .menu {
  display: flex;
  justify-content: space-between;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.desktop-navigation .menu > li > a {
  color: white;
  padding: 13px 15px;
  display: block;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-navigation .sub-menu {
  position: absolute;
  display: none;
  z-index: 999;
  background: #0084d1;
  list-style: none;
  padding: 10px 0;
  box-shadow: 0 3px 5px rgb(0 0 0 / 30%);
}

.desktop-navigation .sub-menu a {
  color: white;
  padding: 5px 40px 5px 20px;
  display: block;
  text-decoration: none;
}

.desktop-navigation .menu > li:hover,
.desktop-navigation .sub-menu a:hover {
  background: #005a87;
  transition: 0s;
}

.desktop-navigation .menu > li:hover > .sub-menu,
.desktop-navigation .sub-menu li:hover .sub-menu {
  display: block;
}

.desktop-navigation .sub-menu li {
  position: relative;
}

.desktop-navigation .sub-menu .sub-menu {
  left: 100%;
  width: auto;
  top: 0;
}

.desktop-navigation .sub-menu .sub-menu a {
  white-space: nowrap;
}
.menu li {
  cursor: pointer;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  white-space: nowrap;
}

.main-navigation .toggle-mobile-sub-menu {
  position: absolute;
  top: 0;
  right: 0;
  padding: 13px;
  line-height: 1.87;
}

@media (min-width: 980px) {
  .main-navigation .toggle-mobile-sub-menu {
    display: none;
  }
}
.main-navigation .sub-menu .toggle-mobile-sub-menu {
  padding: 5px 13px;
}

.main-navigation .search img {
  max-width: 20px;
  max-height: 20px;
  cursor: pointer;
}

@media (min-width: 992px) {
  .toggle-mobile-menu.d-flex,
  .desktop-hide,
  .desktop-hide.d-flex {
    display: none !important;
  }
}

/* HEADER LOGO */
@media (max-width: 992px) {
  .desktop-navigation {
    display: none;
  }

  .desktop-navigation.show {
    display: block;
  }

  .desktop-navigation.show ul:active {
    -webkit-tap-highlight-color: transparent !important;
  }

  .desktop-navigation.show ul {
    flex-direction: column;
  }

  .desktop-navigation.show ul li {
    border-bottom: 1px #fff solid;
    margin-bottom: 2px;
  }

  .desktop-navigation.show ul li:last-child,
  #navbarNav .sub-menu.show li {
    border: none;
  }

  .toggle-mobile-menu {
    padding: 15px 10px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 16px;
  }

  .toggle-mobile-menu i {
    margin-right: 5px;
  }

  .desktop-navigation .menu > li > a {
    display: inline-block;
  }

  .main-navigation .sub-menu li {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .main-navigation .sub-menu .sub-menu {
    padding-left: 20px !important;
  }

  .toggle-mobile-sub-menu.active img {
    transform: rotate(180deg);
  }

  .header-search {
    margin-top: 40px !important;
    width: 100% !important;
    left: 0;
    right: 0;
    display: block !important;
  }
  @media (max-width: 992px) {
    .header-search {
      margin-top: 0px !important;
    }
  }

  .header-search form div {
    display: flex;
  }

  .header-search form div input#s {
    width: 100%;
  }

  #navbarNav .sub-menu {
    display: none;
  }

  #navbarNav .sub-menu.show {
    position: initial;
    display: block;
    padding: 0px;
  }

  .desktop-navigation .sub-menu a {
    display: inline-block;
  }

  .desktop-navigation .menu > li:hover,
  .desktop-navigation .sub-menu a:hover {
    background: transparent;
  }
}

.header-ad,
.footer-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.navbar.navbar-expand-lg.navbar-light {
  padding-top: 10px;
}

@media (max-width: 992px) {
  .navbar.navbar-expand-lg.navbar-light {
    padding-top: 0px !important;
  }
  .logo.text-sm-left a img {
    margin-bottom: -8px !important;
  }
}

/* Footer */
.copyright {
  color: #ccc;
  font-size: 12px;
}

footer #footer_3 a {
  width: 40px;
  padding-top: 10px;
  margin: 5px 10px 10px 0;
  display: inline-block;
  text-align: center;
}

footer #footer_3 i {
  color: #fff;
  font-size: 16px;
}

.grecaptcha-badge {
  z-index: 1000;
}

/* Buttons */

.blue-btn {
  background-color: #0084d1;
  color: white;
  border-radius: 0px;
  border: 0;
  cursor: pointer;
  display: inline-block;
  font-family: "Roboto", sans-serif;
  padding: 0.8em 1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.blue-btn:hover {
  background-color: #0084d1;
  color: white;
}

.dark-blue-btn {
  background-color: #114;
  display: block;
  color: white;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  padding: 0.8em 1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.dark-blue-btn:hover {
  background-color: #0084d1;
  color: white;
}

a.red-btn,
.red-btn {
  background-color: var(--red);
  color: white !important;
  border-radius: 0px;
  border: 0;
  cursor: pointer;
  display: inline-block;
  font-family: "Roboto", sans-serif;
  padding: 0.8em 1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}

a.red-btn:hover,
.red-btn:hover {
  background-color: var(--redhover);
  color: white !important;
}

/* Sidebar Search - Auto Properties */

.search-sidebar .field {
  margin-bottom: 10px;
  padding: 5px 0;
}

.search-sidebar select {
  text-transform: capitalize;
  width: 100%;
}

.search-sidebar .label {
  margin-right: 10px;
  flex: 1 1 0;
  font-size: 14px;
}

.search-sidebar .control {
  flex: 3 1 0;
}

.search-sidebar .blue-btn {
  width: 100%;
}

.search-sidebar .ui-slider-range {
  background-image: none;
  background-color: #0084d1;
}

@media (max-width: 992px) {
  .filter-mobile {
    border-bottom: 1px solid #f3f3f3;
    position: relative;
  }

  .search-sidebar {
    align-items: center;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    display: flex;
    z-index: 999;
    height: 100%;
    left: -1000px;
    transition: 0.5s;
    width: 85%;
  }

  .search-sidebar > div {
    width: 100%;
  }

  .search-sidebar .field {
    flex-wrap: wrap;
    margin-bottom: 0px;
  }

  .search-sidebar label {
    flex: 100%;
    flex-basis: 100% !important;
    font-weight: bold;
  }

  .search-sidebar select {
    height: 35px;
  }

  .search-sidebar.active {
    left: 0;
  }

  .back-btn {
    position: absolute;
    top: -10px;
    right: -30px;
    background: #fff;
    border-radius: 50%;
    width: 40px;
  }
}

#car-hide-show-images {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  #car-hide-show-images {
    justify-content: flex-end;
    margin-top: -20px;
  }
}

#scc_hidden_images .eye {
  height: 22px;
  width: 22px;
}

#scc_hidden_images .eye path {
  fill: #0084cf;
}

#scc_hidden_images .eye-slash {
  height: 25px;
  width: 25px;
}

#scc_hidden_images input {
  opacity: 0;
  width: 0;
}

#scc_hidden_images label {
  align-items: center;
  color: #777;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px 10px;
}

#scc_hidden_images.show #eye-show,
#scc_hidden_images.hide #eye-hide {
  background: #f2f2f2;
}

/* Breadcrumbs */

.breadcrumbs {
  text-transform: capitalize;
}

.dark-blue-bg .breadcrumbs a,
.dark-blue-bg .breadcrumbs span {
  color: #0084d1;
}
.breadcrumb_last {
  font-weight: normal;
  color: #777;
}
.dark-blue-bg .breadcrumb_last {
  color: white;
}

/* Cards - Auto Properties */

.card-auto img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 360/270; /* dealer sending image in this size */
}

.card-grid .wpbdp12,
.card-grid .wpbdp-full {
  grid-column: auto;
}

.post-type-archive-obituary .card img {
  height: 250px;
  width: 100%;
}

.card .overlay-wrapper {
  position: relative;
  text-align: center;
}

.card .overlay-wrapper img {
  object-fit: cover;
}

.card .img-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #898989;
  font-size: 14px;
  transition: 0.5s;
  padding-bottom: 10px;
}

@media (max-width: 570px) {
  .card-grid {
    display: block;
  }
  .card {
    margin-bottom: 30px;
  }
}

.agency-img {
  text-align: center;
}

.agency {
  width: 100px !important;
  height: 100px !important;
  background: white;
  border-radius: 50px;
  margin-left: 15px;
  filter: drop-shadow(0px 0px 4px #ccc);
  object-fit: contain;
}

.card:not(.card-sidebar) .card-content {
  padding: 0px 15px 15px 15px;
}

.card .card-content.d-flex {
  height: 100%;
}

.card a.card-title h3 {
  color: #111;
  font-size: 18px;
}

.card a.card-title:hover h3 {
  color: #0084d1;
}

.card .card-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  font-size: 14px;
}

.card .card-details > span:nth-child(2n - 1) {
  opacity: 0.5;
}

.card .card-details > span:nth-child(2n) {
  font-weight: bold;
  margin-bottom: 5px;
}

.property-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.property-meta .meta-item {
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding-right: 20px;
  margin-bottom: 20px;
}

.property-meta .meta-item .meta-item-label {
  display: block;
  opacity: 0.6;
  font-weight: 600;
  color: #000 !important;
}

.meta-item-icon img {
  width: 50%;
}

.property-template-default h2.title {
  font-size: 1.8em;
}

.statecollege-apartment-box__price {
  font-size: 17px;
  font-weight: bold;
  color: #0084d1;
}

.statecollege-apartment-box__price-call {
  background-color: #be0101;
  padding: 5px 10px;
  color: #fff;
  border-radius: 15px;
  margin-top: 5px;
}

.statecollege-apartment-box__price-call:hover {
  background-color: #840202;
  padding: 5px 10px;
  color: #fff;
}

.apartment-price {
  font-size: 25px;
  margin-top: -20px;
}

.apartment-price .label {
  font-weight: 600;
  color: #0dbae8;
  font-size: 30px;
}

a.call-for-price {
  background-color: #be0101;
  padding: 5px 10px;
  color: #fff;
  border-radius: 15px;
  margin-top: 5px;
}

a.call-for-price:hover {
  background-color: #840202;
  padding: 5px 10px;
  color: #fff;
}

h3.statecollege-apartment-box__title {
  margin-bottom: 10px;
}

.card .card-btn {
  color: white !important;
  background-color: #0084d1;
  width: 100%;
  display: block;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: auto;
  margin-bottom: 0;
  cursor: pointer;
}

.card .card-btn:hover {
  background-color: #005a87;
}

/* Related Cars Grid */

@media (min-width: 768px) {
  .related-auto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Auto Single Vehicle */

@media (min-width: 768px) {
  .auto_detail_data_table tbody {
    column-count: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.vehicle-features--datasheet {
  text-transform: capitalize;
}

.auto_detail_data_table tbody td {
  min-width: 120px;
}

.auto_detail_data_table tbody td:last-child {
  width: 100%;
}

.auto_detail_data_table tbody tr {
  border-bottom: 1px solid #e5e5e5;
  margin-right: 20px;
}

.single-vehicle-slider {
  max-width: 640px;
}

.dealer-section {
  background: #e5e5e5;
  padding: 40px;
  margin: 20px 0 50px;
}

.dealer-info {
  display: flex;
}

.contact-dealer-single-vehicle input {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  border: 0;
}

.contact-dealer-single-vehicle textarea {
  border: 0;
}

.contact-dealer-single-vehicle .gform_wrapper ul li.gfield {
  margin-top: 0;
}

/* Obituary */

.single-obituary .wp-post-image {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

#sidebar .sidebar-search form {
  display: flex;
}

#sidebar .sidebar-search form img {
  height: 15px;
}

#sidebar .sidebar-search form .btn {
  border-radius: 0 4px 4px 0;
}

#sidebar .sidebar-search form input {
  width: 100%;
}

#sidebar .monthly-obituary .archive-list {
  padding-left: 0;
}

#sidebar .monthly-obituary .obituary-list {
  border-bottom: 1px #e5e5e5 solid;
  padding: 5px 0;
  position: relative;
}

#sidebar .monthly-obituary .obituary-list:nth-child(1n + 5) {
  display: none;
}

#sidebar .monthly-obituary .obituary-list .year {
  font-weight: bold;
  padding: 5px;
}

#loadMorelist {
  display: block;
  text-align: center;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  padding: 0.4em;
}

.show-more {
  position: absolute;
  right: 10px;
  width: 100%;
  text-align: right;
  cursor: pointer;
}

.show-more i {
  color: #3273dc;
}

.show-more.rotate i {
  transform: rotate(180deg);
}

/* Sidebar Properties */

@media (max-width: 980px) {
  #sidebar .widget_media_image {
    text-align: center !important;
  }
}

#sidebar .card > a > img {
  max-height: none;
  min-height: 10px;
}

#sidebar .light-blue-bg .blue-btn {
  display: block;
}

#sidebar .social-btn-fb,
.social-btn-in,
.social-btn-tw,
.social-btn-yt {
  font-size: 11px;
  display: block;
  padding: 4px 8px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  justify-content: space-between;
}

#sidebar .social-btn-fb:hover,
.social-btn-in:hover,
.social-btn-tw:hover,
.social-btn-yt:hover {
  opacity: 0.8;
  color: #fff;
}

#sidebar .social-btn-fb {
  background-color: #516dab;
}

#sidebar .social-btn-in {
  background-color: #427096;
}
#sidebar .social-btn-tw {
  background-color: #29c5f6;
}
#sidebar .social-btn-yt {
  background-color: #e14e42;
}

#sidebar .social-icon {
  width: 23px;
  border-right: 1px #fff solid;
  height: 23px;
  padding-right: 5px;
  fill: #fff;
}

#sidebar .social-btn-text {
  border-left: 1px #fff solid;
  padding-left: 5px;
  width: 65px;
  text-align: center;
}

/* Pagination */

.pagination {
  width: 100%;
  text-align: center;
}

.pagination .button {
  background-color: #005a87;
  color: white;
  border-radius: 5px 0px 0px 0px;
  border: 0;
  box-shadow: none;
  font-size: 0.9rem;
  padding-bottom: calc(0.5em - 1px);
  padding-left: 1em;
  padding-right: 1em;
  padding-top: calc(0.5em - 1px);
  cursor: pointer;
}

.pagination .button:hover {
  background-color: #006ba1;
}

.pagination button[disabled] {
  opacity: 0.5;
}

.pagination .current button {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

/* Front Page */

.news-grid .post-0,
.news-grid .post-1,
.news-grid .post-2,
.news-grid .post-3,
.news-grid .post-4 {
  /*max-height: 200px;*/
}

.news-grid .card-image {
  display: block;
  position: relative;
  height: 100% !important;
  aspect-ratio: 374/230;
}

@media (max-width: 768px) {
  .news-grid .post-0,
  .news-grid .post-1,
  .news-grid .post-2,
  .news-grid .post-3,
  .news-grid .post-4 {
    /*max-height: 200px;*/
    margin: 3px !important;
  }
}

@media (min-width: 768px) {
  .news-grid {
    display: grid;
    grid-template-areas:
      "big big side1 side2"
      "big big side3 side4";
    grid-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
  }

  .news-grid .post-0 {
    grid-area: big;
  }
  .news-grid .post-1 {
    grid-area: side1;
  }
  .news-grid .post-2 {
    grid-area: side2;
  }
  .news-grid .post-3 {
    grid-area: side3;
  }
  .news-grid .post-4 {
    grid-area: side4;
  }

  .news-grid .post-0 {
    max-height: 410px;
  }
}

.news-grid article {
  position: relative;
  cursor: pointer;
  transition: 0.3s;
  overflow: hidden;
}

.news-grid article img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  aspect-ratio: 374/230;
  /* filter: brightness(0.5); */
}

.news-grid article .news-content {
  bottom: 0;
  position: absolute;
  padding: 10px;
}

.news-grid article .news-content h3 {
  margin: 0;
}

.news-grid article .news-content a {
  color: white;
}

.news-grid article .news-content a:hover {
  color: #0084d1;
}

.news-grid article .news-content p {
  padding: initial;
}

.news-grid article:hover img {
  transform: scale(1.1);
  transition: 0.3s;
  filter: brightness(0.5);
}

.news-grid .bg-gradient {
  position: relative;
  height: 100% !important;
}

.news-grid .bg-gradient:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0)
    ),
    url();
}

.placeholder {
  background: #114;
  height: 270px;
  width: 100%;
  display: block;
}

.card-post-meta {
  margin-top: 5px;
}

.card-post-meta > * {
  margin-right: 5px;
}

.card-post-meta .card-date {
  color: #a09e9e;
}

.card-date {
  color: #a09e9e;
}

.card-author a {
  color: #005a87;
}

@media (max-width: 1200px) {
  .news-content h3 {
    font-size: 1em !important;
    line-height: 1.3 !important;
  }
}

/* State College Grid */
.tabs {
  border-bottom: 2px solid #006ba1;
  margin-bottom: 20px;
  overflow-x: auto;
  display: flex;
  padding-bottom: 0px;
  background-color: #fff;
}

@media (max-width: 720px) {
  .tabs {
    padding-bottom: 1px;
    border-bottom: 0px;
  }
  .tabs::-webkit-scrollbar {
    width: 20px !important;
    height: 3px;
    background-color: #f3f3f3;
  }
  .tabs::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color: #f3f3f3;
  }
  .tabs::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background-color: #0a4e7b;
  }

  .tabs-featured-line {
    border: 1px solid #006ba1;
    margin-top: -23px;
  }
}

.tab {
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #777;
  line-height: 1;
  padding: 10px 20px;
  display: inline-block;
  text-transform: uppercase;
  white-space: nowrap;
  background-color: #f3f3f3;
  margin-right: 4px;
  border-radius: 0px 5px 0px 0px;
}

.tab.active {
  background: #006ba1;
  color: #fff;
  border-radius: 0px 5px 0px 0px;
}

.tab-content {
  display: flex;
  flex-direction: column;
}

.tab-content .blue-btn {
  margin-left: auto;
  margin-right: 0;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .sc-grid {
    grid-template-areas:
      "big side1"
      "big side2"
      "big side3"
      "big side4";
  }

  .sc-grid .post-0 {
    grid-area: big;
  }
  .sc-grid .post-1 {
    grid-area: side1;
  }
  .sc-grid .post-2 {
    grid-area: side2;
  }
  .sc-grid .post-3 {
    grid-area: side3;
  }
  .sc-grid .post-4 {
    grid-area: side4;
  }
}

.sc-grid {
  display: grid;
  grid-gap: 10px;
}

.sc-grid .sc-news-side {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 2fr;
  align-items: center;
}

.sc-grid .sc-news-side .news-img {
  max-height: 100px;
  overflow: hidden;
}

.sc-grid .news-img a {
  display: block;
}

.sc-grid .news-img img {
  min-height: 100%;
  object-fit: cover;
  width: 100%;
}

.sc-grid .sc-news-side h3 {
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.3;
}

@media (min-width: 570px) {
  #sidebar.in-cards-sidebar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  #sidebar.in-cards-sidebar > div {
    width: 45%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  #sidebar.in-cards-sidebar #custom_html-18,
  #sidebar.in-cards-sidebar #custom_html-24 {
    order: -2;
  }

  #sidebar.in-cards-sidebar #gform_widget-7,
  #sidebar.in-cards-sidebar #gform_widget-4 {
    order: -1;
  }

  #sidebar.in-cards-sidebar #text-28 {
    order: 3;
  }

  #sidebar.in-cards-sidebar #custom_html-12 {
    order: 4;
    width: 100%;
  }
}

@media (min-width: 990px) {
  #sidebar #custom_html-75,
  #sidebar #custom_html-84 {
    position: sticky;
    top: 50px;
  }
}

#sidebar #custom_html-84 .custom-html-widget {
  text-align: center;
}

#sidebar .adsbygoogle {
  display: flex !important;
  margin: auto;
}

/* Breaking News */
.breaking {
  background-color: #be0101;
  font-weight: bold;
  padding: 10px;
  text-transform: uppercase;
  display: block;
  text-align: center;
  color: #fff;
  border-radius: 20px;
}

/*********** 404 Page *****************/

.content-404 a {
  text-align: center;
}
.content-404 {
  width: 100%;
  float: left;
  text-align: center;
}

.not-found-content {
  position: relative;
}
.not-found-content h1 {
  font-size: 50px;
  width: 100%;
  text-align: center;
}
.not-found-content p {
  text-align: center;
}
.not-found-content div {
  position: absolute;
  top: 30%;
  color: #fff;
  width: 100%;
}
.content-404 a.back-home {
  font-size: 14px;
  line-height: 39px;
  padding: 10px;
  color: #fff;
  background: #0084d1;
  border-radius: 3px;
  text-decoration: none;
}
.content-404 ul {
  margin: 0;
  padding: 0px;
}
.content-404 ul li {
  display: inline-block;
  float: left;
}

.content-404 ul li .info {
  float: left;
  width: 100%;
  text-align: left;
  line-height: 22px;
}

.content-404 .post-img img {
  max-width: 100%;
  max-height: 200px;
}

@media (max-width: 580px) {
  .not-found-content h1 {
    font-size: 30px;
    margin: 0px;
  }
  .not-found-content p {
    padding: 0px 15px;
  }

  /* this is breaking the ads in mobile not to center
  iframe {
    margin: 0 !important;
    min-width: 100%;
  }*/
}

.ctct-form-embed.form_0 .ctct-form-defaults {
  background-color: #dde9f1 !important;
}

/* CSS for Human Resources Page */
.page-id-248050 a {
  text-decoration: none;
}
.human_resources_table {
  border-collapse: collapse;
  border-spacing: 0;
}
.human_resources_table td {
  padding: 2px 8px;
  border: 1px solid #ededed;
}
.human_resources_table ul {
  padding: 0px;
}
.human_resources_table ul li {
  line-height: 24px;
  margin-left: 21px;
}
.human_resources_table ul li a {
  text-decoration: none;
}

/******    Movies Page ********/

.movie-block__info p {
  margin: 3px;
}

.movie-block__info iframe {
  width: 100%;
}

.movie-time {
  padding: 4px 10px;
  background-color: #be0101;
  border-radius: 15px;
  margin: 2px;
  color: #fff;
}

p.movie-block__rated {
  background-color: #111111;
  padding: 1px 10px;
  color: #fff;
  width: fit-content;
  border-radius: 15px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
}

/***************** All categories page  ***********************/
.main-category-section#category-filters .col-sm-4 {
  border-bottom: 1px dashed #f2f2f2;
}
.statecollege-categories__selector {
  float: left;
  width: 100%;
}
.statecollege-categories__selector .wpbdp-abc-filtering {
  margin: 20px auto 40px;
  width: auto;
  border: 3px solid #0084d1;
  padding: 5px;
  border-radius: 15px;
  text-align: center;
}
.wpbdp-abc-filtering .letter a {
  text-decoration: none;
  font-size: 18px;
}
.wpbdp-abc-filtering .letter {
  margin: 0 4px;
}
.main-category-section .item-details {
  line-height: 12px;
}
.main-category-section .item-details .entry-title a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
}
.main-category-section .item-details .entry-title {
  font-size: 14px;
  font-weight: normal;
  height: 30px;
  margin-bottom: 0;
  color: #000;
}

.wpbdp-main-box .box-col input {
  height: 38px;
}

/*****************  Archive Movies  ***************/
.showtimes label {
  align-self: center;
}

.showtimes a {
  background: #0084d1;
  color: #fff;
  padding: 5px 10px;
  margin: 2px;
  border-radius: 5px;
  text-decoration: none;
}

.showtimes a.current {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

.card-grid.movies-grid .card img {
  min-height: 0;
  max-height: 180px;
}

tr:nth-child(even) {
  background: #f7f7f7;
}

table.movies-showtime {
  border-collapse: separate;
  box-sizing: border-box;
  border-spacing: 0px;
  border-color: grey;
}

/** CSS for floor plan single page image modalbox **/
.modal {
  display: none;
  overflow: auto;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal-profile {
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 150px auto 30px;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-content {
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  min-height: 16.42857143px;
  display: none;
}
.modal-header .close {
  margin-top: -2px;
}
button.close {
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
  -webkit-appearance: none;
}
.close {
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 20px;
}
.img-rounded {
  border-radius: 6px;
}
.img-responsive {
  vertical-align: middle;
  display: block;
  max-width: 100%;
  height: auto;
}
.modal-footer {
  margin-top: 15px;
  padding: 19px 20px 20px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal .btn {
  display: inline-block;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
}
@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
  }
}
.card-grid.properties-grid h3 {
  font-size: 1.5em;
  color: #000;
  text-decoration: none;
}
.card-grid.properties-grid a {
  text-decoration: none;
}

/* CSS for youtube video template */
img.youtube_link {
  object-fit: cover;
  width: 100%;
  height: 391px;
  filter: brightness(50%);
}

.youtube-videos {
  line-height: 0;
}

.youtube-videos ul {
  background: #222;
}

.youtube-videos ul img {
  max-width: 80px;
}

.youtube-videos ul .youtube_link {
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: #003b58;
  border-top: 1px solid #3b637d;
}

.youtube-videos ul .youtube_link:hover {
  background: #005a87;
}

.youtube-videos ul span {
  font-size: 14px;
  line-height: 15px;
}

.youtube-videos .current_video {
  background: #404040;
  border-left: 3px #0084d1 solid;
}

.youtube-videos .blue_section {
  background: #0084d1;
  font-weight: bold;
  font-size: 16px;
  line-height: 19px;
  color: #fff;
}

figure.wp-block-embed-youtube {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

/* Single Post */




/***************  Business Directory Page  *************/
.wpbdp-listing-excerpt .stickytag {
  margin: 0;
}
.wpbdp-listing-excerpt .stickytag img {
  position: absolute;
  top: 0px;
  left: 0px;
  margin: 0 !important;
  z-index: 9;
}

.wpbdp-listing-single .stickytag {
  margin-top: -110px !important;
}

.wpbdp-listing .wpbdp-field-long_business_description .field-label {
  display: none !important;
}
.card.wpbdp-listing-excerpt.odd,
.wpbdp-listing-excerpt.sticky {
  background-color: #f2f9fd;
}
.card.wpbdp-listing-plan-featured_listing.odd,
.card.wpbdp-listing-plan-featured_listing,
.card.wpbdp-listing-plan-featured_listing.wpbdp-listing-excerpt.sticky {
  background: #f2f2f2;
  margin-top: 0;
}
.card .wpbdp-claim-listings a.claim-listing-link,
.card .wpbdp-claim-listings a.claim-listing-link:hover {
  float: left;
  text-align: left;
  padding: 10px;
  background: #114;
  color: white;
}
.card.wpbdp-listing-plan-featured_listing a.card-image {
  border-bottom: 2px solid #f3f3f3;
}
.claim-form-wrapper .wpbdp-msg {
  font-size: 85%;
  padding: 6px 12px;
  color: #555;
  margin: 37px 0 5px;
  background: transparent;
  border-radius: 3px;
  float: left;
}

ul.listing-provider {
  padding: 0;
}

ul.listing-provider li {
  margin-bottom: 10px;
}
.listing-provider img {
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/******** Classified Pagination ***********/
.page-id-5 .col-lg-9 {
  display: flex;
  flex-direction: column;
}

.page-id-5 .col-lg-9 h1,
.page-id-5 .col-lg-9 .adverts-options {
  order: -1;
}

.adverts-pagination {
  text-align: center !important;
}
.adverts-pagination a,
.adverts-pagination span {
  background-color: #3273dc;
  color: white;
  border-radius: 4px;
  border: 0 !important;
  box-shadow: none;
  font-size: 1.25rem !important;
  padding-bottom: calc(0.5em - 1px) !important;
  padding-left: 1em !important;
  padding-right: 1em !important;
  padding-top: calc(0.5em - 1px) !important;
  cursor: pointer;
}
.adverts-pagination span {
  opacity: 0.5;
}
.adverts-pagination span.dots {
  background: transparent;
  color: #000;
  padding: 2px 5px !important;
}
.adverts-pagination a:hover {
  background-color: #276cda;
}

/* Ads */

#div-gpt-ad-1600962426075-0 {
  text-align: center;
}
/** Social Share Img ***/
#share-buttons {
  float: right;
  margin-top: 20px;
}

#share-buttons img {
  width: 35px;
  padding: 2px;
  border: 0;
  box-shadow: 0;
  display: inline;
}

/*** ****/

input#wpbdp-bar-show-directory-button {
  display: none;
}

header.tribe-events-header .tribe-events-bussinessdirectory-details {
  background: #007cba;
  padding: 5px 15px;
  color: #fff;
  border-radius: 5px;
  margin: 0px 10px 5px;
  font-size: 18px;
}
.single-wpbdp_listing #my-listing-google-map .wpbdp-map-directions-config {
  padding: 20px;
}
.single-wpbdp_listing #my-listing-google-map .wpbdp-map-directions-config h4 {
  font-size: 19px;
  padding-bottom: 20px;
}
.single-wpbdp_listing #my-listing-google-map .wpbdp-map-directions-config input,
.single-wpbdp_listing
  #my-listing-google-map
  .wpbdp-map-directions-config
  select {
  margin: 0px;
  width: 100%;
}
.directions-from input[type="radio"] {
  width: 20px !important;
}
.directions-from input {
  padding: 5px;
}
.single-wpbdp_listing #my-listing-google-map .wpbdp-map-directions-config input,
.single-wpbdp_listing
  #my-listing-google-map
  .wpbdp-map-directions-config
  select {
  padding: 5px;
}
.single-wpbdp_listing
  #my-listing-google-map
  .wpbdp-map-directions-config
  input.submit {
  margin: 20px 0px;
}
ul.social-fields.cf {
  padding: 0;
}
ul.social-fields.cf li a {
  text-decoration: none;
  border: 0;
}
ul.social-fields.cf li {
  list-style: none;
  float: left;
  width: 30px;
  margin-right: 10px;
}
.ytp-large-play-button img {
  position: absolute;
  left: 50%;
  top: 25%;
  width: 68px;
  height: 48px;
  margin-left: -34px;
  margin-top: -24px;
  -moz-transition: opacity 0.25s cubic-bezier(0, 0, 0.2, 1);
  -webkit-transition: opacity 0.25s cubic-bezier(0, 0, 0.2, 1);
  transition: opacity 0.25s cubic-bezier(0, 0, 0.2, 1);
  z-index: 63;
}

.home-youtube-videos {
  position: relative;
}

/*BREAKING NEWS*/

.home .lSSlideOuter {
  background-color: #f2f9fd;
  padding: 10px 10px 10px 30px;
  margin-left: -50px;
  border-radius: 0px 20px 20px 0px;
}
#breakingSliders {
  background-color: #f2f9fd;
  padding: 10px 10px 10px 30px;
  margin-left: -50px;
  border-radius: 0 20px 20px 0;
  width: 108%;
}
@media (max-width: 992px) {
  .home .lSSlideOuter,
  #breakingSliders {
    background-color: #f2f9fd;
    padding: 10px 10px 10px 30px;
    margin-left: 0px;
    border-radius: 20px;
  }
}

div#breakingSlider a,
#breakingSliders a {
  color: #333;
}

.lSSlideOuter:hover div#breakingSlider a,
#breakingSliders:hover a {
  color: #000;
  font-weight: 600;
}

/* MOVIES - LIST */
.showtimes span.d-flex.align-content-center {
  display: inline-table !important;
  margin: 0px 10px;
  font-weight: 600;
}

a.remove-filter {
  padding: 4px 6px 0px 6px !important;
  background-color: #be0101 !important;
  cursor: pointer;
}

/* WIDGET EVENT */

@media (max-width: 992px) {
  div#sidebar {
    order: 2;
  }
}
.featured-events a {
  background-color: beige;
  width: 100% !important;
  display: block;
  margin: 2px 0px;
  padding: 10px;
  color: #333;
}
.featured-events a:hover {
  background-color: rgb(250, 250, 216) !important;
}

/* YOU MAY ALSO LIKE*/
span.trc_rbox_header_span {
  font-size: xx-large;
  font-family: "Roboto", sans-serif;
}
.alternating-thumbnails-a .video-title {
  font-size: 20px !important;
  line-height: 1.2;
  max-height: 98px;
  *height: 88px;
  color: #000000;
  text-decoration: none !important;
  font-family: "Roboto", sans-serif !important;
  font-weight: 500 !important;
}

.alternating-thumbnails-a .videoCube .thumbBlock {
  border-width: 10px !important;
  border-color: #b1ccdc !important;
  margin-bottom: 20px !important;
}

.alternating-thumbnails-a .trc_rbox_header {
  margin-bottom: 20px !important;
  border-bottom: 3px solid #f1f1f1 !important;
}

span.thumbBlock {
  border-width: 10px !important;
  border-color: #b1ccdc !important;
  margin-bottom: 20px !important;
  margin-top: 20px !important;
}

span.video-label.video-title.trc_ellipsis {
  text-decoration: none !important;
  font-family: "Roboto", sans-serif !important;
  font-weight: 500 !important;
  font-size: 20px !important;
}

.alternating-thumbnails-a .videoCube .video-label-box {
  margin-top: -10px !important;
}

/* MORE INFO */
a.btn_more-info {
  background-color: #005a87;
  padding: 8px 15px;
  color: #fff !important;
  font-size: 11px;
  letter-spacing: 1px;
}

a.btn_more-info:hover {
  background-color: #0084d1;
}
.author_social_links img {
  max-width: 40px;
  margin-right: 10px;
  margin-bottom: 20px;
}

.author-box {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  background-color: aliceblue;
  padding: 20px;
}

@media (max-width: 980px) {
  .author-box {
    display: block;
    margin-bottom: 30px;
  }
  .author-box-avatar {
    text-align: center;
  }
}

.author-box-avatar {
  min-width: 150px;
}

.author-box-avatar img {
  width: 100%;
}

/* POST IMG CAPTION */
.featured_caption {
  font-size: 12px;
  color: #777;
  line-height: 1.4;
}

/* COLUMNIST */
.page-template-page-authors .card-content h2 a {
  font-size: 20px;
  font-weight: 500;
}

.page-template-page-authors .card-content h2 {
  margin: 0px;
  padding: 0px;
}

.columnist_a img {
  width: 100% !important;
  height: 250px;
}

/* Advertise Widget Button */
li#menu-item-249408 a {
  line-height: 0 !important;
  color: #f54141;
}

/* BUSINESS DIRECTORY BACKEND */

.select2-container {
  background-color: #fff !important;
}

#wpbdp-submit-listing.wpbdp-submit-page
  .wpbdp-submit-listing-form-actions
  button {
  background-color: #0084d1;
  color: #fff;
  padding: 10px 30px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
}

#wpbdp-submit-listing.wpbdp-submit-page
  .wpbdp-submit-listing-form-actions
  button:hover {
  background-color: #006ead;
}

.wpbdp-form-field input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  height: 35px;
  padding: 10px;
}

#wpbdp-submit-listing .wpbdp-form-field {
  margin: 0px;
}

#wpbdp-submit-listing .wpbdp-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  height: 100px;
  padding: 10px;
}

.wpbdp-main-box .submit-btn input[type="submit"] {
  margin-top: 0;
  background-color: #005a87;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
}

.wpbdp-main-box .submit-btn input[type="submit"]:hover {
  background-color: #006ead;
}

.wpbdp-main-links-large .button {
  margin: 0 3px;
  background-color: #0084d1;
  color: #fff;
  padding: 8px 30px;
  cursor: pointer;
}

input#wp-submit {
  margin: 0 3px;
  background-color: #0084d1;
  color: #fff;
  padding: 8px 30px;
  cursor: pointer;
  text-transform: uppercase;
}

input#wp-submit:hover {
  background-color: #006ead;
}

input#user_pass,
input#user_login {
  width: 50% !important;
  box-sizing: border-box;
  height: 35px;
  padding: 10px;
}

.wpbdp-main-links-large .button:hover {
  background-color: #006ead;
}

/* GOVERNMENT */

.government_tb {
  display: flex;
}
.government_col1 {
  width: 42%;
}

.government_col2 {
  width: 58%;
}

@media (max-width: 980px) {
  .government_tb {
    display: block;
  }
  .government_col1 {
    width: 100%;
  }

  .government_col2 {
    width: 100%;
    margin-top: -14px;
  }
}

/* GFORM */

.ginput_container input {
  padding: 10px !important;
}

/* CONTAINER 992 */
@media (max-width: 991px) {
  .container {
    /*max-width: 860px !important;*/
  }
}

@media (max-width: 480px) {
  .search-sidebar label {
    flex-basis: auto !important;
  }
  .search-sidebar .control {
    flex: 4 1 0;
  }
}
p.zz_code a:hover {
  color: #fff;
}
.grecaptcha-badge {
  opacity: 0;
}
@media screen and (min-width: 420px) {
  #taboola-below-article .videoCube.taboola-two-block {
    width: 48%;
  }
}

#taboola-below-article-thumbnails .tbl-feed-card > div > div {
  text-align: center;
}

/* CSS for  popup */
.ctct-popup-form .ctct-popup-is-visible .ctct-popup-inner {
  z-index: 9999999999 !important;
}
