/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

*{
	--primary-color: #e10707;
}
body{
	font-size: 14px;
}

/** scroll bar start**/
/* width */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px #f1f1f1;
	border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: #888; 
	border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #555;
}
/** scroll bar end  **/

/** add theme for member-dashboard **/
a.bongarde-frontpage-posts--link {
    height: 240px;
}
.bongarde-frontpage-squares--content-wrapper {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 10px;
    right: 10px;
    background-position: center center;
    background-blend-mode: luminosity;
    background-repeat: no-repeat;
    background-size: cover;
}
span.bongarde-frontpage-squares--content-wrapper.square__2::before {
    background-color: #e10707;
}
span.bongarde-frontpage-squares--content-wrapper.square__3::before {
	background-color: #637678;
}
span.bongarde-frontpage-squares--content-wrapper.square__4::before {
	background-color: #517185;
}
.bongarde-frontpage-squares--content-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #e10707;
    opacity: 0.75;
    transition: 0.3s all;
    z-index: 3;
}
.bongarde-frontpage-squares--square-text {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 20px;
    z-index: 4;
}
h3.bongarde-frontpage-squares--square-title {
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.25;
    letter-spacing: 0.2px;
    max-width: 85%;
}
h3.bongarde-frontpage-squares--square-title {
    font-size: 24px;
    margin:0px !important;
}

/** all topic page content style **/
.search-page-content{
	width: 100%;
	float: left;
	margin-top: 40px;
}

.category_sidebar {
	width: 33%;
	float: left;
	margin-top: 0;
	margin-left: 0;
	padding: 0 30px 0 0;
	box-sizing: border-box;
	overflow: hidden;
}

.blog-filter-close {
	display: none;
}

.filter-mobile {
	display: none;
}

.blog-filter-btn {
	/* display: block; */
	position: relative;
	cursor: pointer;
	padding: .7em .8em .6em 2.3em;
	cursor: pointer;
	border: 1px solid rgba(225, 7, 7)!important;
	border-width: medium;
	position: relative;
	background-color: #ffffff;
	border-color: #e10707;
	color: #e10707;
	border-radius: 5px!important;
}

.blog-filter-btn-icon {
    position: absolute;
    left: 8px;
    top: 10px;
    width: 17px;
}
.blog-filter-close-btn {
	background: white;
	border: 0px;
	color: #222222;
	font-size: 20px;
	cursor: pointer;
	outline: 0px;
}

.sidebar_content {
	width: 65%;
	padding: 0;
	float: left;
	padding-right: 0px;
	padding-top: 0;
	overflow: hidden;
}

.favorites_content{
	width: 65%;
	padding: 0;
	padding-right: 0px;
	padding-top: 80px;
	overflow: hidden;
	margin:auto;
}


@media only screen and (max-width: 767px){
	.category_sidebar {
		width: 300px !important;
		padding: 50px 20px 0px 20px !important;
		position: fixed;
		left: -300px;
		background: white;
		border-right: 1px solid #bf1e2e;
		z-index: 90000;
		top: 0px;
		overflow-y: scroll !important;
		overflow-x: hidden !important;
		height: 100vh;
		max-width: 100vh;
		transition: opacity .3s ease,transform 1s ease,-webkit-transform 1s ease;
	}
	
	.blog-filter-close {
		display: block;
		position: absolute;
		top: 60px;
		right: 10px;
	}
	
	.filter-mobile {
		display: block;
		/* position: fixed; */
		position: relative;
		background: white;
		z-index: 5;
		padding: 25px 0px 50px;
	}
	.selected_tag {
		display: none;
	}
	
	.sidebar_content {
		width: 100%;
		margin-top: 0;
		padding-bottom: 0;
		float: none;
		border: 0 !important;
	}
	
	.favorites_content {
		width: 100%;
		margin-top: 0;
		padding-bottom: 0;
		float: none;
		border: 0 !important;
	}
	
	.filter-collapse-out {
		-webkit-transform: translate3d(300px,0,0);
		transform: translate3d(300px, 0, 0);
	}
}



