/*
Theme Name:     Sunrising
Description:    Theme by Niki Peach
Author:         admin
Template:       vantage

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* STRUCTURAL CODE AND TEXT STYLES */

.main-navigation {
    margin: 0 -35px;
    background: #ffffff;
    position: relative;
    z-index: 9999;
  text-transform: uppercase;
  font-size: 22px !important;
  font-weight: 200 !important;
   font-family:"SkiaCC W05 Regular";
  color: #6b8a2c !important;
    border-bottom: 1px solid #6b8a2c;
      border-top: 1px solid #6b8a2c;
} 

/* This code ensures that captions display correctly without distorting the layout. */

.entry-content .wp-caption:first-child {
     margin-top: 0px; 
}

.entry-content .wp-caption p.wp-caption-text {font-size: 13px;}

/**/

#page-title{
  color: #6b8a2c;
    font-family:"SkiaCC W05 Regular";
  padding-top:10px;
}

/* This code is related to header styling. */

h1,
h2,
h3 {
  font-family: "SkiaCC W05 Regular" !important;
  color: #6b8a2c !important;
}

.entry-content h1 {
	font-size: 2em;
    font-weight: bolder;
	line-height: 25px;
	margin: 1em 0 0 0;
}

.entry-content h2 {
  	margin-top: 1em;
	margin-bottom: 0.25em;
  	font-weight: bolder;
}
.entry-content h3 {
  font-size: 1.2em;
  font-weight: bolder;
  margin: 0.2em 0 0.2em; 
}

.entry-content p {
	margin-top: 0em;
}

.entry-content ul li,
.entry-content ol li {
  margin-left: 1.5em;
  font-size: 16px;
}

/* This code is related to the size and appearance of the accordion headers. */

.sow-accordion-title {
	font-size: 16px;
	font-weight: bolder;
}

/* This code overrides some unwanted Vantage margins that interact with SiteOrigin tabs and accordions. */

.sow-tabs-panel .panel-row-style,
.sow-accordion-panel .panel-row-style {
	padding-top: 0;
	padding-bottom: 0;
}

.entry-content .wp-caption img {
	border: 0px;
	box-shadow:0 0px 0px rgba(0,0,0,0);
}

/*This creates some breathing room between the title and the tab container on tabbed content pages.*/

.widget_sow-tabs {
	margin-top: 25px;
}

/* This controls the appearance of the dividers on the home page. */

.divider hr {
	height:5px;
	border:none;
	color:#E2E8DA;
	background-color:#E2E8DA;
	margin-top: 1em;
	margin-bottom: 1em;
}

/**/

/* This controls the styling of the phone number on the header. */

.phonenumber2 a{
   font-size: 19px !important;
  font-weight: 200 !important;
    font-family:"SkiaCC W05 Regular";
  color: #6b8a2c !important;
}

.phonenumber2 {
   font-size: 19px !important;
  font-weight: 200 !important;
  font-family:"SkiaCC W05 Regular";
  color: #6b8a2c;
}

/**/

 .entry-content ul li, .entry-content ol li {
    margin-left: 1.5em;
  font-size: 16px;
}

/* This is Colophon code, which adjusts the appearance of the footer. */

#colophon #theme-attribution, #colophon #site-info {
    text-align: center;
    margin-top: 25px;
    color: #7aa02c;
    font-size: 13px;
    font-family:"SkiaCC W05 Regular";
}

#colophon #theme-attribution a, #colophon #site-info a {
    color: #7aa02c;
    text-decoration: none;
    font-weight: 500;
    font-family:"SkiaCC W05 Regular";
}

#colophon {
    margin-bottom: 20px;
    background: #f8f9f8;
    padding: 30px;
      border-top: 5px solid #e3e8dc;
  font-size: 16px !important;
    font-family:"SkiaCC W05 Regular";
}

#footer-widgets .widget {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    padding: 0 15px;
    margin-bottom: 0;
    color: #606770;
    font-family:"SkiaCC W05 Regular";
}

#footer-widgets .widget a {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 15px;
    margin-bottom: 0;
    color: #7aa02c;
   font-size: 13px;
    font-family:"SkiaCC W05 Regular";
  font-weight: 200;
  letter-spacing: 0.5px;
  line-height: 26px;
  text-align: center;
}

/**/

/* This code is necessary to get titles to display correctly in Site Origin. */

.panel-grid-cell .widget-title {
    margin-top: 25px;
}

/* These two lines remove some excess space from the tabs. Update: Seems to no longer be needed thanks to other adjustments.*/

/* .tab-title .widget-title {
	margin-top: 0px;
} */

/**/

#masthead {
    background: #ffffff;
    padding: 0 5px 0 5px;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family:"SkiaCC W05 Regular";
    zoom: 1;
}

