@import url('./lib/font-awesome/css/font-awesome.min.css');
@import url('./lib/primereact/css/primereact.min.css');
@import url('./lib/primeicons/primeicons.css');
@import url('./lib/react-dialog/css/index.css');

html {
    font-family: BrandFont, arial, sans-serif;
    background-color: #ecedee;
    height: 100%;
    font-size: 15px;
}

body {
    margin: 0px 50px;
    min-height: 100%;
    /* height: 100%; */
    height: auto!important;
}

.device-img {
    max-height: 175px;
    width: auto;
}

.logo {
    position: absolute;
    left: 5px;
    top: 20px;;
}

.mob-logo {
    display: none;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 30px;
    font-size: 1.2em;
    font-weight: bold;
    height: 50px;
    position: relative;
}

.footer {
    /* position: absolute; */
    text-align: center;
    bottom: 0px;
    width: 90%;
}

.border-bot {
    border-bottom: 1px solid #d8dada !important;
}

.content {
    background-color: #ffffff;
    min-height: 100%;
    padding: 0px 15px;
    max-width: 1024px;
    margin: auto;
    position: relative;
}

.brandfont {
    font-family: BrandFont, arial, sans-serif;
}

.body {
    margin: 0px 30px;
    font-family: BrandFont, arial, sans-serif;
    font-size: 1em;
}

.button {
    display: inline-block;
    min-height: 2rem;
    padding: 0.5rem 1.5rem 0.5rem 1.5rem;
    margin: 10px 0px 0px 0px;
    background-color: #fff;
    text-align: center;
    color: #cd040b;
    font-family: BrandFont, Arial, sans-serif;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid #cd040b;
    border-radius: 25px;
    cursor: pointer;
    outline: none;
}

.button:active {
    background-color: #cd040b;
    color: #fff;
}

