@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
	--cian: #00a8ec;
	--cian_: #0090db;
	--lila: #830986;
	--piros: #e84344;
}

body {
	margin: 0;
	overflow-y: scroll;
	overflow-x: hidden;
}
body.noscroll {
	overflow-x: hidden;
	overflow-y: hidden;
	width: calc(100% - 17px);
}
body.noscroll header {
	width: calc(100% - 17px);
}

* {
	box-sizing: border-box;
	position: relative;
	font-family: 'Montserrat', sans-serif;
}
*:focus {
	outline: none;
}

#admin {
	position: fixed;
    top: 0;
    right: 0;
    width: fit-content;
    padding: 10px;
    margin: 0;
    min-width: unset;
    height: auto;
    font-size: 30px;
    text-decoration: none;
    color: #fff;
    line-height: 25px;
}
#admin:hover {
	color: var(--lila);
}

h1#idotartam {
	font-size: 35px;
    text-align: center;
    background-color: var(--cian);
    padding: 30px 0 10px 0;
    margin: 0;
    color: #fff;
}

main {
	opacity: 0;
	margin-bottom: 250px;
	transition: opacity 0.3s;
}
main.done {
	opacity: 1;
}

header {
	position: fixed;
	top: 0;
	z-index: 1;
	width: 100%;
}

.block {
	background-color: #fff;
    width: 100%;
	z-index: 1;	
}

.block {
	border-bottom: 5px solid var(--lila);
    top: 0;	
}

.block a {
	display: inline-block;
	overflow: hidden;
	background-size: 101%;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: inset 0 0 0 500px rgba(0,0,0,0);
	transition: box-shadow 0.1s, background-size 0.2s;
	height: 70px;
	margin-bottom: -4px;
	min-width: 265px;
	width: calc(100% / 3 + 2px);
    margin-right: -6px;
}

.block a.active {
	background-color: var(--lila);
}

.block a:hover {
	background-size: 110%;
	box-shadow: inset 0 0 0 500px rgba(0,0,0,0.2);
}

.block.image a:hover {
	box-shadow: inset 0 0 0 500px rgba(0,0,0,0.5);
}

.block a#admin:hover {
	box-shadow: none;
}

.block a span {
	text-align: center;
	font-weight: 700;
	font-size: 18px;
	position: absolute;
	width: content;
	padding: 10px 20px 9px 20px;
	color: #000;
	margin: 0;
}
.block a.active span {
	color: #fff;
}
.block.image a span {
	background-color: #fff;
}

table {
	width: 100%;
}


table th {
	font-size: 13px;
	font-weight: 500;
	background-color: #000;
	color: #fff;
	height: 50px;
}

table th,
table td {
	text-align: left;
	padding: 10px;
	font-size: 15px;
}

table th.right,
table td.right {
	text-align: right;
}
table th.center,
table td.center {
	text-align: center;
}

table th.tv,
table td.tv {
	width: 130px;
}
table th.textil,
table td.textil {
	width: 150px;
}

table th.osszesen,
table td.osszesen {
	width: 250px;
	font-weight: 700;
	text-align: center;
}
table th.osszesen {
	font-size: 24px;
    line-height: 18px;
	transition: all 0.1s;
}
table th.osszesen:before {
	content: 'minimum ár:';
    font-weight: 600;
	font-size: 15px;
	opacity: 0;
    position: absolute;
	top: 0;
	transition: all 0.1s;
}

table th.osszesen.minimum {
	padding: 20px 10px 0 10px;
}
table th.osszesen.minimum:before {
	opacity: 1;
	top: 8px;
}

table tr:nth-child(even) {
	background-color: #f7f7f7;
}
/*
table td:nth-child(even) {
	background-color: #f7f7f7;
}
table tr:nth-child(even) td:nth-child(even) {
	background-color: #eee;
}
*/

table tr.elfogyott {
	opacity: 0.2;
}

