/*override for J4 scss */
form fieldset.form-control,
form div.form-control{
	border: initial;
	background: initial;
}
form .form-control{
	font-size: 14px;
	line-height: initial;
}
/*Hide show PW Btn - HECKJU-73*/
input[type="password"]+ button.input-password-toggle{
	display: none;
}

/**
 * Basic-Formstyling.
 * Should adapt directly to all <form>s and their input-elements on the whole page. 
 * Not only com_pm, also Login/register/forgot login-data and so on
 **/ 
	/* Form Labels */
		label {
			display: inline-block !important;
		}

		fieldset{
			border: 0px solid white;
			margin: 0px;
			padding: 0px;
			margin-bottom: 20px;
		}
	/* normal form-elements, default state. overrides von bootstrap.css */ 
		textarea,
		select,
		select.form-control,
		input[type="text"],
		input[type="password"],
		input[type="datetime"],
		input[type="datetime-local"],
		input[type="date"],
		input[type="month"],
		input[type="time"],
		input[type="week"],
		input[type="number"],
		input[type="email"],
		input[type="url"],
		input[type="search"],
		input[type="tel"],
		input[type="color"],
		.uneditable-input {
			background-color: white;
			border: 1px solid #9C9C9C; 
			width: 100%;
			height: 40px;
			padding: 7px 15px;
			box-sizing: border-box;
			display: block;
			border-radius: 5px;
			margin-bottom: 15px;
		}
		input[type="text"],
		input[type="email"]{
			color: #9c9c9c;
		}
		.chzn-container-multi .chzn-choices{
		    border-radius: 5px;
		    padding: 5px 15px;
		    border-color: #9C9C9C;
		    color: #9C9C9C;
		    box-shadow: none;
		    background: none;
		    background-color: #fff;
		    margin-bottom: 0;
		}
		.chzn-container-multi .chzn-choices li.search-field input[type="text"] {
		    font-family: 'itc-officina-sans-pro', sans-serif;
    		font-size: 15px;
		}
        
        textarea {
            height: auto;
        }

		/*custom colors override for browser*/
		input[type="checkbox"],
		input[type="radio"]{
			position: relative;
		}
		input[type="checkbox"]:checked::after{
			font-family: 'FontAwesome';
			content:"\f00c";
			position: absolute;
			left: 0;
			right: 0;
			top: 0;
			bottom: 0;
			display: flex;
			justify-content: center;
			align-items: center;
			font-size: 10px;
			font-weight: 100;
			border-radius: 3px;
			background-color: #005680;
			color: #fff;
		}
		input[type="radio"]:checked::before{
			content: "";
			position: absolute;
			left: 0;
			right: 0;
			top: 0;
			bottom: 0;
			background-color: #005680;
			border-radius: 50%;
			border: 1px solid #005680;
		}
		
	/* Focus State */
		textarea:focus,
		input:focus,
		select:focus,
		input[type="text"]:focus,
		input[type="password"]:focus,
		input[type="datetime"]:focus,
		input[type="datetime-local"]:focus,
		input[type="date"]:focus,
		input[type="month"]:focus,
		input[type="time"]:focus,
		input[type="week"]:focus,
		input[type="number"]:focus,
		input[type="email"]:focus,
		input[type="url"]:focus,
		input[type="search"]:focus,
		input[type="tel"]:focus,
		input[type="color"]:focus,
		.uneditable-input:focus,
		.chzn-container-active .chzn-choices{
			box-shadow: none;
			outline: none ;
			border:2px solid #9C9C9C;

		}
		legend {
			font-size: 25px;
			color: #005680;
			font-weight: 500;
			margin-bottom: 20px; 
		}

	/* button-styles, in case that no bootstrap-classes are used. */
		input[type="button"],
		input[type="submit"],
		button,
		button.submit,
		a.button {
			display: inline-block;
		}
		select,
		.number_employees label,
		input[type="radio"],
		input[type="button"]:hover,
		input[type="submit"]:hover,
		button:hover,
		button.submit:hover,
		a.button:hover {
			cursor: pointer;
		}

	/* Align the checkboxes for "nutzungsbedingungen" and "newsletter" left of the text. */
		.input-group.group_checkbox  input[type="checkbox"]:focus{
			border-color: none;
			box-shadow: none;
			outline: 0 none; 
		}
		.input-group.group_checkbox  input[type="checkbox"]{
			width: 13px;
			margin-right: 5px;
			height: 13px;
			box-shadow: none;
		}
	
	/* Label-Wrapper */
		.form-group .add-on{
			display: block;
		}
		

	/* Form Layout */
		.form-group, 
		.pm_fieldgroup  {
			margin-bottom: 24px;
			position: relative; 
		}
		.view_contact .panel {
			border-width: 0px;
		}
		.view_contact .panel .panel-body {
			padding: 0;
			margin: 10px 0;
		}

	/* Checkboxes */
		.pm_fieldgroup.type_checkbox input[type="checkbox"] {
			height: 15px;
		    width: 15px;
		    position: absolute;
		    left: 0;
		    top: 4px;
		    display: inline-block;
		}
		#tos_rechtliches .pm_fieldgroup.type_checkbox input[type="checkbox"]{
			top:5px;
		}
		.pm_fieldgroup.type_checkbox label {
			padding-left: 25px;
		}
		.group_checkbox{
			display: flex;
		}
		.pm_fieldgroup.type_checkbox label a {
			color: #f7a600;
		}
		
		.pm_fieldgroup.type_checkbox label a:hover{
			color: #e49321;
			text-decoration: underline;
		}

	/* spacing between the form elements */
		label{
			margin-top: 0px;
			color: #9C9C9C; 
			font-weight: normal;
			margin-bottom: 5px;
		}
		.profile_image_upload .custom-file-upload label{
			margin-bottom: 0;
			transition: ease-in-out 300ms;
		    background-color: #F7A600;
		    color: #fff;
			border-color: #F7A600;
			bottom:0;
			position: relative;
		}
		.profile_image_upload .custom-file-upload label:hover{
			color:#fff;
			border-color: #e49321;
			background-color: #e49321;
			bottom: 3px;
        	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
		}
		.profile_image_upload .custom-file-upload #delete_profile_image {
			padding: 0;
			color:#005680;
			border: 0;
			background-color: transparent;
			vertical-align: middle;
		}
		.profile_image_upload .custom-file-upload #delete_profile_image:hover {
			padding: 0;
			color:#005680;
			text-decoration: underline;
			border: 0;
			background-color: transparent;
		}
		.profile_image_upload .custom-file-upload .small_text {
			margin-top: 10px;
		}
		.profile_image_upload .profile_image img {
		    height: 100px;
    		width: 100px;
		}
		
		span.star{
			color: #F7A600; 
		}

		fieldset.radio input[type="radio"]{
			margin-left: 0;	
			clear: both;
			float:left;
			margin-top: 4px;
		}

		fieldset.radio:not(.number_employees)  label{
			margin-top: 0;
			margin-bottom: 10px !important;
			padding-left: 15px;
			display: block;
			float: left;
		}
		

		#default_number_employees,
		#registration_number_employees{
			display: block;
		}

	/* radiobuttons example content*/
		#default_number_employees input[type="radio"],
		#registration_number_employees input[type="radio"] {
			display: none;
			}
			

		#default_number_employees input[type="radio"] + label,
		#registration_number_employees input[type="radio"] + label {
			background-color: #0F72A2;
			padding: 12px 20px;
			margin-top: 20px;
			margin-right: 2%;
			color: white;
			min-width: 15%;
			text-align: center;
			transition: 300ms;
			border-radius: 10px;
		}
		#default_number_employees input[type="radio"] + label:last-of-type,
		#registration_number_employees input[type="radio"] + label:last-of-type {
			margin-right: 0;
		}

		#default_number_employees input[type="radio"] + label:hover,
		#registration_number_employees input[type="radio"] + label:hover{
			background-color: #073248;
		}

		#default_number_employees input[type="radio"]:checked + label,
		#registration_number_employees input[type="radio"]:checked + label {
			background-color: #073248;
		}

		
		.custom-file-upload .custom-file-upload1 {
		    border: 1px solid #ccc;
		    display: inline-block;
		    padding: 11px 19px;
		    cursor: pointer;
		    margin-top: 10px;
		    margin-right: 10px;
		}

		.custom-file-upload input[type="file"] {
 		   display: none;
		}


		/*e-shop*/

		/*padding wird kleiner, da border bei activem feld dicker wird - verhindert das springen des Contents unterhalb*/
		#shop_filter .chzn-container-active .chzn-choices{
			padding: 4px 15px 3.5px;
		}
		
		.chzn-container-multi .chzn-choices li.search-choice{
			background: #F7A600;
			border:0;
			box-shadow: none;
		}
	
		#shop_filter .filter_item input::placeholder{
			color:#9C9C9C;
		}
		.chzn-container-multi .chzn-choices li.search-choice span{
			color:#fff;
		}
		.chzn-container-multi .chzn-choices li.search-choice .search-choice-close{
			filter: brightness(0) invert(1);
			transition: none;
		}
		.chzn-container-multi .chzn-results .active-result.highlighted{
			background: #F7A600;
			color:#fff;
		}


