/* SpaGirlTri style updates for 2013 */

body {
  background:  url(https://www.spagirltri.com/site/wp-content/uploads/2018/04/bg-floral18.png) no-repeat top center, url(https://www.spagirltri.com/site/wp-content/uploads/2018/04/bg-gradient182.png) repeat-x 0 0, #c76c57;
  border: none;
  font-family: 'Domine', serif;
  font-size: 16px;
}
#wrap a, a:hover,
.et-db #et-boc .et-l .et_pb_module a,
#navigation a:hover,
#navigation .current-menu-item > a:first-child {
  color: #dc2d4e;
}
#et-boc .et-l a:not(.et_pb_button) {
  text-decoration: underline !important;
}
#header, #wrap {
	background: none; 
}
#wrap {
 	background: #dbe5d3;
  padding: 50px 25px 40px;
  margin-top: -25px;
  color: #3B473E;
  border: 1px solid #B8C4AF;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  position: relative;
  width: 900px;
}
.wrap-bg {
  	position: absolute;
    top: 0;
  	left: 0;
	height: 2px;
  	width: 100%;
  	background: #9ac7ba;
    display: none;
}
.home .wrap-bg {
		height: 400px;
  	border-bottom: 1px solid #e1ebd9;
}
.home-wrap {
  margin: -35px -30px 0;
}
#et-boc .et-l h1 {
  padding-bottom: 0;
}
#et-boc .et-l h1, #et-boc .et-l h2, #et-boc .et-l h3, #et-boc .et-l h4, #et-boc .et-l h5, #et-boc .et-l h6 {
  font-family: 'Domine';
}
#page-heading h1, #page-heading a,
#wrap h2, #wrap h3,
.contact-form label span {
 	color: #3B473E!important; 
}
#wrap h2, #et-boc .et-l h2 {
  	font-size: 18px;
   line-height: 1.5;
   padding-top: 15px;
}
#et-boc .et-l h3 {
    font-size: 22px;
    padding: 30px 0 20px !important;
}
.entry h3 {
    font-size: 22px;
}

p {
  color: #3B473E;
}
#et-boc .et-l p {
    font-size: 16px;
    line-height: 1.5;
    padding-bottom: 1.5em;
}

hr {
    border: none;
    background-color: #47554a;
    color: #47554a;
    height: 1px;
  	margin: 30px 0;
  	opacity: .25;
}
.post {
    overflow: visible;
}

#header {
 	margin: 15px auto 0; 
  border: none;
}

.topper {
    display: block;
    margin: -5px auto 5px;
    width: fit-content;
    background: #fff;
    padding: 5px 13px 5px 17px;
    border-radius: 25px;
}
.topper .text {
    font-weight: bold;
}
.topper span {
    margin-right: 5px;
}
.topper .button {
    background: #467937;
    color: #fff;
    padding: 8px 10px;
    border: 0;
    margin: 5px;
    font-weight: 400;
}

#logo {
		position: relative;  
}
.banner-right {
  	position: absolute;
  	top: 50%;
  	right: 35px;
	  width: 315px;
  	height: auto;
  	background: #9ac7ba;
    background: transparent;
  	text-align: center;
    -ms-transform: translateY(-54%); /* IE 9 */
  	-webkit-transform: translateY(-54%); /* Safari */
  	transform: translateY(-54%);
    border-radius: 2px;
    border-color: #528449 #89afa4;
    border-style: solid;
    border-width: 1px;
    padding: 6px 0 4px;
    /* remove border and padding when only 3 races */
    padding: 0;
    border: 0;
}
#logo a.banner-text {
		font-family: Times New Roman;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 13px;
    color: #fff;
    margin: -3px 0 0;
  	display: block;
}
#logo a.banner-text:hover {
		text-decoration: underline;  
}

#social-icon {
	float: left;
	background: url(https://spagirltri.com/site/wp-content/uploads/FaceBook-icon.png) no-repeat 0 0;
	padding-left: 40px;
	line-height: 2.7;
	color: #666;
  margin-left: 43px;
  margin-top: -10px;
	position: relative;
	z-index: 100;
  text-decoration: underline;
}

#social-icon:hover {
	text-decoration: underline;
}

#navigation {
    position: relative;
    float: none;
    text-align: center;
    bottom: auto;
}
.sf-menu {
    float: none;
    margin-bottom: 0;
    display: inline-block;
}

.sf-menu li {
 	padding: 0 10px; 
  border-right: 1px solid #467937;
}
.sf-menu li:last-child {
 	padding-right: 0;
  border-right: none;
}
.sf-menu a {
  font-family: 'Kreon', serif;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 16px;
  color: #3a3535;
  margin: 0;
  height: auto;
  line-height: normal;
}	

.sf-menu ul {
	width: 250px; 
  margin-left: -5px;
  border: 1px solid #adb9a3;
  xpadding-bottom: 3px;
  padding: 0 5px 3px;
}
.sf-menu ul li {
	border: none;
	padding: 10px 0;  
}
.sf-menu ul li {
	border-bottom: 1px dotted #ccc;
}

#slider-wrap {
  margin: 0 20px 0;
  background: url(spagirl2013/slider-shadow.png) no-repeat center bottom;
  padding-bottom: 37px;
}
.nivo-directionNav a:hover {
 	background-color: #9ac7ba!important;
  transition: none;
}
.nivo-directionNav {
 	display: none;
  visibility: hidden;
}

