* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.row-fluid{width:100%}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .span12{width:100%}.row-fluid .span11{width:91.45299145299145%}.row-fluid .span10{width:82.90598290598291%}.row-fluid .span9{width:74.35897435897436%}.row-fluid .span8{width:65.81196581196582%}.row-fluid .span7{width:57.26495726495726%}.row-fluid .span6{width:48.717948717948715%}.row-fluid .span5{width:40.17094017094017%}.row-fluid .span4{width:31.623931623931625%}.row-fluid .span3{width:23.076923076923077%}.row-fluid .span2{width:14.52991452991453%}.row-fluid .span1{width:5.982905982905983%}

input, select, textarea, button, a {
 	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

input[type=text], input[type=email], input[type=password], input[type=button], input[type=submit], textarea {
	-webkit-appearance: none;
	border-radius: 0;
}

textarea {
	resize: vertical;
	vertical-align: top;
}

input:focus, textarea:focus, select:focus, button:focus {
	outline: none;
}

/*button[type=button]:active, input[type=button]:active, input[type=submit]:active, input[type=reset]:active {
	color: inherit;
}*/

table { 
	border-collapse: collapse;
	border-spacing: 0;
}

body#ifr {
	background: #fff;
}

iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.screen-reader-text {
	display: none;
}

.the-content {
	position: relative;
	height: 100%;
}

.the-content small {
	font-size: 10px;
	display: block;
	margin-top: -12px;
}

.split {
	box-sizing: border-box;
	overflow: hidden;
	height: 100%;
	float: left;
}

/*.pane-l {
	padding-right: 10px;
}

.pane-r {
	padding-left: 10px;
}*/

.gutter {
	background-repeat: no-repeat;
	background-position: 50%;
	cursor: ew-resize;
	height: 100%;
    float: left;
}

.gutter:hover, .gutter:active {
	background-image: url('../images/vertical.png');
}

.btn-l, .btn-r {
	position: absolute;
	top: 30px;
	font-size: .75em;
	cursor: pointer;
}

body {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	background: #f1f1f1;
	color: #000;
	font-size: 16px;
	line-height: 1.25;
	font-family: Arial, sans-serif;
}

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

ol, ul {
	list-style: none;
}

