/* Auth */
.city-bg {
    background: url('/static/images/city1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
.center-xy {
    display: grid;
    place-items: center;
}
.hw-100 {
    height: 100%;
    width: 100%;
}
.authbox {
    width: 95%;
    max-width: 360px;
    background: #fff;
    border-radius: 15px;
}
.authbox .logocontainer {
    background: linear-gradient(45deg, #57C785, #EDDD53);
    display: grid;
    place-items: center;
    padding: 15px;
    border-radius: 15px 15px 0 0;
}
.logocontainer img {
    width: 55%;
}
.authbox form {
    padding: 20px 30px;
}
.auth-control {
    height: 50px;
    margin-top: 20px;
    position: relative;
}
.auth-control input {
    height: 100%;
    width: 100%;
    outline: none;
    font-size: 17px;
    padding-left: 20px;
    border: 1px solid #e1e5e8;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.auth-control input:focus {
    border-color: #8bf3b7;
}
.auth-control input[type="submit"] {
    cursor: pointer;
}
.auth-control label {
    position: absolute;
    top: 50%;
    left: 20px;
    color: #aaa;
    font-weight: 400;
    font-size: 17px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.auth-control input:focus ~ label,
.auth-control input:valid ~ label {
    top: 0%;
    font-size: 16px;
    color: #aaa;
    background: #fff;
    transform: translateY(-50%);
}
.dropsdown-w-btn-container {
    position: relative;
}
.dropsdown-w-btn-container .dropsdown-btn {
    position: absolute;
    right: 1em;
    top: 0;
    line-height: 38px;
}
form .content {
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: space-around;
}
.autherr {
    background-color: #a92d33;
    border: solid 1px #cb4146;
}
.authmsg {
    background-color: #4F7942;
    border: solid 1px #5F8575;
}
.authmsg, .autherr {
    border-radius: 20px;
    padding: 12px 24px;
}
/* Auth-end*/

/* Base */
body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    margin: 0;
}
.form-group, .form-control {
    box-sizing: border-box;
}
.form-group {
    margin-bottom: 1rem;
}
.btn {
    cursor: pointer;
    user-select: none;
    background-color: #f3f3f3;
}
.btn:hover {
    background-color: #ddd;
}
.form-select {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
a {
    text-decoration: none;
}
.d-n {
    display: none;
}
.d-ib {
    display: inline-block;
}
.d-flex, .d-flex-pc {
    display: flex;
}
.fd-column, .fd-column-pc {
    flex-direction: column;
}
.card {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .5rem;
    margin-bottom: 2px;
    overflow: hidden;
}
.card-title {
	display: flex;
	border-bottom: 0px solid rgba(0,0,0,.125);
	padding: 12px 26px;
	width: 90%;
	margin: auto;
}
.card-title span {
	font-weight: lighter;
	font-size: 28px;
}
.card-title a {
	font-size: 22px;
	height: 42px;
	line-height: 42px;
}
.card.list > div {
    border-bottom: 1px solid #ced4da;
    padding: 9px 12px;
}
.card.list > div:last-child {
    border-bottom: 0px;
}
.card.hz-list > a, .card.hz-list > span {
    border-left: 1px solid #ced4da;
    padding: 12px;
}
.card.hz-list > *:first-child {
    border-left: 0px;
}
.a-button.opaque {
	background-color: #f3f3f3;
	border-radius: 5px;
	padding: 0px 9px;
	color: black;
}
.a-button.opaque:hover {
	background-color: #ddd;
}
.a-button:hover {
	cursor: pointer;
}
button, input[type=file]::file-selector-button {
	background-color: #f3f3f3;
	border: none;
	border-radius: 5px;
	padding: 5px 9px;
	color: black;
	margin: 4px 0px;
	cursor: pointer;
}
button:disabled, input:disabled, a.disabled {
	color: #444;
	cursor: not-allowed;
}
button:disabled, input:disabled {
	background-color: #c3c3c3 !important;
}
button:hover, input[type=file]::file-selector-button:hover {
	background-color: #ddd;
}
/* Base-end */

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1;
}
.header-container {
	display: flex;
	height: 50px;
	color: black;
	padding: 0px 8px;
	border-bottom: solid 1px #eceef2;
	background-color: white;
}
.header-sidebar-toggle {
    display: none;
    margin-right: 5px;
    width: 40px;
    padding: 5px;
}
.header-logo-container {
    flex-grow: 1;
}
.header-logo {
	height: 40px;
	margin-top: 5px;
	margin-left: 10px;
}
.header-content {
	padding: 5px;
	font-size: 16px;
}
.header-ppic-container {
    display: inline-block;
    margin-left: 5px;
    width: 40px;
}
/* Header-end */

/* Sidebar */
.sidebar {
	margin: 0;
	padding: 0;
	width: 250px;
	background-color: #f5f9fc;
	border-right: solid 1px #eceef2;
	position: fixed;
	height: 100%;
	overflow: auto;
}
.sidebar a {
	display: block;
	color: black;
	padding: 8px 8px 2px 8px;
	text-decoration: none;
}
.sidebar a span {
    padding: 8px;
    border-radius: 10px;
    width: 90%;
    display: block;
    margin: auto;
}
.sidebar a:hover span {
    background-color: #ebeff2;
}
.sidebar a.active span {
    background-color: #e1e5e8;
}
.main-index-card {
	margin-top: 8px !important;
	width: 95%;
}
main.bs {  /* Beside sidebar */
	margin-left: 270px;  /* main's margin-left = .sidebar's width + desired margin-left */
}
main {
	max-width: 1960px;
	padding: 2px 0px;
}

@media screen and (max-width: 740px) {
    .fd-column-pc {
        flex-direction: row;
    }
    .d-flex-pc {
        display: block;
    }
    .d-flex-pc div {
        margin-left: 0px !important;
        margin-right: 0px !important;
        width: 100% !important;
    }
	main.bs {
		margin: auto;
	}
	.sidebar {
	    display: none;
	}
	.main-index-card {
        margin: auto;
    }
    .header-text {
        display: none !important;
    }
    .header-logo-container, .r-btn-container {
        display: grid;
        place-items: center;
    }
    .header-logo {
        margin-left: 0px;
    }
    .header-sidebar-toggle {
        display: inline-block;
    }
}
/* Sidebar-end */

/* Modal */
.modal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-dialog span {
    font-size: 18px;
}
.modal-dialog {
    max-width: 650px;
    margin: 1.75rem auto;
    position: relative;
    width: auto;
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
}
.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}
@media screen and (max-width: 740px) {
    .modal-content {
        width: 90%;
        margin: auto;
    }
}
/* Modal-end */

/* Index */
.property-list, .market-study-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: fit-content;
}
.property-card-sm {
	width: 160px;
	height: 260px;
}
.property-card, .market-study-card {
	width: 180px;
}
.property-card, .property-card-sm, .market-study-card {
	display: flex;
	align-items: center;
	flex-direction: column;
	margin: 4px;
	padding: 5px 8px;
}
.property-anchor, .market-study-anchor {
	display: flex;
	color: black;
}
.main-index-card.inactive {
	display: none;
}
.property-pic {
    height: 175px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}
.loading-mode {
	background: url('/static/images/loading-clockspin.gif');
	background-size: 60%;
	background-position: center;
	background-repeat: no-repeat;
}
.loading-mode .property-pic {
	opacity: 25%;
}
.loading-gradient-bg {
  background-image:
    linear-gradient(to right, #c3c3c3, #c3c3c3, #e3e3e3, #c3c3c3, #c3c3c3);
  animation: loading-gradient-bg 50s linear infinite;
}
@keyframes loading-gradient-bg {
    to {
        background-position: 500vh;
    }
}
.property-pic-container {
    margin-bottom: 5px;
}
.image-upload-form {
    margin-bottom: 10px;
}
#sale-value-inputs-container, #rent-value-inputs-container, #description-text {
    transition: all 0.3s ease;
}
.image-form-preview div, .image-form-preview-small div {
    width: inherit;
    height: inherit;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}
.image-form-preview {
    overflow: hidden;
    width: 250px;
    height: 250px;
    background-color: #ddd;
}
.image-form-preview-small {
    overflow: hidden;
    width: 190px;
    height: 190px;
    background-color: #ddd;
}
.property-details-container {
	font-size: 80%;
	margin-top: 12px;
	padding: 8px;
}
.attr-wval, .attr-noval {
	display: inline-block;
	background-color: #eaeaea;
	color: black;
	padding: 1px 4px;
	border-radius: 4px;
	margin-bottom: 4px;
}
.attr-container {
	max-width: 35vw;
}
@media (min-width: 220px) and (max-width: 740px) {
	.attr-container {
		max-width: 100%;
	}
}
/* Index-end */

/* Market study */
.property-details-container.delete-mode {
    position: relative;
}
.delete-mode .delete-control {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0,0,20,30%);
    display: grid !important;
    place-items: center;
}
.delete-control span {
    background-position: 206px 4px;
    background-color: #eaeaea;
    border-radius: 200px;
    padding: 4px;
}
/* Market study-end */

