html,
body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/*Haeder Top*/
.navbar-inverse {
  background-color: #921a1f;
  margin-bottom: 0px;
  min-height: 20px;
  height: 35px;
  border-radius: 0px;
  border: none;
  display: inline-block;
  width: 100%;
}

.social a {
  float: left;
  color: white !important;
}

.contact a {
  color: white !important;
  float: left;
}

.phone a {
  color: white !important;
  float: left;
}

.navbar-right>li>a {
  padding-top: 10px;
}

@media screen and (max-width: 768px) {
  .nav>li>a {
    padding-top: 3px;
  }
}

@media screen and (max-width: 500px) {
  .social a {
    padding: 5px !important;
  }

  .contact a {
    padding: 5px !important;
    margin-left: 12px !important;
  }

  .phone a {
    padding: 5px !important;
  }


}

/*Header*/
.nav li {
  list-style: none;
}

.nav>li>a:focus,
.nav>li>a:hover {
  text-decoration: none;
  background-color: #ffffff;
}

.navbar-default {
  /* display: flex;
  justify-content: center;
  align-items: center; */
  background-color: #ffffff;
  position: relative;
  min-height: 60px !important;
  margin-bottom: 0px;
  border: none;
}

.navbar-default .navbar-nav>.open>a {
  background-color: white !important;
}

.navbar-brand {
  float: none;
}

.navbar-toggle {
  margin-top: 50px;
}

#main-nav {
  margin: 30px 25px;
}

#main-nav li a {
  color: #921a1f;
  padding: 10px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}


.flash-button {
  background-color: red;
  -webkit-border-radius: 60px;
  border-radius: 5px;
  border: none;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-family: sans-serif;
  font-size: 14px;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
}

@keyframes glowing {
  0% {
    background-color: red;
    box-shadow: 0 0 5px red;
    color: white;

  }

  50% {
    background-color: red;
    box-shadow: 0 0 20px red;
    color: white;

  }

  100% {
    background-color: red;
    box-shadow: 0 0 5px red;
    color: white;

  }
}

.flash-button {
  animation: glowing 1000ms infinite;
}


/*#LiNavbar .dropdown
{
  position: relative;
}
#LiNavbar .dropdown-menu 
{
  display: none;
  position: absolute;
}
#LiNavbar .dropdown:hover .dropdown-menu 
{
  display: block;

}

#sub-dropdown-menu .dropdown-menu
{
  display: none;
  position: absolute;
}
#sub-dropdown:hover #sub-dropdown-menu
{
  display: block;
}*/

.drop-menu ul lu {
  display: inline-block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.22857143;
  position: relative;
  white-space: normal;
}

.navbar-collapse.in {
  overflow-y: inherit;
}

/*Welcome Note*/
h5 {
  color: #921a1f;
  font: 500 16px/1.2em commercial black;
}

