/*
Theme Name:     Sparkling Child
Description:    My personal theme
Author:         Bloculus
Template:       sparkling                             
Version:        0.1.0
*/

@import url("../sparkling/style.css");

/* =Global
----------------------------------------------- */

/* add shadow around contents */
.post-inner-content, .well {
	-webkit-box-shadow: 0 0 3px 0 #dadada;
	-moz-box-shadow: 0 0 3px 0 #dadada;
	box-shadow: 0 0 3px 0 #dadada;
}

/* add post content missing border top */
.post-inner-content {
	border-top: 1px solid #dadada!important;
}

/* add header border bottom */
.navbar.navbar-default {
	border-top: solid 1px #dadada!important;
    border-bottom: solid 1px #dadada!important;
	-webkit-box-shadow: 0 0 8px 0 #dadada;
    -moz-box-shadow: 0 0 8px 0 #dadada;
    box-shadow: 0 0 8px 0 #dadada;
}

/* Add smooth scrolling to anchors on the whole site */
html {
	scroll-behavior: smooth;
}
/* ...and disable it for people that asked their browser to do so */
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
  line-height:1.8;
}

.navbar.navbar-default {
  background-color: #fcfcfc;
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s; /* Firefox < 16 */
        -ms-animation: fadein 2s; /* Internet Explorer */
         -o-animation: fadein 2s; /* Opera < 12.1 */
            animation: fadein 2s;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

a {
  color: #f15a23; /*#DA4453; */
}

a:focus {
  color: #DADADA;
  outline-style: none;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #f15a23;
  background-color: transparent;
}

.post-navigation a:hover, .paging-navigation a:hover {
  background: #f15a23;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #f15a23; /*#DA4453; */
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
}

h1, .h1 {
  font-size: 28px;
  margin-top: 31px;
  margin-bottom:15px;
}

h2, .h2 {
  font-size: 28px;
  margin-top: 31px;
  margin-bottom:15px;
}

h3, .h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom:15px;
}

h4, .h4 {
  font-size: 18px;
  margin-top: 20px;
}

h5, .h5 {
  font-size: 14px;
}

h6, .h6 {
  font-size: 13px;
}

li {
  margin-bottom:10px;
}

ol, ul {
	margin-bottom:15px;
}

p {
  margin: 0 0 15px;
}

.btn.btn-default {
  background-color: #f15a23; /*#DA4453; */
  border-radius: 0;
}

.btn.btn-formation {
  background-color: #68bf61!important; /*#DA4453; */
  white-space: normal;
  font-size:large!important;
  padding: 20px 25px 20px 25px;
}
.btn.btn-formation:hover, .btn.btn-formation:focus {
  background-color: #4a9044!important; 
  color: white!important;
  outline: none;
}

.btn.btn-bonus {
  background-color: #f15a23 !important;
  white-space: normal;
  font-size: medium !important;
  padding: 10px 15px 10px 15px;
  border-radius: 25px;
}
.btn.btn-bonus:hover, .btn.btn-bonus:focus {
  background-color: #c14b20!important; 
  color: white!important;
  outline: none;
}

.btn.btn-shop {
  background-color: white;
  color:#f15a23;
  border-color:#f15a23;
  border-radius: 0;
}

.btn.btn-secondary-action {
  background-color: white;
  color:#f15a23;
  border-color:#f15a23;
  border-radius: 0;
}


.widget button#searchsubmit {
    background: #bfbfbf;
    border-color: #bfbfbf;
}

/* hide author name display on home page */
#byline {
  display: none;
}

/* hide double featured image display */
.single-featured.wp-post-image {
  display: none;
}

/* customize social share invitation text */
.the_champ_sharing_title {
  font-weight: 100;
  color: #a94442;
  font-style: italic;
  /*background: url(https://bloculus.com/wp-content/uploads/2016/10/share_arrow.png)no-repeat;
  padding-left: 10px;*/
}

/* responsive menu style (rest can be changed in pluging settings) */
.responsive-menu-item-link {
  text-transform: uppercase;
  font-weight:600;
}
#responsive-menu-title {
  font-weight: 800;
  font-family: sans-serif;
}

/* customize the collapsible text color when no arrow */
.noarrow{
  color: #f15a23;
}
/* remove collapsible content left margin */
.collapseomatic_content {
	margin-left:0;
}

hr {
  border-top: 1px solid;
  border-top-color: lightgray;
} 

/* verbatim images style */
.social-verbatim {
   border: lightgray 1px solid;
}

