html {
	max-width: 2000px;
}

#realestate-title{
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: bold;
    font-style: italic;
    line-height: 1.2;
    text-shadow: 2px 1px 3px #000;
    display: block;
    padding: 10px 10px 0px 10px;
    margin: 0;
    color: #fff;
    text-align: center;
    background-color: rgba(0,0,90, 0.061);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;	
}

#realestate-subtitle{
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    text-shadow: none;
    font-weight: 100;
    display: block;
    padding: 2px 0 15px 0;
    margin: 0;
    color: #000;
    text-align: right;
    font-weight: 300;
}


.mainpage-container {
    font-family: 'Roboto', sans-serif;
}

.realestates .mopen.dropdown{
    float: right;
}

#user_dropdown_realestates{
    
}

.form-container{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}



.realestates .nav.navbar-nav{
    width: 100%;
    text-align: center;

}

.realestates .nav.navbar-nav .logo {
    float: left;
}

.realestates .nav.navbar-nav .logo a{
    padding-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}


#logo-realestates {
    max-height: 60px;
    max-width: 500px;
    padding: 8px 5px 6px 5px;
}


#flag-realestate-mobile,
#flag-realestate-desktop{
    float: right;
}

#flag-realestate-mobile a,
#flag-realestate-desktop a{
    display: inline-block;
    padding-left: 5px;
    padding-right: 0;
    font-size: 15px;
}

#flag-realestate-mobile img,
#flag-realestate-desktop img {
    height: 18px;
    border-radius: 3px;
    border: 1px solid #dadada;
    margin: 0;
    box-shadow: 0px 0px 5px #dadada;
    position: relative;
    vertical-align: top;
}

#flag-realestate-desktop .dropdown-menu{
    min-width: auto;
    padding: 5px 8px;
}

#flag-realestate-mobile ul {
    left: auto;
    min-width: auto;
    position: absolute;
    float: none;
    top: auto;
}

#flag-realestate-mobile a:hover{
    text-decoration: none;
}

.bootstrap-iso.realestates #bs-example-navbar-collapse-1 .dropdown-menu {
    left: auto;
    right: 0;
}


#realestate-search-form {
    width: 100%;
    text-align: center;
	background-size: 100% auto;
	background-color: white;
	background-image: url(/img_realestates/home_realestates_fhd_10.jpg);
	background-repeat: no-repeat;
	background-position: 0 -50px;	
}

.realestate-input-container{
	text-align: left;
    display: inline-block;
    background-color: rgba(0,0,0, 0.6);
    padding: 15px 20px;
	margin: 90px 0;
}


.realestates-footer {
    color: #1d1d1d;
    background-color: #e2e2e2;
    font-size: 16px;
    line-height: normal;
    padding: 15px 10px;
	margin-top: 20px;
}




.radio {
  margin: 16px 0 16px 10px;
}

#realestate-radiogrp-1 {
    color: white;
}

#realestate-radiogrp-1 .radio:first-child{
    margin-left: 0;
}

#realestate-inputgrp-1 input::-webkit-input-placeholder { color: #bbb; font-weight: 300; }
#realestate-inputgrp-1 input::-moz-placeholder { color: #bbb; font-weight: 100; }
#realestate-inputgrp-1 input:-ms-input-placeholder { color: #bbb; font-weight: 100; }
#realestate-inputgrp-1 input:-o-input-placeholder  { color: #bbb; font-weight: 100; }

#realestate-inputgrp-1 {
    width: 100%;
}

#realestate-inputgrp-1 input{
    font-family: 'Roboto', sans-serif;
}

#realestate-inputgrp-1 input,
#realestate-inputgrp-1 select {
    width: 250px;
    
}

#realestate-inputgrp-1 input,
#realestate-inputgrp-1 select,
#realestate-inputgrp-1 button,
#realestate-inputgrp-1 div+div {
    margin: 3px 3px 3px 0;
}

#realestate-inputgrp-1 * {
    vertical-align: top;
}


#realestate-inputgrp-1 select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20x%3D%2212px%22%20y%3D%220px%22%20width%3D%2224px%22%20height%3D%225px%22%20viewBox%3D%220%200%206%203%22%20enable-background%3D%22new%200%200%206%203%22%20xml%3Aspace%3D%22preserve%22%20fill%3D%22%23222%22%3E%3Cpolygon%20points%3D%225.992%2C0%202.992%2C3%20-0.008%2C0%20%22%2F%3E%3C%2Fsvg%3E);
    background-position: 98% center;
    background-repeat: no-repeat;
	padding-right: 28px;
}


#realestate-inputgrp-1 #city_or_region{
    background-color: #fff;
    color: #555;
    
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 0;
    width: 216px;
	padding-right: 28px;
}

