/*
	Theme Name: Rainbow Journal v2
	Theme URI: https://rainbowjournal.com
	Description: Rainbow Journal Divi Child Theme
	Author: Ranil Granada
	Author URI: https://rainbowjournal.com
	
	Version: 1.1.2
	Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
	
	Template: Divi
*/

/*-----------------------------------------------------------------------------------------------------*/
/* DEFAULTS */
/*-----------------------------------------------------------------------------------------------------*/

/*---------------------------------------------*/
/* DEFAULT CSS */
/*---------------------------------------------*/
@import url("../Divi/style.css");

/*---------------------------------------------*/
/* TYPOGRAPHICAL ELEMENTS */
/*---------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;0,900;1,300;1,400&display=swap');

/*---------------------------------------------*/
/* Animation */
/*---------------------------------------------*/
@-webkit-keyframes fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@-moz-keyframes fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@-o-keyframes fade {
  0%   { opacity: 0; }
  50%  { opacity: .5 }
  100% { opacity: 1; }
}
@keyframes fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes menuflip {
 0%{
    transform: rotateX(0deg);
   }
100%{
    transform: rotateX(360deg);
   }
}
/* Scroll */
/*---------------------------------------------*/
.left-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeLeft 1.3s 1 cubic-bezier(0.77,0,.175,1.2); 
	-moz-animation: fadeLeft 1.3s 1 cubic-bezier(0.77,0,.175,1.2); 
	-o-animation: fadeLeft 1s 1 cubic-bezier(0.77,0,.175,1.2); 
	animation: fadeLeft 1s 1 cubic-bezier(0.77,0,.175,1.2);}

.right-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeRight 1.3s 1 cubic-bezier(0.77,0,.175,1.2); 
	-moz-animation: fadeRight 1.3s 1 cubic-bezier(0.77,0,.175,1.2); 
	-o-animation: fadeRight 1s 1 cubic-bezier(0.77,0,.175,1.2); 
	animation: fadeRight 1s 1 cubic-bezier(0.77,0,.175,1.2);}

.top-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeTop 1.3s 1 cubic-bezier(0.77,0,.175,1); 
	-moz-animation: fadeTop 1.3s 1 cubic-bezier(0.77,0,.175,1); 
	-o-animation: fadeTop 1s 1 cubic-bezier(0.77,0,.175,1); 
	animation: fadeTop 1s 1 cubic-bezier(0.77,0,.175,1);}

.bottom-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeBottom 1.3s 1 cubic-bezier(0.77,0,.175,1);
	-moz-animation: fadeBottom 1.3s 1 cubic-bezier(0.77,0,.175,1);
	-o-animation: fadeBottom 1s 1 cubic-bezier(0.77,0,.175,1); 
	animation: fadeBottom 1s 1 cubic-bezier(0.77,0,.175,1);}

.fadein-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeIn 1.3s 1 cubic-bezier(0.77,0,.175,2); 
	-moz-animation: fadeIn 1.3s 1 cubic-bezier(0.77,0,.175,2); 
	-o-animation: fadeIn 1s 1 cubic-bezier(0.77,0,.175,2); 
	animation: fadeIn 1s 1 cubic-bezier(0.77,0,.175,2);}

/* Header */
/*---------------------------------------------*/
body .et-l--header {
  position: absolute !important;
  width: 100% !important;
  z-index: 5 !important;
}
.has_et_pb_sticky .main-header {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}


@-webkit-keyframes AnimationName {
    0%{background-position:88% 0%}
    50%{background-position:13% 100%}
    100%{background-position:88% 0%}
}
@-moz-keyframes AnimationName {
    0%{background-position:88% 0%}
    50%{background-position:13% 100%}
    100%{background-position:88% 0%}
}
@-o-keyframes AnimationName {
    0%{background-position:88% 0%}
    50%{background-position:13% 100%}
    100%{background-position:88% 0%}
}
@keyframes AnimationName { 
    0%{background-position:88% 0%}
    50%{background-position:13% 100%}
    100%{background-position:88% 0%}
}
/*---------------------------------------------*/
a, button, input:focus, input[type="button"], input[type="reset"], input[type="submit"], textarea:focus, 
.button, li, .et_pb_toggle, .et_pb_toggle_title, .et_pb_button, .et_pb_blurb, .et_pb_column, .et_pb_scroll_top.et-pb-icon,
.et_pb_posts.et_pb_module .et_pb_post, .et_pb_posts.et_pb_module .et_pb_post a img, #main-header .responsive-menu-box,
.et-social-icons li a, .custom-archive-container .pagination div, .theiaStickySidebar ul li a, .theiaStickySidebar ul li a:before,
.rainbowjournal-comments #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a,
.rainbowjournal-comments #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post, .post-7640 .rainbowjournal-home .et_pb_blurb,
.post-7640 .rainbowjournal-home .et_pb_blurb a {
	-webkit-transition: all 0.4s ease;
	-moz-transition:    all 0.4s ease;
	-ms-transition:     all 0.4s ease;
	-o-transition:      all 0.4s ease;
	transition:         all 0.4s ease;
}

