/*blue #1B9AE4 yellow #FECB60*/


html {
    Dt: env(safe-area-inset-top);
    Ct: env(safe-area-inset-bottom);
    Et: env(safe-area-inset-left);
    kt: env(safe-area-inset-right);
    overflow-x: hidden;
    overflow-y: scroll;box-sizing: border-box;
}
#top_bg {position:fixed;top:0;background:white;}
#brand {display:none;}

/*OVERRIDE Z-Style*/
#top_right, #body_right, #middlecontainer,#top_left, #body_left {background:none !important;background-image:none !important;}

.mobile {display:none;}

.center {text-align:center;}
a, a.link {  border-bottom: 0 !important;}

#brand {display:none;}

#block-zeropointwb-spinner {
    display: none; 
    position: fixed;
    background: black;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 44444;}
#spinner {    background: url(/sites/bluepassbook.com/files/images/bpspin.png) no-repeat;    background-size: cover;    height: 100px;    width: 100px;
    top: 50%;    position: absolute;    left: 50%;    margin-top:-50px;margin-left:-50px; color: transparent; animation: rotation 2s infinite linear;}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}


/*HOME PAGE BLOG LIST*/
.view-teasers .views-row {border:1px solid black;padding:20px;margin-bottom:40px;}
.view-teasers .teaser-image  {}
.view-teasers .field--name-node-title {font-size:24px;}
.view-teasers .post-date {font-style:italic;font-weight:bold;}
.view-teasers .field--name-node-link  {width:100px;margin:0 auto;background:blue;padding:20px 40px;border-radius:20px;border:1px solid black;}
.view-teasers .field--name-node-link  a {color:white;text-transform:uppercase;font-weight:bold;}
.view-teasers .group-left {width:65%;margin-right:2%;display:inline-block;}
.view-teasers .group-right {width:30%;display:inline-block;vertical-align:top;}

/*Form*/
input,textarea {max-width:90vw;}

.site-logo img {height:50px;}
#name-and-slogan {padding:15px !important;}
#top_bg {position:fixed;width:100%;top:0;background:white;z-index:4;}
.toolbar-fixed #top_bg {top:40px;}
#body_bg {margin-top:164px;padding-bottom: 50px;}
.toolbar-fixed #body_bg {margin-top:114px;}

.region-help {margin-top:30px;}

.notice {text-align:center;padding:10px 0px;background:#eee;font-style:italic;margin:10px 0 20px;}

#bottom_bg {   bottom: 0;    width: 100%;    background: black;    border-top: 1px solid yellow;}
#bottom_bg p,#bottom_bg .block-content a, #footer .block-content, #footer .block-content a, #menu2 a, #footer .block-title {   color:white !important; }
.column-center {text-align:center;}
.column-3 .views-row {display:inline-block;width:15%;margin:1%;vertical-align:top;text-align:center;}
.field--name-body .column-3 {width:29%;margin:1%;display:inline-block;vertical-align:top;text-align:center;}
.field--name-body .column-3 img {width:100%;}
.footer-left, .footer-middle, .footer-right {width:30%;display:inline-block;vertical-align:top;margin:1%;text-align:center;}
.footer {width:100%;}
#footer .footer .block-content .tbm a {color:black !important;}
 
#header .region-topreg {padding: 0 20px 0 0;}

/*TB Menu*/
#tbwb.block   ul.level-0 {background: #444;}
#tbwb.block ul.level-0 li a,#tbwb.block ul.level-0 li span.no-link {color:white;}
#tbwb.block ul.level-0 li a:hover, #tbwb.block ul.level-0 li:hover a {color:black;}
#menu {clear:both;}

/*VIDEO*/
.node--type-video {min-height:700px;}
.field--name-field-video {position:absolute;}
.field--name-field-video-loop {position:absolute;display:none;}
.field--name-field-video-reference {    position: absolute;    display: none;
    margin-top: 60px !important;    height: 360px;    background: rgb(0, 0, 0, .5);    width: 640px;}
.field--name-field-video-reference a {color:white;padding:10px 20px;display:block;}
.vidref {color:white;padding:5px 10px;cursor:pointer;}

/*CHAT BOT*/
html .chat {
	font-family: Arial, sans-serif;
	font-size: 16px;
}

body.chat {
	min-height: 100vh;
	background: #ffffff;
	background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(47%, rgba(246, 246, 246, 1)), color-stop(100%, rgba(237, 237, 237, 1)));
	background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
	background: -o-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
	background: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
	background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1);
}

