/* newsletter-styles.css – Supplement for legacy/newsletter-style pages.
   Load AFTER /css/intelygence.css. Contains only styles not in the main stylesheet
   (masthead, note-element, callout, flip-card, #mainNav, etc.).
   Used by: poq.html, newsletters.html, improvement-manifesto.html, archive/*
   If something breaks on a legacy page, add the fix here – keep this file as the delta only. */

header.masthead {
    text-align: center;
    color: white;
    background-color: #004999;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
  }

  @font-face {
      font-display: auto;
  }
  
  .handwritten {
      font-family: 'Kaushan Script', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  }
  
  .service-overlay {
    position:absolute;
    top:10%;
    left:20%;
    right:20%;
  }
  
  .pin-positioning {
    position:absolute;
    left:43%;
    top:-8%;
    width:11%
  }
  
  .pin-positioning-2 {
    position:absolute;
    left:40%;
    top:-5%;
    width:15%
  }
  
  .absolute-top {
      position:absolute;
      top:0px;
  }

  .note-element {
    position: relative;
    width: 90%;
    padding: 1em 1em;
    margin: 2em auto;
    border-radius: 0px 35px 0px 0px;
  
    color: #fff;
  
      background: rgba(247,224,17,1);
      background: -moz-linear-gradient(top, rgba(247,224,17,1) 0%, rgba(247,224,17,1) 3%, rgba(238,247,64,1) 81%, rgba(247,223,10,1) 95%, rgba(247,223,10,1) 100%);
      background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(247,224,17,1)), color-stop(3%, rgba(247,224,17,1)), color-stop(81%, rgba(238,247,64,1)), color-stop(95%, rgba(247,223,10,1)), color-stop(100%, rgba(247,223,10,1)));
      background: -webkit-linear-gradient(top, rgba(247,224,17,1) 0%, rgba(247,224,17,1) 3%, rgba(238,247,64,1) 81%, rgba(247,223,10,1) 95%, rgba(247,223,10,1) 100%);
      background: -o-linear-gradient(top, rgba(247,224,17,1) 0%, rgba(247,224,17,1) 3%, rgba(238,247,64,1) 81%, rgba(247,223,10,1) 95%, rgba(247,223,10,1) 100%);
      background: -ms-linear-gradient(top, rgba(247,224,17,1) 0%, rgba(247,224,17,1) 3%, rgba(238,247,64,1) 81%, rgba(247,223,10,1) 95%, rgba(247,223,10,1) 100%);
      background: linear-gradient(to bottom, rgba(247,224,17,1) 0%, rgba(247,224,17,1) 3%, rgba(238,247,64,1) 81%, rgba(247,223,10,1) 95%, rgba(247,223,10,1) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7e011', endColorstr='#f7df0a', GradientType=0 );
  
      -webkit-box-shadow: -2px 6px 5px 0px rgba(0,0,0,0.75);
      -moz-box-shadow: -2px 6px 5x 0px rgba(0,0,0,0.75);
      box-shadow: -2px 6px 5px 0px rgba(0,0,0,0.75);
      transform: rotate(-1.5deg);
  }
  
  .note-element:before {
    content: "";
    position: absolute;
    top: 0%;
    right: 0%;
    width: 0px;
    height: 0px;
    border-bottom: 35px solid #eee;
    border-right: 35px solid transparent;
    -webkit-box-shadow: -3px 6px 9px rgba(0,0,0,0.3);
    -moz-box-shadow: -3px 6px 9px rgba(0,0,0,0.3);
    box-shadow: -3px 6px 9px rgba(0,0,0,0.3);
  
    border-image: linear-gradient(to top right, rgba(207,194,17,0.9), rgba(0,0,0,0));
  }
  
  .note-element:after {
    content: "";
    position: absolute;
    top: 0%;
    right: 0%;
    width: 0px;
    height: 0px;
    border-top: 34px solid transparent;
    border-left: 34px solid transparent;
  }
  
  
  .coach-item-overlay-1 {
    position:absolute;
    top:45%;
    left:48%;
  }
  
  .coach-item-overlay-2 {
    position:absolute;
    top:68%;
    right:28%;
  }
  
  .coach-item-overlay-3 {
    position:absolute;
    top:15%;
    left:40%;
  }
  
  
  .flip-card {
    background-color: transparent;
    width: 320px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-img-pos {
    width: "150px";
    height: "150px";
    index: "9";
    position: "relative";
    top: "-85px";
    left: "65px";
    right: "0";
    margin: "0 auto";
    margin-bottom: "3em";
    border: "10px solid #fff";
    background: "#000";
    background-size: "cover";
    display: "inline-block";
    text-align: "center";
    border-radius: "50%";
  }
  
  .flip-img-content  {
    width: "150px";
    height: "150px";
  }
  
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    color: black;
  }
  
  .flip-card-back {
      background-color: dodgerblue;
      color: white;
      transform: rotateY(180deg);
  }
  
  .gradient-color-white
  {
      background-color: #f6f6f6;
      background: linear-gradient(315deg, #f6f6f6 0%, #e9e9e9 74%);
  }
  
  .gradient-color-white-blue
  {
      background-color: #bbb;
      background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(6,6,89,1) 32%, rgba(216,216,235,1) 32%, rgba(220,232,235,1) 100%);
  }
  
  .shaded {
      -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
      -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
      box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.35);
  }
  
  .infoitem:hover, .infoitem:focus{
      clip-path: circle(90%);
      border-radius:10px;
      box-shadow: 0px 3px 9px rgba(0,0,0,0.12),
                  0px 3px 18px rgba(0,0,0,0.08);
      background:#ffffff;
      outline:rgba(44,44,44,0.12);
        opacity: 0;
    }

    .masthead-full {
      padding: 10rem 0;
    }
    @media (min-width: 992px) {
      .masthead-full {
        padding: 0;
        height: 100vh;
        min-height: 35rem;
      }
    }

    .masthead-full-quiz {
      padding: 0rem 0;
    }
    @media (min-width: 320px) {
      .masthead-full-quiz {
        padding: 0;
        height: 100vh;
        min-height: 35rem;
      }
    }

    .btn-outline-light {
      color: #f8f9fa;
      border-color: #f8f9fa;
    }

    #mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
      color: #8dc5d3;
    }

    .carousel-portfolio .carousel-portfolio-item {
      padding: 6.25rem 0;
      color: #fff;
      background-size: cover;
      background-attachment: scroll;
      background-repeat: no-repeat;
    }
    .carousel-portfolio .carousel-portfolio-item h3 {
      font-size: 2rem;
    }
    .carousel-portfolio .carousel-portfolio-item .device-wrapper {
      padding: 0 2.5rem 1rem;
      max-width: none;
    }
    .carousel-portfolio .slick-arrow.slick-prev {
      right: 0;
    }
    .carousel-portfolio .slick-arrow.slick-next {
      left: 0;
    }
    .carousel-portfolio .first-item {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("../assets/img/portfolio/carousel/item-1-bg.jpg");
    }
    .carousel-portfolio .second-item {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("../assets/img/portfolio/carousel/item-2-bg.jpg");
    }
    .carousel-portfolio .third-item {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("../assets/img/portfolio/carousel/item-3-bg.jpg");
    }
    .carousel-portfolio .fourth-item {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("../assets/img/portfolio/carousel/item-4-bg.jpg");
    }
    @media (min-width: 768px) {
      .carousel-portfolio .carousel-portfolio-item {
        height: calc(100vh - 66px);
        max-height: 100rem;
      }
      .carousel-portfolio .carousel-portfolio-item h3 {
        font-size: 2.5rem;
      }
      .carousel-portfolio .carousel-portfolio-item .device-wrapper {
        padding: 0 2rem;
      }
    }

    #portfolio .portfolio-item .portfolio-link .portfolio-hover {
      display: flex;
      position: absolute;
      width: 100%;
      height: 100%;
      background: rgba(0, 73, 153, 0.5);
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity ease-in-out 0.25s;
    }
    /* Legacy .btn-primary override – main intelygence.css has .btn-primary; this restores legacy look on pages that load newsletter-styles */
    .btn-primary {
      color: #fff;
      background-color: #8dc5d3;
      border-color: #8dc5d3;
    }
    .btn-primary:hover {
      color: #fff;
      background-color: #8dc5d3;
      border-color: #8dc5d3;
    }
    .btn-check:focus + .btn-primary, .btn-primary:focus {
      color: #fff;
      background-color: #8dc5d3;
      border-color: #8dc5d3;
      box-shadow: 0 0 0 0.25rem rgba(107, 107, 107, 0.9);
    }
    .btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
      color: #fff;
      background-color: #8dc5d3;
      border-color: #8dc5d3;
    }
    .btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
      box-shadow: 0 0 0 0.25rem rgba(107, 107, 107, 0.9);
    }
    .btn-primary:disabled, .btn-primary.disabled {
      color: #fff;
      background-color: #8dc5d3;
      border-color: #8dc5d3;
    }

    #mainNav .navbar-brand {
      color: #f8f9fa;
      font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
      font-weight: 700;
      letter-spacing: 0.0625em;
      text-transform: uppercase;
    }

    .masthead .masthead-scroll {
      position: absolute;
      bottom: 1rem;
      left: 0;
      width: 100%;
      text-align: center;
    }

    .masthead .masthead-scroll .masthead-scroll-btn {
      display: inline-block;
      font-size: 1.5rem;
      height: 3.125rem;
      width: 3.125rem;
      line-height: 3.125rem;
      border-radius: 100%;
      border: 0.125rem;
      border-style: solid;
      border-color: #fff;
      cursor: pointer;
      transition: all 0.15s ease-in-out;
      color: #fff;
    }
    .masthead .masthead-scroll .masthead-scroll-btn:hover {
      transform: translateY(-0.25rem);
      border-color: rgba(141, 197, 211, 1);
      color: rgba(141, 197, 211, 1);
    }
    .masthead .masthead-scroll .masthead-scroll-btn:active {
      transform: none;
    }

    .masthead {
      position: relative;
    }

    .portfolio-modal {
      background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(215, 227, 250, 0.99));
      z-index: 9999;
    }

    .modal-content {
      background-color: transparent;
      border: transparent;
      color: #24354f;
    }

    .text-muted {
      --bs-text-opacity: 1;
      color: #ffffff !important;
    }

    .card {
      position: relative;
      display: flex;
      flex-direction: column;
      min-width: 0;
      word-wrap: break-word;
      background-color: rgba(0, 0, 0, 0);
      background-clip: border-box;
      border: none;
    }

    .bg-intelygence {
      background-color: #004999 !important;
    }

    .badge-primary{
      background-color: #8dc5d3 !important;
    }

