/*
 Theme Name:   JoVE
 Theme URI:    https://www.jove.com
 Author:       The JoVE Team 
 Author URI:   https://www.jove.com
 Version:      1
 Text Domain:  JoVE
 License: GPL-2.0
 License URI: http://www.opensource.org/licenses/gpl-license.php
*/
#mast-head.is-home-page {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

/******* EDUCATION LANDER *****/
body.education-lander{
    background-color:#000000;
}
body.education-lander h1, body.education-lander label.wp-block-search__label{
    display:none;
}
body.education-lander input[type="search"]{
    color: rgba(255, 255, 255);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.36px;
    line-height: 24px;
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.41);
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 1 1 auto;
}

body.education-lander input[type="search"]::placeholder {
	color: rgba(255,255,255,0.65);
}

body.education-lander button.wp-block-search__button{
    height: 50px;
    width: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    background-color: #0091FF;
    color: #ffffff;
    margin: 0 20px;
    flex: 0 1 auto;
    background-image:url('https://cloudfront.jove.com/img/search-regular-white.svg');
    background-size:20px;
    background-repeat:no-repeat;
    background-position:center center;
}

#seplayer .fp-color{
	background-color: #44D7B6!important
}
/***** Author Popup Styles ****/
.author-trigger{
	cursor:pointer;
}
.author-popup {
    position: absolute !important;
	display:none !important;
	width:500px !important;
}
.author-popup.show{
	display:flex !important;
	z-index: 5 !important;
}
.author-popup span, .author-popup sup {
	color:#FFF !important;
	font-weight:400;
}

.author-popup span.j-article-author, .author-popup span.j-article-inst{
	font-weight:500;
}

/*********************************/
p.jove_content {
    font-size: 16px;
    line-height: 40px;
    margin: 1em 0;
	color: #000;
	font-weight:normal;
}
#materials table{
    font-size: 9.6px;
    margin-top: 1.5em;
    width: 100%;
	border:none;
}
#materials table tbody tr td {
    text-align: left;
    line-height: 1.3;
    padding: 5px 3px;
    min-width: 81px;
    word-break: normal;
}
#materials table tbody tr:nth-child(even) {
    background: #F5F5F5;
}

#wechat-modal{
	margin-top:15vh;
	text-align:center;
}
#wechat-modal .modal-content{
	width:350px;
	text-align:center;0
	height:350px;
}
#wechat-modal .modal-body{
	padding:0;
	margin-top:-25px;
}
#wechat-modal .modal-header{
	border-bottom:none;
	padding:0;
	z-index:2
}
#wechat-modal button.close {
    margin-left: auto;
    background-color: transparent;
    font-size: 33px;
    padding: 0 10px;
}

.modal.show{
	display:flex!important;
	justify-content:center;
}

.related-img {
    position: relative;
    max-height: 120px!important;
    overflow: hidden!important;
}
.related-img::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(https://cloudfront.jove.com/img/home-play-circle-button-lightblue.svg);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center center;
}
.accordion-item {
    display: block;
    text-decoration: none;
    line-height: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.19px;
    color: #737373;
    cursor: pointer;
}
.accordion-item.active, .accordion-item.active span {
    color: #4193F4 !important;
    font-weight: 600 !important;
}

.core-chapter-free-tag a[role="button"] {
	position: relative;
    display: inline-block;
    color: white;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: -0.15px;
    line-height: 21px;
    border-radius: 12.5px !important;
    background-color: rgba(247, 181, 0, 0.68);
    padding: 3px 10px!important;
    cursor: pointer;
}
.core-chapter-free-tag a[role="button"] .elementor-button-icon{
	font-weight:normal!important;
	font-size:1em;
}

.elementor-693.e-loop-item *, .elementor-893.e-loop-item *, .article-container .e-con-inner{
	position:relative;
	z-index:1;
}
body:not(.rtl) .elementor-693 .elementor-element.elementor-element-04bfda2{
	top:5px;
	left:75% !important;
}

body #theme-main {
	margin-top: 50px;
}

