/* Theme Name: Shire Pages
*/

body {
    margin: 0;
    font-family: tahoma, arial;
    font-size: 14px;
}

h1 {
    font-weight: 400;
    color: #024A75;
    margin-top: 0;
}

h2 {
    color: rgb(14, 167, 183);
    font-weight: 500;
}


img {
    border: 1px solid #dddddd;
    border-radius: 4px;
}

.alignleft {
    float: left;
    margin-right: 2%;
}

a, .morelink {
    color: #28C0CD;
    text-decoration: none;
}

a:hover, .morelink:hover {
    text-decoration: underline;
}

p {
    line-height: 1.5em;
}

#container {
    width: 90%;
    margin: 15px auto;
    overflow: hidden;
}

#header { 
    margin-top: 10px;
}

#header-top-row {
    width: 90%;
    margin: 0 auto;
}

.headercontent {
    display: inline;
    position: absolute;
    margin-top: 0px;
    font-size: 1.4em;
}

#responsive_headercontent { display: none; }

.phonenumber {
    color: #0EA7B7;
}

.home {
    line-height: 13px;
    font-size: 17px;
}

#logo {
    display: inline;
    margin-right: 10%;
}

#responsive_logo {
    display: none;
}

#logo img, #responsive_logo img {
    border: none;
}

/* Global Navigation Styles */

#responsivenav {
        display: none;
    }

#globalnav { 
    background: #024A75; 
    text-transform: uppercase;
    display: block;
}

#globalnav ul { 
    margin:0 5%; 
    padding:0; 
    list-style-type: none;
}

#globalnav ul li { 
    display: inline-block; 
    padding: 10px 20px; 
    border-right: 1px solid #bbbbbb; 
    position: relative;
}

#globalnav ul li:hover, #globalnav ul li:active { 
    background: #28C0CD;
}

#globalnav ul a { 
    color: white; 
    text-decoration: none;
    width: 100%;
    height: 100%;
}

/* Sub nav styles */
#globalnav ul ul { 
    display: none;
    margin: 0; 
    padding: 0;
    position:absolute;  
    top: 38px; 
    left: 0; 
    background: rgb(50,50,50);
    background: rgba(50,50,50,0.9); 
    z-index: 7;
}

#globalnav ul ul li { 
    border-right: none; 
    border-bottom: 1px dashed #bbbbbb; 
    width: auto;
    margin: 0;
}
#home-top-row {
    margin-bottom: 20px;
    overflow: hidden;
}

#home-sidebar {
    /*width: 100%;
    padding: 0 1%;
    background: #eeeeee;
    border-radius: 5px; */
    height: 480px;
    overflow: hidden;
 }

#sidebar {
    margin-top: 10px;
}

#home-sidebar, #sidebar {
    width: 30%;
    float: right;
    padding: 0 1%;
    background: #eeeeee;
    border-radius: 5px;
}

#home-sidebar ul, #sidebar ul{
    list-style-type: none;
    padding: 0;
    margin: 0
}

.h2resp {
    display: none;
}

#home-feature-boxes {
    clear: both;
}

.feature-box {
    width: 32%;
    float: left;
    margin-right: 2%;
}

.feature-img {
   /* height: 300px;*/
    overflow:hidden;
    border-radius: 5px;
}

.feature-img img{
    height: auto;
    width: 100%;
}

.feature-box img{
    border-radius: 5px;
}

.feature-box:nth-child(3n) {
    float: right;
    margin-right: 0;
}

.feature-box .copy {
    position: relative;
    max-height: 30px;
    z-index: 3;   
    text-align: left;
    padding: 5px;
    overflow: hidden;
    bottom: 50px;
    left: 2%;
    width: 100%;
    background-color: rgba(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.8); 
}

.feature-box .copy h3 {
    color: #333333;
    font-weight: 400;
    padding: 0;
    margin: 0;
    font-size: 1.2em;
}

.feature-box .copy p {
    display: none;
}

.feature-box a {
    text-decoration: none;
}

.hero_image {
    width: 100%;
    height: auto;
}

#page {
    width: 64%;
    float: left;
}

#page p {
    margin-right: 1%;
}


