.no-mediaqueries .box { color: red; }
.mediaqueries .box { color: green; }

small {
    font-size: 90% !important;
    white-space: pre-wrap !important;
    line-height: 1.4em !important;
    display: block;
    width:90%;
    padding-bottom: 13px;
    padding-left:15px;
}

.fixed-bottom img {
/*    display: none !important;*/
    float:left;
}

.sticky-top span {
    display: inline-block;
    padding-top: 5px;
}

.fixed-bottom {
    background: #fff !important;
    padding-left: 5px !important;
}

video {
    object-fit:fill;
}

.btn-group-fab {
    position: fixed;
    width: 50px;
    height: auto;
    right: 20px; bottom: 20px;
    z-index: 9999;
}
.btn-group-fab div {
    position: relative; width: 100%;
    height: auto;
}
.btn-group-fab .btn {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    display: block;
    margin-bottom: 4px;
    width: 40px; height: 40px;
    margin: 4px auto;
    background: #7d8f97;
    border-color: #7d8f97;
}
.btn-group-fab .btn-main {
    width: 50px; height: 50px;
    right: 50%; margin-right: -25px;
    z-index: 9;
}

#video-container{
    position: relative;  
}

#download-photo {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    object-fit:contain;
}

/*
#webcam, #canvas {
    position: absolute;
    top: 0;
    left: 0;
}
*/

body i.fa-spinner {
    display: none;
}

#video-container {
    overflow: hidden !important; 
}

body {overflow-y: hidden;}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.6);
    overflow-x: hidden;
    /*  transition: 0.5s;*/
    display: flex;
    align-items: stretch;
}

.overlay-content {
  position: relative;
    background: #fff;
     width: 100%;
    margin: 20px;
    border-radius: 4px;
    padding: 30px 0;
}



.overlay .closebtn {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 34px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    z-index: 9999;
    line-height: 30px;
    text-align: center;
}

.overlay a {text-decoration: none;}

.box {
  box-shadow: 0 3px 3px rgba(0,0,0,0.4);
}

#immagine {
    max-width: 50%;
    text-align: center;
    margin: 20px;
    display: inline-block;
    float: left;
}



#title, #description {
    margin:10px 10px 5px;
}

#title {
    margin-top:30px;
}


.overlay-content {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: auto;
}
.overlay-content > header {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: inherit;
    background-attachment: fixed;
}

.overlay-content > header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
/*    max-height: 100%;*/
    height: 100%;
    background: inherit;
    background-attachment: fixed;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    transform: scale(1.5) translateY(30px);
    overflow: auto;
}

.overlay-content #title, .overlay-content #description {
    color: white;
    position: relative;
    z-index: 1;
}

.overlay-content #description {
    max-height: 100px;
    line-height: 16px;
    overflow: auto;
}

#myCanvas {
    display: none;
}

#answer {
    display: none;
    position: absolute;
    top: 30%;
    width:100%;
    text-align: center;
}

#answer span {
    margin: 0 auto;
    color: #fff;
    background: #404040;
    padding: 2px 4px;
    border-radius: 2px;
    animation: pulse 2s infinite;
    opacity: 0.9;
    text-transform: capitalize;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

/*
#question-answer input[type="text"] {
    width: 80%;
    height: 20px;
    padding-right: 20%;
}

#question-answer input[type="submit"] {
    margin-left: -20%;
    height: 25px;
    width: 20%;
    background: #333;
    color: white;
    border: 0;
    -webkit-appearance: none;
}
*/

#element-dynamic {
    position: absolute;
    font-size: 40px;
    color:#fff;
    top: 20px;
    left: 20px;
    cursor: pointer;
}

.input-container{
    margin-top:40px;
	position:relative;
	margin-bottom:10px;
    min-height: 30px;
}
.input-container label{
	position:absolute;
	top:0px;
	right:0;
	font-size:18px;
	color:#fff;	
	transition: all 0.5s ease-in-out;
}
.input-container input{ 
  border:0;
  border-bottom:1px solid #555;  
  background:transparent;
  padding:10px 0 8px 0;
  font-size:18px;
  color:#fff;
}
.input-container input:focus{ 
 border:none;	
 outline:none;
 border-bottom:1px solid #fff;	
 color: #fff;
 padding:10px 0 8px 0;
}

.input-container input:focus ~ label {
	top:-22px;
	font-size:14px;
	
}

/* Change the white to any color ;) */
.input-container input:-webkit-autofill,
.input-container input:-webkit-autofill:hover, 
.input-container input:-webkit-autofill:focus, 
.input-container input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px #404040 inset !important;
    padding:10px 0 8px 0;
}

.tpd-skin-dark {
    opacity: 1 !important;
}

.btni {
	color:#fff;
	background-color:#404040;
	outline: none;
    border: 0;
    color: #fff;
	padding:10px 20px;
	text-transform:uppercase;
	margin-top:0;
	border-radius:2px;
	cursor:pointer;
	position:relative;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
	}

	70% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(0.95);
	}
}

html, body {
  overflow-x: hidden;
  overflow-y: hidden;
}
body {
  position: relative;
}

#canvas {
    width: 100%;
}

/* START WINE PAGE */

@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Montserrat:300,400,700,800|Open+Sans:300');

.card__body {
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 25px;
}
.card__body > .half_space {
  box-sizing: border-box;
  padding: 0 4%;
  flex: 1 0 42%;
}

.card__body > .full_space {
    box-sizing: border-box;
    padding: 0;
    flex: 1 0 100%;
    overflow-x: hidden;
    margin-top:30px;
}


