

@font-face {
  font-family: heading;
  src: url(../fonts/Montserrat-Regular.ttf);
}


/*
_____________________________________________________

            PORTFOLIO BACKGROUNDS
_____________________________________________________

*/

.portfolio-intro {
  width: 100%;
  /*height: 100vh;*/
  text-align: left;
}

.portfolio-aimvisia {
 background-color: #2e282d;
}


.portfolio-apsm {
  background-image: url(../images/portfolio/apsm/apsm-bg.png);
  background-attachment: fixed;
  /*background-position: 100% 30%;*/
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-petitp {
  background-image: url(../images/portfolio/petitp/pp-bg.png);
  background-attachment: fixed;
  /*background-position: 100% 30%;*/
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-mearbeck {
  background-color: #000000;
}

.portfolio-armour {
  background-image: url(../images/portfolio/armour/a-bg.png);
  background-attachment: fixed;
  /*background-position: 100% 30%;*/
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-gp {
  background-image: url(../images/portfolio/gemspm/gp-bg.png);
  background-attachment: fixed;
  /*background-position: 100% 30%;*/
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-eq {
  background-image: url(../images/portfolio/equatemobile/eq-bg.png);
  background-attachment: fixed;
  /*background-position: 100% 30%;*/
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-georgeson {
  background-image: url(../images/portfolio/georgeson/g-bg.png);
  background-attachment: fixed;
  /*background-position: 100% 30%;*/
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-cs {
  background-image: url(../images/portfolio/cs/cp-bg.png);
  background-attachment: fixed;
  /*background-position: 100% 30%;*/
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-intersection-tv {
  background-image: url(../images/portfolio/intersection/bg-4.jpg);
  background-attachment: fixed;
  /*background-position: 100% 30%;*/
  background-size: cover;
  background-repeat: no-repeat;
}


.portfolio-nebra {
  background-image: url(../images/portfolio/nebra/nb-bg.png);
    background-position: 0% 0%;
    background-repeat: no-repeat;
    background-size: 135%;
    background-attachment: fixed;
  /*background-size: cover;*/
}

.portfolio-5s {
  background-image: url(../images/portfolio/5star-recycling/5s-intro.png);
    background-position: 50% 50%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.portfolio-i {
  background-image: url(../images/portfolio/-intersection/i-intro.png);
    background-position: 20% 80%;
     background-size: 100%;
    background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-wdtlht {
  background-color: #e72e58;
}

.portfolio-lnpc {
  background-image: url(../images/portfolio/lnpc/lnpc-bg.png);
    background-position: 50% 50%;
    background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-jl {
  background-image: url(../images/portfolio/jelaco/jl-intro.png);
    background-position: 70% 50%;
    background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-lcme {
  background-image: url(../images/portfolio/lcme/lcme-bg.png);
    background-position: 30% 80%;
    background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-dcf {
  background-image: url(../images/portfolio/dcf/ute-bg.png);
    background-position: 30% 80%;
      background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-fvannini {
  background-image: url(../images/portfolio/fvannini/fv-bg.png);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-justboom {
  background-image: url(../images/portfolio/justboom/jb-bg.png);
}

.portfolio-pulse {
  background-image: url(../images/portfolio/pulse/pulse-bg.png);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-pijuice {
  background-image: url(../images/portfolio/pijuice/pj-bg.png);
}

.portfolio-retro-moto {
  background-image: url(../images/portfolio/retromoto/rm-bg.png);
}

.portfolio-namaste-india {
  background-image: url(../images/portfolio/namaste-india/ni-bg.png);
}

.portfolio-pisupply {
  background-image: url(../images/portfolio/pisupply/ps-bg.png);
}

.portfolio-dp {
  background-image: url(../images/portfolio/detroit-pistons/dp-bg.png);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-qd {
  background-image: url(../images/portfolio/quanntum-dynamics/qd-bg.png);
  background-position: 30% 80%;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-rt {
  background-image: url(../images/portfolio/rt-education/rt-bg.png);
}

.portfolio-gfg {
  background-image: url(../images/portfolio/gfg/gfg-bg.png);
  background-position: 30% 80%;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}




/*
_____________________________________________________

            PORTFOLIO PAGES  
_____________________________________________________

*/

.portfolio-text {
  text-align: left;
  padding-right: 90px!important;
  padding-left: 120px;
}

.port-txt-av {
  text-align: right;
  padding-left: 120px;
}

.portfolio-text-right {
  text-align: left;
  padding-right: 120px!important;
  padding-left: 50px;
}

.portfolio-banner {
  width: 50%;
  height: 100vh;
  background: #2e282d;
  float: left;
  color: white;
}

.portfolio-banner-wide-free {
  width: 100%;
  background: #2e282d;
  float: left;
  color: white;
}

.portfolio-banner-white {
  width: 50%;
  height: 100vh;
  float: left;
}

.portfolio-banner-free {
  width: 50%;
  background: #2e282d;
  float: left;
  color: white;
}

.portfolio-banner-white-free {
  width: 50%;
  float: left;
}

.column-pn {
    -webkit-flex: 25%; 
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 50%;
    border: solid 8px #ffffff;
}

.column-pn-full {
    -webkit-flex: 100%; 
    -ms-flex: 100%; /* IE10 */
    flex: 100%;
    max-width: 100%;
}

.column-pn:hover {

}

/*.next-prev:hover img{
  opacity: 0.5;
}*/



/* ____ TABS section */

  .tabs {
    width: 100%;
  }

    .tabs input {
      opacity: 0;
      margin: 0!important;
    }

    .tabs label {
      cursor: pointer;
      max-width: 150px;
      height: 150px;
      background: #cfcecf;
      padding: 4% 3%;
      float: left;
      margin-right: 5px;
      border-radius: 15px 15px 0px 0px;
    }

      .tabs label:hover {
        background: #ffc700;
        color: #ffffff;
        transition: background-color .4s;
      }

      .tabs input:checked + label {
        background: #2e282d;
        color: #ffffff
      }

    .tabs input:nth-of-type(1):checked ~ .panels .panel:first-child,
    .tabs input:nth-of-type(2):checked ~ .panels .panel:nth-child(2),
    .tabs input:nth-of-type(3):checked ~ .panels .panel:nth-child(3),
    .tabs input:nth-of-type(4):checked ~ .panels .panel:last-child {
      opacity: 1;
      -webkit-transition: .3s;
    }

    .panels {
      float: left;
      clear: both;
      /*position: relative;*/
      height: auto;
      width: 100%;
      background: #ffffff;
      border-radius: 0 10px 10px 10px;
    }

      .panel {
        width: 100%;
        opacity: 0;
        /*position: absolute;*/
        background: #2e282d;
        box-sizing: border-box;
        height: 100%;
        display: none;
      }

      .panel.active-tab {
            display:block;
        }




/*
_____________________________________________________

            PORTFOLIO AV DIGITAL
_____________________________________________________

*/

.letter-space {
  letter-spacing: 5px;
}

.portfolio-intro-av {
  width: 100%;
    /*min-height: 100vh;*/
    text-align: left;
}

.portfolio-av-digital {
  background-image: url(../images/portfolio/av-digital/av-bg-1.jpg);
  background-attachment: fixed;
  /*background-position: 100% 100%;*/
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
}

.portfolio-av-p {
  background-image: url(../images/portfolio/photo/DSC07430.jpg);
  background-attachment: fixed;
  /*background-position: 100% 100%;*/
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
}

.av-nav {
 width: 100%;
 padding: 20px 0;
 top: 0;
 left: 0;
 text-align: center;
 z-index: 99;
 /*position: fixed;*/
 background-color: #0d020d;
}

.av-p-nav {
 width: 100%;
 padding: 20px 0;
 top: 0;
 left: 0;
 text-align: center;
 z-index: 99;
 /*position: fixed;*/
 /*background-color: #2e282d;*/
}

.av-nav .portfolio-nav a {
  padding: 20px;
  font-size: 12px;
}

.av-p-nav .portfolio-nav a {
  padding: 20px;
  font-size: 12px;
  color: #2e282d;
}

.av-p-nav .portfolio-nav a:hover {
  color: #00ddb5;
}

.av-nav .portfolio-nav .sep, .sep:hover {
  color: #ff0060;
  transition: color .4s;
}

.av-p-nav .portfolio-nav .sep-p, .sep-p:hover {
  color: #00ddb5;
  transition: color .4s;
}

.av-footer {
  background-color: #0d020d;
  padding-bottom: 13px;
}

.light-hr {
  margin: 0;
  height: 12px;
    border: 0;
    box-shadow: inset 0 12px 12px -12px rgba(0, 0, 0, 0.3);
}

.strong-hr {
  margin: 0;
  height: 12px;
    border: 0;
    box-shadow: inset 0 12px 12px -12px rgba(0, 0, 0, 0.8);
}

.footer-hr:after {  /* Not really supposed to work, but does */
    content: "\00a0";  /* Prevent margin collapse */
}

.link-av {
  color: #f3f3f3;
  text-decoration: underline;
}

.av-table-link {
  color: #0d020d;
  text-decoration: underline;
}

.av-table-link:hover, .av-table-link:hover p {
  color: #ff0060;
  transition: color .4s;
  text-decoration: none;
}

.link-av:hover, .pink-link:hover, .turqouise-link:hover {
  color: #ffc700;
  transition: color .4s;
  text-decoration: none;
}

.social-av img {
  float: left;
  width: 25px;
  fill: black;
}

.heading-border-pink {
    margin: auto;
    float: left;
    width: 50px;
    background-color: #ff0060;
    height: 8px;
    border: none;
}

.heading-border-turqouise {
    margin: auto;
    float: left;
    width: 50px;
    background-color: #00ddb5;
    height: 8px;
    border: none;
}

.heading-border-white {
    margin: auto;
    float: left;
    width: 50px;
    background-color: #ffffff;
    height: 8px;
    border: none;
}

.heading-border-black {
    margin: auto;
    float: left;
    width: 50px;
    background-color: #0d020d;
    height: 8px;
    border: none;
}

.pink-text, .pink-link {
  color: #ff0060;
}

.turqouise-text, .turqouise-link {
  color: #00ddb5;
}

.white-text-off {
  color: #f3f3f3;
}

.stills img, .stills-p img {
  width: 95%;
}


.stills img:hover {
  /*transform: scale(1.03);*/
  /*animation-delay: transform 0.8s ease-in-out;*/
  opacity: 0.9;
  filter: sepia(100%) saturate(280%) brightness(70%) hue-rotate(290deg);
  cursor: pointer;
}

.stills-p img:hover {
  /*transform: scale(1.03);*/
  /*animation-delay: transform 0.8s ease-in-out;*/
  opacity: 0.9;
  filter: sepia(100%) saturate(200%) brightness(80%) hue-rotate(113deg);
  cursor: pointer;
}

.two-column-section-contact-av {
  /*background-color: #0d020d;*/
  background-image: url(../images/portfolio/av-digital/av-bg.png);
  background-attachment: fixed;
  background-position: 30% 40%;
  background-size: cover;
  background-repeat: no-repeat;
    /*min-height: 100vh;*/
}

.two-column-section-contact-p {
  /*background-color: #0d020d;*/
  background-image: url(../images/portfolio/photo/av-bg.png);
  background-attachment: fixed;
  background-position: 30% 40%;
  background-size: cover;
  background-repeat: no-repeat;
    /*min-height: 100vh;*/
}

.form-av form {
  width: 600px;
  /*background-color: #0d020d;*/
  background-color: transparent;
}

.button-av {
  border: 1px solid #ff0060; 
  background-color: transparent;
}

.button-av:hover {
  border: 1px solid #ffc700; 
  background-color: #ffc700;
  color: #0d020d;
  transition: background-color .4s;
}

.button-av-p {
  border: 1px solid #00ddb5; 
  background-color: transparent;
}

.button-av-p:hover {
  border: 1px solid #ffc700; 
  background-color: #ffc700;
  color: #0d020d;
  transition: background-color .4s;
}


#button-top-av, #button-top-av-p {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 40px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: none;
  opacity: 0.5;
  color: white;
  cursor: pointer;
  padding: 0px; 
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}

#button-top-av:hover, #button-top-av-p:hover {
  opacity: 1;
  /*background-color: #ffc700;*/
  animation: 4s ease-in-out 0s forwards up-go infinite;
}

.showreel-cont {
    width: 100%;
    position: relative;
}

.showreel-vid {
  width: 100%;
}

.playpause {
    background-image: url('../images/arrow-right.svg');
    background-repeat: no-repeat;
    width: 100px;
    position: absolute;
    left: 0%;
    right: 0%;
    top: 0%;
    bottom: 0%;
    margin: auto;
    background-size: contain;
    background-position: center;
}

.playpause:hover {
  opacity: 0.8;
  cursor: pointer;
}

video:focus {
    outline: none;
}

.av-cv td {
 width: auto;
 padding: 0 20px;
}

/* titles - 1st tr */
.av-cv tr:nth-child(1), .av-cv tr:nth-child(1) td:nth-child(2) {
  background-color: #ffffff;
  border-top: solid 1px #ff0060;
  border-bottom: solid 1px #ff0060;
}

/* grey background on all */
.av-cv tr, .av-cv tr:nth-child(3) td:nth-child(2), .av-cv tr:nth-child(2) td:nth-child(1) {
  background-color: #f3f3f3;
}

/* removing individual td hovers */
.av-cv td:hover, .av-cv td:hover h3, .av-cv tr:nth-child(2) td:nth-child(1):hover, .av-cv tr:nth-child(3) td:nth-child(2):hover {
     color: #0d020d;
     /*background-color: #ffc700;*/
     background-color: transparent;
     transition: background-color .4s;
}

/* highlight entire tr on hover */
.av-cv tr:hover {
     background-color: #ffc700;
     transition: background-color .4s;
}

/* making sure the nth-childs are also highlighting on hover */
.av-cv tr:nth-child(1):hover td:nth-child(2), .av-cv tr:nth-child(2):hover  td:nth-child(1), .av-cv tr:nth-child(3):hover td:nth-child(2) {
  background-color: #ffc700;
     transition: background-color .4s;
}

/* title tr doesn't highlight on hover */
.av-cv tr:nth-child(1):hover, .av-cv tr:nth-child(1):hover td:nth-child(2) {
  background-color: transparent;
}



.fun-fact {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  background-image: url(../images/portfolio/av-digital/thoughts.jpg);
  /*background-attachment: fixed;*/
  background-position: 50% 50%;
  background-size: 100%;
  background-repeat: no-repeat;
  margin: 70px;
}


.av-view-more {
    width: 110px;
    float: right;
    padding: 0 7% 5% 0;
}

.av-view-text {
    float: left;
    top: 0;
    font-size: 12px;
    color: #0d020d;
    opacity: 0.4;

}

.av-view-more:hover .av-view-text {
  opacity: 1.0;
  transition: opacity .4s;
}

.av-view-button {
    padding: 7px 9% 7% 0;
    width: 25px!important;
    float: right;
    bottom: 0!important;
}

.av-view-more:hover .av-view-button {
   animation: 6s ease-in-out 0s forwards go-further alternate;
}

.pulsing {
  position: absolute; 
  bottom: 55%;
  right: 20%; 
  z-index: 300;
  width: 15%;
  cursor: help;
}

.pulsing-main {
  position: absolute; 
  bottom: 21%;
  right: 19%; 
  z-index: 300;
  width: 15%;
  cursor: help;
}

#pulse-shade {
  animation: 3s ease-in-out forwards infinite pulsing;
  transform-origin: center;
}

@keyframes pulsing {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

.av-tooltip {

}

.av-tooltip .av-tooltiptext {
  visibility: hidden;
  width: 75%;
  background-color: #0d020d;
  color: #fff;
  position: absolute;
  text-align: center;
  padding: 20px;
  z-index: 400;
  top: 68%;
}

.av-tooltip:hover .av-tooltiptext {
  visibility: visible;
  transition: visibility .4s;
}




/*

______________ GALLERY ______________

*/


/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: #000000;
  z-index: 120;
}

.mySlides img {
  margin-bottom: -4px;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #0d020d;
  margin: auto;
  padding: 0;
  width: 90%;
  height: auto;
  /*max-width: 1200px;*/
}

/* The Close Button */
.close {
  color: #ffffff;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #ffc700;
  text-decoration: none;
  cursor: pointer;
  transition: color .4s;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: #ff0060;
  transition: background-color .4s;
}




/*
_____________________________________________________

            PORTFOLIO INTERSECTION TV
_____________________________________________________

*/

.intersection-tv-bg {
  background-color: #f2f2f2;
}

.intersection-tv {
  font-family: heading;
  letter-spacing: 2px;
}

.intersection-tv a:hover {
 color: #ebae4b;
}

.link-tv {
  color: #f3f3f3;
  text-decoration: underline;
}

.link-tv:hover {
  color: #d1d1d1;
  text-decoration: none;
}

.stills-tv img {
  width: 95%;
}

.two-column-section-contact-intersection-tv {
  /*background-color: #0d020d;*/
  background-image: url(../images/portfolio/intersection/bg.png);
  background-attachment: fixed;
  background-position: 30% 40%;
  background-size: cover;
  background-repeat: no-repeat;
    /*min-height: 100vh;*/
}

#button-top-tv {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 40px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #d1d1d1;
  opacity: 0.5;
  color: white;
  cursor: pointer;
  padding: 15px 14px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}

#button-top-tv:hover {
  opacity: 1;
  background-color: #d1d1d1;
  animation: 4s ease-in-out 0s forwards up-go infinite;
}

.button-tv {
  border: 1px solid #ffffff; 
  background-color: transparent;
  color: #ffffff;
}

.button-tv:hover {
  border: 1px solid #ffffff; 
  background-color: #ffffff;
  color: #0d020d;
  transition: background-color .4s;
}


.button-tv-dark {
  border: 1px solid #0d020d; 
  background-color: transparent;
  color: #0d020d;
}

.button-tv-dark:hover {
  border: 1px solid #0d020d; 
  background-color: #0d020d;
  color: #ffffff;
  transition: background-color .4s;
}

.button-tv-pink {
  border: 1px solid #ff0060; 
  background-color: #ff0060!important;
  background-color: transparent;
  color: #ffffff;
}

.button-tv-pink:hover {
  border: 1px solid #0d020d; 
  background-color: #0d020d!important;
  color: #ffffff;
  transition: background-color .4s;
}

.res-frame-wrap {
  position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.res-frame-wrap .res-frame {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



