/*
Theme Name: Theme for Georges of Norwood
Author: Vishnu Gunapathi
Author URI: http://www.google.com.au
Version: 1.0
*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, div {
    display: block;
}
body {
    line-height: 1;
}
    
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
button:focus {
    outline:0;
}

/*------------------- Begin --------------------*/

body {
    font-family: sans-serif;
    font-size: 14px;
    color: rgb(20 ,20, 20);
    height: 100%;
    background: linear-gradient(to bottom, #f58220, white, white, white, white);
    background-size: contain;
    background-repeat: no-repeat;
}

/*body * {
    -webkit-transition: all 0.32s ease;
    -moz-transition: all 0.32s ease;
    -o-transition: all 0.32s ease;
    transition: all 0.32s ease;
}*/

a:link, a:visited {
    color: #f58220;
    text-decoration: none;
}

div.container {
    overflow: hidden;
    z-index: 100;
    max-width: 1200px;
    padding: 30px;
    margin: 40px auto;
    border-radius: 5px;
    background-color: white;
    box-sizing: border-box;
    box-shadow: 0 0 135px 0 rgba(0, 0, 0, 0.12);
}

div.left-section {
    float: left;
    display: inline-block;
    width: 28%;
    height: auto;
    box-sizing: border-box;
    padding-right: 10px;
}

div.right-section {
    float: right;
    height: auto;
    width: 70%;
    box-sizing: border-box;
    padding-left: 25px;
    border-left: 1px solid lightgray;
    
}

/*------------------ Text & Image Formatting ----------------------*/

article.post {
    color: rgb(10, 10, 10);
    border-bottom: 1px solid rgb(220, 220, 200);
    padding: 20px 0;
    line-height: 1.6em;
    display: block;
    width: 100%;
    float: left;
}

article.post:last-of-type {
    border-bottom: none;
}

article.excerpt {
    color: gray;
    line-height: 1.6em;
    margin-bottom: 20px;
    overflow: hidden;
}

article.post .date {
    margin-bottom: 7px;
    font-size: 90%;
    font-weight: bold;
}

article.post div.img-container {
    margin-right: 25px;
    margin-bottom: 10px;
    float: left;
}

article.post div.img-container .overlay-text {
    font-size: 13px;
    text-align: center;
}

article.post div.img-container img {
    box-sizing: border-box;
    border: 1px solid rgb(220, 220, 220);
    border-left: 5px solid #f58220;
}

div.excerpt-container {
}

div.excerpt-container:last-of-type {
}

/*-------------------- Header ------------------*/

.header {
   
}

/*-------------------- Footer & Footer Widgets ------------------*/

.footer {
    width: 100%;
}
.footer-social-links {
    width: 100%;
    border-top: 1px solid lightgray;
    margin-bottom: 10px;
    float: left;
    padding-top: 12px;
    box-sizing: border-box;
}

.footer-social-links > p {
    float: left;
    padding: 0; 
    margin: 0;
    height: 34px;
    line-height: 34px;
}

.copy-info {
    color: black;
    font-size: 12px;
    float: left;
}

.author-info {
    color: black;
    font-size: 12px;
    float: right;
}

.footer-social-links li {
    margin-left: 2px;
    display: inline-block;
    list-style-type: none;
    padding: 0;
}

.footer-social-links li img {
    margin: 0; padding: 0;
}

.footer-section-container {
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    width: 100%;
    float: left;
    height: auto;
    display: block;
    font-size: 12px;
    margin-bottom: 16px;
}

.footer-section {
    width: 25%;
    height: auto;
    float: left;
    padding: 16px 0;
    display: block;
}

.footer-section li, 
.footer-section p {
    padding: 0;
    margin: 0;
    color: rgb(18, 18, 18);
    height: auto;
    display: block;
    line-height: 1.7em;
}

.footer-section li h2 {
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
    list-style-type: none;
    font-weight: bold;
    color: #f58220;
}

.footer-section li div {
    margin-bottom: 3px;
}

.footer-section a {
    color: rgb(18, 18, 18);
}

.footer-section a:hover {
    color: #f58220;
}

/*------------------- Home Screen ---------------------*/

.home-screen {
    width: 100%;
    height: 49vh;
    min-height: 290px;
    background-color: black;
    background: url("img/homepage-graphic.jpg");
    background-position: center;
    background-size: cover;
    z-index: -100;
    margin: -40px 0;
    position: relative;
    border-top: 11px solid white;
    border-bottom: 11px solid white;
    text-align: center;
    display: table;
    overflow-x: hidden;

}

.home-screen h1 {
    color: white;
    font-size: 54px;
    letter-spacing: 4px;
    padding: 0 40px;
    font-weight: bold;
    display: table-cell; 
    vertical-align: middle;
    text-shadow: 2px 2px 0 black;
    background: linear-gradient(
        to right, 
        rgba(0, 0, 0, 0.75), 
        rgba(0, 0, 0, 0.3),     
        rgba(0, 0, 0, 0.75)
    );
    background: -webkit-linear-gradient(
        to right, 
        rgba(0, 0, 0, 0.75), 
        rgba(0, 0, 0, 0.3), 
        rgba(0, 0, 0, 0.75)
    );
}

/*------------------ Side Bar ------------------------------*/

.left-section {
    
}

.left-section li, 
.left-section p {
    list-style-type: none;
}

div.rpwwt-post-excerpt {
    line-height: 1.6em;
    padding: 0;
    margin: 0;
    color: rgb(10, 10, 10);
    height: auto;
    display: block;
    padding-bottom: 20px;
    overflow: hidden;
}

.recent-posts-widget-with-thumbnails ul li {
    border-bottom: 1px solid lightgray;
}

.recent-posts-widget-with-thumbnails ul li:last-of-type {
    border-bottom: 0px solid white;
}


.left-section a {
    font-size: 19px;
    margin-bottom: 5px;
    display: block;
}

.left-section h2 {
    text-align: left;
    padding-left: 10px;
    letter-spacing: 2px;
    font-size: 20px;
    padding-bottom: 1px;
    padding-top: 1px;
    margin-bottom: 25px;
    border-left: 5px solid #f58220;
}

.left-section div li img {
   border: 1px solid rgb(230, 230, 230);
   border-left: 5px solid #f58220;
}

.left-section .rpwwt-post-date {
    margin-bottom: 7px;
    font-size: 90%;
    font-weight: bold;
}

/*------------------- Cards --------------------------------*/

.cards-container {
    width: 100%;
    height: auto;
    text-align: center;
    margin-right: -10px;
}

.cards-container li.widget.widget_sp_image {
    display:inline-block;
    border-left: 5px solid #f58220;
    box-sizing: border-box;
    width: 48%;
    height: 200px;
    position: relative;
    box-sizing: border-box;
    z-index: 10px;
    background-color: black;
    overflow: hidden;
    margin-bottom: 13px;
    margin-left: 0.6%;
    margin-right: 0.6%;
}

.cards-container li.widget.widget_sp_image:nth-child(3),
.cards-container li.widget.widget_sp_image:nth-child(4),
.cards-container li.widget.widget_sp_image:nth-child(5) {
    width: 31.4%;
    height: 150px;
}

.cards-container li.widget.widget_sp_image a {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.cards-container li.widget.widget_sp_image a img, 
.cards-container li.widget.widget_sp_image img {
    display: none;
}

.cards-container li.widget.widget_sp_image h2 {
    width: 100%;
    height: 50%;
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 20;
    pointer-events: none;
    text-align: center;
    color: white;
    bottom: 24px;
    font-size: 24px;
}

.cards-container li.widget.widget_sp_image div {
    width: 100%;
    height: 50%;
    bottom: 0;
    position: absolute;
    z-index: 20;
    pointer-events: none;
}

.cards-container li.widget.widget_sp_image div p {
    text-align: center;
    color: #f58220;
    font-size: 16px;
    margin-top: 0;
    font-style: italic;
}

/*------------------- Navigation Bars ----------------------*/

.notice-bar {
}

.notice-bar li {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    border: 2px solid red;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 18px;
    
}

.notice-bar * {
    list-style: none;
    color: red;
    font-size: 18px;
    font-weight: bold;
    padding: 0; margin: 0;
    text-align: center;
}

.notice-bar h2 {
    padding: 0;
    line-height: 1.3em;
}

.notice-bar div, .notice-bar div p {
    line-height: 1.3em;
    margin: 0 0;
    padding: 0;
}

.header * {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

.header-nav div ul li {
    display: inline-block;
    margin-right: 25px;
}

.header-nav div ul li a {
    font-weight: bold;
    color: black;
    -webkit-transition: all 0.46s ease;
    -moz-transition: all 0.46s ease;
    -o-transition: all 0.46s ease;
    transition: all 0.46s ease;
}

.header-nav div ul li.current-menu-item a, 
.header-nav div ul li a:hover  {
    color: #f58220;
}

.header-nav {
    background-color: white;
    /*border-bottom: 1px solid lightgray;*/
    min-height: 40px;
    height: auto;
    line-height: 40px;
    overflow: hidden;
}

.header-nav.large-header-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    border-bottom: 0 solid white;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    -webkit-transform: translate3d(0, 0, 0);
    z-index: 100;
}

div.primary-menu {
    margin-bottom: 10px;
}

.header-nav.large-header-nav div.primary-menu {
    width: 100%;
    max-width: 1050px;
    text-align: center;
    min-height: 40px;
    height: auto;
    margin: 0 auto;
}

.header-nav-container {
    width: 100%;
    min-height: 40px;
    height: auto;
    overflow: hidden;
    display: block;
}

/*---------------- Dropdown Menu -----------------*/
button.drop-menu {
    width: 40px;
    height: 40px;
    display: none;
    float: right;
    border-radius: 5px;
    border: none;
    color: white;
    line-height: 40px;
    font-size: 18px;
    background-color: #f58220;
    cursor: pointer; 
    cursor: hand;
    padding: 0;
}

button.drop-menu img {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/*---------------- Social Links ------------------*/

.logo {
    display: inline-block;
    margin-bottom: 18px;
    float: left;
}

.nav-social-links ul li {
    float: right;
    margin-left: 14px;
}

.nav-social-links ul {
    margin: 0 0;
}

/*---------------- Headings ---------------------*/

h1 {
    padding: 5px 0;
    font-size: 30px;
    font-weight: bold;
}

h2 {
    font-size: 140%;
}

h3 {
    color: white;
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    letter-spacing: 3px;
}

h4 {
    font-size: 150%;
}

hr {
    width: 100%;
    border: none;
    height: 0;
    margin: 0 0;
}

hr.invis {
    width: 100%;
    border: none;
    height: 0;
    margin: 0 0;
    background-color: transparent;
}

iframe.map {
    width: 100%;
    margin: 16px 0;
    border-left: 5px solid #f58220;
    box-sizing: border-box;
    overflow: hidden;
}

@media only screen and (max-width: 1100px) {
    body {
        background-color: #f58220;
    }
    
    .header-nav.large-header-nav {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
    }
    
    div.container {
        padding: 19px;
        border: none;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        min-width: 100%;
    }
    
    .window {
        height: auto;
    }
    
    .window h3, .window.half h3 {
        font-size: 30px;
        margin-top: 10px;
        margin-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
        line-height: normal; 
    }
    
    .home-screen h1 {
        font-size: 37px;
    }
}

@media only screen and (max-width: 950px) {
    div.left-section, div.right-section {
        width: 100%;
        float: none;
        padding: 0;
        border: none;
    }
}

@media only screen and (max-width: 855px) {
    .cards-container {
        margin-right: 0px;
    }
    div.right-section {
        margin-bottom: 30px;
    }
    div.left-section {
        padding-top: 20px;
    }
    .footer-section {
        width: 23%;
    }
    
    .left-section .rpwwt-post-excerpt {
        border: none;
    }
}

@media only screen and (max-width: 710px) {
    .half, .half:nth-child(even) {
        width: 100%;
        float: none;
        margin-top: 3%;
        margin-bottom: 3%;
    }
    
    .header-nav div ul li {
        display: block;
        text-align: center;
    }
    .header-nav-container {
        display: none;
    }
    
    .logo {
        width: 190px;
    }

    .nav-social-links ul li {
        float: right;
        margin-left: 11px;
    }

    .nav-social-links ul {
        margin: 0 0;
        text-align: right;
    }
    .home-screen h1 {
        height: 400px;
        font-size: 29px;
        padding: 8px;
    }
    
    .cards-container {
        margin-right: 0;
    }

    .cards-container li.widget.widget_sp_image:nth-child(3),
    .cards-container li.widget.widget_sp_image:nth-child(4),
    .cards-container li.widget.widget_sp_image:nth-child(5),
    .cards-container li.widget.widget_sp_image {
        height: 190px;
        display: block;
        width: 100%;
        float: left;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
    }
    
    article.post p img {
        height: auto;
        margin-right: 0;
    }
    
    article.post div.img-container {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }
    
    .footer-section {
        width: 40%;
    }
    
    .footer-section:empty {
        display: none;
        padding: 0;
        margin: 0;
    }
    
    .author-info {
        margin-top: 5px;
        width: 100%;
        float: left;
    }
}