/*Property slider*/
.PC {
  position: absolute;
  top: -40px;
  bottom: 382px;
  left: 970px;
  width: 10%;
  font-size: 20px;
  color: #921a1f;
  text-align: center;
  filter: alpha(opacity=20);
  opacity: 2.5;
  background-image: none !important;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  .PC {
    position: absolute !important;
    top: -40px !important;
    bottom: 382px !important;
    left: 785px;
    width: 10% !important;
    font-size: 20px !important;
    color: #921a1f !important;
    text-align: center !important;
    filter: alpha(opacity=20) !important;
    opacity: 2.5 !important;
    background-image: none !important;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .PC {
    position: absolute !important;
    top: -40px !important;
    bottom: 382px !important;
    left: 590px;
    width: 10% !important;
    font-size: 20px !important;
    color: #921a1f !important;
    text-align: center !important;
    filter: alpha(opacity=20) !important;
    opacity: 2.5 !important;
    background-image: none !important;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .PC {
    position: absolute !important;
    top: -40px !important;
    bottom: 382px !important;
    left: 0px;
    width: 45% !important;
    font-size: 20px !important;
    color: #921a1f !important;
    text-align: center !important;
    filter: alpha(opacity=20) !important;
    opacity: 2.5 !important;
    background-image: none !important;
  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  .PC {
    position: absolute !important;
    top: -40px !important;
    bottom: 382px !important;
    left: 128px;
    width: 46% !important;
    font-size: 10px !important;
    color: #921a1f !important;
    text-align: center !important;
    filter: alpha(opacity=20) !important;
    opacity: 2.5 !important;
    background-image: none !important;
  }
}

.carousel-control:focus,
.carousel-control:hover {
  color: #921a1f;
}

#img {
  width: 100%;
}

.BCP {
  padding-left: 1px !important;
  padding-right: 0px !important;
}

.bottom-left {
  position: absolute;
  bottom: 40px;
  left: 30px;
  color: white;
}

.carousel-indicators li {
  position: relative;
  top: 40px;
  background-color: #959595
}

.carousel-indicators .active {
  position: relative;
  top: 40px;
  background-color: #959595
}

.fa-camera {
  position: relative;
  left: 500px;
  bottom: 30px;
  color: black;
}

/*Ameneties*/
#Am h5 {
  color: #921a1f;
  text-align: center;
  padding-bottom: 40px;
}

.image {
  width: 370px;
  height: 260px;
  padding-bottom: 30px;
}

.vc_btn3 a {
  background-color: #165359;
  color: white;
  padding: 3%;
}

.overlay {
  position: absolute;
  bottom: 10%;
  left: 0px;
  right: 0;
  background-color: #5aa9b1;
  overflow: hidden;
  width: 93%;
  height: 0;
  transition: .5s ease;
}

.over {
  padding-left: 0px;
}

.over:hover .overlay {
  height: 90%;
  width: 371px;
}

/*.vc-custom{
  color: #ffffff;
  text-align: center;
  font-style: bold;
}*/
.text h2 {
  color: #ffffff;
  text-align: center;
  font-family: Montserrat;
  font-weight: bold;
  font-style: normal;
  font-size: 24px;
}

.color {
  color: black;
  margin: 0 0 50px 0;
}

.text {
  color: white;
  font-size: 14px;
  position: absolute;
  padding: 20px;
  text-align: center;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  .image {
    width: 305px;
    height: 260px;
    padding-bottom: 30px;
  }

  .over:hover .overlay {
    height: 90;
    width: 307px;
  }

  .text {
    color: white;
    font-size: 14px;
    position: absolute;
    padding: 5px;
    text-align: center;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .image {
    width: 350px;
    height: 260px;
    padding-bottom: 30px;
  }

  .over:hover .overlay {
    height: 90;
    width: 350px;
  }

  .text {
    color: white;
    font-size: 14px;
    position: absolute;
    padding: 15px;
    text-align: center;
  }
}

@media screen and (max-width: 767px) and (min-width: 601px) {
  .image {
    width: 100%;

    padding-bottom: 30px;
  }

  .over:hover .overlay {
    height: 90;
    width: 98%;
  }

  .text {
    color: white;
    font-size: 15px;
    position: absolute;
    padding: 20px;
    text-align: center;
  }

  .swimtext {
    margin-left: 200px !important;
  }

  .gymtext {
    margin-left: 200px !important;
  }

  .squashtext {
    margin-left: 200px !important;
  }
}

@media screen and (max-width: 600px) and (min-width: 500px) {
  .image {
    width: 100%;
    padding-bottom: 30px;
  }

  .over:hover .overlay {
    height: 90;
    width: 98%;
  }

  .text {
    color: white;
    font-size: 15px;
    position: absolute;
    padding: 20px;
    text-align: center;
  }

  .swimtext {
    margin-left: 100px !important;
  }

  .gymtext {
    margin-left: 100px !important;
  }

  .squashtext {
    margin-left: 100px !important;
  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  .image {
    width: 100%;
    padding-bottom: 30px;
    margin: 0px !important;
  }

  .over:hover .overlay {
    height: 90;
    width: 98%;
  }

  .text {
    color: white;
    font-size: 14px;
    position: absolute;
    padding: 20px;
    text-align: center;
  }

  .swimtext {
    margin-left: 35px !important;
  }

  .gymtext {
    margin-left: 50px !important;
    padding: 30px;
  }

  .squashtext {
    margin-left: 50px !important;
  }
}

/*About-US AND CEO*/
.aboutus-and-ceo {
  margin-top: 50px;
}

.aboutus-and-ceo img {
  width: 100%;
}

/*About US Other Businesses section*/
#BS h5 {
  color: #921a1f;
  text-align: center;
  padding-bottom: 40px;
  font: 500 30px/1.2em commercial black;
}

.Aboutimage {
  width: 100%;
  height: 100%;
  padding-bottom: 30px;
}

.vcbtn3 a {
  background-color: #165359;
  color: white;
  padding: 2%;
}

.Aboutoverlay {
  position: absolute;
  bottom: 10%;
  left: 0px;
  right: 0;
  background-color: #5aa9b1;
  overflow: hidden;
  width: 93%;
  height: 0;
  transition: .5s ease;
}

.over:hover .Aboutoverlay {
  height: 90%;
}

.Abouttext {
  color: black;
  font-size: 14px;
  text-align: center;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  .Abouttext {
    color: white;
    font-size: 14px;
    text-align: center;
  }

  .Abouttext h2 {
    color: white;
    font-size: 19px;
    text-align: center;
    font-weight: bold;
  }

  .over:hover .Aboutoverlay {
    height: 90%;
    width: 97%;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .smMar {
    margin-left: 100px;
  }

  .Abouttext {
    color: white;
    font-size: 12px;
    text-align: center;
  }

  .Abouttext h2 {
    color: white;
    font-size: 19px;
    text-align: center;
    font-weight: bold;
  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  .smMar {
    margin-left: 70px;
  }

  .Abouttext {
    color: white;
    font-size: 10px;
    text-align: center;
  }

  .Abouttext h2 {
    color: white;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
  }

  .CSRtext {
    color: white;
    font-size: 12px !important;
    position: relative;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }
}

/*About_US CSR*/
#CSR h5 {
  color: #921a1f;
  text-align: center;
  padding-bottom: 40px;
  font-size: 30px;
}

#CSRimg {
  width: 100%;
}

.vcbtn3 a {
  background-color: #165359;
  color: white;
  padding: 2%;
}

.oo {
  position: absolute;
  bottom: 0%;
  left: 0px;
  right: 0;
  background-color: #5aa9b1;
  overflow: hidden;
  width: 75%;
  height: 0;
  transition: .5s ease;
}

.csr:hover .overlay {
  height: 100%;
}

.CSRtext {
  color: white;
  font-size: 14px;
  position: relative;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

/*Features Section*/
.block-content h3 {
  text-align: center;
}

.block-content p {
  text-align: center;
  color: #165359;
}

.block-icon img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-block .block-icon {
  font-size: 60px;
  min-width: 120px;
  padding: 80px 0 70px;
}

#features h5 {
  color: #921a1f;
  text-align: center;
  padding-bottom: 40px;
}

.service-block:hover {
  -ms-transform: scale(1.1);
  /* IE 9 */
  -webkit-transform: scale(1.1);
  /* Safari 3-8 */
  transform: scale(1.1);
  background-color: white;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.15);
}

/*Layout Section*/
#la-img {
  width: 100%;
  height: 100%;
}