h1 {
	font-size: 24px;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h1, h2, h3, h4 {
	font-weight: bold;
	padding-bottom: 3px;
}

hr {
	border-top:1px solid #d8dbe0;
	border-bottom:1px solid #fafafa;
	border-left:none;
	border-right:none;
	margin: 0 20px;	
}

.wrap {
	display: grid;
	grid-template-rows: 80px auto 50px;
	overflow: auto;
	margin: 30px;
	padding: 0 20px;
	background: #fff;
	border: 1px solid #dbdbdb;
	box-shadow: rgba(0, 0, 0, .05) 0 0 5px;
	transition: all .5s;
}

.site-title {
	height: 40px;
	margin: 0 -20px;
	padding: 5px 20px;
	background: #000;
	color: #fff;
	text-align: center;
}

.site-title a {
	color: #fff;
}

.site-navigation {
	height: 40px;
	padding-top: 10px;
	overflow: hidden;
}

.menu {
	line-height: 20px;
	padding: 5px 0 20px;
	display: block;
	height: 50px;
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
}

.menu li {
	display: inline;
}

.menu a {
	margin-right: 1em;
	white-space: nowrap;
}

.menu a:hover {
	text-decoration: underline;
}

.menu .current-menu-item a {
	text-decoration: underline;
}

.the-content p {
	margin-bottom: 1em;
}

.the-content a {
	text-decoration: none;
}

.the-content a:hover {
	text-decoration: underline;
}

.the-footnotes {
	float: left;
}

.the-copyright {
	float: right;
	text-align: right;
	white-space: nowrap;
	line-height: 20px;
}

/*header,
main,
footer {
	padding: 20px 0;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}*/

header {
	width: 100%;
	height: 80px;
	border-bottom: 1px solid #dedede;
}	
main {
	width: 100%;
	height: 100%;
	min-height: calc(100vh - 192px);
	padding: 20px 0;
	background: #fff;
}
footer {
	border-top: 1px solid #dedede;
	width: 100%;
	height: 50px;
	clear: both;
	font-size: 13px;
}
footer > div {
	width: 50%;
	display: inline-block;
	padding: 5px 0;
}
footer .widget-title {
	float: left;
	margin-right: 1em;
	font-size: inherit;
	line-height: 20px;
}
footer .widget-title:after {
	content: ':';
}

.result {
	width: 100%;
	float: left;
}

.tools a, .tools label {
	color: #000;
	float: right;
	font-size: .75em;
	margin-left: 1em;
	cursor: pointer;
}

.tools a:hover, .tools label:hover {
	text-decoration: underline;
}

.btn-add-new, .btn-cancel {
	float: right;
	font-size: .75em;
	margin-left: 1em;
	cursor: pointer;
}

.prescriptions .btn-add-new {
	float: left;
	margin-left: 0;
}

.loading {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff url('../images/loading.gif') no-repeat center center;
}

.iframe {
	/*background: #fff url('../images/loading.gif') no-repeat center center;*/
}

.ajaxpost {
	padding-top: 44px;
}

.button-primary {
	font-family: inherit;
	font-size: inherit;
	display: inline-block;
	min-width: 128px;
	height: 36px;
	line-height: 34px;
	text-align: center;
	color: #fff;
	background: #000; /*#10a0ea*/
	border: 1px solid #000;
	cursor: pointer;
	padding: 0 10px;
	-webkit-appearance:none;
	transition: transform .2s;	
}

.button-primary:focus,
.button-primary:active {
	color: #fff;
	outline: none;
	transform: scale(.95);
}

.button-secondary {
	font-family: inherit;
	font-size: inherit;
	display: inline-block;
	min-width: 128px;
	height: 36px;
	line-height: 34px;
	text-align: center;
	color: #000;
	background: #fff;
	border: 1px solid #000;
	cursor: pointer;
	padding: 0 10px;
	-webkit-appearance:none;	
	transition: transform .2s;
}

.button-secondary:focus,
.button-secondary:active {
	color: #000;
	outline: none;
	transform: scale(.95);
}

.tabs_login {
	width: 100%;
	height: 20px;
	margin: 10px 0;
}

.tabs_login li {
	display: inline;
	margin-right: 10px;
}

.tabs_login a {
	text-decoration: none;
}

.tabs_login a:hover {
	text-decoration: underline;
}

.log_in, .log_out {
 	float: right;
 	color: #000;
 	cursor: pointer;
 	line-height: 20px;
	margin: 5px 0;
	padding-left: 5px;
}

.log_in:hover, .log_out:hover {
	text-decoration: underline;
}

/* modal */
.modal {
	position: absolute;
}
.img-replace {
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
}
.modal-buttons input[type=checkbox] {
  margin: 8px 4px;
}
.modal-rememberme {
	float: left;
	margin: 8px 0;
}
.modal-buttons input[type=checkbox],
label.rememberme {
  font-size: .75em;
  cursor: pointer;
}
.modal-buttons {
	float: right;
	margin: 4px 0;
}
.modal-buttons div {
	float: left;
}
.modal-buttons label,
.modal-buttons a {
  min-width: 125px!important;
  text-decoration: none!important;
}
.modal-buttons label {
  margin-right: 3px;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.modal-close:before, .modal-close:after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}
.modal-close:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.modal-close:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.modal-close:hover:before, .modal-close:hover:after {
  background-color: #444;
}
.modal-wrap:before {
  content: '';
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none;
  z-index: 101;
}
.modal-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none;
  z-index: 102;
}
.modal-open:checked ~ .modal-wrap:before,
.modal-open:checked ~ .modal-wrap .modal-overlay,
.modal-open:checked ~ .modal-wrap .modal-dialog {
  display: block;
}
.modal-dialog {
  background: #fefefe;
  border: #555555 solid 1px;
  border-radius: 5px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  padding: 16px;
  overflow: hidden;
  display: none;
  z-index: 103;
}
.modal-dialog h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}
.modal-dialog p {
  padding: 8px 0;
}
.modal-dialog .field,
.wp-user-form .field {
  padding: 8px 0;
}
.modal-dialog .field label,
.wp-user-form .field label {
  display: block;
  font-size: .75em;
  margin-bottom: 4px;
}
.modal-dialog input[type=text],
.modal-dialog input[type=password],
.modal-dialog input[type=email],
.wp-user-form input[type=text],
.wp-user-form input[type=password],
.wp-user-form input[type=email] {
  font-size: inherit;
}
.wp-user-form {
	max-width: 480px;
}

