/* CSS Document */
:root {
	--main-bg-color: brown;
	--color1: rgba(245, 197, 5, 1);
	--color2: rgba(31, 36, 59, 1);
	--color-black: rgba(31, 36, 59, 1);
	--color-light: rgba(247, 242, 222, 1);
	--color-gray1: rgba(232, 232, 232, 1);
	--color-gray1-0: rgba(232, 232, 232, 0);
	--color-gray1-5: rgba(232, 232, 232, 0.5);
	--color-gray2: rgba(94, 94, 94, 1);
	--color1-1: rgba(245, 197, 5, 0.1);
	--color1-5: rgba(245, 197, 5, 0.5);
	--color1-7: rgba(245, 197, 5, 0.7);
	--color2-7: rgba(31, 36, 59, 0.7);
	--color-light-1: rgba(247, 242, 222, 0.1);
}

@font-face {
  font-family: "icons";
  font-style: normal;
  font-weight: normal;
  src: url("inc/prestashop-icon-font.ttf") format("truetype");
}

@keyframes fade_out {
	0% {
		opacity: 1;
		left: 0px;
	}
	99% {
		opacity: 0;
		left: 0px;
	}
	100% {
		opacity: 0;
		left: -999px;
	}
}

a.admin {
	background-color: rgba(128,128,128,.2);
	border-radius: 2px;
	color: rgba(0,0,0,.4);
	font-size: 80%;
	padding: 2px;
	position: absolute;
	right: 5px;
	z-index: 1000;
}

.t_center		{text-align: center; vertical-align: top;}
.t_left			{text-align: left; vertical-align: top;}
.t_right		{text-align: right; vertical-align: top;}

.t_middle		{vertical-align: middle;}
.t_bottom		{vertical-align: bottom;}

.w50 { width: 50%; margin: auto; position: relative; }
.w75 { width: 75%; margin: auto; position: relative; }
.w100 { width: 100%; margin: auto; position: relative; overflow: auto; }
.wa { width: auto; margin: auto; position: relative; display: table; }

.block_center { margin: auto; }

.hidden {
	display: none;
}

.sm {
	font-size: 80%;
}

.gray {
	opacity: 0.5;
}

.white_text {
	color: #fff;
}

.icons {
	font-family: "icons";
	vertical-align: middle;
}

.strong {
	font-weight: bold;
}

::selection {
	color: #000;
	background-color: var(--color1);
}

::-moz-selection {
	color: #000;
	background-color: var(--color1);
}

div.desc table {
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border: 0px;
	border-spacing: 0px;
}

table.list {
	padding: 2px 4px;
	margin: auto;
}

table.rows td {
	border-bottom: 1px solid var(--color1-5);
}

table.list0 td {
	padding: 0px 0px;
}

div.desc tr {
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border: 0px;
}

div.desc td {
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border: 0px;
	padding: 0px;
}

table.list td,
table.list th {
	padding: 4px 4px;
}

div.desc form td {
	padding: 4px 4px;
}

div.desc th {
	font-size: smaller;
	font-family: inherit;
	color: inherit;
	border: 0px;
	background-color: #eee;
	padding: 4px 2px;
	border-right: 1px solid #fff;
}

tr.highlight:hover {
	background-color: #eee;
}

div.admin_stat {
	opacity: 0;
	left: -999px;
	position: fixed;
	font-size: 70%;
	top: 50px;
	text-align: left;
	color: var(--color1);
	z-index: 2000;
	padding: 10px;
	background-color: rgba(128,128,128,.2);


	animation-name: fade_out;
	animation-duration: 4s;
	animation-timing-function: ease-in;
	animation-delay: 0s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: forwards;
}

div.login {
	position: absolute;
	top: 5px;
	right: 10px;
	text-align: right;
	color: #000;
	z-index: 2000;
}

.content {
	min-height: 50vh;
}

div.element {
	float: left;
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	padding: 5px;
}

div.element_right {
	float: right;
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	padding: 5px;
}

div.element_light {
	font-size: inherit;
	font-family: inherit;
	color: #000;
	padding: 5px;
	background-color: var(--color-light);
	border-radius: 10px;
}

div.desc {
	padding-bottom: 20pt;
	/*border-top: 1px solid var(--color-gray1);*/
}

