/*
Theme Name:         Camp John Marc
Theme URI:          http://www.campjohnmarc.com/
Description:        Camp John Marc Website Theme
Version:            1.0.0
*/

/* Start Flipbox (shortcode: [cjm-flipbox] ) */
body.page-id-7682 .gform_body {
	font-size: 1.125em;
}
body.page-id-7682 .gform_wrapper .gform_body input.ginput_quantity[type=text] {
	width: 6rem;
	text-align: center;
}
body.page-id-7682 .gform_wrapper .gform_next_button {
	background-color: #419637;
	color: #fff;
	padding: 5px 40px;
	border-color: #419638;
}
body.page-id-7682 .gform_wrapper .gform_next_button:hover {
	background-color: #34782d;
	border-color: #2e6927;
}
.flip-card {
  background-color: transparent;
  perspective: 1000px;
  min-height: 500px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card-inner img {
  max-height: 500px;
  margin: 0 auto;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
}

@media only screen and (max-width: 641px) {
	body .gform_wrapper .ginput_container span:not(.ginput_price) {
		display: inline-block;
	}
}

/* End CJM Flipbox */

body .modal #feature-slideshow .item {
    min-height: 0;
    text-align: center;
}
body .navbar-default {
    margin: 0;
}
body .navbar-default .navbar-brand {
    text-indent: -999999px;
}
body .dropdown-menu {
	padding: 0;
}
body .persephone.tparrows:before {
	margin-top: 0;
}
body .wpb_tabs .wpb_tabs_nav li {
	margin: 0;
}
body #TB_caption {
	height: auto;
}
body .tb-close-icon {
	right: 15px;
}
body #TB_secondLine {
	color: #fff;
	font-size: 1px;
}
body #TB_secondLine > span {
	font-size: 14px;
}
.approved-field {
	display: none;
}
body .gform_wrapper .ginput_quantity[type=text] {
	display: inline;
}
.gform_wrapper .gform_footer:not(.top_label) {
    padding: 16px 0 10px!important;
    margin-left: 0!important;
    text-align: center!important;
}
.gform_optin .gform_body {
	display: inline-block!important;
	width: 70%!important;
    padding-left: 10%;
}
body .gform_optin .gform_wrapper {
	display: block!important;
}
body .gform_optin .gform_footer {
	display: inline-block;
    width: 25%!important;
    clear: none;
	}
body .gform_optin {
	margin-top: 0;
}
body .gform_optin .row {
    margin-top: 20px;
}
.widget.widget_roots_vcard .vcard {
	margin-bottom: 0;
}
.content-info .last {
	margin-bottom: 30px;
}

@media only screen and (max-width: 641px) {
	.gform_wrapper .gform_footer:not(.top_label) {
	    padding: 12px 0 10px!important;
	}
	.gform_optin .gform_body {
		display: inline-block!important;
		width: 70%!important;
	    padding-left: 10%;
	}
	body .gform_optin .gform_wrapper {
		display: block!important;
	}
	body .gform_optin .gform_footer {
		display: inline-block;
	    width: 25%!important;
	    clear: none;
	}
	body .gform_optin .gform_button {
		padding: 1px 9px;
		margin: 0!important;
	}

}
@media only screen and (max-width: 360px) {
	body .gform_optin .gform_footer {
	    width: 36%!important;
	}
	.gform_optin .gform_body {
		width: 60%!important;
	    padding-left: 0;
	}
}

body.locked,
body.locked {
	max-height: 100vh;
	overflow: hidden;
}
body #cimtap-overlay {
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	min-height: 100%;
	width: 100%;
	min-width: 100%;
	z-index: 99999;
	vertical-align: middle;
	display: flex;
}

body #cimtap-overlay #overlay-content-wrap {
	width: 100%;
	text-align: center;
	padding: 15px;
	display: block;
	margin: auto;
	max-width: 800px;
}
body #cimtap-overlay #overlay-content-wrap #overlay-content {
	background: #fff;
	padding: 30px 15px;
}

body #cimtap-overlay #overlay-content-wrap #overlay-content p {
	margin: 0;
}
body #cimtap-overlay #overlay-content-wrap #overlay-content #overlay-buttons {
	margin-top: 15px;
}
body #cimtap-overlay #overlay-content-wrap #overlay-content #overlay-buttons .btn {
	border: 1px solid;
	margin: 0 15px;
}
body #cimtap-overlay #overlay-content-wrap #overlay-content #overlay-buttons .btn#overlay-decline-btn {}
body #cimtap-overlay #overlay-content-wrap #overlay-content #overlay-buttons .btn#overlay-agree-btn {}


