/*
Theme Name: upstreamadvantage
Description: upstreamadvantage is a custom responsive theme created for the Upstream Advantage.
Author: Sharon Colombo
Author URI: http://www.colombodesigns.com
Version: 1.0
Tags: single column, two columns, three columns, four columns, custom header, custom footer, valid XHTML, valid CSS
*/

:root {
  --primary-bg-color: #136690; /* dk teal */
  --secondary-bg-color: #1a80b4; /* blue */
  --orange-highlight: #fb9520; /* orange */
  --primary-txt-color: #2d2d2d; /* dk grey */
  --primary-button-color: #fb9520; /* orange */
  --secondary-button-color: #1a80b4; /* blue */
  --primary-link-color:  #fb9520; /* orange */
  --primary-hover-color: #1a80b4; /* blue */
  --primary-header-color: #1a80b4; /* blue */
  --primary-font: "poppins", sans-serif;
}


html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, form, label, legend, caption, tbody, tfoot, thead {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}
body 
{
    background-color: var(--primary-bg-color); 
    color: var(--primary-txt-color); 
    font-family: var(--primary-font);
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    border-top: none;
    line-height: 28px;
}

header, main {
    display: block;
    width: 100%;
    float: left;
}
main { background-color: #ffffff;}

/* --- LINK STYLES --- */

a, a:link {
  color:  var(--primary-link-color); 
  font-weight: 600;
  text-decoration: none;
}
a:visited {
  color: var(--primary-link-color); 
  font-weight: 600;
  text-decoration: none;
}
a:hover {
  color: var(--primary-hover-color); 
  font-weight: 600;
  text-decoration: none;
}


/* --- HEADER STYLES ---*/ 

h1, h2, h3, h4, h5, h6 {
font-family: var(--primary-font);
font-weight: 600;
font-style: normal;
margin: 0;
padding: 0 0 15px 0;
color: var(--primary-header-color); 
}


h1 {
    font-size: 44px;
    line-height: 54px;
}
h2 {
    font-size: 36px;
    line-height: 46px;
}
h3 {
  font-size: 32px;
  line-height: 42px;
}
h4 {
	font-size:28px;
	line-height:36px; 
	font-weight: 400;
}
h5 {
	font-size:26px;
    line-height: 34px;
		font-weight: 400;
}
h6 {
    font-size: 20px;
    line-height: 28px;
}
table tr td, table tr th,
p, ul li, ol li { font-size: 20px; line-height: 28px;}
p span.small {
    display: block;
	padding-top: 5px;
    font-size: 14px;
    line-height: 19px;
}
p.large { font-size: 22px; line-height: 30px;}
p.spacer { font-size: 0px; }

p.meta {
    padding-bottom: 30px;
	font-weight: 600;
}
/* --- BLOCKQUOTE STYLES --- */

blockquote {
    background-color: var(--secondary-bg-color);
    color: #ffffff;
    margin: 20px 0px 30px;
    padding: 50px 60px 35px 50px;
    text-align: center;
    border-left: 10px solid var(--primary-bg-color);
}
blockquote p {
    padding: 0 0 15px 0;
    font-size: 22px;
    color: #ffffff;
    line-height: 30px;
    text-align: left;
    font-weight: 400;    
}

@media (max-width: 900px) {

h1 {
  font-size: 40px;
  line-height: 50px;
}
h2 {
    font-size: 32px;
    line-height: 42px;
}

h3 {
	font-size:28px;
  line-height: 34px;
}
h4 {
	font-size:24px;
  line-height: 32px;
}

h5 {
	font-size:20px;
  line-height: 28px;
}

h6 {
    font-size: 18px;
    line-height: 26px;
}
table tr td, table tr th,
.prevnextwrapper,
p, ul li, ol li { font-size: 18px; line-height: 24px;}
p span.small {
    font-size: 13px;
    line-height: 18px;
}	
p.large { font-size: 20px; line-height: 28px;}	
}



/* tablet width */
@media (max-width: 768px) {

h1 {
  font-size: 36px;
  line-height: 44px;
}
h2 {
    font-size: 28px;
    line-height: 36px;
}

h3 {
	font-size:26px;
  line-height: 32px;
}
h4 {
	font-size:22px;
  line-height: 28px;
}

h5 {
	font-size:20px;
  line-height: 26px;
}

h6 {
    font-size: 18px;
    line-height: 24px;
}
	
blockquote {
    padding: 35px 50px 20px 35px;
}	
blockquote p {
    font-size: 18px;
    line-height: 26px;
}
	
	
.prevnextwrapper,
p, ul li, ol li { font-size: 16px; line-height: 22px;}
p span.small {
    font-size: 12px;
    line-height: 16px;
}	
p.large { font-size: 18px; line-height: 26px;}		
	p.spacer { display: none; }
}
.dkgrey h1, .dkgrey h2, .dkgrey h3, .dkgrey h4, .dkgrey h5, .dkgrey h6, .dkgrey p, .dkgrey ol li, .dkgrey ul li, .dkgrey .testimonial { color: #ffffff; }
.blue h1, .blue h2, .blue h3, .blue h4, .blue h5, .blue h6, .blue p, .blue ol li, .blue ul li, .blue .testimonial { color: #ffffff; }

/* --- PARAGRAPH STYLES --- */

p {
	padding: 0 0 20px;
	text-align: left;
}
p.nopad { padding: 0; }



/* if @font-face is used, make certain the strong tag is styled to display the bold version of a custom font, not simply a bold on a non-bold font */
strong {
  font-weight: 600;
}
/* inserts/deletions */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* --- FORM FIELD STYLES --- */

select, textarea {
	font-size:16px;
	vertical-align:middle;
    font-family: var(--primary-font);
	background-color:#ffffff;
	color: var(--primary-txt-color); 
	width: 99.5% !important;
	max-width: 500px;
}


label {
    width: 100%;
    float: left;
    font-weight: 600;
    padding-bottom: 5px;
    font-size: 16px;
}

input {
	font-size:15px;
    font-family: var(--primary-font);
	padding: 5px;
}
input[type="text"], input[type="password"], input[type="email"], input[type="file"], input[type="tel"], textarea, select {
	border:1px solid #979797;
	width: 94%;
	max-width: 500px;
	height: 38px;
	margin-bottom: 10px;
}
.blog select { font-size: 14px; width: 100%;}
textarea {
	height: 150px;
	max-width: unset;
}

input[type="button"] {
    font-family: var(--primary-font);
	font-size:16px;
  -webkit-appearance: none;
}
/* custom button font styles */
input[type="button"], input[type="submit"], .button, *.button:link {
    margin: 5px 0px 0px 0;
    padding: 0 25px;
    height: 60px;
    line-height: 62px;
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: 20px;
    width: auto;
    color: #FFF !important;
    display: inline-block;
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
    background-color: var(--primary-button-color);
    border: none;
    border-radius: 0;
    text-transform: capitalize;
    -webkit-appearance: none;
}

.button:hover
{
  background-color:  var(--primary-bg-color); 
}


input[type="checkbox"], input[type="radio"] {
	margin:0 5px 0 0;
	padding:0;
	vertical-align:middle;
}

button, input[type="submit"] {
	cursor:pointer;
}
:focus {
	outline: 0;
}

/* GRAVITY FORMS */

.gform_wrapper {
    background: #f1f1f1;
    padding: 20px;
    border: 1px solid #bababa;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 8px 0 25px;
}
.dkgrey .gform_wrapper,
.blue .gform_wrapper {
    background: #fff;
}
.wrapper div.wpforms-container .wpforms-submit-container button[type=submit] {
    background-color: var(--orange-highlight) !important;
    line-height: 46px;
    padding: 0 30px;
}
.wrapper div.wpforms-container .wpforms-submit-container button[type=submit]:hover {
    background-color: var(--secondary-button-color) !important;
	opacity: 1;
}
.wrapper .ginput_container label.gform-field-label--type-sub {
    margin: -2px 0 0px 0 !important;
    padding: 0 !important;
}
.gform_wrapper.gravity-theme .gfield input[type="radio"],
.gform_wrapper.gravity-theme .gfield input[type="checkbox"] {
    width: 20px;
    display: inline-block;
    float: left;
    margin-top: 8px;
}
.gform_wrapper.gravity-theme .ginput_complex .ginput_container_date select {
    font-size: 12px;
}
.gform_wrapper.gravity-theme .gfield_label {
    font-weight: 600 !important;
}
.wrapper .gform_wrapper.gravity-theme .gfield_validation_message, 
.wrapper .gform_wrapper.gravity-theme .validation_message {
    background: transparent;
    border: none;
    margin-block-start: 0;
    padding: 0;
}
.wrapper .gform_wrapper.gravity-theme .gfield_description {
    font-size: 13px;
    line-height: 18px;
    padding-top: 5px;
}

iframe {
    width: 100%;
}

.videowrapper {
    clear: both;
    float: none;
    height: 0;
    margin: 0 0 20px;
    padding-bottom: 56.25%;
    position: relative;
    width: 100%;
}
.videowrapper > iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Testimonials */

.wrapper .fullwidth .testimonial {
    background: #f1f1f1;
    border: 1px solid #bababa;
    padding: 20px !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 30px !important;
    margin-top: 20px !important;
}
.wrapper.beige .fullwidth .testimonial {
    background: #ffffff;
}
.wrapper .fullwidth .testimonial .testimonial-content p {
    font-style: italic;
    text-align: center;
}
.wrapper .fullwidth .testimonial .testimonial-name {
    font-weight: 600;
    font-size: 15px;
    text-align: center;
	padding-top: 10px;
}

/* --- LIST STYLES --- */

ul, ol {
	margin: 0 0 0;
	padding: 0 0 15px 0;
}
ul {
	margin-left: 30px;
}
ul ul {
	margin-bottom:0;
    padding: 8px 0 3px;
}
ul li {
	padding: 0 0 5px 0;
}
ul ul li {
	padding: 0 0 3px 0;
}
dl {
	margin: 0 0 1em 0;
}
ol {
	list-style-type:decimal;
	margin-left:30px;
}
ol ol {
	margin-bottom:0;
  padding: 8px 0 5px;
}
ol li {
	padding: 0 0 3px 0;
}
ol li ol li {
	list-style-type:lower-alpha;
  	padding: 0 0 3px 0;
}
ol li ol li ol li {
	list-style-type:lower-roman;
}
ol li ol li ol li ol li {
	list-style-type:decimal;
}

/* ---  IMAGE STYLES --- */


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

img.round {
	border-radius: 50%;
}
img.border {
    border: 1px solid #eaeaea;
    width: calc(100% - 2px);
}

a img {
	border: 0 none;
}
img.alignright {
    float: right;
    max-width: 45%;
    width: 100%;
    padding: 5px 0 15px 3%;
}
.resource img.alignright {
    float: right;
    max-width: 25%;
    width: 100%;
    margin: 5px 0 15px 3%;
	padding: 0;
    border-radius: 50%;
}


.wp-caption.alignright { 
    float: right;
	max-width: 45%;
	width: 100%;
    padding: 5px 0 15px 3%;
}
img.alignright.wp-post-image {
	padding-top: 10px;
}
img.alignnone { width: 100%; height: auto; margin: 0 0 10px 0;}
p img.alignnone { padding: 0; }
img.alignleft {
    float: left;
    max-width: 45%;
    width: 100%;
    padding: 5px 3% 15px 0;
}


.wp-caption.alignleft { 
    float: left;
	max-width: 45%;
	width: 100%;
    padding: 5px 3% 15px 0;
}
.wp-caption-text {
    text-align: left;
    padding-right: 10px;
    font-size: 15px;
    font-style: italic;
    line-height: 20px;
	padding-bottom: 10px;
}
.wp-caption.alignnone {
    width: auto !important;
}

.row.excerpt { padding-bottom: 50px;}

.excerpt h2 {
    font-size: 38px;
    line-height: 42px;
    padding: 0 0 10px;
}
.excerpt p {
    font-size: 20px;
    line-height: 28px;
}
.prevnextwrapper {
    padding: 15px 0;
    border-top: 1px solid #222222;
    margin-top: 10px;
    float: left;
    width: 100%;
}
.nextlink {
    width: 50%;
    float: right;
    text-align: right;
}

.prevlink {
    width: 50%;
    float: left;
    text-align: left;
}

.excerptcopywrap {
    float: left;
    width: 46%;
	padding: 0;
}
.excerptimgwrap {
    width: 50%;
    float: left;
    padding-right: 4%;
}
.excerptcopywrap h2 a:link, .excerptcopywrap h2 a {
    color: var(--primary-link-color) !important;
    text-transform: uppercase;
    font-weight: 600;
}

.excerpt .excerptimgwrap img.wp-post-image {
	max-width: 100%;
	width: 100%;
	padding: 0;
}

@media (max-width: 900px) {
.excerpt .button {
    height: 50px;
    line-height: 50px;
    font-size: 18px;
}	
.excerpt p {
    font-size: 18px;
    line-height: 24px;
}	
.excerpt h2 {
    font-size: 34px;
    line-height: 38px;
    padding-bottom: 10px;
}
}

.wrapper div[id*="gallery-"] .gallery-item {
    width: 17% !important;
    padding: 0 3% 20px 0;
    margin: 0;
    float: left;
}

.wrapper .gallery-icon img {
    border: none !important;
}
/* tablet width */
@media (max-width: 768px) {
.wrapper div[id*="gallery-"] .gallery-item {
    width: 30.3333% !important;
}
}

@media (max-width: 500px) {
.wrapper div[id*="gallery-"] .gallery-item {
    width: 100% !important;
	padding: 20px 0;
}
}


@media (max-width: 600px) {
	
.excerptcopywrap {
    width: 100%;
    padding-top: 0 !important;
}
.even .excerptimgwrap,	
.excerptimgwrap {
    width: 100%;
    padding: 0 0 15px 0;
}
.excerpt img.wp-post-image,
img.alignright,img.alignleft {
  max-width: 100%;
  padding: 0 0 15px 0;
}
.resource img.alignright {
    float: none;
    max-width: 100%;
    margin: 5px 0 15px 0;
}

	
.wp-caption.alignleft,
.wp-caption.alignright { 
    float: none;
	max-width: 100%;
	width: 100%;
    padding: 0 0 15px 0;
}	
	
}

.pagination {
    padding: 40px 0 0 0;
    text-align: center;
}

.pagination h2.screen-reader-text {
    display: none;
}
.page-numbers {
    width: 35px;
    height: 35px;
    line-height: 35px;
    display: inline-block;
    margin: 0 5px;
    background-color: #f1f1f1;
    font-size: 15px;
}
a.page-numbers:hover {
	text-decoration: none;
	color: #ffffff;
    background-color: var(--primary-hover-color);	
}
.page-numbers.current {
    background-color: var(--primary-button-color);
    color: #ffffff;
    font-weight: 600;
}


/* Wrapper Styles */

.wrapper
{
    height: auto;
    overflow: hidden;
    width: 100%;
	float: left;
}
.wrapper.topmargin { padding-top: 50px;}
.wrapper.bottommargin { padding-bottom: 50px;}

/* tablet width */
@media (max-width: 768px) {
.wrapper.topmargin { padding-top: 30px;}
.wrapper.bottommargin { padding-bottom: 30px;}

}
.wrapper.slider .fullwidth { position: relative;}
.wrapper.white
{
  background-color: #ffffff;
}
.wrapper.blue
{
  background-color: var(--secondary-bg-color);
}
.archive .wrapper.white.internal,
.category .wrapper.white.internal,
.single .wrapper.white.internal,
.blog .wrapper.white.internal {
	padding: 60px 0 50px;
}
.wrapper.header {
    background-color: #ffffff;
    overflow: visible;
}
.header .fullwidth.row {
    overflow: visible;
}
header .header p { text-align: right; }
header .header p a.button {
    margin: 10px 0px 0 10px;
}
header .header p a.button i {
    margin-right: 5px;
}

#logo {
    float: left;
    padding: 30px 0px;
    margin: 0px;
    width: 385px;
    z-index: 99989;
    position: relative;
}

#logo img {
    float: left;
    width: auto;
    height: auto;
    padding: 0px;
}

#mainmenu {
    float: right;
    padding: 0px 0px;
    width: calc(100% - 385px);
    background-color: #ffffff;
    height: 135px;
}

