#outer_content {
	min-width: initial;
	padding-top: 95px;
}
#content {
	/* width: 100%; */
	padding: 0;
	min-width: initial;
}

.editing {
	--sign-h: 0;
}
.input_blocks input {
	width: 100%;
	border: none;
}
#page_title {
	font-size: 60px;
	line-height: 95px;
	margin-left: 30px;
	color: #fff;
	cursor: default;
}
eom-contract {
	display: block;
	box-sizing: border-box;
	width: 210mm;
	max-width: 100%;
	/*height: 297mm;*/
	margin: 0 auto;
	border: 1px solid #ccc;
	padding: 10mm;
	margin-bottom: 5vh;
	z-index: 10;
}
eom-contract *, 
popup * {
	display: revert;
	line-height: initial;
	font-size: initial;
}

.deactivated input {
	display: inline-block;
}
.deactivated span {
	color: #000;
}
.deactivated p {
	opacity: 0.5;
}

eom-contract input, 
eom-contract select {
	width: 7em;
	min-width: 5em;
	max-width: 100%;
	padding: 0.1em 0.2em 0 0.2em;
	background-color:aliceblue;
	outline: none;
}
eom-contract input {
	/* border: none; */
	/* border-bottom: 1px solid #ccc; */
	/* overflow: hidden; */
}
eom-contract input[readonly] {
	background: transparent;
	border: none;
	font-style: italic;
}
eom-contract p input:focus, 
eom-contract p select:focus {
	background-color: antiquewhite;
}

.errors, 
.signatures.errors {
    /* outline: 1px solid #ff6e00; */
    background: #ffbdbd;
}

input[name='[t[RESIDENCE_ADDRESS]]'], 
input[name='[t[DOMICILE_ADDRESS]]'] {
	min-width: 9em;
}
input[name='[t[IBAN_HOLDER]]'] {
	min-width: 10em;
}

.deactivated popup main {
	filter: blur(2px);
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

input[type="range"] {
	height: 0;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

img{
	max-width: 100%;
}
.desktop-logos{
	margin-top: 12px;
	/* display: block; */
}
.mobile-logos{
	margin-top: 12px;
	display: none;
}

@media (max-width: 600px) {
	.desktop-logos{
		display: none;
	}
	.mobile-logos{
		display: block;
	}

	body{
		/* padding: 10px; */
	}
}

.rounded-button {
	color: #fff;
	background-color: #ff6600;
	border-radius: 30px;
	padding: 10px 48px;
	font-size: 18px;
	cursor: pointer;
}

.form {
	text-align: center;
	margin-top: 40px;
}
.definitive-text{
	font-weight: bold;
	color: #216a47;
}
/*
.popup-overlay{
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	background-color: rgba(100,100,100, 0.1);
}
.popup-overlay.visible{
	display: flex;
	justify-content: center;
	align-items: center;
}

.popup-overlay .popup-container{
	width: 500px;
	max-width: 90%;
	background-color: rgba(100,100,100, 0.7);
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

.popup-overlay .popup-container .popup-content{
	padding: 16px 25px;
}

.popup-content-text {
	font-size: 18px;
}
.popup-content-buttons {
	display: flex;
	justify-content: space-around;
	margin-top: 24px;
}
*/


contract {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 90%;
	max-width: 1024px;
	padding-bottom: 3vmax;
	box-sizing: border-box;
	text-align: justify;
}
alt-docs>span::after {
	content: ": ";
}
.signatures {
	/* float: right; */
	/* margin-right: 40px; */
	/* padding: 0.2em; */
	font-size: 1.4em;
	border: 0;
	border-bottom: 1px solid black;
	font-family: 'Dancing Script', cursive;
	/* font-weight: inherit; */
}
input.signatures {
	background-color: #fff8e3;
}
my-button {
	box-sizing: border-box;
	position: relative;
	display: inline-block;
    color: #fff;
    background-color: #ff6600;
    border-radius: 30px;
    font-size: 18px;
    cursor: default;
	text-align: center;
}
my-button * {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	border-radius: inherit;
}
my-button label {
	position: relative;
	display: inline-block;
    color: inherit;
    border-radius: inherit;
    padding: 10px 48px;
    font-size: inherit;
	line-height: inherit;
    cursor: inherit;
	text-align: inherit;
}
my-button a {
	width: 100%;
}
.deactivated my-button a, 
my-button.deactivated a, 
.editing .button-submit a, 
.alerting .button-submit a {
	display: none;
}
.button-submit {
	display: block;
    width: 160px;
	margin: 30px 0 0 auto;
    margin-right: 0;
    margin-left: auto;
}

.ip {
	text-align: right;
	font-weight: bold;
}

/*
.editable {
	color: #ff6600;
	text-decoration: underline;
	cursor: pointer;
}
.editable[value='']::after {
	content: "click here";
	text-decoration: underline;
	cursor: pointer;
}
.editable.errors {
	box-shadow: 0 0 10px;
    border: 1px solid #ff0;
	border-radius: 10px;
    padding: 0 5px;
}
*/
popup {
	display: none;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.editing #editor_popup, 
.alerting #alert_popup, 
.confirming #confirm_popup {
	display: inline-block;
}
popup bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.editing popup bg, 
.alerting popup bg, 
.confirming popup bg {
	background: #ccc5;
	backdrop-filter: blur(2px);
}
popup main {
	position: relative;
	display: block;
	margin: 30% auto;
	width: 440px;
	max-width: 100%;
	padding: 40px 40px 40px 40px;
	box-sizing: border-box;
	background: #aaa;
	border-radius: 20px;
	box-shadow: 0 5px 20px;
}
#editor_popup input-container {
	width: 100%;
	position: relative;
}
#editor_popup input, 
#editor_popup select {
	width: 100%;
	position: relative;
	margin-bottom: 20px;
}
popup my-button {
	min-width: 130px;
}
popup [name='cancel'] {
	float: right;
}
#alert_popup [name='message'], 
#confirm_popup [name='message'] {
	font-size: 1.5em;
	margin: 0;
	margin-bottom: 30px;
}
#alert_popup [name='ok'] {
	margin-left: 50%;
	left: -75px;
}