#homepage-extra {
    margin: -11px 5px 5px;
    padding: 15px;
}
#homepage-extra p:last-of-type {
    margin-bottom: 0;
}
#homepage-extra .entry {
    margin-bottom: 0;
}

#footer-wrap {
 	background: none; 
}
#footer {
 	background: #C8D6BC;
  padding: 0;
  width: 951px;
}
#footer-bottom {
	margin: 0; 
  padding: 15px 35px;
}
#copyright {
 	width: 100%;
  text-align: center;
  font-size: 12px;
  color: #eee;
  
}
#footer-widget-wrap {
  display: none;
  visibility: hidden;
}


#home-highlights {
 	margin: -5px 28px 0; 
}
#wrap .hp-highlight {
	width: 285px;
	margin-right: 22px;  
}
#wrap .highlight-last {
	margin-right: 0;  
}
#wrap .hp-highlight h2 {
 font-family: 'Oranienbaum', serif;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 0;
  border: none;
  padding-bottom: 5px;
  text-align: left;
  text-shadow: 0px 0px 25px rgba(255, 255, 255, 1);
}
.hp-highlight:first-of-type h2,
.hp-highlight:nth-of-type(2) h2,
.hp-highlight:nth-of-type(3) h2 {
  text-align: center;
}

.hp-highlight a img {
  width: 185px;
  height: auto;
}
.hp-highlight:first-of-type a img,
.hp-highlight:nth-of-type(2) a img,
.hp-highlight:nth-of-type(3) a img {
 	width: 285px;
  height: 190px;
}

#home-highlights div:nth-child(5) {
  display: none;
  visibility: hidden;
}

#page-heading {
 	border: none;
  padding: 0;
  margin: 0;
}
#page-heading h1 { 
  font-weight: normal;
  font-size: 26px;
  letter-spacing: -.01em;
  line-height: 1.3 !important;
  padding: 0;
}
#page-heading a {
  font-size: 11px;
 	color: #777;
  top: -38px;
  left: -4px;
  position: absolute;
}

.sidebar-box iframe {
 	float: right; 
}

.facebook-album-wrapper {
    margin: 0 9px 15px !important;
}
.fbalbum .image {
    0 0 2px #666666 inset !important
}

.watch-video-btn {
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  padding: 8px 15px;
  z-index: 999;
  background: #d6387a;
  color: #fff!important;
  font-weight: bold;
  
}

.sidebar-box {
	width: 180px;
	float: right;
}
.sidebar-box h4 {
	padding-bottom: 10px;
	margin-bottom: 10px;
	background-position: left bottom;
}
.sidebar-box h4 span {
	background: none;
	margin: 0;
	padding: 0;
}


.price-table {
 border-collapse: collapse;
 width: 99.9%;
 margin-bottom: 15px;
}
.price-table thead {
 background: #749c90;
 color: #fff;
}
.price-table th {
  padding: 8px 5px;
}
.price-table th:first-child {
  text-align: left;
  padding: 8px 12px;
}
.price-table tbody {
    background: #fff;
}
.price-table tbody tr {
    border-bottom: 1px solid #c3d0b8;
}
.price-table td {
  padding: 14px 5px;
}
.price-table td:first-child {
    text-align: left;
    padding-left: 14px;
    border-left: 0;
}
.price-table hr {
  margin: 0;
}

.price-table.race-options {
    border-radius: 6px;
    overflow: hidden;
}
.price-table.race-options tbody {
    background: #fff;
}
.price-table.race-options th,
.price-table.race-options td {
    text-align: center !important;
}



.cta-register {
  display: flex;
  flex-direction: column;
}
.cta-register .et_pb_promo_description {
  order: 2;
  padding-bottom: 6px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;  
}
.cta-register .et_pb_button_wrapper {
  order: 1;
  margin-bottom: 20px !important;
}

.sticky-register {
  opacity: 0;
  padding: 25px;
}

.sticky600 .sticky-register {
  position: fixed !important;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}
.admin-bar.sticky600 .sticky-register {
  top: 32px;
}
.sticky-register h1 {
  padding: 0 !important;
  cursor: pointer;
}
.vertical-align {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.sticky600 #back-to-top {
  position: fixed;
  right: 50px;
  z-index: 99;
  bottom: 50px;
  width: 40px;
  height: 40px;
}
.sticky600 #back-to-top a {
  display: block;
  text-align: center;
  text-indent: 9999999px;
  cursor: pointer;
}
.sticky600 #back-to-top a:after {
  content: "\279C";
  display: block;
  width: 40px;
  line-height: 40px;
  height: 40px;
  background: #3a3a3a;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 0;
  border-radius: 100px;
  text-indent: 0;
  transform: rotate(-90deg);
  opacity: .9;
}

@media only screen and (max-width: 980px) {
 
  img {
    max-width: 100%;
  }
  
  #header, #footer {
    width: 100%;
  }
  
  #wrap {
    padding: 50px 0 40px;
    width: calc(100% - 40px);
    border: 20px solid #c8d6bc;
    max-width: 100%;
  }
 
}



@media only screen and (max-width: 666px) {
  
  .sticky-register, .sticky600.sticky-register {
    top: auto;
    left: 0;
    transform: none;
    opacity: 1;
  }
  
  .vertical-align {
    position: relative;
    top: auto;
    transform: none;
  }
  
}


