/*
Theme Name: Buller Swingbridge
Description: Buller Swingbridge theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */

td {
	vertical-align: top;
}

a {
	color: #1a6eb7;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #ff9900;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 140%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	line-height: 120%;
	font-family: 'Montserrat', sans-serif;
    color: #d03523;
}

h1 {
	font-size: 2.4em;
	margin-top: 0;
}

h2 {
	font-size: 2.1em;
}

h3 {
	font-size: 1.8em;
}

h4 {
    font-size: 1.6em;
}

hr {
    height: 3px;
    width: 100%;
    border: none;
    margin: 80px auto;
    background-color: #d0d0d0;
    text-align: left;
}

/* Content                                          */
/* ------------------------------------------------ */
#homepageintro {
    background: #a3cd39;
    overflow: hidden;
    margin: 10px 0;
    padding: 40px 0;
}

#homepageintro, #homepageintro h1, #homepageintro h2, #homepageintro li {
    color: #d03523;
}

#homepageintro h1, #homepageintro h2 {
    margin: 5px 0;
}

#homepageintro ul {
    margin: 20px;
}

#homepageintro li {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 33px;
}

#homepageintro .column-half p:first-child {
    font-weight: 600;
    margin-top: 20px;
}

#homepagepanels {
    background: #e8e8d6;
    padding: 80px 0;
    overflow: hidden;
}

.homepagepanel {
    float: left;
    width: 30.333%;
    margin: 0 1.5%;
    background: #fff;
}

.homepagepanel img {
    display: block;
    width: 100%;
    height: auto;
    transition: .2s ease-in;
}

.homepagepanel img:hover {
    filter: grayscale(80%);
}

.homepagepanel a {
    text-decoration: none;
}

.homepagepanel h3 {
    font-size: 29px;
    margin: 0 0 10px 0;
}

.homepagepanelpadding {
    padding: 25px;
}

.map-bg {
    background: url(images/intro-nz-map.gif) right bottom no-repeat;
}

.content {
	padding: 40px 0;
	overflow: hidden;
	font-size: 1.1em;
	min-height: 200px;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}

.column-container {
    margin: 0 -1.5%;
}

.column-half {
    width: 47%;
    margin: 1.5%;
    float: left;
    position: relative;
    transition:all 0.3s ease;
}

a.readmore, input[type="submit"] {
	color: #fff;
	padding: 20px 30px;
	border-radius: 7px;
    background: #d03523;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 19px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: none;
	line-height: 100%;
	cursor: pointer;
}

a.readmore:hover, input[type="submit"]:hover {
	background: #083549;
	color: #fff;
}


a.readmore, .homepagebox-image img, input[type="submit"] {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#homepagepanels a.readmore {
    background: #c0bfbf;
    color: #083549;
    font-size: 14px;
    padding: 15px 20px;
}

#homepagepanels a.readmore:hover {
    background: #d03523;
    color: #fff;
}

.align-center {
    text-align: center;
    padding: 40px 0;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	margin-top: 10px;
	padding: 40px 0;
	text-align: center;
	background: #00a2e5;
}

#footer a, #footer, #footer p {
	color: #fff;
    font-size: 41px;
    line-height: 140%;
}

#footer a.readmore {
    font-size: 20px;
}

a.scrollup {
	width: 53px;
	height: 53px;
	position: fixed;
	bottom: 50px;
	right: 20px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.png') no-repeat;
	opacity: 0.7;
}

#copyright {
    padding: 120px 0 20px 0;
    clear: both;
}

#copyright, #copyright a {
    font-size: 12px !important;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 1280px) {
	.wrapper {
		width: auto;
	}
}

@media screen and (max-width: 960px) {
    .homepagepanel h3 {
        font-size: 22px;
    }

    h1 {
        font-size: 2.0em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.6em;
    }

    h4 {
        font-size: 1.4em;
    }

    #homepageintro li {
        font-size: 26px;
    }
}

@media screen and (max-width: 760px) {
    .column-half, .column-full {
        width: auto;
        float: none;
        padding: 25px;
        margin: 0 0 30px 0;
    }
}

@media screen and (max-width: 600px) {
    .column-half {
        width: auto;
        float: none;
        margin: 0 0 30px 0;
    }

    .homepagepanel {
        float: none;
        width: auto;
        margin: 0 0 30px 0;
    }

    #footer a, #footer, #footer p {
        font-size: 26px;
    }
}

/* WP Common Styles */
ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	padding-left:13px;
	}

.commenttext {
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
	padding-bottom: 5px;
}

.alignleft, .alignright {
	margin-bottom: 20px;
}

.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}


@media screen and (max-width: 600px) {
    img.alignleft, img.alignright {
        float: none;
        display: block;
        margin: 20px auto;
    }
}