/* ======= RESET & SETUP ======= */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, 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;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a{
	text-decoration:none;
	}
	
html{
	font-size:100%;
	}

html, body{
	height:100%;
	}

p, a, label{
    font-family: 'Open Sans', sans-serif;
}

* { 
	-moz-box-sizing:border-box; 
	-webkit-box-sizing:border-box; 
	box-sizing:border-box;
	}

/* ======= GRID ============ */


/* -----  SECTIONS ---------  */

.section {
	clear: both;
	padding: 0px;
	margin: 0px;
	}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
	
	}
.col:first-child {
	margin-left: 0;
	}


/* ----- GROUPING ------- */

.group:before,
.group:after {
	content:"";
	display:table;
	}
	
.group:after {
	clear:both;
	}
	
.group {
    zoom:1; /* For IE 6/7 */
	}


                                               
					
/* -------- GRID OF TWELVE ------- */

.span_12_of_12 {
	width: 100%;
	}

.span_11_of_12 {
  	width: 91.53%;
	}
	
.span_10_of_12 {
  	width: 83.06%;
	}

.span_9_of_12 {
  	width: 74.6%;
	}

.span_8_of_12 {
  	width: 66.13%;
	}

.span_7_of_12 {
  	width: 57.66%;
	}

.span_6_of_12 {
  	width: 49.2%;
	}

.span_5_of_12 {
  	width: 40.73%;
	}

.span_4_of_12 {
  	width: 32.26%;
	}

.span_3_of_12 {
  	width: 23.8%;
	}

.span_2_of_12 {
  	width: 15.33%;
	}

.span_1_of_12 {
  	width: 6.866%;
	}

/* --------- MOBILE -------- */

@media only screen and (max-width: 801px) {
	.col { 
		margin: 1% 0 1% 0%;
		}
}

@media only screen and (max-width: 801px) {
	.span_12_of_12 {
		width: 100%; 
		}
	.span_11_of_12 {
		width: 100%; 
		}
	.span_10_of_12 {
		width: 100%; 
		}
	.span_9_of_12 {
		width: 100%; 
		}
	.span_8_of_12 {
		width: 100%; 
		}
	.span_7_of_12 {
		width: 100%; 
		}
	.span_6_of_12 {
		width: 100%; 
		}
	.span_5_of_12 {
		width: 100%; 
		}
	.span_4_of_12 {
		width: 100%; 
		}
	.span_3_of_12 {
		width: 100%; 
		}
	.span_2_of_12 {
		width: 100%; 
		}
	.span_1_of_12 {
		width: 100%;
		}
}

/* === COOKIE POPUP === */

.divascookies {
	position: fixed;
	bottom: 0;
	width: 100%;
	background: #f9fafc;
	color: #636363;
	display: none;
	z-index: 999999;
}

.divascookies > .divascookies-banner-container {
	position: relative;
	padding: 15px 20px;
	overflow: hidden;
	text-align: center;
}

.divascookies p.divascookies-banner-text {
	position: relative;
	line-height: 1.3em;
	font-size: 0.8em;
	display: inline-block;
	padding: 0 10px 0 0;
}

span.divascookies-policy-link {
} 

span.divascookies-policy-link a {
	white-space: nowrap;	
    color:#156b0f;
    font-weight:700;
}

span.divascookies-policy-link a:hover {
	text-decoration: underline;
    transition: color 0.3s ease 0s;
}

.divascookies-banner-container > .divascookies-accept-button-container {
	display: inline-block;
	margin-top: 5px;
}

.divascookies-accept-button-container > .divascookies-accept-button-img {
	
}

.divascookies-accept-button-container > .divascookies-accept-button-text {
	font-size: 0.8em;
	cursor: pointer;
	background: #156b0f;
	color: #fff;
	padding: 7px 10px;
    transition: background-color 0.3s ease 0s;
}

.divascookies-accept-button-container > .divascookies-accept-button-text:hover {
	background: #565656;
}


/* === END COOKIE POPUP === */




.green-text{
    color:#156b0f;
}

.home-wrap{
    width:100%;
    height:500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom right;
    background-image: url(../img/independent-mortgage-advisor-contact-hero.jpg);
}

header{
    padding:40px;
    background-color:#dff1ff;
    overflow: hidden;
}

.logo{
    width:500px;
    float:left;
}


.logo h1{
    background-color:#156b0f;
    color: #fff;
    font-size: 36px;
    line-height:1.8;
    margin:0 0 5px;
}

.logo h2{
    font-size: 22px;
    line-height:1.2;
    color:#156b0f;
}

.logo h1, .logo h2{
    font-weight:normal;
    letter-spacing: 1px;
    text-align: center;
}


nav{
    float:right;
    margin:0 10px 0 0;
    width:220px;
}

nav li{
    list-style-type: none;
}

nav li a{
    display:block;
    float:left;
    width:100px;
    height:30px;
    font-size:18px;
    line-height:1.8;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color:#156b0f;
    text-transform: uppercase;
    text-align: center;
}

.underline{
    text-decoration: underline;
}


.content-wrap{
    margin:0;
    width:100%;
    padding:0;
    clear:both;
}

.left{
    float:left;
}

.right{
    float:right;
}

.xmas-wrap{
    width:100%;
    height:400px;
    background-color: #c7d5d6;
}

.santa{
    width:200px;
    height:400px;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: cover;
    background-image: url(../img/santa-left.png);
}

.reindeer{
    width:220px;
    height:400px;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: cover;
    background-image: url(../img/reindder-right.png);
}

.xmas-wrap{
    position: relative;
}

