/* No client styles yet. */

* {
  outline: none;
}

*, body {
  box-sizing: border-box;
  font-family: Geist;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #232323;
  caret-color: #ffffff;
}

div {
  display: block;
}

span {
  overflow-wrap: break-word;
  line-break: after-white-space;
  white-space: pre-wrap;
}

.GBContainer {
  display: flex;
  flex-direction: row;
  
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
}

@media (max-width:1200px){
	.GBContainer{
		padding-left: 25px!important;
		padding-right: 25px!important;
	}
}
@media (max-width:991px){
	.GBContainer{
		padding-left: 25px!important;
		padding-right: 25px!important;
	}
}

.GBContextMenu {
  position: absolute;
	width: 100%;
	max-width: 291px;
	padding:16px;
	max-height:300px;
	overflow-y:auto;
	border-radius: 12px;
  /* top: 182px;
  left: 60px; */
  overflow-x: hidden;
  border:1px solid rgba(109, 109, 109, 0.17);
	background-color:#222222;
	z-index: 3;
  display: none;
}

.GBContextMenu::-webkit-scrollbar {
  width: 4px;
} 
.GBContextMenu::-webkit-scrollbar-thumb {
  background-color:#D9D9D9;
  border-radius: 12px;
}

.GBContextMenu p {
	margin:0px;
	letter-spacing: -0.02em;
	color:rgba(255,255,255,.2);
	font-size: 14px;
	line-height: 14px;
	font-weight: 500;
	margin-bottom: 12px;
}

.GBContextMenu ul {
	padding:0px;
	list-style-type: none;
	margin:0px;
	margin-bottom: 12px;
}

.GBContextMenu ul li >a:hover{
	color:rgba(206,206,206,1);
}
.GBContextMenu li {
	position: relative;
}

.GBContextMenu ul li >a .txt{
	transition:.3s ease all;
}
.GBContextMenu ul li >a.current .txt{
	color:#CECECE;
}
.GBContextMenu li:before{
	content:"";
	position: absolute;
	right:0px;
	width: 6px;
	top:50%;
	transform:translateY(-50%);
	height: 8px;
	background:url('/assets/currentpointer.svg');
	background-repeat: no-repeat;
	background-size: 6px;
	background-position: center;
	transition:.3s ease all;
	opacity:0;
}

.GBContextMenu ul >li.current>a{
	color:#CECECE;
}

.GBContextMenu li.current:before{
	opacity:1;
}

.GBContextMenu ul >li:last-child{
	margin-bottom: 0px;
}

.GBContextMenu ul >li{
		margin-bottom: 14px;
}

.GBContextMenu ul li >a{
	position: relative;
	width: 100%;
	overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: -0.02em;
	color:rgba(206, 206, 206, .4);
	font-weight: 500;
	transition:.3s ease all;
}

.GBContextMenu .spacer {
	margin:19px 0px;
	height: 1px;
	width: 100%;
	background-color:#353535;
}

.GBContextMenu .create-page {
  padding-top: 16px;
}

.GBContextMenu .create-page >a{
  position: relative;
  z-index: 2;
  
  color:rgba(206, 206, 206, 0.7);
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
  width: 100%;
  display: block;
  & .icon{
    min-width: 20px;
    margin-right: 2px;
  }
}

.GBContextMenu .tree {
  padding-left: 22px;
	position: relative;
}

.tree ul li{
	position: relative;
  margin-bottom: 10px;
}

.tree ul li.subtitle{
	left: -18px;
}

.tree ul li.subtitle a{
  color:rgba(206,206,206,1);
}

.tree ul li.subtitle .var a{
  color:#D97657;
}

