﻿html, body {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    height: 100%;
    font-size: 12pt;
    scrollbar-base-color: #333333;
    scrollbar-highlight-color: #333333;
    scrollbar-track-color: #252525;
    scrollbar-arrow-color: #333333;
    scrollbar-shadow-color: #252525;
    user-drag: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-corner,
::-webkit-scrollbar-track {
    background-color: rgb(64, 64, 64);
}

::-webkit-scrollbar-thumb {
    background-color: rgb(96, 96, 96);
    background-clip: padding-box;
    border: 2px solid transparent;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: rgb(112, 112, 112);
    }

    ::-webkit-scrollbar-thumb:active {
        background-color: rgb(128, 128, 128);
    }

/* Buttons */
::-webkit-scrollbar-button:single-button {
    background-color: rgb(64, 64, 64);
    display: block;
    background-size: 10px;
    background-repeat: no-repeat;
}

/* Up */
::-webkit-scrollbar-button:single-button:vertical:decrement {
    height: 12px;
    width: 16px;
    background-position: center 4px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,00 0,50 100,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='50,00 0,50 100,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:decrement:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='50,00 0,50 100,50'/></svg>");
}

/* Down */
::-webkit-scrollbar-button:single-button:vertical:increment {
    height: 12px;
    width: 16px;
    background-position: center 2px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,0 100,0 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:increment:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,0 100,0 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:increment:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 100,0 50,50'/></svg>");
}

/* Left */
::-webkit-scrollbar-button:single-button:horizontal:decrement {
    height: 12px;
    width: 12px;
    background-position: 3px 3px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,50 50,100 50,0'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,50 50,100 50,0'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:decrement:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,50 50,100 50,0'/></svg>");
}

/* Right */
::-webkit-scrollbar-button:single-button:horizontal:increment {
    height: 12px;
    width: 12px;
    background-position: 3px 3px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,0 0,100 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,0 0,100 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:increment:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 0,100 50,50'/></svg>");
}


.ui-field-contain {
    border-bottom-width: 0px;
}

:focus {
 -moz-box-shadow: none !important;
 -webkit-box-shadow: none !important;
 box-shadow: none !important;
 outline-color: transparent;
 outline: none;
 outline: 0;
 border-color: #ddd;
 text-decoration:none;
}

.ui-btn:focus,
.ui-btn.ui-focus{
 -moz-box-shadow: none !important;
 -webkit-box-shadow: none !important;
 box-shadow: none !important;
 outline-color: transparent;
 outline: none;
 border-color: #ddd;
 text-decoration:none;
 border: none;
}

input[type="button"]:focus { outline : none; }

.ui-focus {
 -moz-box-shadow: none !important;
 -webkit-box-shadow: none !important;
 box-shadow: none !important;
 outline-color: transparent;
 outline: none;
 border-color: #ddd;
 text-decoration:none;
}

img {
     pointer-events: none;
     user-drag: none;
}

.insertCardFromRightTerminal{
    position: absolute; 
    top: 209px; 
    right: 50px; 
    width: 710px
}

.insertCardFromRightCard {
    position: absolute;
    width: 150px;
    top: 378px;
    right: 357px;
    transform: rotate(90deg) skew(0deg, 4.5deg);
    -moz-border-radius: 11px;
    border-radius: 6px;
}

.insertCardFromRightText{
    position: absolute;
    top: 463px;
    left: 50px;
    width: 380px;
    font-size: 26pt;
    text-align: center;
}


.insertCardFromLeftTerminal{
    position: absolute; 
    top: 209px; 
    left: 50px; 
    width: 710px
}

.insertCardFromLeftCard {
    position: absolute;
    width: 150px;
    top: 378px;
    left: 357px;
    transform: rotate(90deg) skew(0deg, -4.5deg);
    -moz-border-radius: 11px;
    border-radius: 6px;
}

.insertCardFromLeftText{
    position: absolute;
    top: 463px;
    right: 50px;
    width: 380px;
    font-size: 26pt;
    text-align: center;
}

.perspectiveDiv{
    perspective:750px; 
    position: relative; 
    left: 0; 
    top: 0;       
}

.reader{
    position: relative;
    top: 0;
    left: 0;
}

.card {
    position: absolute;
    left: 60px;
    top: -220px;
    transform: rotateX(60deg);
    max-width: 200px;
    box-shadow: 0px 40px 20px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
}

.cardGradient {
    position: absolute;
    left: 0px;
    top: -170px;
    transform: rotate(270deg) rotateY(60deg);
    max-width: 320px;
}

h2 {
    margin-bottom: 15px;
}

.content {
    height: 100%;
    width: 100%;
    overflow-y: hidden;
}

/* Home - Header*/
.home-header {
    height: 100px;
    min-height: 100px;
    width: 100%;
    position: relative; 
    display: block;
}

.home-header .content-header {
    float: right;
    margin: 14px 0 0 0;
    /*cursor: pointer;*/ 
    padding-right: 20px;
}

.SectionTitle {
    font-weight: 200;
    font-size: 20pt;
    letter-spacing: 0.01em;
    line-height: 22pt;
    position:fixed;
    left: 20px;
    top: 20px;
}

.home-header .content-header .logo {
    display: none;
}

.user-info {
    float: left;
    margin: 5px 10px 0;
    text-align: right;
}

.user-info .user-name {
    font-weight: 200;
    font-size: 20pt;
    letter-spacing: 0.01em;
    line-height: 22pt;
    display: block;
    margin: 0;
}

.user-info .balance {
    font-weight: 400;
    font-size: 18pt;
    line-height: 11pt;
    display: block;
    margin-top: 10px;
}

.user-img-div {
    float: right; 
    border: 1px #ccc solid; 
    width: 56px; 
    height: 70px; 
    overflow: hidden; 
    position: relative;
}

.user-img-div .user-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
}

