

/***

====================================================================
    Dashboard css
====================================================================

***/

/**** General css  ****/
a{
    cursor:pointer;
}


.bt-loader { 
    position: absolute;
    left: 10px;
    display: none; 
    border: 4px solid rgba(255, 255, 255, 0.3); 
    border-top: 4px solid #707077;
    border-radius: 50%; 
    width: 25px; 
    height: 25px; 
    animation: spin 1s linear infinite; 
    margin-right: 10px; 
} 
  
@keyframes spin { 
    0% { 
        transform: rotate(0deg); 
    } 
  
    100% { 
        transform: rotate(360deg); 
    } 
} 

.panel {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #fff;
  background: none;
  box-shadow: none;
}

.panel:last-child {
  border-bottom: none;
}

.panel-group > .panel:first-child .panel-heading {
  border-radius: 4px 4px 0 0;
}



.panel-heading {
  background: linear-gradient(to bottom,rgba(184,150,126,0.30),rgb(58 123 213 / 0));
  border-radius: 0;
  border: none;
  padding: 0px 15px!important;
}

.panel-title a {
  display: block;
  color: #000!important;
  padding: 15px 30px;
  position: relative;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-body {
  background: #fff;
}

.panel:last-child .panel-body {
  border-radius: 0 0 4px 4px;
}

.panel:last-child .panel-heading {
  border-radius: 0 0 4px 4px;
  transition: border-radius 0.3s linear 0.2s;
}

.panel:last-child .panel-heading.active {
  border-radius: 0;
  transition: border-radius linear 0s;
}

#s-details .panel-heading a:before {
    color: #c39973;
   content: "\276F";
    position: absolute;
    width: 1em;
    height: 1em;
    right: 2px;
    text-align: center;
    /*transform: rotate(90deg);*/
    transition: all 0.35s;
}



/* Arrow animation */
#s-details .panel-heading a:hover::before {
 transform: rotate(-90deg) ; 
}

#s-details .panel-heading a.collapsed::before {
 transform: rotate(-90deg) ; 
}


.panel-body{
  border: 1px solid #ddd!important;

}

#s-details .panel-heading.active a:before {
  transform: rotate(0deg);
  transition: all 0.5s;
}
/*------menu dashboard ------------------------------------------------*/
/* title-tip down */
.title-tip[title]:hover {
    position: relative;
}
.title-tip[title]:hover:after  {
    font-size: 1.2rem;
    content: attr(title);
    padding: 6px 8px;
    color: #fff;
    position: absolute;
    left: 125%;
    top: 2%;
    white-space: nowrap;
    z-index: 9999;
    border-radius: 5px;
    border: 1px solid #fff;
    box-shadow: 0 0 14px 2px rgba(0,0,0,0.15);
    text-shadow: 1px 1px darken(#3498db,20%);
    background: #c39973;
}
.companyworks-notices-wrapper{
    width:100%;
    min-height:75vh;

    display: flex;
    justify-content: center;
    align-items: center;
    ;
}

.companyworks-notices-wrapper a {
    color: blue;
}

.companyworks-notices-wrapper .companyworks-notice-error {
    color:red;

}

#nav-container {
    position: absolute;

    height: 100%;
    width: 100%;
    pointer-events: none;
}
#nav-container .bg-next-nav-container {
    position: absolute;

    right: 0;
    width: 100%;
    height: calc(100% - 70px);
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    background: #000;
}
#nav-container:focus-within .bg-next-nav-container {
    visibility: visible;
    opacity: .6;
}
#nav-container * {
    visibility: visible;
}

.button-nav-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    border-radius: 0;
    height: 70px;
    width: 30px;
    cursor: pointer;
    pointer-events: auto;
    margin-right: 25px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.icon-bar {
    display: block;
    width: 100%;
    height: 3px;
    background: #aaa;
    transition: .3s;
}
.icon-bar + .icon-bar {
    margin-top: 5px;
}