/* PM RH 27.11.20: Siehe Mein Profil -> das neue Dropdown für Emailempfang: https://trello.com/c/Puv12YCj/196-2020-11-user-setting-erhalt-von-werblichen-e-mails-und-benachrichtigungen-unsubscribe#comment-5fc10d10edb7b18798576511 */
	fieldset.border-top {
		margin: 10px 0;
		border-style: solid;
	}

	span.spacer {
		margin: 10px 0;
		display: block;
	}
	span.spacer .form-control.col-md-12 {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
	span.spacer .form-control.col-md-12 label {
		font-weight: bold;
	}
	body.view_user .input-password-toggle{
		display: none;
	}
	#profile_login_details input[type="password"]{
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
	}


/*Registration Form*/

	#registration_login_details .first_field > .pm_fieldgroup{
		width: calc( 50% - 15px) ;		
	}
	@media screen and (max-width: 1399px){
		#registration_login_details .first_field > .pm_fieldgroup{
			width: 100%;		
		}
	} 
	#registration_login_details.row{
		display: flex;
		flex-wrap: wrap;
	}
	#registration_companyinfo #registration_number_employees{
		padding:0;
	}
	#registration_companyinfo #registration_branche{
		width: 100%;
	} 

/*company edit form*/

form#company_edit .accordion legend::after{
	font-family: 'FontAwesome';
    color: #005680;
	margin-left: 20px;
    font-size: 20px;
}
	/*state open*/
