/*
Theme Name: Pegasus Haven
Description: Pegasus Haven theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */

td {
	vertical-align: top;
}

a {
	color: #00aee8;
	text-decoration: underline;
	outline: none;
    font-weight: 600;
}

a:hover {
	color: #8f208b;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
    list-style-position: inside;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	line-height: 120%;
    color: var(--main);
}

h1 {
	font-size: 2.6em;
	margin-top: 0;
}

h2 {
	font-size: 2.2em;
}

h3 {
	font-size: 1.8em;
}

h4 {
    font-size: 1.6em;
}


b, strong {
    font-weight: 700;
}

hr {
    height: 6px;
    width: 100px;
    border: none;
    margin: 16px 0 30px 0;
    background-color: var(--secondary);
    text-align: left;
}

.centered hr {
    margin: 0 auto;
}

/* homepage                                         */
/* ------------------------------------------------ */
#homepagepanels {
    display: flex; /* next two lines for full-height columns */
    flex-wrap: wrap;
}

#homepagepanels .wrapper .columns-container h2 {
    font-size: 50px;
}

#homepagepanels .column-third {
    background: var(--main);

}

#homepagepanels .column-third:nth-of-type(2) {
    background: var(--secondary);
}

#homepagepanels .column-third:nth-of-type(3) {
    background: var(--third);
}

#homepagepanels .column-third {
    margin: 0;
    padding: 0;
    width: 33.333%;
    position: relative;
}

.homepagepanel {
    position: relative;
}

.homepagepanel-content {
    padding: 20px 50px 50px;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}


.homepagepanel a {
    text-decoration: none;
}

.homepagepanel-content h3, {
    font-size: 26px;
    margin: 0 0 10px 0;
}

.homepagepanel-content h3, .homepagepanel-content p {
    color: #fff;
}

.homepagepanel-content p {
    font-size: 1.1em;
}

.homepagepanel a.readmore, #sidebarpic a.readmore {
    background: none;
    border: 2px solid #fff;
}

.homepagepanel a.readmore:hover {
    background: #fff;
    color: var(--main);
}

#homepagepanels .column-third:nth-of-type(2) a.readmore:hover {
    color: var(--secondary);
}

#homepagepanels .column-third:nth-of-type(3) a.readmore:hover {
    color: var(--third);
}

#homepanel1::before, #homepanel2::before, #homepanel3::before {
    content: '';
    display: block;
    width: 100%;
    height: 60px;
    background: url(images/clouds1.png) left bottom repeat-x;
    background-size: 100%;
    position: absolute;
    top: 0;
    transform: translateY(-100%);
}

#homepanel2::before {
    background: url(images/clouds2.png) left bottom repeat-x;
    background-size: 100%;
}

#homepanel3::before {
    background: url(images/clouds3.png) left bottom repeat-x;
    background-size: 100%;
}

.newsitemdate {
    font-weight: bold;
    font-size: 14px;
}

/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 60px 0 80px 0;
	/*overflow: hidden;*/
	font-size: 1.1em;
	min-height: 200px;
    clear: both;
    background: #fff;
}

.content, .content p, .content li {
	line-height: 150%;
}

.content img {
	max-width: 100%;
	height: auto;
}

.homepagecontent {
    font-size: 1.2em;
}

.contentinner {
    background: #f5f5f5;
}

.contentinner .wrapper {
    background: #fff;
    padding: 50px;
    min-height: 200px;
    margin-top: -150px;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.content-left {
    width: 22%;
    float: left;
    font-size: 0.9em;
}

.content-right {
    width: 71%;
    margin-left: 2%;
    padding-left: 4%;
    border-left: 1px solid #dedede;
    margin-bottom: 30px;
    float: right;
}

.section {
    padding: 220px 0 220px 0;
    margin: -100px 0;
    overflow: hidden;
    font-size: 1.2em;
}

.section .sectionbox {
    background: var(--third);
    float: right;
}

.sectionbox h2, .sectionbox h3, .sectionbox p, .sectionbox a, .sectionbox li {
    color: #fff;
}

.sectionbox h2 {
    margin-top: 0;
}

.sectionboxcontent {
    padding: 30px 40px;
}

.centered {
    text-align: center;
}


#sidebarpic {
    display: block;
    padding: 60px 0 20px 0;
    background: var(--third);
    background-size: 100%;
    width: 100%;
    text-decoration: none;
    position: relative;
    text-align: center;
    margin-top: 30px;
}

#sidebarpic::before {
    content: '';
    display: block;
    width: 100%;
    height: 60px;
    background: url(images/clouds3.png) left bottom repeat-x;
    background-size: 150%;
    position: absolute;
    top: 0;
    transform: translateY(-100%);
}


#sidebarpic h2 {
    color: #fff;
    padding: 0 20px;
    margin: 0;
}

#sidebarpic p {
    padding: 0 20px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    font-weight: 300;
    margin: 0;
}

#sidebarpic a.readmore:hover {
    background: #fff;
    color: var(--third);
}

#sidebararrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 30px;
    height: 30px;
}

a.readmore, input[type="submit"] {
	background: var(--secondary);
	color: #fff;
    border: 2px solid #fff;
    border-radius: 2px;
	padding: 18px 25px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 18px;
	font-weight: bold;
    letter-spacing: -0.8px;
	text-shadow: none;
	line-height: 100%;
	cursor: pointer;
}

a.readmore:hover, #headerslideshow a.readmore:hover, input[type="submit"]:hover {
	background: var(--main);
	color: #fff;
}


a.readmore, .homepagebox-image img, input[type="submit"], #sidebarpic {
	-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;
}

