﻿body {
}

#hideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#fade {
    background: #706254;
    position: fixed;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=70);
    opacity: .70;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /*--IE 8 Transparency--*/
    z-index: 10;
    top: 0;
    left: 0;
}

.popup_block {
    background: #fff;
    padding: 5px 15px;
    border: 3px solid #ddd;
    float: left;
    width: 480px;
    position: fixed;
    top: 15%;
    left: 50%;
    margin: 0 0 0 -250px;
    z-index: 100;
    box-shadow: 0 0 5px 2px #ddd;
}

    .popup_block .popup {
        float: left;
        width: 100%;
        background: #fff;
        margin: 10px 0;
        padding: 20px 4px;
        border: 1px solid #bbb;
    }

/*.popup h3 {
	margin: 0 0 20px;
	padding: 5px 10px;
	border-bottom: 1px solid #bbb;
	font-size: 1.5em;
	font-weight: normal;
}*/
.popup p {
    padding: 5px 10px;
    margin: 5px 0;
}

.cntrl {
    position: absolute;
    left: 458px;
    top: -15px;
    cursor: pointer;
    border: 0px;
}

/*--Making IE6 Understand Fixed Positioning--*/

*html #fade {
    position: absolute;
    top: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop);
}

*html .popup_block {
    position: absolute;
    top: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +((documentElement.clientHeight-this.clientHeight)/2) : document.body.scrollTop +((document.body.clientHeight-this.clientHeight)/2));
    left: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollLeft + (document.body.clientWidth /2 ) : document.body.scrollLeft + (document.body.offsetWidth /2 ));
}

/*--IE 6 PNG Fix--*/

img {
    behavior: url(../../Includes/Scripts/iepngfix.htc);
}

#size {
    overflow: auto;
    height: 340px;
    vertical-align: top;
    padding: 10px;
    color: #534170;
}

.proTitle {
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    line-height: 32px;
    display: block;
    color: #4c4b4b;
    margin-left: 5px;
}

.proHead {
    color: #3D5D96;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 5px;
    padding-left: 10px;
    margin: 0px;
    border-bottom: 1px solid #bbb;
}

.proDate {
    color: red;
    font-weight: 600;
    padding-left: 10px;
    text-decoration: none;
    font-size: 14px !important;
}

.proDesc {
    font-family: proxima-nova,Helvetica,Arial,sans-serif;
    font-weight: normal;
    text-decoration: none;
    font-size: 13px;
    color: #000000;
}

    .proDesc a {
        font-family: proxima-nova,Helvetica,Arial,sans-serif;
        font-weight: normal;
        text-decoration: none;
        font-size: 12px;
        color: blue;
        border-bottom: 1px dashed blue;
    }

        .proDesc a:hover {
            font-family: proxima-nova,Helvetica,Arial,sans-serif;
            font-weight: normal;
            text-decoration: none;
            font-size: 12px;
            color: blue;
            border-bottom: 1px dashed blue;
        }

.proEvtDate {
    color: red;
    font-weight: 600;
    padding-left: 5px;
    text-decoration: none;
    font-size: 12px !important;
}

/* View Floorplan popup */
#fp_size {
    overflow: auto;
    height: 450px;
    vertical-align: top;
    padding: 0 10px;
    color: #534170;
    margin-top:8px;
}

.fp_popup_block {
    background: #fff;
    padding: 5px 15px;
    border: 3px solid #ddd;
    float: left;
    width: 65%;
    position: fixed;
    top: 8%;
    left: 18%;
    margin: 0 auto;
    z-index: 100;
    box-shadow: 0 0 5px 2px #ddd;
}

.fp_cntrl {
    position: absolute;
    right: -12px;
    top: -15px;
    cursor: pointer;
    border: 0px;
    z-index: 9999;
}

.in_class, .out_class {
    background: transparent;
    border: 1px solid #ccc;
    font-size: 20px;
    border-radius: 5px;
    outline: 0;
    cursor: pointer;
}

.in_class {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    padding: 3px 12px;
}

.out_class {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    padding: 3px 13px;
}

/* Smartphones (portrait and landscape) ---------- */
@media screen and (min-width: 320px) and (max-width: 480px){
    
}
/* Smartphones (portrait) ---------- */
@media screen and (max-width: 320px){
     .fp_popup_block {
        width: 95%;
        position: fixed;
        top: 25px;
        left: 10px;
    }

    #fp_size {
        height:450px;
    }
}
/* Smartphones (landscape) ---------- */
@media screen and (min-width: 321px){
  .fp_popup_block {
        width: 95%;
        position: fixed;
        top: 25px;
        left: 10px;
    }
}
/* Tablets, iPads (portrait and landscape) ---------- */
@media screen and (min-width: 768px) and (max-width: 1024px){
    .fp_popup_block {
        width: 95%;
        position: fixed;
        top: 35px;
        left: 8px;
    }
}
/* Tablets, iPads (portrait) ---------- */
@media screen and (min-width: 768px){
    .fp_popup_block {
        width: 95%;
        position: fixed;
        top: 20%;
        left: 20px;
        height:auto;
    }
}
/* Tablets, iPads (landscape) ---------- */
@media screen and (min-width: 1024px){
    .fp_popup_block {
       width: 95%;
       position: fixed;
       top: 15%;
       left: 28px;
       height:auto;
    }
}
/* Desktops and laptops ---------- */
@media screen and (min-width: 1224px){
    .fp_popup_block {
       width: 64%;
       position: fixed;
       top: 8%;
       left: 18%;
       margin: 20px auto;
       height:auto;
    }
}
/* Large screens ---------- */
@media screen and (min-width: 1824px){
   .fp_popup_block {
        width: 64%;
       position: fixed;
       top: 5%;
       left: 18%;
       margin: 20px auto;
       height:auto;
    }
}

/* Iphone 5 */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px)and (-webkit-min-device-pixel-ratio: 2)and (orientation: landscape) {
    #fp_size {
        height:230px !important;
    }
     #size {
        height:160px;
    }

}

/* -----------  Galaxy ----------- */
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    #fp_size {
        height:270px !important;
    }
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 818px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
    #fp_size {
        height:280px;
    }
     #size {
        height:160px;
    }
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) { 
    #fp_size {
        height:310px;
    }
     #size {
        height:160px;
    }

}

/* ----------- iPhone X ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3)and (orientation: landscape) {
     #fp_size {
        height: 258px;
    }
    .fp_popup_block{
        top:7%;
    }
    #size {
        height:190px;
    }
}

/* portrait */
/* Iphone 5 */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px)and (-webkit-min-device-pixel-ratio: 2)and (orientation: portrait) {
     .fp_popup_block {
        top: 5%;
    }
}

/* -----------  Galaxy ----------- */
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
     .fp_popup_block {
        top: 5%;
    }
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 818px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    .fp_popup_block {
        top: 5%;
    }
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) { 
      .fp_popup_block {
        top: 15%;
    }
}

/* ----------- iPhone X ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3)and (orientation: portrait) {
    .fp_popup_block {
        top: 15%;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .fp_popup_block {
        top: 10%;
    } 
    #fp_size {
        height: 450px;
    }
}
#ContentPlaceHolder1_divTableList .chck_arrow:checked ~ .tab-content {
    overflow: auto;
}