@import url('https://fonts.googleapis.com/css?family=Roboto');

.tab-content.tab-content-body {
  padding: 20px;
  border: 1px solid transparent;
  border-color:  #fff #dee2e6 #dee2e6 #dee2e6;
  margin-bottom: 20px;
}

pre {
  font-size: 0.8rem;
}

ol.olist,
ul.ulist {
  margin-left: 40px;
}
ol.olist > li {
  list-style: decimal;
}
ol.olist.olist-roman > li {
  list-style: lower-roman;
}
ol.olist.olist-numeric > li {
  list-style: lower-latin;
}
ul.ulist > li {
  list-style: disc;
}
ul.ulist.ulist-cirle > li {
  list-style: circle;
}

/* Safari 10.1+ */
#name{
  display:none;
}
@media not all and (min-resolution:.001dpcm) { @media {
  #carousel{
    display:none !important;
  }
  #safariCarousel{
    display:flex !important;
    opacity:1 !important;
  }
  #safariCarousel .non-spin .row{
    background:rgba(0,0,0,0.8);
    border-radius:20px;
    color:#fff;
  }
  #carousel2{
    opacity:1 !important;
  }
}}



@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #carousel{
    display:none !important;
  }
  #safariCarousel{
    display:flex !important;
    opacity:1 !important;
  }
  #safariCarousel .non-spin .row{
    background:rgba(0,0,0,0.8);
    border-radius:20px;
    color:#fff;
    top:15% !important;
  }
  #carousel2{
    opacity:1 !important;
  }
}




body{
    font-family: 'Roboto', sans-serif;
    background: #f1efee;
    overflow-x:hidden;
}
.primary{
    color:#4377bc;
}
.primary-bg{
    background:#4377bc;
}
.grey-bg{
  background:#f3f2f2;
}




  .container2 {
    margin: 0 auto;
    width: 30%;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.5s;
  }

  
  #phone-overlay{
    position:absolute;
    bottom: 0;
    right: -20%;
    z-index:2;
    pointer-events:none;
  }

  #spin-wrapper{
    position:absolute;
    bottom: 0;
    right: -20%;
    z-index:1;
    width:94%
  }

  .safariCarousel #phone-overlay{
    position:absolute;
    bottom: 0;
    right: 15%;
    z-index:2;
    pointer-events:none;
  }

  .safariCarousel #spin-wrapper{
    position:absolute;
    bottom: 0;
    right: 15%;
    z-index:1;
    width:94%
  }
  
  .item {
    display: block;
    position: absolute;
    transition:all 0.5s;
    opacity:0.2;
    background: rgba(0,0,0,0.8);
    width: 100%;
    font-size: 5em;
    text-align: center;
    color: #FFF;
    border-radius: 10px;
    -webkit-filter: blur(4px);
    filter: blur(4px);
  }

  .item.active{
      transition:all 0.5s;
    opacity: 1;
    -webkit-filter: none;
    filter: none;
  }
  

  .carousel {
    padding: 20px;
    -webkit-perspective: 2500px;
            perspective: 2500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity:0;
    transition:opacity 0.2s 
  }
  .carousel > * {
    flex: 0 0 auto;
  }
  .carousel figure {
    transform-box: fill-box;
    margin: 0;
    width: 45%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
  }
  .carousel figure .carousel-spinitem {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0px;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -moz-filter:blur(5px);
    transition:all 0.5s
  }
  .carousel figure .carousel-spinitem.active {
    width: 100%;
    padding: 0 0px;
    -webkit-filter: blur(0);
    filter: blur(0);
    -moz-filter:blur(0);
    opacity: 1 !important;
  }
  .bgrgba80{
    background:rgba(0,0,0,0.8);
  }
  .non-spin .bgrgba80{
    border-radius:20px;
    overflow:hidden;
  }
  .carousel figure .carousel-spinitem:not(:first-of-type) {
    position: absolute;
    left: 0;
    color: #fff;
    border-radius: 50px;
    background-clip: content-box;
    opacity: 0.2;
    margin-top: -28px;
  }
  .carousel nav {
    display: flex;
    justify-content: center;
    position: absolute;
    top:35%;
    width:100%;
  }
  .carousel nav button {
    flex: 0 0 auto;
    margin: 0 5px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    letter-spacing: 1px;
    padding: 5px 10px;
    position: absolute;
    font-size:41px;
    outline:none;
  }
  .carousel nav button.next {
    right:4%;
  }
  .carousel nav button.prev {
    left:4%;
  }


  .carousel-heading{
    font-size:30px
  }
  .carousel-body{
    font-size:20px;
  }

  /* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
}
	/* flip the pane when hovered */
	.flip-container:hover .flipper, .flip-container.hover .flipper {
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
 cursor: pointer;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.front {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: absolute;
  width:100%;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
  transform: rotateY(0deg);
  width:100%;
}

/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
}

.splashHeading{
  font-size:50px;
  text-transform:uppercase;
}
.splashParagraph{
  font-size:25px;
}

#phone-overlay-sm{
  position: absolute;
  bottom: 0;
  right: 10%;
  z-index: 2;
}
#spin-wrapper-sm{
  position: absolute;
  bottom: 0;
  right: 10%;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
}
  #demo{
    background:url(../img/testbg2.jpg) no-repeat;
    background-size: cover;
  }

  #carousel, #safariCarousel{
    background:url(../img/initial.jpg) no-repeat;
    background-size:cover;
    z-index: 2;
  }

  #mercSite{
    height:400px;
  }

  .grad {
    background: #4377bc; /* For browsers that don't support gradients */
    background: -webkit-linear-gradient(180deg, #343a40 0%, #343a40 5%, #4377bc 5%,#4377bc 95%, #343a40 95%,#343a40 100%);
    background: -o-linear-gradient(180deg, #343a40 0%, #343a40 5%, #4377bc 5%,#4377bc 95%, #343a40 95%,#343a40 100%);
    background: -moz-linear-gradient(180deg, #343a40 0%, #343a40 5%, #4377bc 5%,#4377bc 95%, #343a40 95%,#343a40 100%);
    background: linear-gradient(180deg, #343a40 0%, #343a40 5%, #4377bc 5%,#4377bc 95%, #343a40 95%,#343a40 100%);
    width: 100%;
    padding: 20px;
  }