a#open {
    display: none;
    }

a#close {
    display: none;
    }


/* ----- Child page list styles -----*/


.child_page {
    margin-bottom: 20px;
    clear: both;
    overflow: hidden;
    border-bottom: 1px dotted #DDD;
    padding-bottom: 13px;
}

.child_page_thumb {
    float: left;
    margin-right: 2%;
    margin-bottom: 10px;
    width: 40%;
    overflow: hidden;
}

.child_page_thumb img {
    width: 99%;
    height: 99%;
 }

.child_page h2 {
    margin: 0;
}

.child_page_metadata {
}

.gallery {
    width: 100%;
    overflow: hidden;
}

.gallery .gallery-item {
    float: left !important;
    width: 32% !important;
    margin-right: 2% !important;
    overflow: hidden;
}

.gallery .gallery-item:nth-child(3n) {
    float: right !important;
    margin-right: 0 !important;
}

.gallery-item img {
    width: 99%;
    height: 99%;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 10;
    left: 0;
    width: 100%;
    height: 100%;
}


#sidebar {
    float: right;
    width: 32%;
}

.widget {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.widget li a {
    padding-bottom: 15px;
}

.widget:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}


#footer { 
    background: #eeeeee;
    border-top: 1px solid #cccccc;
}

#footer_container {
    width: 90%;
    margin: 0 auto;
    padding-top: 10px;
}

.footer_sidebar {
    margin: 0;
    padding: 0;
    list-style-type: none;
    clear: both;
    overflow: hidden;
}

.footer_sidebar .widget {
    width: 23%;
    float: left;
    margin-right: 2%; 
    color: #555555;
    border-bottom: none;
}

.footer_sidebar .widget h2 {
    font-size: 1.2em;   
}

.footer_sidebar .widget:nth-child(4n) {
    float: right;
    margin-right: 0;
}


.footer_row {
    color: #888888;
    text-align: center;
    border-top: 1px dotted #bbbbbb;
    margin: 10px 0;
    padding: 10px 0;
}

.disclaimer {
    display: block;
    font-size: 0.6em;
    width: 100%;
    text-align:center;
    margin: 11px 0;
    padding: 13px 0;
    color: #888888;
    border-top: 1px dotted #bbbbbb;
}

@media screen and (max-width:1100px) { 
    
    #globalnav ul li {
        padding: 10px 15px;
    }
}


@media screen and (max-width:1020px) { 
    
    #globalnav ul li {
        padding: 10px 10px;
        font-size: 0.9em;
    }
    
    #container {
        width: 95%;
    }
    
    #globalnav ul {
        margin: 0 2%;    
    }
    
    #header-top-row {
        width: 95%;
        margin: 0 auto;
    }
    
}

