
html {
	overflow: scroll;
}

body {
	margin: 0;
	padding: 0;
	background-color: #fff;
}

body, div, p, td {
	font-family: Lato, Verdada, Arial, sans-serif;
	font-size: 100%;
}

a {
	color: #3d3d59;
	text-decoration: none;
}

a:hover {
	color: #6d9ab4;
}

img {
	border: 0;
}

.mobile_only {
	display: none;
}

#main {
	margin: 0;
}

#menu {
	min-height: 40px;
	padding: 5px 30px 5px 30px;
	margin: 0 0 5px 0;
	background: #aaaab6;
}

.menu_title {
	float: left;
	padding: 8px 50px 0 0;
	font-size: 100%;
}

.menu_item {
	float: left;
	padding: 2px 50px 0 0;
}

.menu_item a {
	color: #000;
}

.menu_item a:hover {
	color: #fff;
	text-decoration: none;
}

.menu_date {
	float: right;
	padding: 9px 10px 0 0;
}

#page_title {
	padding: 8px 30px 5px 30px;
	min-height: 35px;
	background: #bfd3de;
}

h1 {
	margin: 0;
	padding: 5px 0 0 0;
	font-size: 110%;
	font-weight: normal;
	float: left;
	color: #000;
}


.image_button {
	display: block;
	text-align: center;
	color: #fff;
	font-size: 90%;
	background: #9e9eac no-repeat 5px center;
	background-size: auto 80%;
	border-radius: 3px;
	padding: 10px 20px 12px 40px;
	cursor: pointer;
	margin: 0;
	border: 0;
  transition: 0.3s background-color;
}	

.image_button:hover {
	background-color: #6d9ab4;
	color: #fff;
	text-decoration: none;
}

.back_link {
	float: right;
	color: #000;
	background-color: transparent;
	background-image: url(../../images/admin/themes/confident/back.png);
	background-size: auto 70%;
	padding: 8px 20px 10px 40px;
}	

.new_button {
	float: left;
	background-image: url(../../images/admin/themes/confident/new.png);
	background-size: auto 80%;
	margin: 0 0 20px 0;
}	

.preview_button {
	float: left;
	background-image: url(../../images/admin/themes/confident/preview.png);
	background-size: auto 80%;
	margin: 0 0 20px 10px;
}	

.thumbnail_image {
	float: left;
	display: block;
	margin: 0 20px 0 0;
}

.browse_image_button {
	float: left;
	width: 70px;
	background-image: url(../../images/admin/themes/confident/image.png);
	background-size: auto 80%;
	margin: 30px 20px 0 0;
}	

.browse_file_button {
	float: left;
	width: 70px;
	background-image: url(../../images/admin/themes/confident/pdf.png);
	background-size: auto 80%;
	margin: 30px 20px 0 0;
}	

.image_field {
	margin: 30px 0 0 0;
}

.header_link {
	display: block;
	color: #000;
	font-size: 100%;
	background: no-repeat 5px center;
	background-size: auto 80%;
	padding: 8px 20px 10px 40px;
	cursor: pointer;
  transition: 0.3s background-color;
}

.header_link:hover {
	background-color: #3d3d59;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
}

.home_button {
	background-image: url(../../images/admin/themes/confident/home.png);
}	

.site_button {
	background-image: url(../../images/admin/themes/confident/live.png);
}	

.logout_button {
	background-image: url(../../images/admin/themes/confident/logout.png);
}	

.user_confirm {
	cursor: pointer;
}

#content {
	padding: 40px 30px 30px 30px;
}

.main_icon {
	float: left;
	padding: 0 10px 10px 0;
}

.icon {
	-webkit-filter: brightness(100%);
   filter: brightness(100%);
   transition: 0.3s filter;
}

a .icon:hover {
	-webkit-filter: brightness(120%);
   filter: brightness(120%);
}

.row_0 {
	background-color: #ececef;
	height: 30px;
  transition: 0.3s background-color;
}

.row_1 {
	background-color: #f1f5f8;
	height: 30px;
  transition: 0.3s background-color;
}


.row_0:hover, .row_1:hover {
	background: #bfd3de;	
}

.cell_heading {
	font-weight: bold;
	padding: 3px 0 3px 0;
}