.chat h2,
.chat h3 {
	margin: 0;
	padding: 0;
}

h1 {}

.chat h2 {
	font-size: 1rem;
	font-weight: 400;
}

.chat hr {
	margin: 15px 0;
}

.bg-dark {
	background: hsl(231, 50%, 50%);
}

 .bg-light {
	background: hsla(231, 10%, 90%, 0.8);
}

.text-light {
	color: #f0f0f0;
}

.align-center {
	text-align: center;
}
.chat.toolbar-fixed #top_bg {display:none;}

/*** NAV ***/

nav#nav-container {
	background: #f0f0f0;
	padding: 15px;
	position: absolute;
	z-index: 1;
	right: 0;
	top: 0;
	box-sizing: border-box;
}

ul.nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-link {
	padding: 2px 0;
	margin: 8px 0;
	font-size: .9rem;
	position: relative;
	padding-left: 40px;
}

.nav-link > span {
	margin-right: 10px;
	position: absolute;
	left: 0;
}


a,
button,
.link,
.nav-link {
	cursor: pointer;
}

.btn-transparent {
	border: 0;
	background: 0;
}

.btn-icon {
	font-size: 1.5rem;
	width: 100%;
}

/**************************/

/*** Display fake phone ***/

/**************************/

#phone-wrapper {
	margin: 50px auto;
	background: url("https://cdn.pixabay.com/photo/2017/06/17/10/39/cell-phone-2411808_960_720.png") 0 0;
	/*background: url("https://cdn.pixabay.com/photo/2017/06/17/10/39/cell-phone-2411808_960_720.png") -418px 0px;*/
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 363px;
	height: 720px;
	position: relative;
	overflow: hidden;
}

#app {
	background: #ffffff;
	background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
	position: relative;
	top: 47px;
	left: 19px;
	height: 608px;
	width: 325px;
	display: grid;
	grid-template-rows: 50px 1fr auto;
}

/*** Start Chat overlay ***/

div#landing {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 15px;
	display: grid;
	grid-template-rows: 1fr 1fr 1fr;
	text-align: center;
}

span.fas.fa-robot {
	align-self: end;
}
.starting {color:transparent;}
.post-user:first-of-type {display:none;}
input#username {
	font-size: 1.1rem;
	line-height: 2.5rem;
	text-align: center;
	border-radius: 5px;
	border: solid 1px #00000087;
	margin: 15px 0;
	width: 100%;
}

form#form-start {
	align-self: end;
}

#start-chat {
	background: #FF9800;
	border: none;
	padding: 15px 30px;
	font-size: 1.2rem;
	color: #ffffff;
	border-radius: 5px;
	width: 100%;
}

/********************/

/*** Main chat UI ***/

/********************/

.node-594 #header,
.node-594 #form {
	display: grid;
	grid-template-columns: 50px auto 50px;
	align-items: center;
}

.node-594 #header {
	padding: 6px;
}

/* Conversation */

#message-board {
	display: grid;
	align-self: end;
	grid-auto-rows: minmax(min-content, max-content);
	padding: 5px 0;
	box-sizing: border-box;
	max-height: 100%;
	overflow-x: hidden;
	overflow-y: scroll;
}

.post {
	position: relative;
	margin: 4px 10px;
	padding: 10px;
	border-radius: 10px;
	font-size: .9rem;
	word-break: break-word;
}

.post-user {
	justify-self: left;
	margin-right: 50px;
	background: rgba(255, 152, 0, 0.1);
	/*border-top-left-radius: 0;*/
}

.post-bot {
	justify-self: right;
	margin-left: 50px;
	background: rgba(64, 83, 191, 0.1);
	/*border-top-right-radius: 0;*/
}

.post:after {
	content: '';
	position: absolute;
	right: -10px;
	top: 10px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-top: 0;
}

.post-user:after {
	left: -10px;
	border-right-color: rgba(255, 152, 0, 0.1);
	border-left: 0;
}

.post-bot:after {
	right: -10px;
	border-left-color: rgba(64, 83, 191, 0.1);
	border-right: 0;
}

.timestamp {
	font-size: .6em;
	opacity: .4;
	margin: 5px 0 -5px;
	display: block;
}

/* Chat Form */

#form {
	padding: 6px;
	/*min-height: 40px;*/
	grid-template-rows: auto 1fr;
}

#emoijis {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	padding: 5px;
	grid-gap: 5px;
	margin-bottom: 5px;
}