body .persephone.tparrows.tp-leftarrow:before {
	margin: 0;
}



body.page-template-page-cimtap,
body.single-activity {
	font-size: 1.8em;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body.single-activity h1,
body.page-template-page-cimtap h2,
body.single-activity h2,
body.page-template-page-cimtap h3,
body.single-activity h3,
body.page-template-page-cimtap h4,
body.single-activity h4,
body.page-template-page-cimtap h5,
body.single-activity h5 {
	font-family: 'Acme', sans-serif;
	color: #419638;
}

body.page-template-page-cimtap h1.entry-title,
body.single-activity h1.entry-title {
	margin-top: 60px;
}

body.page-template-page-cimtap #simple-banner,
body.single-activity #simple-banner {
	display: none;
}

#cjm-activity-schedule th,
#cjm-activity-schedule td {
	padding: 5px 10px;
	vertical-align: top;
}

body .navbar nav:before, body .navbar nav:after {
	box-shadow: none;
	-webkit-box-shadow: none;
}

.activity-navbar {
	display: none;
}

ul#menu-cimtap-main-nav {
	margin: 1.5em 0 0;
}

.container.activity-container {
	padding: 0;
}
.navbar-default .activity-container .navbar-toggle {
	border: 0 none;
	z-index: 10;
}
.container.activity-container .navbar-header {
	padding: 15px;
}
.activity-container .navbar-toggle .icon-bar+.icon-bar {
	margin-top: 6px;
}
.activity-container .icon-bar {
	width: 40px;
	height: 6px;
}
.activity-container .navbar-collapse {
	background-color: #fff;
}
@media (max-width: 767px) {
	.activity-container .navbar-collapse {
		position: relative;
		top: -88px;
	}
}

a.navbar-brand.activity-brand {
	background-image: url('/wp-content/uploads/cimtap-logo-400.png');
	box-shadow: none;
	top:  10px;
}

.banner>.container.activity-container:after {
	display: none;
}

body.activity-template-default time.published,
body.activity-template-default p.byline {
	display: none;
}

body .content-info.content-info-activity {
	background: #fff;
}
body .content-info-activity .bottom-activity {
	background: #fff;
	color: #5f5f5f;
	margin-top: 4em;
	padding: 2em;
	text-align: center;
}

body.vc_editor #gratitude-carousel {
	max-height: 200px;
	overflow: hidden;
}

body.vc_editor #gratitude-carousel:before{
	content: "NOTE: This is a Carousel and can change height"
}

/*
 * Activities: 
 */
#outside-time-activity {
	padding: 1em 0;
}
.activity-entry {
	display: flex;
	padding: 2px 10px;
}
.activity-entry:nth-child(even){
	background-color: #dfdfdf;
}

.activity-entry .mins {
	margin-left: auto;
}

#gratitude-carousel {
	margin: 0 20px 30px;
}

#gratitude-carousel .slick-arrow {
	z-index: 5;
}
#gratitude-carousel .slick-arrow:before {
	color: #73af44;
	font-size: 24px;
}

#gratitude-carousel {
}

#gratitude-carousel .slick-dots li button::before {
	font-size: 18px;
	color: #73af44;
	
}
#gratitude-carousel .slick-dots li.slick-active button::before {
	color: #39932d;
}


#gallery-wall,
#gratitude-wall {
	column-count: 1;
	column-gap: 0.5em;
	margin: 1em 0;
}
.slick-track div.gratitude-cell {
	border: 0 none;
}
div.gallery-cell,
div.gratitude-cell {
	color: #fff;
	padding: 1em;
	margin-bottom: 0.5em;
	display: inline-block;
	width: 100%;
	font-family: 'Caveat', sans-serif;
	font-size: 1.6em;
	border: 1px solid #d7f1dc;
	color: #999;
}
div.gratitude-cell.gratitude-cell-0 {
	color: #0206e6;
}
div.gratitude-cell.gratitude-cell-1 {
	color: #e0312b;
}
div.gratitude-cell.gratitude-cell-2 {
	color: #0cc948;
}
div.gratitude-cell.gratitude-cell-3 {
	color: #04a4de;
}
div.gratitude-cell.gratitude-cell-4 {
	color: #e01283;
}
div.gratitude-cell.gratitude-cell-5 {
	color: #e39802;
}
div.gratitude-cell.gratitude-cell-6 {
	color: #b402e6;
}
.gratitude-cell div.byline {
	text-align: right;
	margin-top: 1em;
}
.gratitude-cell div.name {
	font-size: 1.2em;
	font-weight: bold;
}
.gratitude-cell div.role {
	font-style: italic;
	margin-top: -5px;
}

