/* ======================================== */
/* Fonts */
/* ======================================== */

/* Font for the headers and links */
@font-face {
    font-family: 'quandoregular';
    src: url('../fonts/quando/quando-regular-webfont.woff2') format('woff2'),
         url('../fonts/quando/quando-regular-webfont.woff') format('woff'),
         url('../fonts/quando/quando-regular-webfont.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}
/* Font for the body text */
@font-face {
    font-family: 'ubunturegular';
    src: url('../fonts/ubuntu/ubuntu-regular-webfont.woff2') format('woff2'),
         url('../fonts/ubuntu/ubuntu-regular-webfont.woff') format('woff'),
         url('../fonts/ubuntu/ubuntu-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
/* Fonts */
body, p {
  font-family: ubunturegular, quandoregular, Helvetica, Arial, sans-serif !important;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6, a {
    font-family: quandoregular, ubunturegular, Helvetica, Arial, sans-serif !important;
}

/* Ensure that responsive images take up the full width */
.img-responsive {
    width: 100%;
}

/* Preload the background so that it shows up faster than the parallax JavaScript would ordinarily show it */
.bgImgPreloadContainer { position: absolute; height: 0; width: 0; overflow: hidden; }


/* ======================================== */
/* Sections */
/* ======================================== */
/* Define main section metrics */
.section {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 100%;
}
/* The footer section is special */
.section.footer {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* The Remote Applications section is special since it may not have much content, so we set a minium height */
#section2 {
    min-height: 400px;
}

/* Define the size of the Advantage Magazine cover image */
.advCoverContainer {
    margin: 25px auto;
    /*width is based on the width of the Advantage Cover image*/
}
.advCoverImage {
    /*display: block;
    margin-left: auto;
    margin-right: auto;*/
    /*height: 444px;*/
    height: 45vmax;
}

/* The key that describes the symbols used for slow/fast networks */
#appDeploymentDesktopAppsContainerKey {
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    margin: 0;
    padding: 3px;
    background-color: hsl(0, 0%, 98%);;
    border: 2px solid hsl(0, 0%, 50%);
}

/* The key to indicate that the link is optimized for FAST networks */
.networkKeyFast {
    font-weight: bold;
    color: hsl(135, 50%, 35%);
}

/* The key to indicate that the link is optimized for SLOW networks */
.networkKeySlow, .networkKeySlowTitle {
    font-weight: bold;
    color: hsl(0, 50%, 35%);
}

.networkKeySlow::after {
    content: '\02606';
    margin-left: -25px;
    padding-right: 11px;
}

/* Ensure that the remote app containers are sized right, scroll vertically, and have a different background color */
.container.appDeploymentWebApps, .container.appDeploymentDesktopApps {
    background-color: hsl(210, 50%, 95%);
    width: 100%;
    min-height: 400px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 5px 5px;
    text-align: left;
}
/* Background color */
.container.appDeploymentDesktopApps {
    background-color: hsl(135, 50%, 95%);
}

/* Foreground color */
a.webApp {
    color: hsl(210, 25%, 40%);
}
a.desktopApp {
    color: hsl(135, 25%, 30%);
}

/* The remote Application links */
a.webApp, a.desktopApp {
    display: inline-block;
    height: 100%;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid transparent;
    text-decoration: none;
}

/* Remote Application Links hover effects */
a.webApp:hover {
    background: hsl(45, 100%, 99%) !important;
    border-color: hsl(210, 50%, 90%);
    color: hsl(210, 100%, 20%);
    text-shadow: 0 1px hsla(0210, 50%, 50%, 0.25);
}
a.desktopApp:hover {
    background: hsl(45, 100%, 99%) !important;
    border-color: hsl(135, 50%, 90%);
    color: hsl(135, 100%, 20%);
    text-shadow: 0 1px hsla(135, 50%, 50%, 0.25);
}
a.webApp::before, a.webApp::after, a.desktopApp::before, a.desktopApp::after {
	display: inline-block;
	opacity: 0;
	transition: transform 0.3s, opacity 0.2s;
}
a.webApp::before, a.desktopApp::before {
	margin-right: 10px;
	content: '(';
	transform: translateX(25px);
}
a.webApp::after, a.desktopApp::after {
	margin-left: 10px;
	content: ')';
	transform: translateX(-25px);
}
a.webApp:hover::before, a.webApp:hover::after, a.webApp:focus::before, a.webApp:focus::after,
a.desktopApp:hover::before, a.desktopApp:hover::after, a.desktopApp:focus::before, a.desktopApp:focus::after {
	opacity: 1;
	transform: translateX(0px);
}
a.webApp:not(:hover)::before, a.webApp:not(:hover)::after, a.desktopApp:not(:hover)::before, a.desktopApp:not(:hover)::after {
	opacity: 0;
}

/* Product images like BBj, Barista, Addon */
.col-sm-4 img {
    transition: all 0.2s ease;
    margin: 10px auto;
}
.feature-content img {
    -webkit-filter: saturate(0.65) drop-shadow(0 2px 1px hsla(0, 0%, 0%, 0.15));
}
.col-sm-4 img:hover {
    transform: scale3d(1.035, 1.035, 1.0);
    filter: saturate(1.0) drop-shadow(0 2px 1px hsla(0, 0%, 0%, 0.15));
}
.feature-content.appDeploymentApps {
    padding: 15px !important;
    background-image: url('/files/basis/conquer/img/TechCon15OceanBackgroundTransparent.png');
    background-position: left top;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.5);
    border-radius: 4px;
    border-color: hsl(200, 50%, 20%);
    box-shadow: 0 0 3px hsla(200, 50%, 20%, 0.5);
}
.feature-content, .tm-box {
    border: 1px solid #ddd;
}
.feature-content.bbj .imageContainer {
    background-color: hsl(90, 25%, 90%);
    border-bottom: 5px solid hsl(90, 25%, 80%);
}
.feature-content.barista .imageContainer {
    background-color: hsl(250, 25%, 90%);
    border-bottom: 5px solid hsl(250, 25%, 80%);
}
.feature-content.addon .imageContainer {
    background-color: hsl(215, 25%, 90%);
    border-bottom: 5px solid hsl(215, 25%, 80%);
}
/*product section buttons with custom colors*/
.bbj-text       { color: hsl(90, 50%, 40%); }
.bbj-btn        { background: hsl(90, 50%, 30%); }
.bbj-btn:hover  { background: hsl(90, 50%, 40%); }
.barista-text       { color: hsl(250, 50%, 40%); }
.barista-btn        { background: hsl(250, 50%, 40%); }
.barista-btn:hover  { background: hsl(250, 50%, 55%); }
.addon-text         { color: hsl(215, 50%, 40%); }
.addon-btn        { background: hsl(215, 50%, 40%); }
.addon-btn:hover  { background: hsl(215, 50%, 50%); }

/* Hover effects on the main product icons */
.feature-content .imageContainer {position: relative;}
.feature-content .imageContainer:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition-property: transform;
    transition-duration: 0.25s;
    transition-timing-function: ease-out;
}
.feature-content .imageContainer:hover:before { transform: scaleY(1); }
.feature-content.bbj     .imageContainer:before { background: hsl(90, 25%, 80%); }
.feature-content.barista .imageContainer:before { background: hsl(250, 25%, 80%); }
.feature-content.addon   .imageContainer:before { background: hsl(215, 25%, 80%) }

/* Center the Social Media icons and define their images */
.socialMediaContainer {
    display: block;
    margin: auto;
    width: 250px;
}
.socialMediaFlex {
    display: inline-flex;
}
.socialMediaLink {
    margin: 0 5px !important;
    background-repeat: none;
    background-size: cover;
    background-repeat: no-repeat;
    width: 45px;
    height: 45px;
}
.socialMediaLink.twitter { background: url('../img/socialMediaTwitter.svg'); }
.socialMediaLink.facebook { background: url('../img/socialMediaFacebook.svg'); }
.socialMediaLink.linkedin { background: url('../img/socialMediaLinkedIn.svg'); }
.socialMediaLink.youtube { background: url('../img/socialMediaYouTube.svg'); }

/* Links section card and image definitions */
/*Override the bootstrap left/right padding of 15px to reduce the inner space*/
.col-xxs-12 {
    padding: 0 10px;
}

/* Links Section Cards */
.sectionLinksCard {
  background-color: #f2f2f2;
  height: 500px;
  max-width: 280px;
  margin: 0 auto 30px;
  border: 1px solid #777;
}
.sectionLinksCard  p {
    padding: 10px 10px 5px 10px;
    text-align: left;
    font-size: 13px;
}
.sectionLinksCard  p a {
    font-size: 12px;
}
.sectionLinksCard .headerImage {
    background: url('../img/bg-computerMono.jpg');
    background-repeat: no-repeat;
    width: 100%;
    height: 30%;
    text-align: center;
    color: #222;
    position: relative;
    overflow: hidden;
    transition: filter 0.2s ease;
}
/* the link header title that is in an anchor tag */
.sectionLinksCard .headerImage .title {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10%;

    color: hsl(215, 75%, 35%);
    background-color: hsla(215, 100%, 96%, 0.85);
    border: 1px solid hsla(215, 100%, 75%, 0.75);
    border-radius: 8px;
    box-shadow: 0 3px 0 hsl(215, 100%, 50%), 0 4px 10px 1px hsla(215, 100%, 10%, 0.45);
    transition: all 0.1s ease;
    cursor: pointer;
}
.sectionLinksCard .headerImage .title:hover {
    background-color: hsla(215, 100%, 98%, 0.90);
    border-color: hsl(215, 100%, 70%);
    color: hsl(215, 100%, 65%);
}
.sectionLinksCard .headerImage.img1 { background-position: 35% 60%; filter: saturate(50%) hue-rotate(   0deg);}
.sectionLinksCard .headerImage.img2 { background-position: 40% 65%; filter: saturate(50%) hue-rotate( -50deg);}
.sectionLinksCard .headerImage.img3 { background-position: 45% 70%; filter: saturate(50%) hue-rotate( -100deg);}
.sectionLinksCard .headerImage.img4 { background-position: 50% 75%; filter: saturate(50%) hue-rotate(  -150deg);}



/* Top Header - Padding will be reduced when the NavBar is converted to a Hamburger Menu */
header {
  padding: 80px 0;
}

/* Welcome Title */
h1 {
  /* font-size: 7vw !important; */
  /* Font min=30px, max=90px, Screen min=300px, max=1920px  */
  font-size: calc(30px + (90 - 30) * ((100vw - 300px) / (1920 - 300))) !important;
  text-transform: none !important;
}

/* Welcome Subtitle */
.header-content h4 {
  /* font-size: 4vw !important; */
  /* Font min=15px, max=40px, Screen min=300px, max=1920px  */
  font-size: calc(15px + (40 - 15) * ((100vw - 300px) / (1920 - 300))) !important;
}

/* Footer */
.copy {
    margin-bottom: 10px;
}


/* The Links Header that contains the product image and title link */
.headerImage {
    text-align: center;
    position: relative;
    cursor: pointer;
    perspective: 200px;
}

/* set the base transform so that the animation transition is smooth */
.sectionLinksCard .headerImage .title {
    transform: translate(-50%, -50%) rotateY(0deg);
    transition: all 0.4s ease;
}
/* animate the title by twisting the card around the Y-axis */
.sectionLinksCard .headerImage .title:hover {
    animation-name: twist;
    animation-duration: 0.75s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
/* animation that twists the card around the Y-axis */
@keyframes twist {
    0%   { transform: translate(-50%, -50%) rotateY(  0deg); }
    33%  { transform: translate(-50%, -50%) rotateY(-20deg); }
    66%  { transform: translate(-50%, -50%) rotateY( 20deg); }
    100% { transform: translate(-50%, -50%) rotateY(  0deg); }
}



/* ======================================== */
/* Navigation */
/* ======================================== */



/* hide the vertical scrollbar as it resizes its height on display */
.single-page-nav.show {overflow: hidden; }

/* speed up the show animation when it resizes its height, modify with border */
.single-page-nav {
    background: transparent;
    transition: all 0.5s ease;
    border: 1px solid hsl(215, 15%, 50%);
    border-radius: 6px;
}
/* don't show its border when its hidden, as the max-height: 0px still causes the border to be shown */
.single-page-nav:not(.show) { border-color: transparent; }

/* modify the colors for each item in the list */
.navbar-inverse .navbar-nav>li {
    background: hsl(215, 15%, 25%) none repeat scroll 0 0;
    border-color: hsl(215, 15%, 50%);
}

/* modify the padding since we have so many menu items in the list */
.navbar-inverse .navbar-nav>li>a {
    padding: 15px 20px !important;
}

/* modify the colors for the selected item, as well as hovered */
.navbar-inverse .navbar-nav > li > a.current,
.navbar-inverse .navbar-nav > li > a:hover {
    background: hsl(215, 15%, 40%);
    color: hsl(215, 50%, 98%);
    text-shadow: 0 1px 2px #00
}


/* ======================================== */
/* Animations */
/* ======================================== */

/* Animate the link card elements into view when you first scroll down */
.animated-fast {
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.animate-box {
  opacity: 0;
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, 40px, 0);
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    visibility: visible;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, 40px, 0);
    transform: translate3d(0, 40px, 0);
  }
  to {
    visibility: visible;
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}


/* ======================================== */
/* Media Queries */
/* ======================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  header { height: 90vmax; padding: 0 0 80px 0; }
  .single-page-nav { max-width: 300px; margin-left: auto; margin-right: auto; }
  .navbar-nav>li>a { border: none; border-top-width: 0; border-bottom-width: 0; border-color: red;}
  .navbar-nav>li:last-child { border-bottom-width: 1px; }
}

@media only screen and (max-width: 520px) {
  header { height: 80vvmax; padding: 0 0 80px 0; }
}

@media only screen and (max-width: 480px) {
  header { height: 80vmax; padding: 20px 0 80px 0; }
}

@media only screen and (max-width: 320px) {
  header { height: 80vmax; padding: 50px 0 80px 0; }
}