#message {
	padding: 5px;
	font-size: 1rem;
	min-height: 25px;
	max-height: 25vh;
	overflow: auto;
	background: rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, 0.29);
	font-style: italic;
	outline: none;
	resize: none;
}

#form.focus {
	background: rgba(255, 152, 0, 0.1);
}

#message.focus {
	background: rgba(255, 255, 255, 0.5);
}

/* Custom Scrollbar */

::-webkit-scrollbar {
	width: 5px;
}

::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background: hsl(231, 50%, 50%, 10%);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: #b30000;
}

/***************/

/*** Credits ***/

/***************/

.credits {
	text-align: center;
	font-size: small;
	color: #b2b2b2;
}

.credits a {
	color: inherit;
}

@media screen and (max-width:1042px) {
	.clearfix::after {display:none;}
	#header .region-topreg {float:none;width:100%;}
	.region-header {width:100%;float:none;}
	#body_bg {margin-top:140px;}
	.mobile-hide {display:none;}
	.site-logo .logoimg {float:none;}
	a.site-logo {    display: block;    margin: 0 auto;    width: 200px;}
	#name-and-slogan {padding:0 !important;text-align:center;}
}

@media screen and (max-width:1024px) {
	/*TB Menu*/
	#tbwb.block   ul.level-0 {background: initial;}
	#tbwb.block ul.level-0 li a,#tbwb.block ul.level-0 li span.no-link {color:initial;}
	#tbwb.block ul.level-0 li a:hover, #tbwb.block ul.level-0 li:hover a {color:initial;}
	#pgwp #top_bg {background:white !important;}
}

@media screen and (max-width:890px) {
    .column-3 .views-row {    display: inline-block;    width: 25%;  margin: 3%;    vertical-align: top;    text-align: center;  box-shadow: 2px 3px 5px #202020;  background:white;}
}

@media screen and (max-width:769px) {
	 /*APP width*/
	 #tbwb {display:none;}
	 .mobile {display:block;}
	 .region-topreg {}
	 #top_bg {position:relative;}
	 #bottom_bg {position:fixed;z-index:5;}
	 .node-video #pgwp #top_bg {display:none;}
	  .node-video video {width:100%;height:auto;}
     #middlecontainer {margin:0 !important;}
     #pgwp #top_bg {}
     #main {margin:15px !important;}
     .footer-left, .footer-middle, .footer-right {display:none;}
	 
     .region-header {}
     #name-and-slogan {}
      
     h1.page-title {text-align:center;color:black;}
     #body_bg {border:0 !important;margin-bottom:50px;}
         
	/*Main page views rows*/
	.view-teasers .group-left,.view-teasers .group-right {width:100%;margin:20px 0;}
	
	/*TB MENU*/
	.tbm.tbm--mobile .tbm-collapse {    position: fixed;    top: 0;    height: 100vh;    left: 0;overflow:scroll;}
	.tbm.tbm--mobile .tbm-button {    z-index: 5555;     position: relative;}
		
     /*shop*/
     .cart-block--summary__count {display:none;}
    .view-products.view-display-id-page_1 .views-row {width:90%;} 
    .view-products.view-display-id-page_1 .field--name-field-media {width:40%;float:left;}
    .view-products.view-display-id-page_1 .field--name-price{
    width: 50%;
    padding: 0;
    float: right;}
    .view-products.view-display-id-page_1 .field--name-title{
    width: 50%;
    padding: 0;
    float: right;}
    .view-products.view-display-id-page_1 .field--name-body{
    width: 50%;
    padding: 0;
    float: right;}
    .view-products.view-display-id-page_1 .field--name-variations{
    width: 50%;
    padding: 0;
    float: right;}
    .cart-block--contents.is-outside-horizontal {}
}

@media screen and (max-width:550px) {
    .toolbar-fixed #top_bg {top:0px;}
    .view-location-qr .views-row {width:90%;font-size:20px;}
    .view-location-qr .views-field-title-1 {font-size:20px;}
    .view-location-qr .views-field-nid {line-height:50px;padding-left:0;}
    /*User Login*/
    #block-zeropointwb-userlogin {text-align:center;}
    #block-zeropointwb-userlogin input {width:90%;margin:10px auto;}
    body.logged-out.qr-scanner #block-zeropointwb-qrscannernotic3 {text-align:center;}
    #block-zeropointwb-userlogin .item-list li {display:none;}
}

@media screen and (max-width:475px) {     
     
}