table tr td {
	cursor: pointer;
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
	transition: all 0.1s;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

table tr:not(.elfogyott):hover td,
table tr:not(.elfogyott):nth-child(even):hover td {
	background-color: #ddd;
}

table tr:not(.elfogyott).active td,
table tr:not(.elfogyott).active:nth-child(even) td {
	color: #fff;
	background-color: var(--cian);
	transition: background 0.1s;
}
table tr:not(.elfogyott).active:hover td,
table tr:not(.elfogyott).active:nth-child(even):hover td {
	background-color: var(--cian_);
}

table tr.piros td,
table tr.piros td * {
	background-color: var(--piros)!important;
	color: #fff!important;
}

table tr td[data-tv="0"]{
	color: transparent;
}

table td button,
table td input {
    border: none;
    border-radius: 0;
    padding: 0 10px;
    background-color: transparent;
    font-size: 15px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	transition: background 0.1s;
	text-align: center;
	font-weight: 700;
	background-color: rgba(0,0,0,0.2);
}

table td button {
	cursor: pointer;
	position: relative;
	margin: -10px;
	display: table;
	width: calc(100% + 20px);
    padding: 10px 25px 10px 10px;
}

table td button:not(.fix)::after {
	content: '';
    position: absolute;
    display: block;
    background-image: url(../images/v.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px auto;
    width: 30px;
    height: 100%;
    top: 0;
    right: 0;
}

table td button.fix,
table td button.fix span {
	background-color: transparent;
	font-weight: 400;
}
table td input::-webkit-outer-spin-button,
table td input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;	
}
table td input[type="number"] {
	-moz-appearance: textfield;
	width: 100%;
	text-align: right;
	padding: 10px 60px 10px 10px;
}
table td input[type="number"].syma {
	padding: 10px 80px 10px 10px;
}

table td span {
	transition: background 0.1s;
	font-weight: 700;
}
table td input[type="number"] ~ span.db {
	padding: 0 25px 0 10px;
    float: right;
}
table td input[type="number"].syma ~ span.db {
	width: 75px;
	text-align: left;
}
table td button:not(.fix):hover,
table td input:hover,
table td input.hover,
table td button:not(.fix):active,
table td input:active,
table td input:focus,
table td input.focus {
	font-weight: bold;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
}
table td button:not(.fix):hover::after,
table td button:not(.fix):active::after {
	filter: invert(1);
}

table td span:hover,
table td span.hover,
table td span:active,
table td span.focus,
table td span.active {
	font-weight: bold;
	color: #fff;
}

table td button:not(.fix):active,
table td button:not(.fix).active {
	background-color: #000;
}

table td span {
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}
table td span.plus,
table td span.minus {
	background-size: 20px;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	font-size: 20px;
	font-weight: 600;
    position: absolute;
    top: 0;
    right: 0;
    height: 50%;
	width: 30px;
	text-align: center;
	line-height: 100%;
	filter: invert(1);
}

table td span.plus {
	background-image: url(../images/plus.png);
}
table td span.minus {
	background-image: url(../images/minus.png);
	top: unset;
	bottom: 0;
}

table td span.plus.hover,
table td span.plus.focus,
table td span.minus.hover,
table td span.minus.focus {
	filter: invert(0);
}

table tr:hover td span {
	opacity: 1;
}

table td span.plus:hover,
table td span.minus:hover {
	background-color: rgba(0,0,0,0.3);
}

table td span.plus:active,
table td span.minus:active {
	background-color: #000;
	transition: none;
}

table tr.active td span.plus,
table tr.active td span.minus {
	filter: invert(0);
}

table tr.active td button,
table tr.active td input {
	color: #fff;
}
table tr.active td button::after {
	filter: invert(1);
}

table tr td.osszesen {
	background-position: right 18.45px center;
	background-repeat: no-repeat;
	background-size: 4.1px 1.5px;
}
table tr:not(.elfogyott):hover td.osszesen {
	background-position: right center;
	background-size: 41px 15px;
	background-image: url(../images/+.png);
}
table tr:not(.elfogyott).active:hover td.osszesen {
	background-image: url(../images/-.png);
}

table tr.elfogyott button,
table tr.elfogyott input,
table tr.elfogyott span {
	display: none;
}
table tr.elfogyott * {
	cursor: not-allowed;
	text-decoration: line-through;
}




#uzenet {
	position: fixed;
	padding: 10px 15px;
	background-color: var(--piros);
	color: #fff;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 2;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */	
}

#mindosszesen_alap {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	cursor: pointer;
	z-index: 1;
}
body.noscroll #mindosszesen_alap {
	display: block;
}

