@media (min-width: 1366px) and (max-width: 1199px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1200px;
  }
}
@media (min-width: 1199px) and (max-width: 1920px) {
  #topNav .dropdown-menu {
    -webkit-animation: fadeInUp 400ms;
    animation: fadeInUp 400ms;
  }
}
/* md */
@media (min-width: 992px) and (max-width: 1199px) {
  .logo {
    max-width: 70px !important;
  }
  .navbar-nav .nav-link {
    font-size: 13px;
  }
  .display-5 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
  }
  .intro-content ul li {
    line-height: 50px;
    padding: 15px 30px;
  }
  #about .our-values {
    width: 100%;
    background-color: rgba(236, 229, 222, 1.00);
    position: relative !important;
    padding: 15px 15px;
    left: auto;
    bottom: auto;
    border-radius: 0px !important;
  }
  #about .h-800 {
    min-height: 100%;
    object-fit: cover;
  }
  #footer {
    font-size: 13px;
  }
}
/******************************************* sm ****************************************************/
@media (max-width: 991px) {
  h1, .h1 {
    font-size: 36px;
    line-height: 46px;
  }
  h2 {
    font-size: 34px;
    line-height: 44px;
  }
  .display-5 {
    font-size: 28px;
    line-height: 1.5;
  }
  .navbar {
    padding: 1rem;
    background: rgba(236, 229, 222, 1);
  }
  .navbar-nav li:not(:last-child):after {
    content: '';
    position: relative;
    display: block;
    padding-right: 8px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  }
  .navbar-nav li .special {
    content: '';
    position: relative;
    display: block;
    padding-right: 8px;
    border-top: solid 1px rgba(0, 0, 0, 0.1) !important;
  }
  .navbar-nav .nav-link {
    padding: 5px 0px !important;
    line-height: 30px !important;
  }
  .logo {
    max-width: 70px !important;
  }
  #intro {
    position: relative;
    background-color: #535d4f !important;
  }
  .intro-content ul li {
    line-height: 50px;
    padding: 15px 20px;
  }
  .services-block .border-box {
    border-left: solid 1px rgba(159, 159, 159, 0);
    border-right: solid 1px rgba(159, 159, 159, 0);
  }
	.bg-brown .border-box {
  border-left: solid 1px rgba(159, 159, 159, 0);
  border-right: solid 1px rgba(159, 159, 159, 0);
 min-height: 100px;
}
  .services-block .row .col-sm-12 {
    border-bottom: solid 1px #ede6df !important;
  }
  .box {
    background-color: #FFFFFF;
    padding: 20px 15px 15px 15px;
    margin: 15px auto;
    position: relative;
  }
  .page-banner {
    width: 100%;
    background-color: #ece5de;
    background-image: url("../images/header.jpg");
    background-repeat: no-repeat;
    background-position: left 112px !important;
  }
  .border-block .circle-block {
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    position: absolute;
    bottom: -50px;
    right: -250px;
    border: solid 1px rgba(255, 255, 255, 1.00);
    border-radius: 50%;
  }
	.about-bg .circle-block {
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    position: absolute;
    bottom: -50px;
    right: -250px;
    border: solid 1px rgba(255, 255, 255, 1.00);
    border-radius: 50%;
  }
	
  #content {
    position: relative;
    z-index: 9;
    padding-top: 150px;
    padding-bottom: 50px;
    background: #ece5de;
  }
  .content {
    position: relative;
    margin-top: -500px;
  }
  #about .our-values {
    width: 100%;
    background-color: rgba(236, 229, 222, 1.00);
    position: relative !important;
    left: auto;
    bottom: auto;
    border-radius: 0px !important;
  }
  #about .h-800 {
    min-height: 100%;
    object-fit: cover;
    max-height: 400px;
    width: 100%;
  }
}
/*
sliding navbar
@media (max-width: 992px) {
    .navbar-collapse {
        position: fixed;
        top: 120px;
        left: 0;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        width: 75%;
        height: 100%;
		background-color: #ece5de;

    }

    .navbar-collapse.collapsing {
        left: -75%;
        transition: height 0s ease;
    }

    .navbar-collapse.show {
        left: 0;
        transition: left 300ms ease-in-out;
    }

    .navbar-toggler.collapsed ~ .navbar-collapse {
        transition: left 500ms ease-in-out;
    }
}*/
/******************************************** xs *********************************************************/
@media (max-width: 768px) {
  section, footer {
    padding: 60px 0;
  }
  .logo {
    margin: 0;
    max-width: 70px !important;
  }
  .table td {
    font-size: 16px;
  }
  .hero-slider .owl-nav button.owl-prev, .hero-slider .owl-nav button.owl-next {
    position: absolute;
    width: 30px;
    height: 30px;
    top: calc(50% - 30px);
    font-size: 18px;
  }
  .hero-item h2 {
    font-size: 36px;
    line-height: 40px;
  }
  #intro {
    padding: 0px;
  }
  .intro-content ul li {
    font-size: 14px;
    font-weight: bold;
    line-height: 26px;
    padding: 10px 14px 10px 0px;
  }
  .intro-content ul li:not(:last-child) {
    background-image: url("../images/home/intr-sep.png");
    background-repeat: no-repeat;
    background-position: center right;
  }
  #about .h-800 {
    min-height: 100%;
    object-fit: cover;
    max-height: 300px;
    width: 100%;
  }

  .services-block .row .col-sm-12 {
    border-bottom: solid 1px #ede6df !important;
  }
  .box {
    background-color: #FFFFFF;
    padding: 20px 15px 15px 15px;
    margin: 15px auto;
    position: relative;
  }
  .services-block {
    z-index: 10;
    padding-bottom: 5px;
  }
  .border-block .circle-block {
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    position: absolute;
    bottom: -220px;
    right: -0px;
    border: solid 1px rgba(255, 255, 255, 1.00);
    border-radius: 50%;
  }
	#content-2 {
	 padding-top: 120px;
}
  .content2 {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding-top: 0;
}
	.about-bg .circle-block {
    width: 100%;
    max-width: 150px;
    max-height: 150px;
    position: absolute;
    bottom: -120px;
    right: -0px;
    border: solid 1px rgba(255, 255, 255, 1.00);
    border-radius: 50%;
  }
	
  .footer-rights {
    min-height: 5px;
    padding: 5px 0;
  }
  .footer-rights .text-right {
    text-align: left !important;
  }
}
/**************************************** XS Portrait **********************************/
@media (max-width: 480px) {
  #header {
    margin-bottom: 0px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 22px;
    font-weight: 400;
    line-height: 24px;
  }
  h4 {
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    margin-bottom: 22px;
  }
  h5 {
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    margin-bottom: 20px;
  }
  h6 {
    font-size: 15px;
    font-weight: normal;
    text-decoration: none;
    line-height: 24px;
    margin-bottom: 18px;
  }
  p {}
  .h2 {
    font-size: 22px;
    font-weight: 400;
    line-height: 24px;
  }
    
    .member-text-bg .display-4 {
        font-size: 26px;
}
  .logo {
    margin: 0;
    max-width: 70px;
  }
  .top-links a {
    color: #FFFFFF;
    margin-left: 5px;
    padding-right: 5px;
    font-size: 15px;
  }
  .navbar {
    padding: 15px;
  }
  #about .h-800 {
    min-height: 100%;
    object-fit: cover;
    max-height: 220px;
    width: 100%;
  }
  .services-bg {
    background-size: cover !important;
  }
  .services-block .row .col-sm-12 {
    border-bottom: solid 1px #ede6df !important;
  }
  .box {
    background-color: #FFFFFF;
    padding: 20px 15px 15px 15px;
    margin: 15px auto;
    position: relative;
  }
  /*********************** *********Inner Pages Style  ******************************/
  .page-header {
    padding: 0 !important;
    margin: 0;
  }
  .page-content {
    padding: 25px;
  }
  .page-banner {
    width: 100%;
    background-color: #ece5de;
    background-image: url("../images/header.jpg");
    background-repeat: no-repeat;
    background-position: left 110px !important;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 500px;
  }
	#content-2 {
	 padding-top: 120px;
}
  .content {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding-top: 0;
}
  #footer .list-inline {
    text-align: center !important;
  }
  #footer .social-media.text-right {
    text-align: center !important;
  }
  .footer-links .text-left, .footer-links .text-right {
    text-align: center !important;
  }
  .footer-links {
    min-height: 80px;
    padding: 50px 0 !important;
  }
  .footer-rights {
    min-height: 80px;
    padding: 5px 0 !important;
  }
}