/* cmb2 */
.cmb2-id--opsh-first {
	width:48.717948717948715%;
	margin-left: 0;
	float: left;
}

.cmb2-id--opsh-last {
	width: 48.717948717948715%;
	margin-left: 2.564102564102564%;
	float: left;
}

.cmb2-id--opsh-isco {
	position: absolute;
	margin-top: -54px;
	right: 0;
}

.cmb2-id--opsh-isco .cmb-td {
	height: 36px;
	padding: 8px;
}

.cmb2-id--opsh-isco label {
	font-size: .75em;
	min-width: 20px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	background: #e5e5e5;
	border: 0;
	border-radius: 10px;
	padding: 0;
	display: block;
	cursor: pointer;
}

.cmb2-id--opsh-isco label:before {
	content: '\2606';
}

#_opsh_isco:checked + label:before {
	content: '\2605';
}

#_opsh_isco {
	opacity: 0;
	height: 0;
	display: block;
}

.cmb2-id--opsh-isco label span {
	display: none;
}

.empty-row.hidden {
	display: none;
}

.cmb-repeat .cmb-td {
	position: relative;
}

.cmb-repeat-row {
	position: relative;
}

.cmb-repeat-row .cmb-td {
	margin-right: 32px;
	padding-bottom: 0;
}

.cmb-repeat-row:not(:first-child) input {
	border-top: 0!important;
}

.cmb-td.cmb-remove-row {
	position: absolute;
	top: 8px;
	right: 8px;
}

p.cmb-add-row {
	position: relative;
	margin-top: -28px;
	right: 5px;
	float: right;
	margin-bottom: 0;
}

.cmb-td.cmb-field-list,
.cmb-td.cmb-remove-field-row,
.cmb-repeat-group-wrap > .cmb-td {
	padding-bottom: 0;
}

.cmb2-id--opsh-address .cmb-remove-field-row {
	position: absolute;
	right: 32px;
	top: 90px;
	width: 36px;
	height: 36px;
}

.cmb2-id--opsh-address.cmb-type-group p.cmb-add-row {
	margin-top: -10px;
}

.cmb-type-group .cmb-remove-row {
	/*position: absolute;
	right: 32px;
	bottom: 48px;*/
	
	/*position: absolute;
	right: 40px;
	bottom: 26px;*/
	
	float: left;
	width: 36px;
	height: 36px;
	padding: 8px;
}

.cmb-repeat-group-wrap.cmb-repeat .cmb-repeatable-group > .cmb-row:last-child {
	position: absolute;
	right: 0;
	bottom: 26px;
}

.cmb-type-group p.cmb-add-row {
	position: absolute;
	right: 0;
	width: 36px;
	height: 36px;
	margin-top: -46px;
	margin-bottom: 0;
	padding: 8px;
}

.cmb-td.cmb-remove-row, .cmb-td.cmb-add-row {
	padding-bottom: 0;	
}

.cmb-remove-row button.button-secondary, .cmb-add-row button.button-secondary {
	font-size: 0;
	min-width: 20px;
	width: 20px;
	height: 20px;
	line-height: 22px;
	text-align: center;
	color: #fff;
	background: #e5e5e5;
	border: 0;
	border-radius: 10px;
	padding: 0;
}

.cmb-remove-row button.button-secondary:before {
	content: '\ff0d';
	display: block;
	font-size: 16px;
}

.cmb-add-row button.button-secondary:before {
	content: '\ff0b';
	display: block;
	font-size: 16px;
}

.cmb-remove-group-row {
	display: none;
}

.cmbhandle, .cmbhandle-title {
	display: none;
}

#_opsh_address_repeat .cmb-repeat-group-field:nth-of-type(2) {
	width: 31.623931623931625%;
	margin-left: 0;
	float: left;
}

#_opsh_address_repeat .cmb-repeat-group-field:nth-of-type(3) {
	width: 65.81196581196582%;
	margin-left: 2.564102564102564%;
	float: left;
}

#_opsh_address_repeat .cmb-repeat-group-field:nth-of-type(3) .cmb-td {
	margin-right: 67px;
}

.post-type-archive-prescription .table tbody {
	display: block;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
}

@-moz-document url-prefix() {
	.post-type-archive-prescription .table tbody {
		max-height: calc(100vh - 395px);
	}
}

