/* PAGE BACKGROUND  */

#page {
	background-color: #fff;
}

/* FONT STYLE */

#page_content H1, 
#page_content H2,
#page_content H3,
#page_content H4,
#page .pseudo-h1 a,
p.caption,
#local_menu_header li {
	color: #002848;
    text-shadow: none;
}

#page .pseudo-h1 a {
    text-decoration: none;
    border-bottom: none;
}


/* NAVIGATION & HEADER */

#local_header .navbar-inner {
    background-color: rgba(255,255,255,0.9) !important;
    position: absolute;
    top: -11px;
    left: calc(-50vw + 50%);
    z-index: 1000;
    width: 100vw;
    /*padding-left: 0.5em;
    padding-top: 0.5em;*/
    margin-top: 50px;
	box-shadow: none;
}

/* MOBILE MENU BAR COLOUR */
#local_header .navbar-inner #header {
	background: #002848;
}

#local_header .nav>li {
	border-right: 1px solid #fff;
	width: 16.66%;
}

#local_header .nav>li:last-child {
	border-right: 0;
}

#local_header .nav>li>a {
    text-shadow: none;
	color: #002848;
    text-align: center;
}

#local_header .nav li.dropdown>.dropdown-toggle .caret {
    border-top-color: #002848;
    border-bottom-color: #002848;
}

@media only screen and (min-width: 48em) {
	ul#local_menu_header {
	    padding: 0 1em;
	}
}

@media only screen and (max-width: 37.5em) {
    #local_header .navbar-inner {
        width: 100vw;
    }
}

@media only screen and (min-width: 48em) {

    div.noprint a.blocklink img.scale-with-grid {
        top: 130px;
        position: absolute;
        z-index: 10;
        left: 10px;
    }
    .columns.twelve.center h1 {
        font-size: revert;
    }
}

@media only screen and (min-width: 90em) {

    div.noprint a.blocklink img.scale-with-grid {
        top: 108px;
        position: absolute;
        z-index: 10;
        left: 171px;
    }
    .columns.twelve.center h1 {
        font-size: 2.25rem;
    }
}





/* OVERLAY IMAGES */

@media only screen and (min-width: 48em) {
    .three.columns .overlay-image .caption {
        font-size: 1em;
        max-width: 75%;
    }

    .four.columns .overlay-image .caption {
        font-size: 1.2em;
        width: auto;
    }

    .overlay-image{
        position: relative;
        overflow: hidden;
    }

    .overlay-image img{
        max-width: 100%;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    .overlay-image:hover img, .overlay-image:focus img {
        -moz-transform: scale(1.25);
        -webkit-transform: scale(1.25);
        transform: scale(1.25);
    }

    .overlay-image .caption  {
       color: #fff !important;
       border-top-right-radius: 10px;
       border-bottom-right-radius: 10px;
       background: rgba(64,71,69,0.9);
       padding: 0.5em 0.5em 0.5em 1.5em !important;
       width: auto;
       font-weight: 400;
       display: inline-block;
       margin-top: 2em;
       bottom: calc(-1em + 60%) !important;
       font-size: 1.5em;
    }
}


/* HOMEPAGE HERO IMAGE */

@media only screen and (min-width: 37.5em) {
    .columns.twelve.center {
        background-color: rgba(64,71,69,0.9);
        width: 80%;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        padding-left: 1em;
		top: 3em;
    }
}

@media only screen and (min-width: 48em) {
    .columns.twelve.center {
        background-color: rgba(64,71,69,0.9);
        width: 60%;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        padding-left: 1em;
		top: 4em;
    }
}

@media only screen and (min-width: 64em) {
    .columns.twelve.center {
        background-color: rgba(64,71,69,0.9);
        width: 50%;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        padding-left: 1em;
		top: -1em;
    }
}

.columns.twelve.center h1 {
    color: #fff !important;
}

.columns.twelve.center {
    background-color: rgba(64,71,69,0.9);
    top: 5em;
}

@media only screen and (min-width: 48em) {
    .columns.twelve.center {
        top: 6em;
    }
}

@media only screen and (min-width: 64em) {
    .columns.twelve.center {
        top: 5em;
    }
}

@media only screen and (min-width: 90em) {
    .columns.twelve.center {
        top: 2em;
    }
}

@media only screen and (min-width: 37.5em) {
	.pull.left {
	    margin-left: 0;
	}
}

/* For pages with no hero image at the top */
div#page_content h1.no-hero {
	padding-top: 120px;
}