/* Correct small content screen width issue */
@media only screen and (min-width: 1200px) {
.pull-left {
	width:1170px;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px){ 
.pull-left {
	width:970px;
}
}
@media only screen and (min-width: 768px) and (max-width: 991px){ 
.pull-left {
	width:750px;
}
}

/* Make (on laptop) main content min-height equal to ~ screen height to prevent ridiculously small screens */
@media only screen and (min-width: 800px) {
.post-inner-content {
 	min-height: calc(100vh - 290px)!important;
}
}

/* Add border to embeded youtube videos */
p > iframe[src*="youtube.com/embed"] {
  border:solid 1px lightgray;
}

/*  FAZ cookies settings 
----------------------------------------------- */

/* For mobile only - handle social media banner conflict */
@media only screen and (max-width: 800px){ 

	.faz-revisit-bottom-left {
		bottom: 48px;
	}
	.faz-consent-bar {
		padding-bottom: 50px!important;
	}
}

/* Button color transparent */
.faz-btn-revisit-wrapper {
    --faz-revisit-consent-background-color: #64646466!important;
}

/* Align scroll to top with cookies button */
.scroll-to-top {
	bottom:20px;
	margin-bottom:0px;
}
/* For mobile only */
@media only screen and (max-width: 800px){ 
	.scroll-to-top {
	   bottom:50px;
   } 
}

/* Style footer link */
.faz-cookie-settings-btn.link {
  display: inline;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: inherit;
  color: #DADADA !important;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  outline: none;
}
.faz-cookie-settings-btn.link:hover,
.faz-cookie-settings-btn.link:focus {
  text-decoration: none;
  opacity: 1;
}



/* =Post styling
----------------------------------------------- */

.single-post .nav-links, .ptb_single .nav-links {
	display:none;
}

.entry-title {
  	color: #f15a23; /*#DA4453; */
}
.entry-title a {
  	color: #f15a23; /*#DA4453; */
}
.entry-title a:hover {
  	color: #DADADA;
}
a.more-link {
  	display:block;
 	background:#bfbfbf;
  	border-radius:0;
}

/* remove author section */
.post-inner-content.secondary-content-box {
    display: none;
}
/* correct display bug */
.avatar.avatar-60.photo {
    margin-left: 0px;
}

.bonus-box {
	padding: 20px 30px 20px 30px;
    background-color: #fffbe3!important;
    border: 3px dashed #fadf98!important;
    border-radius: 25px;
    margin-bottom: 30px;
}

.imagilus-presentation-box {
	border: solid 1px orange;
    border-radius: 25px;
    background: lightyellow;
    padding: 25px 40px;
    margin: 30px;
}
/* For mobile only */
@media only screen and (max-width: 800px){ 
	.imagilus-presentation-box { margin: 30px 5px; }
} 

.imagilus-transcript {
	text-align: center;
	border: 1px solid #ffd7c3; 
	margin-bottom:50px; 
	padding:15px 25px 25px 25px;
}
.imagilus-transcript-description, .imagilus-transcript-question, .imagilus-transcript-separator {
	text-align: center;
}
.imagilus-transcript-title {
	margin-bottom:20px;
}
.imagilus-transcript-separator{
	margin-top: -25px;
}
.imagilus-transcript-separator::after {
	content:"\A──────  •  ──────";
	white-space:pre;
	opacity:20%;
}
.single-post .imagilus-transcript-question {
	margin-bottom:0px;
}
.important-box {
	padding:20px;
	border:1px solid;
}

#privacy {
	padding:20px; 
	background-color:#fef5c4; 
	border:1px solid #fadf98;
}

/* remove date section */
.posted-on {
	display:none;
}

.citation {
	border-left: 5px solid #eee; 
	padding-left:20px;	
	margin-bottom:25px;
	margin-top:25px;
}

.entry-meta {
    margin-top: -15px;
}

/* remove tag cloud */
.tagcloud {
	display:none!important;
}

/* center related posts title & widget */
.wp_rp_content .widget-title, .custom-html-widget .wp_rp_content .related_post_title{
	text-align: center;
	margin-top: 50px!important;
	margin-bottom:25px!important;
}
.wp_related_posts_widget, .custom-html-widget .wp_related_posts_widget {
	text-align:center;
}
.wp_rp_title, .custom-html-widget .wp_rp_title {
	text-align:left;
}

/* Hide related content widget emoji */
.wp_rp_wrap .emoji {
	display: none!important;
}

/* hide categories */
.cat-links {
	display:none;
}


/* Comments 
----------------------------------------------- */

.wpd-main-form-wrapper {
	margin-top:50px;
}

/* =Navigation
----------------------------------------------- */