/* General */
.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.td-none {
    text-decoration: none !important;
}
.dropsdown:hover, .dropsdown:focus, .dropdown select:hover, .dropdown select:focus {
    outline: none;
}
.dropsdown.dropped {
    border-radius: 4px 4px 0 0;
    z-index: 1;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
}
.dropdown select {
    z-index: 0;
    display: block;
    width: 100%;
    border-radius: 0 0 4px 4px;
    border: 1px solid #ced4da;
    border-top: 0px;
    transition: all 0.3s ease 0s;
    font-size: 0.9rem;
    line-height: 1.5;
    background-color: #fff;
    padding: 4px;
    scrollbar-width: none;
}
.dropdown.check-new select {
    border-radius: 0;
}
.dropdown select option {
    padding: 6px;
}
.dropdown-btn {
    width: 100%;
    margin-top: 0px;
    border-radius: 0 0 5px 5px;
    border: 1px solid #ced4da;
    border-top: 0px;
}
body, textarea, input {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}
.profile-pic-small {
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	vertical-align: middle;
	display: inline-block;
    flex-shrink: 0;
}
textarea, #chatbox {
	scrollbar-width: none;
	-ms-overflow-style: none;	
}
.clickable {
	cursor: pointer;
	outline: none;
}
.clickable:hover {
	text-decoration: none;
}
.w-50pct {
	width: 50%;
}
.w-fc {
	width: fit-content;
}
.h-fc {
	height: fit-content;
}
.h-1em {
    height: 1em;
}
.mh-0 {
	max-height: 0px;
}
.mh-100 {
	max-height: 100px;
}
.mw-300 {
    max-width: 300px;
}
.round {
	border-radius: 30px !important;
}
.merge-right {
    border-radius: 5px 0px 0px 5px;
}
.merge-left {
    border-radius: 0px 5px 5px 0px;
}
.horiz-center {
	margin-left: auto;
	margin-right: auto;
}
.dropdown-container {
    position: relative;
}
.flexbox {
    display: flex;
}
.jc-c {
    justify-content: center;
}
.fg-1 {
    flex-grow: 1;
}
.fg-1-l {
    flex-grow: 1;
    margin-left: 8px;
}
.fg-1-r {
    flex-grow: 1;
    margin-right: 8px;
}
.bsbb {
    box-sizing: border-box;
}
.no-bg {
	background: transparent;
}
.nav-tabs .nav-link.active {
    background: transparent;
    font-weight: 800;
}
.hidden {
    display: none !important;
}
.no-horiz-padding {
    padding-left: 0px;
    padding-right: 0px;
}
form::placeholder, textarea::placeholder {
    color: #6c757d;
    opacity: 1;
}
.form-merge {
    resize: none;
    border: none;
    width: 100%;
    color: inherit;
    font-size: 12px;
    margin-top: -5px;
    background: transparent;
}
.form-merge:focus-visible {
    border: none;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
#tabs {
	width: 100%;
	max-width: 920px;
	padding-left: 0px;
	padding-right: 0px;
	margin: 1% auto;
	margin-bottom: -1px;
	border-bottom: none;
	overflow-x: auto;
	overflow-y: hidden;
	flex-wrap: nowrap;
}
#tabs li {
	cursor: pointer;
    white-space: nowrap;
}
.form-control {
  border: 1px solid rgba(0,0,0,.125);
}
.red-fg, .invalid {
    color: #f22222;
}
.gray-fg {
    color: #79899f;
}
.black-fg:visited, .black-fg:active, .black-fg:link {
    color: black;
}
.fading-fg {
    color: rgba(0,0,0,.4);
}
.blue-bg {
    background-color: #4ea4ea;
    color: white;
}
.blue-bg:hover {
    background-color: #3e83bb;
}
.vertical-spaced {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
}
.ml-8 {
    margin-left: 8px;
}
.mr-8 {
    margin-right: 8px;
}
.mt-8 {
    margin-top: 8px;
}
.mt-2 {
    margin-top: 2px;
}
.m-n {
    margin: 0px !important;
}
.m-a {
    margin: auto;
}
.left-spaced {
    margin-left: 5px;
}
.right-spaced {
    margin-right: 5px;
}
.input-height {
    height: calc(2.25rem + 2px) !important;
}
.separator-100 {
    height: 100px;
}
.separator-75 {
    height: 75px;
}
.separator-50 {
    height: 50px;
}
.separator-40 {
    height: 40px;
}
.separator-30 {
    height: 30px;
}
.separator-15 {
	height: 15px;
}
.separator-5 {
	height: 5px;
}
.small-text {
    font-size: 80%;
}
small {
    font-size: .875em
}
.med-text {
    font-size: 115%;
}
.big-text {
    font-size: 140%;
}
.p-title {
    font-weight: 900;
    color: #C71585;
    padding-bottom: 10px;
}
.big-icon {
    font-size: 160%;
}
.list-group-item {
  border: none !important; /* Retira border-top */
}

