/*
Resort Theme - Custom Rules
Last Update: 2 Mai 2020
Author: Valentin Raevschi
Version: 2.0.5.0
URL: https://dds.ro
*/


:root {
	--theme-widget-color: #8c1f2f;
	--theme-widget-hover-color: #b53145;
	--main-font-family: 'Roboto', sans-serif;
	--blue: #3070de;
}

.link { color:#0190fe; text-decoration: underline; }

.main-layout {
	background-color: #f0f0f0;
}

.left-menu-side {
	background-color: #fff;
	box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.03);
}

.left-menu-side .left-logo {
	width: 100%;
	height: 150px;
	background-image: url(../imgs/white_logo.png);
	background-size: 135px 120px;
}

.left-menu-side li a {
	color: #777;
}

.left-menu-side li a:hover {
	color: #333;
}

.left-menu-side li.active > a,
.left-menu-side li.active > a > i,
.left-menu-side li:hover > a > i {
	color: #333;
}

.left-menu-side li.active {
	background-color: #f0f0f0;
}


.login-wrapper {
	background-image: url(../imgs/bg_login.jpg);
	background-size: cover;
    align-items: flex-start;
}

.login-wrapper.form-wrapper {
	background-image: none;
}

.card-login .content-card {
	box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.07);
	margin-top: 30%;
}

.form-wrapper .card-gdpr,
.form-wrapper .card-info {
	box-shadow: 1px 1px 5px 0px rgba(204,204,204,1);
	margin-top: 20px;
	border-radius: 5px;
}

.df-wrapper {
	width: 620px;
	max-height: 600px;
	padding: 5px;
}

.df-editor {
	width: 595px; /* A4 format */
	padding: 20px; /* Standard Doc Padding */
}

.df-editor[contentEditable="true"]:hover {
	outline: 1px solid #1f9dfe;
}

.df-editor h1,
.card-gdpr .container h1 {
	font-size: 18px;
	text-align: center;
}

.df-editor h2,
.doc-text h2 {
	font-size: 14px;
	font-weight: bold;
}

.doc-text p {
	line-height: 1.8;
}

.access-code input {
	text-transform: uppercase;
}

.cmd-accept {
	margin-top: 20px;
}

.sp-card .submenu {
	display: flex;
	justify-content: space-between;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.sp-card .submenu a {
	border-radius: 5px;
	background-color: #666;
	border: 1px solid #666;
	padding: 5px 10px;
	color: #fff;
	cursor: pointer;
}

.sp-card .submenu a.active {
	background-color: #eee;
	color: #666;
	cursor: default;
}

.chip {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	padding: 8px;
	font-size: 12px;
	border-radius: 5px;
	margin-bottom: 10px;
	cursor: pointer;
}

.chip i {
	margin-right: 10px;
}

.chip.chip-gray {
	border: 1px solid var(--gray);
	color: var(--gray);
}

.chip.chip-gray a,
.chip.chip-gray i {
	color: var(--gray);
}

.chip.chip-green {
	border: 1px solid var(--green);
	color: var(--green);
}

.chip.chip-green a,
.chip.chip-green i {
	color: var(--green);
}

.chip.chip-blue {
	border: 1px solid var(--blue);
	color: var(--blue);
}

.chip.chip-blue a,
.chip.chip-blue i {
	color: var(--blue);
}

.chip.chip-red {
	border: 1px solid var(--red);
	color: var(--red);
}

.chip.chip-red a,
.chip.chip-red i {
	color: var(--red);
}

.chip .cmds {
	display: flex;
}

.chip a {
	cursor: pointer;
	margin: 0 6px;
}

.chip i {
	font-size: 18px;
}

a.disabled {
	color: #ccc;
	cursor: default;
}

/* DOC CONTENT */

.card-document .content-card {
	background-color: #f6f6f6;
}

.doc-content {
	width: 100%;
	max-width: 595px;
	max-height: 300px;
	background-color: #fff;
}

.doc-content.doc-canceled {
	position: relative;
}

.doc-content.doc-canceled::after {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	font-size: 45px;
	color: red;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 200px;
	content: 'Anulat';
	opacity: 0.4;
}

.doc-content h1 {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

.doc-content h2 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 20px;
}

.doc-content p {
	font-size: 14px;
}

.doc-content .sign-text {
	margin-top: 30px;
	font-weight: bold;
}

.doc-content .stamps {
	margin-top: 10px;
	flex-wrap: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.doc-content .stamps img {
	display: block;
	max-width: 45%;
	height: auto;
}

.sp-table p.info-text {
	margin-top: 10px;
	line-height: 1.6;
	color: #666;
	font-size: 12px;
}

/* POPUP LINK */

.popup-link {
	font-size: 18px;
	margin-right: 30px;
	color: var(--theme-widget-color);
	cursor: pointer;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	font-weight: bold;
}

.popup-link i {
	margin-right: 5px;
}

.popup-link:hover {
	opacity: 0.75;
}

@media only screen and (min-width : 768px) {

	.doc-content {
		max-height: 500px;
	}

	.doc-content .stamps img {
		max-width: none;
	}

	.doc-content cite {
		width: 240px;
	}

	.doc-content p:nth-last-of-type(-n+2) {
		font-size: 14px;
	}
}

@media only screen and (min-width : 992px) {

	.doc-content h1 {
		font-size: 22px;
	}

	.doc-content h2 {
		font-size: 16px;
	}

	.doc-content {
		max-height: 750px;
	}

	.doc-content p:nth-last-of-type(-n+2) {
		font-size: 16px;
	}
}
