.tempresbutton {
    position: fixed;
    top: 20px;
    right: 200px;
    border: 1px solid #EEE;
    width: 200px;
    height: 60px;
    cursor: pointer;
}

body.respopup {
	overflow: hidden;
/*	position: fixed;
	width: 100%;*/ /* TODO: fix safari; */
}
/*
.mgPopup > div.right {
	position: fixed;
	background-color: #FFF;
	top: 0;
	right: -700px;
	bottom: 0;
	z-index: 2;
	overflow-x: auto;
	overflow-y: scroll;
	transition: right 1s ease;
}

.mgPopup > div.right.show { right: 0; }
*/
.mgPopup > div.right div.restitle h1 { margin: 0 40px 0 0; }

/* dates */
.mgPopup > div.right div.restitle .dates {
	padding: 20px 0;
	text-align: center;
}

.mgPopup > div.right div.restitle .dates .datesbox {
	display: inline-block;
	text-align: left;
}

.mgPopup > div.right div.restitle .dates > em {
	background-image: url(../svg/calendar_blue.svg);
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 16px;

	padding: 7px 15px 7px 32px;
	display: inline-block;
}

.mgPopup > div.right div.restitle .dates label.radiocheck em {
	background-image: url(../svg/calendar_blue.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 16px;
	padding-left: 20px;
}

.mgPopup > div.right div.restitle .dates select { padding: 4px 30px 4px 6px; }

.mgPopup > div.right .grey,
.mgPopup > div.right form { background-color: #F4F7F9; }

/*.mgPopup > div.right form > h3:first-child { margin-top: 0; }*/

/*.mgPopup > div.right h4 {
	margin: 0;
	font-size: 18px;
	line-height: 18px;
}
*/
/* offers */
.mgPopup > div.right a.offer { display: block; }

.mgPopup > div.right a.offer:not(:last-child) { margin-bottom: 40px; }

.mgPopup > div.right a.offer picture {
	position: relative;
	display: block;
}

.mgPopup > div.right a.offer picture img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.mgPopup > div.right a.offer picture section {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.mgPopup > div.right a.offer picture h3 {
	color: #FFF;
	margin: 0;
	font-size: 26px;
}

.mgPopup > div.right a.offer picture span.dates {
	background-color: rgba(255, 255, 255, .7);
	padding: 7px 15px 7px 35px;
	border-radius: 6px;
	display: inline-block;
	margin: 10px;
	font-size: 15px;
	line-height: 18px;
	color: #292254;

	background-image: url(../svg/calendar_blue.svg);
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 16px;
}
/* *** */


/* email-success summary */
.bg-sett {
    background-color: #292254;
    text-align: center;
}

.bg-email {
    background-color: #EEE;
	padding: 10px 15px;
	margin: 10px 0;
}

.mgPopup > div.right table th {
    background-color: #EEE;
    text-align: left;
    font-size: 18px;
}

.mgPopup > div.right	table th,
.mgPopup > div.right  table td {
    padding: 8px 15px;
}

.mgPopup > div.right  table tr.price td { border-bottom: 1px solid #E0E0E0; }
.mgPopup > div.right  table tr.total { background-color: #EEE; }

.mgPopup > div.right .bg table tr.price td { color: #FFF; }




/* progress */
.mgPopup > div.right .progress {
	white-space: nowrap;
	text-align: center;
}

.mgPopup > div.right .progress a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 2px solid #292254;
    border-radius: 50%;
    text-decoration: none;
    vertical-align: middle;
}

.mgPopup > div.right .progress a.disabled {
    color: #999;
    cursor: default;
}

.mgPopup > div.right .progress a.current,
.mgPopup > div.right .progress a:hover:not(.disabled) {
    background-color: #292254;
    color: #FFF;
}

.mgPopup > div.right .progress a.current { cursor: default; }

.mgPopup > div.right .progress a:hover:not(.disabled) { cursor: pointer; }

.mgPopup > div.right .progress span:not(:first-child)::before,
.mgPopup > div.right .progress span:not(:last-child)::after {
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 10px;
    height: 2px;
    background-color: #292254;
}
/* *** */


/* accommodation */
/*.mgPopup > div.right .accommodation,
.mgPopup > div.right .room,
.mgPopup > div.right .addoffer,
.mgPopup > div.right .total*/

.resitem { min-width: 600px; }

.mgPopup > div.right .flex2,
.resitem .flex2,
.basket .flex2 {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.mgPopup > div.right .flex2 .price,
.resitem .flex2 .price { white-space: nowrap; }

.mgPopup > div.right .flex2 > div:last-child { /* price*/
	/* min-width: 100px; */
	text-align: right;
}

.mgPopup > div.right .emptybeds { display: none; }
.mgPopup > div.right .emptybeds.show { display: block; }

/* stars */
.mgPopup > div.right .accommodation label.checkbox img {
	vertical-align: top;
	width: 12px;
}

.mgPopup > div.right .mgNumber {
	border: 1px solid #ccc;
	/*width: 150px;*/
	/*display: flex;
	justify-content: space-between;*/
	border-radius: 5px;
	display: inline-block;
	white-space: nowrap;
}

.mgPopup > div.right .mgNumber input {
	width: 60px;
	text-align: center;
	border: 1px solid #eee;
	font-size: 15px;
	vertical-align: middle;

	font-family: sans-serif;

	margin: 0;
	padding: 4px 8px;
	line-height: 24px;
	border-radius: 5px;
	color: #000;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.mgPopup > div.right .mgNumber a {
	display: inline-block;
	text-decoration: none;
	width: 40px;
	height: 38px;
	text-align: center;
	font-size: 25px;
	line-height: 36px;
	font-weight: 400;
	vertical-align: middle;

	-webkit-touch-callout: none; /* iOS Safari */
	  -webkit-user-select: none; /* Safari */
	   -khtml-user-select: none; /* Konqueror HTML */
	     -moz-user-select: none; /* Old versions of Firefox */
	      -ms-user-select: none; /* Internet Explorer/Edge */
	          user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}


/* buttons */
.mgPopup > div.right .buttons { text-align: center; }

/* !!! dublirano */
.mgPopup > div.right .buttons a {
    display: inline-block;
    margin: 5px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    background-color: #e2001a;
    color: #FFF;
    font-weight: bold;
    border: 5px solid #f6b2ba;
    border-radius: 25px;
    cursor: pointer;
}

.mgPopup > div.right .buttons a.back {
	background-color: #f6b2ba;
	background-image: url(../svg/back-button.svg);
	background-repeat: no-repeat;
	background-position: center;
	min-height: 49px;
	vertical-align: top;
	padding: 10px 25px;
}
/* *** */

/* gussts */
.mgPopup > div.right .guest {
	display: flex;
	margin-bottom: 20px;
	justify-content: space-between;
}

.mgPopup > div.right .guest > div { flex: 1; }

.mgPopup > div.right .guest div input,
.mgPopup > div.right .guest div select { width: 100%; }

.mgPopup > div.right .guest div select {
	height: 34px;
	border-radius: 5px;
}

/*.mgPopup > div.right .guest > div:first-child { margin-right: 5px; }*/
.mgPopup > div.right .guest > div:nth-child(2) { margin-left: 5px; }

.mgPopup > div.right .guestname { margin-bottom: 20px; }

.mgPopup > div.right .guestname input { width: 100%; }
/* *** */

.mgPopup > div.right .guestext { margin-bottom: 20px; }

.mgPopup > div.right .guestext input { width: 100%; }

.mgPopup > div.right .guestext .flex {
	display: flex;
	justify-content: space-between;
}

.mgPopup > div.right .guestext .flex > div { flex: 1; }

.mgPopup > div.right .guestext .flex > div:first-child { margin-right: 5px; }
.mgPopup > div.right .guestext .flex > div:nth-child(2) { margin-left: 5px; }

.mgPopup > div.right .hide .guestext { display: none; }

.mgPopup > div.right a.info {
	background-color: #6DCFF6;
	color: #FFF;
	display: inline-block;
	width: 22px;
	height: 22px;
	line-height: 23px;
	text-align: center;
	border-radius: 50%;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
	font-size: 12px;
}

.mgPopup > div.right .buttons a.next{ transition: 250ms ease opacity; }

.mgPopup > div.right .buttons a.next.disabled { opacity: .3; }

@media all and (max-width: 600px) {
    .mgPopup > div.right { width: 100%; }

    .mgPopup > div.right div.restitle,
    .mgPopup > div.right .grey,
	.mgPopup > div.right form,
	.mgPopup > div.right .buttons { padding: 20px; }

	.mgPopup > div.right .mgClose { right: 15px; }

	.mgPopup > div.right .buttons a { padding: 10px 50px; }
}

@media all and (min-width: 601px) {
	.mgPopup > div.right:not(.arrow.right) { width: 600px; }

/*	.mgPopup > div.right div.restitle,
	.mgPopup > div.right .grey,
	.mgPopup > div.right form,
	.mgPopup > div.right .buttons { padding: 40px; }*/

/*	.mgPopup > div.right .mgClose { margin: 35px 0; }*/

	.mgPopup > div.right .buttons a.next { padding: 10px 70px; }
}

/*Nasko - 26/04/2023*/
.mgPopup > div.right form div label:not(.checkbox, .radiocheck,.ticketItem label) {
	display: inline-block;
	font-size: 14px;
	color: #999;
}

.mgPopup > div.right form div p {
	font-weight: bold;
	margin-top: 0;
}

.flex2.promocode h3 { margin: 0; }

/*Delete after, testing only*/
.mgPopup > div.right .mgClose {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

.mgPopup > div.right .mgClose hr {
    border: none;
    width: 24px;
    height: 2px;
    background-color: #8e8e8e;
    position: absolute;
    top: 0;
    left: 8px;
}

.mgPopup > div.right .mgClose hr:first-child {
    transform: rotate(45deg);
}

.mgPopup > div.right .mgClose hr:last-child {
    transform: rotate(-45deg);
}

.mgPopup > div.right .mgClose:hover hr {
    background-color: #000;
}

.mgPopup dialog {
	padding: 0;
	margin: 0;
	border: none;
	width: 100vw;
	max-height: 100vh;
	overflow: auto;
}

a.share {
	display: inline-block;
	padding: 10px 10px 10px 30px;
	background-image: url(../svg/social/share.svg);
	background-repeat: no-repeat;
	background-position: center left;
	background-size: 24px;
	line-height: 30px;
	text-decoration: none;
	cursor: pointer;
}

.mgPopup > div.right select {
	font-family: sans-serif;
	font-size: 14px;
	line-height: 24px;
	margin: 0;
	background-color: #FFF;
	color: #000;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	border: 1px solid #ccc;
	border-radius: 5px;
}

.mgPopup > div.right select[name=ProgramID] {
	padding: 5px 25px 5px 12px;
}

/* *************************************** */
.mgPopup form.info {
	padding: 0 40px 40px 40px;
}

.mgPopup form.info input {
	display: inline-block;
	width: calc(100% - 50px) !important;
	vertical-align: top;

	border: 1px solid #CCC;
	border-radius: 5px;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 24px;
	background-color: #FFF;
	color: #000;
	margin: 0;
	padding: 4px 8px;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.mgPopup form.info button {
	display: inline-block;
	width: 40px;
	height: 34px;
	vertical-align: top;

	background-image: url(../svg/form/send.svg);
	background-repeat: no-repeat;
	background-size: 18px;
	background-position: center;

	border: none;
    cursor: pointer;
    appearance: none;
}

.mgPopup h4.info {
	text-align: center;
	margin: 0;
	background-color: #F4F7F9;
	padding-bottom: 40px;
}