/* Common OlyCash ecosystem look-and-feel styling. */

html, body {
    height: 100%;
    font-size: calc(9px + 0.9vmin);
    font-family: Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    background-color: #FFF;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}


input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}
input:focus,
select:focus,
textarea:focus {
    border-radius: 0;
}

input, textarea {
    outline: none;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 0 !important;
    
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

a {
    color: #000;
    text-decoration: underline;
}
a:hover {
    color: #F9CD04;
    text-decoration: none;
}

.no-scroll {
	margin: 0; 
	height: 100%; 
	overflow: hidden;
}

.bold {
    font-weight: bold !important;
}

.left {
    text-align: left;
}

.left-side {
    float: left;
}

.right {
    text-align: right;
}

.right-side {
    float:right;
    display: flex !important;
}

.center {
    text-align: center;
}

.center-side {
    margin-left: auto;
    margin-right: auto;
}

.body-table {
    width: 100%;
    border-collapse: collapse;
}

.body-table.full {
	min-height: 100vh !important;
}

.body-table > tbody > tr > td {
    padding: 0px;
    vertical-align: top;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
}
.content-table > tbody > tr > td {
    padding: 15px;
    vertical-align: top;
}
.content-table.no-width {
    width: auto;
}
.micro-form > tbody > tr > td textarea {
    width: calc(100% - 20px);
    height: 25px;
}


.char-count {
    float: right;
    font-size: 15px;
}
.char-count .limit {
    display: none;
    color: #888;
}

.h0 {
    font-size: calc(22px + 2.2vw) !important;
    color: #333;
}

.h1 {
    font-size: calc(11px + 1.9vh);
    color: #333;
}

.h2 {
    font-size: calc(11px + 0.9vh);
    color: #333;
}

.h3 {
    font-size: calc(9px + 0.5vh);
    color: #333;
}
.content-table .h2 {
    color: #333;
}

.hide {
    display: none !important;
    width: 0px;
    height: 0px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


select { 
    width: 100%;
    border: 1px solid #B2B2B2;
    padding: 10px 25px 10px 10px;
    color: #999;
    font-size: calc(11px + 0.9vmin);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(https://library.olycash.com/images/arrow_down_black.gif)  #FFFFFF no-repeat right center;
}




.trigger-tip-content {
	display: block;
	border: solid 1px #999;
	z-index: 500;
    border-radius: 5px;
    background-color: #FFF;
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.17);
    max-width: 300px;
    position: absolute;
    padding: 5px;
}

.drop-down-link {
	display: inline-block;
	padding: 5px 25px 5px 5px;
    background: url(https://library.olycash.com/images/arrow_down_black.gif) no-repeat right center;
    cursor: pointer;
}

select > option[value=''] {
    color: #999999;
}


select:not(.allow-empty) > option[value=''] {
    display: none;
}

select > option {
    color: #333;
    font-size: 19px !important;
}


textarea, .textarea {
    width: calc(100% - 10px);
    border: 1px solid #B2B2B2;
    background-color: #FFFFFF;
    padding: 12px 8px;
    font-size: calc(11px + 0.9vmin);
}

.textfield, input[type='text']:not(.ignore-default), input[type='password'] {
    width: calc(100% - 22px);
    border: 1px solid #B2B2B2;
    background-color: #FFFFFF;
    padding: 10px;
    font-size: calc(11px + 0.9vmin);
}

input[type='text']:not(.incrementer):not(.search-field), input[type='password'], textarea, select {
    border-width: 0px 0px 1px 0px;
}

select.full-border, , 
input[type='password'].full-border
input[type='text'].full-border {
	border: 1px solid #666666 !important;
	padding: 10px 30px 10px 7px !important;
    height: 47px;
    min-height: 47px !important;
    max-height: 47px !important;
}

.input-full-border {
	border: 1px solid #B2B2B2 !important;
}

input[type='date'], input[type='text'].date-field {
    background: url(https://library.olycash.com/images/calendar_icon.gif) #FFF no-repeat right center;
    width: calc(100% - 43px);
    border: 1px solid #B2B2B2;
	border-width: 0px 0px 1px 0px;
    padding: 10px 30px 10px 10px;
    font-size: 19px;
}


.required {
    border: 1px solid #CE0000 !important;
    color: #CE0000 !important;
    font-weight: 700 !important;
}


button {
    cursor: pointer;
    width: 100%;
    padding: 15px 10px;
    min-width: 400px;
    font-size: 19px;
    border-radius: 5px;
    -moz-border-radius: 5px;
}
button.red {
    color: #FFFFFF !important;
    background-color: #CE0000;
    border: #CE0000;
}
button.black {
    color: #FFFFFF;
    background-color: #000;
    border: #000;
}
button.grey {
    color: #FFF;
    background-color: #AAAAAA;
    border: 1px solid #AAAAAA;
}
button.orange {
    color: #000 !important;
    background-color: #F9CD04;
    border: 1px solid #F9CD04;
}
button.white {
    color: #000;
    background-color: #F1F1F1;
    border: 1px solid #AAAAAA;
}


button.small {
    width: auto;
    padding: 5px 10px;
    min-width: 20px;
}

.btn-div {
    cursor: pointer;
}

.real-width {
    width: auto;
    min-width: auto;
    padding-left: 30px;
    padding-right: 30px;
    display: inline-block;
}









/***************** Checkbox display styling *******************/
.checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px !important;
    cursor: pointer;
    font-size: calc(9px + 0.9vmin) !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
    position: absolute;
    opacity: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    background-color: #FFF;
    border: 2px solid #F9CD04;
}

.checkbox.disabled .checkmark {
    border: 2px solid #CCC;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
    border: 2px solid #F9CD04;
}
.checkbox.disabled {
    color: #BBBBBB;
}
.checkbox.disabled:hover input ~ .checkmark {
    border: 2px solid #CCC;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
    background-color: #F9CD04;
    color: #FFF;
}
.checkbox.disabled input:checked ~ .checkmark {
    background-color: #CCC;
    border: 2px solid #CCC;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.checkbox-option-list > label {
    display: inline-block;
    margin-right: 25px;
}















input[type='text'].file-field {
    background: url(https://library.olycash.com/images/camera_icon.gif) #FFF no-repeat right center;
    padding-right: 40px;
    width: auto !important;
    min-width: 30px !important;
    width: 70px !important;
    margin-right: 0px;
    margin-bottom: 10px;
    display: block;
    cursor: pointer;
}
.file-field.no-icon {
	background: #FFF; 
}


.page-message {
    padding:10px 30px 10px 30px;
    font-size: 15px;
    color:#000;
    font-weight:bold;
    -webkit-box-shadow: 0px 2px 8px #999;
    -moz-box-shadow: 0px 2px 8px #999;
    box-shadow: 0px 2px 8px #999; 
    position: fixed;
    top: 0px;
    border-radius: 0px 0px 5px 5px;
    -moz-border-radius: 0px 0px 5px 5px;
    background-color: #FFE79B;
    max-width: 70%;
    text-align:center;
    z-index: 15000;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.page-message table td {
    font-size: 15px;
    text-align:center;
	
}

.small-screens {
    display: none;
}
.large-screens {
    display: default;
}



/* STANDARD COLORS */
.orange {
	color: #F9CD04;
}
.red {
	color: #D80000;
}
.green {
	color: #177C14;
}
.grey {
    color: #888;
}



.strong-note {
    display: inline-block;
    background: #E3E3E3;
    padding: 5px;
    font-size: 13px;
    border-radius: 3px;
    -moz-border-radius: 3px;
}

.red-strong-note {
    display: inline-block;
    background: #D80000;
    padding: 5px;
    font-size: 11px;
    color: #FFF;
    border-radius: 3px;
    -moz-border-radius: 3px;
}

.no-wrap {
    white-space: nowrap !important;
}

.grey-bg {
    background-color: #F1F1F1;
}


div[data-url], span[data-url], 
div[data-href], span[data-href] {
	cursor: pointer;
}








.address-locator {
    background: url(https://library.olycash.com/images/pin_field_icon.gif) #FFF no-repeat right center;
}
.address-locator.large-icon {
    background: url(https://library.olycash.com/images/pin_field_icon_large.gif) #FFF no-repeat right bottom;
    padding-right: 120px !important;
    width: calc(100% - 130px) !important;
}

.searchable:not(.search-field):not(td) {
    background: url(https://library.olycash.com/images/arrow_down_black.gif) #FFF no-repeat right center;
}
.searchable.do-not-clear:not(td) {
    background: url(https://library.olycash.com/images/more_field_icon.gif) #FFF no-repeat right center;
}








/****** DROP DOWN STYLING *********/
.drop-down-div {
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    max-height: 200px;
    max-width: 200px;
    background-color: #FFF;
    border: 1px solid #B2B2B2;
    z-index: 10001;
}


.drop-down-div div {
    padding:5px;
    border-bottom: 1px solid #B2B2B2;
    text-align:left;
    cursor: pointer;
    width: 100%;
    font-size: calc(10px + 0.9vmin);
    color: #555555;
}

.drop-down-div div:last-child {
    border-bottom: 0px;
}


.drop-down-div div.delete-icon {
    background: url(https://library.olycash.com/images/delete_icon.gif) no-repeat calc(100% - 5px) center;
}


.error {
    padding:5px;
    font-weight:bold;	 
    background-color: #FFE79B !important;
    text-align:left;
    color: #FF0000 !important;
}

a.error {
    font-weight: bold;
    color: #FF0000 !important;
}

.warning {
    padding:5px;
    font-weight:bold;	 
    background-color: #FFE79B !important;
    text-align:left;
    color: #000000 !important;
}

a.warning {
    font-weight: bold;
    color: #000000 !important;
    text-decoration: underline;
}

.message {
    padding:5px;
    font-weight:bold;	 
    background-color: #FFE79B !important;
    text-align:left;
    color:#009933 !important;
}


.hidden {
    display: none !important;
    height: 0px !important;
    width: 0px !important;
}

.italic {
	font-style: italic;
}

.very-small-text, .very-small-text a {
    font-size: 10px;
}

.small-text, .small-text a {
    font-size: 15px;
}
.small-text a.black {
    text-decoration: underline;
    color: #000;
}


.drop-down-hint {
	font-style: italic;
	font-size: 10px;
	color: #888;
	background-color: #F1F1F1 !important;
}

.always-upper {
    text-transform: uppercase;
}
.always-lower, 
.telephone-or-email {
    text-transform: lowercase;
}
.always-upper::placeholder,
.always-lower::placeholder,
.telephone-or-email::placeholder { 
    text-transform: none;
}


.closer {
    top: 0px;
    right: 0px;
    display: block;
    width: 70px;
    height: 90px;
    background: url(https://library.olycash.com/images/close_icon.gif) no-repeat center center;
    position: absolute;
    cursor: pointer;
}

#__in_shadow_div {
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 0px !important;
}

.in-closer {
    top: 0px;
    right: 0px;
    display: block !important;
    width: 70px;
    height: 70px;
    background: url(https://library.olycash.com/images/close_icon.gif) #FFFFFF no-repeat center center;
    position: absolute;
    cursor: pointer;
}




.continous-scroll #__loader {
    bottom: 0px;
    display: inline-block !important;
}
.continous-scroll.load-on-click #nextlist {
    background-color: #F9CD04;
    cursor: pointer;
    display: inline-block;
    padding: 15px;
    border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    bottom: 0px;
    position: fixed !important;
    z-index: 2500;
    min-width: 200px;
    text-align: center;
    left: calc(50% - 100px);
}
.continous-scroll .message {
    width: calc(100% - 30px) !important;
}
.continous-scroll .loading-image {
    position: fixed;
    display: inline-block !important;
    bottom: 0px;
    right: 0px;
}


.temp-loading-image {
	display: block;
	background: url(https://library.olycash.com/images/loading.gif) #FFF no-repeat center center;
	background-size: 40px;
	min-width: 117px;
	height: 117px;
}
.temp-message {
	display: block;
	color: #888;
	text-align: center !important;
}





#__shadowwindow_closer {
    background: url(https://library.olycash.com/images/close_icon_white.png) #000 no-repeat center center;
    width: 100%;
    height: 50px;
    position:absolute;
    z-index: 9999;
    cursor:pointer;
    position: fixed;
    bottom: 0px;
}

.flag-icon {
	background-size: cover !important;
	display: inline-block; 
	width: 24px;
	height: 16px;
	vertical-align: top;
	margin: 3px;
}








/* -------------------------------------------------------------------------- */
/* CSS for small screens */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width:650px){

.strong-note {
    font-size: 11px;
}

.small-screens {
    display: block !important;
}
.large-screens {
    display: none !important;
}

}	



/* CSS for very small (mobile) screens */
@media only screen and (max-width:500px){

.checkbox {
    padding-bottom: 10px;
}

.h0 {
    font-size: calc(13px + 2.2vw) !important;
}

button {
	padding: 13px 10px !important;
	min-width: 100px !important;
}

}
