.d-flex {
  display: block;
}
.justify-cc {
  justify-content: center;
}
@media (min-width: 767.98px) {
  .d-flex {
    display: flex;
    align-items: center;
  }
}
p {
  line-height: 25px;
  font-family: 'Quattrocento', serif !important;
  font-weight: 400;
}

.mb-3 {
  margin-bottom: 3px !important;
}
ul {
  list-style-type: none;
}
/*footer*/
#footer {
  padding: 30px 0 0px;
  background: url(../images/footer-bg.jpg) center center no-repeat;
  background-size: cover;
  color: #fff !important;
}
#footer .footer-navbar {
  padding: 30px 0 10px;
}
#footer .footer-navbar .d-flex {
  justify-content: center;
}
#footer .footer-logo {
  max-width: 220px;
}
#footer .footer-navbar li {
  padding: 5px;
  font-size: 1.8rem;
  cursor: pointer;
  position: relative;
  margin: 0;
}
#footer .lower-content {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#footer .lower-content ul {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
#footer .lower-content .variable-two li {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 10px;
}
#footer .lower-content .variable-three li {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding: 10px;
}
#footer .nav-item a {
  color: #fff;
  position: relative;
}
#footer .img-holder {
  width: 75px;
  margin: 0 auto;
  padding: 5px;
}
#footer p,
#footer p a {
  font-size: 1.2rem;
  color: #fff;
}
#footer .lower-content img {
  margin: 0 auto;
}
br {
  display: block;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
#footer .footer-navbar a {
  color: #fff !important;
  position: relative;
}

/*drop down menu*/
#footer ul.sub-menu {
  background-color: transparent !important;
  display: none;
}
#footer ul.sub-menu li {
  background-color: rgba(0, 70, 127, 0.8);
}
#footer .dropdown-toggle.active ul.sub-menu {
  display: block;
  min-width: 182px;
  padding: 0;
  max-width: 182px;
  top: 100%;
  left: 0;
  right: 100px;
  margin: 0 auto;
}
/*#footer .dropdown-menu.toggler { background-color:transparent;}*/
#footer ul.sub-menu li a {
  font-size: 1.6rem;
}
#footer ul.sub-menu li {
  padding: 0 !important;
}
#footer ul.sub-menu > li > a {
  color: #fff;
  font-size: 1.6rem;
}
#footer ul.sub-menu a:hover,
.sub-menu a:focus {
  text-decoration: underline !important;
  background-color: #23527c !important;
  color: #fff !important;
}

#footer .footer-aside {
  background: #051828;
  margin-top: 20px;
}
#footer .dropdown-toggle.arrow-down::after {
  display: block;
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #fff;
  left: 60px;
  position: absolute;
  top: 15px;
  bottom: 0;
  margin-left: 5px;
  right: 0;
  margin: 0 auto;
}

#footer a:active,
#footer a:hover {
  color: #fff !important;
}
#footer .content-para p a {
  text-decoration: underline;
  color: #fff !important;
}
#footer .content-para p {
  margin: 20px 0 0;
}
#footer .copyright-hol {
  text-align: left;
}
#footer .lower-content span,
#footer .footer-icons span {
  font-size: 1.2rem;
  margin-top: 1em;
  color: #cddce9;
  line-height: 20px;
  display: block;
}
#footer .footer-icons {
  display: none;
}
.p-0 {
  padding: 0;
}
#footer ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}
#footer ul.sub-menu li + li {
  margin: 0;
}
#footer ul.sub-menu > li > a {
  display: block;
  padding: 3px 20px;
  font-weight: 400;
  line-height: 1.42857143;
}
/*media*/

