/*
Theme Name: Supershine 2018
Description: Supershine 2018 theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */
body {
	margin: 0;
	background: #fff;
	min-width: 300px;
}

html, body, p, li, dd, td {
	color: #231f20;
	line-height: 150%;
	font-size: 1.0em;
	font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.pace-running {
	background: url(images/preloader.gif) center 200px no-repeat #fff;
}

.pace-running > :not(.pace) {
  opacity: .8;
}

.pace-done > :not(.pace) {
  opacity: 1;
  transition: opacity .5s ease;
}

img a, a img {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
}

td {
	vertical-align: top;
}

a {
	color: #c71317;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #333;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	line-height: 120%;
}

h1 {
	font-size: 2.0em;
	margin-top: 0;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #81aad2;
	color: #81aad3;
	margin: 30px 0;
}

.wrapper {
	width: 950px;
	padding: 0 25px;
	margin: 0 auto;
}

/* Header                                           */
/* ------------------------------------------------ */
#header {
	padding-top: 10px;
	background: #e41f26 url(images/header-bg.png) left top repeat-x;
    -moz-box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 999;
}

#header .wrapper {
    padding: 0;
}

#headerlogo {
    padding: 0 0 20px 0;
}

#headerphone {
    float: right;
    background: url(images/phone.png) left 2px no-repeat;
    padding: 0 25px 0 60px;
    line-height: 100%;
    height: 56px;
}

#headerphone span {
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    font-style: italic;
    display: block;
    padding-bottom: 8px;
}

#headerphone a {
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.slidercontainer, .slidercontainer .flexsliderheader {
    height: 550px;
    width: 100%;
    position: relative;
    background: #000;
}


.slideshow-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    line-height: 140%;
    padding: 10px 0;
    text-align: center;
    z-index: 99;
    color: #fff;
    font-size: 26px;
    text-shadow: 0 0 14px rgba(0, 0, 0, 0.8);
    line-height: 110%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}


.slideshow-caption h2 {
    margin: 0 0 10px 0;
    font-size: 50px;
    line-height: 120%;
}

#homepageboxes {
    background: #f5f5f5;
    overflow: hidden;
    padding: 70px 0;
}

.homepagebox {
    float: left;
    width: 31.33%;
    margin: 0 1%;
    padding-bottom: 20px;
    background: #fff;
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.homepagebox p {
    padding: 0 20px 0 20px;
}

.homepagebox p a {
    font-weight: 600;
    text-decoration: none;
}

.homepageimage {
    position: relative;
    max-height: 250px;
    overflow: hidden;
}

.homepageimage img {
    width: 100%;
    height: auto;
}

.homepageimage h2 {
    position: absolute;
    left: 20px;
    bottom: 0;

}

.homepageimage h2 a {
    color: #fff;
    font-size: 30px;
    text-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}


#searchbox {
    float: right;
    font-size: 0;
    padding: 5px 0 0 0;
    margin: -98px 0 0 25px;
    padding-right: 25px;
    height: 40px;
}

input#s {
    background: #fff;
    margin: 5px 0 0 5px;
    display: block;
    float: left;
    border: 0;
    width: 160px;
    height: 20px;
    padding: 5px 0 5px 8px;
    -moz-border-radius: 15px 0 0 15px;
    -webkit-border-radius: 15px 0 0 15px;
    border-radius: 15px 0 0 15px;
}

input#s::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    font-style: italic;
}

input#s:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-style: italic;
}

input#s::-ms-input-placeholder { /* Microsoft Edge */
    font-style: italic;
}

input#searchbutton {
    margin: 5px 0 0 0;
    border: 0;
    -moz-border-radius: 0 15px 15px 0;
    -webkit-border-radius: 0 15px 15px 0;
    border-radius: 0 15px 15px 0;
    padding: 0 27px 0 0;
    color:#456b21;
    background: #fff;
    color: transparent;
    font-size: 1px;
    background: #fff url(images/search.png) 0 4px no-repeat;
    height: 30px;
    vertical-align: top;
}