.CatSearchForm legend {
	display: block;
	border-style: none;
	border-color: initial;
	border-image: initial;
}
legend.border_bottom {
	border-bottom: 2px solid var(--primary-color) !important;
	margin-top: 10px;
}

.categoryCheckbox {
	height: 150px;
	clear: both;
	overflow: auto;
}

.course_category, .categoryCheckbox {
	margin-top: 10px;
}

.facetwp-selection-label {
	display: none;
}
.facetwp-selection-value {
	padding: 14px 30px 14px 20px !important;
	background-color: #f2f2f2;
	border-radius: 32px;
	background-position: calc(100% - 10px) center !important;
	background-image: url(../../../wp-content/uploads/2021/01/icon-close.png) !important;
	color: var(--primary-color) !important;
}

.facetwp-checkbox.checked {
	background-image: url(../../../wp-content/uploads/2021/01/red-check-box-with-white-check.png) !important;
}

body.search-results .hentry {
	float: left;
	width: 100%;
	/** padding-top: 40px; **/
	margin-bottom: 0px;
}

.post_content_wrapper {
	padding: 0;
	margin: 0;
}

.post_header.search {
	width: 100%;
	margin-bottom: 0;
	text-align: left;
}


.post_content_wrapper .post_img:not(.small) {
	margin-bottom: 20px;
}
.post_img.one_third {
	margin-top: 0;
}

.post_img {
	position: relative;
	height: auto;
	text-align: center;
	overflow: hidden;
	float: left;
	line-height: 0;
	max-width: 100%;
	margin: 0;
	background: #f9f9f9;
}

.post_img.static.one_third {
	height: auto;
}

.one_third {
	width: 31.29%;
	float: left;
	margin-right: 3%;
	margin-bottom: 3%;
	position: relative;
	box-sizing: border-box;
}

.one_third.last {
	margin-right: 0 !important;
	float: right;
	width: 31.29%;
}
.search.post_header h4 {
	margin: 5px 0px;
	font-size: 22px;
	/** font-family: Lato;**/
	font-weight: 400;
	color: var(--primary-color) !important;
	
}

.two_third.last {
	margin-right: 0;
	float: right;
	clear: right;
}

.two_third {
	float: left;
	width: 65.33%;
	margin-right: 3%;
	box-sizing: border-box;
}

@media only screen and (max-width: 767px){
	.two_third, .two_third.last {
		width: 100%;
		margin-bottom: 3%;
	}
}

.post_detail.post_date{
	display:none;
}

.search.post_header p {
	padding-bottom: 0.5em;
	margin: 0px;
}

.selected_tag{
	margin-top:70px;
}

@media screen and (min-width: 979px){
	.search.post_header img {
		height: 191px !important;
		max-height: 191px;
		object-fit: cover;
		width: 100%;
	}
}

@media only screen and (max-width: 767px){
	 .sidebar_content img {
		max-width: 100%;
		height: auto;
	}
	
	.post_header.search .post_img.one_third, .post_header.search .post_header_title.two_third.last {
		width: 100%;
	}
}

.simplefavorite-button {
	padding: 0px 6px 0px 23px;
	cursor: pointer;
	border: 1px solid rgba(225, 7, 7)!important;
	border-width: medium;
	position: relative;
}
.simplefavorite-button {
	border-radius: 5px!important;
}
.sf-icon-favorite:before {
	content: url(assets/image/staricon/star_inline.png);
	position: absolute;
	left: 6px;
	top: -3px;
}

.active .sf-icon-favorite:before {
	content: url(assets/image/staricon/star_fill.png);
}

/** start custom style for my-safety-page **/
.sidebar_content.full_width{
	width: 100% !important;
}

.sidebar_content .page_content{
	margin: auto;
}

.safety-header {
	padding: 20px 0px;
	margin-bottom: 20px;
	border-bottom: 2px solid #f2f2f2;
	display: flex;
	justify-content: flex-end;
}
.safety-btn {
	padding: 15px;
	background: var(--primary-color);
	color: white !important;
	border: 0px;
	font-size: 24px;
	cursor: pointer;
}

.selection-type-header {
	padding: 5px;
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
}

.media-center {
	align-items: center;
	width: 100%;
	text-align: center;
}