@media (min-width: 767.98px) {
  #footer {
    padding: 60px 0 0px;
  }
  #footer .footer-navbar {
    padding: 4px 0 10px;
  }
  #footer .footer-logo {
    max-width: 270px;
  }
  #footer .footer-navbar li {
    padding: 0;
    font-size: 15px;
  }
  #footer .footer-navbar li + li {
    margin-left: 30px;
  }
  #footer .text-sm-right {
    text-align: right;
    float: right;
  }
  #footer .lower-content.d-flex {
    flex-wrap: nowrap;
  }
  #footer .main-footer {
    padding: 0px 15px;
  }
  #footer br {
    display: none; /*missing #footer -added 20220823 */
  }
  #footer .lower-content {
    flex-direction: row;
  }
  #footer .lower-content.d-none {
    display: none !important;
  }
  #footer .footer-icons {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #footer .footer-icons li {
    max-width: 130px;
  }
  #footer .footer-icons li + li {
    margin-left: 20px;
  }
  #footer .nav-item.active .dropdown-menu {
    top: 100%;
    left: 0;
    right: 0;
  }
  #footer .footer-navbar li .dropdown-menu li {
    margin: 0;
  }
  #footer .dropdown-toggle.arrow-down::after {
    left: 50px;
    top: 10px;
  }
}

@media (min-width: 991.98px) {
  #footer .footer-navbar {
    padding: 11px 0 10px;
  }
  #footer .footer-navbar li {
    font-size: 1.9rem;
  }
  #footer .img-holder {
    width: 128px;
  }
  #footer .footer-navbar li + li {
    margin-left: 40px;
  }
  #footer .footer-icons li + li {
    margin-left: 40px;
  }
  #footer .footer-icons li {
    max-width: 165px;
  }
  #footer .dropdown-toggle.arrow-down::after {
    left: 60px;
  }
}
/*social media block*/

.social-block .social-media-item {
  position: relative;
  color: #f8e4c9 !important;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}
.social-block .social-media {
  position: relative;
  border-top: 4px #fff solid;
  border-bottom: 4px #fff solid;
  -webkit-box-shadow: 0 0 12px #000;
  box-shadow: 0 0 12px #000;
}
.social-block .item-facebook {
  background: url(../images/social-fb-bg.jpg) center center no-repeat;
  background-size: cover;
  color: #00467f;
}
.social-block .item-instagram {
  background: url(../images/insta.jpg) center center no-repeat;
  background-size: cover;
}
.social-block .item-twitter {
  background: url(../images/twitter.jpg) center center no-repeat;
  background-size: cover;
}
.icon {
  font-size: 6rem;
  position: relative;
  z-index: 2;
  padding-bottom: 18px;
}
.social-block .social-media-link {
  font-size: 3.5rem;
  padding: 10px;
  text-decoration: none;
  min-height: 278px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.social-block .social-media-label {
  position: relative;
}
.social-block .social-media-label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 60px;
  height: 3px;
  margin-top: 15px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: 0.2s background;
  transition: 0.2s background;
  background: #f8e4c9;
}
.social-block .item-facebook .social-media-label::after {
  background: #00467f;
}
.social-block .overlay-clr {
  -webkit-transition: 0.2s color;
  transition: 0.2s color;
  padding: 0;
}
.social-block .overlay-clr:hover::before,
.social-block .overlay-clr:active::before,
.social-block .overlay-clr:focus::before {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 0.2;
}
.item-instagram .social-media-label,
.item-instagram .icon,
.item-twitter .social-media-label,
.item-twitter .icon {
  color: #f8e4c9;
}
.social-block .item-facebook .social-media-label,
.social-block .item-facebook .social-media-label .icon {
  color: #00467f;
}
.social-block .fa-facebook {
  color: #00467f;
}
.social-media-item:hover .social-media-link span {
  color: #000 !important;
  text-decoration: none;
}
.social-media-item:hover .social-media-link .icon {
  color: #000 !important;
  text-decoration: none;
}
.social-block .mb-4 {
  margin-bottom: 4px;
}
.social-block .mt-4 {
  margin-top: 4px;
}
.social-block .col-xs-12,
.social-block .col-sm-4 {
  padding: 0;
}

@media (min-width: 767.98px) {
  .social-block .item-instagram {
    border-left: 4px #fff solid;
  }
  .social-block .item-twitter {
    border-left: 4px #fff solid;
  }
  .social-block .mb-4 {
    margin-bottom: 0px;
  }
  .social-block .mt-4 {
    margin-top: 0px;
  }
}

@media (min-width: 991.98px) {
  .social-block .social-media-link {
    min-height: 400px;
  }
}