.post-type-archive-prescription .table tr {
	display: table;
	content-visibility: auto;
}

.post-type-archive-prescription .table th,
.post-type-archive-prescription .table td {
	width: auto;
	display: inline-block;
	float: left;
}

.post-type-archive-prescription .table th:nth-of-type(1),
.post-type-archive-prescription .table td:nth-of-type(1) {
	width: 55px;
}

.post-type-archive-prescription .table th:nth-of-type(2),
.post-type-archive-prescription .table td:nth-of-type(2) {;
	width: 85px;
}

.post-type-archive-prescription .table th:nth-of-type(3),
.post-type-archive-prescription .table td:nth-of-type(3) {
	width: calc(100% - 140px);
}

.post-type-archive-prescription .table td {
	border-left: 1px solid #e5e5e5;
}

.post-type-archive-prescription .table td:first-child {
	border-left: 0;
	text-align: right;
}

.post-type-archive-prescription .table tr:last-child td {
	border-bottom: 1px solid #e5e5e5;
}

.post-type-archive-prescription.search-no-results .table tr td {
	width: auto;
	border: 0;
}

.cmb2-id--opsh-text {
	margin-top: 36px;
}

#_opsh_makran_repeat .cmb-field-list,
#_opsh_mesaia_repeat .cmb-field-list,
#_opsh_plision_repeat .cmb-field-list,
#_opsh_fakoi_repeat .cmb-field-list {
	margin-left: 40px;
	width: calc(100% - 40px);
}

#_opsh_makran_repeat .cmb-field-list .cmb-row,
#_opsh_mesaia_repeat .cmb-field-list .cmb-row,
#_opsh_plision_repeat .cmb-field-list .cmb-row {
	float: left;
	width: 10%;
}

#_opsh_fakoi_repeat .cmb-field-list .cmb-row {
	float: left;
	width: 9.0909%;
}

#_opsh_makran_repeat .cmb-repeat-group-field:nth-child(-n+10) .cmb-td,
#_opsh_mesaia_repeat .cmb-repeat-group-field:nth-child(-n+10) .cmb-td,
#_opsh_plision_repeat .cmb-repeat-group-field:nth-child(-n+10) .cmb-td,
#_opsh_fakoi_repeat .cmb-repeat-group-field:nth-child(-n+11) .cmb-td {
	padding-bottom: 0;
}

#_opsh_makran_repeat .cmb-repeat-group-field:nth-child(-n+10) .cmb2-text-small,
#_opsh_mesaia_repeat .cmb-repeat-group-field:nth-child(-n+10) .cmb2-text-small,
#_opsh_plision_repeat .cmb-repeat-group-field:nth-child(-n+10) .cmb2-text-small,
#_opsh_fakoi_repeat .cmb-repeat-group-field:nth-child(-n+11) .cmb2-text-small {
	border-bottom: 0;
}

#_opsh_makran_repeat .cmb-repeat-group-field:not(:nth-child(10n+0)) .cmb2-text-small,
#_opsh_mesaia_repeat .cmb-repeat-group-field:not(:nth-child(10n+0)) .cmb2-text-small,
#_opsh_plision_repeat .cmb-repeat-group-field:not(:nth-child(10n+0)) .cmb2-text-small,
#_opsh_fakoi_repeat .cmb-repeat-group-field:not(:nth-child(11n+0)) .cmb2-text-small {
	 border-right: 0;
}

.cmb2-id--opsh-makran-0-do-sph:before,
.cmb2-id--opsh-mesaia-0-do-sph:before,
.cmb2-id--opsh-plision-0-do-sph:before,
.cmb2-id--opsh-fakoi-0-do-sph:before {
	content: 'Δ.Ο.';
	position: absolute;
	margin-top: 26px;
	margin-left: -40px;
}

.cmb2-id--opsh-makran-0-ao-sph:before,
.cmb2-id--opsh-mesaia-0-ao-sph:before,
.cmb2-id--opsh-plision-0-ao-sph:before,
.cmb2-id--opsh-fakoi-0-ao-sph:before {
	content: 'Α.Ο.';
	position: absolute;
	margin-top: 8px;
	margin-left: -40px;
}