#masthead .hgroup {
    zoom: 1;
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
}

b, strong {
    font-weight: bold;
    color: #6b8a2c !important;
    font-family:"SkiaCC W05 Regular";
}

.phonenumber {
	color: #6b8a2c !important;
	font-size: 28px !important;
	font-weight: 200 !important;
	padding: 0px;
	font-family:"SkiaCC W05 Regular";
	line-height: 5px;
}

#main {
    background: #ffffff;
    padding: 15px;
}


body {
    background: #ffffff;
  	font-family:"SkiaCC W05 Regular";
}

.entry-content p {
  	font-size: 16px;
	font-weight: 200;
	letter-spacing: 0.5px;
	line-height: 26px;
    font-family:"SkiaCC W05 Regular";
}

/* Tab settings. */

/* Setting to make sticky tabs work with Vantage. */
body.responsive #page-wrapper {
	overflow: visible;
}


.so-widget-sow-tabs {
	margin-top: 2 px;
}

.sow-tabs-tab-container {
	background-color: #6b8a2c !important;
	position: sticky;
	position: -webkit-sticky;
	top: 41px;
	z-index: 999;
}


@media only screen and (max-width: 827px) and (min-width: 768px) {
	.sow-tabs-tab-container {
		top: 81px;
	}
}

.sow-tabs-tab {
	color: #eaeaea !important;
    margin: 0px 5px 0px 5px !important;
    padding: 15px 15px 15px 15px !important;
    transition: all 0.3s !important;
}

.sow-tabs-tab:hover {
	background-color: #f9f9f9 !important;
    color: #2d2d2d !important;
}

.sow-tabs-tab.sow-tabs-tab-selected {
	background-color: #f9f9f9 !important;
    color: #2d2d2d !important;
}

/* This controls the false footer for the Friends pages. */

@media only screen and (min-width: 768px) {
	.friend-footer {
		width: 100vw;
		position: relative;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		height: 90px;
		line-height: 90px;
	}
	
	.friend-footer p {
		display: inline-block;
		vertical-align: middle;
	}
}

@media only screen and (max-width: 768px) {
	.friend-footer p {
		margin-top: 10px !important;
	}
}

.friend-footer {
	margin-top: 50px;
	border-top: 5px solid #e3e8dc;
	margin-bottom: -15px;
	padding-top: 0px;
	padding-bottom: 0px;
}

.friend-footer p {
	font-size: 100%;
	line-height: 1.5;
}

/* These two classes were added to enable direct control over each element in the footer. They are not currently used but are present in case of future requirement.
.friend-footer left {}
.friend-footer right {} */

/**/

/* This fixes the accordions to give them some breathing space, which otherwise would be too close to previous widgets. */

.so-widget-sow-accordion {
	margin-top: 25px;
}

/**/

#search-icon {
display: none;
}

/* DESKTOP/MOBILE ONLY CODE */
/* DESKTOP */

/* This controls the stylised page titles and ensures they align as required. '-h' is for titles with a hanging letter. The background style must be done with inline code on the widget. */

@media only screen and (min-width: 768px) {

	.title-stylish h1, .title-stylish h2{
		font-size: 37px;
		font-weight: normal;
		padding: 70px 0px 0px 31px;
		margin: 0px 0px 0px 0px;
		height: 57px;
	}
	
	.title-stylish-h h1, .title-stylish-h h2{
		font-size: 37px;
		font-weight: normal;
		padding: 70px 0px 0px 31px;
		margin: 0px 0px 0px 0px;
		height: 90px;
	}
}

/**/

/* MOBILE */

@media only screen and (max-width: 768px) {
	
	.entry-content h2 {
		margin-bottom: 0.25em;
		line-height: 1;
  		font-weight: bolder;
	}
	
	.panel-grid-cell .widget-title {
    	margin-top: 1em;
	}
	
	.sow-image-container {
		margin: 10px 0 10px;
	}
	
	.phonenumber {
		color: #6b8a2c !important;
		font-size: 20px !important;
		font-weight: 200 !important;
		padding: 0px;
		font-family:"SkiaCC W05 Regular";
	}

	.header-sidebar {
		padding-top: 0px !important;
		padding-bottom: 0px !important;
	}

	.phonefa {
		font-size: 20px;
	}

	.entry-content h1 {
		margin-bottom: 0.5em;
	}
	
	.entry

	.imagenav {
		display: none;
	}	
	
	.phoneicon {
		display: none;
	}

	.homebuttons {
		display: block;
	}
	
	/*Home page news ticker */
	.mtphr-dnt-tick-container {
		margin-bottom:20px
	}
	
	/**/

	.herocover img{
		height:175px;
		object-fit:cover;
	}
	
/*  Testing alternative mobile page image implementation
	.image-test img{
		width:100%;
		height:300px !important;
		object-fit:cover;
	} */

	.quick-links {
		display: none;
	}

	.sr-grid-image-title-row {
		margin: 0;
	}

	.sr-grid-image-text-row {
		margin: 0;
	}
	
}