.layout-section2 h1 {
  font-size: 20px;
  color: #165359;
  text-align: center;
  font-family: Montserrat;
  font-weight: 400;
  font-style: normal
}

.layout-section2 h2 {
  font-size: 20px;
  color: #000000;
  text-align: justify;
  font-family: Kreon;
  font-weight: 300;
  font-style: normal
}

#layout h5 {
  color: #921a1f;
  text-align: center;
  padding-bottom: 40px;
}

.embed iframe {
  width: 500px;
  height: 275px;
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  #la-img {
    width: 100%;
    height: 300px;
  }

  .embed iframe {
    width: 700px;
    height: 275px;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  #la-img {
    width: 100%;
    height: 300px;
  }

  .embed iframe {
    width: 100%;
    height: 200px;
  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  #la-img {
    width: 100%;
    height: 300px;
  }

  .embed iframe {
    width: 100%;
    height: 150px;
  }
}

/*Up Button*/
.scrolltop-btn {
  display: inline-block;
  color: #fff;
  background-color: #921a1f;
  border-color: #921a1f;
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 24px !important;
  z-index: 999;
  transition: none;
  border-radius: 4px;
}

/*map*/
.map-container {
  overflow: hidden;
  padding-bottom: 31.25%;
  position: relative;
  margin-top: 50px;
}

.map-container iframe {
  position: absolute;
  left: 85px;
  top: 0;
  height: 85%;
  width: 85%;
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .map-container {
    overflow: hidden;
    padding-bottom: 61.25%;
    position: relative;
    margin-top: 50px;
  }

  .map-container iframe {
    position: absolute;
    left: 65px;
    top: 0;
    height: 85%;
    width: 75%;
  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  .map-container {
    overflow: hidden;
    padding-bottom: 61.25%;
    position: relative;
    margin-top: 50px;
  }

  .map-container iframe {
    position: absolute;
    left: 45px;
    top: 0;
    height: 85%;
    width: 75%;
  }
}

/*Dealers Section*/
#agents h5 {
  color: #921a1f;
  text-align: center;
  padding: 40px;
}