#_opsh_makran_repeat .cmb-repeat-group-field:nth-child(n+11):nth-child(-n+21) .cmb-th,
#_opsh_mesaia_repeat .cmb-repeat-group-field:nth-child(n+11):nth-child(-n+21) .cmb-th,
#_opsh_plision_repeat .cmb-repeat-group-field:nth-child(n+11):nth-child(-n+21) .cmb-th,
#_opsh_fakoi_repeat .cmb-repeat-group-field:nth-child(n+12):nth-child(-n+22) .cmb-th {
	display: none;
}

.autocomplete-suggestions {
	border-top: 0;
}

.cmb2-element .ui-datepicker, .cmb2-element.ui-datepicker {
    min-width: auto!important;
}

.error {
	color: red;
}

.success {
	color: green;
}

.cmb2-wrap input[type=text], .cmb2-wrap input[type=email], .cmb2-wrap textarea {
	font-family: inherit;
    font-size: 13px;
    width: 100%;
    min-height: 36px;
    padding: 8px;
    border: 1px solid #e5e5e5;
}

.cmb2-wrap .button-primary,
.cmb2-wrap .button-secondary {
	font-family: inherit;
	font-size: inherit;
	display: inline-block;
	min-width: auto;
	height: auto;
	line-height: inherit;
	text-align: center;
	color: #000;
	background: #fff;
	border: none;
	cursor: pointer;
	padding: 0 10px;
	-webkit-appearance:none;	
	transition: transform .2s;
}

.cmb-inline ul {
    padding: 4px 0 0
}

.cmb-inline li {
    display: inline-block;
    padding-right: 16px;
}

.cmb-inline li label {
    font-size: .75em;
}

.cmb2-wrap .cmb-row:after {
    content: '';
    clear: both;
    display: block;
    width: 100%
}

.cmb2-metabox {
    clear: both;
    margin: 0;
    padding-top: 6px;
}

.cmb-th {
    padding: 0 0 3px;
    font-size: .75em;
}

.cmb-td {
    padding-bottom: 18px;
}

p.cmb2-metabox-description {
    color: #999;
    font-size: .75em;
    margin: 0;
    padding-top: .5em
}

span.cmb2-metabox-description {
    color: #999;
    font-size: .75em;
}

.cmb2-postbox .cmb-row {
    padding: 0 0 1.8em;
    margin: 0 0 .8em
}

.cmb2-element.ui-datepicker select.ui-datepicker-month,
.cmb2-element.ui-datepicker select.ui-datepicker-year, 
.cmb2-element .ui-datepicker select.ui-datepicker-month,
.cmb2-element .ui-datepicker select.ui-datepicker-year {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	color: #fff;
	-webkit-appearance: none;
	border-radius: 0;
}

.cmb2-element.ui-datepicker select.ui-datepicker-month, 
.cmb2-element .ui-datepicker select.ui-datepicker-month {
	width: 54%;
}

.cmb2-element.ui-datepicker select.ui-datepicker-year, 
.cmb2-element .ui-datepicker select.ui-datepicker-year {
	width: 12%;
}

#aupo_read_document .cmb-td {
	padding-top: 6px;
    padding-bottom: 30px;
}

#aupo_read_document .cmb-th.inline {
	float: left;
	margin-right: 6px;
	padding-top: 6px;
}

/*selectize*/
.selectize-input, .selectize-dropdown {
	max-width: 100%;
	border-radius: 0!important;
	border-color: #e5e5e5!important;
	box-shadow: none!important;
}
.selectize-input {
	background-image: none!important;
	background-color: #fff!important;
}

.selectize-input input {
	color: inherit!important;
}

/*table*/
#search {
	padding: 21px 0 39px;
}

#search input[type=submit] {
	position: relative;
	margin-top: -35px;
	margin-right: 1px;
	float: right;
	width: 34px;
	height: 34px;
	box-shadow: none;
	text-indent: -9999px;
	background-color: #fff;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='#e5e5e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='10.5' cy='10.5' r='7.5'%3e%3c/circle%3e%3cline x1='21' y1='21' x2='15.8' y2='15.8'%3e%3c/line%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
	cursor: pointer;
}

#search.field .cmb-td {
	padding-bottom: 0;
}

.pane-l .field, .pane-l .cmb-td {
	padding-bottom: 0;
}

.table {
    table-layout: fixed;
    width: 100%;
    background: #fff;
    height: calc(100% - 145px);
    min-height: 198px;
}

tbody {
	border: 1px solid #e5e5e5;
}

tr {
	width: 100%;
}