input#searchbutton:hover {
    cursor: pointer;
}
.searchresults h4 a {
    text-decoration: none;
}

.search-highlight {
    background:#FFFF00
}

a.searchresult-permalink {
    font-size: 0.8em;
    margin-top: -20px;
    display: block;
    text-decoration: none;
}

/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 40px 0 100px 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;
}

.content-left {
    width: 32%;
    float: left;
}

.content-main {
    margin-left: 36%;
    position: relative;
    overflow: hidden;
}

.leftcol-header {
    display: block;
    background: #e41f26;
    padding: 8px 12px;
    line-height: 26px;
    color: #fff;
    font-weight: 600;
    font-size: 21px;
    text-decoration: none;
}

.columnswrapper {
    margin: 0 -1%;
}

#loader {
    display: none;
    position: absolute;
    background: #fff;
    height: 35px;
    font-size: 1.2em;
    width: 100%;
}

a.readmore, input[type="submit"] {
	background: #ffe100;
	color: #005a9c !important;
	padding: 12px 25px 12px 25px;
	border-radius: 8px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: none;
	line-height: 100%;
	border: 0;
	cursor: pointer;
}

a.readmore:hover, input[type="submit"]:hover {
	background: #eb6227;
	color: #fff !important;
}


a.readmore, .homepagebox-image img, input[type="submit"], a img {
	-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;
}


/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 80px 0;
	background: #191919;
}

#footer a, #footer, #footer p, #footer li {
    color: #c4c4c4
}

.footer-column {
    width: 31.33%;
    margin: 0 1%;
    min-width: 200px;
    float:left;
}

.footer-column a {
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-column h3 {
    font-size: 26px;
    color: #fff;
    margin: 0;
}

.footer-column img {
    margin-right: 10px;
}

.footer-column img:hover {
    opacity: 0.7;
}


#copyright {
    padding-top: 50px;
    clear: both;
    text-align: center;
    font-size: 0.9em;
}

#copyright a {
    padding: 0 5px;
}

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;
}

/* Responsive elements                              */
/* ------------------------------------------------ */

@media screen and (min-width: 1280px) {
	.wrapper {
		width: 1200px;
	}
}

@media screen and (max-width: 1280px) {
	.wrapper {
		width: auto;
	}

    #headerlogo {
        padding-left: 20px;
    }

    .slidercontainer, .slidercontainer .flexsliderheader {
        height: 460px;
    }
}

@media screen and (max-width: 970px) {
    #searchbox {
        margin-top: 0;
    }
}

@media screen and (max-width: 800px) {
    .footer-column {
        float: none;
        margin: 25px;
        padding-bottom: 25px;
        border-bottom: 1px solid #333;
        width: auto;
    }
}

@media screen and (max-width: 700px) {
    #headerlogo {
        width: 200px;
        height: auto;
    }

    #headerphone {
        margin-top: 15px;
    }

    #headerphone span {
        font-size: 14px;
    }

    #headerphone a {
        font-size: 22px;
    }

    .slidercontainer, .slidercontainer .flexsliderheader {
        height: 380px;
    }

    .slideshow-caption {
        font-size: 19px;
    }

    .slideshow-caption h2 {
        font-size: 30px;
    }

    .content-left {
        float: none;
        width: auto;
        margin-bottom: 20px;
    }

    .content-main {
        margin-left: 0;
    }

    #homepageboxes {
        padding: 40px 0;
    }

    .homepagebox {
        width: auto;
        margin: 0 0 40px 0;
    }
}

@media screen and (max-width: 480px) {
    #headerlogo {
        padding-bottom: 10px;
        margin-left: -10px;
    }
    #headerphone {
        float: none;
        margin-top: 0;
        background: none;
        padding: 0 0 0 25px;
    }

    .slideshow-caption h2 {
        font-size: 24px;
    }

}




/* 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;
    }
}