/*
Theme Name:     Neve Child
Template:       neve
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    nevechild
Tags: blog, custom-logo, e-commerce, rtl-language-support, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles, footer-widgets, portfolio, left-sidebar, right-sidebar
*/

#content .has-text-color a[target=_blank]:after {
	content:"\f504";
	font-family: dashicons;
	position: relative;
	top:3px;
	left:2px;
}

#content .has-text-color a {
	text-decoration: none;
	border-bottom: 2px solid var(--nv-primary-accent);
}

#content .alignfull {
	padding: 0 30px;
}

#content .canvas_box {
	position:relative;
	overflow: hidden;
	min-height: calc(100vh - 61px);
}

.pdf-button a:before {
	content:"\f190";
	font-family:dashicons;
	vertical-align: top;
	font-size:160%;
	margin-right:5px;
}

.research-team .former-member {
	opacity:0.6;
}

.research-team {
	white-space: nowrap;
}

.code-button a:before {
	content:"\f499";
	font-family:dashicons;
	vertical-align: top;
	font-size:160%;
	margin-right:5px;
}

.wp-block-social-links .wp-social-link span:not(.screen-reader-text) {
    font-size:20px;
}

.publisher-button a:before {
	content:"\f11f";
	font-family:dashicons;
	vertical-align: top;
	font-size:160%;
	margin-right:5px;
}

.canvas_box h2 {
	line-height:1.5em;
}

#canvas {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0.2;
}

.container .nv-meta-list li, .container .nv-meta-list span {
	display:inline;
}

.yarpp-template-list ol {
	list-style-type: square;
    padding-left:20px;
	color: var(--nv-primary-accent);
	font-size:1.1em;
	margin-top:-20px;
}

mark {
	padding: 3px 5px;
	white-space: pre;
}

.wp-block-cover:not(.is-light) a {
	color:#fff;
}

.footer-bottom {
	display:none;
}

.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-10 {
	opacity:.03;
}

.cover-post {
	box-shadow: none;
}

.container .cover-overlay {
	background:var(--nv-primary-accent);
	opacity:0.97;
}

.dynamic-icons .dashicons {
	width: auto;
	height: auto;
	font-size:50px;
	border: 3px solid #fff;
	border-radius: 100%;
	padding: 30px;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.post-password-form {
	padding-bottom:20px;
}

.research-team.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
	max-width:calc(33% - 2em);
}

.research-team.wp-block-columns  img {
	width: 80%;
}


/* Tooltip */

.tooltip {
    position: relative;
    display: inline-block;
  }
  