/* WELLS - Classes can be added to wells in rich text to enable multiple styles of well (colours, background-images, etc) */

#page_content .well {
	background: #CBCDCD;
	color: #002848;
	text-shadow: none;
    border-radius: 20px;
}


#page_content .well.alternate {
	background: #002848;
	color: #fff;
	text-shadow: none;
	border-radius: 20px;
    margin-bottom: 20px;
}

#page_content .well.alternate h2, .well.alternate h3 {
	color: #fff !important;
	text-shadow: none;
}



/* BREAKOUT AREAS - as with wells, multiple styles of breakout area can be created. Additional classes can be added in Experience Editor (via 'Edit component properties'), such as 'alternate', 'alternate-two'
    These classes have no inherent styling attached and so can be used to build up a suite of styled breakout blocks */


.breakout-area {
    background-color: transparent;
    border: none;
}

.breakout-area.alternate {
    background: #CBCDCD;
    margin-top: 15px;
}


.breakout-area.alternate h2 {
    color: #fff !important;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #404745;
    padding: 0.25em 0.5em 0.25em 1.5em;
    width: auto;
    font-weight: 700;
    display: inline-block;
    margin-top: 2em;
   }

.breakout-area.alternate p {
	margin-left: 40px;
	margin-right: 40px;
}

.breakout-area .row {
    margin: 0 0 0 0;
    padding: 0;
    width: 100%;
    z-index: 1;
}


/* BUTTONS */

#page button, a[role="button"], a[role="button"]:visited, input[type="submit"], input[type="reset"], input[type="button"] {
    color: #fff !important;
    font-weight: 700;
    background: #004C69;
    text-shadow: none;
    border-radius: 10px;
    border: 0;
}

#page button:hover, a[role="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover  {
    background: #fff;
    color: #404745 !important;
}

#page button, a[role="button"].secondary, a[role="button"]:visited.secondary, input[type="submit"].secondary, input[type="reset"].secondary, input[type="button"].secondary {
    color: #000 !important;
    font-weight: 700;
    background: #C2C944;
    text-shadow: none;
    border-radius: 10px;
    border: 0;
}

#page button, a[role="button"].secondary:hover {
    background: #CBCDCD;
    color:#000 !important;
}

#page button, a[role="button"].grey, a[role="button"]:visited.grey, input[type="submit"].grey, input[type="reset"].grey, input[type="button"].grey {
    color: #fff !important;
    font-weight: 700;
    background: #404745;
    text-shadow: none;
    border-radius: 10px;
    border: 0;
}

#page button, a[role="button"].grey:hover {
    background: #CBCDCD;
    color:#000 !important;
}

a.card-button.medium.green.column.button-link {
    background: #004C69;
    color: #fff !important;
}

div.awards button {
    margin-bottom: 0.5rem;
    margin-right: 0.5em;
    margin-left: 0.5em;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
}

/* SLIDESHOW */

 #slideshow ul.on li div.caption {
	  background-color: rgba(64,71,69,0.9);
    top: 5em; 
	 height: max-content;
	padding-left: 3em;
 }

@media only screen and (min-width: 37.5em) {
	#slideshow ul.on li div.caption {
	background-color: rgba(64,71,69,0.9);
        width: 60%;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
		top: 2em;
}
}

	
@media only screen and (min-width: 48em) {
    #slideshow ul.on li div.caption {
       background-color: rgba(64,71,69,0.9);
        width: 60%;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
		top: 4em;
    }
}

@media only screen and (min-width: 64em) {
    #slideshow ul.on li div.caption {
        background-color: rgba(64,71,69,0.9);
        width: 40%;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
		top: 6em;
	}
    }

    #slideshow ul.on li div.caption h2 {
        line-height: 2em;
    }

    #slideshow ul.on li div.caption p {
        font-size: larger;
    }

    #slideshow .navnext {
        right: 1.5rem;
    }

    #slideshow .navprev {
        left: 1.5rem;
    }
    a.ssbutton {
        right: 10%;
        bottom: 15%;
        position: absolute;
    }
}
/*INTRO TEXT */
p.ps-intro {
    font-size: xx-large;
    line-height: 1.5em;
    margin: 0 0 0.5em 0 !important;
}