.cell_heading_left {
	font-weight: bold;
	padding: 3px 0 3px 10px;
}

.cell_heading_right {
	font-weight: bold;
	padding: 3px 10px 3px 0;
}

.cell {
	border-top: 1px #44556b solid;
	padding: 3px 0 3px 0;
}

.cell_left {
	border-top: 1px #44556b solid;
	padding: 3px 0 3px 10px;
}

.cell_right {
	border-top: 1px #44556b solid;
	padding: 3px 10px 3px 0;
}

.error {
	display: block;
	color: #c00;
	font-weight: bold;
}

.input_box {
	width: 400px;
	padding: 8px;
}

.input_box_med {
	width: 100px;
	padding: 8px;
}

.input_box_small {
	width: 60px;
	padding: 8px;
}

select {
	padding: 8px;
	min-width: 130px;
}

select[multiple=multiple] {
	padding: 8px;
	min-width: 400px;
}

#quick_links {
	padding: 0;
}

form {
	margin: 0;
}

.rich {
	width: calc(100% - 100px);
	height: 350px;
}
.not_rich {
	width: calc(100% - 100px);
	height: 150px;
}

.textarea_small {
	width: calc(100% - 100px);
	height: 150px;
	font-family: verdana, sans-serif;
	font-size: small;
}

.add_form td {
	padding: 15px 0;
}

#footer {
	clear: both;
	margin: 40px 30px 30px 30px;
}

#footer_text {
	font-size: 80%;
	color: #666;
}


.float_left {
	float: left;
}

.float_right {
	float: right;
}

.text_right {
	float: right;
	text-align: right;
	padding-right: 10px;
}

.homeItem {
	display: block;
	float: left;
	width: 64px;
	height: 80px;
	text-align: center;
	padding: 25px 35px;
	color: #000;
	font-size: 90%;
	-webkit-filter: brightness(95%);
   filter: brightness(95%);
   transition: 0.3s background-color, 0.3s filter;
}

.homeItem:hover {
	background-color: #bfd3de;
	color: #000;
	-webkit-filter: brightness(105%);
   filter: brightness(105%);
}

.marg5Left {
	margin-left: 5px;
	padding-left: 15px;
}

.borderTop {
	border-top: 1px #999 solid;
}

.borderBottom {
	border-bottom: 1px #999 solid;
}

.clearBoth,
.clear {
	clear: both;
}

h3 {
	font-family: arial, verdana, sans-serif;
	font-weight: normal;
	margin: 0;
}

.grey {
	color: #666;
}

td {
	vertical-align: middle;
}

.valign_top {
	vertical-align: top;
}

.displayNone, .hide {
	display: none;
}

.displayBlock {
	display: block;
}

.padTop2 {
	padding-top: 6px;
}

#col1 {
	float: left;
	width: 250px;
	margin-bottom: 20px;
}

#col2 {
	float: left;
	width: 510px;
	margin-bottom: 20px;
}

.pad30lr {
	padding: 0 30px 0 30px;
}

.button, input[type=submit], input[type=button] {
	display: inline-block;
	text-align: center;
	color: #fff;
	background: #3d3d59;
	border-radius: 3px;
	padding: 10px 30px;
	font-size: 100%;
	cursor: pointer;
	margin: 20px auto 0 auto;
	border: 0;
  transition: 0.3s background-color;
}	

.button:hover, input[type=submit]:hover, input[type=button]:hover {
	background: #64908a;
	text-decoration: none;
	color: #fff;
}

.add_icon, .delete_icon, .edit_icon, .copy_icon, .view_icon, .print_icon, .login_icon, .passenger_icon, .tick_icon, .pdf_icon {
	cursor: pointer;
	float:  left;
	width:  32px;
	height: 32px;
	background-size:  100% auto;
	background-repeat: no-repeat;
	background-position: center center;
	opacity:  0.7;
	transition:  opacity 0.3s, transform 1s;
}

.add_icon:hover, .delete_icon:hover, .edit_icon:hover, .copy_icon:hover, .view_icon:hover, .print_icon:hover, .login_icon:hover, .passenger_icon:hover, .tick_icon:hover, .pdf_icon:hover  {
	opacity:  1;
	transform:  scale(1.2);
}