.navbar.navbar-default {
  border-bottom: solid 1px #dadada!important;
}

.navbar-default .navbar-nav > li > a {
  color: #444;
  line-height: 40px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
}

.navbar-default .navbar-nav > .active > a {
  color:#f15a23; /*#DA4453; */
}

/* Hide logo on big screen (menu do the job)) */
#logo {
   display:none;
}

@media (max-width: 991px) {
  #logo {
   display:block;
   width:300px;
   padding: 10px 10px 7px 10px;
   margin-left:auto;
   margin-right:auto;
  }
}

.mega-search-open {
	border: 1px solid #aaa;
}

.mega-search-close {
	border: none;
}

.siq_actitle {
	font-weight:400!important;
}

/* correct search image fit */
.siq_resultLeft.has-image.crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



/* =Widgets
----------------------------------------------- */

.well {
  border-radius:0;
}

/* Add top margin for mobile only */
@media only screen and (max-width: 800px){ 
	#secondary {
		margin-top:30px;
	}
} 

#secondary .widget {
  color: #6B6B6B;
  margin-bottom: 30px;
}
#secondary .widget > h3 {
  font-size: 16px;
  color: #444;
}
#secondary .widget a {
  color: #6B6B6B;
}
#secondary .widget .contact-button {
  color: #fff;
}

.footer-widget-area .footer-widget {
    width: 100%;
}

/* Enlarge footer height */
  .site-info {
	  height: 125px;
  }
/* For mobile only */
@media only screen and (max-width: 800px){ 
  .site-info {
	  height: 150px;
  }
}

/* Remove legal info extra height */
#wpdInfo {
	display:none;
}


/* Action, shop links, infos
----------------------------------------------- */

.info-block {
  text-align:center; 
  border-width:3px; 
  border-color:#6B6B6B; 
  border-style:dotted; 
  border-radius:25px;
  padding:20px 20px 20px 20px;
  margin:30px 0 20px 0; 
}

.action-block {
  text-align:center; 
  border: 3px dashed lightsalmon;
  border-radius: 25px;
  padding:30px 20px 30px 20px;
  margin:30px 0 20px 0; 
}


/* Fluent Forms 
----------------------------------------------- */

/* Make forms nav buttons big enough */
.step-nav  button[type="button"] {
	font-size:15px!important;
}

/* Make the space between widgets better */
.rangeslider {
    margin-top:15px;
}

/* add background to all default forms */
.fluentform {
    background: #f3f2f2;
    padding:10px 20px 20px 20px;
    margin-top:30px;
	border: 1px solid lightgray;
    border-radius: 10px;
}
.lity-container .fluentform {
	border: none;
}
/* make widgets more visible because of background */
.rangeslider--horizontal{
	background: white!important;
} 
.ff-message-success {
	background: white!important;
}

/* Add top margin pour step header */
.ff-step-header {
	margin-top:20px;
}

/* align text with stars when using rating widget */
span.ff-el-rating-text {
    vertical-align: middle !important;
}


/* Post Type Builder
----------------------------------------------- */


/******
 *  Make ptb look like a post 
 */
.ptb_single .main-content-inner, .ptb_archive .main-content-inner {
	padding-left: 15px!important;
	padding-right: 15px!important;
	overflow: hidden!important;
    clear: both!important;
}
/* correction of the PTB v2 changes for comments below */
.ptb_comments .wpd-thread-list {
	background: none;
	padding: 20px 0 20px 0!important;
    border: none!important;
}
.ptb_comments {
	margin-bottom: -30px;
}
/* For desktop only : create separation above comments  */
@media only screen and (min-width: 768px){ 
.ptb_comments .wpd-form-wrap {
	background: #fcfcfc;
    margin: 25px -55px;
    padding: 25px 40px 50px 40px;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    border-right: #fcfcfc 12px solid;
    border-left: #fcfcfc 12px solid;
}
.ptb_comments .wpd-main-form-wrapper {
	margin-bottom: 30px;
}
}

/* correction of the PTB v2 changes here and below */
.ptb_single .page-header .entry-title {
	display:none;
}
.ptb_single .ptb_post, .ptb_archive .content-area {
	/*padding:45px 50px 45px 50px!important;*/
	/*border:solid 1px #DADADA;*/
	padding:0px!important;
	margin-top:-24px!important;
	background:white!important;
}
@media only screen and (max-width: 768px){ 
.ptb_single .ptb_post {
	/*padding:20px 25px 20px 25px!important;*/
}
} 
.ptb_single .ptb_items_wrapper, .ptb_archive .ptb_items_wrapper {
	margin-top:0px!important;
}
/* Change post list margin bottom */
.post-inner-content .ptb_post {
	margin-bottom : 20px!important;
}
/* Center page navigation */
.ptb_pagenav {
	text-align:center;
}
/* Remove unused items */
.ptb_post .wp_related_posts_widget, .ptb_post .ptb-post-nav {
	display:none;
}

