span.school-image {
    width: 100%;
    background-size: cover;
    flex-basis: 250px;
    background-size: cover;
}

.TopVideo{
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.NewArticleDiv.Top3 iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   /* height:492px;*/
   height: 100%;
}
#Article span.school-image {
    flex-basis: 180px;
}
span.school-info {
    width: 100%;
	min-height: 120px;
	display: flex;
    flex-direction: column; 
}
span.school-info p {
    margin-bottom: 5px;
}
.school-info-main {
    padding: 30px 20px 0 0px;
    flex: 1 0 50%;
    max-width: 50%;
    align-items: stretch;
    justify-content: space-around;
}

#Article .school-info-main{
	flex: 1 0 32%;
    max-width: 32%;
    padding: 30px 5px 0 0px;
}
.flat .school-info-content{
    background-color: #e6e2da;
    border: 1px solid #dedede;
}
.flat .image-container {
    width: 100%;
    flex-basis: 250px;
    background-size: cover;
}

.flat span.school-image {
    width: 100%;
    background-size: cover;
    height: 100%;
    display: inline-flex;
}
.property-icon {
    position: absolute;
    display: flex;
    top: 0px;
    left: 0px;
    z-index: 2;
}
.midland-icon{
 	line-height: 20px;
    font-size: 0.875rem;
    padding: 6px 6px;
    min-width: 40px;
    text-align: center;
    margin: 5px;
}
span.discount-icon {
    background-color: rgb(255, 77, 79);
    color: rgb(255, 255, 255);
}
span.sole-icon {
    background-color: rgb(255, 225, 0);
    color: rgb(23 23 23);
}
span.below-icon {
    background-color: rgb(59, 191, 106);
    color: rgb(255, 255, 255);
}
i.vr-icon {
    display: flex;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url(https://res.midland.com.hk/common/static/assets/stack/svg/icons.svg#ai_vr);
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    left: 5px;
    top: 210px;
    position: absolute;
    height: 15px;
    width: 40px;
    margin: 5px;
    padding: 15px;
}
.school-info-content {
     padding: 5px 5px;
    background-color: #e6e2da;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.school-info-content:hover {
    box-shadow: 0 0 4px 2px rgba(100, 100, 100, 0.4);
}
.school-container {
    flex-flow: row wrap;
    justify-content: space-between;
    display: flex;
    align-content: center;
    width: 100%;
}
span.post-info {
    bottom: 0px;
    width: 100%;
    position: absolute;
    margin-left: -10px;
    margin-bottom: 10px;
}

.post-content {
    float: right;
}
span.count {
    background-color: #968c8cdd;
    color: #fff;
    padding: 0px 5px;
}
.school-search form {
    padding: 20px 30px;
    margin: 50px 10%;
    background: #c2b9a7;
    color: #fff;
  
}

.school-type-button input[type="radio"] {
    display:none; 
}
.school-type-button label {
   display: inline-block;
    padding: 0px 20px;
    border-bottom: 3px solid rgba(0,0,0,0);
    font-weight: bold;
    margin-bottom: 5px;
    
}
.school-type-button label:hover {
 border-bottom: 3px solid #dcdcdc;
}
/*.school-type-button:first-child label{
	padding-left: 0px;
}*/


.school-type-button  input[type="radio"]:checked + label { 
   border-bottom: 3px solid #dcdcdc;
}
.school-search fieldset {
    border: 0;
}

#cal-selector span.selected{
	width: 100px;
}
div.selectBox {
    position: relative;
    display: inline-block;
    cursor: default;
    text-align: left;
    line-height: 30px;
    clear: both;
    color: rgb(114, 97, 97);
   	margin: 0px 10px 5px 0px;
    /* margin: 0px 10px 0px 0px; */
    vertical-align: top;
    /* border: 2px; */
}

span.selectArrow, span.selected {
    position: relative;
    float: left;
    /* height: 30px; */
    z-index: 1;
    line-height: 30px;
}
span.selected {
    padding-right: 20px;
    text-indent: 10px;
    border-right: none; 
    color: #000;
    background: #f6f6f6;
    overflow: hidden;
    background: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    
}
span.selectArrow {
    width: 30px;
    text-align: center;
    font-size: 12px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    background: #dde1e4;
    color: #000;
}
ul.selectOptions {
    position: absolute;
    top: 28px;
    left: 0;
    width: 198px;
    border: 1px solid #ccc;
    /* border-bottom-right-radius: 5px; */
    /* border-bottom-left-radius: 5px; */
    overflow: hidden;
    background: rgb(250, 250, 250);
    padding-top: 2px;
    display: none;
    margin: 0;
    list-style: none inside none;
    padding-left: 0;
    max-height: 200px;
    overflow: scroll;
    z-index: 10;
}
li.selectOption {
    display: block;
    line-height: 20px;
    padding: 5px 0 5px 10px;
    font-size: 12px;
    font-weight: bold;
    font-family: arial, sans-serif;
    list-style: none;
    margin: 0;
}
li.selectOption:hover {
    color: #f6f6f6;
    background: #9ca0a5;
}
input[type="text"] {
    width: calc(100% - 170px);
    line-height: 26px;
    display: inline-block;
}
.school-search button[type="submit"], .school-search  button[type="reset"]{
    float: right;
    margin-right: 5px;
    padding: 5px 10px;
    background-color: #b7a16a;
    color: #fff;
    cursor: pointer;
}
.school-search {
	background: url(/img/education_banner.jpg);
    padding: 20px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 10px;
}
/* The Modal (background) */
.Article.interview .modal {
  opacity:0;
  filter: alpha(opacity=0);
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #c2b9a7;
}

