/*
--------------------------------------------------------------------------
Copyright 2018 by Mark Lammert and Steve Williams
Master Key Interactive

v1.0.0
--------------------------------------------------------------------------
*/

/*
--------------------------------------------------------------------------
---- GLOBAL ----
--------------------------------------------------------------------------
*/

.no-text-select {
  user-select: none; /* Non-prefixed version - Chrome and Opera */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer - Edge */
	-webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
}

/*
--------------------------------------------------------------------------
---- LINKS ----
--------------------------------------------------------------------------
*/

a:link,
a:visited {
	color: #8096a6;
	text-decoration: none;
}

a:hover,
a:active {
	color: #8096a6;
	text-decoration: underline;
}

/*
--------------------------------------------------------------------------
---- HELP ICON ----
--------------------------------------------------------------------------
*/

.dacqs-help-icon {
  position: absolute;
  
  width: 20px;
  height: 20px;
  
  margin: 0px;
  padding: 2px 0px 0px 0px;
  
  color: #464e53;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  
  border: 1px solid #8096a6;
  background-color: #d5d9db;
  
  cursor: pointer;
  
  z-index: 5;
}

.dacqs-help-icon:before {
  content: "?";
}

.dacqs-help-icon:hover {
  color: #215daa;
  
  background-color: #c5ccd0;
}

.dacqs-help-icon.dialog-help-icon {
  top: 0px;
  right: 2px;
}

.dacqs-help-icon.login-help-icon {
  left: 10px;
  bottom: 10px;
}

.dacqs-help-icon.menu-help-icon {
  top: 10px;
  right: 10px;
  
  background-color: #c5ccd0;
}

.dacqs-help-icon.page-help-icon {
  top: 10px;
  right: 10px;
}

/*
--------------------------------------------------------------------------
---- HTML AND BODY ----
--------------------------------------------------------------------------
*/

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
  
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
}

*:focus {
	outline: 0px; /* remove dotted outline from around active elements */
}

html {
	position: relative;
	width: 100%;
	height: 100%;
	
	margin: 0px;
	padding: 0px;
	
	overflow: hidden;
  
  -webkit-text-size-adjust: 100%; /* fix iOS bug that changes font sizes when orientation is changed */
}

body {
	position: relative;
	width: 100%;
	height: 100%;
	
	margin: 0px;
	padding: 0px;
	
	background-color: #fefefe;
	
	overflow: hidden;
}

/* ---------------------------------------------- */