input[type=submit]{
	background-color: var(--primary-color);
	color: #ffffff;
	border-color: var(--primary-color);
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	padding: 8px 20px 8px 20px;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 900;
	box-shadow: 0 0 0 0 !important;
	line-height: 1.5 !important;
	/*letter-spacing: 2px;*/
	border-radius: 0;
	transition: color .2s linear, background .1s linear, opacity .2s linear;
	border-style: none;
}
hr {
	height: 1px;
	border: 0;
	border-top: 1px solid #ebebeb;
	background: transparent;
	margin: auto;
	width: 100%;
	clear: both;
}

hr.post_divider {
	margin-top: 10px;
}

.delete-safety {
	float: right;
	cursor: pointer;
	color: var(--primary-color);
}

/**  single-post custom style **/
.inner{
	width: 100%;
}
.sf-icon-print:before {
	content: url(assets/image/staricon/post_print_icon.png);
	position: absolute;
	left: 6px;
	top: -2px;
	
}

.sf-icon-email:before {
	content: url(assets/image/staricon/post_email_share_icon.png);
	position: absolute;
	left: 6px;
	top: -3px;
}

body.single .post_header {
	margin-bottom: 20px;
}

.new_trending_section{
	margin-top: 20px;
}

.new-trend-title{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	line-height: 27px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 12px;
	font-family: Montserrat;
	color: black;
}
.new-trend-item{
	width: 30%;
	margin-top: 25px;
}

.also-like-item{
	width: 30%;
	margin-top: 25px;
}

.new-trend-post-section{
	display: flex;
	justify-content: space-between;
}
.new_trend_section .post_wrapper{
	display: block;
}
.new-trend-post-section .post_wrapper1{
	display: none;
}
.post_related_section{
	display:flex;
	justify-content: space-between;
		
}
@media only screen and (min-width: 960px){
	.left_sidebar_content {
		width: 70% !important;
		float: left !important;
	}
	.new_trending_section {
		padding-left: 100px;
		width: 30%;
		float: left;
		box-sizing: border-box;
	}
	
	.new-trend-post-section{
		flex-direction: column;
		float: right;
	}
	.new_trending_section .post_wrapper{
		display: none;
	}
	.new-trend-post-section .post_wrapper1{
		display: block;
	}
	.new-trend-item{
		width: 285px;
		margin-top: 25px;
	}
	.new-trend-thumbnail-img{
		height: 190px;
	}

	.also-like-item{
		width: 285px;
		margin-top: 25px;
		margin-right: 25px;
	}
	.post_related_section{
		display:flex;
		justify-content: flex-start;
	}
}

@media only screen and (max-width: 960px){
	.post_related{
		justify-content: space-evenly;
	}
}
@media only screen and (min-width: 768px) and (max-width: 960px){
	.single .inner .sidebar_content	{
		width: 100%;
	}
}


/************collapse for single post ********************/
.faq-container {
  /*max-width: 600px;*/
	width:100%;
  margin: 0 auto;
}

.faq {
  background-color: transparent;
  border: 1px solid #9fa4a8;
  /** border-radius: 10px;
  margin: 20px 0;
  padding: 30px; **/
  position: relative;
  overflow: hidden;
  transition: 0.3 ease;
}

.faq.active {
  background-color: #fff;
  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1); */
}

/*.faq.active::before,
.faq.active::after {
  content: "\f075";
  font-family: "Font Awesome 5 Free";
  color: #2ecc71;
  font-size: 7rem;
  position: absolute;
  opacity: 0.2;
  top: 20px;
  left: 20px;
  z-index: 0;
}

.faq.active::before {
  color: #3498db;
  top: -10px;
  left: -30px;
  transform: rotateY(180deg);
}*/

.faq-title {
  /*margin: 0 35px 0 0; */
	width: 100%;
	display: flex;
	background: var(--primary-color);
	
}

.faq-text {
  display: none;
  /** margin: 30px 0 0; **/
	margin: 10px 10px 10px 10px;
}

.faq.active .faq-text {
  display: block;
}

.faq-toggle {
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  position: absolute;
  top: 14px;
  right: 30px;
  height: 30px;
  width: 30px;
}