.tree ul li.var a{
	color:#D97657;
  opacity:0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree ul li.var a:hover{
	color:#D97657;
  opacity:1;
}

.tree ul li.line:hover:after{
	background-color:#D97657;
}

.tree ul li.line:after{
	content:"";
	position: absolute;
	top:50%;
	transform:translateY(-50%);
	left:-15px;
	width: 	9px;
	height: 1.5px;
	transition:.15s ease all;
	background-color:#4B4B4B;
	pointer-events: none;
}

.tree .progress .active.visible{
	opacity:1;
}

.tree .progress .active{
	position: absolute;
	left:0px;
	top:0px;
	opacity:0;
	transition:.3s ease opacity;
	width: 100%;
	background-color:#D97657;
}

.tree .progress{
	position: absolute;
	left:6px;
	top:0px;
	height: calc(100% - 6.3px);
	width: 1px;
	background-color:#4B4B4B;
}

.tree ul li a .var-name {
	color:#D97657;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree ul li a .var-value {
	color:#D97657;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree ul li a .var-value.empty {
	color:rgba(206, 206, 206, .5);
}

.tree ul li a .meta-value {
	color:#D97657;
}

.tree ul li a{
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	line-height: 14px;
}
.tree ul li{
	transition:.3s ease all;
}
.tree ul li.current{
	padding-right: 15px;
}

.GBTab {
  height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 15px;
  flex-shrink: 0;
  position: relative;
}

.GBTab::-webkit-scrollbar {
  width: 0px;
} 

.GBTab .closeLink{
	position: absolute;
  background-color: #232323;
	top:10px;
	right:15px;
	min-width: 30px;
	max-width: 30px;
	min-height: 30px;
	max-height: 30px;
	border-radius: 250px;
	display: 	inline-flex;
	align-items: center;
	border:1px solid rgba(255,255,255,.1);
	justify-content: center;
	transition:.3s ease all;
}
.GBTab .closeLink:hover{
	background-color:#2C2C2C;
}
.GBTab .closeLink img{
	max-width: 10px;
	min-width: 10px;
}

.GBTabPath{
	margin-bottom: 24px;
	padding-left: 18px;
}
.GBTabPath ul{
	display: flex;
	align-items: center;
	list-style-type: none;
	margin:0px;
	padding:0px;
	justify-content: flex-start;
}
.GBTabPath ul li>a{
	font-size: 12px;
	line-height: 16px;
	text-decoration: none;
	color:#727272;
	transition:.3s ease all;
}
.GBTabPath ul li>a:hover{
	opacity:.8;
}
.GBTabPath ul li{
	color:#727272;
	font-size: 12px;
	line-height: 16px;
}
.GBTabPath ul li.spacer{
	margin:0px 2px;
}
.GBTabPath ul li.spacer:nth-child(1){
	margin-left: 0px;
}

.GBTabMenuButton{
	position: absolute;
	top:0px;
	right: 0px;
}

.GBTabContent{
  position: relative;
}

.GBTabMenuButton>a.opened{
	background-color:#2C2C2C;	
}
.GBTabMenuButton>a:hover{
	background-color:#2C2C2C;
}

.GBTabMenuButton>a{
  transition:.3s ease all;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 54px;
	border:1px solid rgba(255,255,255,.1);
}

.GBTabResize{
	padding:0px 11px;
	height: 200px;
	top:50%;
	position: relative;
	transform:translateY(-50%);
	display: flex;
	cursor:grab;
	opacity:0;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.GBTabResize>span{
	min-width: 4px;
	height: 66px;
	background-color:rgba(255,255,255,.2);
	border-radius: 250px;
	cursor:grab;
	pointer-events: none;
}
.GBTabResize:hover{
	opacity:1;
}

.GBPageIcon{
	cursor:pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
  margin-bottom: 24px;
	padding-left: 15px;
}
.GBPageIcon>span:hover{
	border:1px solid rgba(109, 109, 109, 0.17);
	background-color:#383838;
}
.GBPageIcon>span{
	display: inline-flex;
	align-items: center;
	min-width: 42px;
	max-width: 42px;
	min-height: 42px;
	max-height: 42px;
	font-size: 30px;
	line-height: 30px;
	font-weight: 500;
	justify-content: center;
  border-radius: 4px;
	transition:.3s ease all;
	border:1px solid transparent;
	background-color:transparent;
}

.GBPageIcon.opened>span{
	border:1px solid rgba(109, 109, 109, 0.17);
	background-color:rgba(0,0,0,.08);
}

.GBTitle {
  margin-bottom: 12px;
  padding-left: 15px;
  min-height: 31px;
}

.GBTitle>span{
	font-size: 24px;
	line-height: 31px;
	color:#FFFFFF;
	font-weight: 500;
	opacity:1;
}

.GBTitle .GBTemplateVarUnit {
  color:rgba(80, 80, 80, 1);
}

.GBTitle>span>span{
	min-height:23px;
	display: inline-block;
	min-width: 20px;
	width: 100%;
}

.GBSubtitle {
  min-height: 21px;
  padding-left: 16px;
  margin-bottom: 26px;
  font-size: 14px;
	line-height: 18px;
	color:rgba(219, 219, 219, .5);
	font-weight: 400;
}

.GBSubtitle .GBTemplateVarUnit {
  color:rgba(80, 80, 80, 1);
  font-weight: 500;
}

.GBSubtitle >span>span{
	min-height: 16px;
	display: inline-block;
	min-width: 20px;
	width: 100%;
}

.GBBlock {
  position: relative;
  margin-bottom: 28px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 14px;
  padding-right: 15px;
}

.GBBlock::before{
  content: "";
	position: absolute;
  top:0px;
	left: 0px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	height: calc(100%);
	width: 5px;
	border-left:1px solid rgba(255,255,255,.1);
	border-top:1px solid rgba(255,255,255,.1);
	border-bottom:1px solid rgba(255,255,255,.1);
}

.GBBlockMenu {
  display: flex;
	width: calc(100% - 25px);
	position: absolute;
	left:14px;
	justify-content: space-between;
	align-items: center;
  bottom:-12px;
  opacity:0;
  transition:.3s ease opacity;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  white-space: nowrap;
}

.GBBlockMenu:hover{
  opacity:1;
  transition:.3s ease opacity;
}

.GBBlockMenu .new-page{
  position: relative;
	top:0px;
  display: flex;
	align-items: center;
	justify-content: flex-start;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
	color:rgba(185, 185, 185, .7);
}

.GBBlockMenu .new-page>a{
  display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
	color:rgba(185, 185, 185, .7);
}

.GBBlockMenu .new-page>a .icon{
	display: inline-flex;
	align-items: center;
	min-width: 20px;
	justify-content: center;
	margin-right: 4px;
	padding-right: 2px;
	position: relative;
	top:-1px;
}

.GBBlockMenu .new-page>a .arrow{
	min-width: 20px;
	max-width: 20px;
	min-height: 20px;
	max-height: 20px;
	margin-left: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 1px;
}

.GBBlockMenu .order-by{
  position: relative;
	top:0px;
  margin-left: 12px;
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.GBBlockMenu .order-by>a{
	display: inline-flex;
	width: auto;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
  color: rgba(185, 185, 185, .4);
}

.GBBlockMenu .order-by .description{
	overflow: hidden;
  text-overflow: ellipsis;
}

.GBBlockMenu .order-by .description .active{
	color: #B9B9B9;
}

.GBBlockMenu .order-by>a span.arrow{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 6px;
}

.GBTextItem{
  display: flex;
	flex-direction: row;
	align-items: flex-start;
  min-height: 30px;
	padding-bottom: 12px;
}

.GBTextItem:last-child{
	padding-bottom: 0px;
}

.GBTextItem>span{
	display: inline-block;
  font-size: 14px;
	line-height: 18px;
  font-weight: 400;
}

.GBTextItem.bullet{
  padding-left: 4px;
}

.GBTextItem.bullet>span{
  padding-left: 8px;
}

.GBTextItem.bullet::before {
  position: relative;
  top: -0.25px;
  content: "•";
  font-size: 14px;
  color:rgba(219, 219, 219, .7);
}

.GBTextItem .checkbox {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
}

.GBTextItem.has-checkbox .units {
  padding-left: 8px;
}

[type="checkbox"] {
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: middle;
  height: 14px;
  width: 14px;
  margin-top: 0px;
  margin-bottom: 3px;
  margin-left: 0px;
  margin-right: 0px;

  border-radius: 2px;
	border:1px solid rgba(255,255,255,.15);
	background-color: transparent;

  /* background-color: rgb(39, 39, 42);
  border: 1px solid rgb(82, 82, 91); */
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

[type="checkbox"]:checked {
  border-color: transparent;
  background-color: rgb(217, 118, 87);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

[type="checkbox"]:checked {
  /* This has to be separate, apparently. */
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.GBTextItem .units{
	color:#DBDBDB;
  display: inline-block;
  width: 100%;
}

.GBTextItem.h1 .units{
	font-size: 24px;
	color:#FFFFFF;
	line-height: 24px;
}
.GBTextItem.h1 .units{
	margin-bottom: 8px;
}
.GBTextItem.h1 .units:last-child{
	margin-bottom: 0px;
}

.GBTextItem.h2 .units{
	font-size: 20px;
	color:#FFFFFF;
	line-height: 26px;
}
.GBTextItem.h2 .units{
	margin-bottom: 8px;
}
.GBTextItem.h2 .units:last-child{
	margin-bottom: 0px;
}

.GBTextItem.h3 .units{
	font-size: 16px;
	color:#FFFFFF;
	line-height: 21px;
}
.GBTextItem.h3 .units{
	margin-bottom: 8px;
}
.GBTextItem.h3 .units:last-child{
	margin-bottom: 0px;
}

.GBImageItem {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  overflow: hidden;
}

.GBImageItem img {
  max-width: 100%;
  width: auto;
  height: auto;
  /* Sets space at the edges of the image for caret placement. */
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
}

.GBPageLinkItem {
  margin-top: 4px;
  margin-bottom: 4px;
  align-items: left;
  /* Creates space to the right of the
  item to click for placing caret. */
  padding-right: 4px;
}

.GBPageLinkItem,
.GBPageLinkItem *,
.GBPageLinkItem span,
.GBPageLinkItem strong {
  white-space: nowrap !important;
}

.GBPageLinkItem .content {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding-left: 4px;
  padding-right: 2px;
  padding-top: 1px;
  padding-bottom: 1px;
  line-height: 24.5px;
  border-radius: 4px;
  text-decoration: none;
}

.GBPageLinkItem .content:hover {
  background-color: rgb(39, 39, 42);
}

.GBPageLinkItem .content .title {
  flex: 0 1 auto;
  /* don't grow, but shrink if needed */
  margin-right: 20px;
  /* fixed gap between title and subtitle */
  min-width: 0;
  /* allows truncation */
  max-width: 75%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
	font-size: 14px;
	color:#D97657;
	font-weight: 400;
}

.GBPageLinkItem .content .subtitle {
  flex: 1 1 0;
  /* take leftover space, but also shrink */
  min-width: 0;
  /* allows truncation */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  font-size: 14px;
  color: #dbdbdb80;
}

.GBPageLinkItem .content .subtitle strong {
  color: #dbdbdbb3;
}

.GBVarItem{
  display: flex;
	justify-content: flex-start;
  min-height: 30px;
  width: auto;
  max-width: 100%;
  border-radius: 4px;
  border:1px solid rgba(121, 116, 126, 0.15);
  background-color:rgba(185, 185, 185, 0.05);
  font-size: 14px;
  transition:.3s ease all;
  padding:8px 10px;
}

.GBVarItem + .GBTextItem, .GBVarItem + .GBImageItem{
  /* Adds padding above an item div if there is
  a varItem above it. This is so margin-bottom
  doesn't need to be used on varItem, as it
  leads to a selectable gap between items in
  some browsers (Safari) */
  padding-top: 12px;
}

.GBVarItem + .GBVarItem{
  /* 
  TODO: Try and solve this
  Have to use margin for 2 varItem neighbors
  else the var item's border will grow.
  Is a selectable gap.
  */
  margin-top: 12px;
}

.GBVarItem.error{
	border-color:#D97657;
}

.GBVarItem .value.error{
	color:#D97657;
}

.GBVarItem.with__menu{
	padding-right: 10px;
	transition:.3s ease all;
	position: relative;
}

.GBVarItem:hover{
	background-color:#323232;
}
.GBVarItem.focused{
	background-color:#2B2B2B;
	border-color:#79747E4D;
}

.GBVarItem .name{
  display: inline;
	font-size: 14px;
	line-height: 18px;
	color:#D97657;
	font-weight: 500;
  overflow:hidden;
	text-overflow: ellipsis;
	width: auto;
	transition:.2s ease all;
  padding-left: 8px;
}

.GBVarItem .name::before {
  content: ">";
  position: absolute;
  left: 24px;
}

.GBVarItem .equals{
	display: inline;
  font-size: 14px;
	line-height: 18px;
	color:#D97657;
	font-weight: 500;
}

.GBVarItem .value{
	display: inline;
  color:#fff;
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
  overflow:hidden;
  text-overflow: ellipsis;
  width: auto;
  transition:.2s ease all;
}

.GBVarItem .value .error{
	color:#D97657;
}

.GBVarItem.edit-formula .value{
	display: none;
}

.GBVarItem .formula{
	display: none;
  /* color:#fff; */
  color:rgba(219, 219, 219, .5);
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
  overflow:hidden;
  text-overflow: ellipsis;
  width: auto;
  transition:.2s ease all;
}

.GBVarItem.edit-formula .formula{
	display: inline;
}

.GBWebLinkUnit {
  cursor: pointer;
  color: #d97657;
}

.GBDynamicValueUnit {
  background-color: rgb(63 63 70);
  color:rgba(219, 219, 219, .5);
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
}

.GBPageLinkUnit {
  color: rgb(217, 118, 87);
  cursor: pointer;
}

.GBPageLinkUnit:hover {
  background-color: rgb(39, 39, 39);
}

.GBTemplateVarUnit {
  color: #7d7d7d;
}

.GBEmptyUnit::before {
  content: "|";
  color: transparent;
}


/* Load fonts */
@font-face {
  font-family: Geist;
  src: url("/assets/GeistMono-Black-Hk7KGVEG-b6b0cf35.otf") format("opentype");
  font-weight: 900;
}

@font-face {
  font-family: Geist;
  src: url("/assets/GeistMono-Bold-CQLGs-T6-84d7e68b.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: Geist;
  src: url("/assets/GeistMono-Light-7BAwjr2N-151ea520.otf") format("opentype");
  font-weight: 300;
}

@font-face {
  font-family: Geist;
  src: url("/assets/GeistMono-Medium-UgCJKmq_-a00b386e.otf") format("opentype");
  font-weight: 500;
}

@font-face {
  font-family: Geist;
  src: url("/assets/GeistMono-Regular-k60172xs-a32e7870.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: Geist;
  src: url("/assets/GeistMono-SemiBold-CUzUstSh-9ab4682b.otf") format("opentype");
  font-weight: 600;
}

@font-face {
  font-family: Geist;
  src: url("/assets/GeistMono-UltraBlack-DqBNAOEG-1e860d17.otf") format("opentype");
  font-weight: 950;
}