.block-content a {
  margin-left: 39%;
  color: #921a1f;
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .block-content a {
    margin-left: 42%;
  }
}

.service-block p {
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  margin: 0 0 10px 0;
}

.block-content h3 {
  text-align: center;
}

.block-content p {
  text-align: center;
}

.block-icon img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-block:hover {
  -ms-transform: scale(1.1);
  /* IE 9 */
  -webkit-transform: scale(1.1);
  /* Safari 3-8 */
  transform: scale(1.1);
  background-color: white;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.15);
}

/*Footer bottom*/
.navbar-bottom {
  background-color: #921a1f;
  border-top: 1px solid #00243f;
  font-size: 14px;
  color: white;
  padding: 20px;
  border-radius: 0px;
  margin-bottom: 0px;
}

#footer-menu a:focus,
#footer-menu a:hover {
  text-decoration: none;
}

#footer-menu a {
  float: left;
  color: white;
  padding-right: 30px;
}

#footer-menu {
  list-style: none;
}

.footer-col p {
  padding-top: 10px;
  margin: 0px;
  text-align: center;
}

@media screen and (max-width: 560px) and (min-width: 300px) {
  #footer-menu a {
    padding-right: 50px;
  }
}

/*Footer Top*/
.footer-t {
  background-color: #165359;
  color: white;
  padding: 80px;
  margin-top: 100px;
}

#form-control {
  padding: 9px;
  border-radius: 4px;
  border: none;
  color: black;
  width: 70% !important;
}

.textwidget a {
  color: white;
}

.textwidget a:focus,
.textwidget a:hover {
  text-decoration: none;
}

.social li {
  float: left;
  color: white;
  list-style: none;
  padding-left: 10px;
}

#btn {
  padding: 10px 30px 10px 30px;
  background-color: #921a1f;
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  #btn {
    padding: 5px 20px 5px 20px;
    background-color: #921a1f;
  }

  #form-control {
    padding: 6px;
    border-radius: 4px;
    border: none;
    color: black;
    width: 100% !important;
  }

  .social li {
    float: left;
    color: white;
    list-style: none;
    padding-left: 2px !important;
  }
}

/*Social Media buttons on side*/
#icon_wrapper {
  position: fixed;
  top: 25%;
  left: 0px;
  z-index: 99999;
}

.fuse_social_icons_links {
  outline: 0 !important;
}

.fb-awesome-social {
  background: #3b5998;
}

.tw-awesome-social {
  background: #00aced;
}

.linkedin-awesome-social {
  background: #007bb6;
}

.youtube-awesome-social {
  background: #bb0000;
}

.instagram-awesome-social {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.envelope-awesome-social {
  background: #ccc;
}

.awesome-social {
  margin-top: 2px;
  color: white !important;
  text-align: center !important;
  line-height: 34px !important;
  width: 32px !important;
  height: 32px !important;
  font-size: 1.5em !important;
  text-shadow: 2px 2px 4px #000000;
  transition: width 0.7s, height 0.7s, transform 0.7s;
}

/*Contact-US Form*/
.form-control {
  height: 50px;
}

.module-Item {
  width: 105%;

}

.head-of-marketing {
  height: 414px;
  width: 290px;
}

/*responsive head of marketing pic*/
@media screen and (max-width: 500px) {
  .module-Item {
    width: 80%;
  }


  .service-block .block-icon {
    font-size: 60px;
    min-width: 282px;
    padding: 10px 0 10px;
  }

  #agents h5 {
    color: #921a1f;
    font: 487 20px/1.2em commercial black;
  }

  .module-item,
  .col-sm-3 {
    padding-left: 23px;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 23px;

  }
}

/*Brochure*/
.btn-danger {
  color: #fff;
  background-color: #921a1f;
  border-color: #d43f3a;
  padding: 10px;
  padding-right: 85px;
  padding-left: 85px;
  margin-top: 10px;
  margin-left: 10px;
}

.pic {
  width: 100%;
}

.picture {
  background-color: #f0eeee;
  padding: 30px 15px 30px 15px;
}

.picture a {
  margin-left: 35%;
  color: black;
}