#mainmenu ul {
    margin: 0;
    padding: 30px 0;
    overflow: visible;
    text-align: right;
    height: 75px;
}

#mainmenu ul.mainmenu li {
    padding: 0;
    display: inline-block;
    height: auto;
    position: relative;
    width: auto;
    margin: 0;
    height: 75px;
}
#mainmenu ul.mainmenu li a {
    line-height: 75px;
    font-size: 26px;
    font-weight: 600;
    height: auto;
    margin: 0px;
    cursor: pointer;
    padding: 0 0 0 50px;
    display: block;
    text-transform: capitalize;
    color: var(--primary-hover-color);
}
#mainmenu ul.mainmenu li:hover a,
#mainmenu ul.mainmenu li.current-menu-item a,
#mainmenu ul.mainmenu li.current-page-ancestor a {
   text-decoration: none;
   color:  var(--primary-link-color);
}

#mainmenu ul.mainmenu li ul {
    background-color: #fff;
    display: none;
    left: 35px;
    margin: 0;
    padding: 15px 0;
    position: absolute;
    top: 75px;
    width: 260px;
    z-index: 99990;
    height: auto;
    border: 1px solid #f1f1f1;
}
#mainmenu ul.mainmenu li ul {
    display: none;
}
#mainmenu ul.mainmenu li:hover ul
{
display: block;
}