.inactive-eoe-tab a{
	color:#FFF!important;
	background-color:#2E2D2D!important;
}
/* LAB MANUAL STYLES START */
.lab-header h4{
	position:relative;
	width:100%;
}
.lab-header h4::after{
	content:'';
	position:absolute;
    background: url(https://cloudfront.jove.com/img/arrow-down.svg) no-repeat center center / 12px;
    width: 15px;
    height: 100%;
    border: none;
    display: block;
    padding: 0;
    cursor: pointer;
    transform: rotate(180deg);
    transition-duration: 0.2s;
    transition-property: transform;
	top:0;
	right:10px
}

.lab-header.collapsed h4::after{
	transform: rotate(0deg);
}

.lab-header {
    cursor: pointer;
    user-select: none;
}

.lab-header-t:not(.active-lab-content) {
  display: none;
}

#transcript-content{
	display:none;
}
.lab-manual-chapters-list ul li{
	width:100%;
}
.lab-section p{
	font-size: 17px;
    line-height: 27px;
    font-family: "Poppins";
    font-weight: 400;
	color:#3d3d3d;
}
.lab-section h4 {
    font-size: 17px;
    line-height: 27px;
    font-weight: 700;
    font-family: "Poppins";
	color:#000000;
}
.lab-section h4 strong{
	font-weight:600;
	font-size: 17px;
    line-height: 27px;
    font-family: "Poppins";
	color:#000000;
	margin: 1em 0;
	display:inline-block;
}
.lab-items {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 1.5em;
    margin-right: 0;
    padding: 0;
    list-style-type: none;
}
.lab-items li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 9px;
    padding-bottom: 9px;
    padding-left: 10px;
    padding-right: 10px;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 17px;
    color: #000;
    text-align: left;
    line-height: 27px;
}
.lab-items li:nth-of-type(odd) {
    background: rgba(236, 236, 236, .67);
}
.lab-items li .ingredient{
	padding-left: 30px;
    flex: 0 65%;
    max-width: 65%;
}

.lab-items li .ingredient-amount {
    flex: 0 35%;
    max-width: 35%;
}
.note-items {
    margin-top: 3em;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}
.note-items {
    margin-top: 2em;
}
.note-items > li {
    padding-top: 20px;
    position: relative;
    padding-right: 20px;
	font-family: "Poppins";
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    color: #000;
    text-align: left;
    list-style-position: inside;
    padding-left: 20px;
}
.note-items > li{
	border-top:1px solid #979797;
}
.note-items li p {
    margin-top: 1em;
}

.note-items .lab-items .lab-step{
	position:relative !important;
}
.note-items .lab-items .lab-step:before {
    position: absolute;
    display: block;
    margin-left: -30px;
    top: 0;
    left: 0;
    counter-increment: item-reset;
    content: counter(item-reset) ". ";
}
.note-items .lab-items{
	counter-reset:item-reset;
	padding-left:8%;
}

.note-items .lab-items li:nth-of-type(odd){
	background-color:#FFF;
}

.lab-section .expand {
    font-size: 0;
	background: url(../img/arrow-down.svg) no-repeat center center / 12px;    
	width: 12px;
    height: 12px;
    border: none;
    margin-left: 25px;
    display: block;
    padding: 0;
    cursor: pointer;
    transform: rotate(180deg);
    transition-duration: 0.2s;
    transition-property: transform;
}
li[data-parent-collapse]{
	position:relative;
}
.note-items .expand {
    position: absolute;
    top: 22px;
    right: 10px;
    background: none;
    width: 17px;
    height: 17px;
	color:transparent;
}
.note-items .expand:before {
    content: "";
    position: absolute;
    transform: translateY(-50%);
    width: 17px;
    background: #1562d2;
    height: 2.5px;
    top: 6px;
    right: 0;
}

.lab-section .expand.active {
    transform: rotate(0deg);
}
.note-items .expand.active:before{
	top:8px;
}
.note-items .expand.active:after {
    content: "";
    top: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5px;
    background: #1562d2;
    height: 17px;
}

.lab-manual-chapters-list ul li:hover{
	background-color:rgba(21, 98, 210, .34);
}

.lab-manual-chapters-list a{
	display: block;
    padding-left: calc(7% + 15px);
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 4%;
    width: 100%;
    font-family: "Poppins";
    font-weight: 400;
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    letter-spacing: 0;
    text-align: left;
    line-height: 21px;
}

#transcript-content{
	margin-top:1.2em;
}

