body{
	padding-top: 0px;
}
body.sticky-footer{
	margin-bottom: 0;
}

a { color: #716658;}
a:hover { color: #716658;}

.clearboth{
	clear:both;
}
.floatleft{float:left;}
/*
.dropdown:hover{
	background: #f8f8f8;
}
*/
a.nav-link.nav-link-text.text-dark:hover {
    color: #d0c0ab !important;
}
a.nav-link.nav-link-text.text-light:hover {
    color: #d0c0ab !important;
}
.dropdown-menu{
	width: 200px;
	background: #f8f8f8;
	margin:0;
	padding: 0 0 0 10px;
	border:none;
}
.dropdown-menu a{
	font-size: 16px;
}

.hidden{
	display: none;
}
.noevents{
	pointer-events: none;
	opacity: 0.25;
}
.cursor{
	cursor: pointer; 
}
footer.sticky-footer {
    width: 100% !important;
}
.lightText{
	color:#d0c0ab;
	font-size: 0.9em;
}

.btn-transparent{
	border: 1px solid #ced4da;
	background:transparent;
	color: #000;
}
.plusButton{
	margin-left: 50px;
}

.loginscreen .logo{
	width: 250px;
	height: auto;
	margin: 20px 0 0 20px;
}
.loginscreen .logo img{
	width: 100%;
	height: auto;
}

.reorder img{
	width: 20px;
}

.loginscreen #form-login{
	margin-top:10vh;
}
.loginscreen #form-login #login-message{
	width: 50%;
	margin-left: 25%;
}

.loginscreen #form-login input{
	width: 50%;
	margin-left: 25%;
}
.loginscreen #form-login [type="submit"]{
	margin: 30px 0 ;
}
.loginscreen #form-login a{
	text-decoration: none;
	color:initial;
	margin-top:
}

#mainNav .logo{
	width: 150px;
	margin-right: 20px;
}

#mainNav .nav-item{
	padding-top:4px;
	min-width: 150px;
}	


#mainNav #nav_myaccount{
	position: absolute;
	right: 150px;
	top:20px;	
}
#mainNav #loginname{
	position: absolute;
	right: 0px;
	top:0px;
	font-size: 0.8em;
}

#mainNav #nav_logout{
	position: absolute;
	right:0px;	
	top:20px;
}

.alignRight{
	text-align: right;
}
.posRight{
	position: absolute;
	right: 0;
}
#new_object.posRight,
#new_user.posRight,
#new_project.posRight,
#new_customer.posRight{
	right: 22px;
}

td.alignRight.row_buttons {
    min-width: 70px;
}
.content-wrapper {
    margin-left: 10px;
}
.btn-round{
	width:44px;
	height: 44px;
	border-radius: 50%;
	font-size: 1em;
	cursor: pointer;
}
#btn_enter{
	position: absolute;
	bottom: 20px;
	left: 30px;
	z-index: 1000;
}
#nav_pages button,
#nav_objects button{
	margin:2px 5px 2px 0;
}
.templatesThumbnails{
	margin-top:12px;
}
.thumbnail_images{
	width: 50px;
}

@-webkit-keyframes color_change {
  from { background-color: rgba(255,255,255,1); }
  to { background-color: rgba(100,100,100,0.5); }
}
@-moz-keyframes color_change {
  from { background-color: rgba(255,255,255,1); }
  to { background-color: rgba(100,100,100,0.5); }
}
@-ms-keyframes color_change {
  from { background-color: rgba(255,255,255,1); }
  to { background-color: rgba(100,100,100,0.5); }
}
@-o-keyframes color_change {
  from { background-color: rgba(255,255,255,1); }
  to { background-color: rgba(100,100,100,0.5); }
}
@keyframes color_change {
  from { background-color: rgba(255,255,255,1); }
  to { background-color: rgba(100,100,100,0.5); }
}

.color_change{
 -webkit-animation: color_change 500ms 2 alternate;
-moz-animation: color_change 500ms 2 alternate;  
-ms-animation: color_change 500ms  2 alternate;  
-o-animation: color_change 500ms  2 alternate;  
animation: color_change 500ms  2 alternate;
}

.page_main{
	border:1px solid #716658;
	border-radius: 5px;
	width: 20%;
	min-width: 100px;
	max-width: 200px;
	height: 15%;
	min-height: 200px;
	max-height: 400px;
	float: left;
	margin:5px;
}

.page_header{
	background:#716658;
	color:#fff;
	padding:5px 10px;
	position: relative;
}
.page_header p{
	margin:0;	
}	
.page_body{
	padding: 2px;
}
.page_body img{
	width: 100%;
}
.page_delete{
	position: absolute;
	right: 5px;
	top:8px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: #fff;
	text-align: center;
}
.page_delete img{
	font-size: 16px;
}
.modal-footer{
	z-index: 10;	
}

.modal-footer > div {
	width: 50%;
}

