﻿/* -------------------------------------------------- */
/*               1. BASIC PAGE SETUP                  */
/* -------------------------------------------------- */
body {
    color: #000000;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    background: #ffffff;
    overflow-x: hidden
    }

body, html {
    height: 100%;
    }

hr {
    border: 0;
    height: 1px;
    margin: 40px auto 20px auto;
    max-width: 960px;
    background-image: -webkit-linear-gradient(left,#f0f0f0,#b5b5b5,#f0f0f0);
    background-image: -moz-linear-gradient(left,#f0f0f0,#b5b5b5,#f0f0f0);
    background-image: -ms-linear-gradient(left,#f0f0f0,#b5b5b5,#f0f0f0);
    background-image: -o-linear-gradient(left,#f0f0f0,#b5b5b5,#f0f0f0)
    }

hr.disclaimer {
    border: 0;
    height: 1px;
    margin: 40px auto 20px auto;
    max-width: 960px;
    background-image: -webkit-linear-gradient(left,#dedede,#b5b5b5,#dedede);
    background-image: -moz-linear-gradient(left,#dedede,#b5b5b5,#dedede);
    background-image: -ms-linear-gradient(left,#dedede,#b5b5b5,#dedede);
    background-image: -o-linear-gradient(left,#dedede,#b5b5b5,#dedede)
    }


/* -------------------------------------------------- */
/*                  2. MAIN LAYOUT                    */
/* -------------------------------------------------- */
#skiptomain { display: none; }

#headcontainer {
    width: 100%;
    height: auto;
    background-color: #002f55;
}

.headcontent {
    clear: both;
    color: #373737;
    margin: 0px auto;
    padding: 5px 15px;
    position: relative;
    }

#banner {
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    height: 232px;
    border-top: 1px solid #ffffff;
    background-image: url(../images/SJC-banner.jpg);
    }
.bannercontent {
    max-width: 960px;
    margin: 0px auto;
    padding: 0px;
    }
.maincontent{
	clear: both;
	color: #373737;
	margin: 25px auto;
	padding: 0px;
	position: relative;
	max-width: 960px;
    }

#footercontainer {
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    text-align: center;
    background-color: #dedede;
}

#footer {
    clear: both;
    color: #ffffff;
    margin: 0px auto;
    padding: 30px 0px 10px 0px;
    position: relative;
    overflow: hidden;
    max-width: 960px;
    text-align: center;
    }

@media screen and (max-width: 1024px) {
    .maincontent {
        margin-left: 10px;
        margin-right: 10px;
        padding: 0px 20px
        }
    #container{ padding: 0px 20px}
}


/* -------------------------------------------------- */
/*                   4. HEADINGS                      */
/* -------------------------------------------------- */
h1 {
    color: #002f55;
    margin: 20px 0px;
    padding: 5px 0px;
    font-size: 34px;
    text-align: left;
    font-family: Arial;
    line-height: normal;
    font-weight: bold;
    text-transform: uppercase
    }
    h1.banner {
        color: #c3c3c3;
        margin: 0px;
        padding: 75px 0px 0px 20px;
        font-size: 50px;
        line-height: 50px;
        letter-spacing: 1px;
        text-shadow: 1px 1px #333333;
    }

h2 {
    color: #002f55;
    margin: 30px 0px 5px 0px;
    padding: 5px 0px;
    font-size: 24px;
    text-align: left;
    font-family: Arial;
    line-height: normal;
    font-weight: bold;
    text-transform: uppercase
}
    h2.banner {
        color: #ffffff;
        margin: 0px;
        padding: 10px 0px 0px 20px;
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: 3px;
        text-shadow: 1px 1px #333333;
    }

h3 {
    color: #002f55;
    margin: 10px 0px 0px 0px;
    padding: 5px 0px;
    font-size: 18px;
    text-align: left;
    font-family: Arial;
    line-height: normal;
    font-weight: bold;
    text-transform: uppercase
}

h4 {
    color: #af0e04;
    margin: -5px 0px 20px 0px;
    padding: 0px;
    font-size: 18px;
    text-align: left;
    font-family: Arial;
    line-height: normal;
    font-weight: normal;
}

h5 {
    color: #002f55;
    margin: 0px;
    padding: 5px 0px;
    font-size: 18px;
    text-align: left;
    font-family: Arial;
    line-height: normal;
    font-weight: bold;
    text-transform: uppercase
}

h6 {
    color: #002f55;
    margin: 5px 5px 8px 5px;
    padding: 0px;
    hyphens: auto;
    font-size: 14pt;
    text-align: left;
    line-height: 20px;
    font-weight: bold;
    font-family: Arial;
    text-transform: uppercase;
}

@media screen and (max-width: 816px) {
    h1.banner {
        padding: 50px 0px 0px 20px;
        font-size: 40px;
        line-height: 40px;
    }
}
@media screen and (max-width: 600px) {
    h1.banner {
        padding: 20px 0px 0px 20px;
        font-size: 40px;
        line-height: 40px;
    }
}

span.small { color: #af0e04 }
span.small_panning { color: #3e3e3e; font-size: 80%; padding-left: 10px; text-transform: none }

		
/* -------------------------------------------------- */
/*                 5. PARAGRAPHS                      */
/* -------------------------------------------------- */
p, ol, ul, dl, address { 
	margin-bottom : 1.5em;
	}

p.quick {
    color: #3a3a3a ;
    margin: 0px 10px;
    padding: 0px;
    hyphens: auto;
    font-size: 14px;
    text-align: left;
    line-height: 26px;
    font-family: Arial;
    }


p.social {
    color: #3a3a3a ;
    margin: 5px 10px;
    padding: 0px;
    hyphens: auto;
    font-size: 14px;
    text-align: left;
    line-height: 26px;
    font-family: Arial;
    }

p.credits {
    font: normal 7pt arial;
    color: #002f55;
    margin: 15px 5px 5px 5px;
    padding: 0;
    hyphens: auto;
    text-align: right;
    line-height: 26px;
    letter-spacing: 1px;
    }
p.privacy {
    font: normal 9pt arial;
    color: #002f55;
    margin: 15px 5px 5px 5px;
    padding: 0;
    hyphens: auto;
    text-align: left;
    line-height: 26px;
    letter-spacing: 1px;
    }

p {
    color: #3a3a3a;
    margin: 5px 0px 30px 0px;
    padding: 0px;
    hyphens: auto;
    font-size: 11pt;
    text-align: justify;
    font-family: arial;
    line-height: 22px;
    }

p.disclaimer {
    color: #3a3a3a;
    margin: 25px 0px 30px 0px;
    padding: 0px;
    hyphens: auto;
    font-size: 7pt;
    text-align: justify;
    font-family: arial;
    line-height: 14px;
    }


p.logo {
	color: #393939;
	margin: 0px; 
	padding: 0px;
	hyphens: auto;
	font-size: 16px;
	text-align: left;
	line-height: 26px;
 	}
p.tagline {
    color: #393939;
    margin: 20px 5px 0px 0px;
    padding: 0px ;
    hyphens: auto;
    font-size: 16px;
    text-align: right;
    line-height: 26px;
}

ul {
    color: #3a3a3a;
    margin: 0px 0px 30px 10px;
    padding: 0px;
    hyphens: auto;
    font-size: 11pt;
    text-align: justify;
    font-family: arial;
    line-height: 22px;
    }
    li { margin: 1px 0px; padding: 1px 0px}


    @media screen and (max-width: 960px) {
        p.disclaimer {
            margin-left: 10px!important;
            margin-right: 10px!important;
        }
    }
@media screen and (max-width: 768px) {
    p.tagline { text-align: left}
    p.tagline img { max-width: 240px!important }
    p.quick { margin-bottom: 30px; padding-left: 20px;}
}



/* -------------------------------------------------- */
/*                     7. LINKS                       */
/* -------------------------------------------------- */

a:link, a:visited, a:hover, a:active {
    text-decoration: none
    }

a:link.normal, a:visited.normal {
    color: #3a3a3a;
    text-decoration: none;
    }
a:hover.normal, a:active.normal {
    color: #002f55;
    text-decoration: underline;
    }

a:link.quickcontact, a:visited.quickcontact {
    color: #3a3a3a;
    text-decoration: none;
}
a:active.quickcontact, a:hover.quickcontact {
    color: #002f55;
    text-decoration: none;
}
    
a:link.credits, a:visited.credits {
    color: #002f55 !important;
    text-decoration: none;
    }

a:active.credits, a:hover.credits {
    color: #002f55!important;
    text-decoration: underline;
    }


/* -------------------------------------------------- */
/*                  8. COLOURS                        */
/* -------------------------------------------------- */
.clr1 { color: #002f55; } /* blue */
.clr2 { color: #999999; } /* grey */
.clr3 { color: #c3c3c3; } /* lgrey */
.clr4 { color: #ffffff; } /* white */
.clr5 { color: #3a3a3a; } /* dark grey */
.clr6 { color: #af0e04; } /* red */


/* -------------------------------------------------- */
/*                    9. IMAGES                       */
/* -------------------------------------------------- */
img {
    width: auto\9;
    height: auto\9;
    margin: 0px;
    padding: 0px;
    max-width: 100%;
    border-width: 0;
    border-style: none;
    border-color: inherit;
    border: none;
    background-color: transparent;
    }


/* -------------------------------------------------- */
/*                 11. HOME BOXES                     */
/* -------------------------------------------------- */
.boxgrid, .boximage {
    /*float: left;*/
    width: 100%;
    height: 208px;
    border: 10px solid #ffffff;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    /*margin-left: 0px;*/
    margin-bottom: 20px;
    background-color: #ffffff;
    }
    .boxgrid-2col {
        /*float: left;*/
        width: 100%;
        height: 208px;
        border: 10px solid #ffffff;
        overflow: hidden;
        position: relative;
        background: #ffffff;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        text-align: center;
        margin-left: 0px;
        background-color: #ffffff;
    }
    .boxgrid { height: 270px;}

.boxgrid img, .boximage img, .boxgrid-2col img {
    top: 0;
    left: 0;
    position: absolute;
    }

.boxgrid p { /* inside box */
    font: normal 10pt arial;
    color: #ffffff;
    margin: 0px 10px;
    padding: 10px 0px;
    text-align: center;
    }

.boxgrid h3, .boximage h3, .boxgrid-2col h3 {
    font: normal bold 12pt arial;
    color: #002f55;
    margin: 154px 3px 0px 3px;
    padding: 0px;
    text-align: center;
    text-transform: uppercase
    }
    .boxgrid h3 { margin-top: 210px; }
.boxgrid h4, .boximage h4 {
    font: normal bold 9pt arial;
    color: #002f55;
    margin: 0px 3px 0px 3px;
    padding: 0px;
    text-align: center;
    }

.boxcaption {
    float: left;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #002f55;
}

.boxcaption h3 { /* inside box */
    font: normal bold 12pt arial;
    color: #ffffff;
    margin: 10px 3px 0px 3px;
    padding: 0px;
    text-align: center;
    text-transform: uppercase
    }

.captionfull .boxcaption {
    top: 0px;
    left: 0;
}

.caption .boxcaption {
    top: 270px;
    left: 0;
}

.caption2 .boxcaption { top: 500px; }


.boxes_lrg {
    width: 100%;
    height: 436px;
    border: 10px solid #ffffff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    margin-left: 0px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    }
    .boxes_lrg .boxes_image { 
        height: 100%;
        background-image: url(../images/buy2let.jpg);
        }
    .boxes_caption {
        position: absolute;
        height: auto;
        margin: 0px; 
        padding: 5px 0px 0px 0px;
        bottom: 0px;
        background-color: white;
        width: 100%;
        }
.boxes_sml {
    width: 100%;
    max-width: 270px;
    height: 210px;
    border: 10px solid #ffffff;
    margin: 0px auto 14px auto;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    margin-left: 0px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: top;
    }
    .boxes_sml .boxes_image { 
        height: 200px;        
        background-size: 100%;
        background-position: top;
        }
        .feltham { background-image: url(../images/action_feltham_soldout.jpg); }
        .kings { background-image: url(../images/action_kingslangley.jpg); }
        .bradford { background-image: url(../images/action_bradford.jpg); }
        .peacehaven { background-image: url(../images/action_peacehaven.jpg); }


.boxes_caption h3 {
    font: normal bold 12pt arial;
    color: #002f55;
    margin: 0px 3px;
    padding: 0px;
    text-align: center;
    text-transform: uppercase
    }
    .boxes_caption h4 {
    font: normal bold 9pt arial;
    color: #002f55;
    margin: 0px 3px 0px 3px;
    padding: 0px;
    text-align: center;
    }


    .boxgrid-2col { height: 260px; }
    .boxgrid-2col h3.caption_heading { margin-top: 220px; }
    @media screen and (max-width: 816px) {
        .boxgrid-2col { height: 200px;}
        .boxgrid-2col h3.caption_heading { margin-top: 160px; }
        }
    @media screen and (max-width: 640px) {
        .boxgrid-2col { height: 260px; max-width: 460px; margin-bottom: 10px;}
        .boxgrid-2col h3.caption_heading { margin-top: 220px; }
        }
    @media screen and (max-width: 400px) {
        .boxgrid-2col { height: 180px;}
        .boxgrid-2col h3.caption_heading { margin-top: 140px; }
        }
@media screen and (max-width: 1024px) {
.boxes_lrg {
    width: 100%;
    height: 415px;
    border: 10px solid #ffffff;
    }
.boxes_sml {
    width: 100%;
    max-width: 270px;
    height: 200px;
    }
}

@media screen and (max-width: 816px) {
    .boxgrid, .boximage { max-width: 300px; height: 240px; }
    .boxgrid h3, .boximage h3 {
        margin: 200px 3px 0px 3px;
        }
        .boxcaption h3 { /* inside box */
            font: normal bold 12pt arial;
            color: #ffffff;
            margin: 10px 3px 0px 3px;
            padding: 0px;
            text-align: center;
            text-transform: uppercase
            }  
            .boxgrid {
                float: left;
                width: 100%;
                height: 220px;
            }
            .boxgrid h3 {
                font: normal bold 12pt arial;
                color: #002f55;
                margin: 150px 3px 0px 3px;
                padding: 0px;
                text-align: center;
                text-transform: uppercase
                }
            
            .boxcaption h3 {
                top: 100px;
                left: 0;
                margin: 10px 3px 0px 3px;
                color: #ffffff
            } 
    }

@media screen and (max-width: 768px) {
.boxes_lrg {
    width: 100%;
    height: 300px;
    border: 10px solid #ffffff;
    }
.boxes_sml {
    width: 100%;
    max-width: 270px;
    height: 150px;
    }
.boxgrid, .boximage { max-width: 300px; height: 240px; }
.boxgrid h3 {
    margin: 200px 3px 0px 3px;
    }
    .boxcaption h3 { /* inside box */
        font: normal bold 12pt arial;
        color: #ffffff;
        margin: 10px 3px 0px 3px;
        padding: 0px;
        text-align: center;
        text-transform: uppercase
        }

}




@media screen and (max-width: 816px) {
    .boxes_sml {
        width: 100%;
        max-width:320px;
        height: 240px;
        }
    .boxes_lrg {
        width: 100%;
        max-width:320px;
        height: 275px;
        }
        .boxes_lrg .boxes_image { 
            background-image: url(../images/buy2let_mobile.jpg);
            }
}



/* ------------------------------------------------- */
/*               14 BOOTSTRAP CHANGES                */
/* ------------------------------------------------- */
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}