#realestate-inputgrp-1 #realestates_map_icon {
    padding: 4px;
    width: 34px;
    height: 34px;
    
    display: inline-block;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: 0;
	
	cursor: pointer;
}
#realestate-inputgrp-1 #realestates_map_icon img {
    width: 24px;
}


#realestate-inputgrp-1 #city_or_region_search{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 0;
    width: 216px;	
}

#city_or_region_results{
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    max-width: 95%;
    z-index: 4;
}


#city_or_region_results ul {
    padding: 6px 0;    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;	
}

#city_or_region_results_wraper {
    display: inline-block;
}


#city_or_region_results li {
    list-style-type: none;
    padding: 3px 9px;
    font-size: 17px;
    border-bottom: 1px solid #eee;
    display: block;
	max-width: 380px;
	color: black;
	clear: both;
}

#city_or_region_results li .locname {
	float: left;
	pointer-events: none;
}

#city_or_region_results li:hover,
#city_or_region_results li.city_or_region-selected {
    background-color: #3f91ff;
	color:white;
    cursor: pointer;
}

.res-count{
    color: black;
    border-radius: 5px;
    padding: 0px 4px;
    float: right;
    pointer-events: none;
}

.settlement-region{
	float: right;
    vertical-align: bottom !important;
    position: relative;
    top: 4px;
    font-size: 15px;
    margin-left: 16px;
    color: #333;
	display: block;
	pointer-events: none;
}


#city_or_region_results li:hover .realestate_alert,
.city_or_region-selected  .realestate_alert{
	color: #ffad51;
}

#showresults{
    min-width: 200px;
}

.realestate_alert{
    color: #E59500;
	color: #b72f28;
	pointer-events: none;
}


.radio input {
  display: none;
}
.radio input + span {
  line-height: 17px;
  height: 22px;
  padding-left: 22px;
  display: inline-block;
  position: relative;
  font-weight: bold;
}
.radio input + span:not(:empty) {
  padding-left: 22px;
}
.radio input + span:before, .radio input + span:after {
  content: '';
  width: 15px;
  height: 15px;
  display: block;
  border-radius: 50%;
  left: 0;
  top: 0;
  position: absolute;
}
.radio input + span:before {
  background: #D1D7E3;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2);
  transition: background 0.2s ease, -webkit-transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2);
  transition: background 0.2s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2);
  transition: background 0.2s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2), -webkit-transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2);
}
.radio input + span:after {
  background: #fff;
  -webkit-transform: scale(0.78);
          transform: scale(0.78);
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
  transition: -webkit-transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4), -webkit-transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
}

.radio input:checked + span:after {
  background: #000;	
}
.radio input:checked + span:before {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
  background: #ffffff;
}
.radio input:checked + span:after {
  -webkit-transform: scale(0.6);
          transform: scale(0.6);
  -webkit-transition: -webkit-transform .3s ease;
  transition: -webkit-transform .3s ease;
  transition: transform .3s ease;
  transition: transform .3s ease, -webkit-transform .3s ease;
}
.radio:hover input + span:before {
  -webkit-transform: scale(0.92);
          transform: scale(0.92);
}
.radio:hover input + span:after {
  -webkit-transform: scale(0.74);
          transform: scale(0.74);
}
.radio:hover input:checked + span:after {
  -webkit-transform: scale(0.6);
          transform: scale(0.6);
}




.close-icon {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 16px;
  height: 16px;
  opacity: 0.3;
  cursor: pointer;
  display: none
}

.close-icon:hover {
  opacity: 1;
}
.close-icon:before, .close-icon:after {
    position: absolute;
    left: 7px;
    content: ' ';
    height: 13px;
    width: 2px;
    background-color: #333;
}
.close-icon:before {
  transform: rotate(45deg);
}
.close-icon:after {
  transform: rotate(-45deg);
}


#city_or_region_search+.close-icon {
position: absolute;
    top: 13px;
    left: 195px;
    bottom: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 0;
}



.browsebycity {
	margin-bottom: 15px;
	text-align: center;
	display: inline-block;
	max-width: 100%;
	
}
.browsebycity * {
	box-sizing: border-box;
}

.browsebycity-title{
    font-weight: bold;
    padding: 40px 10px 5px;
    font-size: 20px;
    text-align: center;
    display: inline-block;
}

.browsebycity-all a,
.browsebycity-all a:hover,
.browsebycity-all a:visited {
  color: #000090;
  text-decoration: none;
  font-weight: bold;
}


.browsebycity-all {
	margin-bottom: 4px;
  font-size: 17px;
  padding-left: 10px;
	max-width: 100%;
  display: block;
  text-align: center;
}

.browsebycity-all-inmenu a,
.browsebycity-all-inmenu a:hover,
.browsebycity-all-inmenu a:visited {
    color: #000090;
    text-decoration: none;
    font-weight: bold;
    background: white;
    padding: 4px 5px;
    margin: 5px;
    display: block;
}