/*******
 * Customize search pages  *
 */

.ptb_search_module .ptb_search_label {
	margin-bottom:0px;
	pointer-events:none;
}
.ptb_search_label label {
	font-weight:600;
	margin-bottom: -5px;
}
.ptb_search_module input[type=checkbox] {
	outline: none;
}

.ptb_search_option_wrap label {
	font-weight: normal;
}
.select2-results .select2-highlighted,
.select2-results .select2-result:hover{
    background-color:lightgray!important;
}
.select2-result-unselectable{
	color: gray;
	pointer-events: none;
}
/* increase form fields padding */
.select2-container.select2-container-multi .select2-choices .select2-search-field input {
  padding: 0px 5px 0px 5px;
  margin-top: -2px;
}
.select2-choices {
  padding: 5px 7px 3px 2px!important;
}
.select2-search-choice {
  line-height: 15px!important;
}
/* add border radius to form fields */
.select2-container-multi .select2-choices{
  border-radius: 5px!important;
}
.select2-drop {
  margin-top:1px!important;
  border: solid 1px lightgray!important;
}

/* increase form autocomplete fields text size */
.ptb-search-autocomplete-dropdown {
  font-size:14px!important; 
}

/* Add navigation top margin */
.ptb-search-container .ptb_pagenav {
	margin-top: 25px!important;
}

/* Make search fields height equal */
.ptb_search_textarea input[type="text"], .select2-container-multi .select2-choices {
    min-height: 41px!important;
}


/*******
 * Further customization for WORKSHOP page  *
 * /

/* customize post display */
.main-content-inner .workshop .row {
	margin-left:0;
	margin-right:0;
}
.single-workshop .main-content-inner .ptb_first_row .ptb_col_last {
	padding: 10px;
}
.single-workshop .main-content-inner .ptb_title {
	margin-bottom: -10px;
}
/* Remove header margins */
.single-workshop .main-content-inner .ptb_first_row {
	margin: -45px -50px 0 -50px;
	border: solid 6px #fff6eb;
	border-right-width: 12px;
}
.workshop-licence-bloculus {
	margin: 0 -50px 0 -50px;
    padding-left: 15px;
	border-top: solid 1px lightgray!important;
}
/* For mobile only */
@media only screen and (max-width: 768px){ 
	.single-workshop .main-content-inner .ptb_first_row {
		margin: -20px -25px 0 -25px;
		border-bottom-width: 12px;
		border-right-width: 6px;
	}
	.workshop-licence-bloculus {
		margin: 0 -25px 0 -25px;
    	padding-left: 15px;
	}
} 
.single-workshop .main-content-inner .ptb_first_row .ptb_col_first {
	background:#fff6eb;
}
@media only screen and (max-width: 768px){ 
	.single-workshop .main-content-inner .ptb_first_row .ptb_col_first {
		border-right: none;
	}
}
.single-workshop .main-content-inner .ptb_thumbnail {
	pointer-events: none;
}
.workshop-header-separator {
    border-color: #e5e5e5;
	margin: 20px 0 20px 0!important;
}

.single-workshop hr { 
	margin:50px 0 50px 0;
}

.single-workshop h2 {
	font-size: 20px;
	text-transform: uppercase;
}
.workshop-objective {
	float: left;
	width: 56%;
    margin-right: 4%;
} 
.workshop-material{
	float: left;
	width:40%;
}
/* For mobile only */
@media only screen and (max-width: 800px) { 
	.workshop-objective {
		width:100%;
		margin-right: 0;
	} 
.workshop-material {
		width:100%;
	}
} 
.workshop-material li {
	margin-bottom: 0px;
	font-size: 15px;
}
.workshop-material li a {
	color: gray;
	text-decoration: underline;
}
.workshop-pre-notice h2 {
	text-transform: none;
	text-decoration: underline;
	font-style: italic;
	color: #6B6B6B;
	text-align: center!important;
	margin-bottom:35px;
}
.workshop-preparation h2 {
	text-align: center;
	text-decoration: underline;
	margin-bottom:35px;
}
.workshop-preparation, .workshop-process, .workshop-advantages, .workshop-precautions, .workshop-further {
	margin: 70px 0;
}
.workshop-process {
	position: relative; 
}
.workshop-process h2 {
	text-align: center;
	text-decoration: underline;
}
.workshop-process .ol-bloculus li {
	margin-top:40px;
	padding-right:30px;
	margin-right:12px;
	border-right: solid 2px lightgreen;
}
.workshop-process .ol-bloculus ul {
    margin-left: -10px;
}
.workshop-process .ol-bloculus ul li, .workshop-process .ol-bloculus ol li {
	border-right: none;
	padding-right:0;
}
.workshop-process .ol-bloculus ul li {
	margin-top:15px;
}