.page-wrapper {
	position: fixed;
	top: 0px;
	left: 0px;
	
	width: 100%;
  height: 100%;
	
	overflow-x: hidden;
	overflow-y: hidden;
	
	-webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/*
--------------------------------------------------------------------------
---- HEADER ----
--------------------------------------------------------------------------
*/

.page-header-wrapper {
	position: absolute;
	top: 0px;
	left: 0px;
	
	width: 100%;
  height: auto; /* content sets height */
	
	margin: 0px;
	padding: 10px;
	
	border-bottom: 1px solid #8096a6;
	background-color: #aec2d0;
}

@media (max-width: 991px) {
  .page-header-wrapper {
    height: 110px;
  }
}

/* ---------------------------------------------- */

.header-dacqs-logo {
	display: inline-block;
	position: relative;
	
	height: 80px;
	
	margin: 0px 0px -4px 0px;
	padding: 0px;
	
	float: left;
	
	text-align: right;
}

@media (max-width: 991px) {
  .header-dacqs-logo {
    height: 60px;
  }
}

.header-dacqs-logo img {
	display: block;
	
  width: auto;
  height: 100%;
}

/* ---------------------------------------------- */

.header-dacqs-version {
  color: #464e53;
}

/* ---------------------------------------------- */

.header-acount-info {
	position: absolute;
	
	top: 0px;
	right: 0px;
	
	margin: 10px;
	padding: 0px;
	
	text-align: right;
}

.header-acount-welcome-text {
	position: relative;
	
	margin: 0px;
	padding: 0px;
}

.header-signed-in-as-break {
  display: none;
}

@media (max-width: 991px) {
  .header-signed-in-as-break {
    display: block;
  }
}

/* ---------------------------------------------- */

.header-menu-container {
	position: absolute;
	
	bottom: 0px;
	right: 0px;
	
	margin: 0px;
	padding: 0px;
	
	text-align: right;
}

.header-menu-container > ul.header-menu {
	position: relative;
	
	margin: 0px;
	padding: 0px;
	
	font-size: 0px;
}

ul.header-menu > li.header-menu-item {
	display: inline-block;
	position: relative;
	
	margin: 0px;
	padding: 0px;
	
	color: #ffffff;
	list-style: none;
	
	border-left: 1px solid #aec2d0;
}

ul.header-menu > li.header-menu-item > a,
ul.header-menu > li.header-menu-item > span {
	display: block;
	
	margin: 0px;
	padding: 5px 10px;
	
	color: #ffffff;
	text-decoration: none;
	
	background-color: #8096a6;
  
  cursor: pointer;
}

ul.header-menu > li.header-menu-item > a:hover,
ul.header-menu > li.header-menu-item > span:hover {
	background-color: #89a1b3;
}

ul.header-menu > li.header-menu-item:first-child > a,
ul.header-menu > li.header-menu-item:first-child > span {
	-webkit-border-radius: 5px 0px 0px 0px;
  -moz-border-radius: 5px 0px 0px 0px;
  border-radius: 5px 0px 0px 0px;
}

/* ---------------------------------------------- */

ul.header-menu-submenu {
	display: none;
	position: absolute;
	
	margin: 0px;
	padding: 0px;
	
	z-index: 1000;
}

ul.header-menu-submenu > li.header-menu-submenu-item {
	margin: 0px;
	padding: 0px;
	
	list-style: none;
}

ul.header-menu-submenu > li.header-menu-submenu-item:first-child {
	border-top: 1px solid #8096a6;
}

ul.header-menu-submenu > li.header-menu-submenu-divider {
	height: 3px;
	
	margin: 0px;
	padding: 0px;
	
	background-color: #8096a6;
}

ul.header-menu-submenu > li.header-menu-submenu-item > a,
ul.header-menu-submenu > li.header-menu-submenu-item > span {
	display: block;
	position: relative;
	
	margin: 0px;
	padding: 7px 15px;
	
	color: #464e53 !important;
	text-decoration: none;
	
  border-right: 1px solid #aab0b3;
	border-bottom: 1px solid #aab0b3;
	border-left: 1px solid #aab0b3;
  
	background-color: #d5d9db !important;
}

ul.header-menu-submenu > li.header-menu-submenu-item > a:hover,
ul.header-menu-submenu > li.header-menu-submenu-item > span:hover {
	background-color: #c5ccd0 !important;
}

ul.header-menu-submenu > li.header-menu-submenu-item:last-child > a,
ul.header-menu-submenu > li.header-menu-submenu-item:last-child > span {
	-webkit-border-radius: 0px 0px 5px 5px;
  -moz-border-radius: 0px 0px 5px 5px;
  border-radius: 0px 0px 5px 5px;
}

@media (max-width: 991px) {
  #header-menu-image-library-item {
    display: none;
  }
}

/* ---------------------------------------------- */

#header-menu-reports-item {
  display: none;
}

@media (max-width: 991px) {
  #header-menu-reports-item {
    display: inline-block;
  }
}

/*
--------------------------------------------------------------------------
---- SIDE MENU ----
--------------------------------------------------------------------------
*/