#contract_info {
	display: block;
	max-width: 1024px;
	width: 90%;
	margin: 0 auto 3vmax auto;
	border-top: 1px solid;
}

#length_checker {
	position: absolute;
	top: 100px;
	left: 0;
	z-index: 0;
	padding: 0 0.5em;
	opacity: 0;
}











/*
*/

.transition250 {
    transition: all 250ms ease;
}
.removed {
	display: none;
}



@media
screen and (max-width: 1039px){
	#page_title {
		font-size: 40px;
		line-height: 95px;
		margin-left: 2vw;
	}
}


/*
***********    max 1196px
*/

@media 
screen and (max-width: 1196px) {
	#outer_content #content {
	    width: 800px;
	}
	.v_spacers._2 {
		display: none;
	}
	.mobile_h_spacers._2 {
		display: inline-block;
	}
}


/*
***********    max 800px or 12cm
*/

@media 
screen and (max-width: 768px) {
	.hdr_singles {
		top: 0;
	}
    #page_title {
		font-size: 30px;
		line-height: 30px;
		letter-spacing: 5px;
	}
}


/*
***********    max 800px or 12cm
*/

@media 
screen and (max-width: 800px), screen and (max-width: 12cm) {
	#outer_content #content {
	    width: 96vw;
	    padding: 0;
	    min-width: initial;
	}
	.top_bar_bgs.shadow {
		height: 90px;
	}
	.v_spacers._3 {
		display: none;
	}
	.input_blocks, 
	.buttons {
		width: 100%;
	}
	.input_blocks div, .textarea_blocks div {
	    width: 100%;
	}
	eom-contract {
		border: none;
		padding: 2vw 0;
	}
	input.signatures {
		width: 100%;
	}
	popup my-button {
	    min-width: initial;
		width: 40%;
	}
	popup my-button[name='cancel'] {
		width: 50%
	}
	my-button label {
		padding: 10px 0;
	}
}


/*
***********    max 800px or 12cm
*/

@media 
print {
	.top_bar_bgs {
		display: none;
	}
	#outer_content {
		padding-top: 0;
	}
	#outer_content #content{
		width: initial;
	}
	#main_layer {
		position: relative;
	}
	.h_spacers, 
	mobile_h_spacers {
		display: none;
	}
	eom-contract {
		border: none;
		padding: 0 5mm;
	}
}


