html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}									
article, aside, figure, footer, header, hgroup, nav, section {display: block;}
img,
object,
embed {max-width: 100%;}
html {overflow-y: scroll;}
ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}
a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}
del {text-decoration: line-through;}
abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}
hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}
input, select {vertical-align: middle;}
pre {
white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}
select, input, textarea {font: 99% sans-serif;}
table {font-size: inherit; font: 100%;}
a:hover, a:active {outline: none;}
small {font-size: 85%;}
strong, th {font-weight: bold;}
td, td img {vertical-align: top;} 
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;} pre, code, kbd, samp {font-family: monospace, sans-serif;} .clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;} button, input, select, textarea {margin: 0;} button {width: auto; overflow: visible;} .ie7 img {-ms-interpolation-mode: bicubic;} .ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));} .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; } @media print {
}* { box-sizing:border-box; -moz-box-sizing:border-box; } 
html { height:100%; }
body { height:100%; background-color:#fff; font-family:'Open Sans',Helvetica,Arial,sans-serif; font-size:10px; font-weight:300; color:#333; }
.push-wrapper { min-height:100%; height:auto !important; height:100%; margin:0 auto -120px; }
.footer-wrapper, .push { height:120px; }
img { width:100%; height:auto; box-sizing:content-box; -moz-box-sizing:content-box; }
.wrapper { max-width:1100px; width:100%; margin:0 auto; padding:0 20px; position:relative; }
.header { border-bottom:10px solid #f4f4f4; position:relative; overflow:visible; z-index:2; }
.header .logo { display:block; margin:30px 0 20px; width:65%; max-width:664px; }
.header .banner-image { position:absolute; top:20px; right:20px; display:block; width:20%; max-width:200px; }
.home .header .banner-image { width:35%; max-width:363px; }  .container-outer { overflow:visible; margin:20px auto; max-width:1060px; padding:20px; }
.container-inner { max-width:70%; float:left; margin-right:29%; overflow:visible; position:relative; z-index:10; border-right:1px solid #e4e4e4;  }
.container-inner .content { float:left; padding-right:6%; width:100%; }
.sidebar { float:right; width:36%; position:relative; margin-right:-42%; margin-top:0; } .container-inner.full { max-width:100%; float:none; margin-right:0; border-right:none; }
.container-inner.full .content { float:none; padding-right:0; } .content:before, .content:after { content:"\0020"; display:block; height:0; overflow:hidden; }  
.content:after { clear:both; }  
.content { zoom:1; } div.col { float:left; margin:0 0 5% 0; }
.col-1 > div.col { width:100%; margin-right:0; }
.col-2 > div.col { width:47.5%; margin-right:5%; }
.col-2 > div.col:nth-of-type(2n+2) { margin-right:0; }
.col-3 > div.col { width:30%; margin-right:5%; }
.col-3 > div.col:nth-of-type(3n+3) { margin-right:0; }
.col-4 > div.col { width:23.5%; margin-right:2%; margin-bottom:2%; }
.col-4 > div.col:nth-of-type(4n+4) { margin-right:0; }
.col-5 > div.col { width:18%; margin-right:2.5%; margin-bottom:0; }
.col-5 > div.col:nth-of-type(5n+5) { margin-right:0; }
.col-1-2 > div.col:nth-of-type(odd) { width:30%; margin-right:5%; }
.col-1-2 > div.col:nth-of-type(even) { width:65%; margin-right:0; }
.col-2-1 > div.col:nth-of-type(odd) { width:65%; margin-right:5%; }
.col-2-1 > div.col:nth-of-type(even) { width:30%; margin-right:0; }
.col-3-1 > div.col:nth-of-type(odd) { width:73.75%; margin-right:5%; }
.col-3-1 > div.col:nth-of-type(even) { width:21.25%; margin-right:0; }
.col-2 > div.col:nth-of-type(1),
.col-3 > div.col:nth-of-type(1),
.col-4 > div.col:nth-of-type(1),
.col-5 > div.col:nth-of-type(1),
.col-1-2 > div.col:nth-of-type(1),
.col-2-1 > div.col:nth-of-type(1),
.col-3-1 > div.col:nth-of-type(1) { clear:left; } 
.bg-grey { background-color:#f4f4f4; margin-bottom:60px; } h1, h2, h3, h4 { font-family:'Open Sans',Helvetica,Arial,sans-serif; font-weight:300; line-height:1.25em; letter-spacing:0.05em; }
h1.clear, h2.clear, h3.clear, h4.clear { clear:both; padding-top:1em; }
h1 { font-size:3em;  margin-bottom:1em; } 
h2 { font-size:2.6em; margin-bottom:0.5em; }
h3 { font-size:2.2em; margin-bottom:0.125em; }
h4 { font-size:2em; margin-bottom:0.5em; }
h2.h1, h3.h1, h4.h1 { font-size:3em; margin-bottom:1em; } 
.quote-text { font:italic 3em/1.5em "Times New Roman", Times, serif; border-bottom:none; padding:0; }
.center { text-align:center; }
.col-3 img { width:100%; }
.col-5 h2 { font-size:2em;  } .content p { font-size:1.5em; line-height:1.6em; margin:0 2px 1.5em; text-align:justify; }
.content strong { color:#666; font-size:105%; }
.content a { color:#000; transition:color 300ms; }
.content a:hover { color:#666; } a.read-more { display:block; width:100%; max-width:200px; border-radius:6px; margin:0 auto; background-color:#3d8417; color:#fff; text-align:center; text-decoration:none; font-size:2em; padding:0.25em 0.5em; transition:background-color 300ms; }
a.read-more:hover { background-color:#333; color:#fff; } .content ul { font-size:1.6em; line-height:1.5em; margin:0 2px 1.5em 0; overflow:hidden; }
.content ul li { list-style-type:disc; margin:0 0 0.5em 30px; }
.content ul li .fa-check { color:#a0bc3e; }
.content ul.arrow-list { overflow:visible; }
.content ul.arrow-list li:before { content:"\f0da"; font-family:'FontAwesome'; font-style:normal; font-size:1.5em; color:#ffaa00; position:absolute; top:0.015em; left:-1em; transition:left 300ms; }
.content ul.arrow-list li:hover:before { left:-0.75em; }
.content ul.arrow-list li { position:relative; list-style-type:none; }
.content ul.arrow-link-list { overflow:visible; }
.content ul.arrow-link-list li { list-style-type:none; }
.content ul.arrow-link-list li a:before { content:"\f0da"; font-family:'FontAwesome'; font-style:normal; font-size:1.5em; color:#ffaa00; position:absolute; top:0.015em; left:-1em; transition:left 300ms; }
.content ul.arrow-link-list li a:hover:before { left:-0.75em; }
.content ul.arrow-link-list li a { position:relative; }
.content ul.tick-list { overflow:visible; }
.content ul.tick-list li:before { content:"\f00c"; font-family:'FontAwesome'; font-style:normal; color:#ffaa00; position:absolute; top:0.15em; left:-1.5em; }
.content ul.tick-list li { position:relative; list-style-type:none; }
.content ul.pdf-list { margin-left:5em; }
.content ul.pdf-list li:before { content:"\f1c1 "; font-family:'FontAwesome'; font-style:normal; color:#bc3e3e; font-size:2em; position:absolute; top:0.15em; left:-1em; }
.content ul.pdf-list li { position:relative; list-style-type:none; padding-top:0.25em; margin-bottom:1.5em; font-size:1.125em; } .banner { padding:30px 0; border-bottom:10px solid #cacaca; }
.banner h1 { width:65%; font-size:2em; margin-bottom:0.25em; }
.banner h2 { width:65%; font-size:1.2em; line-height:1.25em; color:#5b923e; }
.bg-grey .col-3 { padding-top:30px; }
.bg-grey .col-3 .col { background-color:#fff; border:1px solid #cacaca; border-radius:10px; padding:15px;  }
.item-height { margin-bottom:20px; }
.item-height * { text-align:center }
.item-height h3 { font-size:3em; }
.item-height img { display:block; margin:0 auto; width:100%; max-width:230px; }
.item-height h4 { font-size:2.2em; color:#3d8317; line-height:1.25em; }
.content .item-height p { text-align:center; line-height:1.25em; }
.entry h3 { font-size:3.2em; }
.entry h4 { border-bottom: 1px solid #ddd; color: #3d8317; font-size: 2.4em; padding-bottom: 0.5em; }
.cookies { position:fixed; z-index:999; bottom:0; right:0; border-radius:5px 0 0 0; background-color:#000; background-color:rgba(0,0,0,0.7); padding:5px 5px 5px 10px; }
.cookies a { font-size:12px; text-transform:uppercase; font-weight:700; color:#fff; line-height:2em; }
.cookies a:hover { color:#fff; text-decoration:none; }
.cookies span { width:12px; height:12px; display:inline-block; margin:-2px 10px; background:url(//www.affinityinsurance.ie/wp-content/themes/magaffinity/images/close.png) no-repeat; cursor:pointer; } .inner-page { margin-top:30px; }
.inner-page h1 { border-bottom: 1px solid #ddd; font-size:4em; padding-bottom: 0.5em; } .blog h2 { font-size:3.2em; }
.blog h2 a { text-decoration:none; }
.shareaholic-canvas img { width:auto; }
.sidebar ul { font-size:1.4em; line-height:1.5em; margin:0 2px 40px 0; overflow:hidden; }
.sidebar ul li { list-style-type:disc; margin:0 0 0.5em 20px; } 
.sidebar a { color:#000; transition:color 300ms; }
.sidebar a:hover { color:#666; } 
.sidebar .textwidget { margin-bottom:40px; }
.sidebar p { font-size:1.3em; }
.content .entry { margin-bottom:70px; }
#nav-single { margin-bottom:20px; }
.content #wpcomm .wc-comment-text p { font-size:1em; }
.content #wc-comment-header { font-size:2.2em; border-bottom:none; }
.navigation .wp-paginate { font-size:1.2em; text-align:center; }
.navigation .wp-paginate li:first-child { display:none; }
.navigation .wp-paginate .current { background:#c215bc; border-color:#c215bc; }
.sidebar img { width:auto !important; }
.content .shopthepost-widget { background-color:#fff; margin-bottom:25px; padding:15px 0; }
.postmetadata { font-size:1.4em; text-align:right; border-bottom:1px solid #e4e4e4; padding-bottom:1em; margin-bottom:1em; }
.blog .content .entry * { text-align:center; } div.wpcf7 { box-sizing:border-box; -moz-box-sizing:border-box; width:70%; position:relative; margin:0 auto; padding:10px 0 50px; }
div.wpcf7 * { box-sizing:border-box; -moz-box-sizing:border-box; }
.wpcf7 form:before, .wpcf7 form:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.wpcf7 form:after { clear: both; }  
.wpcf7 form { zoom:1; position:relative; } 
.screen-reader-response { display:none !important; } 
.wpcf7 p.notice { float:none; width:96%; font-size:1.1em; display:block; text-align:center; }
.content .wpcf7 p { float:left; width:45%; margin:0 2% 2.5%; padding:0; }
.wpcf7 p.full { float:none; width:94%; }
.wpcf7 label { display:inline-block; line-height:2.5em; display:none; }
.wpcf7 input, 
.wpcf7 textarea,
.wpcf7 select { outline:none; width:100%; border:1px solid #aaa; padding:12px; font-size:16px; color:#444; border-radius:4px; font-family: 'Open Sans', Helvetica,Arial,sans-serif; }
.wpcf7 textarea { height:120px; resize:vertical; }
input.wpcf7-submit { text-align:center; text-transform:uppercase; border:none; color:#fff; cursor:pointer; -webkit-appearance:none; font-size:1.8em; display:block; border-radius:4px; background-color:#3E8418; font-weight:300; text-decoration:none; padding:0.5em 5px; transition:background-color 300ms; }
input.wpcf7-submit:hover { background-color:#333; }
.wpcf7 span.wpcf7-not-valid-tip,
.wpcf7 span.wpcf7-not-valid-tip-no-ajax { display:none !important; }
.wpcf7-response-output {
background:none;
border:none !important;
margin:0 !important;
padding: 0 !important;
z-index: 999;
font-size:15px;
text-align:center;
position:absolute;
bottom:-25px;
right:0;
width:100%;
color:#000;
}
div.wpcf7 p img.ajax-loader { position:absolute; left:50%; margin:0; padding:0; margin-left:-110px; top:auto; bottom:-10px; width:auto; }
.wpcf7-not-valid { border-color:red !important; }
span.wpcf7-form-control-wrap { display:inline !important; }
.footer {  position:relative; padding:5px 0; color:#fff; background:#f4f4f4;  }
.footer .wrapper { text-align:center; }
.footer-nav { padding:20px 0 10px; }
.footer-nav ul { font-size:1.4em; }
.footer-nav ul li { display:inline-block; margin:0 20px 10px; }
.footer-nav ul li a { color:#666; }
.social-wrapper { text-align:center; max-width:500px; margin:10px auto; }
.social-wrapper a { display:inline-block; margin:3% 2.5%; text-decoration:none; }
.social { max-width:50px; height:auto; border-radius:50%; background-color:#222; background-color:rgba(0,0,0,0.2); transition:background-color 400ms; }
.social:hover { background-color:#333; background-color:rgba(255,255,255,0.4); }
.social .fa { display:block; width:50px; height:50px; color:#fff; line-height:50px; }
.sidebar .social { max-width:40px; background-color:#C215BC; }
.sidebar .social .fa { width:40px; height:40px; color:#fff; line-height:40px; }
.sub-footer { background-color:#CACACA;  border-top:1px solid #fff; min-height:50px; padding-top:14px; color:#666; font-size:1.3em; }
.sub-footer span { white-space:nowrap; }
.sub-footer small { font-size:95%; }
.sub-footer a { color:#666; transition:color 300ms; }
.sub-footer a:hover { color:#333; }
.sub-footer .hilmon { float:right; line-height:1.75em; }  img.alignleft { float:left; margin:3px 50px 5px 0; width:auto; max-width:40%; }
img.alignright { float:right; margin:3px 0 5px 50px; width:auto; max-width:40%; }
img.aligncenter { display:block; margin:5px auto 25px; width:auto; }
.line { clear:both; padding-top:2%; line-height:3em; margin-bottom:3em; border-bottom:1px solid #e4e4e4; }
.overflow { overflow:hidden; }
.clear { clear:both; padding-top:2%; }
.text-center { text-align:center; }
.white { color:#fff !important; }
.text-green { color:#5b923e; }
@media only screen and (max-width:1060px) {
.home .header .banner-image { width:30%; }
.sub-footer { text-align:center; }
.sub-footer small { display:block; padding:10px 0; }
.sub-footer .hilmon { display:block; float:none; }
}
@media only screen and (max-width:980px) {
}
@media only screen and (max-width:768px) {
.col-2 > div.col,
.col-4 > div.col:nth-of-type(n),
.col-2-1 > div.col:nth-of-type(n),
.col-3-1 > div.col:nth-of-type(n),
.gallery-size-thumbnail figure.gallery-item:nth-of-type(n) { width:47.5%; margin-right:5%; }
.col-2 > div.col:nth-of-type(2n+2),
.col-4 > div.col:nth-of-type(2n+2),
.col-2-1 > div.col:nth-of-type(2n+2),
.col-3-1 > div.col:nth-of-type(2n+2),
.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+2) { margin-right:0; }
.col-3 > div.col:nth-of-type(n) { float:none; margin-right:0; width:100%; }
.gallery-wrapper-home .col-3 > div:nth-of-type(4) h2 { color:#fff; }
.container-inner { margin:0; max-width:100%; float:none; border:none; }
.container-inner .content { float:none; padding-right:0; }
.sidebar { margin-right:0; width:100%; float:none; }
}
@media only screen and (max-width:700px) {
.header .contact span { font-size:1.4em; line-height:1.75em; }
#searchform div input.search-box { font-size:1.3em; }
.box-button { font-size:1.4em; }
.push-wrapper { margin:0 auto; }
.push { height:0;  }
.footer { height:auto; padding-bottom:35px; }
.footer .col-3 { width:100%; max-width:400px; margin:0 auto 8% !important; float:none; }
div.wpcf7 { margin:10px 0 10px 2%; width:98%; }
}
@media only screen and (max-width:600px) {
.home .header .banner-image { min-width:80px; top:0; width:20%; }
.banner h1,
.banner h2 { width:100%; }
.inner-page h1 { font-size: 3em; }
.col-2 > div.col:nth-of-type(n),
.col-1-2 > div.col:nth-of-type(n) { width:100%; margin-right:0; }
.col-1-2 > div.col img.alignnone { display:block; max-width:200px; margin:0 auto; }
.testimonial blockquote { margin:0 1em; font-size:2em; }
h4.light { font-size:1.5em; text-align:center; letter-spacing:normal; }
}
@media only screen and (max-width:560px) {
.header { border-top:none; }
.grid-sizer, .grid-item { width:32%; }
}
@media only screen and (max-width:470px) {
.header .contact { float:none; margin:0 auto; padding:5% 0; text-align:center; width:100%; background-color:#000; }
.header .contact span { float:none; padding-right:0; display:block; font-size:1.6em; }
.button-wrapper { padding-top:20px; margin-bottom:40px; }
.col-4 > div.col:nth-of-type(n),
.col-2-1 > div.col:nth-of-type(n),
.col-3-1 > div.col:nth-of-type(n),
.gallery-size-thumbnail .gallery-item,
.gallery-size-thumbnail dl:nth-of-type(3n+2) { width:86%; margin:0 7% 5%; }
.content p { text-align:left; }
.content .wpcf7 p , 
.content .wpcf7 p.full { float:none; width:98%; margin:0 0 5%; }
}
@media only screen and (max-width:420px) {
.banner h1 { font-size:3em;  }
.banner h2 { font-size:2em; }
}
@media only screen and (max-width:380px) {
.grid-sizer, .grid-item { width:49%; }
.col-4 > div.col:nth-of-type(n),
.col-2-1 > div.col:nth-of-type(n),
.col-3-1 > div.col:nth-of-type(n),
.gallery-size-thumbnail .gallery-item,
.gallery-size-thumbnail dl:nth-of-type(3n+2) { width:100%; margin:0 0 5%; }
}