#sub-page header  {
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15) !important;
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15) !important;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15) !important;
    transition: .4s;
}

#sub-page .container .content:first-child {
    padding-top: 140px;
}

#sub-page .container .content p {
    margin-bottom: 10px;
}

#sub-page .container .content p:last-child {
    margin-bottom: 0;
}

#sub-page .container .content p a {
    color: #07d1c5;
    text-decoration: underline;
}

#sub-page .container .content p a:hover {
    color: #252a32;
    text-decoration: underline;
}

#sub-page .container .content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    position: relative;
}

#sub-page .container .content h2:after {
    content: "";
    position: absolute;
    top: 55%;
    right: auto;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background-color: #07d1c5;
    transition: all .3s;
    margin-top: -1px;
    margin-left: 10px;
}

#sub-page .container .content img {
    margin-top: 20px;
    margin-bottom: 20px;
}

#sub-page .container .content img:first-child {
    margin-top: 0;
}

/* Page article property */ 

section.gallery-content .container {
    padding-top: 135px;
}

section.gallery-content .fotorama img.fotorama__img {
	width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    object-fit: cover;
}

.content-property strong {
    font-weight: 700;
    color: #07d1c5;
}

.content-property .resume span {
    font-size: 15px;
    color: #888;
    text-transform: uppercase;
    margin-right: 5px;
    display: inline-block;
    margin-top: 5px;
    padding-right: 10px;
    line-height: 1;
    border-right: 1px solid #eee;
}

.content-property h1 {
    border-top: 1px solid #ddd;
    margin-top: 2px;
    padding-top: 8px;
    line-height: 1.2;
    margin-bottom: 5px;
}

.content-property .details {
    border-bottom: 1px solid #eee;
    margin-bottom: 7px;
}

.content-property .details h6 {
    color: #888;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    margin-right: 5px;
}

.content-property .details span {
    font-size: 12px;
    line-height: 30px;
    display: inline-block;
    margin-right: 10px;
    color: #888;
    position: relative;
}

.content-property .details span img {
    height: 20px;
    margin-right: 2px;
    position: relative;
    top: 5px;
}

.content-property .details span legend {
    position: absolute;
    top: 25px;
    left: 0;
    background: #07d1c5;
    padding: 7px 4px;
    line-height: 1;
    text-align: center;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    min-width: 90px;
    display: none;
}

.content-property .details span:hover legend {
    display: block;
}

.content-property .description {
    color: #888;
}

.full-description h2 {
    margin-bottom: 15px;
    position: relative;
}

.full-description h2:after {
    content: "";
    position: absolute;
    top: 55%;
    right: auto;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background-color: #07d1c5;
    transition: all .3s;
    margin-top: -1px;
    margin-left: 10px;
}

.content-property .full-description {
    margin-top: 25px;
}

.content-property .full-description p {
	margin-bottom: 10px;
}

.content-property .full-description p:last-child {
	margin-bottom: 0;
}


/* Page offre properties */

.search-properties {
    background: #f8f8f8;
    padding: 20px;
    border: 1px solid #cccc;
}

.search-properties label {
    display: block;
    font-weight: 300;
    font-size: 14px;
}

.search-properties select,
.search-properties input[type="number"],  
.search-properties input[type="text"] {
    width: 100%;
    height: 37px;
    border-radius: 0;
    outline: 0;
    border: 1px solid #cccc;
    padding: 0 10px;
    color: #666;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    background: #fefefe;
    font-size: 14px;
}

.search-properties select {
    background: #fefefe url(img/arrow-select.png) no-repeat;
    background-position: center right 5px;
    padding-right: 22px;
}

.search-properties input[type="reset"],
.search-properties input#resetbt {
    border: 0;
    background: none;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #666;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
}

.search-properties input[type="reset"]:hover,
.search-properties input#resetbt:hover {
    color: #07d1c5;
    text-decoration: underline;
}

.properties-list-content .row {
    padding: 0 !important;
    margin: 0 !important;
    margin-left: -40px !important;
}

.properties-list-content a {
    width: calc(33.3333% - 40px);
    margin-left: 40px;
    display: block;
    float: left;
    box-sizing: border-box;
}

@media only screen and (max-width: 749px) {
/* start */

.properties-list-content a {
    width: calc(50% - 40px);
}

/* end 749 */
}

@media only screen and (max-width: 499px) {
/* start */

.btn {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 13px;
}

.properties-list-content a {
    width: calc(100% - 40px);
}

.search-properties {
    padding: 15px;
}

.search-properties select, .search-properties input[type="number"],
.search-properties input[type="text"] {
    height: 30px;
    line-height: 30px;
    margin-bottom: 5px;
    font-size: 12px;
}

.search-properties select {
    background: #fefefe url(img/arrow-select.png) no-repeat;
    background-position: center right 0px;
}

/* end 499 */
}

.properties-list-content a:hover {
	text-decoration: none;
}

.properties-list-content .item {
    position: relative;
    cursor: pointer;
}

.properties-list-content .img {
	width: 100%;
	line-height: 0;
	overflow: hidden;
}

.properties-list-content .img img {
	width: 100%;
    height: 300px;
    object-fit: cover;
    -ms-transform: scale(1, 1);
  	-webkit-transform: scale(1, 1);
  	transform: scale(1, 1);
  	transition: .5s;
    margin-bottom: 3px !important;
}

.properties-list-content a:hover .img img {
	-ms-transform: scale(1.5, 1.5);
  	-webkit-transform: scale(1.5, 1.5);
  	transform: scale(1.5, 1.5);
  	transition: 2s;
}

.properties-list-content .zoom {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0, .55);
    transition: .3s;
    opacity: 0;
}

.properties-list-content a:hover .zoom {
    transition: .3s;
    opacity: 1;
}

.properties-list-content .zoom .pic {
    background-image: url(img/zoom.png);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 40%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) 
}

@media only screen and (max-width: 1024px) {
/* start */

.properties-list-content .img img {
    height: 200px;
}

/* end 1024 */
}

.properties-list-content .inner {
    padding-bottom: 30px;
    overflow: hidden;
}

.properties-list-content .description {
    display: flex;
    align-items: center;
    min-height: 32px;
}

.properties-list-content .description span {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    margin-right: 5px;
    display: inline-block;
    margin-top: 5px;
    padding-right: 5px;
    line-height: 1;
    border-right: 1px solid #eee;
}

.properties-list-content .description span:last-child {
    margin-right: 0;
    padding-right: 0;
    border: 0;
}

.properties-list-content .inner h3 {
	font-size: 23px;
    border-top: 1px solid #ddd;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.properties-list-content .inner:hover h3 {
    color: #07d1c5;
}

.properties-list-content .details {
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.properties-list-content .details span {
    font-size: 12px;
    line-height: 30px;
    display: inline-block;
    margin-right: 10px;
    color: #888;
    position: relative;
}

.properties-list-content .details span img {
    height: 20px;
    margin-right: 2px;
    position: relative;
    top: 5px;
    margin-bottom: 0 !important;
}

.properties-list-content .details span legend {
    position: absolute;
    top: 25px;
    left: 0;
    background: #07d1c5;
    padding: 7px 4px;
    line-height: 1;
    text-align: center;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    min-width: 90px;
    display: none;
}

.properties-list-content .details span:hover legend {
    display: block;
}

.page-count {
    margin: auto;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    padding-left: 40px;
}

.page-count a {
    width: unset;
    margin-left: inherit;
    display: inline-block;
    float: none;
    background: #07d1c5;
    width: 35px;
    line-height: 35px;
    text-align: center;
    color: #fff;
}

.page-count a:hover {
    background: #252a32;
}