@font-face {
    font-family: "Prompt-SemiBold";
    src: url("webfonts/Prompt-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "Prompt-Medium";
    src: url("webfonts/Prompt-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "Prompt-Light";
    src: url("webfonts/Prompt-Light.woff2") format("woff2");
}

/* Start sticky footer trick */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}


.footer {
    grid-row-start: 3;
}
/* End sticky footer trick */

body {
    margin: 0;
    font-family: "Prompt-Light";
    background-color: #fafcff;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #003088 #ebebeb;
}

/* Webkit scrollbar */
*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-thumb {
    background-color: #003088;
    border-radius: 3px;
}


.page-content {
    margin: 20px 20px;
}

/* Desktop */
@media (min-width: 670px) {
    .page-content {
        width: 630px;
        margin: 20px auto;
    }
}

.language {
    color: #333333;
    font-size: 14px;
    text-decoration: none;
    text-align: right;
    padding: 5px 0;
    cursor: pointer;
}

.language.disabled {
    cursor: none;
    pointer-events: none;
}

.language .large {
    display: none;
}

.language img {
    margin-left: 5px;
    margin-bottom: 2px;
}

.language span, .language img {
	vertical-align: middle;
}

/* Tablet and desktop */
@media (min-width: 455px) {
    .language .small {
        display: none;
    }

    .language .large {
        display: inline;
    }
}

.header {
    height: 47px;
    background-color: #FFFFFF;
    padding: 0 20px;
    font-size: 18px;
    line-height: 12px;
    color: #003088;
    border-bottom: 1px solid;
    border-bottom-color: #B5D3FF;
    display: grid;
    grid-template-columns: 55px auto 85px;
    align-items: center;
}

.header img.logo {
    width: 45px;
}

/* Tablet and desktop */
@media (min-width: 455px) {
    .header {
        font-size: 18px;
        line-height: 14px;
        grid-template-columns: 75px auto 145px;
    }

    .header img.logo {
        width: initial;
    }
}

/* Desktop */
@media (min-width: 670px) {
    .header {
        padding: 0 0;
        justify-content: center;
        grid-template-columns: 85px 400px 145px
    }
}

.merchant {
    background-color: #ffffff;
    border-radius: 4px;
    border: solid 1px #ebebeb;
    font-size: 15px;
    color: #333333;
    padding: 9px 8px 8px 8px;
    display: grid;
    grid-template-columns: 130px auto;
    grid-template-areas:
    "logo title"
    "content content"
    "footer footer";
    align-items: center;
    margin-bottom: 27px;
}

.merchant > img {
    width: 130px;
    height: 50px;
    object-fit: contain;
    object-position: left;
    grid-area: logo;
}

.merchant .text {
    grid-area: title;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.merchant .esign-text {
    display: none;
    word-break: normal;
    grid-area: content;
    padding-top: 5px;
}

#toggle-merchant-text .show-more-text {
    text-decoration: underline;
    cursor: pointer;
    color: #003088;
}

#toggle-merchant-text .show-less-text {
    display: none;
    text-decoration: underline;
    cursor: pointer;
    color: #003088;
}

#toggle-merchant-text img {
    vertical-align: middle;
}

.merchant #toggle-merchant-text {
    cursor: pointer;
    grid-area: footer;
    text-align: right;
    vertical-align: middle;
}

.merchant .document-title {
    font-family: "Prompt-Medium";
    color: #003088;
}

/* Tablet and desktop */
@media (min-width: 455px) {
    .merchant {
        display: grid;
        grid-template-columns: 160px auto;
        padding: 21px 20px 20px 30px;
        justify-content: initial;
        min-height: 54px;
        grid-area: auto;
    }

    .merchant > img {
        width: 150px;
        height: 73px;
        object-position: center;
        grid-area: auto;
    }

    .merchant .text {
        display: block;
        grid-area: title;
        white-space: normal;
        overflow: auto;
        text-overflow: ellipsis;
        cursor: auto;
    }

    .merchant .esign-text {
        display: block;
        grid-area: content;
        word-break: normal;
        padding-bottom: 15px;
    }

    .merchant #toggle-merchant-text {
        display: none;
        grid-area: auto;
    }

    #toggle-merchant-text .show-more-text,
    #toggle-merchant-text .show-less-text {
        text-decoration: underline;
        cursor: pointer;
        position: relative;
        top: -7px;
    }

    .merchant .document-title {
        font-family: Prompt-Medium;
    }
}

