/* ==========================================
   RESET
========================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f4f6f8;
    color:#333;
    line-height:1.5;
}

a{
    text-decoration:none;
    color:#0066cc;
}

a:hover{
    color:#e74c3c;
}

ul{
    list-style:none;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* ==========================================
   LAYOUT
========================================== */

.container{
    width:1200px;
    margin:0 auto;
}

.container-style{
    background:#fff;
    box-shadow:0 0 15px rgba(0,0,0,.1);
}

.contents{
    padding:15px;
}

.clearfix::after{
    content:"";
    display:block;
    clear:both;
}

/* ==========================================
   TOP NAVIGATION
========================================== */

#global-navi{
    background:#222;
}

#global-navi ul{
    display:flex;
    justify-content:flex-end;
}

#global-navi li a{
    display:block;
    color:#fff;
    padding:10px 15px;
    font-size:14px;
}

#global-navi li a:hover{
    background:#444;
}

/* ==========================================
   HEADER
========================================== */

#header{
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.logo-holder{
    width:40%;
}

.site-name h1{
    font-size:32px;
    color:#0d47a1;
}

.site-name h1 a{
    color:#0d47a1;
}

.site-name-child{
    color:#777;
    margin-top:5px;
}

#top-ad{
    width:55%;
    text-align:right;
}

/* ==========================================
   MAIN MENU
========================================== */

nav{
    background:#1565c0;
    margin-top:15px;
}

nav ul{
    display:flex;
    flex-wrap:wrap;
}

nav ul li{
    border-right:1px solid rgba(255,255,255,.2);
}

nav ul li a{
    color:#fff;
    display:block;
    padding:14px 18px;
    font-size:14px;
}

nav ul li a:hover{
    background:#0d47a1;
}

.dynamic-menu{
    background:#f5f5f5;
    border-top:1px solid #ddd;
}

.dynamic-menu ul{
    justify-content:center;
}

.dynamic-menu a{
    color:#444;
    padding:10px 15px;
}

/* ==========================================
   SIDEBAR
========================================== */

#sidebar{
    float:right;
    width:250px;
}

#sidebar img{
    margin-bottom:10px;
    border-radius:4px;
}

/* ==========================================
   MAIN CONTENT
========================================== */

.part-left{
    float:left;
    width:920px;
    margin-bottom:20px;
}

/* ==========================================
   SEARCH BOX
========================================== */

.verticalslider{
    background:#fff;
    border:1px solid #ddd;
    padding:15px;
    border-radius:5px;
}

fieldset{
    border:1px solid #ddd;
    padding:15px;
    border-radius:4px;
}

fieldset h2{
    margin-bottom:15px;
    color:#1565c0;
}

input[type="text"],
select{
    width:100%;
    padding:10px;
    margin:8px 0;
    border:1px solid #ccc;
    border-radius:4px;
}

.dropmenus1,
.dropmenus2{
    width:100%;
}

input[type="image"]{
    cursor:pointer;
}

/* ==========================================
   PROPERTY SECTIONS
========================================== */

.part-left-premiumproperties,
.part-left-hotproperties{
    margin-top:20px;
    border:1px solid #ddd;
    background:#fff;
}

.part-left-premiumproperties-band,
.part-left-hotproperties-band{
    background:#1565c0;
    color:#fff;
    padding:12px;
}

.part-left-premiumproperties ul,
.part-left-hotproperties ul{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    padding:15px;
}

.part-left-premiumproperties li,
.part-left-hotproperties li{
    width:200px;
    border:1px solid #eee;
    padding:10px;
    background:#fafafa;
    text-align:center;
    transition:.3s;
}

.part-left-premiumproperties li:hover,
.part-left-hotproperties li:hover{
    transform:translateY(-4px);
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.property-id-holder{
    background:#f2f2f2;
    padding:5px;
    margin-top:8px;
    font-size:13px;
}

.property-id{
    color:#d32f2f;
    font-weight:bold;
}

.title{
    display:block;
    margin-top:10px;
    font-size:14px;
    font-weight:bold;
}

/* ==========================================
   POSTS SECTION
========================================== */

.half-width-left,
.half-width-right{
    width:49%;
    float:left;
    margin-bottom:20px;
}

.half-width-right{
    float:right;
}

.posts-head{
    background:#1565c0;
    color:#fff;
    padding:12px;
}

.posts-index{
    padding:12px;
    background:#fff;
}

.posts-index:hover{
    background:#f9f9f9;
}

.posts-head-index-holder{
    border:1px solid #ddd;
    background:#fff;
}

/* ==========================================
   MOBILE SEARCH
========================================== */

.part-left-mobile{
    display:none;
}

.mobile-search{
    background:#fff;
    border:1px solid #ddd;
    padding:15px;
    margin-bottom:15px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1200px){

    .container{
        width:95%;
    }

    .part-left{
        width:100%;
    }

    #sidebar{
        width:100%;
        float:none;
        display:flex;
        gap:10px;
        flex-wrap:wrap;
        margin-top:20px;
    }
}

@media(max-width:768px){

    #header{
        flex-direction:column;
        text-align:center;
    }

    .logo-holder,
    #top-ad{
        width:100%;
    }

    nav ul{
        flex-direction:column;
    }

    .half-width-left,
    .half-width-right{
        width:100%;
        float:none;
    }

    .mobile-hidden{
        display:none !important;
    }

    .part-left-mobile{
        display:block;
    }

    .part-left{
        width:100%;
    }

    .part-left-premiumproperties li,
    .part-left-hotproperties li{
        width:100%;
    }
}