body{
  margin: 10rem 1.25rem 0 1.25rem;
}
.flashies{
  padding-left: 0;
  font-weight: 600;
  font-size: 1.3rem;
}

/*---------- Menu ----------*/
.menu{
  flex-direction: column;
  border-radius: 1rem;
  display: none;
  position: fixed;
  z-index: 9999;
  width: calc(100% - 2.5rem - 2px);
}
.menu-mobile-show{
  display: block;
}
.menu-mobile-hide{
  display: none;
}
.menu ul{
  padding: 0 0 2rem 0;
}
.menu-logo{
  display: none;
}
.menu-logo a{
  display: block;
  width: 100%;
  margin: 2rem auto;
}
.menu-logo img{
  width: 258px;
  display: block;
  margin: 0 auto;
}
.menu-transactions{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  border: 1px solid #255696;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.menu-transactions li{
  height: auto;
  min-width: calc(100% - 2.5rem);
  margin: auto;
}
.menu-transactions li img{
  margin: auto 1rem auto 2rem;
}
.menu-user-data ul{
  display: flex;
}
.menu-search, .menu-favorites, .menu-user{
  width: calc((100% - 2.5rem) /3);
}
.add-announce-btn{
  height: 4rem;
  line-height: 4rem;
  margin-top: 2rem;
}
.menu-interactions{
  display: flex;
  flex-direction: row;
}
.menu-interactions li{
  padding-bottom: 2rem;
}
.add-announce{
  width: 100%;
}


.menu .menu-directory ul{
  flex-direction: column;
  padding: 0;
  background-color: #FFF;
  z-index: 9999;
  border-right: 1px solid #255696;
  border-bottom: 1px solid #255696;
  border-left: 1px solid #255696;
  border-radius: 0 0 1.5rem 1.5rem;
}
.menu .menu-directory ul li{
  text-align: center;
  padding: 1rem;
}
.menu-directory-show{
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 1px 2px 8px #767676;
}
.menu ul.menu-directories-hide{
  display: none;
  box-shadow: none;
}
.menu ul.menu-directories-show{
  display: flex;
  box-shadow: 1px 2px 8px #767676;
}

/*---------- Menu Pro ----------*/
.menu-pro{
  display: none;
}

/*---------- Button ----------*/
.btns{
  flex-direction: column;
}
.btns > *{
  margin-bottom: 4rem;
}
.toggle-button{
  margin-bottom: 1rem;
  width: 100%;
}
.toggle-button div{
  width: 50%;
}
.toggle-button p{
  margin: auto;
}
.link-btn, .back-btn, .del-btn, .premium-btn, .disabled-btn{
  width: 98%;
  font-size: 1.5rem;
  margin: 0 auto;
}
.header-mobile{
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  position: fixed;
  top: 0;
  width: calc(100% - 4.5rem - 2px);
  z-index: 9999;
  border-right: 1px solid #255696;
  border-bottom: 1px solid #255696;
  border-left: 1px solid #255696;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.header-mobile .logo-img{
  /*height:48px;*/
  width: 100%;
}
.header-mobile .logo-img img{
  display: block;
  width: 80%;
  margin: 0 auto;
}

/*---------- Search ----------*/
.home-city .search-row{
  min-height: 37rem;
  margin-bottom: 2rem;
}
.search{
  border: 1px solid;
}
.search-row form{
  width: 100%;
}
.search .row{
  flex-direction: column;
}
.search .transaction .toggle-button{
  margin: 0 auto;
}
.search  label{
  width: 30%;
}
.search .row .text-field input{
  width: calc(100% - 3rem);
  padding: 0 2rem 0 1rem;
  margin-bottom: 0.5rem;
}
.search-btns .modal-btn{
  width: calc(100% - 2rem);
  margin-bottom: 1rem;
}
.search-btns .action{
  margin-bottom: 1rem;
}
.search-btns .action input{
  width: 100%;
}
.search .row label{
  padding-bottom: 0.5rem;
}
.advanced-search .row{
  flex-direction: column;
}
.advanced-search .row > div{
  margin-bottom: 1rem;
}
.advanced-search .row-center{
  flex-direction: column;
}
.advanced-search .inputs{
  flex-direction: column;
}
.advanced-search .inputs li{
  padding-bottom: 2rem;
}
.advanced-search .inputs > li > *{
  margin-bottom: 1rem;
}
.advanced-search .inputs > li > input[type=number]{
  width: 100%;
}
.advanced-search section h3{
  text-align: left;
}
.search .transactions .toggle-button div{
  width: 50%;
}
.advanced-search .energy{
  flex-direction: column;
}
.advanced-search-row{
  display: flex;
  align-items: flex-end;
}
.advanced-search-row img{
  margin-left: 1rem;
  margin-right: 1rem;
}
.search .transactions{
  flex-direction: column;
}
.label-field > *{
  flex-direction: column;
}
.search div label{
  width: auto;
}
.search-btns .filters .sort-btn{
  width: auto;
  margin-bottom: 1.25rem;
}
.search-btns .filters .filter-btn{
  width: auto;
  margin-bottom: 1.25rem;
}
.search-btns .filters div{
  display: flex;
  flex-direction: row;
}
.search div .row input{
  width: auto;
}
.input-unit{
  margin-left: -2rem;
}
.energy{
  flex-direction: column;
}
.energy div{
  padding-bottom: 2rem;
}
.text-field::after{
  position: relative;
  left: calc(100% - 2rem);
  top: -2.2rem;
}

