* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7,
div,
p,
span,
a {
  font-family: "Montserrat", sans-serif;
}

button {
  background: #118dff;
  color: #fff;
  border-radius: 30px;
  padding: 15px 35px;
  border: none;
}

a:hover {
  text-decoration: none;
}

.title_div {
  padding: 20px 0;
  text-align: center;
}

.sub_title {
  color: #118dff;
  font-size: 25px;
  font-weight: 400;
  display: inline-block;
  width: 80%;
}

.main_title {
  font-size: 30px;
  font-weight: 600;
}

.title_line {
  width: 30px;
  height: 3px;
  display: inline-block;
  vertical-align: middle;
  background-color: #118dff;
  margin-right: 10px;
}

/* Navbar */
.top_nav {
  border-radius: 0;
  background-color: #10283c;
  height: 70px;
  vertical-align: middle;
  margin: 0;
  display: flex;
  align-items: center;
}

.top_nav a {
  color: #fff !important;
}

.navbar-brand {
  font-size: 30px;
}

.nav.nav-tabs.navbar-left {
  border-bottom: 1px solid #eee;
  width: 100%;
}

.nav.nav-tabs.navbar-left li {
  float: left;
}

.nav.nav-tabs.navbar-left li.active {
  border-bottom: 3px solid #118dff;
}

/* Search Criteria */
.search_criteria_div {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.search_criteria_div a {
  margin-right: 20px;
}

.search_criteria_div a.active {
  font-weight: bold;
  color: #118dff;
}

/* Letter Section */
#letter_section {
  background-image: url(https://dataroom.bestplace-immobilien.de/wp-content/uploads/2023/05/Letter-Section.png);
  padding: 50px 0;
}

.letter_row {
  display: flex;
}

.letter_box {
  background-color: #fefac8;
  padding: 20px;
}

.letter_ul {
  margin-left: 15px;
}

/* Search Profile */
#search_profile_section {
  margin: 50px 0;
}

.form_div .form-control {
  border-radius: 10px;
  height: 50px;
}

/*Project Section*/
#project_section {
 padding: 50px 0;
}

#project_name_tab_div {
  display: flex;
}

#project_name_tab_div button {
  margin-right: 10px;
  border-radius:0;
  background-color: transparent;
  color: #222;
}

#project_name_tab_div button.active {
  border-bottom: 3px solid #118dff;
  color: #222;
}

.slider_div {
  top: 45px;
  position: absolute;
  display: inline-block;
  background: #f7f7f7;
  padding: 20px;
  right: 23%;
  box-shadow: 0px 0px 10px #8c8c8c;
  border-radius: 10px;
}

/*Single Project CSS*/
.send_call_icon{
  display:  none;
}

.footer_mobile{
  display:  none;
}

.slider_div {
  top: 45px;
  position: absolute;
  display: inline-block;
  background: #f7f7f7;
  padding: 20px;
  right: 12%;
  box-shadow: 0px 0px 10px #8c8c8c;
  border-radius: 10px;
}

.lb-close{
  position: absolute;
  top: -40px;
}

.slider_div img {
  width: 100%;
}

.alert_messages {
  display: none;
}

.vertical-line {
  display: flex;
  align-items: center;
}

.qr_img {
  width: 90% !important;
}

#contact_section {
  background-color:#f4f4f4;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact_mail_btn{
  color:#fff;
  background-color:#118dff;
  border-radius: 20px;
  width:200px;
  height: 40px;
}

.nav_language {
  display: flex !important;
  padding-left: 50px;
}

#distance_section {
  background-color:#e8eaed;
  height:900px;
  padding-top: 150px;
  position: relative;
}

.glyphicon-chevron-left:before {
  position: absolute;
  top: 7px;
  right: 8px;
  font-size: 14px;
}

.glyphicon-chevron-right:before {
  position: absolute;
  top: 7px;
  right: 8px;
  font-size: 14px;
}

.detail-table td {
  border:none !important;
}

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

.download_expose_btn {
  color:#fff;
  background-color:#118dff;
  border-radius: 20px;
  width:20%;
  margin-top: 20px;
  padding: 10px 0;
}

.download_unit_expose_btn {
  color:#fff;
  background-color:#118dff;
  border-radius: 20px;
  width:100%;
  margin-top: 10px;
}

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