.callout {
  background: linear-gradient(90deg, #009DC4, #004999, #0086df, #496eaa);
  padding: 6.25rem 0;
  background-size: 1400% 300%;
  background-position: center;
  background-attachment: scroll;
  animation: mymove 20s ease infinite;
}

@keyframes mymove
	{
		 0% {
			background-position: 0% 0%; }
			50% {
			background-position: 50% 100%; }
			100% {
			 background-position: 100% 0%;
	}
}

.callout .callout-text {
  font-size: 2rem;
  line-height: 1.25;
}
@media (min-width: 992px) {
  .callout {
    background-attachment: fixed;
  }
  .callout .callout-text {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .callout-full {
    height: 100vh;
  }
}

.btn-callout {
  padding: 3rem 0;
  font-weight: 300 !important;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.5rem;
  background-color: #000;
  color: #fff;
}
.btn-callout:hover {
  color: #fff;
  background-color: #ef4035;
}

.text-primary {
  --bs-text-opacity: 1;
  color: rgba(141, 197, 211, 1) !important;
}

.timeline > li .timeline-image {
  background-color: #8dc5d3;
}

@keyframes animate {
  0%{
      transform: translateY(0) rotate(0deg);
      opacity: 0.5;
      border-radius: 0;
  }
  100%{
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
  }
}

.logo-animation li {
  position: absolute;
  display: block;
  list-style: none;
  width: 3px;
  height: 30px;
  background: url(/intelygence/img/svg/icons/intelygence-logo.svg) no-repeat;
  background-size: 40px 60px;
  animation: animate 15s linear infinite;
  overflow: hidden;
}

.logo-animation li:nth-child(0) {
  left: 59%;
  width: 130px;
  height: 100px;
  bottom: -100px;
  animation-delay: 1s;
}
.logo-animation li:nth-child(1) {
  left: 40%;
  width: 120px;
  height: 60px;
  bottom: -60px;
  animation-delay: 3s;
}
.logo-animation li:nth-child(2) {
  left: 5%;
  width: 90px;
  height: 90px;
  bottom: -90px;
  animation-delay: 5s;
}
.logo-animation li:nth-child(3) {
  left: 43%;
  width: 150px;
  height: 180px;
  bottom: -180px;
  animation-delay: 7s;
}
.logo-animation li:nth-child(4) {
  left: 78%;
  width: 45px;
  height: 100px;
  bottom: -100px;
  animation-delay: 9s;
}
.logo-animation li:nth-child(5) {
  left: 53%;
  width: 45px;
  height: 80px;
  bottom: -80px;
  animation-delay: 4s;
}
.logo-animation li:nth-child(6) {
  left: 11%;
  width: 220px;
  height: 60px;
  bottom: -60px;
  animation-delay: 24s;
}
.logo-animation li:nth-child(7) {
  left: 44%;
  width: 80px;
  height: 90px;
  bottom: -90px;
  animation-delay: 35s;
}
.logo-animation li:nth-child(8) {
  left: 30%;
  width: 180px;
  height: 80px;
  bottom: -80px;
  animation-delay: 38s;
}
.logo-animation li:nth-child(9) {
  left: 53%;
  width: 75px;
  height: 110px;
  bottom: -110px;
  animation-delay: 30s;
}

  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border: none;
    background-color: transparent;
    transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
  }
  #mainNav .navbar-brand {
    font-size: 1.5em;
    transition: font-size 0.3s ease-in-out;
  }
  #mainNav .navbar-brand img {
    height: 2rem;
    transition: height 0.3s ease-in-out;
  }
  #mainNav.navbar-shrink {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(44, 62, 80, 0.6);
    z-index: 9998;

  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
  }
  #mainNav.navbar-shrink .navbar-brand svg,
