/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #444;
}

body {
    font-size: 1em;
    line-height: 1.3;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

a, a:active{
    color: #222;    
}

a:hover{
    color:#25aae1;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

img.bg {
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;
    
    /* Set up proportionate scaling */
    width: 100%;
    height: auto;
    
    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1024px){
    img.bg {
        left: 50%;
        margin-left: -512px; }
}

.notepad{
    position: relative;
    width:756px;
    height:989px;
    background-image: url('../img/notepad.png');
    margin: 0px auto;
}
.contact-number{
    position: relative;
    height: 35px;
    overflow: hidden;
    left: 405px;
    top: 10px;
    width: 308px;
}
.home{
    width:220px;
    height:160px;
    overflow: hidden;
    top: 95px;
    position: relative;
    left: 30px;
}
.home img{
    position: relative;
    top: -95px;
    left: -30px;
}
.contact-number img:hover{
    position: relative;
    top: -35px;
    cursor: hand;
    cursor: pointer;
}
.contact-email {
    position: relative;
    height: 35px;
    overflow: hidden;
    left: 405px;
    top: 5px;
    width: 308px;
}
.contact-email img{
    position: relative;
    top: -70px;
    cursor: hand;
    cursor: pointer;
}
.contact-email img:hover{
    position: relative;
    top: -105px;
    cursor: hand;
    cursor: pointer;
}
.header{
    position: relative;
    top: 25px;
    left: 29px;
    height: 238px;
}
.grey-border{
    border: 1px #ccc solid;
    height: 358px;
}
.gallery{
    position: relative;
    top: 34px;
    left: 63px;
    width: 639px;
    margin-bottom: 35px;
}
nav{
    position: relative;
    top: 10px;
    left: -11px;
    overflow: hidden;
    height: 60px;
}
nav li{
    float:left;
    overflow: hidden;
}
nav li img{
    position: relative;
}
nav li:nth-child(1){
    width:140px;
}
nav li:nth-child(1) img:hover{
    top:-88px;
}
nav li:nth-child(2){
    width:150px;
}
nav li:nth-child(2) img{
    left:-140px;
}
nav li:nth-child(2) img:hover{
    left:-140px;
    top:-88px;
}
nav li:nth-child(3){
    width:213px;
}
nav li:nth-child(3) img{
    left:-290px;
}   
nav li:nth-child(3) img:hover{
    left:-290px;
    top:-88px;
}
nav li:nth-child(4){
    width:202px;
}
nav li:nth-child(4) img{
    left:-503px;
}   
nav li:nth-child(4) img:hover{
    left:-503px;
    top:-88px;
} 
.selected img{
    top:-44px;
}
.selected img:hover{
    top:-44px !important;
}
.estate-management{
    background-image: url('../img/estate-maintenance.gif');
    background-repeat: no-repeat;
    width:344px;
    height: 44px;
    margin: 20px 0px 0px 0px;s
}
.groundworks{
    background-image: url('../img/groundworks.gif');
    background-repeat: no-repeat;
    width:251px;
    height: 44px;
    margin: 20px 0px 0px 0px;
}
.landscaping{
    background-image: url('../img/landscaping.gif');
    background-repeat: no-repeat;
    width:232px;
    height: 44px;
    margin: 20px 0px 0px 0px;  
}
.domestic-gardening{
    background-image: url('../img/domestic-gardening.gif');
    background-repeat: no-repeat;
    width:344px;
    height: 44px;
    margin: 20px 0px 0px 0px; 
}
h1{
    position: relative;
    top: 20px;
    left: 29px;    
}
.main{
    position: relative;
    left: 30px;
    width: 644px;
    padding: 30px;
}
footer{
    position: absolute;
    top: 925px;
    left: 60px;
    width: 650px;
    font-size: 0.7em;
}
.line-height-one{
    line-height:1.1;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}