.header-img {
    max-height: 65px;
    max-width: 195px;
}

.positivebalance {
    color: #25A750;
}

.negativebalance {
    color: #E74C3C;
}

 .ActionsButton {
     display: inline-block; 
     
}

  .ActionsButton .ButtonImage {
      float: left;

}

  .ActionsButton .ButtonText {
      float: left;
      padding-top: 14px;
      padding-left: 20px;
      padding-right: 15px;
 
      overflow: initial;
}

  .ButtonShadowDisabled {
      box-shadow: 0px 0px 0px 0px #25A750;
  }

  div[data-role="content"] {
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    margin-left: 15px;
}

/* Home - Footer*/

.EjectButtonDiv {
    padding-left: 5px;
    padding-right: 2px;
}

#ejectButton {
    background-color: #732719;
    text-shadow: none;
    font-weight: bold;
}

.PrintButtonDiv {
    padding-left: 2px; 
    padding-right: 5px
}

.printbutton_bg {
    background-color: #125428 !important;
    text-shadow: none !important;
    font-weight: bold;
}

.FooterButton {
    max-width: 100%;
}

#CashlessAddDiv {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 500px;
    display: none;
}

#CashlessAddImage {
    margin-top: 5px;
    width: 500px;
}

#CashlessAdText {
    width: 400px;
    color: #929392;
    margin-left: auto;
    margin-right: auto;
}

/* Transactions*/

.TransactionsMainDiv {
    padding-right: 30px;
}

.DateSelection {
    text-align: center; 
    
}

.DateSelection .PreviousButton {
    padding: 8px; 
    margin-right: 0;
}

.DateSelection .NextButton {
    padding: 8px; 
}

.DateSelection .CurrentDate {
    padding-right: 15px; 
    padding-left: 15px;
}

.Pagination {
    display: none;
    margin-top: -8px;
    margin-right: -10px;
    text-align: center;
    float: right;
}