/* Modal Content */
.Article.interview .modal-content {
  position: relative;
 /* background-color: #c2b9a7;*/
  margin: auto;
  padding: 0;
  width: 100%;
  max-width: 1000px;
}

/* The Close Button */
.Article.interview .close {
 	color: #fff;  
    font-size: 30px;
    font-weight: bold;
    float: right;
}

.Article.interview .close:hover,
.Article.interview .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}



.Article.interview h4.page-count {
    position: absolute;
    right: 100px;
    top: 23px;
    color: #111;
}
.photo-top {
    padding-top: 30px;
    padding-bottom: 30px;
}
.right-con {
    line-height: 45px;
    font-size: 30px;
    display: inline-block;
    /* flex: 0 100%; */
    float: right;
}
.Article.interview h4.caption{
    line-height: 45px;
    /* flex: 0 100%; */
    padding-left: 40px;
    color: #fff;
    display: inline-block;
}
.Article.interview h4.pager{
    font-size: 20px;
    color: #fff;
    float: left;
}
.Article.interview .Txt h1.title {
    text-align: left;
	border-bottom: 1px solid #eeeeee;
}
.Article.interview .Txt .Date{
    text-align: left;
}

.prev-thumb {
   width: 147px;
    height: 110px;
    display: inline-block;
    margin: 10px 6px 10px 0px;
    background-size: cover;
    background-repeat: no-repeat;
    /* position: relative; */
    /* float: left; */
}
.preview-container {
    /* text-align: center; */
    display: block;
    width: 100%;
}
.album-container .swiper-slide{
    z-index: 10002;
}
.Article.interview .Txt .Date{

        margin-bottom: 0px;
   
}
.Article.interview .album-container {
		height:600px;
	  }
.Article.interview 	.swiper-container {
      width: 100%;
      height: 600px;
      margin-left: auto;
      margin-right: auto;
    }
.Article.interview    .album-container .swiper-slide {
      background-size: cover;
      background-position: center;
    }
 .Article.interview   .gallery-top {
    	height: 85%;
    	width: 85%;;
	}
.Article.interview    .gallery-thumbs {
      height: 15%;
      box-sizing: border-box;
      padding: 10px 0;
    }
.Article.interview    .gallery-thumbs .swiper-slide {
      width: 25%;
      height: 100%;
      opacity: 0.4;
    }
.Article.interview    .gallery-thumbs .swiper-slide-thumb-active {
      opacity: 1;
    }
.Article.interview    .swiper-button-next.album-next,.Article.interview .swiper-button-prev.album-prev{
    	z-index: 10005;
    }
.Article.interview .swiper-container.gallery-preview-mobile {
    height: 150px;
}    

#Article .school-container{
 justify-content: flex-start;
}
#Article .school-info-main {
    padding: 30px 10px 0px 10px;
}
.school-contact-info {
    margin-top: 20px;
}
.school-contact-info ul {
    list-style: none;
    padding: 0px;
}
/*.interview-tab {
    display: inline-block;
    background-color: #b7a16a;
    color: #ffffff;
    border: 1px solid #b7a16a;
    padding: 5px 20px;
}*/
 ul.tab-container {
    list-style: none;
    margin: 0;
    padding: 0;
    display:flex;
    cursor:pointer;
    margin-top: 20px;
  }
  
 li.interview-tab {
	float: left;
	padding: 10px 25px;
	border: 1px solid #ddd;
	border-bottom: 0;
	background: #fff;
	color: #b7a16a;
	border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-right: 10px;
}
  
 li.interview-tab:hover, li.interview-tab.active {
	background: #b7a16a;
	color: #fff;
	border: 1px solid #b7a16a;
}


 ul.tab-container li:not(:last-child) {
 border-right-width: 0; 
}
.gallery-thumbs{
		opacity:1;	
		filter: alpha(opacity=1);
	}    