#mainNav.navbar-shrink .navbar-brand img {
    height: 1.5rem;
  }
  #mainNav .navbar-nav .nav-item {
    margin-right: 1rem;
  }
  #mainNav .navbar-nav .nav-item:last-child {
    margin-right: 0;
  }

.logo-cover {
 padding-top:0rem;
}

.container-cover {
  position: relative;
  padding-top: 7rem;
  z-index: 9997;
  background-color: #fff;
 }

 .container-cover-cardgame {
  position: relative;
  padding-top: 7rem;
  z-index: 9997;
  background-color: #004999;
 }

 .icon-cog {
  color: #004999;
}

.icon-cog-2 {
  color: #264263;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #fff;
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: transparent;
  z-index: 9998;
}

.img-service {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.story-text-size {
 font-size: 1.25rem;
}

section#contact form#contactForm .form-group button,
section#contact form#contactForm .form-group input,
section#contact form#contactForm .form-group textarea {
  padding: 1.25rem;
}

section#contact form#contactForm .form-group button.form-control,
section#contact form#contactForm .form-group input.form-control {
  height: auto;
}

html {
  scroll-behavior: smooth;
}

.pull-right{
  float: right !important;
}

.feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  font-size: 1.5rem;
}

.bg-featured-blog {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 15rem;
}

