body {
	font-family: 'Lato', Arial;
	font-weight: 300;
	color: #34383d;
	background: #003161;
	margin: 0px;
	font-size: 10pt;
}

div#mask {
	display: none;
	position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
    top: 0px;
    padding-top: 100px;
}

div#progress {
	width: 400px;
    background: white;
    text-align: center;
    border-radius: 6px;
    left: calc(50% - 200px);
    position: absolute;
}

div#progress-title {
	font-size: 12pt;
    font-weight: 300;
    padding: 30px 0px 0px 0px;
    text-align: center;
}

div#progress-animation img {
	height: 150px;
    margin: 30px 0px;
}

a {
	text-decoration: none;
}

div#canvas {
	width: 900px;
	margin: 0 auto;
	padding: 30px;
	margin-top: 30px;
	margin-bottom: 30px;
	box-sizing: border-box;
	min-height: 500px;
	text-align: left;
	background: white;
	box-shadow: 0 0.46875rem 2.1875rem rgb(4 9 20/ 3%), 0 0.9375rem
		1.40625rem rgb(4 9 20/ 3%), 0 0.25rem 0.53125rem rgb(4 9 20/ 5%), 0
		0.125rem 0.1875rem rgb(4 9 20/ 3%);
	position: relative;
	border-radius: 6px;
}

div.logo {
	text-align: left;
	margin-bottom: 30px;
}

div.logo img {
	max-height: 125px;
    max-width: 300px;
    height: auto;
    width: auto;
}

div.large-title {
	font-size: 18pt;
	color: #444e68;
	margin-bottom: 30px;
	font-weight: 600;
}

div.mid-title {
	font-size: 12pt;
	color: #444e68;
	font-weight: 600;
	margin-top: 40px;
}

div.small-title {
	font-size: 10pt;
	color: #444e68;
	font-weight: 600;
	margin-bottom: 5px;
}

div.text {
	font-size: 10pt;
	font-weight: 300;
	margin-top: 8px;
	color: #34383d;
}

div.flex2 {
	display: flex;
	flex-direction: row;
}

div.flex-col {
	flex: 1;
}

div.flex-right {
	flex: 0;
	min-width: 300px;
}

ul.grid-details {
	display: grid;
	column-gap: 10px;
	grid-template-columns: 100px auto;
}

div.rounded {
	padding: 15px;
	border-radius: 6px;
	border: 0px solid #e0e0e0;
	margin: 10px 0px;
	position: relative;
	background: #eff3ff;
}

div.rounded-margin {
	padding: 15px;
	border-radius: 6px;
	border: 0px solid #e0e0e0;
	margin: 30px 0px;
	position: relative;
	background: #eff3ff;
}

div.grid-items-row {
	display: grid;
	gap: 10px;
	grid-template-columns: 50px auto 100px;
	min-height: 25px;
    line-height: 25px;
}

div.grid-items-row-products {
	display: grid;
	gap: 10px;
	grid-template-columns: auto 80px 80px 80px;
	min-height: 25px;
    line-height: 25px;
}

div.grid-items-margin {
	margin-top: 25px;
}

div.grid-items-total-row {
	display: grid;
    gap: 10px;
    grid-template-columns: auto 100px;
    min-height: 25px;
    line-height: 25px;
    text-align: right;
    font-weight: 400;
}

div.item-content-center {
	text-align: center;
}

div.item-content-right {
	text-align: right;
}

div.text-bold {
	font-weight: 400;
}

div.item-heading {
	font-weight: 400;
}

div.price {
	position: absolute;
	top: -4px;
	right: 0px;
	width: 200px;
	text-align: right;
}

span.number {
	font-size: 18pt;
	color: #0070e0;
	font-weight: 600;
	margin-right: 5px;
}

span.currency {
	font-weight: 400;
	color: #999;
	position: relative;
	top: -7px;
	margin-right: 2px;
}

span.small {
	font-size: 8pt;
}

ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

ul#details li.inline-default {
	margin-right: 0px;
	padding-left: 0px;
	width: 100%;
	position: relative;
}

div.footer {
	margin: 20px 0px;
	line-height: 25px;
}

div#clear {
	cursor: pointer;
}

div#clear:hover {
	color: #0070e0;
}

div.button {
	padding: 12px 10px;
	display: inline-block;
	border-radius: 3px;
	cursor: pointer;
	color: white;
	background: #0070e0;
	box-sizing: border-box;
	font-weight: 400;
}

div.button:hover {
	background: #1884f1;
}

input#btnClearSign {
	cursor: pointer;
	color: #0070e0;
	background: white;
	border: 0px solid;
	position: absolute;
	top: 32px;
	right: 0px;
}