.gallery_images {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.download_sec_div {
  display:flex;
  gap: 2.5%;
  flex-wrap: wrap;
  justify-content: center;
}

.vertical-line::before {
  content: "";
  width: 50px;
  height: 3px;
  background-color: #118dff;
  margin-right: 5px;
}

.contact_form_inputs {
  border-radius: 30px;
  margin-bottom: 15px;
  height: 40px;
}

.fa-check {
  color: green;
}

.qr_agent {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}

.fa-times {
  color: red;
}

.qr_agent_info {
  padding-right: 20px;
}

.form_name_div {
  padding-left: 0;
}

.form_name2_div {
  padding-right: 0;
}

.word {
  color: #118dff;
  font-size: 24px;
}

.form_mobile_title {
  display: none;
}

.mobile_profile_data {
  display: none;
}

.floo_plan_img {
  height: 550px;
}

.bog_word {
  font-size: 48px;
  font-weight: 700;
  margin-top: 5px;
}

.download_div {
  background: #fff;
  width: 18%;
  text-align: center;
  padding: 2%;
  margin-bottom: 2.5%;
}

.download_h1 {
  font-size:13px;
  margin-top: 15px;
  margin-bottom: 0px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.download_project_name{
  font-size: 11px;
  font-weight: 600;
  color: grey;
}

.contact_form {
  background-color: #fbfbfb;
  width: 80%;
  margin: 0 auto;
  padding: 25px;
}

.contact_form_div {
  background-color:#10283c;
  padding-top: 100px;
}

.business_div {
  background-color:#fff;
  margin-top: 2%;
  padding: 4% 2%;
  width: 80%;
}

.business_div h4 {
  font-size: 20px;
  margin: auto;
  padding: 4%;
  white-space: nowrap;
}

#map {
  height: 100%;
  min-height: 530px;
}

.letter_div {
  background-image: url(https://dataroom.bestplace-immobilien.de/wp-content/uploads/2023/05/Letter-Section.png);
  position: absolute;
  top: 120px;
  width: 100%;
  height: 320px;
}

.box {
  width: 500px;
  padding: 20px;
  background-color: #fefac8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.letter_row {
  position:relative;
  margin-top: 5%;
  margin-bottom: 5%;
}

#navbar ul li a {
  color: #fff;
}

.nav-tabs {
  border-bottom:none;
}

.nav-tabs li{
  float:right;
}

.nav-tabs li a {
  border:none !important;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
  color: #118dff;
  background-color:transparent;
  font-weight:600;
}

.nav>li>a:focus, .nav>li>a:hover {
  background-color:transparent;
}

#myCarousel2 img {
  margin:0 auto;
}

#myCarousel2 .carousel-control {
  background-image:none;
}

#myCarousel2 .carousel-control span{
  background: #118dff;
  border-radius: 50%;
}

.map_div_box {
  position: absolute;
  background-color: #fff;
  width: 300px;
  bottom: 8%;
  right: 22%;
}

.img-responsive-project{
  width: 180px !important;
}


/*Masonry Grid CSS Start*/
.masonry{
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  -webkit-column-gap: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  padding: 0;
  font-size: .85em;
}

.item{
  display: inline-block;
  margin: 0 0 1.5em;
  width: 100%;
  transition: 1s ease all;
  box-sizing: border-box;
}

.item img{
  max-width: 100%;
}


/* Styling for the popup container */
.popup-container {
  display: none;
  position: fixed;
  top: 0;
  z-index: 100;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}



/* Styling for the popup box */
.popup-box {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  width: 50%;
  text-align: center;
}

body.popup-open {
  overflow: hidden;
}

.policy_content{
  padding: 40px 60px;
  font-family: 'Montserrat', sans-serif;
}

.policy_content h2{
  font-size: 25px;
  font-weight: 600;
}

.policy_details {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 15px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height: 40px;
}

.policy_details input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.policy_details span{
  font-weight: normal;
}

.error_mes {
  display: none;
  color: red;
}

.checkmark {
  position: absolute;
  top: 7px;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 5px;
}

.policy_details:hover input ~ .checkmark {
  background-color: #ccc;
}

.policy_details input:checked ~ .checkmark {
  background-color: #2196F3;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.policy_details input:checked ~ .checkmark:after {
  display: block;
}

.policy_details .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  background: white;
}

.terms_box{
  max-width: 50%;
}

