section{
	margin:0 10px;
}
article[class^=col]{
	margin:0;
}
article,
section,
.col,
.col2,
.col3,
.col4{
	clear:both;
	width:auto;
	float:none;
}
.col:not(article),
.col2:not(article),
.col3:not(article),
.col4:not(article){
	margin:0 10px;
}

.right {
	float: none;
}
.left {
	float: none;
}

h1{
	padding:20px 0;
	font-size:2rem;
	margin: 0 10px;
}
h2{
	padding:10px 0;
	margin: 0 10px;
}
.btn{
	font-size:1.2rem;
	margin: 0 10px 0 10px;
}
label{
	width:auto;
	text-align:left;
}
.fancy-select,
input[type="text"],
input[type="password"]{
	display:block;
	clear:both;
	margin-left:0;
}

header{
	height:10rem;
	top:0;
	position: sticky;
	z-index: 100;
    width: -webkit-fill-available;
}

.top-layer{
	display: block;
}

.top {
	width: auto;
}

.top .lang{
	position: fixed;
	right: 0.5rem;
}

.top .lang_popup{
	display: flex;
	right: 0.2rem;
	top: -0.8rem;
}

.top .contact,
.top .account{
    display: none !important;
}

header nav{
	position:fixed;
	z-index:99;
	top:3.3rem;
	left:0;
	right:0;
	width:auto;
	margin:0;
	padding:10px;
	background:url(../images/header_bkg.png) 0 100% repeat-x;
}
header nav a{
	padding:0;
	border: 0;
}

header nav div{
	clear:both;
	overflow-y:scroll;
	max-height:0;
	opacity:0;
	padding:1rem;
	background:#fff;
	box-shadow:-3px 3px 20px 0px #a1a1a1;
	transition:max-height 0s ease .3s, opacity .3s;
}

header nav ul {
	overflow-y: scroll;
}

header nav ul img{
	padding: 10px;
}
.fr {
	float: none !important;
}

header div a{
	display:block;
	clear:both;
	height:auto;
	line-height:3rem;
	font-size:1.6rem;
	color:#a1a1a1;
	text-align:left;
}

header nav ul a {
    float: none !important;
	height: unset;
    padding: unset;
}

header nav label[for=mobile_menu]{
	display:block;
}
header nav #mobile_menu{
	width:0;
	height:0;
	opacity:0;
	float:right;
}
header nav #mobile_menu:checked ~ div{
	max-height:90vh;
	opacity:1;
	transition:max-height 0s, opacity .3s;
}
header nav label[for=mobile_menu]{
	width:3rem;
	height:3rem;
	padding:.5rem;
	display:inline-block;
	float:right;
	line-height: 5.5rem;
}
header nav label[for=mobile_menu] img{
	width:3rem;
}
header nav .account_mobile_menu{
	display:block;
	font-size:1.4rem;
	line-height:2rem;
}

#account_submenu > .account_mobile_menu {
	padding-bottom:.5rem;
}

footer.form{
	margin-left:0;
}

.download h2 img {
    padding-left:0;
}

.exposed,
.exposed article{
	height:auto;
}
.exposed li{
	font-size:1.2rem;
}
#exposedFader img{
	height:100%;
}
.packets article{
	padding-bottom:30px;
}
.packets article:last-of-type{
	padding-bottom:10px;
}
.packets h2{
	padding-top:0;
}
.packets p{
	height:auto;
	padding-bottom:20px;
	margin: 0 10px;
}
.packets ul{
	height:auto;
	padding-bottom:20px;
	margin: 0 10px;
}
.packets aside{
	text-align:right;
	padding:0 10px 30px
}

.gallery section img{
	width:calc(50vw - 25px);
	height:auto;
	margin:0 0 0 10px;
}
.gallery section img:nth-of-type(odd){
	clear:left;
	margin:0 0 10px 10px;
}
#galleryPopupLeft,
#galleryPopupRight{
	top:auto;
	bottom:0;
	width:25vw;
	height:25vw;
}
#galleryPopupSlider img{
	margin-top:-12.5vw;
}

.hardware article,
.support article,
.features article{
	width:calc(90vw + 15px);
}

.hardware article div,
.support article div,
.features article div{
	width:auto;
}
.support article div,
.features article div{
	margin: 0 10px;
}