.footer {
    background-color: #FAFCFF;
    padding: 19px 0;
    text-align: center;
    font-size: 15px;
    color: #003088;
    border-top: 1px solid;
    border-top-color: #B5D3FF;
}

.scroll-fade {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
}

.scroll-fade.hidden {
    display: none;
}

.language-menu {
    width: 122px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 14px;
    font-size: 14px;
    background-color: #ffffff;
    display: none;
    position: absolute;
    z-index: 2;
    right: 0;
}

.language-menu a {
    text-decoration: none;
    color: inherit;
}

.language-menu > * {
    display: block;
    padding: 6px 0;
}

.language-menu .selected {
    font-family: "Prompt-SemiBold";
}


/* Common css properties starts here  */

h1 {
    font-size: 22px;
    font-family: "Prompt-SemiBold";
    color: #003088;
    letter-spacing: 0.31px;
    margin-bottom: 25px;
}

input {
	font-family: "Prompt-Light";
	font-size: 18px;
	letter-spacing: 0.25px;
	padding: 10px 0 0 16px;
	color: #333333;
}

input:focus {
	border-radius: 7px;
  	border: solid 1px #999999;
  	outline: none;
}

.input-field {
    width: 100%;
	box-sizing: border-box;
	height: 50px;
	border-radius: 7px;
	border: solid 1px #999999;
	background-color: #ffffff;
}

::placeholder {
  color: #333333;
}

input:placeholder-shown {
  	padding: 0 0 0 16px;
  	color: #333333;
}

input:placeholder-shown + label {
	display: none;
}

.input-field-txt {
	top: 4px;
    left: 18px;
	position: absolute;
	background-color: transparent;
	height: 12px;
	font-size: 9px;
	letter-spacing: 0.34px;
	color: #333333;
}

button {
	font-family: "Prompt-Light";
}

a:focus {
	outline-color: #003088;
	outline-style: groove;
}

button:focus {
    outline-color: #003088;
    outline-style: double;
    outline-width: medium;
}

.button-div {
	float: left;
	clear: both;
}

 .button-disable {
	width: 200px;
  	height: 50px;
  	border-radius: 24.5px;
  	border: solid 1px #ebebeb;
  	background-color: #ebebeb;
  	color: #a4a4a4;
  	font-size: 18px;
  	line-height: 2.31;
  	letter-spacing: 0.25px;
  	pointer-events: none;
  	cursor: not-allowed;
}

.button-enable, .button-enable-next {
	width: 200px;
  	height: 50px;
  	border-radius: 24.5px;
  	border: solid 1px #003088;
  	background-color: #003088;
  	color: #ffffff;
  	font-size: 18px;
  	letter-spacing: 0.25px;
  	pointer-events: visible;
  	cursor: pointer;
}

.button-enable-next {
	width: 160px;
}

.button-cancel {
	width: 160px;
  	height: 50px;
  	border-radius: 24.5px;
  	border: solid 1px #003088;
  	background-color: #ffffff;	
  	font-size: 18px;
  	line-height: 2.31;
  	letter-spacing: 0.25px;
  	text-align: center;
    color: #003088;
  	cursor: pointer;
}

.button-div > button {
	margin-top: 35px;
}

.button-div .button-cancel {
	margin-left: 10px;
}

.error-field {
	display: none;
  	height: 17px;
  	font-size: 12px;
  	letter-spacing: 0.31px;
  	color: #cc334a;
}

.error-img {
	display: none;
	position: absolute;
	top: 16px;
	right: 10px;
}

/* Common css properties ends here  */