#nav-container:focus-within .button-nav-container{
    pointer-events: none;
    margin-right:300px
}
#nav-container:focus-within .icon-bar:nth-of-type(1) {
    transform: translate3d(0,8px,0) rotate(45deg);
}
#nav-container:focus-within .icon-bar:nth-of-type(2) {
    opacity: 0;
}
#nav-container:focus-within .icon-bar:nth-of-type(3) {
    transform: translate3d(0,-8px,0) rotate(-45deg);
}

#nav-content {
    z-index:100000;
    padding: 20px;
    width: 90%;
    max-width: 300px;
    position: absolute;
    top: 0;
    right: 0;
    height: calc(100% - 70px);
    background: #ececec;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    transform: translateX(100%);
    transition: transform .3s;
    will-change: transform;
    contain: paint;
}

#nav-content ul {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#nav-content li a {
    padding: 10px 5px;

    text-transform: uppercase;
    transition: color .1s;
}

#nav-content li a:hover {
    color: #C39973!important;
}

#nav-content li:not(.small) + .small {
    margin-top: auto;
}

.small {
    display: flex;
    align-self: center;
}

.small a {
    font-size: 12px;
    font-weight: 400;
    color: #888;
}
.small a + a {
    margin-left: 15px;
}

#nav-container:focus-within #nav-content {
    transform: none;
}

/******** camera***************/
.btn.show-camera {
    z-index:999;
    background: #efc468;
    border-radius: 0;
    color: #232323;
    display: inline-block;
    font-size: 1.4rem;
    position: fixed;
    right: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform-origin: bottom right;
    width: 150px;
}

.video-popup .iframe-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-popup{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
  cursor: pointer;
  z-index:10000;
  display:none;
  /*visibility: hidden;*/
  
}

/*****popup gallery image modal******/
.popup-image-gallery-modal .modal-gallery-img , .popup-event-modal .modal-event{
    position: absolute;
    width:80%;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index:1038;
   
}

.popup-image-gallery-modal,.popup-event-modal{
     overflow: scroll;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
  cursor: pointer;
  z-index:1037;
  display:none;
  /*visibility: hidden;*/
  
}

/*****popup image modal******/
.popup-image-modal .modal-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-image-modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
  cursor: pointer;
  z-index:10000;
  display:none;
  /*visibility: hidden;*/
  
}


.popup-image-modal .modal-img img{
 width: clamp(1em, 100%, 40em);
 transition: unset !important;
}

/*****modal******/
.input-lg {
    font-size: 15px!important;
}
.close {
    float:unset!important;
}
.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
}
.modal-content {
    max-width: 700px;
    /* To center horizontally */
    margin: 0 auto;
}
.form-group {
    margin-bottom: 15px!important;
}

/*****Dashboard navbar ******/
.nav-dashboard-wrapper{
    margin: 6px 20px;
    text-align: left;
}
a.before:hover:before,a.after:hover:after{
    width:100%;
}
a.before:before,a.after:after{
    content: "";
    transition:0.5s all ease;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    position:absolute;
}
a.before:before{
    top:-0.25em;
}
a.after:after{
    bottom:-0.25em;
}
a.before:before,a.after:after{
    height:5px;
    height:0.35rem;
    width:0;
    background:#C39973;
}
.square{
    box-sizing:border-box;
    margin-left:-0.4em;
    position:relative;
    overflow:hidden;
    padding: 9px;
    top: 20px;
}
.square a{
    position:static;
    padding:0.2em 0.4em;
}
.square:before,.square:after{
    content: "";
    box-sizing:border-box;
    transition:0.25s all ease;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    position:absolute;
    width:5px;
    width:0.35rem;
    height:0;
    background:#C39973;
}
.square:before{
    left:0;
    bottom:-0.2em;
}
.square.individual:before{
    transition-delay:0.6s;
}
.square:after{
    right:0;
    top:-0.2em;
}
.square.individual:after{
    transition-delay:0.2s;
}
.square a:before{
    left:0;
    transition:0.25s all ease;
}
.square a:after{
    right:0;
    transition:0.25s all ease;
}
.square.individual a:after{
    transition:0.25s all ease 0.4s;
}
.square:hover:before,.square:hover:after{
    height:calc(100% + 0.4em);
}
.square:hover a:before,.square:hover a:after{
    width:100%;
}