/*---------- Dashboard ----------*/
.dashboard {
  flex-direction: column;
}
.dashboard a{
  width: calc(90% - 2rem);
  height: calc(240px - 2rem);
  margin: 2rem auto;
}


/*---------- SignIn ----------*/
.sign-in-form{
  padding-bottom: 6rem;
}
.sign-in{
  margin:auto;
  padding: 6rem 0;
}
.sign-in > div{
  padding-bottom: 2rem;
}
.sign-in input[type=text], .sign-in input[type=password], .sign-in input[type=email]{
  width: calc(100% - 8px);
}
.sign-in label{
  margin-bottom: 0.25rem;
}
.sign-in input[type=checkbox]{
  margin-left: 0;
}
.sign-in-buttons{
  margin:auto;
}
.sign-in-buttons h2{
  text-align: center;
}
.sign-in-buttons div{
  display: flex;
  justify-content: space-between;
  padding: 6rem 0;
}
.sign-in .no-padding{
  padding-bottom: 0;
}
.captcha{
  aspect-ratio: 27/14;
  margin: 0 auto;
}
.captcha-background{
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 27/14;
}

/*---------- SignUp ----------*/


/*---------- Sort Modal Window ----------*/
.sort{
  top: 20%;
  left: 10%;
  width: 80%;
}

/*---------- RealEstate Edit ----------*/
.real-estate-edit{
  width: 100%;
}
.real-estate-edit .inputs{
  flex-direction: column;
}
.real-estate-edit section h3{
  text-align: left;
}
.real-estate-edit input[type=text], .real-estate-edit input[type=number], .real-estate-edit textarea{
  width: calc(100% - 8px);
}
.real-estate-edit .inputs select{
  width: 100%;
}
.real-estate-edit .radios input{
  margin-left: 0;
}