.add_icon {
	background-image: url(../../images/site/add.svg);
}

.delete_icon {
	background-image: url(../../images/site/delete.svg);
}

.edit_icon {
	background-image: url(../../images/site/edit.svg);
}

.copy_icon {
	background-image: url(../../images/site/copy.png);
}

.view_icon {
	background-image: url(../../images/site/view.svg);
}

.print_icon {
	background-image: url(../../images/site/acroread.png);
}

.login_icon {
	background-image: url(../../images/site/login.png);
}

.passenger_icon {
	background-image: url(../../images/site/passenger.png);
}

.tick_icon {
	background-image: url(../../images/site/tick.svg);
}

.pdf_icon {
	background-image: url(../../images/site/pdf_icon.png);
}

.delete_label, .add_label {
	margin-left: 10px;
	float: left;
}

.clickable_div {
	cursor: pointer;
	color: #0a55b2;
}

.guest_field_group_indent {
	padding-left: 30px;
}

.guest_age_field, .guest_service_field {
	display: none;
}

.flex_rows {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
}

#report_parameters {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 20px;
}
.report_parameter {
	flex-basis: calc((100% - 60px)/4);
}

.screen_report_table_top {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 20px;
}

#scroll_width {
    height: 20px;
}

.screen_report_table {
    width: 100%;
    overflow: auto;
}

.screen_report_table th, .screen_report_table td {
	padding: 10px;
}

.copy_button {
	font-weight: normal;
	font-size: 90%;
}

.divider_bottom {
	border-bottom:  1px solid #ccc;
	margin:  0 0 10px 0;
}

.field_group {
	float: left;
}

.password-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.password-toggle:hover {
    color: #333;
    background-color: #f5f5f5;
}

.password-toggle:focus {
    outline: 2px solid #007cba;
    outline-offset: 1px;
}

.eye-icon {
    width: 18px;
    height: 18px;
    transition: opacity 0.2s ease;
}

.input_box {
	width: 300px;
	padding: 8px;
}

.input_box.password-field {
    padding-right: 40px; /* Make room for the toggle button */
		width: 268px;
}


.lama_red {
	background-color: #fac4c4 !important;
}
.lama_orange {
	background-color: #fadbc4 !important;
}
.lama_green {
	background-color: #d0f9d2 !important;
}
.lama_yellow {
	background-color: #fcfcc9 !important;
}
.lama_grey {
	background-color: #e0e0e0 !important;
}
.lama_key {
	padding: 10px;
	float: left;
	margin-right: 10px;
}

.tail-select {
	vertical-align: middle !important;
}

/* time picker */

div.time-picker {
  position: absolute;
  height: 191px;
  width:4em; /* needed for IE */
  overflow: auto;
  background: #fff;
  border: 1px solid #aaa;
  z-index: 99;
  margin: 0;
}
div.time-picker-12hours {
  width:6em; /* needed for IE */
}

div.time-picker ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
div.time-picker li {
  cursor: pointer;
  height: 10px;
  font: 12px/1 Helvetica, Arial, sans-serif;
  padding: 4px 3px;
}
div.time-picker li.selected {
  background: #0063CE;
  color: #fff;
}



/* iCheck plugin flat skin, black
----------------------------------- */
.icheckbox_flat,
.iradio_flat {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
    margin: 0 10px 0 0;
    padding: 0;
    width: 20px;
    height: 20px;
    background: url(../../../images/site/flat.png) no-repeat;
    border: none;
    cursor: pointer;
}

.icheckbox_flat {
    background-position: 0 0;
}
    .icheckbox_flat.checked {
        background-position: -22px 0;
    }
    .icheckbox_flat.disabled {
        background-position: -44px 0;
        cursor: default;
    }
    .icheckbox_flat.checked.disabled {
        background-position: -66px 0;
    }

.iradio_flat {
    background-position: -88px 0;
}
    .iradio_flat.checked {
        background-position: -110px 0;
    }
    .iradio_flat.disabled {
        background-position: -132px 0;
        cursor: default;
    }
    .iradio_flat.checked.disabled {
        background-position: -154px 0;
    }