form#school_enquiry table {
    width: 100%;
    border: 3px solid #eeeeee;
    border-collapse: collapse;
}
form#school_enquiry td {
    padding: 5px;
    border-top: 2px solid #eeeeee;
   padding: 5px
}
form#school_enquiry td.label {
    border-right: 0px;
} 
form#school_enquiry  th {
    background-color: #b7a16a;
    color: #fff;
}
.input-field input,form#school_enquiry textarea{
	width:100%
}
td.input-field {
    border-right: 2px solid #eeeeee;
}
.email-btn{
    width: 200px;
    padding: 10px;
    margin: 20px;
    background-color: #b7a16a;
    color: #fff;
}
.btn-container {
    text-align: center;
}
.enquiry-form {
    margin-top: 30px;
}
/*.gallery-preview-mobile{
	opacity:0;	
	filter: alpha(opacity=0);
}*/
.preview-container{
		display: block;
	}
.option-right {
   display:inline-block;
   float:right;
	}
.option-left {
    display:inline-block;
}
.school-content{
	padding-bottom: 50px; 
}

.album-container  .swiper-container:hover, a:hover .GlobalArticle, a:hover .GlobalArticle2 .Photo, .WebMenu .SubMenuDiv a:hover .Photo, #Listing a:hover .School {
    box-shadow: 0 0 0px 0px rgba(100, 100, 100, 0.4);
}
.modal-bg{
	width: 100%;
    height: 100%;
    position: fixed;
    background: #000;
    opacity: 0.8;
    top: 0;
    left: 0;
    z-index: -1;
}
.recommandFlat {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    display: flex;
    align-content: center;
    width: 100%;
}
span.more_flat {
    float: right;
    color: #b7a16a;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    text-decoration: underline;
}
.flat span.price {
    font-size: 28px;
    align-items: baseline;
    font-weight: bold;
    /*color: #b7a16a;*/
    color: #000000;
    float: right;
    margin-top: 38px;
}
span.price_over_net_area {
    font-size: 14px;
    color: #736868;
}
span.selling_point {
    float: left;
    background: #eaeaea;
    padding: 1px 10px;
    /* text-align: -webkit-left; */
    margin: 5px 0px;
}
.midlandLogo {
    position: fixed;
    bottom: 2em;
    right: 50px;
    text-decoration: none;
    color: #000000;
    background-color: rgba(235, 235, 235, 0.80);
    font-size: 12px;
    padding: 1em;
    /* display: none; */
    z-index: 100;
}
span.right-info {
 /* flex: 1 0 50%; */
    /* max-width: 50%; */
    text-align: right;
    font-size: 10px;
    color: #828080;
    font-weight: normal;
}
span.left-info {
        /* flex: 1 0 70%; */
    /* max-width: 70%; */
    flex: 1;
}
.core-info{
    display: flex;
    flex: 1;
}
span.other-info {
    display: flex;
    flex: 1;
    align-items: flex-end;
}
.feature-container {
    flex: 1;
    align-items: baseline;
}
.price_container {
   
    display: flex;
    flex-direction: column;
    text-align: right;
}
span.value-icon {
    font-size: 14px;
    line-height: 20px;
    color: rgb(255, 255, 255);
    padding: 0px 10px;
    border-radius: 2px;
    text-align: center;
    white-space: nowrap;
    background-color: rgb(52, 163, 68);
    margin-left: 5px;
    margin-bottom: 5px;
}
span.pre_price {

    font-weight: bold;
    color: rgb(154, 154, 154);
    float: right;
    position: relative;
    font-size: 0.875rem;
    line-height: 22px;
    text-decoration: line-through;
    text-decoration-color: #b7a16a;
}
span.discount_rate {
    margin-left: 7px;
    color: #b7a16a;
}
span.discount-info {
    display: inline-flex;
}
@media only screen and (max-width: 999px) {
	.school-search form {
       margin: 50px 0px;
	}
}
@media only screen and (max-width: 641px) {

	li.interview-tab {
		padding: 5px 5px;
	
	}
	.school-search form {
    margin: 30px 20px;
    padding: 20px 5px;
    }
    .school-info-main ,#Article .school-info-main{
  
    flex: 1 0 50%;
    max-width: 50%;

	}
	.gallery-thumbs{
		opacity:0;	
		filter: alpha(opacity=0);
	}
	.gallery-preview-mobile{
		opacity:1;	
		filter: alpha(opacity=1);
	}
	.preview-container{
		display: none;
	}
	.school-search form {
       margin: 50px 0px;
	}
	.Article.interview h4.caption {
        line-height: 25px;
    font-size: 15px;
	}
	.right-con{
		line-height: 25px;
	}
	.Article.interview h4.pager {
  
    font-size: 15px;
	}
}
@media only screen and (max-width: 426px) {

	
    .school-info-main ,#Article .school-info-main{
  
		flex: 1 0 100%;
		max-width: 100%;

	}
	.school-search form {
       margin: 50px 0px;
	}
	.Article.interview h4.caption {
        line-height: 25px;
    	font-size: 15px;
	}
	.right-con{
		line-height: 25px;
	}
	.Article.interview h4.pager {
   	 font-size: 15px;
	}
	.school-info-main {
    padding: 30px 0px 0 0px;
  
	}
	
}