.pic,
h3,
a:hover {
  text-decoration: none;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  .btn-danger {
    color: #fff;
    background-color: #921a1f;
    border-color: #d43f3a;
    padding: 10px;
    padding-right: 65px;
    padding-left: 65px;
    margin-top: 10px;
    margin-left: 10px;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .btn-danger {
    color: #fff;
    background-color: #921a1f;
    border-color: #d43f3a;
    padding: 10px;
    padding-right: 45px;
    padding-left: 45px;
    margin-top: 10px;
    margin-left: 90px;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .btn-danger {
    color: #fff;
    background-color: #921a1f;
    border-color: #d43f3a;
    padding: 4px;
    padding-right: 25%;
    padding-left: 25%;
    margin-top: 10px;
    margin-left: 65px;
  }

  .pic {
    width: 70%;
    margin-left: 70px;
  }

  .picture {
    background-color: #f0eeee;
    padding: 30px 80px 30px 80px;
  }

  .picture a {
    margin-left: 43%;
    color: black;
  }
}

/*Commercial*/
.MC4 h4 {
  font-size: 50px;
  color: #921a1f;
  text-align: center;
}

.ic4 {
  background-color: #f0eeee;
  margin-top: 20px;
  border: 1px solid #ada9a5;
  padding: 40px 10px 40px 10px;
}

.bc4 {
  background-color: #f0eeee;
  height: 100px;
  margin-top: 0px;
  border: 1px solid #ada9a5;
}

.back-button {
  margin-top: 40px;
  margin-left: 5px;
}

.back-button a {
  padding: 15px 200px 15px 200px;
  background-color: #921a1f;
  color: #ffffff;
  border-radius: 4px;
}

.contact-button {
  margin-top: 40px;
  margin-left: 5px;
}

.contact-button a {
  padding: 15px 200px 15px 200px;
  background-color: #921a1f;
  color: #ffffff;
  border-radius: 4px;
}

#b4 {
  padding: 15px 25px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  width: 50%;
  float: left;
}

.bb4 {
  background-color: #f0eeee;
  border: 1px solid #ada9a5;
  padding: 20px;
}

.ic4 img {
  width: 100%;
  margin-bottom: 5px;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  .back-button a {
    padding: 15px 100px 15px 100px;
  }

  .contact-button a {
    padding: 15px 100px 15px 100px;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .back-button a {
    padding: 15px 75px 15px 75px;
  }

  .contact-button a {
    padding: 15px 75px 15px 75px;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .back-button a {
    padding: 15px 30px 15px 30px;
  }

  .contact-button a {
    padding: 15px 30px 15px 30px;
  }
}

/*TVC*/

/*Events Section*/
#E1 {
  text-align: center;
  color: #921a1f;
  padding: 20px;
}

.EIC {
  border: 5px solid #d4af37;
  padding: 30px 0px 80px 0px;
}

#EventRC {
  right: 0px !important;
}

.EventSh h1 {
  color: #921a1f;
  text-align: center;
  font-size: 25px;
}

.EventSh h4 {
  color: #921a1f;
  text-align: center;
}

.EventLis {
  color: #0099FF;
  text-align: left;
  font-size: 16px;
}

.E5CCL {
  position: absolute;
  left: 15px;
}

.E5CCR {
  position: absolute;
  right: 16px !important;
}

@media screen and (max-width: 991px) and (min-width: 768px) {}

/*Dealers*/
#Dagents h5 {
  background-color: #696969;
  color: white;
  text-align: center;
}

.DagentC {
  margin-top: 50px;
}

/*residential payment plan*/
.cardcontainer {
  background-color: #f0eeee;
  padding: 50px 30px 50px 30px;
}

.card-img-top {
  position: relative;
  top: 50px;
  left: 50px;
  width: 60%;
}

.cardcol {
  padding-right: 0px;
  padding-left: 0px;
}

.card {
  height: 350px;
  background-color: white;
  border: #f0eeee solid .1px;
}

.card-body {
  text-align: center;
  margin-top: 80px;
}

.card:hover {
  -ms-transform: scale(1.1);
  /* IE 9 */
  -webkit-transform: scale(1.1);
  /* Safari 3-8 */
  transform: scale(1.1);
  background-color: white;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 991px) and (min-width: 769px) {
  .card-img-top {
    position: relative;
    top: 50px;
    left: 110px;
    width: 40%;
  }
}

@media screen and (max-width: 768px) and (min-width: 600px) {
  .card-img-top {
    position: relative;
    top: 50px;
    left: 110px;
    width: 40%;
  }
}

