/*
Theme Name: Direct Villas
Theme URI: http://www.directvillasuk.com/
Description: Direct Villas
Version: 1.00
Author: Headland
*/


/* General ============================ */

*,
html {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    outline: 0;
    transition: all .3s ease-in-out;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout ============================ */

#pagewrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 150px 30px 30px 30px;
    
}

.blog-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blog-wrapper .left {
    flex: 1;
    margin-right: 60px;
}

.blog-wrapper .right {
    width: 250px;
}

.subpageheaderwrapper {
    padding: 30px 0;
}

.subpageheader .title {
    font-weight: 800;
    font-size: 1.3em;
    margin: 0 0 1px 0;
}

.subpageheader p {
    color: #616161;
    font-size: .9em;
    font-weight: 600;
    margin: 0;
}

/* Header ============================ */

header {
  background: #ff9800;
  height: 63px;
  position: fixed;
  top: 0;
  transition: top 0.2s ease-in-out;
  width: 100%;
  z-index: 1; 
}


/* Content ========================= */

.gradbox {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 50px;
}

.gradbox p,
.gradbox p a {
    color: #616161;
    line-height: 1.5em;
    font-size: .9em;
}

.attachment-post-thumbnail {
    width: 40%;
    margin-right: 30px;
}

.gradbox .content h1 {
    margin: 0;
    font-size: 1.1em;
}

.gradbox .content h1 a {
    color: #242424;
    font-weight: 600;
}

.gradbox .content .post-date {
    color: #616161;
    margin: 5px 0 0 0;
    font-size: .8em;
    font-weight: 600;
}


.gradbox .content .post-excerpt a {
    color: #616161;
}

.gradbox .content .post-excerpt p {
    padding-left: 0 !important;
}

.gradbox .content .post-excerpt em {
    font-style: normal;
}

.gradbox .content .post-excerpt .more-link {
    display: table;
    font-size: .9em;
    font-weight: 800;
    margin-top: 15px;
}


/* Sidebar ========================== */

.widget_search,
#globalNav ul,
.widget li {
	list-style-type: none;
	list-style-image: none;
	margin-left: 0;
	padding-left: 0;
}

.property-focus-wrap {
    margin-bottom: 40px;
}

.property-focus-wrap h3,
.widgettitle {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 700;
}

#globalNav {
    width: 100%;
}

#globalNav ul {
    margin-bottom: 40px;
}

#globalNav a {
    font-size: .9em;
    color: #616161;
    line-height: 1.5em;
}

#globalNav a:hover {
    color: #454545;
}

.widget_search {
    margin-bottom: 40px;
}

.screen-reader-text {
    display: none;
}

.searchform div {
    display: flex;
    flex-direction: row;
}

.searchform div input[type="text"] {
    flex: 1;
    padding: 10px;
    font-family: "Lato", sans-serif;
    font-size: .9em;
    color: #616161;
    border: 1px solid #e2e2e2;
    outline: 0;
    -webkit-appearance: none;
}

.searchform div input[type="submit"] {
    width: auto !important;
    padding: 10px;
    display: inline-block;
    border: 0;
    color: white;
    font-family: "lato",sans-serif;
    font-weight: 600;
    font-size: .8em;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
    transition: all .3s ease-in-out;
}

/* Single Post ============================ */


#theContent p,
#theContent li {
    font-size: .9em;
    color: #616161;
    line-height: 1.5em;
    display: block;
    margin: 0 0 25px 0;
}

#theContent li {
    list-style: circle;
}

#theContent em {
    display: block;
}

#theContent br {
    line-height: 35px;
    display: block;
}

#theContent a {
    color: #242424 !important;;
}

.single-post h1 {
    font-size: 1.9em;
    font-weight: 600;
    border-top: 1px solid #e0e0e0;
    margin-top: 4px;
    padding-top: 30px;
}

.single-post h1 a {
    color: #242424;
    pointer-events: none;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 40px;
}

.navigation div {
    font-size: .9em;
    font-weight: 700;
    width: calc(100% / 2);
}

.navigation .alignright {
    text-align: right;
}

.navigation div a {
    font-size: .9em;
    font-weight: 700;
}

/* Property Focus ====================== */

.one-third-comm a {
    color: #242424;
    font-weight: 600;
    font-size: .8em;
    display: block;
    margin: 7px 0 3px 0;
}

.one-third-comm span {
    color: #616161;
    font-size: .7em;
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

    
/* Breakpoints ============================ */

@media only screen and (max-width: 900px) {
    
    .gradbox {
        flex-direction: column;
    }
    
    .attachment-post-thumbnail {
        width: auto;
        margin: 0 0 30px 0;
    }
}

@media only screen and (max-width: 640px) {
    
    .blog-wrapper {
        flex-direction: column;
    }
    
    .blog-wrapper .left {
        margin-right: 0;
    }
    
    .blog-wrapper .right {
        width: 100%;
    }
    
    .single-post h1 {
        font-size: 1.3em;
    }
    
    .navigation {
        margin-bottom: 60px;
    }
    
    .navigation div {
        width: calc(100% / 1);
    }
    
    .navigation .alignright {
        text-align: left;
        margin-top: 20px;
    }
}
