div.card {
	position: relative;
	background-color: #fff;
	border-radius: 0px;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,.1);
	padding: 10px;
	margin: auto;
	margin-bottom: 20px;
	overflow: auto;
}

.black {
	background-color: var(--color-black);
	color: #fff;
}

div.black a {
	color: var(--color-light);
}

div.divider {
	background-image: url(/files/site/monitor-window.svg);
	background-repeat: no-repeat;
	background-position: center;
	height: 150px;
}

div.modal {
	display: none;
	position: fixed;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	z-index: 9999;
	padding-top: 100px;
}

div.modal_bg {
	position: fixed;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.8);
	overflow: auto;
}

div.modal_card {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	height: 100%;
}

div#modal_container {
	position: relative;
}

div.block1,
div.block2,
div.block3,
div.block4 {
	position: relative;
}

@media screen {
	div.block1 {
		width: 1220px;
	}
	
	div.block2 {
		width: 50%;
	}

	div.block3 {
		width: 33.333%;
	}

	div.block4 {
		width: 25%;
	}
}
@media screen and (max-width: 1220px) {
	div.block1 {
		width: 100%;
	}
	
	div.block2 {
		width: 100%;
	}

	div.block3 {
		width: 50%;
	}

	div.block4 {
		width: 50%;
	}
}
@media screen and (max-width: 600px) {
	div.block1 {
		width: 100%;
	}
	
	div.block2 {
		width: 100%;
	}

	div.block3 {
		width: 100%;
	}

	div.block4 {
		width: 50%;
	}
}

div.flex_top {
	display: flex;
	align-items: flex-start;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

div.flex_center {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

div.flex_bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

div.flex_stretch {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
}

div.desc input,
div.desc select,
div.desc textarea,
div.desc button {
	font-size: inherit;
	border: 1px solid var(--color1);
	background-color: var(--color1-1);
	padding: 0.5em 1em;
	margin: 2px 0px;
	color: inherit;
	border-radius: 4px;
}

div.desc input[type="number"] {
	width: 100px;
}

div.desc input[type="image"] {
	border: 0;
	background: transparent;
}

div.desc input[type="submit"],
div.desc button {
	font-size: inherit;
	cursor: pointer;
	color: #000;
	padding: 0.5em 2em;
	text-align: center;
	background-color: var(--color1);
	background: linear-gradient(to bottom, var(--color-light),  var(--color1));
}
div.desc input[type="submit"]:hover,
div.desc button:hover {
	color: #fff;
	box-shadow: 0px 0px 20px 0px var(--color1-5);
	background-color: var(--color-light);
	background: linear-gradient(to bottom, var(--color-light),  var(--color1));
}

div.desc input[type="submit"]:disabled,
div.desc button:disabled {
	background: var(--color-gray1);
}
div.desc input:hover,
div.desc select:hover,
div.desc textarea:hover {
	background-color: var(--color-light-1);
}
div.desc input:focus,
div.desc select:focus,
div.desc textarea:focus {
	background-color: #fff;
	box-shadow: 0px 0px 20px 0px var(--color1-5);
}

div.desc input[readonly] {
	filter: grayscale(50%);
}

div.desc label {
	cursor: pointer;
	padding: 0.5em 1em;
	line-height: 3em;
}
div.desc input[type="radio"] {
	display: none;
}
div.desc input[type="radio"]:checked + label {
	background-color: var(--color1-1);
	border-bottom: 3px solid var(--color1);
}
div.desc input[type="radio"] + label:hover {
	background-color: var(--color-light-1);
}


div.desc input[type="checkbox"] {
	display: none;
}
div.desc input[type="checkbox"] + label::before {
	vertical-align: bottom;
	font-family: "icons";
	color: var(--color2-7);
	font-size: 150%;
	margin-right: 0.1em;
	content: "\E12A";
}
div.desc input[type="checkbox"]:checked + label::before {
	color: var(--color2);
	content: "\E12B";
}
div.desc input[type="checkbox"] + label:hover::before {
	color: var(--color1);
}


div#photo_container {
	/*height: 600px;*/
}

div#photo_container img {
	max-height: 600px;
	max-width: 100%;
}


.color_user			{ color: var(--color1); }