.input {
    min-height: 2rem;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.inline-block {
    display: inline-block;
}

.abs-right {
    position: absolute;
    right: 0px;
}

.margin-v-3 {
    margin-top: 3px;
    margin-bottom: 3px;
}

.padding-v-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.margin-h-15 {
    margin-right: 15px;
    margin-left: 15px;
}

.margin-h-25 {
    margin-right: 25px;
    margin-left: 25px;
}

.margin-bot-10 {
    margin-bottom: 10px;
}

.margin-bot-15 {
    margin-bottom: 15px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-right-10p {
    margin-right: 10%;
}

.main-content {
    padding-top: 25px;
}

.overflow-x {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.overflow-y {
    overflow-x: hidden;
    overflow-y: auto;
}

.max-450 {
    max-width: 450px;
}

.device-div {
    width: 30%;
    min-width: 250px;
    white-space: normal;
    word-wrap: break-word;
    margin: 0px 5px;
    padding-bottom: 10px;
}

.mob-device-div {
    min-width: 250px;
    white-space: normal;
    word-wrap: break-word;
    margin: 0px 5px;
    padding-bottom: 10px;
}

.header-bot-margin {
    margin-bottom: 25px;
}

.padding-bot-50 {
    padding-bottom: 50px;
}

.padding-left-10 {
    padding-left: 10px;
}

.field {
    width: 130px;
    display: inline-block;
    vertical-align: middle;
}

.width-100 {
    width: 100%;
}

.banner-container {
    height: 10%;
    max-height: 200px;
    min-height: 55px;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
}

.banner {
    height: 100%;
    margin: 0px 50px;
    background-color: #ffffff;
    border-bottom: 3px solid #ecedee;
    overflow: hidden;
    box-shadow: 0px 5px 5px #ecedee;
    position: relative;
}

.banner-offset {
    height: 10%;
    max-height: 200px;
}

.banner-content {
    padding-top: 2.5%;
    padding-left: 3%;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.big-text {
    font-size: 2rem;
}

.bolder {
    font-weight: bolder;
    text-shadow: 2px 2px 5px #CCC;
}

.large-font {
    font-size: 3rem;
    font-weight: bold;
}

.red {
    color: #cd040b;
}

.icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

.banner .icon {
    position: absolute;
    right: 10px;
}

.img-icon {
    height: 100%;
    width: 100%;
}

[disabled] {
    cursor: initial;
    color: #ecedee;
    border-color: #ecedee;
}

.sub-input {
    display: block;
    margin-top: 3px;
    padding-left: 10px;
    color: #737373;
    font-size: 10px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 270px;
    background-color: #fff;
    text-align: left;
    border: 1px solid black;
    border-radius: 6px;
    padding: 5px 0px 5px 0px;
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.test-custom-class {
    background-color: #fff;
    border: 1px solid #ccc;;
}
.test-custom-class .p-highlight {
    color: #fff;
    background-color: lightgrey
}
.dropdown-city{
    display: block;
    width: 92% !important;
    height: 47px;
    padding: 11px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    margin-top: 5px;
    margin-left: 5px;
}

.dropdown {
    border: 1px solid #cd040b;
}

.pdialog{
    margin-left:50px;
}

form input, form select {
    display: block;
    width: 85%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    margin-top: 5px;
    margin-left: 5px;
}

form input[type=radio] {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 5px 5px 0px 40px;
}

form abbr[title] {
    text-decoration: none;
}

form abbr[title=required] {
    color: #cd040b;
    font-weight: bolder;
}

form .col {
    width: 49%;
    vertical-align: top;
}

form .col1 {
    width: 4%;
    vertical-align: top;
}

form .col2 {
    width: 60%;
    vertical-align: top;
}

form .half-col {
    width: 46%;
    vertical-align: top;
}

input.invalid {
    border: 1px solid #cd040b;
}

input.valid {
    border: 1px solid green;
}

input[disabled] {
    border: 1px dotted #cd040b;
}

.input-error {
    margin-left: 15px;
    margin-top: 5px;
    color: #cd040b;
    font-size: 12px;
}

.input-error-pin {
    margin-top: 5px;
    color: #cd040b;
    font-size: 18px
}

#card-container {
    width: 400px;
}

@media screen and (max-device-width: 480px) {
    html {
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
        width: 100%;
    }
    body {
        -webkit-text-size-adjust: none;
        font-family: BrandFont, Arial, Verdana, sans-serif;
        padding: 0px 5px;
        margin: 0px;
    }
    .logo {
        display: none;
    }
    .mob-logo {
        display: block;
        margin: auto;
    }

    .header {
        text-align: center;
        position: fixed;
        height: 30px;
        top: 0px;
        left: 0px;
        width: 100%;
        background-color: #ecedee;
        margin: 0px;
        padding: 5px 0px 0px 0px;
        font-weight: bold;
    }
    .header-spacer {
        height: 40px;
        margin-bottom: 15px;
    }
    .button{
        margin-top: 0px;
    }
    .mob-right {
        width: 100%;
        text-align: right;
    }
    .device-img {
        white-space: normal;
        word-wrap: break-word;
    }
    .mob-center {
        width: 100%;
        text-align: center;
    }
    .field {
        width: 120px;
        display: inline-block;
    }
    .banner {
        height: 100%;
        margin: 0px;
        background-color: #ffffff;
        border-bottom: 3px solid #ecedee;
    }
    .large-font {
        font-size: 1.5rem;
    }
    .banner-content {
        padding-top: 4.5%;
        padding-left: 3%;
    }
    .icon {
        width: 30px;
        height: 30px;
    }
    .agreement-div {
        max-height: 300px;
        overflow-y: auto;
    }
    form .col {
        width: 100%;
    }
    form .half-col {
        width: 50%;
    }
    form .half-col input {
        width: 70%;
    }
    .tooltip .tooltiptext {
        left: -50px;
    }
    .lang-display {
        margin-left:50px;
    }
    #card-container {
        padding: 0px;
        width: 100%;
    }
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {

    .dialog-margin{
        margin-left: 70px;
    }

    .header{
        height: 40px !important;
    }

}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {

    .header{
        height: 40px !important;
    }

    .header, .logo {
        position: fixed !important;
    }
   

}


@media screen and (min-width : 320px) and (max-width : 768px) {
    .header {
        height: 80px;
    }

    .header, .logo {
        position: initial;
    }
   
}


@font-face {
  font-family: "BrandFont";
  src: url(lib/fonts/NeueHaasGroteskText55Roman.woff) format("woff"), url(lib/fonts/NeueHaasGroteskText55Roman.ttf) format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: "BrandFont";
  src: url(lib/fonts/NeueHaasGroteskText75Bold.woff) format("woff"), url(lib/fonts/NeueHaasGroteskText75Bold.ttf) format("truetype");
  font-weight: bold;
}
@font-face {
  font-family: 'NeueHaasGrotDisp-Medium';
  src: url(lib/fonts/NeueHaasGrotDisp-65Medium.woff) format("woff"), url(lib/fonts/NeueHaasGrotDisp-65Medium.otf) format("OpenType");
}

.credit_button{height:20px; position:relative; margin: -20px -50px; width:250px; top:50%; left:40%;}
.payment_submit_button{width:100px;}
.NBS_submit_button{
    border-radius: 6.25rem !important;
    border-width: 0.0625rem !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-family: "BrandFont-Text",Helvetica,Arial,sans-serif !important;
    font-size: 1rem !important;
    /* font-style: normal !important;
    font-weight: bold !important; */
    line-height: 1 !important;
    margin: 0 0.625rem 0.625rem 0 !important;
    padding: 1em calc(1em * 3.14) !important;
    position: relative !important;
    /* text-align: center !important; */
    text-decoration: none !important;
    touch-action: manipulation !important;
    transition-duration: 0.15s !important;
    vertical-align: middle !important;
    width: auto !important;
    background-color: #000000 !important;
    border: 0.0625rem solid #000000 !important;
    color: #ffffff !important;
}.viewer-container {
    text-align: center;
    margin: auto;
    height: 95%;
    max-width: 1280px;
    overflow-y: scroll;
    border: 1px solid lightgrey;
    background-color: #ffffff;
}

.viewer-toolbar {
    background-color: #474747;
    padding: 10px;
}

.viewer-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #202020;
    z-index: 1;
}

.viewer-toolbar i {
    margin: 10px;
    color: #FFFFFF;
    cursor: pointer;
}

.viewer-toolbar i:active {
    color: lightblue;
}.signatureContainer {
    margin: 50px 0px 0px 0px;
    text-align: center;
}

.signatureCanvas {
    width: 100%;
    max-width: 600px;
    height: 200px;
    border: 1px solid lightgrey;
}body
{background-color: white; margin:0;}