#mainmenu ul.mainmenu li ul li {
    width: 100%;
	padding: 8px 0px 4px;
	height: auto;
}
#mainmenu ul.mainmenu li ul li a {
    text-align: center;
    text-transform: none;
    width: auto;
    font-size: 18px;
    height: auto;
    padding: 0 15px;
    border: none;
    color: var(--primary-header-color);
    line-height: 24px;
    text-align: left;
}
#mainmenu ul.mainmenu li:hover ul li a,
#mainmenu ul.mainmenu li.current-menu-item ul li a,
#mainmenu ul.mainmenu li.current-page-ancestor ul li a {
   text-decoration: none;
    color: var(--primary-header-color);
   border-bottom: none;	
}
#mainmenu ul.mainmenu li ul li.current-menu-item a,
#mainmenu ul.mainmenu li ul li a:hover {
    border: none;
    color: var(--primary-link-color);
}

#mainmenu ul.mainmenu li ul li ul,
#mainmenu ul.mainmenu li ul li ul li,
#mainmenu ul.mainmenu li ul li ul li a { display: none !important;}

#mobilemenubutton { display: none; }

@media (max-width: 1200px) {
#logo {
    width: 225px;
}	
#mainmenu {
    width: calc(100% - 225px);
	height: 103px;
}	
#mainmenu ul.mainmenu li a {
    font-size: 20px;
}
#mainmenu ul {
    padding: 14px 0;
}
#mainmenu ul.mainmenu li ul li a {
    font-size: 15px;
    line-height: 20px;
}
}
@media (max-width: 900px) {

}