form#company_edit .accordion legend[aria-expanded="true"]::after {
	content: '\f077';
} 
	/*state closed*/
form#company_edit .accordion legend[aria-expanded="false"]::after {
	content: '\f078';
} 


form#company_edit #company_firmen_information #default_number_employees{
	padding:0;
}

form#company_edit #company_firmen_information #default_branche{
	width: 100%;
}
/** Edit User save button**/
.user_edit_button {
    margin: 23px 15px;
}
fieldset#employee_edit_profile_employee_fieldset {
    padding: 0px;
}


/*betriebshandbuch edit lp form*/
.image-upload-container button{
	width: 100%;
}
.tag-form-row{
	align-items: flex-end;
}
.tags-field{
	position: relative;
}
.tags-field .remove-field-button{
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
}



.chapters_list .add_content_btn_list .hover_for_info{
	margin-right: 5px;
	margin-bottom: 10px;
	text-align: left;
}
.chapters_list .add_content_btn_list >div{
	display: inline;
}
@media screen and (max-width: 1024px){
	.chapters_list .add_content_btn_list >div{
		display: block;
	}
}
.add-btn{
	cursor: pointer;
	min-width: 50px;
	height: 40px;
	border: 0;
	border-radius: 5px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	transition: all ease-in-out 0.3s;
}
.fa.add-btn{
	display: inline-flex;
}
.add-btn:hover{
	opacity: 0.9;
}
.add-content{
	cursor: pointer;
}
.btn.add-content{
	padding: 0;
	margin:0;
	border: 0;
}
.btn.add-content:hover{
	border: 0;
}
.btn.add-content .add-btn{
	margin-left: 5px;
}
.btn.add-content .hover_for_info{
	color: #9C9C9C;
	margin-right: 0;
}
.btn.add-content .hover_for_info span{
	color: #9C9C9C;
}
.move-content-icon{
	cursor: pointer;
	display: inline-flex;
	height: 50px;
	justify-content: flex-end;
	align-items: center;
}
.move-content-icon .responsive-arrows .btn{
	padding: 5px 15px !important;
    font-size: 25px;
    line-height: 15px;
	background: #989898;
	border: #989898;
}

body:not(.is_mobile) .move-content-icon:active{
	cursor: grabbing;
}
body:not(.is_mobile) .move-content-icon .responsive-arrows{
	display: none !important;
}

body.is_mobile .move-content-icon{
	height: auto;
}
body.is_mobile .move-content-icon .drag-handle{
	display: none;
}


/*betriebshandbuch edit lp chapter form*/