/* MEGA MENU */

#mega-menu-wrap-primary #mega-menu-primary {
    visibility: visible;
    text-align: left;
    padding: 0px 0px 0px 0px;
      border-bottom: 1px solid #6b8a2c !important;
      border-top: 1px solid #6b8a2c !important;
  width: 100%;
}

#mega-menu-wrap-primary .mega-menu-toggle {
   border-bottom: 1px solid #6b8a2c !important;
      border-top: 1px solid #6b8a2c !important;
}

/* NEWS TICKER */

  .mtphr-dnt-tick-container {
  	margin-top:0px;
    margin-bottom:5px
  }

/* ICS CALENDAR */

h3.ics-calendar-label {
  font-size: 1.3em !important;
  padding-bottom: 0em;
}

h4.ics-calendar-date {
  font-size: 1.1em !important;
}

.ics-calendar-select {
  font-size: 1.2em;
}

span.end_time {
	font-weight: bold !important;
	font-size: 1em !important;
}

dl.events{
		margin-bottom:0.6em !important;
}
dt.time {
	font-size: 1em !important;
	padding-top:0.2em !important;
}

.no_phone {
  font-size: 1.5em !important;
}

/* HOME PAGE GALLERY THUMBNAILS */

.sr-gallery-thumbnail div{
	display:inline-block; 
	padding: 0 20px 25px 0;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.sr-gallery-thumbnail div h3{
	margin: 0;
	font-weight: 500;
}
.sr-gallery-thumbnail div h3 a{
	text-decoration: none;
	color: inherit
}

/* PAYPAL */

.paypal-form {
  background-color: #dce4cd;
  border: solid 1px #b6d6a2;
  padding: 20px 30px 0px;
}

.paypal-field {
  padding-bottom: 20px;
}

.paypal-label {
  padding: 0px 0;
  line-height: 1.3;
  font-weight: 700;
  font-size: 1.3em;
  padding-bottom: 5px;
}

.paypal-control {
  font-size: 1.3em;
}

.paypal-select {
  padding: 5px;
}

.paypal-button,
.paypal-button:hover {
  background-color: #6b8a2c;
  border: none;
  color: #ffffff;
  font-size: 1em;
  font-weight: normal;
  font-family: "SkiaCC W05 Regular";
  padding: 10px 20px;
}

/* WPFORMS */

div.wpforms-container-full .wpforms-form input[type=submit],
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form .wpforms-page-button {
  background-color: #6b8a2c;
  border: none;
  color: #ffffff;
  font-size: 1em;
  padding: 10px 50px;
  text-transform: uppercase;
  font-weight: normal;
}

/* TESTIMONIALS */

.testimonial-name {
  color: #6b8a2c !important;
  font-weight: bold !important;
  font-size: 1em;
}

/* QUICK LINKS */

div.quick-links p {
  padding-top: 2em;
  margin-bottom: 0;
}

div.quick-links ul {
  margin-left: 0;
}


/* ROBO GALLERY */

.rbs_gallery_button .button {
  background: #7db500 !important;
  font-size: 16px !important;
  border: none !important;
  height: 38.4px !important;
  line-height: 38.4px !important;
  padding: 0 30px !important;
}

.mfp-desc-block,
.mfp-counter {
  font-size: 1.25em !important;
  font-weight: normal !important;
  font-family: "SkiaCC W05 Regular";
}

/* MISC/UNCLEAR */

.su-button-center{padding: 5px 0 5px 0 }

div.entry-thumbnail{display:none}

.iw-so-testimonial-message  {
  font-style: italic;
  font-size: 14px;
}

.homebuttons {
  display: none;
}


.mtphr-dnt-tick {
 color: #c21a24;
  font-size: 16px;
    font-family:"SkiaCC W05 Regular";
}

body.has-menu-search .main-navigation ul {
    margin-right: 9px;
    font-family:"SkiaCC W05 Regular";
}

.main-navigation ul li {
    display: inline-block;
  font-size: 18px !important;
  font-weight: 100 !important;
  color: #6b8a2c !important;
    position: relative;
    font-family:"SkiaCC W05 Regular";
}

 .phonefa {
   font-size: 0px;
  }

.sr-grid-image-title-row {
  margin-top: 75px;
  margin-bottom: 30px;
}

.sr-grid-image-text-row {
  margin-top: 15px;
  margin-bottom: 30px;
}

#soliloquy-container-5915 {
  margin: 0 auto;
}