/* tablet width */
@media (max-width: 768px) {

#mobilemenubutton {
		position: absolute;
		width: auto;
		padding: 0px;
		height: 75px;
		top: 12px;
		right: 2%;
		display: block;
		z-index: 99989;
}

#mobilemenubutton a i {
		background-clip: padding-box;
		background-color: transparent;
		color: transparent;
		display: block;
		font-size: 0;
		height: 75px;
		margin: 0;
		padding: 0px;
		overflow: hidden;
		text-align: right;
		width: 75px;
}

#mobilemenubutton a i::before {
        color: var(--primary-hover-color);
        font-size: 36px;
        line-height: 75px;
        cursor: pointer;
        display: block;
        background: #ffffff;
        text-align: center;
}	
#mobilemenubutton a i:hover:before {
	color:  var(--primary-hover-color);
}	


#mainmenu {
        width: 230px;
        float: left;
        display: none;
        overflow: hidden;
        height: auto;
        background-color: #ffffff;
        position: absolute;
        top: 82px;
        right: 0px;
        padding: 10px 20px;
        z-index: 99990;
    border: 1px solid #f1f1f1;
}

#mainmenu ul.mainmenu {
  overflow: hidden;
  height: auto;
  padding: 0px;
}

#mainmenu ul.mainmenu li {
    padding: 0;
    display: block;
    height: auto;
    width: 100%;
    margin: 0;
	text-align: left;
}

	
#mainmenu ul.mainmenu li a {
        height: auto;
        line-height: 20px;
        font-size: 18px;
        font-weight: 600;
        padding: 0px 0px;
        display: inline-block;
        margin: 15px 0px 5px;
        width: 100%;
        color: var(--primary-hover-color);
        border: none;
    }
#mainmenu ul.mainmenu li.menu-item-has-children a span.expander:after {
        content: "\f055";
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font: var(--fa-font-solid);
        color: var(--primary-hover-color);
        width: 20px;
        position: absolute;
        top: 18px;
        right: 0;
    }	
#mainmenu ul.mainmenu li.menu-item-has-children a.open span.expander:after {
    content: "\f056";
}

#mainmenu ul.mainmenu li ul {
    display: none;
    left: 10px;
    position: relative;
    top: 0;
    border-top: none;
    width: 100%;
	padding: 0;
	background-color: transparent;
	border: none;
}