.post-type-archive-contact .table tbody,
.page-template-archive-contact .table tbody {
	display: block;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
}

@-moz-document url-prefix() {
	.post-type-archive-contact .table tbody,
	.page-template-archive-contact .table tbody {
		max-height: calc(100vh - 450px);
	}
}

.post-type-archive-contact .table tr,
.page-template-archive-contact .table tr {
	display: block;
}

.selected {
    background: #f9f9f9;
}

.table th {
	padding: 0 0 3px 3px;
	font-size: .75em;
	font-weight: normal;
	text-align: left;
	cursor: pointer;
}

.table th.ascending:after {
	font-size: 75%;
	content: '\00a0\25B2';
}

.table th.descending:after {
	font-size: 75%;
	content: '\00a0\25BC';
}

.table tr[data-href] {
	display: table;
	position: relative;
	content-visibility: auto;
}

.table tr[data-href] td {
	display: block;
	cursor: pointer;
}

.table tr[data-href] td:hover {
	text-decoration: underline;
}

.table tr[data-href].selected td {
	text-decoration: underline;
}

.table td {
	font-family: inherit;
	font-size: 13px;
	width: 100%;
	height: 35px;
	padding: 9px 8px;
	border-bottom: 1px solid #e5e5e5;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.table td span {
	display: none;
}

.table tr:last-child td {
	border-bottom: 0;
}

.table p {
	margin: 0;
}

/*alphabet-nav*/
.table .alphabet {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
	height: auto;
	padding: 0 0 9px;
	border: 0;
}
.alphabet a {
	min-width: 20px;
	height: 20px;
	float: left;
	display: block;
	margin: 0 1px 1px 0;
	padding: 3px;
	text-align: center;
	background-color: #f9f9f9;
	cursor: pointer;
}
.alphabet a:hover, .alphabet a.active {
    font-weight: bold;
    text-decoration: underline;
    background-color: #e5e5e5;
}

tr[data-index]:before {
	content: attr(data-index);
	position: absolute;
	right: 0;
	width: 0;
	height: 0;
	display: block;
	font-size: 12px;
	text-indent: 14px;
	border-style: solid;
	border-width: 0 24px 24px 0;
	border-color: transparent #e5e5e5 transparent transparent;
}

/*
tr[data-index]:after {
	content: attr(data-index);
	height: 20px;
	padding: 0 8px;
	background-color: #e5e5e5;
	display: table-caption;
	pointer-events: none;
	min-width: 20px;
	text-align: center;
	padding: 7px 8px;
	display: table-cell;
	border-bottom: 1px solid #e5e5e5;
}
*/

/*labels*/
.page-template-page-labels .table {
	table-layout: auto;
}

.page-template-page-labels .table tbody {
	display: block;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
}

.page-template-page-labels .table tr {
	display: block;
}

.page-template-page-labels .table th,
.page-template-page-labels .table td {
	width: 100%;
	min-width: 78px;
}

.page-template-page-labels .table td {
	border-left: 1px solid #e5e5e5;
}

.page-template-page-labels .table td:first-child {
	border-left: 0;
	max-width: 81px;
}

.page-template-page-labels .table tr:last-child td {
	border-bottom: 1px solid #e5e5e5;
}

.page-template-page-labels.search-no-results .table tr td {
	width: auto;
	border: 0;
}

.buttons button,
.buttons .counter {
	font-size: inherit;
	min-width: 20px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	background: #e5e5e5;
	border: 0;
	padding: 0;
	display: inline;
	float: left;
}

.buttons button {
	cursor: pointer;
}

.buttons .counter {
	display: inline-block;
	line-height: 22px;
}

.buttons button.add {
	border-radius: 0 10px 10px 0;
}

.buttons button.remove {
	border-radius: 10px 0 0 10px;
}

.buttons button.add:before {
	content: '\ff0b';
	display: block;
}

.buttons button.remove:before {
	content: '\ff0d';
	display: block;
}

