/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Event single */
.s2r-content { display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; padding-bottom: 1em; }
.s2r-content > * { width: 50%; }
.sidebar .s2r-content > * { width: 100%; }
.s2r-content > .entry-header, .s2r-content > .s2r-item-thumbnail, .s2r-content > .s2r-item-category, .s2r-content > .s2r-event-date, 
.s2r-content > .s2r-event-signup, .s2r-content > .s2r-content-item { width: 100%; }
.s2r-content > .s2r-entry-thumbnail { height: 100%; }

.s2r-content > div > h3 { margin-bottom: 0; }
.s2r-content > div > p { margin-top: 0; }
.s2r-content > img.alignleft { margin: 0; }

.s2r-content > header > h1 { margin-top: .5em; }

.s2r-wrap-item.s2r-wrap-view-item.s2r-title-hidden-item h2.s2r-item-title, .s2r-wrap-item.s2r-wrap-view-form.s2r-title-hidden-form h2.s2r-item-title,
.s2r-wrap-item.s2r-wrap-view-item.s2r-subtitle-hidden-item h3.s2r-item-subtitle, .s2r-wrap-item.s2r-wrap-view-form.s2r-subtitle-hidden-form h3.s2r-item-subtitle,
.s2r-wrap-item.s2r-subtitle-hidden-item .s2r-event-practice h4.s2r-item-subtitle, .s2r-wrap-item.s2r-subtitle-hidden-form .s2r-event-level h4.s2r-item-subtitle,
.s2r-wrap-item.s2r-title-hidden-form h4.s2r-item-subtitle { display: none; }

.s2r-wrap-event .s2r-event-race-link, .s2r-event-list-wrap .s2r-event-race-link, .s2r-item-club a.s2r-club-link { background: url("../images/logo-ffv-16.png") no-repeat center center; display: inline-block; width: 42px; min-height: 16px; }
.s2r-wrap-event .s2r-event-race-link > span, .s2r-event-list-wrap .s2r-event-race-link > span, .s2r-item-club a.s2r-club-link > span { display: none; }

.s2r-event-position-google, .s2r-people-position-google { background: url("../images/Google-Map.png"); display: inline-block; width: 16px; height: 16px; background-size: cover; }
.s2r-event-position-google > span, .s2r-people-position-google > span { display: none; }

.s2r-wrap-event.s2r-cancel .s2r-event-dates > *, .s2r-wrap-event.s2r-cancel .s2r-event-signup a, .s2r-wrap-event.s2r-cancel .s2r-event-document a { text-decoration: line-through; }

@media only screen and (max-width: 800px)  {
	.s2r-wrap-item > * { width: 100%; }
}