#mainmenu ul.mainmenu li:hover ul
{
display: none;
}	
#mainmenu ul.mainmenu li.current-menu-item a, 
#mainmenu ul.mainmenu li.current-page-ancestor a
 {
    text-decoration: none;
    color: var(--primary-hover-color);
    border-bottom: none;
}	
#mainmenu ul.mainmenu li.current-menu-item ul li a, 
#mainmenu ul.mainmenu li.current-page-ancestor ul li a,	
#mainmenu ul.mainmenu li:hover a 
 {
    text-decoration: none;
	color:var(--primary-hover-color); 
    border-bottom: none;
}
#mainmenu ul.mainmenu li.current-page-ancestor ul li.current-menu-item a,	
#mainmenu ul.mainmenu li.current-menu-item:hover a, 	
#mainmenu ul.mainmenu li.current-page-ancestor:hover a
{
    color: var(--primary-hover-color);
}	
#mainmenu ul.mainmenu li.current-menu-item:hover ul li a, 	
#mainmenu ul.mainmenu li.current-page-ancestor:hover ul li a
{
	color: var(--primary-hover-color); 
}	
#mainmenu ul.mainmenu li.current-page-ancestor:hover ul li.current-menu-item a 
{
    color: var(--primary-hover-color);		
}
#mainmenu ul.mainmenu li ul li a {
    text-align: left;
    width: 100%;
    font-size: 14px;
    padding: 0;
    border: none;
    color: var(--primary-hover-color);
	margin: 5px 0px;
}	
	

}
@media (max-width: 450px) {
#logo {
        width: 190px;
        padding: 33px 0;
    }
}
/* END RESPONSIVE HEADER STYLES */

/* BANNER */

div#banner {
    height: 500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    float: left;
    width: 100%;
}
div#banner.short { height: 300px; }
div#titlewrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0.8) 100%);
}

div#titlewrapper h1 {
    color: #ffffff;
    font-size: 50px;
    padding-bottom: 30px;
}

/* when the screen is super wide, put the image closer to the top so heads are not cut off */

@media (min-width: 1600px) {
div#banner {
	height: 600px;
    background-position: center -100px;
}
}

@media (max-width: 900px) {
div#banner {
	height: 350px;
}
div#banner.short { height: 250px; }	
div#titlewrapper h1 {
    font-size: 40px;
}

div#titlewrapper h4.eyebrow {
    padding-bottom: 8px;
	font-size: 20px;
	line-height: 24px;
	padding-top: 100px;
}	
}
@media (max-width: 768px) {
div#banner {
	height: 250px;
}
div#banner.short { height: 200px; }	
div#titlewrapper h1 {
    font-size: 32px;
	padding-bottom: 20px;
}

div#titlewrapper h4.eyebrow {
    padding-bottom: 2px;
	font-size: 16px;
	line-height: 20px;
	padding-top: 50px;
}	
}
@media (max-width: 500px) {
div#banner {
	height: 200px;
}
div#banner.short { height: 150px; }	
div#titlewrapper h1 {
    font-size: 28px;
	padding-bottom: 10px;
	        line-height: 34px;
}

div#titlewrapper h4.eyebrow {
    padding-bottom: 2px;
	font-size: 14px;
	line-height: 18px;
    padding-top: 30px;
}	
}

/* END BANNER */


.fullwidth {
  max-width: 1360px;
  width: 92%;
  padding: 0px 4% 0px;
  margin: auto;
}  
.narrow .fullwidth {
    max-width: 900px;
}
.row {
    clear: both;
    overflow: hidden;
}

.half
{
  float: left;
  width: 47%;
  padding: 0 6% 0 0;
}

.half.last {
  padding: 0;
}

.third
{
  width: 30%;
  float: left;
  padding: 0 5% 0 0;
}

.third.last {
  padding: 0;
}
.fourth {
    width: 22%;
    float: left;
	padding: 0 4% 0 0;
}
.fourth.last { padding: 0; }

.twothirds {
    float: left;
    width: 65%;
    padding: 0 5% 0 0;
}


.onethird {
    float: left;
    width: 30%;
    padding: 0 5% 0 0;
}

.twothirds.last {
    padding: 0;
}
.onethird.last {
	padding: 0;
	float: right;
	
}
.threefourths {
    width: 74%;
    float: left;
}
.onefourth {
    width: 22%;
    float: left;
	padding: 0 4% 0 0;
}
/* PHOTO BLOCK STYLES */

.copyblock {
    padding: 80px 6%;
    width: 46%;
    float: right;
}
.copyblock.left { float: left;}
.copyblock.blue {
    background: var(--secondary-bg-color); 
}
.copyblock.dkteal {
    background: var(--primary-bg-color); 
}
.copyblock.dkgrey {
    background: var(--primary-txt-color); 
}

.photoblock {
    height: 500px;
    width: 42%;
    float: left;
    background-size: cover;
    background-position: center;
    margin: 30px 0;
}
.photoblock.right { float: right;}

/* Photo Text Arrow Styles */

.phototextarrow .fullwidth .row 
{
    padding-bottom: 75px;
}