@media (min-width: 560px) {
	#gallery-wall,
	#gratitude-wall {
		column-count: 3;
	}
}

@media (min-width: 768px) {

	.activity-navbar {
		display: block;
	}
	.d-md-none {
		display: none !important;
	}
	.navbar-nav.activity-nav {
		float: right;
	}
	.navbar-nav.activity-nav>li>a {
		padding: 20px 25px;
	}

}



body .navbar-top .btn-online {
	margin-left: 1px;
}
body .navbar-top .btn-online,
body .navbar-header .btn-warning {
	color: #419739;
	border-color: #398432;
	background-color: #fff;
}
body .navbar-top .btn-online:hover,
body .navbar-header .btn-warning:hover {
	background-color: #419739;
	color: #fff;
}

iframe.video {
	width: 100%;
	height: 54vw;
}

@media (min-width: 900px) {
	iframe.video {
		height: 45vw;
	}
}

@media (min-width: 1000px) {
	iframe.video {
		height: 35vw;
	}
}

@media (max-width: 465px) {
	body .navbar-top {
		min-height: 138px;
	}
	body .navbar-header {
		margin-top: 5px;
	}
	body .navbar-top-content {
		margin-top: 30px;
	}
}


#scroll-to-top-icon {
	display: none;
	position: fixed;
	text-align: center;
	cursor: pointer;
	z-index: 99;
	width: 2.1em;
	height: 2.1em;
	line-height: 2.1;
	color: #fff;
	border-radius: 2px;
	bottom: 15px;
	right: 15px;
	background: rgba(0,0,0,0.5);
}

body.scrolled #scroll-to-top-icon {
	display: block;
}

.screen-reader-text {
	position: absolute;
	top: -10000em;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
 }





.video-responsive{
	overflow:hidden;
	padding-bottom:56.25%;
	position:relative;
	height:0;
}
.video-responsive iframe{
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}

ul.activity-medias {
	padding: 0;
	list-style: none;
}
li.activity-media {
	margin: 0 auto 2em;
	width: 100%;
	display: block;
}
li.activity-media h4.media-title {
	margin: 15px 0;
	font-size: 1.35em;
	font-weight: 900;
	text-align: center;
	color: #419638;
}
li.activity-media img {
	max-height: 266px;
	margin: auto;
	border: 1px solid #d7f1dc;
}
li.activity-media a.btn {
	text-decoration: none;
	background-color: #419638;
	border: 1px solid #419638;
	color: #fff;
	text-align: center;
	display: block;
	margin-top: 1em;
}
li.activity-media a.btn:hover {
	background-color: #34782d;
	border-color: #2e6927;
	color: #fff;
}
@media (min-width: 768px){
	.activity-medias {
		margin: 0 -1.5%;
	}
	.activity-medias .activity-media {
		width: 30%;
		margin: 0 1.5% 1em;
		display: inline-block;
	}
	.video-medias li.activity-media {
		width: 46%;
	}
	li.activity-media.activity-pdf {
	}
}


/* Rev Slider Defaults */
.slide-header,
.slide-subheader {
	text-shadow: rgb(0 0 0) 1px 1px 4px !important;
	font-weight: 300 !important;
}
.slide-header {
	font-family: 'Acme', sans-serif;
}
.slide-subheader {
	font-family: "Open Sans" !important;
}


/* Fix for overly-greedy selector */

body .ginput_container input[type="checkbox"]:focus,
body .ginput_container input[type="radio"]:focus {
	box-shadow: none !important;
}

body .ginput_container input[type="checkbox"],
body .ginput_container input[type="radio"] {
    width: 1.4em !important;
    margin-right: 5px;
}
