/**
* Modální dialog
* 
* Knihovna pro vytváření modálního dialogu postavená na PgwModal (http://pgwjs.com - http://pagawa.com)
* 
* @category   GUI knihovna
* @copyright  Copyright (c) 2012 Foxtrot Technologies s.r.o. (www.foxtrot.cz)
* @version    4.4, 2024-06-09
*/

.foxModalHidden {
	display: none;
}

.foxModalBackground {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #000;
	background-color: rgba(0,0,0,0.6);
	overflow: hidden;
}

.foxModalDlg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 95%;
	max-height: 95%;
	max-width: 37rem;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background-color: #fff;
	display: flex;
	flex-direction: column;
}

.foxModalTitlebar {
	display: flex;
	flex-direction: row;
	background-color: #3ea5e1;
	height: 3rem;	
}

.foxModalTitle {
	flex: 1 100%;
	color: #fff;
	-webkit-user-select: none;
	user-select: none;
	display: flex;
	flex-direction: column;
}

.foxModalTitle p {
	margin: auto 10px;
	text-align: left; 	
	font-size: 1.2rem;
}


.foxModalClose {
	background-image: url("images/foxModal_close_icon.svg");
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	flex: 0 0 2rem;
	height: 2rem;
	margin: auto 0.5rem auto 0.5rem;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}

.foxModalClose:active {
	background-color: #02293F;
}

.foxModalMainContColumn, .foxModalMainContRow {
	flex: 1 100%;
	display: flex;
}

.foxModalMainContColumn {
	flex-direction: column;
}

.foxModalMainContRow {
	flex-direction: row;
	align-items: center;
}

.foxModalIconColumn {
	height: 4rem;
	margin: 2rem 0;
}

.foxModalStyleText {
	text-align: center;
	font-size: 1rem;
	font-weight: bold;
	color: #000;
	padding: 0 1rem 0 1rem;
}

.foxModalText {
	text-align: center;
	font-size: 1rem;
	color: #000;
	padding: 0 1rem 2rem 1rem;
}

.foxModalEvalCont {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.foxModalButtCont {
	display: flex;
	flex-direction: row;
	padding: 0 0 1rem 0;
	justify-content: center;
}

.foxModalButt {
	padding: 0 2rem;
	background-color: #3ea5e1;
	color: #fff;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	margin: 0 0.5rem;
	display: flex;
	min-width: 7rem;
}

.foxModalButt:active {
	background-color: #02293F;
}

.foxModalButt:hover {
	background-color: #5c89a2;
}

.foxModalButt p {
	margin: 0.5rem auto; /* Important */ 
	text-align: center; 	
	font-size: 1rem;
}

.foxModalIconRow {
	height: 4rem;
	flex: 0 0 4rem;
	margin: 1rem;
}

.foxModalRightCont {
	flex: 1 100%;
	display: flex;
	flex-direction: column;
	margin: rem 0 0 0;
}

.foxModalInputHead {
	color: #000;
	font-size: 1rem;
}

.foxModalInput, .foxModalTextarea {
	flex: 0 0 2rem;
	color: #6f6f6f;
	font-size: 1.5vmin;
	line-height: 2rem;
	outline: none;
	border: solid 1px #E9E9E9;
	padding: 0 0.5rem 0 0.5rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.foxModalTextarea {
	resize: none;
	margin: 2rem;
	font-size: 1rem;
	padding: 0.5rem;
}

.foxModalSelect {
	height: 2rem;
	flex: 0 0 2rem;
	line-height: 2rem;
	font-size: 1rem;
	color: var(--sub-text-color);
	border: solid 1px var(--def-border);
	padding: 0 0.5rem 0 0.5rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.foxModalFormCont {
	padding: 1rem;
	display: flex;
	flex-direction: column;
}

.foxModalInfo {
	color: #8F8F8F;
	font-size: 1rem;
	font-style: italic;
	text-align: center;
	margin: 0 0 0.5rem 0;
}

.foxModalFormImageCont {
	width: 100%;
	display: flex;
	flex-direction: row;
	margin: 0.5rem 0;
	align-items: center;
}

.foxModalFormImage {
	height: 6rem;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.foxModalFormImageSubCont {
	flex: 1 100%;
	display: flex;
	flex-direction: column;
	padding: 0 0 0 0.5rem;
}

.foxModalFormImageInfo {
	padding: 1rem 0;
}

.foxModalFormImageButtonsCont {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.foxModalEvalStarImg {
	width: 1rem;
	flex: 0 0 1rem;
}

.foxModalEvalCtrl {
	margin: 2rem 0;
	display: flex;
	flex-direction: row;
}

.foxModalYesButt {
    margin-right: 1rem;
}