.support article img,
.hardware article .image,
.hardware article .img,
.features article img{
	float: none !important;
	margin:0;
	position: relative;
	width: calc(100% - 20px);
  	/*text-align: center;*/	
}

.hardware article .text{
	width: calc(100% - 40px);
	margin-bottom: 20px;
}

.hardware nav a,
.features nav a{
	display:block;
}

.pos_systems article .price{
	display:block;
	float:none;
	font-size:1.6rem;
}
.pos_systems article .btn{
	margin-bottom:20px;
	margin-left: 0;
}

.compare table{
	table-layout:fixed;
	margin:40px 5px 10px;
}
.compare table h2{
	font-size:1.4rem;
}
.compare table th:not(:first-child){
	transform:rotate(-90deg);
	padding:0;
}
.compare table th:not(:first-child),
.compare table td:not(:first-child){
	width:51px;
}
.compare table th img{
	width:90px;
}
.compare .yes:before{
	margin-left:0;
}

#contactMap{
	height:50vh;
	width: auto;
    margin: 0 10px 0 10px;
}

.account{
	margin:0 10px;
}
.account nav{
	display:none;
}

.account table tr{
	display:block;
	clear:both;
}
.account table th,
.account table td{
	display:block;
	float:left;
	width:33%;
	padding:0;
	line-height:2rem;
}
.account table thead{
	border-bottom:1px solid #a1a1a1;
}
.account table th{
	border:0;
}
.account table td:first-child{
	clear:left;
}
.account table td:last-child{
	float:right;
	padding-bottom:10px;
}
.account article h2 + h1{
	margin-top:-30px;
}
.account table.users th,
.account table.users td,
.account table.user_groups th,
.account table.user_groups td{
	width:50%;
}
.footer_padding{
	height:15px;
}
#footer {
	position:static;
	padding: 0 10px 20px;
}
#footer div{
	width:auto;
	margin:0 10px;
	padding-top:10px;
}
#footer ul{
	float:none;
	margin:0;
}
#footer ul:nth-child(4){
	padding-left:0;
	border-left:0;
}
#footer li{
	padding-bottom:5px;
}
#footer li:first-child{
	padding-bottom:10px;
	padding-top:10px;
	font-size:1.6rem;
}
.hardware .navigation li {
    width: 25%;
}
.features .navigation{
	display: block;
}

.instructions {
	padding-top: 0px;
}
.instructions nav {
	display: none;
}
.instructions-container {
	padding-top: 10px;
}

#search-page-results {
	padding: 10px;
}
#search-input-group {
	width:92vw;
}

#imageGalleryPopup{
	position:fixed;
	z-index:999;
	top:0;
	width:100%;
	height:0;
	opacity:0;
	background:rgba(0,0,0,.8);
	transition:height .2s ease-in, opacity .2s ease-in;
	overflow:hidden;
}
#imageGalleryPopup.active {
	height:100%;
	opacity:1;
}
#imageGalleryPopupSlider {
	position:relative;
	width:100vw;
	height:100vh;
	overflow:hidden;
	transition:left .3s ease-in-out;
	left:0;
	transform:translate3d(0, 0, 0);
}
#imageGalleryPopupSlider div {
	width:100vw;
	height:100vh;
	position:absolute;
	top:0;
	left:0;
	display:flex;
  align-items:center;
  justify-content:center;
}
#imageGalleryPopupSlider img {
	max-width:80vw;
	max-height:80vh;
	border-right:15px solid transparent;
}
#imageGalleryPopupLeft:hover,
#imageGalleryPopupRight:hover {
	background:rgba(0,0,0,.5);
}
#imageGalleryPopupLeft:active,
#imageGalleryPopupRight:active {
	background:rgba(0,0,0,.7);
}
#imageGalleryPopupLeft {
	left:0;
}
#imageGalleryPopupRight {
	right:0;
}
#imageGalleryPopupLeft:before,
#imageGalleryPopupRight:before {
	color:#fff;
	font-size:4rem;
}
#imageGalleryPopupLeft:before {
	content:"«";
}
#imageGalleryPopupRight:before {
	content:"»";
}
#imageGalleryPopupLeft, #imageGalleryPopupRight {
    top: auto;
    bottom: 0;
    width: 25vw;
    height: 25vw;
}