@media screen and (max-width:799px) {    

 #logo {
        display: none;
    }
    
    #responsive_logo {
        display: inline;
        margin-left: 0;
    }   
    
    #responsive_logo img {
        width: 176px;
    }    
    
    .headercontent {
        margin-left: 7%;
    }
    
    #responsivenav {
        display: block;
        float: right;
        width: 58px;
        margin-right: 1%;
    }     
        
    
    #responsivenav .responsive_nav_text:active {
        color: #28C0CD;
    }
    
    i.fa.fa-bars {
        margin-right: 3px;
    }
    
    .responsive_nav_text {
        display: block;
        font-size: 14px;
        margin-top: 13px;
        text-transform: uppercase;
        color: #002859;
    } 
    
    #globalnav{
        width: 80%;
        position: absolute;
        right: 0; 
        display: none;
        z-index: 10;
        box-shadow: -8px 5px 6px #888888;
    }
    
    #globalnav ul { 
        margin:0;
    }
    
    #globalnav ul li { 
        display: block;
        border-right: none;
        border-bottom: 1px solid white;
    }
    
    
    #home-sidebar, #sidebar {
        width: 98%;
        clear: both;
        padding: 0 1% 10px 1%;
        background: none;
        border-radius: 5px;
        height: 100px;
        text-align: center;
        margin-top: 0;
    }
    
    #sidebar {
        height: auto;
    }
    
    #home-sidebar h2, #sidebar h2 {
        display: none;
    }
    
    
    h2.h2resp {
        display: block !important;   
        margin-top: 0;
    }
    
    a#open {
        padding: 10px;
        background: #024A75;
        border: 1px solid #012639;
        border-radius: 4px;
        color: #FFF;
        margin: 0 auto;
        width: 40%;
        display: block;
        text-align: center;
        font-size: 1.4em;
        text-decoration: none;
    }
    
    a#close {
        display: block;
        float: right;
        position: relative;
        bottom: 60px;
    }

    #page {
        width: 98%%;
        clear: both;
}
    

    .feature-box {
        width: 48%;
        float: left;
        margin-right: 2%;
    }

    .feature-box:nth-child(2n) {
        float: right;
        margin-right: 0;
    }

    .feature-box:nth-child(3n) {
        float: left;
        margin-right: 2%;
    }      

    .feature-box img{
        width: 100%;
       /* height: 300px;*/
        height: auto;
        border-radius: 5px;
    }

    .feature-box:nth-child(3n) {
        float: right;
        margin-right: 0;
    }
    
  /* Enquiry form lightbox */
    
    #overlay {
        filter:alpha(opacity=0); 
        -moz-opacity:0; 
        -khtml-opacity: 0; 
        opacity: 0;  
        background-color: #fff; 
        position: absolute; 
        top: 0px; left: 0px; 
        z-index: 50; 
        width: 100%; height: 100%; 
        display:none;
    }
    
    #enquiryform{
        margin:auto; 
        padding:10px; 
        width:80%; 
        background:#eeeeee; 
        box-shadow: 0 4px 16px #999; 
        z-index: 51; 
        border:1px solid #acacac;  
        position:absolute; 
        display:none;
        left:10%;
        top: 20px;
    }    
    
}


@media screen and (max-width: 600px) {
    
    h1 {
        font-size: 1.6em;
    }
    
    #responsive_logo {
        display: inline;
    } 

    #responsive_logo img {
        width: 200px;
    } 

    #responsivenav {
        margin-right: 0;
    }

    .headercontent {
        display:none;
    }

    #responsive_headercontent {
        display: block;
    }

    #responsive_headercontent .headercontent {
        display: block;
        background: #024A75;
        border: 1px solid #012639 !important;
        text-align: center;
        margin: 15px 0 20px 0;
        width: 76%;
        color: white;
        border-radius: 6px;
        padding: 10px;
        left: 10%;
    }

    .phonenumber {
        color: white;
    }

    .feature-img {
        height: 200px;

    }
    
    a#open {
        width: 60%;
    }

    #page {
        margin-top: 59px;
        margin-bottom: 16px;
        width: 98%;
        padding-bottom: 10px;
        border-bottom: 1px dotted #dddddd;
    }
    
    .child_page {
        margin-bottom: 20px;
        clear: both;
        overflow: hidden;
        border-bottom: 1px dotted #DDD;
        padding-bottom: 13px;
    }

    .child_page_thumb {
        clear: both;
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .child_page_metadata {
        clear: both;
    }


    
    .child_page h2 {
        font-size: 1.4em;
    }
    
    .footer_sidebar .widget {
        width: 100%;
        clear: both;
        margin: 0;
        color: #555;
        padding-bottom: 15px;
        border-bottom: 1px solid #cccccc;
    }
    
    .footer_sidebar .widget li {
        padding-bottom: 10px;
    }
    
    .footer_row {
        border-top: none;
    }

}


@media screen and (max-width:400px) {


    #responsive_headercontent .headercontent {
        width: 88%;
        color: white;
        padding: 10px;
        border: 1px solid #097783;
        font-size: 1.3em;
        left: 2%;
    } 

    .alignleft {
        width: 100%;
        height: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .feature-box {
        width: 100%;
        clear: both;
        margin:0;
    }
    
    .feature-box h3 {
        position: relative;
        padding: 10px;
        bottom: 0px;
        font-weight: 400;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        }
    
    
    .feature-box .copy p {
        display: none;
    }
    
    .feature-box a {
        color: #ffffff;
        text-decoration: none;
    }
}