/*-----------------------------------------------------------------------------------------------------*/
/* STRUCTURE AND LAYOUT */
/*-----------------------------------------------------------------------------------------------------*/
/*---------------------------------------------*/
/* DIVI */
/*---------------------------------------------*/
.et_monarch .et_social_media_wrapper .et_social_media .et_social_icons_container {
	width: 90px !important;
}
.et_monarch .et_social_media_wrapper .et_social_media .et_social_icons_container li {
	background: transparent;
}
.et_monarch .et_social_icon, .et_monarch .et_social_icon:before, .et_monarch .et_social_icon:after {
    font-size: 12px;
}
.et_monarch .et_social_networks li {
	-webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
	min-height: 30px;
    margin: 0 !important;
    opacity: .7;
}
.et_monarch .et_social_networks .et_social_icon, .et_monarch .et_social_networks .et_social_icon:before, .et_monarch .et_social_networks .et_social_icon:after {
    width: 30px;
    height: 30px;
    line-height: 30px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.et_monarch .et_social_mobile_overlay {
    background: transparent;
    width: auto;
}
.et_monarch .et_social_mobile {
	background: transparent;
}
.et_monarch span.et_social_close {
	display: none;
}
.et_monarch .et_social_heading {
	background: rgba(0,0,0,.3);
	font-size: 0;
    width: 51px;
    height: 51px;
    padding: 0;
    right: 0;    
    position: fixed;
    bottom: 0;
    left: 0;
}
.et_monarch .et_social_heading:after {
    content: "\e605";
    font-size: 16px;
    color: #fff;
    right: 18px;
    top: 15px;
}
.et_monarch .et_social_mobile, .et_monarch .et_social_mobile .et_social_networks,
.et_monarch .et_social_networks .et_social_icons_container {
	width: auto;
}
.et_monarch .et_social_mobile .et_social_networks {
	background: transparent;
    padding: 0;
    left: 51px;
    width: auto;
    max-height: 61px !important;
}
.et_monarch .et_social_mobile .et_social_networks ul li {
    display: inline-block;
    float: left;
    width: auto !important;
    margin: 0 !important;
    clear: none !important;
}
.et_monarch .et_social_networks li:nth-child(n+2), .et_monarch .et_social_mobile .et_social_networks li:nth-child(n+2) {
	margin: 0 !important;
}
.et_monarch .et_social_mobile .et_social_networks ul li a {
    width: 51px;
    height: 51px;
    margin: 0;
}
.et_monarch .et_social_mobile .et_social_networks ul li a .et_social_icon {
	width: 51px;
	height: 51px;
}
.et_monarch .et_social_mobile .et_social_networks ul li a .et_social_icon:before,
.et_monarch .et_social_mobile .et_social_networks ul li a .et_social_icon:after {
    width: 51px;
    height: 51px;
    line-height: 51px;
}
.et_monarch .et_social_mobile .et_social_networks ul li a .et_social_network_label {
    display: none;
}
.et_monarch .et_social_networks li:nth-child(2n+1), .et_monarch .et_social_mobile .et_social_networks li:nth-child(2n+1) {
	clear: none !important;
}

/*---------------------------------------------*/
/* DIVI - Custom Class */
/*---------------------------------------------*/


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


/*---------------------------------------------*/
/* NAVIGATION */
/*---------------------------------------------*/


/*---------------------------------------------*/
/* RELATED & COMMENTS */
/*---------------------------------------------*/


/*---------------------------------------------*/
/* FOOTER */
/*---------------------------------------------*/


/*-----------------------------------------------------------------------------------------------------*/
/* PAGE SPECIFIC OVERRIDE */
/*-----------------------------------------------------------------------------------------------------*/
/*---------------------------------------------*/
/* BLOG */
/*---------------------------------------------*/


/*---------------------------------------------*/
/* PORTFOLIO */
/*---------------------------------------------*/


/*-----------------------------------------------------------------------------------------------------*/
/* MEDIA QUERIES */
/*-----------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
	.et_monarch .et_social_sidebar_networks {
		display: block;
	}
	.et_monarch .et_social_mobile, .et_monarch .et_social_mobile_button {
		display: none;
	}
}
@media only screen and (max-width: 980px) {
	.et_monarch .et_social_sidebar_networks {
		display: none;
	}
	.et_monarch .et_social_mobile, .et_monarch .et_social_mobile_button {
		display: block;
	}
}


/*-----------------------------------------------------------------------------------------------------*/
/* VERSION 3 */
/*-----------------------------------------------------------------------------------------------------*/
/*---------------------------------------------*/
/* GENERAL */
/*---------------------------------------------*/
::-webkit-scrollbar {
  	width: 8px;
}
::-webkit-scrollbar-track {
  	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
  	background-color: darkgrey;
  	outline: 1px solid slategrey;
}

/*---------------------------------------------*/
/* PROJECTS - Single */
/*---------------------------------------------*/
.project-title .et_pb_text_inner {
	font-weight: 800;
    text-transform: uppercase;
    font-size: 80px;
    line-height: 1em;
}
.project-category {
	font-size: 12px;
    border-bottom: 1px solid #000;
    margin-bottom: 30px !important;
    display: inline-block;
}
/*---------------------------------------------*/
.project-slider .et_pb_slide {
	padding: 0 !important;
}
.project-slider .et_pb_slides .et_pb_container {
	display: block;
	padding-top: 50px;
}
.project-slider .et_pb_slider_container_inner {
	float: right;
}
.project-slider .et_pb_slide_image {
	position: relative;
	margin-top: 0 !important;
	overflow-y: auto;
	float: right;
	margin-right: 0;
	width: 100%;
	height: 500px !important;
	border: 1px solid #d9d9d9;
}
.project-slider .et_pb_slide_image img {
	max-height: none! important;
}
.project-slider .et_pb_slide_description {
	position: absolute;
	padding: 0;
    top: 25px;
}
.project-slider .et_pb_slide_title {
	text-transform: none;
	text-shadow: none;
	padding: 0;
	margin: 0;
	color: #000 !important;
	font-size: 14px !important;
    font-weight: 300 !important;
}
.project-slider .et-pb-arrow-next, .project .et-pb-arrow-prev {
	top: 1px !important;
	opacity: 1 !important;
	margin-top: 10px;
	font-size: initial;
}
.project-slider .et-pb-arrow-next {
	right: 0 !important;
}
.project-slider .et-pb-arrow-prev {
	right: 50px !important;
	left: auto !important;
}
.project-slider .et-pb-arrow-prev:before, .project .et-pb-arrow-next:before {
	padding: 10px;
	font-size: 22px;
  	background: #000;
  	border: 1px solid #000;
}
.project-slider .et-pb-arrow-prev:hover:before, .project-slider .et-pb-arrow-next:hover:before {
	background: #00f;
	color: #000;
	border: 1px solid #000;
}
.project-slider .et-pb-arrow-next:before {
  	content: "\24";
}
.project-slider .et-pb-arrow-prev:before {
	content: "\23";
}
/*---------------------------------------------*/
.project-contact-button {
	background-color: #000 !important;
	color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    font-size: 14px;
    text-transform: uppercase !important;
}
.project-contact-button:hover {
	color: #000 !important;
	background-color: #00f !important;
}
.project-contact-button:before {
	color: #000 !important;
}
/*---------------------------------------------*/
.project-navigation {
  	width: 100% !important;
}
.project-navigation .nav-previous, .project-navigation .nav-next {
  	width: 100%;
	margin-bottom: 10px;
}
.project-navigation .nav-previous a, .project-navigation .nav-next a {
	border-bottom: 1px solid #000;
	color: #000;
	line-height: 1.3;
	padding-left: 40px;
}
.project-navigation .meta-nav {
	position: absolute;
	left: 0;
	bottom: 3px;
	background: #000;
	color: #fff !important;
	padding: 0 10px 3px 10px;
}
.project-navigation a:hover .meta-nav {
  	background: #00f;
	color: #000 !important;
}
.project-navigation .nav-label {
	padding-bottom: 2px;
}

/*-----------------------------------------------------------------------------------------------------*/
/* RESPONSIVE LAYOUT */
/*-----------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
	.project-title .et_pb_text_inner {
		font-size: 40px;
	}
	/*---------------------------------------------*/
	.project-slider .et_pb_slides .et_pb_container {
		padding-top: 100px;
	}
	.project-slider .et_pb_slide_description {
		top: 50px;
    	text-align: left;
	}
	.single-project .et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description h2.et_pb_slide_title {
		font-weight: 300 !important;
	}
	/*---------------------------------------------*/
}