.xmas-greeting{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    width:100%;
    z-index: 2;
}

.xmas-greeting h1{
    font-size: 3rem;
    text-align: center;
    color: #156b0f;
    font-weight: normal;
    margin:0 0 10px;
}

.xmas-greeting h2{
    font-size: 2rem;
    text-align: center;
    font-weight: normal;
    font-style: italic;
    margin:0 0 10px;
}

#snow{
	background: none;
	background-image: url(../img/s1.png), url(../img/s2.png), url(../img/s3.png);
	height: 400px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index:1;
	-webkit-animation: snow 10s linear infinite;
	-moz-animation: snow 10s linear infinite;
	-ms-animation: snow 10s linear infinite;
	animation: snow 10s linear infinite;
}
@keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-moz-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 400px 1000px, 200px 400px, 100px 300px;}
}
@-webkit-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-ms-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}	


.image-mod, .copy-mod{
    width:50%;
}

.copy-mod{
    padding:70px 0;
    clear: both;
}

.copy-mod--inner{
    width:70%;
    margin:0 auto;
}

.copy-mod--inner h1{
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 3rem;
    line-height:1.1;
}

.copy-mod--inner h3, .copy-mod--inner h4{
    font-family: 'Open Sans', sans-serif;
    font-size:18px;
    margin-bottom:10px;
    line-height:1.4;
    font-weight: 700;
    color:#156b0f;
    text-transform: uppercase;
}

.copy-mod--inner p{
    font-family: 'Open Sans', sans-serif;
    font-size:12px;
    margin-bottom:10px;
    line-height:1.4;
}

.bold{
    font-weight: 700;
}

.italic{
    font-style: italic;
}

.button{
    display:block;
    width:120px;
    height:30px;
    background-color:#156b0f;
    color:#fff;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    line-height: 2.2;
    font-size:14px;
    margin:40px 0 0;
}

.image-mod{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

#main-image{
    background-image: url(../img/independent-mortgage-advisor-main.jpg);
    background-position: center;
}

#service{
    background-image: url(../img/independent-mortgage-advisor-service.jpg);
}

#commitment{
    background-image: url(../img/independent-mortgage-advisor-commitment.jpg);
}

#baserates{
    background-image: url(../img/independent-mortgage-advisor-base-rates.jpg);
}

footer{
    clear:both;
    background-color:#dff1ff;
    padding:20px;
}

footer h5{
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    line-height:1.4;
}

footer h6{
    font-family: 'Open Sans', sans-serif;
    font-size:14px;
    line-height:1.4;
    color:#156b0f;
}

footer a{
    color:#156b0f;
    text-decoration: underline;
}

footer h1, footer h2{
    width:80%;
    max-width: 300px;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
}

footer h1{
    font-size:18px;
    height:30px;
    line-height:1.6;
    letter-spacing: 2px;
    background-color:#156b0f;
    color:#fff;
    margin:0 0 5px;
}

footer h2{
    font-size:12px;
    margin:0 0 20px;
}

footer p{
    color:#156b0f;
    font-size:10px;
    line-height:1.4;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

/* === CONTACT PAGE === */


#contact-main{
    background-image: url(../img/independent-mortgage-advisor-contact-hero.jpg);
}

.contact-section{
    padding:40px;
}

.contact-section h2, .contact-section h3{
    font-family: 'Open Sans', sans-serif;
    line-height:1.3;
}

.contact-section h2{
    font-size:24px;
    color:#156b0f;
    margin:0 0 20px;
}

.contact-section h3{
    font-size:16px;
    margin:0 0 40px;
}

.contact-section p{
    font-size:12px;
    line-height:1.3;
}

.contact-section a{
    text-decoration: underline;
    color:#156b0f;
}

label{
    display: inline-block;
    font-size:0.875rem;
    margin:10px 0 7px;
}

input, textarea{
    width:100%;
    margin:0 0 10px;
    padding:20px;
    border:none;
    background-color:rgba(255,255,255,0.6);
}

input{
    height:30px;
}

button{
    background-color:#156b0f;
    border:0;
    text-transform: uppercase;
    color:#fff;
    padding:10px;
    cursor: pointer;
    margin:10px 0;
}


@media only screen and (max-width: 1100px) {
    footer h1, footer h2{
        width:90%;
        max-width: 360px;
    }
    
    .main-copy{
        width:50%;
    }
	
}

@media only screen and (max-width: 801px) {
    
     nav, .logo{
        float:none;
    }
    
    nav{
        margin:0 auto 20px;
        width:220px;
        padding:0 0 40px;
    }
    
    .logo{
        margin:0 auto;
    }
    
    .home-wrap{
        width:100%;
        height:500px;
        background-size: cover;
        position:relative;
    }
    
    .reindeer{
        display:none;
    }
    
    
    #contact-main{
        height:100vh;
    }


    .copy-mod h1{
        font-size: 2.5rem;
        line-height:1.1;
    }
    
    .left, .right{
        float:none;
    }
    
    .image-mod, .copy-mod{
        width:100%;
    }
    
    .image-mod{
        height:400px;
    }
     
}

@media only screen and (max-width: 640px) {


    
    #contact-main{
        height:auto;
        background-position: bottom left;
    }
    
    
    
}

@media only screen and (max-width: 480px) {
    .logo{
        width:100%;
    }
    
    .logo h1{
        font-size:28px;
    }
    
    .copy-mod h1{
        font-size: 2.2rem;
    }
    
}





@media only screen and (max-width: 320px) {
    
     .logo h1{
        font-size:24px;
    }
    
    .main-copy h1{
        font-size: 18px;
    }


}