.phototextarrowimage {
    width: 35%;
    height: 300px;
    background-size: cover;
    float: left;
    margin-right: 5%;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 15px 15px 0px 0 var(--orange-highlight);
}
.phototextarrowimage a {
    display: block;
    width: 100%;
    height: 100%;
}
.row.arrow:has(.phototextarrowimage a:hover) .ptarrow i {
    color: var(--orange-highlight);
    padding-left: 100px;	
}
.phototextarrowwrap {
	height: 300px;
    width: 40%;
    float: left;
	display: grid;
	place-content: center;
}
.phototextarrowwrap h4 a { color: var(--secondary-bg-color); }
.phototextarrowwrap h4 a:hover { color: var(--orange-highlight); }
.phototextarrowwrap p {
    padding-bottom: 0;
}
.row.arrow:has(.phototextarrowwrap h4 a:hover) .ptarrow i {
    color: var(--orange-highlight);
    padding-left: 100px;	
}

.ptarrow {
	height: 300px;
	display: grid;
	place-content: center;
	width: 20%;
	float: left;
	text-align: center;
}
.ptarrow i {
    color: var(--secondary-bg-color);
    font-size: 150px;
    cursor: pointer;
    transition: padding-left 0.3s ease-in-out;
}
.ptarrow i:hover {
    color: var(--orange-highlight);
    padding-left: 100px;
}
.row.arrow:has(.ptarrow i:hover) .phototextarrowwrap h4 a {
    color: var(--orange-highlight);
}


/* POPUP STYLES */
div#popup {
    background-color: var(--secondary-bg-color);
    border: 10px solid #ffffff;
    max-width: 500px;
	text-align: center;
    padding: 30px 30px 15px;
}
div#popup.dkteal
{
  background-color: var(--primary-bg-color);
}
div#popup.dkgrey
{
  background-color: var(--primary-txt-color);
}

#popup img { max-width: 225px; padding-bottom: 20px;}

#popup h3 {
    padding-bottom: 20px;
}
#popup p {
    padding-bottom: 20px;
    line-height: 32px;
    font-size: 22px;
	text-align: center;
}
#popup.blue p a.button,
#popup.dkgrey p a.button,
#popup.dkteal p a.button {
    background: var(--secondary-button-color);
	color: var(--primary-txt-color) !important;
}
#popup.dkgrey p a.button:hover,
#popup.dkteal p a.button:hover,
#popup.blue p a.button:hover {
    background: var(--primary-button-color);
	color: #ffffff !important;	
}

.fancybox-slide--html #popup .fancybox-close-small {
    color: #fff !important;
}
/* PROFILE PHOTOS */

.profilewrapper { padding: 20px 0px;float:left; width:100%; }



.profileimage {
    width: 350px;
    height: auto;
    border-radius: 50%;
    float: left;
    margin: 0 50px 10px 0px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: scroll;
	border: 1px solid #eaeaea;
}
.profileimage.round {
	height: 350px;
}
.profiles h3 { padding-bottom: 5px; }
.profiles h5 {
    color: var(--primary-txt-color);
    font-size: 22px;
    padding-bottom: 10px;
}
.profilecopywrap {
    width: calc(100% - 405px);
    float: right;
}


@media (max-width: 1360px) {
.phototextarrowimage { width: 30%; }
.phototextarrowwrap { width: 40%; }
.ptarrow { width: 20%; }
.ptarrow i { font-size: 125px;}	
}



@media (max-width: 900px) {
.ptarrow i { font-size: 85px;}		
.profileimage.rectangle { width: 200px;}
.profileimage.round {
    width: 200px;
    height: 200px;
	}
.profilecopywrap {
    width: calc(100% - 255px);
}
}
@media (max-width: 768px) {

.phototextarrowimage { width: 80%; margin-bottom: 50px; }
.phototextarrowwrap { width: 65%; height: 230px; }
.ptarrow { width: 30%; height: 230px; 	}
.ptarrow i:hover { padding-left: 50px; }	
.row.arrow:has(.phototextarrowimage a:hover) .ptarrow i,
.row.arrow:has(.phototextarrowwrap h4 a:hover) .ptarrow i {
    padding-left: 50px;	
}	
.photoblock {
    width: 60%;
    margin: 0;
    height: 400px !important;
}	
.copyblock {
    padding: 38px 6%;
    width: 75%;
    margin-top: -59px;
}	
	
	
.profileimage.rectangle { width: 300px;}	
.profileimage.round {
    width: 300px;
    height: 300px;
	}	
.profilecopywrap {
    width: 100%;
}	
#popup img {
    max-width: 160px;
}
#popup h3 {
        font-size: 22px;
        line-height: 28px;
}
#popup p {
    line-height: 24px;
    font-size: 15px;
}	
}
@media (max-width: 600px) {

.photoblock {
    width: 90%;
    margin: 0;
    height: 400px !important;
}
.copyblock {
        padding: 38px 6%;
        width: 78%;
        margin-top: -59px;
}	
.phototextarrowimage {
    width: 90%;
}
.profilecopywrap { padding-top: 0px !important;}
.profileimage.round, .profileimage.rectangle {
  float: none;
  margin: 0 0;
	}	
}
@media (max-width: 550px) {
	
.ptarrow i:hover { padding-left: 25px; }	
.row.arrow:has(.phototextarrowimage a:hover) .ptarrow i,
.row.arrow:has(.phototextarrowwrap h4 a:hover) .ptarrow i {
    padding-left: 25px;	
}		
.profilecopywrap {
    padding-top: 20px !important;
    text-align: left;
}	
.profileimage.rectangle {
    width: 250px;
	}	
.profileimage.round {
    width: 250px;
    height: 250px;
	}
}
@media (max-width: 450px) {
.phototextarrowwrap { width: 100%; height: auto; }
	.ptarrow {
        width: 95%;
        height: auto;
        margin-top: 10px;
        place-content: center flex-end;
    }
.phototextarrow .fullwidth .row {
    padding-bottom: 40px;
}	
}