.center {
    line-height: 100%;
    text-align: center;
}

.center p {
    line-height: 100%;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
}

.page-item.active .page-link{
	color: #fff;
	background-color: #444;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc{
	background-position: left center;
}
table.dataTable{
	cursor: pointer;
}

.abovefooter{
	position: relative;
	bottom: 0px;
	left: 0;
	width: 100%;
	padding:10px 10px;
}
.abovefooter #nav_objects{
	margin: 2px auto 0;	
}	



#c1txt,
#c2txt{
	width: 100%;
	height: 200px;
	border: 1px solid #444;
	padding:10px;
	margin:5px;
	border-radius: 5px;
}
#dataTable-addtext td:hover{
	font-weight: bold; 
	
}

.btn_addtxt{
    position: absolute;
    bottom: 5px;
    right: 20px;
}

.mce-notification{ display: none;}

#objectpage .boxheader,
.objectpagename{
	width: 100%;
	margin:0px;
	padding:10px;
	background:#d0c0ab;
	border:1px solid #d0c0ab;
	border-bottom: none;
	border-radius: 5px 5px 0 0;
	color:#fff;
	height: 75px;
}
#objectpage{
	border:1px solid #d0c0ab;
	border-radius: 0 0 5px 5px;
	padding:10px;
}
.objectpagename #page_name,
#objectpage .boxheader input{
    background: transparent;
    border: none;
    color: #fff;
}
#objectpage .boxheader input#c1img_remark{
/*
	background: #fff;
	color:#444;
	width:80%;
	padding-left: 5px;	
*/
}


[id^='c'].contentimage img{
	width: auto;
	height: 100%;
}
#objectpage .mce-panel{
	height: calc(400px - 45px);
}
.dropify-wrapper{
	height: calc(319px);
}
.objectpagename .form-label-group{
	min-width: 100%;
}
.objectpagename #page_name{
	padding: 0 5px;
	width: 75%;
	margin-left: 10px;
}
.c_imgbox{
	position: absolute;
	top:78px;
	left: 17px;
	padding:30px 10px 10px 10px;
	width: calc(100% - 34px);
	min-height: 314px;
	text-align: center;
	background: #fff;
	z-index: 6;
}


.template_pdf .c_imgbox{
    width: calc( 100% - 34px);
    height: 550px;
}

[id$='_remove']{
	position: absolute;
	z-index: 10;
	top:0px;
	right:10px;
}
[id$='_rotate']{
	position: absolute;
	z-index: 10;
	top:80px;
	left:20px;
}

[id$='_rotate'] img{
    height: 20px;
    width: auto;
}
.template_3 .mce-tinymce,
.template_2 .mce-tinymce,
.template_1 .mce-tinymce{
    width: calc(100% - 32px) !important;
    top: 75px;
    position: absolute;
}

.template_3 .dropify-wrapper,
.template_2 .dropify-wrapper,
.template_1 .dropify-wrapper{
	height: calc(510px);
}

.template_3 .c_imgbox,
.template_2 .c_imgbox,
.template_1 .c_imgbox{
	height:500px;
    width: calc(100% - 34px) !important;
}

.template_3 .c_imgbox img,
.template_2 .c_imgbox img,
.template_1 .c_imgbox img{
	height:auto;
	width: auto;
	max-height: 470px;
	max-width: 100%;
}
.template_3 .btn_addtxt,
.template_2 .btn_addtxt,
.template_1 .btn_addtxt {
    position: absolute;
    top: calc(400px - 10px );
    right: 20px;
    height: 36px;
	z-index: 3;
}


.template_4 .mce-tinymce{
    width: calc(100% - 32px) !important;
    top: 75px;
    position: absolute;
}

.template_4 .dropify-wrapper{
	height: calc(510px);
}
.template_4 .c_imgbox{
	height:500px;
    width: calc(100% - 34px) !important;
}
.template_4 .c_imgbox img{
	height:auto;
	width: auto;
	max-height: 470px;
	max-width: 100%;
}
.template_4 .btn_addtxt {
    position: absolute;
    top: calc(400px - 10px );
    right: 20px;
    height: 36px;
}


.template_8 .mce-tinymce{
    width: calc(100% - 32px) !important;
    top: 75px;
    position: absolute;
}
.template_8 .dropify-wrapper{
	height: calc(510px);
}
.template_8 .c_imgbox{
	height:500px;
    width: calc(100% - 34px) !important;
}
.template_8 .c_imgbox img{
	height:auto;
	width: auto;
	max-height: 470px;
	max-width: 100%;
}
.template_8 .btn_addtxt {
    position: absolute;
    top: calc(400px - 10px );
    right: 20px;
    height: 36px;
}