div#buttons {
	margin-top: 30px;
	text-align: right;
}

div.dialog {
	display: none;
}

div.arkflux-logo {
	text-align: center;
	font-size: 8pt;
	color: #aaa;
	padding: 20px;
}

div.signature-preview {
	background: #eff3ff;
    border-radius: 6px;
    padding: 5px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

div.signature-preview img {
	width: 100%;
}

div.inner-title {
	margin: 20px 0px;
}

input#signature-name {
	width: 300px;
    background-color: white;
    font-size: 10pt;
    outline: none;
    border-color: #cccccc;
    border-width: 1px;
    border-radius: 4px;
    border-style: solid;
    padding: 8px;
    box-sizing: border-box;
    margin-left: 0px;
}

div.alert {
	background: pink;
    padding: 10px;
    font-weight: 300;
    border-radius: 6px;
    font-size: 10pt;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
    min-height: 45px;
}

div.alert-green {
	background: #00b490;
	color: white;
}

div.alert-icon img {
	width: 24px;
	vertical-align: middle;
}

div.alert-link {
	cursor: pointer;
	font-weight: 400;
    text-decoration: underline;
}

div.bottom-margin {
	margin-bottom: 25px;
}

div#subscription-status {
	margin-top: 20px;
}

div.delivery-details {
	margin-top: 25px;
}

/* Modal overlay */
.arkflux-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 27, 24, 0.9);
    display: flex;
    justify-content: start;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
    display: none;
}

.arkflux-modal {
    background: white;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    max-height: 90%;
    overflow-y: auto;
}

.arkflux-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.arkflux-modal-title-block {
	background: #0070e0;
    color: white;
    font-size: 14pt;
    font-weight: 400;
    padding: 20px;
}

.arkflux-modal-title {
	font-size: 10pt;
    font-weight: 400;
    margin: 15px 0px;
}

.arkflux-modal-title-red {
	font-size: 10pt;
    font-weight: 400;
    margin: 15px 0px;
    color: #e84337;
}

.arkflux-modal-block {
	display: flex;
	align-items: center;
}

.arkflux-modal form label {
    display: block;
    margin-top: 10px;
    flex: 1;
}

form.arkflux-modal-form {
	padding: 20px;
}

.arkflux-modal form input, .arkflux-modal form select {
    width: calc(100% - 20px);
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    flex: 1;
}

.arkflux-modal form button {
    background-color: #0070e0;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
}

.arkflux-modal form button:hover {
    background-color: #1884f1;
}

.arkflux-modal form #address-fields {
    margin-top: 20px;
}

.arkflux-field-invalid {
	border: 1px solid red !IMPORTANT;	
}

.arkflux-button-holder {
	margin: 10px 0px;
}

/* Dialog */
div.dialog-flex {
    display: grid;
    grid-template-columns: 48px auto;
    column-gap: 20px;
    font-weight: 300;
    font-family: 'lato', verdana;
}

.ui-dialog .ui-dialog-title {
    float: left;
    margin: .1em 0;
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    font-family: 'lato', verdana;
    font-weight: 400;
}

.ui-dialog .ui-dialog-titlebar-close {
    position: absolute;
    right: .3em;
    top: 50%;
    width: 20px;
    margin: -10px 0 0 0;
    padding: 1px;
    height: 20px;
    display: none;
}

.arkflux-dialog {
	z-index: 101;
	width: 350px !IMPORTANT;
}


/* tablet, landscape iPad, lo-res laptops ands desktops */
@media ( max-width :961px) {
	div#canvas {
		width: calc(100% - 20px);
		padding: 25px 15px;
	}
	
	div.logo img {
    	max-height: 125px;
	    max-width: 50%;
	    height: auto;
	    width: auto;
    }
	
	div.flex2 {
		display: block;
	}	
	
	div.flex-right {
		margin-top: 20px;
	}
	
	div.button {
	    padding: 12px 10px;
	    display: block;
	    width: 100%;
	    margin-bottom: 10px;
	    background: #0070e0;
	    text-align: center;
	}
}

/* Printing */
@media print {
	body {
    	background: white;
    	font-size: 10pt;
    	width: 100%;
    }
    
    div.logo img {
    	max-height: 80px;
    }
    
    div.afx-banner {
    	display: none;
    }
    
    div#canvas {
    	box-shadow: none;
    	width: 100%;
    	margin: 0px;
    }
    
    div.flex2 {
    	display: flex;
    	flex-direction: row;
    	align-items: flex-start;
	}
	
	div.flex-right {
        margin-top: 0px; 
    }
    
    div#buttons {
    	display: none;
    }
    
    div.rounded {
    	background: white;
    	border: 1px solid #e0e0e0;
    }
}