/* ACCORDION STYLES */

p.accordionHead {
    border-top: 1px solid #d9d9d9;
    cursor: pointer;
    padding: 20px 0 20px 0;
    font-weight: 600;
    font-size: 20px;
}

p.accordionHead a {
      color: var(--primary-link-color);
}

p.accordionHead a:hover {
  text-decoration: none;
    color: var(--primary-hover-color);

}

p.accordionHead i {
    color: var(--primary-link-color);
    cursor: pointer;
    display: block;
    float: right;
    font-size: 24px;
    line-height: 26px;
    padding: 1px 0;
}
h4.accordionHead i {
    cursor: pointer;
    display: block;
    float: right;
    font-size: 18px;
    line-height: 20px;
    padding: 1px 0;	
}

p.accordionHead:hover i.fas,
p.accordionHead:hover a {
        color:  var(--primary-hover-color);
}
.resource {
    padding: 5px 0 15px 0;
}

.bottomborder {
    border-top: 1px solid #d9d9d9;
    padding-bottom: 25px;
}

/* BLOG FEED */

.blogfeed h2 span {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
}
.blogimage {
    height: 250px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    margin-bottom: 10px;
}
.blogfeed p {
    text-align: center;
}
.blogfeed h4 a {
    color: var(--primary-header-color);
}
.blogfeed h4 {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    padding-bottom: 10px;
}

/* BLOG STYLES */

ul.topics {
    margin: 0;
}
.topics li {
    list-style-type: none;
    padding: 0;
    display: inline-block;
}
.topics li a {
    background-color: var(--primary-bg-color);
    color: #ffffff;
    font-size: 14px;
    padding: 5px 10px;
    margin: 0 3px 6px 0;
    display: block;
}
.topics li.current-cat a { background-color: var(--primary-txt-color);}

.singleblog h3 a
{
    color: var(--primary-txt-color);
}
.single .cats {
    padding: 15px 0px;
    border-top: 1px solid #bababa;
    border-bottom: 1px solid #bababa;
    margin: 30px 0px;
}

.blog .singleblog {
    width: 29%;
    float: left;
    padding: 0 6.5% 40px 0;
}
.blog .singleblog.post3 {
    padding: 0;
}
.blog .singleblog.post1 {
    clear: left;
}
.blogimg {
    height: 275px;
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}
.singleblog p {
    font-size: 15px;
	padding-bottom: 5px;
}
.singleblog h3 {
    font-size: 24px;
    line-height: 30px;
    padding: 0;
    color: var(--primary-txt-color);
}
.paging {
    clear: both;
}
/* FOOTER STYLES */

.wrapper.footer {
    background-color: var(--secondary-bg-color);
    color: #ffffff;
    overflow: hidden;
    padding: 50px 0;
    text-align: center;
    background-image: url(images/footerwaveoverlay.png);
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
}
.footer img.footerlogo {
    max-width: 340px;
    height: auto;
    padding-bottom: 40px;
}
ul.footermenu {
    padding: 0 0 40px 0;
    margin: 0;
    overflow: hidden;
    display: block;
    float: left;
    width: 100%;
	text-align: center;
}
ul.footermenu li {
    list-style: none;
    display: inline-block;
    width: auto;
    padding: 0 25px;
    margin: 0;
}
ul.footermenu li a {
    color: #ffffff;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 18px;
}
ul.footermenu li a:hover {
    color: var(--primary-link-color);
}
.footer p { text-align: center; font-size: 15px; }
.footer p a { color: #ffffff; }
.footer p a:hover { color: var(--primary-link-color); }

@media (max-width: 768px) {
ul.footermenu li {
    width: 100%;
    padding: 0 0 20px 0;
}	

}

@media (max-width: 550px) {
.footer img.footerlogo {
    max-width: 80%;
	}

}

hr {
    border: none;
    border-top: 1px solid #d9d9d9;
    padding-top: 12px;
}

.single-post img.wp-post-image {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}


/* tablet width */
@media (max-width: 768px) {


.twothirds {
    float: left;
    width: 55%;
    padding: 0 5% 0 0;
}	
.onethird.last {
    padding: 0;
    float: right;
    width: 40%;
}	
.onefourth, 	
.threefourths,	
.fourth,
.fourth.last,
.third,
.third.last
{
  width: 100%;
  padding: 0 0;
}
	
.onefourth img { max-width: 350px; padding-bottom: 20px;}

}




@media (max-width: 700px) {

.imgwrapper {
    width: 100%;
    padding: 0 0 15px 0;
}

.onethird,
.twothirds,
.onethird.first,
.twothirds.first,
.onethird.last,
.twothirds.last
{
width: 100%;
padding: 0;
}

.half,
.half.blogfeed	
{
  float: left;
  width: 100%;
  padding: 0;
}

.half.first,
.half.blogfeed {
  padding: 0 0 30px 0;
}
	

}

table {
    text-align: center;
    margin: 0 0 0;
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 4px 10px;
    text-align: left;
}


/* SLIDER STYLES */

#slider {
    width: 52%;
    position: absolute;
    top: 50px;
    right: 4%;
}
.slidephotoblock.left {
    height: 600px;
    background-size: cover;
    width: 60%;
    background-position: center;
}

.bx-wrapper {
	position: relative;
	margin: 0 auto 20px;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	width: 100%;
	display: block;
}