.Pagination .PreviousButton {
        padding: 8px;
        margin-right: 0;
    }

.Pagination .NextButton {
        padding: 8px;
    }

.transactionsForPeriodDiv {
    /* padding-top: 5px;*/
    box-sizing:border-box;
    margin-bottom: 5px;
    width: 100%;
    margin-bottom: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(0, 0, 0, .2);
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
}

.costCentersdDiv {
    /* padding-top: 5px;*/
    box-sizing:border-box;
    max-height: 200px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(0, 0, 0, .2);
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
}

.PeriodSelection {
    margin: 20px auto;
    width: 300px;
}

/*hiding the scrollbar*/

#TransactionsForPeriod::-webkit-scrollbar-thumb{
    background-color:#B03C3F;
    border-radius:10px;
}

#TransactionsForPeriod::-webkit-scrollbar-thumb:hover{
    background-color:#BF4649;
    border:1px solid #333333;
}

#TransactionsForPeriod::-webkit-scrollbar-thumb:active{
    background-color:#A6393D;
    border:1px solid #333333;
} 

/*Transactions for period*/

.transactionsForPeriod{
    margin: 0 15% 10px 0; 
    border-style: solid;
    border-color: grey;
    border-width: 1px;
}

.transactionDescription {
	float: left;
    padding-left: 10px;
}
.transactionAmount {
	float: right;
    text-align: right;
    padding-right: 10px;
}

.transactionDate {
    float:right;
    padding-right: 10px;
    float: right;
    clear: right;
}

.transactionsForPeriodTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.transactionsForPeriodTable th,
.transactionsForPeriodTable td {
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
}

.transactionsForPeriodTable td:nth-child(1),
.transactionsForPeriodTable th:nth-child(1) {
    min-width: 133px;
}

.transactionsForPeriodTable td:nth-child(2),
.transactionsForPeriodTable th:nth-child(2) {
    min-width: 133px;
    max-width: 133px;
    overflow-x: hidden;
}

.transactionsForPeriodTable td:nth-child(3),
.transactionsForPeriodTable th:nth-child(3) {
    min-width: 221px;
}

.transactionsForPeriodTable thead tr {
    display: block;
    position: relative;
}

.transactionsForPeriodTable tbody {
    display: block;
    overflow: auto;
    width: 100%;
    height: 620px;
    border: 0;
    padding: 0;
}

/* User Infos */

.userInfos {
    padding-top: 20px;
    padding-right: 20px;
    height:800px;
    overflow-y: auto;
    overflow-x: hidden;
}

.userInfos .Group {
    margin-bottom: 20px;
}

.userInfos .Group .GroupContent {
    margin: 0 0 0 0;
    padding: 0;
}

.userInfos .Group .GroupContent .PropertyName {
    padding-left: 13px;
    padding-right: 50px;
    width: 180px;
}

.custom-corners .ui-bar {
    -webkit-border-top-left-radius: inherit;
    border-top-left-radius: inherit;
    -webkit-border-top-right-radius: inherit;
    border-top-right-radius: inherit;
}
.custom-corners .ui-body {
    border-top-width: 0;
    -webkit-border-bottom-left-radius: inherit;
    border-bottom-left-radius: inherit;
    -webkit-border-bottom-right-radius: inherit;
    border-bottom-right-radius: inherit;
}

[data-role="navbar"] ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Website */

.FrameContainer {
    position: relative;
    margin-left:-15px;
}

.FrameContainer .Frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    overflow:auto;
    -webkit-overflow-scrolling:touch;
}

/* General */

.pagecontent {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin-top: 20%;
}

#pagecontent img {
    display: block;
    margin: 0 auto;
    max-width: 350px;
}

.textContent {
    display: none;
}