/*---------- RealEstateCell ----------*/
.real-estate-cell{
  width: 100%;
  margin: 2rem auto;
}
.real-estate-cell .content .row{
  flex-wrap: wrap;
}
.real-estate-cell .details{
  width: 100%;
}
.real-estate-cell .details .slider ul{
  height: 270px;
}
.real-estate-cell .details .generic_link img{
  width: 100%;
}
.real-estate-cell .details2{
  width: 100%;
  min-width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.real-estate-cell .details2 .slider ul{
  height: 270px;
}
.real-estate-cell .details2 .cols{
  flex-direction: column;
}
.real-estate-cell .details2 .cols > *{
  width: 100%;
}
.real-estate-cell .details2 .description{
  padding: 1rem;
  overflow: hidden;
}
.real-estate-cell .details2 .premium-photo{
  width: 100%;
}
.real-estate-cell .details3{
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.real-estate-cell .details3 > section{
  width: 100%;
}
.real-estate-cell .details3 .slider ul{
  height: 270px;
}
.real-estate-cell .details3 .content{
  height: auto;
  padding: 1rem 1rem 2.5rem 2rem;
}
.real-estate-cell .details3 .content .highlight{
  margin: 1rem 0;
}
.real-estate-cell .details3 .see-more{
  width: 70%;
}
.real-estate-cell .details3 .subtitle, .real-estate-cell .details3 .content > p{
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.real-estate-cell .details3 .description{
  height: calc(100% - 270px - 60px);
  padding-bottom: 1rem;
  overflow: hidden;
}
.real-estate-cell .details3 .premium-photos img{
  display: block;
  margin: 0 auto;
  width: 100%;
  object-fit: contain;
}
.slider-close{
  left: calc((100% - 98%) / 2);
}
.real-estate-cell .details2 .header, .real-estate-cell .details3 .header{
  height: 200px;
  flex-wrap: wrap;
}
.real-estate-cell .details2 .agent-identity, .real-estate-cell .details3 .agent-identity{
  flex-shrink: 0;
  order: 1;
  height: 100px;
}
.real-estate-cell .details2 .state-link, .real-estate-cell .details3 .state-link{
  flex: 1 1 100%;
  order: 2;
  height: 100px;
}
.real-estate-cell .details2 .state-new, .real-estate-cell .details3 .state-new{
  width: 100px;
  flex-shrink: 0;
  order: 1;
}

/*---------- MyRealEstateCell ----------*/
.real-estate-cell .my-real-estate-cell{
  width: 480px;
  height: 740px;
}

/*---------- RealEstateDetails ----------*/
.real-estate-details h1{
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.real-estate-details .main-data{
  flex-wrap: wrap;
  width: 98%;
  margin: 0 auto;
}
.real-estate-details .premium-data{
  flex-direction: column;
}
.real-estate-details .premium-data div:first-child{
  margin-bottom: 3rem;
}
.real-estate-details .main-data div{
  min-width: 30%;
}
.real-estate-details .main{
  width: 100%;
  flex-direction: column;
}
.real-estate-details .main .presentation{
  padding-left: 1rem;
}
.real-estate-details .main .map_image{
  display: flex;
  flex-direction: column;
}
.real-estate-details .main .map_image .photo-map{
  max-width: 100%;
}
.real-estate-details .main .map_image #map{
  width: 100%;
  min-height: 30rem;
  margin: 1rem 0 3rem 0;
}
.real-estate-details .main .map_image .link-btn{
  margin-bottom: 3rem;
}
.real-estate-details .equipment .criteria{
  flex-direction: column;
}
.real-estate-details .views .slider-details{
  width: 1080px;
}
.real-estate-details .owner div{
  flex-direction: column;
}
.real-estate-details .owner div > a{
  display: block;
  margin: 2rem auto;
}

/*---------- Agency Locations----------*/
.agency-locations{
  margin: 0 auto;
}
.agency-locations-cell{
  min-width: calc(100% - 4rem);
  margin: 2rem 1rem;
  padding: 1rem;
}

/*---------- Profile ----------*/
.agent{
  width: 100%;
}
.agent .last-real-estates{
  flex-direction: column;
}
.agent .last-real-estates .first-photo{
  margin: 1rem 0;
}
.agent .last-real-estates .first-photo img{
  width: 100%;
}

/*---------- MyAgentCell ----------*/
.my-agent-cell{
  width: 80%;
  margin: 3.75rem 2.5rem;
}
.my-agent-cell .content{
  padding: 0 1rem 2rem 1rem;
}

/*---------- Researcher ----------*/
.researcher-locations{
  height: 260px;
}

/*---------- Pricing ----------*/
.pack-button{
  /*margin: 4rem auto;*/
  flex-direction: column;

}
.pack-button p{
  padding: calc(3rem - 28px) 0;
  /*height: calc(4rem - 22px);*/
  text-align: center;
  margin: 0;
}
.pack-button p:first-child{
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}
.pack-button p:last-child{
  border-bottom-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

.pricing{
  width: 100%;
}
.pricing .col{
  width: calc(480px - 4rem) ;
  padding: 2rem;
  margin-bottom: 4rem;
}
.pricing .link-btn{
  margin: 2rem auto;
}

/*---------- Subscription ----------*/
.subscription{
  width: 100%;
}
.subscription a{
  margin: 4rem auto;
}

/*---------- Contact Form ----------*/
.contact{
  width: 92%;
}

/*---------- User Forms ----------*/
.user-edit{
  margin:auto;
  padding: 6rem 0;
}
.user-edit div{
  margin-top: 2rem;
}
.user-edit .img-center{
  width: 100%;
}

/*---------- Confirm Update ----------*/
.confirm-update{
  width: 100%;
}

/*---------- Footer ----------*/
.footer{
  padding: 0 1rem;
}
.footer > div{
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
}
.footer ul{
  width: 100%;
}
.footer .title{
  margin-top: 2rem;
}
.footer li{
  margin: 1rem auto 1rem 0;
}

/*---------- Fade windows ----------*/
.modal-address-legal{
  width: 80%;
  margin: 2rem auto;
}
.modal-address-legal .link-btn{
  margin: 2rem auto;
}
.modal-address{
  padding: 2rem;
}
.modal-address .link-btn{
  margin: 4rem auto 2rem auto;
}

.modal-histories{
  width: 90%;
  padding: 0 5%;
}
.modal-histories p{
  margin: 1.35rem 2rem;
  text-align: center;
}