@media screen and (max-width: 599px) and (min-width: 300px) {
  .card-img-top {
    position: relative;
    top: 50px;
    left: 40px;
    width: 60%;
  }

  .card {
    height: 300px;
  }
}

/*commercial-payment-plan*/
.MCPP p {
  font: 700 33px/1.2em Montserrat;
  color: #000000;
  text-align: center;
}

.CPT {
  border: 2px solid #165359;
  text-align: center;
  vertical-align: middle;
  border-collapse: collapse;
  width: 100%;
}

#TRH {
  font-weight: bold;
  border: 2px solid #fff;
  text-align: center;
  color: white;
  background-color: #921a1f;
  font-size: 18px;
}

#TCH {
  font-weight: bold;
  border: 2px solid #165359;
  text-align: center;
  color: #fff;
  background-color: #d1b56c;
  font-size: 18px;
}

#TB {
  border: 2px solid #165359;
  text-align: center;
  color: #264a5d;
  background-color: white;
  font-weight: bold;
  font-size: 17px;
}

.LCTP p {
  font: 700 25px/1.2em Montserrat;
  color: #921a1f;
  text-align: left;
}

.LCTP h5 {
  font-size: 20px;
  color: #921a1f;
}

.TCC {
  border: #921a1f solid .1px;
}

#TR23 {
  border: 2px solid #165359;
  text-align: center;
  color: #a6a6a6;
}

#TR1 {
  border: 2px solid #165359;
  text-align: center;
  color: #264a5d;
  height: 54px;
}

@media screen and (max-width: 580px) and (min-width: 300px) {

  #TRH {
    font-size: 16px;
  }

  #TCH {
    font-size: 12px;
  }

  #TB {
    font-size: 12px;
  }
}

/*By Laws section*/
.ByLawH3 {
  font-size: 30px;
  color: #921a1f;
  text-align: center;
}

.ByLawP1 {
  font-size: 30px;
  color: #165359;
  text-align: left;
}

.ByLawP2 {
  font-size: 20px;
  color: #000000;
  text-align: center;
}

#regulations li {
  text-align: justify;
  font-size: 16px;
  line-height: 24px;
}

.LC1 {
  margin-top: 50px;
  background-color: #e5e5e5;
  border: #e5e5e5 solid .1px;
}

.LC2 {
  border: #e5e5e5 solid .1px;
  padding: 50px 10px 50px 10px;
}

.LC3 {
  border: #e5e5e5 solid .1px;
  margin-top: 50px;
}

.LC3 h3 {
  font: 35px/1.2em Montserrat;
  color: #921a1f;
  text-align: left;
}

.LC3 p {
  text-align: center;
  font-size: 18px;
}

.LC3 table {
  border: 2px solid #165359;
  text-align: center;
  vertical-align: middle;
  border-collapse: collapse;
  width: 900px;
  height: 350px;
}

.LC3 tr {
  border: 2px solid #921a1f;
  text-align: center;
  color: #921a1f;
  ;
  height: 12px;
}

.LC3 th {
  font-weight: normal;
  border: 2px solid #921a1f;
  color: #fff;
  background-color: #921a1f;
  font-size: 19px;
  text-align: center;
}

.LC3 td {
  font-weight: normal;
  border: 2px solid #921a1f;
  text-align: center;
  color: #921a1f;
  background-color: #fff;
  font-size: 17px;
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .LC3 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 700px;
    height: 250px;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .LC3 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 450px;
    height: 200px;
  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  .LC3 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 350px;
    height: 200px;
  }
}

.LC4 {
  border: #e5e5e5 solid .1px;
  margin-top: 50px;
}

#lc4h3-1 {
  font: 35px/1.2em Montserrat;
  color: #921a1f;
  text-align: left;
}

#lc4h3-2 {
  font: 30px/1.2em Montserrat;
  color: #921a1f;
  text-align: center;
}

#lc4h3-3 {
  font: 30px/1.2em Montserrat;
  color: #921a1f;
  text-align: center;
}

#lc4h3-4 {
  font: 30px/1.2em Montserrat;
  color: #921a1f;
  text-align: center;
}

.LC4 tr {
  border: 2px solid #921a1f;
  text-align: center;
  color: #921a1f;
  height: 12px;
}

.LC4 th {
  font-weight: normal;
  border: 2px solid #921a1f;
  color: #fff;
  background-color: #921a1f;
  font-size: 19px;
  text-align: center;
}