.page-side-menu-wrapper {
	position: absolute;
	top: auto; /* set by jQuery based on header height */
	left: 0px;
	
	width: 200px;
	height: auto; /* set by jQuery based on header height */
	
	margin: 0px;
	padding: 0px;
	
	border-right: 1px solid #aab0b3;
	background-color: #d5d9db;
	
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.page-side-menu-wrapper.zero-width {
	width: 0px;
  
  border-right: none;
}

@media (max-width: 991px) {
  .page-side-menu-wrapper {
    width: 0px;
    
    border-right: none;
  }
}

/* ---------------------------------------------- */

.page-side-menu-wrapper ul {
	position: relative;
	
	margin: 0px;
	padding: 0px;
}

.page-side-menu-wrapper ul:last-child {
	border-bottom: 1px solid #aab0b3;
}

.page-side-menu-wrapper .page-side-menu-header {
	position: relative;
	
	margin: 0px;
	padding: 5px;
	
	color: #fefefe;
	font-weight: bold;
	
	background-color: #8096a6;
}

.page-side-menu-wrapper .page-side-menu-button a {
	display: block;
	position: relative;
	
	margin: 0px;
	padding: 10px;
	
	color: #000000;
	text-decoration: none;
	
	border-bottom: 1px solid #aab0b3;
	background-color: #c5ccd0;
}

.page-side-menu-wrapper .page-side-menu-button:last-child a  {
	border-bottom: none;
}

.page-side-menu-wrapper .page-side-menu-button:hover a {
	background-color: #bfc6c9;
}

/*
--------------------------------------------------------------------------
---- CONTENT AND FOOTER WRAPPER ----
--------------------------------------------------------------------------
*/

.page-content-and-footer-wrapper {
	position: absolute;
	top: auto; /* set by jQuery based on header height */
	left: auto; /* set by jQuery based on side menu width */
	
	width: auto; /* set by jQuery based on side menu width */
	height: auto; /* set by jQuery based on header height */
  
	margin: 0px;
	padding: 0px;
	
	background-color: #fefefe;
	
	overflow-x: auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/*
--------------------------------------------------------------------------
---- FOOTER ----
--------------------------------------------------------------------------
*/

.page-footer-wrapper {
	position: relative;
	
  width: 100%;
  min-width: calc(1024px - 200px); /* absolutely neccessary to prevent the footer from being cut off when scrolled left/right */
	height: auto; /* content sets height */
  
	margin: 0px;
	padding: 10px;
	
	color: #ffffff;
	font-size: 11px;
	line-height: 15px;

	background-color: #464e53;
	
	overflow-x: hidden;
	overflow-y: hidden;
}

@media (max-width: 991px) {
  .page-footer-wrapper {
    min-width: 100%;
  }
}

.page-footer-wrapper a:link,
.page-footer-wrapper a:visited {
	color: #ffffff;
	font-size: 11px;
	text-decoration: none;
}

.page-footer-wrapper a:hover,
.page-footer-wrapper a:active {
	color: #ffffff;
	font-size: 11px;
	text-decoration: underline;
}

/*
--------------------------------------------------------------------------
---- CONTENT ----
--------------------------------------------------------------------------
*/

.content-wrapper {
	position: relative;
	
	width: 100%;
  min-width: calc(1024px - 200px); /* dsiplays scroll bars when reaching minimum width */
	height: auto !important;
  min-height: 100%;
  
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: auto; /* set by jQuery based on footer height */
	margin-left: 0px;
	padding: 0px;
	
	overflow: hidden;
}

@media (max-width: 991px) {
  .content-wrapper {
    min-width: 100%;
  }
}

/* ---------------------------------------------- */

.content {
  position: relative;
	
	width: 100%;
	height: 100%;
  
	margin: 0px;
	padding: 0px 10px 10px 10px;
}

.content-header {
	position: relative;
	
	margin: 10px 0px 0px 0px;
	padding: 0px;
	
	font-weight: bold;
}

.content-text {
	position: relative;
	
	margin: 10px 0px 0px 0px;
	padding: 0px;
	
	font-weight: normal;
}

.content-text p {
	margin: 10px 0px 0px 0px;
	padding: 0px;
}

.content-text p:first-child {
	margin: 0px;
	padding: 0px;
}

.content-text ul {
	margin: 0px 0px 0px 20px;
	padding: 0px;
}

.content-text ul li {
	margin: 3px 0px 0px 0px;
	padding: 0px;
}

.content-horizontalrule {
	position: relative;
	
	width: 100%;
	height: 1px;
	
	margin: 10px 0px 10px 0px;
	padding: 0px;
	
	border-bottom: 1px solid #c0c0c0;
}

.content-wedge {
	position: relative;
	display: block;
	
	width: 100%;
	height: auto; /* set by jQuery based on footer height */
}

/*
--------------------------------------------------------------------------
---- INDEX PAGE ----
--------------------------------------------------------------------------
*/

.index-default-message {
	position: relative;
	
	margin: 20px 0px 0px 0px;
	padding: 0px;
	
	text-align: center;
}

/*
--------------------------------------------------------------------------
---- OFFLINE MODE ----
--------------------------------------------------------------------------
*/
.offline-mode-message-wrapper {
  position: relative;
	
	margin: 0px;
	padding: 0px;
	
	text-align: center;
}

.offline-mode-message {
	display: inline-block;
  position: relative;
	
	margin: 20px 0px 0px 0px;
	padding: 0px 10px;
	
  color: #6b1617;
	text-align: center;
  
	-moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  
  background-color: #efc7c8;
}

/*
--------------------------------------------------------------------------
---- ADMIN AREA ----
--------------------------------------------------------------------------
*/

.admin-not-logged-in-message {
	position: relative;
	
	margin: 10px 0px 0px 0px;
	padding: 0px;
	
	text-align: center;
}

/*
--------------------------------------------------------------------------
---- DIALOG ELEMENTS ----
--------------------------------------------------------------------------
*/

.dacqs-dialog-header {
	display: block;
	position: relative;
	
	margin: 0px 0px 2px 0px;
	padding: 0px;
	
	font-weight: bold;
}

.dacqs-dialog-text {
	position: relative;
	
	margin: 10px 0px 10px 0px;
	padding: 0px;
}

.dacqs-dialog-text:first-child {
	position: relative;
	
	margin: 0px 0px 10px 0px;
	padding: 0px;
}

.dacqs-dialog-note {
	position: relative;
	
	margin: 0px 0px 10px 0px;
	padding: 0px;
	
	font-style: italic;
}

.dacqs-dialog-text + .dacqs-dialog-text-input,
.dacqs-dialog-note + .dacqs-dialog-text-input {
  margin-top: -7px;
}

.dacqs-dialog-horizontalrule {
	position: relative;
	
	width: 100%;
	height: 1px;
	
	margin: 10px 0px 10px 0px;
	padding: 0px;
	
	border-bottom: 1px solid #c0c0c0;
}

table + .dacqs-dialog-horizontalrule {
	margin: -10px 0px 10px 0px;
}

.dacqs-dialog-text-input {
	display: block;
	position: relative;
	
	width: 100%;
	height: auto;
	
	margin: 3px 0px 10px 0px;
	padding: 5px;
	
	-moz-border-radius: 3px;
  -webkit-border-radius: 3px;
	border-radius: 3px;
  
	border: 1px solid #8096a6;
}

.dacqs-dialog-textarea {
	display: block;
	position: relative;
	
	width: 100%;
	height: 125px;
	
	margin: 3px 0px 10px 0px;
	padding: 5px;
	
	-moz-border-radius: 3px;
  -webkit-border-radius: 3px;
	border-radius: 3px;
  
	border: 1px solid #8096a6;
	
	resize: none;
}

.ui-dialog-content ul {
	margin-top: 0px;
	margin-left: 20px;
	padding: 0px;
}

.ui-dialog-content ul li {
	margin: 3px 0px 0px 0px;
	padding: 0px;
}

/*
--------------------------------------------------------------------------
---- IMAGE LIBRARY ----
--------------------------------------------------------------------------
*/

.image-library-dialog-table {
	position: relative;
	
	width: 100%;
	
	border-collapse: collapse;
	border-spacing: 0px;
}

.image-library-dialog-table tr td.image-library-dialog-table-choose-cell {
	width: 50%;
	
	margin: 0px;
	padding: 0px 5px 0px 0px;
	
	vertical-align: top;
}

.image-library-dialog-table tr td.image-library-dialog-table-upload-cell {
	width: 50%;
	
	margin: 0px;
	padding: 0px 0px 0px 5px;
	
	vertical-align: top;
}

/* ---------------------------------------------- */

.image-library-dialog-image-list-container {
	position: relative;
	
	width: 100%;
	height: auto; /* set by jQuery in the dacqs-dialog js file */
	
	margin: 0px;
	padding: 0px;
	
	font-size: 0px;
}

/* ---------------------------------------------- */

.image-library-dialog-image-list {
	position: relative;
	
	width: 100%;
	height: auto; /* this makes the list container only as big as the items within it */
	max-height: 100%; /* this makes the list container scroll as soon as it is taller than the overall container set by jQuery in the dacqs-dialog js file */
	
	margin: 0px;
	padding: 0px;
	
	-moz-border-radius: 3px;
  -webkit-border-radius: 3px;
	border-radius: 3px;
  
	border: 1px solid #8096a6;
	
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.image-library-dialog-image-item,
.image-library-dialog-folder-item,
.image-library-dialog-folder-back-item {
	position: relative;
	
	width: 100%;
	height: auto;
	
	margin: 0px;
	padding: 5px;
	
	border-bottom: 1px solid #8096a6;
	background-color: #f6f6f6;
}

.image-library-dialog-folder-item,
.image-library-dialog-folder-back-item {
  cursor: pointer;
}

.image-library-dialog-image-list.getting .image-library-dialog-image-item,
.image-library-dialog-image-list.getting .image-library-dialog-folder-item,
.image-library-dialog-image-list.getting .image-library-dialog-folder-back-item {
  cursor: pointer;
}

.image-library-dialog-image-item:last-child,
.image-library-dialog-folder-item:last-child {
	border-bottom: none;
}

.image-library-dialog-image-list .image-library-dialog-folder-item:hover,
.image-library-dialog-image-list .image-library-dialog-folder-back-item:hover,
.image-library-dialog-image-list.getting .image-library-dialog-image-item:not(.selected):hover {
	background-color: #ededed;
}

.image-library-dialog-image-item.selected {
	background-color: #aec2d0;
}

.image-library-dialog-image-item .list-image,
.image-library-dialog-folder-item .list-folder,
.image-library-dialog-folder-back-item .list-folder-back {
  display: block;
	position: relative;
	
	width: auto;
  max-width: 250px;
	height: 65px;
	
	margin: 5px 0px 5px 5px;
	padding: 0px;
	
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
	border-radius: 3px;
  
	background-image: url();
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
}

.image-library-dialog-image-item .list-file-name,
.image-library-dialog-folder-item .list-file-name,
.image-library-dialog-folder-back-item .list-file-name {
	position: relative;
	
	margin: 5px 0px 5px 5px;
	padding: 0px;
}

.image-library-dialog-image-item .list-delete-button,
.image-library-dialog-folder-item .list-delete-button {
	position: absolute;
	
	top: 4px;
	right: 4px;
	
	width: 20px;
	height: 20px;
	
	margin: 0px;
	padding: 0px;
	
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
  font-weight: bold;
	line-height: 20px;
	text-align: center;
	
	-moz-border-radius: 3px;
  -webkit-border-radius: 3px;
	border-radius: 3px;
  
	background-color: #464e53;
	
	cursor: pointer;
}

.image-library-dialog-no-images {
	position: relative;
	
	width: 100%;
	height: auto;
	
	margin: 0px;
	padding: 6px;
  
  font-style: italic;
}

/* ---------------------------------------------- */

.image-library-current-path:before {
  content: "LIBRARY"
}

/* ---------------------------------------------- */

.image-library-dialog-image-browse-input {
	display: none;
}

.image-library-dialog-image-browse-label {
	display: inline-block;
	position: relative;
	
	margin: 10px 0px 0px 0px;
	padding: 0px;
	
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serif;
}

.image-library-dialog-image-browse-label .ui-icon {
	margin-right: 6px;
}

.image-library-dialog-image-browse-file-name {
	position: relative;
	
	margin: 10px 0px 10px 0px;
	padding: 0px;
}

.image-library-dialog-image-browse-file-name:empty {
	margin: 0px 0px 0px 0px;
}

/* ---------------------------------------------- */

.image-library-dialog-image-upload-button {
	display: block;
	position: relative;
	
	margin: 10px 0px 15px 0px;
}

.image-library-dialog-image-upload-button .ui-icon {
	margin-right: 6px;
}

/* ---------------------------------------------- */

.image-library-dialog-add-folder-button .ui-icon {
	margin-top: -4px;
  margin-right: 6px;
}

/* ---------------------------------------------- */

.image-library-drag-helper {
  position: relative;
  
  width: 150px;
  
  margin: 0px;
  padding: 5px;
  
  text-align: center;
  
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
	border-radius: 3px;
  
  background-color: rgba(255, 255, 255, 0.35);
}

.drag-helper-list-folder,
.drag-helper-list-image {
	position: relative;
	
	width: auto;
  max-width: 150px;
	height: 45px;
	
	margin: 0px;
	padding: 0px;
	
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
	border-radius: 3px;
  
	background-image: url();
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
}

.drag-helper-list-file-name {
	position: relative;
	
	margin: 5px 0px 0px 0px;
  padding: 0px;
  
  font-size: 11px;
}

/* ---------------------------------------------- */

.image-library-drop-hover {
  background-image: url("../images/image_library_drop.png");
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


/*
--------------------------------------------------------------------------
---- LOADING MESSAGE ----
--------------------------------------------------------------------------
*/

.loading-message-wrapper {
  position: relative;
  
  width: 275px;
  height: auto;
  
  top: 50%;
  transform: translateY(-50%);
  
  margin: 0px auto;
  padding: 35px 0px;
  
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
	border-radius: 5px;
  
  background-color: rgba(255, 255, 255, 0.85);
  
  box-shadow: 0px 0px 10px #aab0b3;
  
  z-index: 1000;
}

.loading-message-image {
  position: relative;
  
  width: 100%;
  height: 15px; /* height should be 25px at most based on image size */
  
  margin: 0px;
  padding: 0px;
  
  background-color: transparent;
  background-image: url("../images/loading_message_1_animation.gif");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.loading-message-text {
  position: relative;
  
  margin: 0px;
  padding: 10px 0px 0px 0px;
  
  font-size: 14px;
  text-align: center;
}

/* ---------------------------------------------- */

.loading-message-overlay {
  position: fixed;
  
	top: 0;
	left: 0;
  
	width: 100%;
	height: 100%;
  
  background-color: #aaaaaa;
  
	opacity: .3;
	filter: Alpha(Opacity=30); /* support: IE8 */ 
  
  z-index: 999;
}


/*
--------------------------------------------------------------------------
---- CUSTOM RADIO BUTTONS AND CHECKBOXES ----
--------------------------------------------------------------------------
*/

.input-container-block {
	display: block;
	position: relative;
	
	margin: 0px 0px 10px 0px;
  padding: 0px;
}

.input-container-inline {
	display: inlin-block;
	position: relative;
	
	margin: 0px 0px 10px 0px;
  padding: 0px;
}

/* ---------------------------------------------- */

.radiocheckbox-container-block {
	display: block;
	position: relative;
	
	min-width: 24px; /* width of icon - this is needed in case there is no label */
	min-height: 24px; /* height of icon - this is needed in case there is no label */
	
	margin: 0px 0px 5px 0px;
  padding: 0px;
}


.radiocheckbox-container-inline {
	display: inline-block;
	position: relative;
	
	min-width: 24px; /* width of icon - this is needed in case there is no label */
	min-height: 24px; /* height of icon - this is needed in case there is no label */
	
	margin: 0px;
  padding: 0px;
}

.radiocheckbox-container-inline {
	margin: 0px 0px 0px 0px;
}

/* ---------------------------------------------- */

.radiocheckbox-container-block label,
.radiocheckbox-container-inline label {
	display: inline-block;
	position: relative;
	
	margin: 0px;
  padding: 0px 8px 0px 28px; /* width of icon plus a little white space on the left */
	
	line-height: 24px; /* height of icon */
}

/* ---------------------------------------------- */

input[type='checkbox'],
input[type='radio'] {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	
  width: 24px;
	height: 24px;
	
  margin: 0px;
  padding: 0px;
	
	cursor: pointer;
	
	opacity: 0;
	z-index: 9999; /* extremely important - this is needed so that the invisble input is on top of the graphic so that the input can be clicked */
}

input[type='checkbox'] + span,
input[type='radio'] + span {
  display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	
	width: 24px;
	height: 24px;
	
  margin: 0px;
  padding: 0px 0px 0px 24px;

	cursor: pointer;
	
	z-index: 9998; /* extremely important - this is needed so that the graphic is below the invisble input so that the input can be clicked */
}

/* ---------------------------------------------- */

input[type='radio'] + span {
	background-image: url("../images/custom_input_icons_radio.png");
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

input[type='radio']:focus + span,
input[type='radio']:hover + span {
  background-position: -24px 0px;
}

input[type='radio']:checked + span {
  background-position: -48px 0px;
}

input[type='radio']:checked:focus + span,
input[type='radio']:checked:hover + span {
  background-position: -72px 0px;
}

input[type='radio'][disabled] {
	cursor: default;
}

input[type='radio'][disabled] + span {
	background-position: -96px 0px;
}

input[type='radio'][disabled]:checked + span {
  background-position: -120px 0px;
}

input[type='radio'][disabled] + span + label {
	color: #afc2ce;
}

/* ---------------------------------------------- */

input[type='checkbox'] + span {
	background-image: url("../images/custom_input_icons_checkbox.png");
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

input[type='checkbox']:focus + span,
input[type='checkbox']:hover + span {
  background-position: -24px 0px;
}

input[type='checkbox']:checked + span {
  background-position: -48px 0px;
}

input[type='checkbox']:checked:focus + span,
input[type='checkbox']:checked:hover + span {
  background-position: -72px 0px;
}

input[type='checkbox'][disabled] {
	cursor: default;
}

input[type='checkbox'][disabled] + span {
	background-position: -96px 0px;
}

input[type='checkbox'][disabled]:checked + span {
  background-position: -120px 0px;
}

input[type='checkbox'][disabled] + span + label {
	color: #afc2ce;
}


