.list-group-item:focus,
.list-group-item:hover {
  /*Corrige BS*/
  z-index: 0;
  text-decoration: none;
}
.float-right {
    float: right;
}
.inline {
    display: inline;
}
.comm-form {
  display: flex;
  flex-direction: column;
}
.comm-form * {
  width: fit-content !important;
}
.inline-input .left-input {
  flex-grow: 1;
  margin-right: 10px;
}
.hz-up-box {
    white-space: nowrap;
    margin-bottom: 6px;
    width: fit-content;
    display: inline-block;
}
.dib {
    display: inline-block;
}
.pad-0 {
    padding: 0px;
}
.pad-6 {
    padding: 6px;
}
.pad-20 {
    padding: 20px;
}
.tm-4 {
    margin-top: 4px;
}
.ta-center {
    text-align: center;
}
.va-sub {
    vertical-align: sub !important;
}
.va-tt {
    vertical-align: text-top !important;
}
.va-bo {
    vertical-align: bottom !important;
}
.spin {
  animation: rotate 1.5s linear infinite;
  width: 7%;
}
.hmin-200 {
    min-height: 200px;
}
.w-100 {
    width: 100px;
}
.w-200 {
    width: 200px;
}
.w-400 {
    width: 400px;
}
.fw-l {
	font-weight: lighter;
}
.fs-15 {
    font-size: 15px;
}
.fs-16 {
    font-size: 16px;
}
.fs-20 {
    font-size: 20px;
}
.of-h {
    overflow: hidden;
}
@keyframes rotate{
  to { transform: rotate(360deg); }
}
@media (min-width: 220px) and (max-width: 740px) {
    .ml-8-mob {
        margin-left: 8px;
    }
    .inline-input .left-input {
        margin-right: 0px;
    }
    .inline-input .btn {
        margin-top: 4px;
        flex-grow: 1;
    }
    main, #tabs {
        width: 98%;
    }
    .pad-6-mob {
        padding: 6px;
    }
	.property-card, .property-card-sm, .property-anchor, .market-study-card, .market-study-anchor {
		width: 92%;
	}
}
/* General-end */