.LC4 td {
  font-weight: normal;
  border: 2px solid #921a1f;
  color: #921a1f;
  background-color: #ffffff;
  font-size: 17px;
  text-align: center;
}

.LC4 p {
  text-align: center;
  font-size: 17px;
}

.LC4 table {
  border: 2px solid #165359;
  text-align: center;
  vertical-align: middle;
  border-collapse: collapse;
  width: 900px;
  height: 228px;
}

.LC4T2 {
  border: 2px solid #165359;
  text-align: center;
  vertical-align: middle;
  border-collapse: collapse;
  width: 901px;
  height: 124px;
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .LC4 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 700px;
    height: 228px;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .LC4 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 450px;
    height: 228px;
  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  .LC4 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 350px;
    height: 200px;
  }
}

.LC5 {
  border: #e5e5e5 solid .1px;
  margin-top: 50px;
}

.LC5 h3 {
  font: 35px/1.2em Montserrat;
  color: #921a1f;
  text-align: left;
}

.LC5 table {
  border: 2px solid #165359;
  text-align: center;
  vertical-align: middle;
  border-collapse: collapse;
  width: 906px;
  height: 215px;
}

.LC5 tr {
  border: 2px solid #921a1f;
  text-align: center;
  color: #921a1f;
  height: 12px;
}

.LC5 td {
  font-weight: normal;
  border: 2px solid #921a1f;
  text-align: center;
  color: #921a1f;
  background-color: #fff;
  font-size: 17px;
}

.LC5 th {
  font-weight: normal;
  border: 2px solid #921a1f;
  color: #fff;
  background-color: #921a1f;
  font-size: 19px;
  text-align: center;
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .LC5 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 706px;
    height: 215px;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .LC5 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 456px;
    height: 215px;
  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  .LC5 table {
    border: 2px solid #165359;
    text-align: center;
    vertical-align: middle;
    border-collapse: collapse;
    width: 350px;
    height: 200px;
  }
}

.LC6 {
  border: #e5e5e5 solid .1px;
  margin-top: 50px;
  font-size: 17px;
}

.LC6 h3 {
  font: 35px/1.2em Montserrat;
  color: #921a1f;
  text-align: left;
}

.DS {
  border: #e5e5e5 solid .1px;
  margin-top: 50px;
  color: #921a1f;
  text-align: center;
  font-size: 40px;
  padding: 20px 10px 20px 10px;
}

.DSS {
  border: #e5e5e5 solid .1px;
  padding: 40px 0px 40px 0px;
}

.DSCC {
  width: 0%;
  color: #0c0c0c;
}

/*Amenities Page*/
.AMPH h3 {
  font: 35px/1.2em Montserrat;
  text-align: center;
  color: #921a1f;
}

.AMPH p {
  font: 25px/1.2em Montserrat;
  text-align: center;
  color: #165359;
}

.amenities-btn {
  margin-left: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  background-color: #165359;
}

.amenities-btn a {
  color: #ffffff;
}

.amenities-btn:hover {
  background-color: #165359;
}

.AMC {
  border: 2px solid #d4af37;
  padding: 30px 0px 80px 0px;
}

.AMcardcontainer {
  margin-top: 50px;
  background-color: #f0eeee;
  padding: 50px 30px 50px 30px;
  margin-bottom: 50px;
}

.AMcard-img-top {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  width: 35%;
}

.AMcardcol {
  padding-right: 0px;
  padding-left: 0px;
}

.AMcard {
  height: 500px;
  background-color: white;
  border: #f0eeee solid .1px;
}

.AMcard-body {
  text-align: center;
  margin-top: 100px;
  font-size: 17px;
}

.AMcard:hover {
  -ms-transform: scale(1.1);
  /* IE 9 */
  -webkit-transform: scale(1.1);
  /* Safari 3-8 */
  transform: scale(1.1);
  background-color: white;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.15);
}

.AMcard-text {
  padding: 10px 50px 10px 50px;
}

@media screen and (max-width: 1200px) and (min-width: 990px) {
  .amenities-btn {
    margin-left: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin-bottom: 10px;
  }

  .AMcard {
    height: 600px;
    background-color: white;
    border: #f0eeee solid .1px;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .amenities-btn {
    margin-left: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin-bottom: 10px;
  }

  .AMcard-img-top {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 25%;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .amenities-btn {
    margin-left: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin-bottom: 10px;
  }

  .AMcard-img-top {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 20%;

  }
}

@media screen and (max-width: 499px) and (min-width: 300px) {
  .amenities-btn {
    margin-left: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin-bottom: 10px;
  }

  .AMcard-img-top {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    width: 25%;
  }
}

/*Mosque*/
#AMSB {
  font-size: 15px;
  line-height: 15px;
  text-transform: uppercase;
  color: white;
}