.wrapper {
	position: relative;
	overflow: auto;
	width: 100%;
	height: calc(100% - 69px);
	margin-top: 24px;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.l-destination {
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	width: 580px;
	min-height: 820px;
	margin: 20px auto;
	padding: 20px 16px;
	background-image: linear-gradient(0deg, #fff 2.10%, #f9f9f9 2.10%, #f9f9f9 50%, #fff 50%, #fff 52.10%, #f9f9f9 52.10%, #f9f9f9 100%);
	background-size: 1712.00px 1712.00px;
}

.l-destination tbody {
	display: block;
	border: 0;
}

.l-destination .label {
	display: block;
	width: calc(20% - 6px);
	height: 54px;
	background-color: #fff;
	border-radius: 3px;
	margin: 3px;
	padding: 6px;
	float: left;
}

.l-destination .label td {
	display: block;
}

.l-destination .label td:nth-child(1) {
	font-size: .75em;
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
}

.l-destination .label td:nth-child(2):before {
    content: '€';
}

.l-destination .label td:nth-child(3) {
	font-size: .5em;
}

.l-destination .label td:nth-child(3):before {
    content: 'OSWP00';
}

.l-destination .label td:nth-child(3):after {
    content: 'AA';
}

.l-destination .label:nth-child(65n + 5), 
.l-destination .label:nth-child(65n + 4), 
.l-destination .label:nth-child(65n + 3), 
.l-destination .label:nth-child(65n + 2), 
.l-destination .label:nth-child(65n + 1) {
	margin: 79px 3px 3px;
}

.l-destination .label:nth-child(n+1):nth-child(-n+5) {
	margin: 3px;
}

#_opsh_label_repeat .cmb-repeat-group-field {
	margin-left: 0;
	float: left;
}

#_opsh_label_repeat .cmb-repeatable-grouping .cmb-repeat-group-field .cmb-td {
	padding-bottom: 0;
}

#opsh_edit_labels .button-primary {
	margin-top: 18px;
}

#opsh_edit_labels .cmb-repeatable-group {
	min-height: 36px;
}

#_opsh_label_repeat .cmb-remove-row,
#_opsh_label_repeat.cmb-repeatable-group > .cmb-row:last-child {
	bottom: -28px;
}

#_opsh_label_repeat .cmb-repeat-group-field:nth-of-type(1) {
	width: calc(100% - 267px);
}

#_opsh_label_repeat .cmb-repeat-group-field:nth-of-type(2) {
	width: 100px;
}

#_opsh_label_repeat .cmb-repeat-group-field:nth-of-type(3) {
	width: 100px;
}

#cmb2-metabox-opsh_edit_labels {
	padding-top: 0;
}

#_opsh_label_repeat .cmb-repeatable-grouping .cmb-repeat-group-field .cmb-th {
	display: none;
}

#_opsh_label_repeat .cmb-repeatable-grouping .cmb-repeat-group-field .cmb-td input[type=text] {
	border-top: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#_opsh_label_repeat .cmb-repeat-group-field:not(:first-child) .cmb-td input[type=text] {
	border-left: 0;
}

.controls div {
	float: left;
	padding: 0 0 3px 3px;
	font-size: .75em;
	font-weight: normal;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	border-bottom: 1px solid #e5e5e5;
}

.controls div:nth-of-type(1) {
	width: calc(100% - 267px);
}

.controls div:nth-of-type(2) {
	width: 100px;
}

.controls div:nth-of-type(3) {
	width: 100px;
}

/*read*/
.field {
	padding-bottom: 24px;
}

.field label {
	padding: 0 0 3px 3px;
	display: block;
}

.field input[type=text], .field input[type=password], .field input[type=email], .field textarea {
	font-family: Arial, sans-serif;
	font-size: 13px;
	width: 100%;
	min-height: 36px;
	padding: 8px;
	border: 1px solid #e5e5e5;
}

/*profile*/
/*
.cropit-preview{
	background-color: #dedede;
	background-size: cover;
	border: 1px solid #ccc;  
	width: 200px; 
	height: 200px;
}

.select-image-btn ,.image-size-label {
	font-size: 12px;
}

.select-image-btn {
	cursor: pointer;
	margin-bottom: 20px;
}

.cropit-image-input, .image-size-label, .cropit-image-zoom-input {
	visibility: hidden;
}

.cropit-image-zoom-input {
	width: 200px;
	margin: 10px 0;
	position: relative;
	display: block;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	height: 4px;
	background: #eee;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	outline: none;
}

.cropit-image-zoom-input::-moz-range-track{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:4px;background:#eee;-webkit-border-radius:4px;border-radius:4px;outline:none}
.cropit-image-zoom-input::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:12px;height:12px;background:#888;-webkit-border-radius:50%;border-radius:50%;-webkit-transition:background .25s;-moz-transition:background .25s;-o-transition:background .25s;-ms-transition:background .25s;transition:background .25s}
.cropit-image-zoom-input::-webkit-slider-thumb:active{background:#bbb}
.cropit-image-zoom-input::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:12px;height:12px;background:#888;-webkit-border-radius:50%;border-radius:50%;-webkit-transition:background .25s;-moz-transition:background .25s;-o-transition:background .25s;-ms-transition:background .25s;transition:background .25s}
.cropit-image-zoom-input.custom::-moz-range-thumb:active{background:#bbb}
*/