/* HiDPI support */
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
    .icheckbox_flat,
    .iradio_flat {
        background-image: url(../../../images/site/flat@2x.png);
        -webkit-background-size: 176px 22px;
        background-size: 176px 22px;
    }
}


/* sortable menus */

.sortable {
	list-style-type: none;
	margin: 0;
	padding: 0;	
}

.sortable_highlight {
	display: block;
	background: #bfd3de;
	height: 40px;	
	border: 1px #fff dashed;
}

.reorder {
	cursor: move;
}

.no_bullet, 
ol.nested_sortable,
ol.nested_sortable ol {
	list-style-type: none;
	margin: 0;
}

ol.nested_sortable ol {
	padding: 0 0 0 30px;
}

ol.level_0 {
	padding: 0 !important;
}


.nested_sortable li.mjs-nestedSortable-collapsed > ol {
	display: none;
}

.nested_sortable li.mjs-nestedSortable-branch > div > .disclose {
	display: inline-block;
}

.no_tree_icon {
	cursor: none;
	background: none !important;
	padding: 0 !important;
}

.expand_icon {
	cursor: pointer;
	background: url(../../images/admin/themes/confident/expand.png) top left no-repeat;
	padding: 0 0 0 30px;
}

.contract_icon {
	cursor: pointer;
	background: url(../../images/admin/themes/confident/contract.png) top left no-repeat;
	padding: 0 0 0 30px;
}

.expand_icon:hover,
.contract_icon:hover {
	background-position: bottom left;
}

#sortable1, #sortable2, #sortable3, #sortable4 { 
 	list-style-type: none; 
 	margin: 0 10px 0 0; 
 	padding: 5px; 
 	float: left; 
	width: calc((100% / 2) - 50px);
 	height: 250px;
 	border: 1px #999 solid;
 	overflow-x: hidden;
 	overflow-y: auto;
}
#sortable1 li, #sortable2 li, #sortable3 li, #sortable4 li { 
	margin: 5px; 
	padding: 5px;  
	width: calc(100%);
	font-weight: normal;
	color: #000;
	cursor: pointer;
}

.status_col {
	width: 120px;
}



/* styling to make divs behave like tables */

.row_spoof_heading, 
.row_spoof_0, 
.row_spoof_1 {
	width: calc(100%);
	transition: 0.3s background-color;
	display: flex;
	height: auto;
}

.row_spoof_0 {
	background: #ececef;
	border-top: 1px #44556b solid;
}

.row_spoof_1 {
	background: #f1f5f8;
	border-top: 1px #44556b solid;
}

.row_spoof_0:hover, 
.row_spoof_1:hover {
	background: #bfd3de;	
}

.cell_spoof_heading {
	float: left;
	font-weight: bold;
	padding: 6px;
}

.cell_spoof {
	float: left;
	padding: 6px;
}

.cell_spoof p {
	padding: 0;
	margin: 0 0 10px 0;
}

.name_col {
	flex: 1;
	width: auto;
	padding-top: 12px;
}

.date_col {
	width: 200px;
	padding-top: 12px;
}

.wide_col {
	width: 400px;
	padding-top: 12px;
}

.short_col {
	width: 120px;
	padding-top: 12px;
}

.icon_col {
	width: 60px;
	min-width: 60px;
	text-align: center;
}

/* blocks */

.not_centred {
	margin: 20px !important;
}

.add_block {
	clear: both;
}

#new_block {
	padding: 10px;
	margin-bottom: 20px;
	width: 100%;
}
#new_block iframe {
	width: 100%;
	height: 500px;
}

#new_block .input_box {
	width: 200px;
}

#new_block .image_button {
	margin-top: 0;
}

#all_blocks {
	clear: both;
}

#all_blocks iframe {
	width: 100%;
	height: 200px;
}

.page_block {
	background-color: #ececef;
	border-radius: 3px;
	border: 1px #ccc solid;
	width: 95%;
	margin: 20px 20px 0 0;
}


.page_block .row_1 td,
.page_block .row_0 td {
	border: 0;
}