#transcript-content p{
	font-family: 'Roboto' !important;
    font-size: 13px !important;
    line-height: 36px !important;
}
.transcript-link:not(.button) a{
	border:unset!important;
}
#share-popup{
	display:none;
}
#share-popup #qr-code{
	margin:0 110px;
}
.transcript-link:not(.button):before {
    content: "";
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 21px;
    width: 21px;
    height: 21px;
    border: 2px solid white;
    background: url(https://cloudfront.jove.com/img/close-icon-white.svg) no-repeat center center / 9px;
}

.lab-active-tab {
    padding-bottom: 12px;
    background: #124fa9;
    margin-top: -9px;
    z-index: 3;
    box-shadow: 0 -4px 22px 0 rgba(0, 0, 0, 0.29);
}

.lab-active-tab .elementor-widget-container{
	background: #124fa9!important;
}
.lab-active-tab .elementor-widget-container h6{
	color:#FFF !important;
	background: #124fa9!important;
}
ul.lab-items table{
	border:1px solid #000;	
}

ul.lab-items td {
    min-width: 20px;
	border:1px solid #000;
}
#lab-manual-breadcrumbs a{
	color:#FFF!important;
}

.article.type-article .e-con-inner{
	position:relative;
}
/* LAB MANUAL STYLES END*/
#copy-link{
	position:relative;
}
#copy-link.copied:after{
	content:'';
	position:absolute;
	width:100%;
	height:100%;
	border-radius:50%;
	/* add background image for check mark */
	background-image:url("https://cloudfront.jove.com/img/circle-check-sharp-solid.svg");
	background-color:#F6F6F6;
	background-size:cover;
	top:0;
}

.subnav{
	position:sticky !important;
	top:50px;
	z-index:5 !important;
	background-color:#FFF;
}

div.prev-next{
	font-size: 11.5px;
    color: #8B8B8B;
    font-weight: 400;
	margin-bottom:10px;
}
.core-text p{
	font-size: 16px;
    color: #666666;
    line-height: 27px;	
}
.core-text h4{
	font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

#se-sticky-menu{
	position:sticky !important;
	top:50px;
	z-index:5 !important;
	background-color:#000000;
}

/**** TRANSLATIONS MENU **/
.translate-menu-wrap {
    position: relative;
}
h3 a.button.hollow{
	color:#1D1D1D;
	font-size:13px;
	cursor:pointer;
	border: 1px solid #E9E9E9;
	border-radius:20px;
	text-transform:none;
	font-weight:normal;
	padding:5px 9px;
	line-height:10px;
	margin-left:1em;
	background-color:transparent;
	display:inline-flex;
	align-items:center;
	letter-spacing: -0.25px;
}

h3 a.button.hollow i.fa-language{
	padding-right:10px;
	font-size:18px;
	position:relative;
}
h3 a.button.hollow:hover{
	background-color: #efefef;
	border:1px solid #FFF;
	color:#000;
	box-shadow: 0px 0px 0px 0px;

}
h3 a.button.hollow:hover i{
	color:#000;
}
h3 a.button.hollow.create-quiz-btn{
	line-height: 18px;
	padding: 5px 20px;
}
a.button.translate i.fa-chevron-down{
	padding-left:10px;
}
ul#translation_menu{
	position:absolute;
	list-style:none;
	background-color:#FFF;
	box-shadow: 0px 4px 8px 0px rgba(204,204,204,.4);
	margin:0;
	padding:0;
	/*margin-left:110px;*/
	/*margin-top:130px;*/
	width:177px;
	display:none;
	/*may need a max height and scrollbar*/
	max-height: 200px;
    overflow-y: auto;
	border: 1px solid #CCC;
	border-radius:6px;
	z-index:2;
	left: 25px;
    top: 45px;
}
ul#translation_menu li{
	padding:10px;
	margin:0;
	font-weight:normal;
	line-height:16px;
}


#translation_menu a{
	font-size:12px;
	color:#000;
	text-decoration:none;
}
ul#translation_menu li.selected_language a{
	font-weight:600;
	color:#4193F4;
}

/* Chatbot */
@media only screen and (max-width: 766px) {
    #hubspot-messages-iframe-container iframe#hubspot-conversations-iframe {
        bottom: 0 !important;
        right: 0 !important;
    }
    #hubspot-messages-iframe-container {
        z-index: 2147483647 !important;
    }
} 


/* chrome extension */
.chrome-icon {
    padding-left: 25px !important;
    position: relative;
}

.chrome-icon::before {
    position: absolute;
    content: "";
    background-image: url(https://www.jove.com/files/img/chrome.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 18px;
    height: 18px;
    display: block;
    left: 0;
    bottom: 6px;
}