/* Sprites */
.spr-2, .spr-3, .spr-4, .spr-5, .spr-10 {
    background-image: url('/static/images/icons.png');
    display: inline-block;
    vertical-align: top;
}
.spr-2 {
    height: 20px;
    width: 20px;
    background-size: 120px 80px;
}
.spr-3 {
    height: 30px;
    width: 30px;
    background-size: 180px 120px;
}
.spr-4 {
    height: 40px;
    width: 40px;
    background-size: 240px 160px;
}
.spr-5 {
    height: 50px;
    width: 50px;
    background-size: 300px 100px;
}
.spr-10 {
    height: 100px;
    width: 100px;
    background-size: 600px 400px;
}
.spr-2.check {
    background-position: 0 0;
}
.spr-2.add {
    background-position: 100px 0;
}
.spr-2.comment {
    background-position: 80px 0;
}
.spr-2.trash {
    background-position: 40px 0;
}
.spr-2.edit {
    background-position: 20px 0;
}
.spr-3.add {
    background-position: 150px 120px;
}
.spr-3.next-icon {
    background-position: 180px 60px;
}
.spr-3.prev-icon {
    background-position: 150px 60px;
}
.spr-4.sidebar-icon {
    background-position: 160px 80px;
}
.spr-4.search {
    background-position: 160px 120px;
}
.spr-4.chat-busy {
    background-position: 160px 160px;
}
.spr-4.chat {
    background-position: 120px 160px;
}
.spr-10.trash-btn {
    background-position: 206px 4px;
    background-color: #eaeaea;
    border-radius: 200px;
    padding: 4px;
}
/* Sprites-end */