.faq-toggle:focus {
  outline: 0;
}

.faq-toggle .fa-chevron-up {
  display: none;
}

.faq.active .faq-toggle .fa-chevron-up {
  display: block;
}
.fa-chevron-up, .fa-chevron-down{
	color: white;
}
.faq.active .faq-toggle .fa-chevron-down {
  display: none;
}

.faq.active .faq-toggle {
	/* background-color: white; */
}
.faq-title .faq-img{
	background: black;
	display: flex;
	align-items: center;
	padding: 10px;
}

.faq-title .faq-title-desc{
	font-size: 14px;
	color: white;
	padding: 12px 50px 10px 10px;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	line-height: 33px;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.faq-section{
	display: flex;
}

.faq-section .faq-section-img{
	max-width: 400px;
	height: auto;
}
.faq-section .faq-section-desc{
	padding: 0px 20px;
}

.post-language-option{
	cursor: pointer;
	color: var(--primary-color);
}

.elearnings_left {
	width: 60%;
}

.elearnings_left {
	float: left;
}
.elearnings_right {
	float: right;
}

div:not(.above_top_bar) > a.button_url {
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    background: #ff6b03 !important;
    padding: 12px 1.2em !important;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 20px;
}

/* reduce the padding of content text */
.post-content p {
	margin-top: 0;
	margin-bottom: 5px !important;
}

/** reduce the height of filter **/
.small.categoryCheckbox {
	height: 70px !important;
}

.small.categoryCheckbox .facetwp-facet{
	margin-bottom: 0px !important;
}

/** remove default overflow for sticky on membership paywall page **/
#boxed-wrapper {
	overflow: unset!important;
}

/** category page css **/
.select-view-type img {
    width: 20px !important;
    height: 20px !important;
}
.select-view-type {
    display: inherit;
    padding: 5px;
    opacity: 0.4;
    cursor: pointer;
}
.select-view-type.active {
    opacity: 1.0 !important;
}
.view-type{
    margin-bottom: 20px;
}
.hidden {
    display: none;
}
/*** Topic category page header **/
.corner-ribbon.blue {
    background: #39d;
}
.corner-ribbon.top-right {
    top: 25px;
    right: -50px;
    left: auto;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.corner-ribbon {
    width: 200px;
    background: #e43;
    position: absolute;
    top: 25px;
    left: -50px;
    text-align: center;
    line-height: 32px;
    letter-spacing: 1px;
    color: #f0f0f0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

/*******************  jurisdiction buttons *************/
.category-section .category-btn-group{
    display:flex;
}
.btn-item{
    position: relative;
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    padding: 8px 20px 8px 20px;
    text-transform: uppercase;
    font-size: 15px;
    box-shadow: 0 0 0 0 !important;
    line-height: 1.5 !important;
    /* letter-spacing: 2px; */
    border-radius: 0;
    transition: color .2s linear, background .1s linear, opacity .2s linear;
    border-style: none;
    width: 200px;
    margin: 1px;
}
.btn-item .down-icon{
    position: absolute;
    right: 10px;
    top: 24px;
}
.content-item .category-content {
    padding: 15px 20px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
}
.content-item .category-content .description {
    color: white;
}
.content-item .category-content a {
    color: white;
}
.content-item .category-content.mirlink .mir_btn {
    margin: auto;
    color: white;
    text-align: center;
}

.fade-in {
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
}


@keyframes fadeIn{
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}
/** remove category and tag ***/
label[for="question-category"] {
    display: none;
}
select#question-category {
    display:none;
}
label[for="question-tag"] {
    display: none;
}
input[name="question-tag"] {
    display:none;
}

/**** update image size ************/
.flexslider .slides img{
    height: 353px;
    min-height: 353px;
    object-fit: cover;
}
.case-featured .post_img img{
    height: 353px;
    min-height: 353px;
    object-fit: cover;
}

/********Gravity Forms****************/
.gsurvey-rating > * {
	margin-left: 0.5em;
	margin-right: 0.5em;
}

/** DWQA (Ask the Expert) **/
.dwqa-question-meta > span > a {    display: none; }
.dwqa-question-meta > span > span.dwqa-label.dwqa-staff {display: none;}