@media only screen and (max-width: 782px) {
	.wrap {
		margin: 0;
		border: none;
		box-shadow: none;
	}	
	main {
		width: 100%;
		min-height: calc(100vh - 130px);
	}
}

@media only screen and (max-width: 600px) {
	.log_in, .log_out {
		border-left: 1px solid #dedede;
	}
	.modal-dialog {
		width: 90%!important;
	}
	.prescription-template-default .wrap,
	.page-template-add-prescription .wrap {
		display: block;
	}
	#cmb2-metabox-opsh_edit_prescription > .cmb-repeat-group-wrap,
	#cmb2-metabox-opsh_edit_prescription_submission > .cmb-repeat-group-wrap {
		position: relative;
		width: 100%;
		max-width: 560px;
		overflow: auto;
	}
	#cmb2-metabox-opsh_edit_prescription .cmb-repeat-group-wrap > .cmb-td,
	#cmb2-metabox-opsh_edit_prescription_submission .cmb-repeat-group-wrap > .cmb-td {
		width: 600px;
	}
	#_opsh_label_repeat .cmb-repeat-group-field:nth-of-type(1) {
		width: calc(100% - 187px);
	}
	
	#_opsh_label_repeat .cmb-repeat-group-field:nth-of-type(2) {
		width: 60px;
	}
	
	#_opsh_label_repeat .cmb-repeat-group-field:nth-of-type(3) {
		width: 60px;
	}
	.controls div:nth-of-type(1) {
		width: calc(100% - 187px);
	}
	.controls div:nth-of-type(2) {
		width: 60px;
	}
	.controls div:nth-of-type(3) {
		width: 60px;
	}
	.post-type-archive-contact #search,
	.page-template-archive-contact #search {
		padding: 6px 0 39px;
	}
}

@media print {
	body {
		background: #fff;
	}
	.wrap {
		margin: 10px 20px;
		padding: 0;
		border: none;
		box-shadow: none;
	}
	header {
		height: 40px;
	}
	main {
		grid-template-rows: 40px auto 30px;
		padding: 0;
	}
	footer {
		height: 30px;
	}
	.site-title {
		background: #fff;
		color: #000;
	}
	.site-title a {
		color: #000;
	}
	.site-navigation, .button-primary, .button-secondary, .btn-r, .btn-add-new, .btn-cancel, .modal, .tools, #search {
		display: none;
	}
	.gutter {
		width: 0!important;
	}
	.pane-l {
		width: 100%!important;
	}
	.pane-r {
		width: 0!important;
	}
	.hashed .pane-l {
		width: 0!important;
	}
	.hashed .pane-r {
		width: 100%!important;
	}
	.post-type-archive-contact .table {
		height: auto!important;
	}
	.post-type-archive-contact.hashed .table {
		height: 0!important;
	}
	.post-type-archive-prescription .table {
		height: auto!important;
	}
	tr {
		page-break-inside: avoid;
	}
	textarea {
		height: auto!important;
	}
	.page-template-page-labels .wrap {
		display: block;
		margin: 0;
	}
	.page-template-page-labels .site-header,
	.page-template-page-labels .site-footer,
	.page-template-page-labels .the-content h2 {
		display: none;
	}
	.page-template-page-labels .pane-l {
		width: 0!important;
	}
	.page-template-page-labels .pane-r {
		width: 100%!important;
	}
	.page-template-page-labels .wrapper {
		overflow: visible;
		width: auto;
		height: auto;
		margin: 0;
		border: 0;
	}
	.page-template-page-labels .l-destination {
		position: relative;
		width: auto;
		height: auto;
		min-height: auto;
		margin: 0;
		padding: 0;
		background-image: none;
		background-size: auto;
		zoom: 126%;
	}
	.page-template-page-labels .l-destination .label {
		margin: 3px!important;
	}
}