.tooltip textarea {
    display:none;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* DS Lifecycle */
.ds-lifecycle {
	position:relative;
	height:0;
	padding-bottom:50%;
    box-sizing: border-box;
    max-width: 1000px;
	background-image:url(./img/cycle_bg_ai.svg);
	background-size:100% 100%;
	background-repeat:no-repeat;
	margin:0;
	left: 50%;
	transform: translatex(-50%);
}

.ds-lifecycle ul {
	list-style: none;
}

@keyframes pulse-black {
	0% {
		/*scale:0.95;*/
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}
	
	50% {
		/*scale:1;*/
		box-shadow: 0 0 0 0.7vw rgba(0, 0, 0, 0);
	}
	
	100% {
		/*scale:0.95;*/
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

.ds-lifecycle li a {
	background:var(--nv-primary-accent);
	color: var(--nv-text-dark-bg);
	text-decoration: none;
    font-weight:bold;
	text-align:center;
	display:block;
	position: absolute;
    max-width: 200px;
	max-height: 100px;
	width:18vw;
	line-height:normal;
	font-size: 1.1em;
	padding: 1.8vw 1vw;
	padding-top: min(15px, 1.8vw);
	padding-bottom: min(15px, 1.8vw);
	animation-name: pulse-black;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	transform-origin: center;
}

.ds-lifecycle .author {
	position:absolute;
	text-align:center;
    max-width: 200px;
    max-height:200px;
    width:20vw;
	height:20vw;
	left:50%;
	top: 50%;
	transform: translateX(-50%) translatey(-50%);
}

.ds-lifecycle .author .img {
	width:100%;
	height:100%;
	display:block;
	border-radius:100%;
	background-size:100% auto;
    background-repeat: no-repeat;
	background-position: center center;
	border: 7px solid var(--nv-secondary-accent);
}

.ds-lifecycle li:nth-child(1) a {
	top:0%;
	left:50%;
	transform:translatex(-50%);
}

.ds-lifecycle li:nth-child(2) a {
	top:25%;
	right:0;
}

.ds-lifecycle li:nth-child(3) a {
	top:55%;
	right:0;
}

.ds-lifecycle li:nth-child(4) a {
	bottom:0;
	right:25%;
}

.ds-lifecycle li:nth-child(5) a {
	bottom:0;
	left:25%;
}

.ds-lifecycle li:nth-child(6) a {
	left:0;
	top:55%;
}

.ds-lifecycle li:nth-child(7) a {
	left:0;
	top:25%;
}

#content .nv-sidebar-wrap {
	padding: 60px 15px;
}

/* Tools Table */

.tools {
    border-radius: 4px;
    overflow: hidden;
}

.tools tr, .tools td, .tools th {
	padding:0px 10px;
	border-bottom:0;
}

.tools tr:nth-child(2n) {
	background:var(--nv-light-bg);
}

.tools .hidden-row {
	display: none;
}

.tools th {
	border-bottom:2px solid var(--nv-primary-accent);
	padding-bottom:15px;
}

.tools th:nth-child(1) {
	width:15%;
}

.tools th:nth-child(2) {
	width:10%;
}

.tools td ul {
	margin: 10px 0;
    padding:0;
	list-style:none;
}

.tools td li {
	margin: 0;
	position:relative;
	padding-left:20px;
	padding-bottom:7px;
}

.tools td li:before {
	content:"\f12a";
	position:absolute;
	vertical-align: middle;
	left:0px;
	color: var(--nv-primary-accent);
	font-family:dashicons;
}

.filter-bar {
	padding-bottom:30px;
    padding-top:5px;
    position:relative;
}

.filter-bar input {
    border-radius: 4px;
	font-size: inherit;
	width: 100%;
	border: 0;
	padding:10px 15px 10px 45px;
	background:var(--nv-light-bg);
}

.filter-bar:before {
    content:"\f179";
    position: absolute;
    left: 10px;
    top: 15px;
    font-size: 1.5em;
    width: 0;
    color:var(--nv-primary-accent);
    overflow: visible;
    display: inline-block;
    z-index: 1;
    font-family:dashicons;
}

/* Tools Table (END) */

/* Mobile */

@media (max-width:782px) {
	.tools table, .tools thead, .tools tbody, .tools th, .tools td, .tools tr { 
		display: block; 
	}

	.tools tr:first-child { 
		display:none;
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.tools tr { padding:10px; border: 1px solid var(--nv-light-bg); }

	.tools td:nth-of-type(1), .tools td:nth-of-type(2) {
		position: relative;
		padding-left: 30%; 
	}

	.tools td:before {
		position: absolute;
		left: 0px;
		font-weight:bold;
		width: 30%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tools td:nth-of-type(1):before { content: "Name"; }
	.tools td:nth-of-type(2):before { content: "Category"; }

	.ds-lifecycle {
		margin: -40px -2% 0;
		left: 56%;
		transform: translatex(-54%);
	}

	.ds-lifecycle li a {
		padding: 3px 5px;
		font-size: 2.5vw;
	}

	.ds-lifecycle .author .img {
		border: 0.6vw solid var(--nv-secondary-accent);
	}

	.research-team.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		max-width:100%;
	}

	#content .nv-sidebar-wrap {
		padding: 0px 15px;
	}
}

@media (max-width:1100px) {
	.wp-block-cover {
		padding: 0 20px;
		min-height: auto;
	}
}