.bx-wrapper .bx-viewport {
	left: 0px;
	background: transparent;
}

.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -10px;
	width: 100%;
}
/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	z-index: 9999;
}

.bx-wrapper .bx-prev {
	left: 20px;
}

.bx-wrapper .bx-next {
	right: 20px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}


.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}
.bx-wrapper .bx-prev, .bx-wrapper .bx-next {
    font-size: 0;
}

.bx-wrapper .bx-next:before,
.bx-wrapper .bx-prev:before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font: var(--fa-font-light);
    font-weight: 300;
    width: 40px;
    height: 40px;
    text-indent: 0;
    font-size: 28px;
    color: #fff;
    background: #666666;
    border-radius: 50%;
    text-align: center;
    opacity: .8;
	line-height: 40px;
}


.bx-wrapper .bx-prev:before {
    content: '\f104';
}
.bx-wrapper .bx-next:before {
    content: '\f105';
}



/* slide specific styles */

.bxslider 
{
 margin: 0;
padding: 0;
}

.bxslider li 
{
  padding: 0;
  display: none;
}

.bxslider li:nth-child(1)
{
  display: block;
}

.bxslider li img
{
  width: 100%;
  height: auto;
  float: left;
}

.bx-wrapper .bxslider li {
    display: block;
    height: 500px;
    overflow: hidden;
    background: var(--secondary-bg-color);
    color: #fff;
    background-image: url(images/sliderwavebackground.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}
img#fish {
    position: absolute;
    z-index: 99;
    bottom: 50px;
    left: calc(50% - 130px);
    width: 115px;
}
.bxslider li.dkteal {
	background-color: var(--primary-bg-color);
}
.bxslider li.blue {
  background-color: var(--secondary-bg-color);
}
.bxslider li.dkgrey {
  background-color: var(--primary-txt-color);
}

.bxslider li div.slidephoto {
    width: 60%;
    float: left;
	height: 600px;
	background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    background-attachment: scroll;
}
.bxslider li div.slidecopy {
    width: 84%;
    float: left;
    padding: 60px 8%;
}

.bxslider li div.slidecopy p
 {
    font-size: 48px;
    line-height: 64px;
    text-align: left;
}
.bxslider li div.slidecopy p.slideicon {
    font-size: 50px;
    padding-bottom: 15px;
	color: var(--secondary-button-color);
}
.bxslider li div.slideiconimage {
    display: block;
    width: 100%;
    float: left;
}
.bxslider li div.slideiconimage img {
    width: 40px;
    margin: auto;
    float: none;
    padding-bottom: 10px;
}
.bxslider li div.slidecopy a.button {
    font-size: 20px;
    margin-top: 10px;
}

@media (max-width: 1360px) {
.slidephotoblock.left {
    height: 525px;
}
.bx-wrapper .bxslider li {
    height: 425px;
}
.bxslider li div.slidecopy p
 {
    font-size: 40px;
    line-height: 56px;
}
img#fish {
    bottom: 40px;
    width: 100px;
}	
}


@media (max-width: 1100px) {

img#fish {
    bottom: 30px;
    width: 90px;
}

}
@media (max-width: 1000px) {
.slidephotoblock.left {
    height: 450px;
}
img#fish {
    bottom: 25px;
    left: calc(50% - 100px);
    width: 75px;
}	
.bx-wrapper .bxslider li {
    height: 350px;
}
.bxslider li div.slidecopy p {
        font-size: 32px;
        line-height: 48px;
 }

}
@media (max-width: 768px) {
	
    .slidephotoblock.left {
        height: 325px;
        width: 90%;
        background-position: bottom;
    }
    #slider {
        width: 90%;
        position: relative;
        top: unset;
        right: unset;
        margin: -100px 0 0 10%;
    }	
.bx-wrapper .bxslider li {
    height: 300px;
}	
.bxslider li div.slidecopy {
    width: 84%;
    float: left;
    padding: 30px 8%;
}
	.bxslider li div.slidecopy p {
        font-size: 28px;
        line-height: 38px;
    }
	img#fish { bottom: 35px; }
}

@media (max-width: 600px) {
img#fish {
        bottom: 30px;
        width: 65px;
	}
#slider {
        width: 90%;
        margin: -60px 0 0 10%;
}	
.slidephotoblock.left { height: 280px; }	
}
@media (max-width: 550px) {
    img#fish {
        bottom: 25px;
        width: 60px;
		left: calc(50% - 60px);
    }
	    .bx-wrapper .bxslider li {
        height: 265px;
    }
	
	.slidephotoblock.left { height: 265px; }	
	.bxslider li div.slidecopy p {
        font-size: 24px;
        line-height: 34px;
    }
}

@media (max-width: 450px) {
.bx-wrapper .bxslider li {
        height: 225px;
    }
.slidephotoblock.left { height: 225px; }	
.bxslider li div.slidecopy {
        width: 86%;
        padding: 20px 8%;
}
img#fish {
        bottom: 22px;
        width: 50px;
    }
		.bxslider li div.slidecopy p {
        font-size: 22px;
        line-height: 32px;
    }
}
@media (max-width: 400px) {
.bx-wrapper .bxslider li {
        height: 200px;
    }
.slidephotoblock.left { height: 200px; }	
.bxslider li div.slidecopy {
        width: 86%;
        padding: 20px 8%;
}
img#fish {
        bottom: 18px;
        width: 40px;
    }
		.bxslider li div.slidecopy p {
        font-size: 20px;
        line-height: 28px;
    }
}