.browsebycity-all-inmenu {
    margin-bottom: 4px;
    font-size: 17px;
    max-width: 100%;
    display: block;
    text-align: center;
    color: white;
}


.cityimagecontainer{
	padding: 0 10px 2px ;
	/*white-space: nowrap;*/
    overflow-x: auto;
    max-width: 1000px;
    text-align: center;

}

.city {
	display: inline-block;
	position: relative;
}
.city .name{
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	text-align: center;
	font-size: 19px;
	/*font-weight: bold;*/
	color: white;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 1);
	white-space: normal;
	font-weight: bold;
}

.city .adscount{
	position: absolute;
	bottom: 8px;
	left: 0;
	right: 0;
	text-align: center;
	align-items: center;
	justify-content: center;	
	font-size: 17px;
	/*font-weight: bold;*/
	color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
	display: flex;
	flex-direction: column;
}

.city .adscount>a{
	margin-bottom: 7px;
    display: inline-block;
    padding: 4px 16px;
    background-color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	text-decoration: none;
	color: white;	
}
.city .adscount>a:hover{
	color: #FCFFC9;
}
.city .adscount>a:visited{
	color: white;
}

.city img {
	width: 180px;
}

.footer_boxes{
	text-align: center;
	display: block;
	padding-right: 0px;
}


.footer_boxes a{
    color: #230095 !important;
	font-size: 16px;
    background: #ebebeb;
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.25);	
}

.footer_boxes div{
    display: inline-block;
    margin-top: 5px;
}

@media only screen and (min-width : 768px) {
    .hide-desktop{
	display: none;
    }
}

@media only screen and (max-width : 960px) {
	.cityimagecontainer{
		max-width: 760px;
	}
}
@media only screen and (max-width : 900px) {
	.bootstrap-iso .nav > li > a {
		padding: 10px 4px;
	}


}

@media only screen and (max-width : 1400px) {
	#realestate-search-form {
		background-position: 0 0;
	}
}


@media only screen and (max-width : 768px) {
		
	#logo-realestates {
		max-height: 50px;
		max-width: 500px;
		padding: 5px 5px 3px 5px;
	}		
		
	#realestate-title{
		font-size: 26px;
	}

	#realestate-search-form {
		background-size: cover;
	}	
	
    #realestate-inputgrp-1 {
    }

    .realestate-input-container{
		padding: 15px 10px;
		margin: 25px;
    }
    
    #realestate-inputgrp-1 #realestates_map_icon{
		margin-right: 0;
    }
    
    .realestates .navbar table,
    .realestates .navbar table tbody, 
    .realestates .navbar table tr,
    .realestates .navbar table td
    {
		display: block;
    }
    
    .realestates .navbar table td:first-child{
		float: left;
    }
    
    .realestates #bs-example-navbar-collapse-1,
    .realestates #bs-example-navbar-collapse-1 li {
		width: 100%;
		line-height: 20px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    }
    
    .realestates #bs-example-navbar-collapse-1 li a	{
		width: 100%;
		display: block;
		padding: 3px 20px;
		clear: both;
		font-weight: normal;
		line-height: 1.42857143;
		color: #333;
		white-space: nowrap;
		font-size: 19px;
		text-align: left;
    }
    
    .realestates #user_dropdown_realestates{
		display: none !important;
    }
    
    
    #realestate-inputgrp-1 input,
    #realestate-inputgrp-1 select,
    #realestate-inputgrp-1 button {
		width: 100%;
		max-width: none;
		margin-bottom: 10px;
    }
    
	.cityimagecontainer{
		padding: 0 2px 2px;
		white-space: normal;
		text-align: center;
	}
	
	.city {
		width: 49%;
		max-width: 220px;
	}

	.city img {
		width: 100%;
	}



   #city_or_region_results_wraper {
		display: block;
    }
    
    #realestate-inputgrp-1 #city_or_region {
		width: calc(100% - 34px);
		display: inline-block;
    }

    #realestate-inputgrp-1 #city_or_region_search {
		width: calc(100% - 34px);
    }
    
    #realestate-inputgrp-1 #city_or_region_results {
		z-index: 4;
		max-width: 100%;
		min-width: 85%;
    }
	
	#city_or_region_search+.close-icon {
		left: calc(100% - 54px);
	}
	
	#city_or_region_results li {
	   width: 100%;
	   max-width: none;
   }
	   
	.more-info{
		padding: 0 5px;
	}
	
	.footer_boxes a{
		font-size: 17px;
		background: #ebebeb;
		margin: 3px auto;
	}
	
	.footer_boxes div{
		display: block;
	}
 
 
    
}



@media only screen and (max-width : 420px) {
		
	#realestate-search-form {
		background-image: url(/img_realestates/home_realestates_mobile_10.jpg);
		background-size: auto 105%;
	}	
}