.card__body .featured_text h1 {
  margin: 0;
  padding: 0;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  line-height: 32px;
  color: #181e28;
}



.card__body .featured_text p {
  margin: 0;
  padding: 0;
}
.featured_text p.sub, .featured_text p.sub_quality {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  color: #686e77;
  font-weight: 300;
  margin-bottom: 5px;
}

.featured_text p.sub_quality {
    margin-top:60px;
    margin-bottom: 20px;
}

.quality .score {
    font-size: 16px;
    letter-spacing: 0.15em;
    color: #999;
}

.anomalies .featured_text p.sub, .indexes  .featured_text p.sub, .quality .featured_text p.sub_quality, .company .featured_text p.sub {
    text-align: center;
    font-size: 22px;
    padding: 0 20px;
}

.copyright {
    text-align: center;
    padding: 0 20px;
    margin-top: 50px;
}

.indexes  .featured_text p.sub {
    margin-bottom: 60px;
}

.card__body .featured_text p.price {
  font-family: "Fjalla One", sans-serif;
  color: #252525;
  font-size: 26px;
}
.card__body .image {
  padding-top: 15px;
  width: 100%;
}
.card__body .image img {
  display: block;
  max-width: 100%;
  height: auto;
}
.card__body .description {
  margin-bottom: 25px;
}
.card__body .description p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  line-height: 27px;
  font-size: 16px;
  color: #555;
}

/* start scrollmenu weather */


.card__body .anomalies, .card__body .indexes,  .card__body .company {
    margin-top: 100px;
}



div.scrollmenu {
    background-color: #212529; /*#b39fd9;*/
    overflow: auto;
    margin-top: 60px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;

}


.scrollmenu > div {
    width: 200px;
}

div.scrollmenu a {
    display: inline-block;
    color: #fff;
    text-align: center;
    padding: 24px 0 0;
    text-decoration: none;
    font-size: 200%;
    width: 100%;
}

div.scrollmenu a div {
    background: #0f0;
    color: #333;
    padding: 34px;
    display: block;
    margin-top: 24px;
}

div.scrollmenu a span {
    background: transparent;
    color: #fff;
    display: block;
    font-size: 50%;
    margin-top: 20px;

}

div.scrollmenu .fa-tint-bg {
    background: #ffadad;
}

div.scrollmenu .fa-thermometer-half-bg {
    background: #ffd6a5;
}

div.scrollmenu .fa-leaf-bg {
    background: #fdffb6;
}

div.scrollmenu .fa-cloud-bg {
    background: #caffbf;
}

div.scrollmenu .fa-compass-bg  {
    background: #9bf6ff;
}

div.scrollmenu .fa-wind-bg  {
    background: #a0c4ff;
}

div.scrollmenu .fa-sun-bg  {
    background: #bdb2ff;
}

div.scrollmenu .fa-cloud-showers-heavy-bg {
    background: #ffc6ff;
}

div.scrollmenu a:hover {
  background-color: #212529;
}

::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
    height: 0;
}
/* Optional: show position indicator in red */
/*
::-webkit-scrollbar-thumb {
    background: #FF0000;
}
*/

/* end scrollmenu weather */

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: white;
  color: #333;
  cursor: pointer;
  padding-top: 16px;
  padding-bottom: 10px;
  padding-right: 20px;
  padding-left: 20px;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #333;
  outline: none;
  transition: 0.4s;
  font-weight: 500;
  overflow: auto;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #212529;
    color: #fff
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px 0;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    
}

.panel p {
    margin-top: 20px;
    padding: 20px;
    border-bottom: 1px dashed #eee;
    
}

.accordion div.value {
    float: right;
    display: block;
}

button:focus {
    outline: 0;
}

/* METER */

.outer-wrapper {
  display: inline-block;
/*
  margin: 5px 15px;
  padding: 25px 15px;
*/
  background: #eee;
  min-width: 20px;
    margin-left: 20px;
}

.column-wrapper {
  height: 50px;
  width: 30px;
  background: #CFD8DC;
/*  transform: rotate(180deg);*/
  margin: 0 auto;
  position: relative;
}

.column {
  width: 30px;
  height: 0%;
  background: #90A4AE;
    position: absolute;
    bottom: 0;
}

.column_optimal {
  width: 28px;
  height: 25px;
  left: 1px;
  position: absolute;
  border-top: 1px dashed #eee;
    bottom: 0;
}


.rating_space {
    float: left;
    margin-top: 30px;
    width: 50%;
}

@media screen and (max-width:768px){
    .rating_space {
        float: none;
        width: 100%;
        padding-right: 45px;
    }
}


/* END WINE PAGE */

/*
.company section:after {
  content: "";
  position: absolute;
  top: -30%;
  right: -200%;
  width: 50%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient( to right, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.06) 77%, rgba(255, 255, 255, 0.25) 92%, rgba(255, 255, 255, 0.0) 100%);
  animation: shine infinite;
  animation-duration: 4s;
}

@keyframes shine {
  to {
    opacity: 0.2;
    right: 210%;
  }
}
*/

.company section {
  width: 100%;
  margin: 0 auto;
  line-height: 0;
  position: relative;
  overflow: hidden;
}
.company section img {
    margin-top  50px;
    width: 100%;

}
.company section article {
  position: absolute;
  top: 0;
  width: 100%;
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  mix-blend-mode: lighten;

}
.company section div {
  background: black;
  height: 40.3vw;
}
.company section div:nth-of-type(2) {
  grid-column: 2 / 4;
}

.company .description {
    margin-top: 50px;
    padding: 0 20px;
}