@media only screen and (min-width: 90em) {
    p.ps-intro {
        margin-left: -25% !important;
    }
}

/* BANNER AREA - headings on hero images*/

p#pic-location {
    position: absolute;
    right: 4%;
    top: 76%;
    background-color: rgba(64,71,69,0.9);
    padding: 0.5em;
    border-radius: 0.5rem;
    font-size: small;
}

@media only screen and (min-width: 37.5em){
    p#pic-location {
        top: 71%;
    }
}

@media only screen and (min-width: 90em) {
    p#pic-location {
        top: 85%;
        font-size: inherit;
    }
}

.breakout-bg.bg.alternate-two .columns {
    position:absolute;
    left: 20%;
    top: 50%;
    z-index: 100;
    width: auto;
    margin: 0;
    padding: 10px;
    background: rgba(0,40,72,.7);
    height: fit-content;
}
.breakout-bg.bg.alternate-two h1 {
	color: #fff !important;    
	font-size: 1.5em;
}

.breakout-bg.bg.alternate-two {
    background: none;
}

@media only screen and (min-width: 37.5em) {
    .breakout-bg.bg.alternate-two .columns {
        position: absolute;
        left: 20%;
        top: 50%;
        z-index: 100;
        width: 50%;
        margin: 0;
        padding: 20px;
        background: rgba(0,40,72,.7);
        height: fit-content;
    }
    .breakout-bg.bg.alternate-two h1 {
        color: #fff !important;
        font-size: 3em;
    }
    .breakout-bg.bg.alternate-two p {
        font-size: larger;
    }
}

/*Available property content cards */

.Under-offer p.card-description {
    padding: 1em;
    margin-bottom: 1em;
    background-color: rgba(245,194,112,.6);
    border-width: 0 0 0 5px;
    border-style: none none none solid;
    border-color: #d98411;
    position: relative;
    font-size: large;
}

footer.card-footer a {
    background-color: #404745!important;
}


footer a[href$=".pdf"]:after,
.awards a[href$=".pdf"]:after {
    content: "pdf";
    color: #fff;
}

.card-media {
    position: relative;
    height: 12em !important;
    overflow: hidden;
    background: #fff;
}

/* MAP */
.surround {
    padding: 1em;
    background-color: #002848;
    color: #fff;
}

/* INLINE CONTENT */

a.thumbnail.center {
    color: #002848;
}

.breakout-bg .thumbnail.active:after {
    content: " ";
    width: 0;
    height: 0;
    border-top: 20px solid rgba(0,0,0,.1);
    position: absolute;
    bottom: -20px;
    left: 0;
}

.breakout-bg .three.columns .thumbnail.active:after {
    border-left: 108px solid transparent;
    border-right: 108px  solid transparent;
}

.breakout-bg .four.columns .thumbnail.active:after {
    border-left: 140px solid transparent;
    border-right: 140px  solid transparent;
}

.breakout-bg.alternate .thumbnail.active {
    box-shadow: none;
}

.icon,
.thumbnail p {
    color:#002848;
}

/* PARTNER LOGOS */

.partners p {
    color: #fff;
    background-color: #004C69;
    padding: 10px;
    margin: 10px 0px 0px 0px;
}

.partners {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px -10px rgb(0 0 0 / 20%);
}

/* AWARDS */

.awards p {
    padding: 10px;
    margin: 10px 0px 0px 0px;
}

.awards h3 { 
	padding: 10px;    
}

.awards a,
.awards a:hover,
.awards a:focus,
.awards a:active,
.awards a:visited {
    color: #fff;
    background-color: #404745;
    padding: 10px;
    display: inline-block;
    width: 100%;
    text-align: center;
    position: relative;
    border-radius: none;

}

.awards {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px -10px rgb(0 0 0 / 20%);
}


/* FOOTER */
.hoc-footer {
    background-color: rgba(0,0,0,.1);
}

/* DETAILS */
#page details {
    margin:0.5em 0;
}

#page details summary{
    border-radius: 0.5em;
    border:0px; 
    box-shadow: none;
    background-color: #CBCDCD;
    color:#000;
}
	
.breakout-bg.bg.alternate.inline-expand {
    background-color: transparent;
}