/* Item List */
.s2r-item-list-wrap.s2r-item-layout-list > dl { flex: unset; max-width: unset; width: 100%; margin: 0 0 10px 0; padding: 0 15px 10px 15px; -webkit-box-flex: unset; border-bottom: 1px solid #ddd; }
.s2r-item-list-wrap > dl .s2r-item-entry { clear: both; }
.s2r-item-list-wrap.s2r-item-layout-box > dl .s2r-item-entry { border: 1px solid #ddd; border-radius: 0 0 5px 5px; line-height: 1.4em; }
.s2r-item-list-wrap > dl .s2r-item-list-entry-thumbnail { float: none; }
.s2r-item-list-wrap.s2r-item-layout-box > dl .s2r-item-list-entry-thumbnail .item-list-link { border-bottom: 1px solid #ddd; }
.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-thumbnail { max-width: 15%; margin-right: 10px; }
.s2r-item-list-wrap > dl .s2r-item-list-item-content { clear: both; }
.s2r-item-list-wrap.s2r-item-layout-box > dl .s2r-item-list-entry-content { padding: 10px; clear: both; }
.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-content { display: flex; flex-direction: row; flex-wrap: wrap; margin: auto; clear: right; }
.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-content > * { width: 100%; }
.s2r-item-list-wrap.s2r-item-layout-box > dl .s2r-item-list-entry-content > * { display: block; }
.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-hidden-list, .s2r-item-list-wrap.s2r-item-layout-box > dl .s2r-hidden-box { display: none; }
.sidebar .s2r-item-list-wrap > dl > .s2r-item-list-entry-content > * { width: 100%; }
.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-content { padding-left: 10px; }

.s2r-item-list-wrap.s2r-title-hidden h2, .wrap-item-wrap.s2r-title-hidden h2,
.s2r-item-list-wrap.s2r-subtitle-hidden h3, .wrap-item-wrap.s2r-subtitle-hidden h3,
.s2r-item-list-wrap.s2r-subtitle-hidden h4, .wrap-item-wrap.s2r-subtitle-hidden h4 { display: none; }

.s2r-item-list-wrap .item-list-link { font-size: 1.2em; font-weight: 600; }
.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-link { font-size: 1.5em; font-weight: 400; }
.s2r-item-list-entry-thumbnail img { margin: 0 10px 0 0; }
.s2r-item-entry p.s2r-event-dates, .s2r-item-entry p.s2r-item-club, .s2r-item-entry p.s2r-event-level-value, .s2r-item-entry p.s2r-event-race, 
.s2r-item-entry p.s2r-item-location-location, .s2r-item-entry p.s2r-item-position, .s2r-item-entry p.s2r-event-signup-signup, 
.s2r-item-entry .s2r-event-document p { margin: 0; display: inline-block; }
.s2r-item-list-wrap .s2r-event-practice-title { font-weight: normal; }
.s2r-item-list-wrap .s2r-event-level-title { display: none; }
.s2r-item-list-wrap .s2r-item-list-thumbnail-date { position: absolute; top: 5px; left: 5px; min-width: 50px; padding: 5px; 
color: #000; background-color: #FFF; font-size: .9em; font-weight: 400; text-align: center; line-height: .9em; 
border: 1px #eee solid; box-shadow: 2px 2px 4px #eee; }
.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-thumbnail-date { display: none; }

.s2r-item-list-wrap .sign2race-view-hide { display: none; }
.s2r-item-list-wrap.s2r-item-layout-box > dl .s2r-item-list-entry-content > .sign2race-view-hide, .s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-content > .sign2race-view-hide { display: none; }
.s2r-item-list-wrap.s2r-item-layout-list .sign2race-view-col { display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; }
.s2r-item-list-wrap.s2r-item-layout-list .sign2race-view-col > * { flex: 1; line-height: 1.4em; }
.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta > * { width: 25%; flex: auto; }
.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta > .s2r-item-club { width: 50%; }
.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-location  > .s2r-item-club { width: 100%; flex: auto; }
.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta > .s2r-event-race { text-align: right; }
.s2r-item-list-wrap.s2r-item-layout-box .s2r-event-regatta > .s2r-event-race { position: absolute; bottom: 10px; right: 30px; }
.s2r-item-list-wrap .s2r-event-club { position: relative; }
.s2r-item-list-wrap .s2r-event-club .s2r-event-club-link { position: absolute; bottom: 0; right: 5px; }

.s2r-item-list-wrap .hentry { margin-bottom: 20px; }
.s2r-item-list-wrap .s2r-event-practice-category { white-space: nowrap; }
.s2r-item-list-wrap .s2r-event-practice-category:after { content : '|'; margin-left: 5px; }
.s2r-item-list-wrap .s2r-event-practice-category:last-child::after { content : ''; }

.s2r-item-list-wrap .s2r-cancel .s2r-event-dates > *, .s2r-item-list-wrap .s2r-cancel .event-signup a, 
.s2r-item-list-wrap .s2r-cancel .s2r-event-document a, .s2r-cancel .s2r-item-list-thumbnail-date
 { text-decoration: line-through; }

.s2r-item-action .s2r-item-filter-action { float: left; }
.s2r-item-action .s2r-item-filter-action a { white-space: nowrap; }
.s2r-item-action .s2r-item-filter-action .s2r-active-filter { cursor: default; color: #000; text-decoration: none; }
.s2r-item-action .s2r-item-layout-action { text-align: right }
.s2r-item-action .s2r-item-layout-action .s2r-item-layout-icon { display: inline-block; height: 30px; width: 30px; text-align: center; line-height: 30px; background: #e5e5e5; color: #888; margin-left: 5px; border-radius: 5px; cursor: pointer; font-size: 15px; transition: all .2s; padding: 5px; position: relative; }
.s2r-item-action .s2r-item-layout-action .s2r-item-layout-icon.s2r-active-layout { background: #ccc; color: #222; cursor: default; }
.s2r-item-action .s2r-item-layout-action .s2r-item-layout-icon.s2r-item-box-layout:after { background: #222; color: #222; content: ""; 
position: absolute; display: block; width: 12px; height: 12px; top: 9px; left: 9px; }
.s2r-item-action .s2r-item-layout-action .s2r-item-layout-icon.s2r-item-list-layout { top: -5px; }

.s2r-hamburger { padding: 0 0 0 0; display: inline-block; cursor: pointer; font: inherit; color: inherit; text-transform: none; background-color: transparent; border: 0; margin: 0; overflow: visible; }
.s2r-hamburger-box { width: 16px; height: 16px; display: inline-block; position: relative; }
.header_color .s2r-hamburger-inner, .header_color .s2r-hamburger-inner::before, .header_color .s2r-hamburger-inner::after { background-color: #222; }
.s2r-hamburger-inner, .s2r-hamburger-inner::before, .s2r-hamburger-inner::after { width: 16px; height: 2px; background-color: #222; border-radius: 1px; position: absolute; left: 0; top: 5px; }
.s2r-hamburger-inner::before, .s2r-hamburger-inner::after { content: ""; display: block; }
.s2r-hamburger-inner::before { top: -5px; }
.s2r-hamburger-inner::after { top: 5px; }

@media only screen and (max-width: 1240px)  {
	.s2r-event-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-thumbnail { display: none; }
	.s2r-event-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-content { padding-left: 0; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta > * { width: 25%; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta .s2r-item-club { width: 100%; flex: none; }
	.s2r-item-list-wrap.s2r-item-layout-box .s2r-item-list-link { font-size: 1em; }
}

@media only screen and (max-width: 1110px)  {
}

@media only screen and (max-width: 980px)  {
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta > * { width: 25%; flex: auto; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta .s2r-item-club { width: 50%; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-link { font-size: 1.4em; }
	.s2r-item-list-wrap.s2r-item-layout-box .s2r-item-list-link { font-size: 1.4em; }
}

@media only screen and (max-width: 880px)  {
	.s2r-item-list-wrap.s2r-item-layout-box .s2r-item-list-link { font-size: 1.3em; }
}

@media only screen and (max-width: 768px)  {
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta > * { width: 50%; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta .s2r-item-club { width: 100%; flex: none; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-link { font-size: 1.3em; }
	.s2r-item-list-wrap.s2r-item-layout-box .s2r-item-list-link { font-size: 1.5em; }
}

@media only screen and (max-width: 680px)  {
	.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-thumbnail { display: none; }
	.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-content { padding-left: 0; }
	.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-content > .s2r-item-location { width: 100%; flex: none; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-link { font-size: 1.2em; }
	.s2r-item-list-wrap.s2r-item-layout-box .s2r-item-list-link { font-size: 1.4em; }

@media only screen and (max-width: 600px)  {
	.s2r-item-list-wrap.s2r-item-layout-list .sign2race-view-col > * { width: 50%; flex: none; }
	.s2r-item-list-wrap.s2r-item-layout-list > dl .s2r-item-list-entry-content > * { width: 100%; flex: none; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-link { font-size: 1.5em; }
	.s2r-item-list-wrap.s2r-item-layout-box .s2r-item-list-link { font-size: 1.3em; }
}

@media only screen and (max-width: 500px)  {
	.s2r-item-list-wrap.s2r-item-layout-list .sign2race-view-col > * { width: 100%; flex: none; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-event-regatta > * { width: 100%; flex: none; }
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-link { font-size: 1.4em; }
	.s2r-item-list-wrap.s2r-item-layout-box .s2r-item-list-link { font-size: 1.2em; }
}

@media only screen and (max-width: 450px)  {
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-link { font-size: 1.3em; }
	.s2r-item-list-wrap.s2r-item-layout-box .s2r-item-list-link { font-size: 1em; }
}

@media only screen and (max-width: 400px)  {
	.s2r-item-list-wrap.s2r-item-layout-list .s2r-item-list-link { font-size: 1.2em; }
}