.proceed_btn{
  width: 100px;
  text-align: left;
  border-radius: 25px;
  margin-top: 30px;
  padding: 10px 10px 10px 20px;
  font-weight: 600;
  background-color:#118dff;
  border: none;
  display: flex;
  justify-content: space-between;
}






@media only screen and (max-width: 320px){
  .masonry{
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

@media only screen and (min-width: 321px) and (max-width: 768px){
  .masonry{
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1200px){
  .masonry{
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }
}

@media only screen and (min-width: 1201px){
  .masonry{
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
  }
}

/*Masonry Grid CSS End*/

@media (max-width: 1024px) {

  .slider_div {
    /* position: absolute; */
    top: 5px;
    right: 5px;
    /* left: 0;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    width: 70%;
    z-index: 1; */
  }

}


/* Media Queries */
@media (max-width: 768px) {
  .img-responsive-project{
    width: 205px !important;
  }
  .slider_div {
    /* position: absolute; */
    top: 5px;
    right: 5px;
    /* left: 0;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    width: 70%;
    z-index: 1; */
  }

  .vertical-line::before {
    display: none;
  }

  .bog_word {
    font-size: 36px;
  }

  .letter_div {
    height: 250px;
  }

  .box {
    width: 100%;
  }

  .letter_row {
    margin-top: 135%;
  }
}

@media (max-width: 480px) {
  .slider_div {
    top: 260px;
    right: 0%;
    left: 12%;
  }

  .footer_mobile{
    display:  block !important;
  }

  .footer_desktop{
    display:  none !important;
  }

  .contact_form_logo{
    width:250px !important;
  }

  .rounded-button {
    padding: 8px 16px;
    font-size: 14px;
    width: 70%;
  }

  .nav-tabs li a {
    border:none !important;
    padding:10px 8px;
  }

  .map_div_box {
    bottom: 1%;
    right: 10%;
  }

  .download_div {
    margin-bottom: 8.5%;
    width: 45%;
  }

  .business_div {
    width: 100%;
  }

  .business_div h4 {
    font-size: 14px;
  }

  .contact_form {
    width: 100%;
  }

  .contact_form_div {
    padding: 40px 0;
  }

  .form_name_div, .form_name2_div  {
    padding-left: 0;
    padding-right: 0;
  }

  .qr_img {
    width: 50% !important;
  }

  .qr_img_div {
    text-align: center;
  }

  .gallery_images {
    width: 100%;
    height: 70px;
    object-fit: cover;
  }

  .form_mobile_title {
    display: block;
  }

  .form_desktop_title {
    display: none;
  }

  .desktop_profile_data {
    display: none;
  }

  .mobile_profile_data {
    display: block;
    padding-top: 30px;
  }

  .qr_agent_info {
    display: block;
  }

  .qr_agent {
    display: block;
    text-align: center;
    padding-bottom: 10px;
  }

  .slider_img{
    max-height: 300px !important;
    object-fit: cover !important;
  }

  .word {
    margin-top: 30px;
  }

  .nav_language {
    padding-left: 0;
  }

  .download_expose_btn {
    color:#fff;
    background-color:#118dff;
    border-radius: 20px;
    width:70%;
    margin-top: 20px;
    padding: 10px 0;
    margin-top: 15%;
  }

  .download_unit_expose_btn {
    color:#fff;
    background-color:#118dff;
    border-radius: 20px;
    width:100%;
  }

  #distance_section {
    background-color:#e8eaed;
    height:900px;
    padding-top: 85px;
    position: relative;
  }

  #contact_section {
    background-color:#f4f4f4;
    padding-top: 30px;
    padding-bottom: 80px;
  }

  .download_h1 {
    font-size:10px;
  }

  .download_sec_div {
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .contact_mail_btn{
    width: 100% !important;
  }

  .qr_agent_mobile{
    border-bottom: 1px solid #8080801f;
    padding-bottom: 20px;
  }

  .qr_icon_padding{
    padding-top: 20px;
  }

  .floo_plan_img {
    height: auto;
  }

  .glyphicon-chevron-left:before {
    position: absolute;
    top: 7px;
    right: -22px;
    font-size: 14px;
  }

  .left-carousel-control {
    display: none;
  }

  .right-carousel-control {
    display: none;
  }

  .send_call_icon{
    display: block !important;
  }

  .popup-box {
    width: 95%;
  }

  .proceed_btn{
    width: 30%;
    margin: 0 auto;
  }

}