/* svg */

text {
  font-family:var(--font-family);
}

svg text::selection {
  fill: white;
}

svg .flow-line {
  stroke-width:3px;
  stroke-linejoin:bevel;
  stroke-miterlimit:1.5;
}

p.note {
  font-style: italic;
  color: red;
  font-size: .86rem;
}


#svg_code a:hover, #svg_code.txt-link a:hover {
  fill: var(--orange);
  text-decoration: none;
}

#svg_code.txt-link a {
  fill: var(--blue);
  text-decoration: none;
}



/* News - video */ 

.portfolio-details a.video {
  display: block;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.portfolio-details a img:hover{
    box-shadow: 0 1px 9px gray;
}

.portfolio-details a.video:before {
    content: '';
    position: absolute;
    background: url(/media/icon/video-play.svg) no-repeat;
    height: 60px;
    width: 60px;
    filter: opacity(65%);
    animation: zoom-in-zoom-out 3s ease infinite;
    display: inline-block;
    vertical-align: middle;
    top: 34%;
    left: 46%;
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.2, 1.2);
  }
  100% {
    transform: scale(1, 1);
  }
}


/* Home Video */

.wp-block-cover.home {
  background: url(/wp-content/uploads/video-preview-home.jpg) center center no-repeat;
  background-size: 100%;
}

.wp-block-cover.home video {
  background: transparent;
}