#mindosszesen {
	text-align: right;
    font-size: 15px;
    font-weight: 500;
    position: fixed;
	z-index: 2;
    bottom: -500px;
    right: -5px;
    padding: 30px;
    background-color: var(--lila);
    color: #fff;
    border: 5px solid #fff;	
	transition: bottom 0.5s, height 0.5s;
}
#mindosszesen.notransition {
	transition: none;
}
#mindosszesen.done {
	bottom: -5px;
}
#mindosszesen.berles {
	height: calc(100% + 10px);
    overflow-x: auto;
	overflow-y: auto;
    width: 600px;
    background-color: #fff;
    color: #000;
    border: 5px solid var(--cian);
	overflow-x: auto;
}


#mindosszesen #close {
    display: none;
    position: fixed;
    top: 0;
    cursor: pointer;
    width: 70px;
    right: 30px;
    text-align: left;
    font-size: 50px;
    font-style: normal;
    padding: 20px;
    line-height: 30px;
    z-index: 1;
	transition: background 0.1s;
}
#mindosszesen #close:hover {
    background-color: rgba(0,0,0,0.2);
}
#mindosszesen #close:active {
    background-color: rgba(0,0,0,0.6);
	color: #fff;
	transition: all 0.05s;
}
#mindosszesen.berles #close {
	display: block;
}

#mindosszesen b {
	font-weight: 700;
    display: table;
    float: right;
    padding-left: 10px;
	transition: width 0.2s;
}


#mindosszesen div {
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 24px;
}
#mindosszesen div b {
	font-size: 24px;
}

#mindosszesen hr {
	border: none;
    border-bottom: 2px solid var(--cian);
    margin: 10px 0 10px 0;
}
#mindosszesen.berles hr {
	border-bottom: 2px solid #ddd;
}

#mindosszesen button {
    border: none;
    border-radius: 0;
    margin-top: 20px;
	padding: 8px 10px;
    background-color: var(--cian);
	color: #fff;
    font-size: 15px;
	transition: all 0.1s;
	text-align: center;
	font-weight: 700;	
	cursor: pointer;
}
#mindosszesen button:hover {
    background-color: #fff;
	color: var(--lila);
}
#mindosszesen button:active {
    transform: scale(0.95);
	transition: all 0.05s;
}
#mindosszesen.berles #berles,
#mindosszesen.berles section {
	display: none;
}

#mindosszesen form {
	display: none;
	text-align: left;
	margin-bottom: 50px;
}
#mindosszesen.berles form {
	display: block;
	clear: both;
}
#mindosszesen.berles form label {
    padding: 4px 8px;
    display: block;
	cursor: pointer;
}
#mindosszesen.berles form label::after {
	display: none;
	content: attr(data);
	background-color: var(--piros);
	color: #fff;
	border-bottom: 2px solid var(--lila);
    padding: 8px;
    position: absolute;
    z-index: 1;
    top: 27px;
    right: 0;	
}
#mindosszesen.berles form label.hiba::after {
	display: block;
}

#mindosszesen form input,
#mindosszesen form textarea {
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #ddd;
    font-size: 16px;
    font-weight: 700;
    padding: 8px;
	transition: border 0.1s;
}
#mindosszesen form textarea {
	resize: vertical;
}
#mindosszesen form input:focus,
#mindosszesen form textarea	:focus {
	border-bottom: 2px solid var(--cian);
}
#mindosszesen form p {
	padding: 8px;
}
#mindosszesen form p b {
	float: unset;
	display: inline;
	padding: 0;
}
#mindosszesen form p u {
	float: right;
	font-style: normal;
	text-decoration: none;
}
#mindosszesen form p ul {
	padding-left: 18px;
}
#mindosszesen form p ul li.osszesen {
	list-style: none;
    border-top: 1px solid;
    margin-top: 5px;
    padding-top: 5px;
	
}
#mindosszesen form p ul li.osszesen u {
	font-weight: 700;
}

#mindosszesen form p ul.vegosszeg {
	border-top: 2px solid;
    margin-top: 40px;
    display: block;
    font-size: 18px;
	font-weight: 700;
}
#mindosszesen form p ul.vegosszeg li.osszesen {
	border: none;
}