.t_box{
	border: 2px solid #d0c0ab;
	border-radius: 5px;
	width: 104px;
	margin-bottom: 10px;
	
}
.t_box.active,
.t_box:hover{
	border: 2px solid black;
}
.t_header{
	background:#d0c0ab;
	border:1px solid #d0c0ab;
	border-bottom: none;
	border-radius: 5px 5px 0 0;
	color:#fff;
	font-size: 0.6em;
	padding:2px 5px;
}
.t_pdf{
/* 	border: 1px solid grey; */
    width: 85px;
    margin: 10px;
    height: 110px;
    display: inline-block;
    font-size: 5em;
    text-align: center;
    
}
.t_sq {
    border: 1px solid grey;
    width: 30px;
    margin: 10px;
    height: 30px;
    display: inline-block;
 }
 .t_sq i {
	font-size: 20px;
	padding: 5px;
}
.t_hor {
    border: 1px solid grey;
    width: 85px;
    margin: 10px;
    height: 30px;
    display: inline-block;
 }
.t_ver {
    border: 1px solid grey;
    width: 30px;
    margin: 10px;
    height: 85px;
    display: inline-block;
 }
 .t_ver i,
 .t_hor i {
	font-size: 20px;
	padding: 5px;
}
.template_pdf{

}

.template_pdf .dropify-wrapper{
	height: calc(600px - 45px);
}

[id$='txt_ifr']{
	height: calc(340px - 45px) !important;
}

[id$='txtname']{
	width: 100%;
}

[id$='img_name'],
[id$='img_remark']{
	width: 55%;
}



.tinymce_len{
	position: absolute;
	right: 16px;
	top: 50px;
	font-size: 0.8em;
	pointer-events: none;
	color: #fff;
}
.tinymce_len input{
	background: transparent;
	color: #fff;
	width: 40px;
	border:none;
}
.tinymce_len .redtext{
	color: red;
}	

.loader {
    border: 16px solid #d0c0ab; /* Light grey */
    border-top: 16px solid #716658; /* Blue */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    display: none;
    position: fixed;
    top:calc(100vh/2 - 50px);
    left:calc(100vw/2 - 50px);
}
.show_load{
	display: block;
	z-index: 9000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.saveActive{
	opacity: 0.25;
}

.TableRight{
	float: right;
	margin-right: 3px;
}
.used_image{
	width: 100%;
	height: auto;
	border: 1px solid grey;
	border-radius: 5px;
	box-shadow: 5px 5px 5px -2px grey;
}

.frontpage_image{
    width: calc(100% - 14px);
    max-height: 319px;
    position: absolute;
    top: 0;
    right: 7px;
    background: #fff;
}
.frontpage_image img{
	position: absolute;
	top: 2px;
	left: 7px;
	padding: 0px 0px 0px 0px;
	width: calc(100% - 17px);
	text-align: center;
	background: transparent;
	z-index: 6;

}
.modal-header{
	background: #d0c0ab !important;
}
.modal-header p{
	color: #ffff !important;
	margin-bottom: 0;
}
#projectModal .modal-body{
    overflow-y: auto;
    overflow-x: hidden;
}

#objectModal .modal-dialog{
	max-width: 90%;
}
#object_material label{
	margin:0;
	font-size: 0.8em;
}
#object_material label input{
	margin-right: 5px;
}

.form-group label{
	margin-bottom: 0;
    margin-top: .5rem;	
}

#objectpage_addtextModal .modal-dialog{
	margin-left: 40%;
	max-width: 100%;
}
#objectpage_addtextModal .modal-body{
	padding-top: 0px; 
}
#objectpage_addtextModal .modal-body .table-responsive{
	margin-top:30px;
	font-size: 12px;
}

#objectpage_addtextModal .dataTables_scrollHeadInner table,
#objectpage_addtextModal .dataTables_scrollHeadInner{
	width: 100% !important;
}

#objectpage_addtextModal .dataTables_scrollBody{
	max-height: 100% !important;
	height: 100% !important;
}

.addtext{
	position: absolute;
	z-index: 10;
	width: 70%;
	max-width: 70%;
}
.addtext_type,
.addtext_type ul,
.addtext_material,
.addtext_material ul{
	margin:0
}

#Alles{
    margin-left: 100px;
}
#projectModal .modal-dialog{
	width: 80%;
	max-width: 80%;
	margin: 1.75rem 10%;
}
#project_frontpage_title{
	height: 167px;
} 

#c1txt.form-control.custom-textarea, 
#c2txt.form-control.custom-textarea {
	margin: 0;
	padding: .5rem;
	padding-bottom: 0;
	color: #595959;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.875rem;
	white-space: nowrap;
	text-wrap: wrap;
	cursor: inherit;
	-webkit-tap-highlight-color: transparent;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	background-color: #fff;
	width: calc(100% - 3rem - 0.125rem) !important;
	top: 4.6875rem;
	position: absolute;
	height: calc(25rem - 2.8125rem);
	border: 0.125rem solid #E5E5E5;
	border-radius: 0;
	resize: none;
}