/* duration styling (used with [workshop-data] shortcode */
.workshop-duration {
	color: #1bc328;
	background: white;
    position: absolute;
    right: 0;
	padding-bottom: 2px;
    margin-right: -6px;
	max-width:70px;
    top: 0;
	font-weight: 600;
	font-size: 15px;
	transform: translateX(15%);
}

/* Set header font sizes */
.ptb_post .ptb_workshop_people, .ptb_post .ptb_workshop_duration, .ptb_post .ptb_workshop_animation_mode, .ptb_post .ptb_workshop_animation_type {
	font-size:14px;
}

/*******
 * Further customization for WORKSHOP search page  *
 */

/* Set search form margins */
.ptb-search-search_workshop {
  margin: 0 -50px 25px -50px!important;
  padding: 15px 50px!important;
  width: calc(100% + 100px)!important;
  border-bottom: solid 1px lightgray;
}
/* For mobile only */
@media only screen and (max-width: 768px){ 
  .ptb-search-search_workshop {
    margin: -5px -25px 25px -25px!important;
    padding: 15px 25px!important;
	width: calc(100% + 50px)!important;
  }
}

/* Customize animation mode checkboxes */
.ptb_search_workshop_animation_mode .ptb_search_checkbox_wrap label:first-child {
	float: left;
    margin-right: 20px;
}
.ptb_search_workshop_animation_mode .ptb_search_label {
	width:auto!important;
	float:left; 
	margin-right:25px;
}
.ptb_search_workshop_animation_mode {
	margin-top: 5px;
}
/* For mobile only */
@media only screen and (max-width: 800px){ 
	.ptb_search_workshop_animation_mode label:first-child {
   		margin-right: 0;
	}
	.ptb_search_workshop_animation_mode label {
		float: left;
	}
	.ptb_search_workshop_animation_mode .ptb_search_label {
		width: 100%!important;
	}
} 

/* Add article separator (contains correction for v2 in the following selector) */
.ptb-search-container .ptb_loops_wrapper .type-workshop:first-of-type { 
	margin-top:-25px; /* Remove top margin for first result only */
}
.ptb-search-container .type-workshop .ptb_workshop_row {
	margin-top: 25px;
}
.ptb-search-container article.type-workshop {
 	border-top:1px solid lightgray;
}
.ptb-search-container article.type-workshop:first-of-type {
 	border-top:none;
}
.ptb-search-container  .type-workshop .ptb_post_title {
	font-size: 22px;
	margin-bottom:0px;
	margin-top:15px;
}
.ptb_workshop_animation_mode {
	margin-top: 12px;
}
.ptb_workshop_duration {
	margin-bottom:0px;
	margin-right:20px;
	float:left;
}
.ptb-search-container  .workshop .ptb_workshop_category {
	margin-top:-10px;
}
.ptb-search-container  .workshop .ptb_workshop_people, .ptb_post .ptb_workshop_people {
	margin-bottom:-10px;
}
/* Customize thumbnail size and position depending on screen size */
.workshop .ptb_items_wrapper .ptb_thumbnail {
	margin-top:10px;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	max-width:100px;
}
@media only screen and (max-width: 600px){
.ptb-search-container .workshop .ptb_post_title {
	margin-top:0px;
}
}

/* customize font size */
.ptb-search-container .ptb_workshop_people, .ptb-search-container .ptb_workshop_duration, .ptb-search-container .ptb_workshop_animation_mode {
	font-size:14px;
}

/* Customize category list */
.ptb-search-container .ptb_workshop_category ul, .ptb_post .ptb_workshop_category ul {
	padding-left:0px;	
}
.ptb-search-container .ptb_workshop_category li, .ptb_items_wrapper .ptb_workshop_category li {
	list-style-type: none!important;
    font-size: 12px!important;
    background: #e7e7e7!important;
    border-radius: 20px!important;
    padding: 2px 10px 2px 10px!important;
    margin: 0 5px 5px 0!important;
    text-align: center!important;
    float: left!important;
}