#mindosszesen #termekek_berlese {
	display: none;
	position: fixed;
    bottom: 20px;
    padding: 10px 20px;
    font-size: 18px;
    width: 510px;
}
#mindosszesen.berles #termekek_berlese {
	display: block;
}
#mindosszesen #termekek_berlese:hover {
	background-color: var(--lila);
	color: #fff;
}
#mindosszesen #termekek_berlese:active {
	background-color: #000;
}

#sent {
	position: fixed;
    z-index: 1;
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    padding: 40px;
    background-color: #37965f;
    width: 500px;
    left: calc(50% - 250px);
    top: calc(30% - 100px);
    border: 5px solid #fff;	
}






/* DATEPICKER */

nav div {
	margin: 0 auto;
    background: var(--cian);
    padding: 16px;
	text-align: center;
}

input.datum {
    border-radius: 0;
    width: 300px;
    border: none;
    font-size: 20px;
    font-weight: 700;
    background-color: #fff;
    padding: 10px;
    cursor: pointer;
    margin-right: 0;
	text-align: center;
}
input.datum:focus {
	background-color: #333;
	color: #fff;
}
input.datum::-webkit-input-placeholder { /* Edge */
	color: var(--cian);
}
input.datum:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: var(--cian);
}
input.datum::placeholder {
	color: var(--cian);
}



input#tol ~ b {
    width: 20px;
    text-align: center;
    display: inline-block;
    font-size: 20px;
    background-color: #fff;
    height: 44px;
    padding: 10px 0;	
}



table.ui-datepicker-calendar tr:hover td,
table.ui-datepicker-calendar tr:nth-child(even) {
	background-color: transparent; 
}
table.ui-datepicker-calendar th {
	height: unset;
	background-color: transparent;
}
table.ui-datepicker-calendar td {
	border: none;
	padding: 0;
}
table.ui-datepicker-calendar td.ui-state-disabled {
	opacity: 0;
}

#ui-datepicker-div {
	display: none;
    background: #333;
	color: #fff;
    padding: 10px;
    position: absolute;
	transition: none;
	min-width: 300px;
	margin-top: 0;
	top: 0;
}

#ui-datepicker-div .ui-datepicker-calendar {
	width: 100%;
}
#ui-datepicker-div .ui-datepicker-calendar tr td a {
	width: 100%;
}

#ui-datepicker-div a {
    background: #222;
	border: none;
    padding: 5px 5px 4px 5px;
    width: 25px;
    height: 25px;
    display: table;
    text-align: center;
	text-decoration: none;
	color: #fff;
}

#ui-datepicker-div a:hover {
	box-shadow: inset 0 0 0 2px #555;
}
#ui-datepicker-div a.ui-state-active {
	background: #fff;
	color: #000;
	font-weight: 700;
}
#ui-datepicker-div a.ui-state-highlight {
    box-shadow: inset 0 0 0 2px #fff;
    font-weight: 500;
    line-height: 19px;
}
.ui-state-highlight:hover {
	box-shadow: inset 0 0 0 2px #000;
}

.ui-datepicker-prev {
	float: left!important;
	cursor: pointer;
	background: url(/images/prev_.png)!important;
	opacity: 0.3;
}
.ui-datepicker-next {
	float: right!important;
	cursor: pointer;
	background: url(/images/next_.png)!important;
	opacity: 0.3;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
	opacity: 1;
	box-shadow: none!important;
}

.ui-datepicker-year {
	float: left;
	margin-left: 20px;
}
.ui-datepicker-month {
	float: right;
	margin-right: 20px;
}
.ui-datepicker-title {
    width: calc(100% - 50px);
    margin: 0 auto;
    padding: 6px 0 15px 0;
    margin-bottom: 10px;
}

.mce-notification-warning {
    background-color: #000;
    border-color: #000;
    display: none!important;
	opacity: 0!important;
	visibility: none!important;
}






@media (max-width: 1200px){
	.block a {
		min-width: 33.3333%;
	}
}
@media (max-width: 900px){
	main {
		margin-top: 0!important;
	}
	header {
		position: relative;
	}
	.block a {
		min-width: 50%;
	}
	table.fixed {
		display: none!important;
	}
}
@media (max-width: 450px){
	.block a {
		min-width: 100%;
	}
}