/*GRID TABLE DASHBOARD*/
.grid-table {
    display: grid;
    margin: 0 auto;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
    align-items: top;
    background: rgba(250, 250, 250, 0.9);
    border-radius: 0 27px;
}
.grid-table-row.apartment-grid-table:hover:not(:first-child) {
    background: #e5d7c8!important;
}

/**********events***********/

.event__section__heading {
  margin: 30px 0 20px;
  background: #04695e;
  padding: 20px;
}
.event__section__heading h2{
   color: white !important; 
}

.event__article {
  border: 1px solid #dbdbdb;
  margin: 0 0 20px;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.06);
  -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.06);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
}
.event__article__content {
  padding: 15px 25px 20px 15px;
}

.event__article__category {
  color: #AD9E85;
  letter-spacing: 0.075rem;
  line-height: 16px;
  margin: 0 0 5px;
  font-weight: 700;
  text-transform: uppercase;
}

.event__article__title a {
  display: block;
}
.event__article__title a:hover {
  color: #444;
}
.event__article__footer {
  color: #818181;
  font-size: calc(0.8em* var(--text-multiplier));
  margin-top: 10px;
}
.event__article__author {
  font-weight: 700;
}
.event__article__date::after {
  content: "•";
  padding: 0 0.5rem;
}



.ribbon {
  position: absolute;
  left: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}
.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#F70505 0%, #8F0808 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; left: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #8F0808;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #8F0808;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #8F0808;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #8F0808;
}


/***********media****************/

/* desktop */
@media (min-width: 700px) {
  
  .article {
    display: flex;
  }
  .article__content {
    padding: 24px 65px 55px 29px;
  }
  .article__photo {
    order: 2;
  }
  .article__image {
    width: 395px;
    max-width: 395px;
  }
  .article__footer {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0 29px 27px;
  }
}

@media only screen and  (max-width: 800px) {
    .grid-table {
        background: transparent;
        grid-row-gap: 2rem;
        box-shadow: none;
    }
}
.grid-table-row {
    display: grid;

}
.apartment-grid-table{
    grid-template-columns: repeat(2, 1fr) repeat(2, 1fr) repeat(4, 1fr);
}


.payment-grid-table{
    grid-template-columns: repeat(5, 1fr);
}
@media only screen and  (max-width: 800px) {
    .grid-table-row {
        grid-template-columns: 1fr 1fr 1fr;
        background: rgba(250, 250, 250, 0.9);
        box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
        border-radius: 0.5rem;
    }
}
/*@media only screen and  (max-width: 400px) {
  .grid-table-row {
    grid-template-columns: 1fr 1fr ;
  }
}*/
.grid-table-row:not(:last-child) {
    border-bottom: 1px solid #ddd;
}
.grid-table-row:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
    background: #4b4e54;
    /*font-weight: bold;*/
    color:#fff;
}
@media only screen and  (max-width: 800px) {
    .grid-table-row:first-child {
        display: none;
    }
}
.grid-table-cell {
    padding: 1rem;
}
@media only screen and  (max-width: 800px) {
    .grid-table-cell {
        padding: 0 0 1rem 0;
        text-align: center;
    }
}

@media only screen and  (max-width: 800px) {
    .grid-table-cell:first-child:before {
        background: #4b4e54!important;
        color:#fff!important;
    }
    .grid-table-cell:before {
        content: attr(data-title);
        font-weight: bold;
        color:#000;
        display: block;
        background: #c39973;
        ;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        /*font-size: 1rem;*/
    }
    .grid-table-cell:first-child {
        grid-column-start: 1;
        grid-column-end: 5;
        border-bottom: 1px solid #ddd;
    }
    .grid-table-cell:first-child:before {
        border-radius: 0.5rem 0.5rem 0 0;
    }
}
@media only screen and  (max-width: 800px) {
    .grid-table-cell:nth-child(5) {
        grid-column-start: 1;
    }

    .grid-table-cell:last-child {
        grid-column-start: 1;
        grid-column-end: 5;
    }
}