/* Testimonials plugin ------------------------------------------- */
.testimonial {
    margin-bottom: 50px !important;
    background: #f2f2f2;
    border: none !important;
}

.testimonial a.readmore {
    display: block;
    max-width: 100px;
}

/*.strong-view.default .testimonial-heading {
    background: url("https://nelsonbuilder.nz/wp-content/plugins/strong-testimonials/templates/default/img/quotes.png") no-repeat scroll left 4px transparent;
    padding-bottom: 20px;
}*/

.testimonial-content {
    padding-left: 40px;
}

/* Columns                                          */
/* ------------------------------------------------ */
.columns-container {
    margin: 0 -2%;
    overflow: hidden;
}

.column-half {
    width: 46%;
    margin: 0 2% 40px 2%;
    float: left;
}

.column-twothirds {
    width: 62.333%;
    margin: 0 2% 40px 2%;
    float: left;
}

.column-third {
    width: 29.333333%;
    margin: 0 2% 40px 2%;
    float: left;
}

.column-quarter {
    width: 21%;
    margin: 0 2% 40px 2%;
    float: left;
}


.clearfix {
    clear: both;
}

.sidebar-contact {
    margin-bottom: 10px;
}

.sidebar-contact h4 {
    font-size: 20px;
    margin: 20px 0 0 0;
}

.sidebar-contact a {
    color: #777;
    font-weight: 300;
    text-decoration: none;
}

.sidebar-contact li {
    list-style-type: none;
    margin-top: 14px;
    padding: 0 0 28px 36px;
    border-bottom: 1px solid #dedede;
    font-size: 16px;
}

/*.sidebar-contact li:last-child {
    border-bottom: none;
}*/

.sidebar-phone {
    background: url(images/sidebar-phone.svg) left top no-repeat;
    background-size: 24px;
}

.sidebar-email {
    background: url(images/sidebar-email.svg) left top no-repeat;
    background-size: 24px;
}

.sidebar-address {
    background: url(images/sidebar-location.svg) left 3px no-repeat;
    background-size: 22px;
}

.content .sidebar-facebook {
    max-width: 200px;
    height: auto;
    margin-top: 18px;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 1.1em;
	padding: 80px 0 0 0;
	text-align: center;
    background: var(--main);
    line-height: 150%;
    position: relative;
}

#footer .wrapper {
    position: relative;

}

#footer img {
    max-width: 300px;
    height: auto;
}

#footer a, #footer, #footer p {
	color: #fff;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .column-third {
    text-align: left;
}

#footer h3 {
    color: #fff;
    font-size: 40px;
    margin: 0 0 20px 0;
}

#footer hr {
    background: #8cc1df;
}

#footer * {
    color: #fff;
}

#footer ul {
    margin: -4px 10px;
}

#footer ul li a {
    text-decoration: none;
}

#footer::before, #homepagequote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 0;
    background: url(images/watermark.svg) left 50% no-repeat;
    background-size: 70%;
}

.footerlogo {
    width: 140px;
    height: auto;
}

#footer-mainlogo {
    clear: both;
    padding-top: 20px;
}

#footer-mainlogo img {
    width: 180px;
    height: auto;
}

.mainlogo {
    padding: 20px;
    text-align: center;
    background: #fff;
}

#copyright {
    border-top: 4px solid rgba(255, 255, 255, 0.6);
    clear: both;
    padding: 20px 0;
    margin-top: 90px;
    font-size: 14px;
    color: #fff;
    opacity: 0.7;
}

#copyright, #copyright a {
    font-weight: 300;
}

a.scrollup {
    width: 53px;
    height: 53px;
    position: fixed;
    bottom: 90px;
    right: 17px;
    display: none;
    text-indent: -9999px;
    background: url('images/top.svg') no-repeat;
    opacity: 0.7;
}

/* Responsive elements                              */
/* ------------------------------------------------ */

@media screen and (max-width: 1280px) {
	.wrapper {
		width: auto;
	}
}


@media screen and (max-width: 1000px) {
    .section .sectionbox {
        float: none;
        width: auto;
        margin: 80px;
    }

    .content-left, .content-right {
        width: 100%;
        padding: 0;
        float: none;
        border: none;
        margin: 0;
    }

    .content-left {
        margin-top: 50px;
        padding-top: 50px;
        border-top: 1px solid #eee;
    }

    #sidebarpic {
        padding-top: 25px;
        margin-bottom: 50px;
    }

    #sidebarpic::before {
        background-size: 100%;
    }

    #footer::before, #homepagequote::before {
        background: url(images/watermark.svg) 50% 50% no-repeat;
        background-size: 140%;
    }
}

@media screen and (max-width: 800px) {
    #homepagepanels .column-third {
        width: 100%;
        float: none;
        padding-bottom: 60px;
    }

    .column-third {
        width: 96%;
        float: none;
    }

    .column-quarter {
        width: 46%;
    }

    .column-quarter:nth-child(2n+1) {
        clear: both;
    }

    #footercontact span {
        display: block;
        color: transparent;
    }

    #footer::before, #homepagequote::before {
        background: url(images/watermark.svg) 50% 90% no-repeat;
        background-size: 220%;
    }
}

@media screen and (max-width: 600px) {
    .columns-container {
        margin: 0;
    }

    .column-half, .column-twothirds, .column-third, .column-quarter {
        width: auto;
        float: none;
        margin: 0 0 30px 0;
    }

    #homepagepanels {
        text-align: center;
    }

    .section .sectionbox {
        margin: 80px 0;
    }

    #footer {
        background-size: 450px;
    }
}



/* 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;
}

.wp-caption {
    width: 100% !important;
}

.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}
.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
.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;
    }
}