/* CSS Document */

@media only screen and (min-width : 768px){ 
    .mobile,
    #content a.button.mobile,
    #content table.list td label{
        display:none;
    }
}
@media only screen and (max-width : 767px){ 
    .desktop,
    #property_picker img.desktop,
    #property_picker a img.desktop{
        display:none;
    }
    html{
        -webkit-text-size-adjust: 100%;
    }
    body{
        text-align: left;
    }
    header{
        width:calc(100% - 40px);
        margin:20px;
    }
    header div,
    header ul,
    header h4{
        display:none;
    }
    header img{
        width:50vw !important;
    }
    header a.mobile.menu{
        position:absolute;
        top:38px;
        right:20px;
        padding-left: 4.5em;
        font-size:15px;
    }
    header a.mobile.menu:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4.5em;
        height: 0.75em;
        border-top: 2.2em double #999;
        border-bottom: 0.75em solid #999;
    }
     header a.mobile.menu:hover{
         opacity:0.8;
    }
    header ul{
        position: absolute;
        top: 0;
        left: 0;
        margin-top:0;
        width:100%;
        z-index:100;
    }
    header ul li{
        display: block;
        background-color:#203c72;
    }
    header ul li:before{
        margin:0;
        content:"";
    }
    header ul li a{
        display:block;
        width:calc(100% - 40px);
        padding:0 20px;
        font-size:16px;
        line-height: 3em;
        color:#FFF;
        border-bottom:1px solid #FFF;
    }
    header ul li a.lighter{
        background-color:rgba(255, 255, 255, 0.25);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
    }
    #property_picker{
        width:calc(100% - 10px);
        margin:0;
        padding:10px 5px;
    }
    #property_picker a{
        margin:0;
    }
    #property_picker img,
    #property_picker a img{
        max-width:81px;
        margin: 0 5px;
        display: block;
        float: left;
    }
    #property_picker a.hidden{
        display:none;
    }
    #property_picker img:first-child{
        margin-left: 5px;
    }
    #content{
        width:calc(100% - 40px);
        margin:20px;
        overflow:visible;
    }
    #content .inner {
        float:none;
        width:100%;
        margin:0;
    }
    #content .inner ul.options{
        width:auto;
        padding:0;
        background:none;
    }
    #content .inner ul.options li{
        float:left;
        clear:left;
        margin:10px 0 10px 0;
        padding:0;
        line-height: 1em;
    }
    #content iframe{
        max-width: 100%;
    }
    #search, #register{
        width:100%;
        float:none;
        clear:none;
    }
    #register{
        margin-top:16px;
    }
    #search label, #register label{
        width:120px;
        float:left;
    }
    .search_result{
        padding-top:0;
    }
    .search_result img{
        float:none;
    }
    .search_result img.flag{
        left:137px;
        right:auto;
        top:0px;
    }
    #content .back{
        margin:0 0 15px 0;
    }
    #photos img.big{
        width:100% !important;
    }
    #photos img.small{
        margin: 0 5px 5px 5px;
        width: 19vw;
    }
    #photos img{
        display:block;
        float:left;
    }
    #photos img.flag{
        float:right;
    }
    #content .property_details h1{
        padding-top:15px;
    }
    #content .register fieldset{
        width:calc(100% - 16px);
    }
    #content .register legend{
        width:calc(100%);
    }
    #content table.split td{
        display:block;
    }
    footer{
        width:calc(100% - 20px);
    }
    footer ul li{
        width:25%;
    }
    footer ul + div,
    footer ul + div + div{
        float:none;
        clear:none;
        width:100%;
    }
    footer ul + div + div + div{
        clear:both;
    }
    footer p{
        line-height: 1.5em;
    }
}