#add_learning_chapter .basic_section,
#add_learning_chapter a.toggle_arrow,
#edit_learning_chapter .basic_section,
#edit_learning_chapter a.toggle_arrow{
	display: block;
}
#add_learning_chapter a.toggle_arrow,
#edit_learning_chapter a.toggle_arrow{
	border-top: 1px solid #dddddd;
	padding-top: 20px;
}

#add_learning_chapter a.toggle_arrow:hover,
#edit_learning_chapter a.toggle_arrow:hover{
	opacity: 0.9;
}

#add_learning_chapter .open_arrow,
#edit_learning_chapter .open_arrow{
	font-size: 20px;
	margin-top: 5px; /*different font-size then text, so alignment needs to be adjusted*/
} 
#add_learning_chapter .collapse.in,
#edit_learning_chapter .collapse.in{
	margin-bottom: 50px;
}

#add_learning_chapter #link_section .link,
#edit_learning_chapter #link_section .link{
	margin-bottom: 50px;
}
i.fa-times.font_delete{
	cursor: pointer;
}
i.fa-times.font_delete:hover{
	opacity: 0.9;
}

#edit_learning_chapter p.user-filename,
#add_learning_chapter p.user-filename{
	word-wrap: break-word;
}

form div.one-of-multiple:not(:first-of-type){
	border-top: 1px dashed #dddddd;
	padding-top: 30px;
}

#questions_container .button_container{
	display: flex;
	align-items: flex-end;
	padding-bottom: 64px;
}
@media screen and (max-width: 991px){
	#questions_container .button_container{
		padding-bottom: 40px;
	}
}

#chapters_list .chapters-table .btn{
	padding: 11px 20px;
}

@media screen and (min-width: 1600px){
	#chapters_list .chapters-table .content_row .actions{
		justify-content: space-between;
	}
}
@media screen and (max-width: 1599px){
	#chapters_list .chapters-table .content_row .actions{
		display: flex;
		flex-direction: column;
	}
	#chapters_list .chapters-table .content_row .actions >.btn{
		margin-top: 10px;
	}
	#chapters_list .chapters-table .content_row .actions >*:first-child{
		margin-top: 0;
	}
}

@media screen and (max-width: 767px){
	#video_section .video_right_section{
		margin-top: 30px;
	}
}

@media screen and (max-width: 991px){
	#chapters_list .chapters-table .content_row .order{
		padding-right: 0;
	}
	#chapters_list .chapters-table .content_row .order input{
		text-align: center;
		padding: 0 2px !important;
	}
}
@media screen and (min-width: 751px) and (max-width: 767px){
	#chapters_list .chapters-table .content_row .order{
		padding-left: 0;
	}
}
@media screen and (max-width: 679px){
	#chapters_list .chapters-table .content_row .order{
		margin-bottom: 20px;
		display: flex;
		align-items: center;
	}
	#chapters_list .chapters-table .content_row .order input{
		max-width: 50px;
	}
}

@media screen and (max-width: 679px){
	#chapters_list .chapters-table .content_row{
		display: block;
		position: relative;
		padding-top: 40px;
        padding-bottom: 40px;
	}
	#chapters_list .chapters-table .content_row .image{
		width: 200px;
		margin-bottom: 20px;
		float: left;

	}
	#chapters_list .chapters-table .content_row .title,
	#chapters_list .chapters-table .content_row .status{
		width: calc(100% - 250px);
		margin-right: 50px;
		margin-left: auto;
	}
	#chapters_list .chapters-table .content_row .status{
		margin-bottom: 20px;
	}
	#chapters_list .chapters-table .content_row .actions{
		width: 100%;
		display: flex;
		clear: both;
	}
	#chapters_list .chapters-table .content_row .move-content-icon{
		width: 50px;
		position: absolute;
		right: 0;
	}
	body:not(.is_mobile) #chapters_list .chapters-table .content_row .move-content-icon{
		top: 25px;
	}
	body.is_mobile #chapters_list .chapters-table .content_row .move-content-icon{
		top: 40px;
	}
}
@media screen and (max-width: 620px){
	#learning_path_edit + .col-md-12.mt_100 + .chapters{
		margin-top: 50px;
	}
	.chapters .chapters-table{
		margin-top: 50px;
	}
}
@media screen and (max-width: 475px){
	#chapters_list .chapters-table .content_row .image{
		float: none;
	}
	#chapters_list .chapters-table .content_row .title,
	#chapters_list .chapters-table .content_row .status{
		width: 100%;
	}
	
}