.contentMessage {
    font-size: 16pt; 
    text-align: center;
    position: absolute; 
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.wrapper {
    margin: 0 auto;
    overflow: hidden;
    width: 1000px;
    padding-top: 15%;
}

.wrapper-content {
    max-width: 800px;
    margin:0 auto;
    padding-left:60px;
}

.wrapper-configuration {
    margin: 50px auto;
    max-width: 800px;
    font-size: 12pt;
    padding-left: 30px;
    padding-right: 30px;
}

.apiConfigurationError {
    visibility: hidden;
    color: #E74C3C;
    margin-bottom: 15px;
}

.field-validation-error {
    color: #E74C3C; 
}

.contentwrap {
    margin: 0 auto;
    max-width: 600px;
    height: 100%;
    display: table;
    padding-top: 12%;
}

.contentwrapFront {
    margin: 0 auto;
    max-width: 600px;
    height: 100%;
    display: table;
    padding-top: 12%;
    margin-top: 80px;
}

label.transactionFilterLabel {
    font-size: 10pt;
}

.ui-custom-btn {
    width:500px !important
}

.liveClock {
    position:fixed;
    left:30px;
    bottom:24px;
    margin:0;
    width:300px;
    font-size: 18pt;
}

.polyrightLogo {
    position:fixed;
    right:30px;
    bottom:15px;
    margin:0;
    width:180px;
}

.version {
    position:fixed;
    right:10px;
    top:5px;
    margin:0;
    width:80px;
    opacity: 0.5;
}

.polyrightLogoRight {
    position:fixed;
    right:30px;
    bottom:15px;
    margin:0;
    width:180px;
}

.polyrightLogoLeft {
    position:fixed;
    left:30px;
    bottom:15px;
    margin:0;
    width:180px;
}

.polyrightLogo img {width:100%;}

.polyrightLogoRight img {width:100%;}

.polyrightLogoLeft img {width:100%;}

.backgroundImage {
    position:absolute;
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
}

.ui-btn-up-a {
    border: 1px solid #000000 /*{a-bup-border}*/;
    background: #000000 /*{a-bup-background-color}*/;
}

.buttonsSeparation {
    margin-top: 20px; 
    max-width: 99%; 
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(79,79,79,0.75), rgba(0,0,0,0)); 
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(79,79,79,0.75), rgba(0,0,0,0)); 
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(79,79,79,0.75), rgba(0,0,0,0)); 
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(79,79,79,0.75), rgba(0,0,0,0));
}

.TimeOutPopup {
    max-width:800px; 
    font-size: 14pt;
    display: none;
}

.WaitingForOperationPopup {
    max-width:500px; 
    font-size: 14pt;
    display: none;
}

.UpdateMediaErrorPopup {
    max-width:500px; 
    font-size: 14pt;
    display: none;
}

.CardValidatedPopup {
    max-width:500px;
    min-width: 250px;
    font-size: 14pt;
    display: none;
}

.InitializationErrorPopup {
    max-width:500px; 
    font-size: 14pt;
}

@media all and (min-width: 400px) {

label.transactionFilterLabel {
    font-size: 12pt;
}

.transactionsForPeriod{
    margin: 0 7% 10px 0; 
    border-style: solid;
    border-color: grey;
    border-width: 1px;
}

.ActionsMenuLeft {
    float: left;
    min-width: 265px;
    margin-top: 10px;
    margin-left: 10px;
}

.ActionsContentRight {
    float: right;
    width:70%;
    margin-right: 15px;
}

.ActionsMenuRight {
    float: right;
    min-width: 265px;
    margin-right: 40px;
    margin-top: 10px;
}

.ActionsContentLeft {
    float: left;
    width:70%;
}

.contentMessage {
    font-size: 24pt; 
    text-align: center;
    padding-top: -50px;
}

.home-header .content-header .logo {
   display: inline-block;
   position: absolute;
   top: 20px;
   left:50%;
   margin-left:-95px;
}

.userInfos {
    max-width: 100%;
}

}