.button_waiting {
	background-image: url("../../images/admin/themes/confident/waiting_spinner.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 25px 25px;
}

/* tinyMCE upgrade */
.tox-promotion {
	display: none;
}

/* cookie preferences */

#cookie_popup_message {
	display:  none;
	position: fixed; 
	z-index: 9999; 
	bottom: 20px; 
	left: 20px; 
	width: 310px; 
	background-color: #ffffffcc; 
	padding: 10px;  
	border-radius: 5px; 
	box-shadow: 0 0 1px #00000066;
}

#cookie_popup_message p {
	font-size: 85% !important; 
	color: #000; 
	margin: 0 0 10px 0;
}

#cookie_options {
	display:  flex;
	flex-direction: column;
}

.cookie_options_row {
	display:  flex;
	flex-direction: row;
}

.cookie_options_label {
	font-size: 85% !important; 
	font-weight:  bold;
	margin: 0 20px 20px 0;
}

.cookie_options_yes,
.cookie_options_no {
	display:  block;
	color:#fff !important; 
	font-size: 90% !important;  
	text-decoration: none; 
	padding: 3px 15px 0 15px; 
	height:  22px;
	border-radius: 5px; 
	font-weight: bold;
	transition: background-color 0.3s;
	margin:  0 10px 0 0;
}

.cookie_options_no {
	background: #666; 
}

.cookie_options_yes {
	background: #666; 
}

.cookie_options_yes:hover,
.cookie_options_no:hover {
	text-decoration: none; 
}

.cookie_options_no:hover,
.cookie_options_no.active {
	background: #c33; 
}

.cookie_options_yes:hover,
.cookie_options_yes.active {
	background: #3c3; 
}

#cookie_accept_all,
#cookie_set_preferences {
	background: #666; 
	color:#fff !important; 
	font-size: 90% !important;  
	text-decoration: none; 
	padding: 5px 25px; 
	border-radius: 5px; 
	font-weight: bold;
	transition: background-color 0.3s;
}

#cookie_accept_all:hover,
#cookie_set_preferences:hover {
	background: #000;
}

/* Group email tabs */
.group_tabs_container { margin-top: 1em; }
.tab_buttons { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 0; }
.group_tab_btn {
	position: relative;
	bottom: -3px;
	border: 3px solid var(--button_bg);
	opacity: 0.5;
	border-radius: 4px 4px 0 0;
	z-index: 1;
	margin: 20px 0 0 0;
}
.group_tab_btn.tab_active {
	opacity: 1;
	font-weight: bold;
	border-bottom-color: #fff !important;
	z-index: 2;
}
.group_tab_panel {
	border: 3px solid var(--button_bg);
	padding: 1.2em;
	position: relative;
	z-index: 1;
	background: #fff;
}
.tab_count { font-weight: normal; font-size: 0.9em; }


.poster_themes {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 8px;
}
.poster_theme_card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 18px;
	border: 2px solid #dde3ea;
	border-radius: 10px;
	cursor: pointer;
	width: 160px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.poster_theme_card:hover {
	border-color: #7aaacc;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.poster_theme_card.selected {
	border-color: #115a94;
	box-shadow: 0 2px 12px rgba(17,90,148,0.18);
}
.poster_theme_card input[type=radio] {
	display: none;
}
.swatch_row {
	display: flex;
	gap: 5px;
}
.swatch {
	display: inline-block;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,0.1);
}
.poster_theme_card strong {
	font-size: 14px;
	font-weight: 700;
	color: #222;
}
.poster_theme_card .theme_desc {
	font-size: 11px;
	color: #777;
	line-height: 1.4;
}

/* Loan trip section in admin forms */
.loan_section_heading td {
	background: #d4e6f8;
	font-weight: bold;
	padding: 10px 8px;
	font-size: 105%;
}
.loan_body tr td,
.loan_body tr th {
	background: #edf5fd;
}

/* Loan section collapsible headings */
.loan_section_heading {
	cursor: pointer;
	user-select: none;
}
.loan_toggle_arrow {
	display: inline-block;
	margin-right: 6px;
	transition: transform 0.2s;
}
.loan_toggle_arrow.collapsed {
	transform: rotate(-90deg);
}

/* Balance calculator result feedback */
#loan_balance_calc_result {
	margin-left: 10px;
	font-size: 90%;
}
.loan-calc-success { color: green; }
.loan-calc-error   { color: red; }