a {
  color: #212529;
  text-decoration: none;
}
a:hover {
  color: #264263;
  text-decoration: none;
}

#training .portfolio-item .portfolio-link .portfolio-hover {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity ease-in-out 0.25s;
}

#training .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 1.25rem;
  color: white;
  position:absolute;
  top:0;
  right:0;
}
#training .portfolio-item .portfolio-link:hover .portfolio-hover {
  opacity: 1;
}

#training .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  margin: 0 auto;
}

.accordion-modal {
  background-color: rgba(0, 0, 0, 0.03);
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 22px;
  transition: 0.4s;
}

.active-modal, .accordion-modal:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.accordion-modal:after {
  content: '\002B';
  color: #fff;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active-modal:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: rgba(0, 0, 0, 0.03);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.mt-6 {
  margin-top: 6rem !important;
}

.card-top {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.bg-success {
  --bs-bg-opacity: 1;
  background-color: #34bf49 !important;
}

.bg-danger {
  --bs-bg-opacity: 1;
  background-color: #ff4c4c !important;
}

.btn-danger-card{
  background-color: #ff4c4c;
  border-color: #ff4c4c ;
}

.row-gamecard {
  --bs-gutter-x: 0;
}

.ms-md-6 {
  margin-left: 6rem !important;
}

.wrapper {
  display: flex;
}

.col-sm-quiz {
  flex: 0 0 auto;
  width: 41.66666667%;
}

.bg-newsletter{
  background-color: #004999;
}

.hr-style {
  color: rgba(0,0,0,.225);
}

section#contact {
    background-color: #212529;
    background-image: url(/intelygence/img/svg/icons/worldmap.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    }