#GotoAmB {
  background-color: #333;
}

#AMSB:hover {
  text-decoration: none;
}

#AMh6 {
  text-align: center;
  font-size: 17px;
}

.descriptionbtn {
  width: 350px;
  padding: 10px;
  background-color: orange;

}

.featuresbtn {
  width: 350px;
  padding: 10px;
  background-color: orange;

}

#AMcolapsp {
  font-size: 17px
}

.ulcolapse {
  list-style: none;
}

.ulcolapse li {
  font-size: 15px;
}

.ulcolapse a {
  color: black;
}

.ulcolapse a:hover {
  color: rgba(157, 6, 5, 0.75);
  text-decoration: none;
}

#AMCamera {
  font-size: 30px;
}

.cameraicon {
  position: relative;
  left: 150px;
  top: 100px;
}

.ULCamera {
  list-style: none;
}

@media screen and (max-width: 768px) and (min-width: 561px) {
  #AMCamera {
    font-size: 40px;
  }

  .cameraicon {
    position: relative;
    left: 230px;
    top: 50px;
  }
}

@media screen and (max-width: 560px) and (min-width: 300px) {
  #AMCamera {
    font-size: 40px;
  }

  .cameraicon {
    position: relative;
    left: 110px;
    top: 50px;
  }
}

/*All Payment Plan Pages*/
.FiveMarlaPP p {
  font: 700 33px/1.2em Montserrat;
  color: #000000;
  text-align: center;
}

.FiveMarlaPPOH p {
  font: 700 20px/1.2em Montserrat;
  color: #165359;
  text-align: center;
}

.FMFTable {
  border: 1px solid black;
}

.FiveMarlaPPTable {
  border: 2px solid #165359;
  text-align: center;
  width: 90%;
  height: 100%;
}

#FiveMarlaTr1 {
  border: 2px solid #165359;
  text-align: center;
  color: #a6a6a6;
  height: 30px;
}

.FiveMarlaPPTable tr {
  border: 2px solid #165359;
  text-align: center;
  color: #a6a6a6;
  height: 12px;
}

.FiveMarlaPPTable th {
  font-weight: normal;
  border: 2px solid #165359;
  color: #ffffff;
  background-color: #165359;
  font-size: 20px;
  text-align: center;
}

.FiveMarlaPPTable td {
  font-weight: normal;
  border: 2px solid #165359;
  color: #165359;
  background-color: white;
  font-size: 20px;
  text-align: center;
}

.FiveMarlaPPTable2 {
  border: 2px solid #165359;
  text-align: center;
  width: 90%;
  height: 100%;
}

#FiveMarlaTr1 {
  border: 2px solid #165359;
  text-align: center;
  color: #a6a6a6;
  height: 30px;
}

.FiveMarlaPPTable2 tr {
  border: 2px solid #921a1f;
  text-align: center;
  color: #921a1f;
  height: 12px;
}

.FiveMarlaPPTable2 th {
  font-weight: normal;
  border: 2px solid #921a1f;
  color: #fff;
  background-color: #921a1f;
  font-size: 19px;
  text-align: center;
}

.FiveMarlaPPTable2 td {
  font-weight: normal;
  border: 2px solid #921a1f;
  text-align: center;
  color: #921a1f;
  background-color: #fff;
  font-size: 17px;
}

.FiveMarlaPPNotes p {
  font-family: "Times New Roman", "Times";
  font-size: 30px;
  font-weight: bold;
  color: #921a1f;
}

.FiveMarlaPPNotes h5 {
  font-family: "Times New Roman", "Times";
  font-size: 17px;
  color: #921a1f;
}

.FiveMarlaPPBtn {
  width: 100%;
  padding: 15px;
  background-color: #165359;
  margin-top: 5px;
  border-color: #165359;
}

.FiveMarlaPPBtn:hover {
  background-color: #165359;
}

.FiveMarlaPPBtn a {
  color: white;
}

.FiveMarlaPPBtn a:hover {
  text-decoration: none;
}

#img:hover {
  cursor: pointer;
}

.anim-img img {
  width: 100%;
}

.modal-dialog {
  margin: 100px auto !important;

}