/*
	Description: This is the Stylesheet for the Kongress-Suite DSGVO for the Member-Suite
	Version: 1.0.0
	Author: Martin Neitz
	Author URI: https://www.kongress-suite.com/kontakt/
	License: Martin Neitz
*/


.hidden { display: none; }
.kosudsgvo_content { border: 1px solid red; width: 100%; }
.kosudsgvo_user_input textarea,
.kosudsgvo_html_code textarea { width: 100%;}

.kosudsgvo_element_checklist {
  margin-bottom: .7em;
}

.kosudsgvo_form { clear: both; }

/*---  Checkbox   ----------------------------------------------------------------------------------------------------*/
.kosudsgvo_form input[type=checkbox]                { display: initial; width: auto; }
.kosudsgvo_form input[type=checkbox] + label        { position: initial;  }
.kosudsgvo_form input[type=checkbox]:focus + label  { font-size: 14px !important; }

.kosudsgvo_group input[type=checkbox] ~label.kosudsgvo_status_value {font-size: 1em !important;}            

/*--------------------------------------------------------------------------------------------------------------------*/

.kosudsgvo_form label {
    cursor: auto;
    position: absolute;
    font-size: 1em;
    line-height: 1em;
    left: 0;
    top: 3px;
    transition: .2s ease all;
    -moz-transition: .2s ease all;
    -webkit-transition: .2s ease all;
}

/* help  */
/* Todo: rework to different size and color */


.kosudsgvo_form .kosudsgvo_helptext {
  margin-top: 5px;
  line-height: .9em;
  font-size: 0.7em;
  padding-left: 36px;
  padding-top: 5px;
  padding-bottom: 10px;  
}



.kosudsgvo_form .kosudsgvo_helpbox {
    margin-bottom: 4px;
    display: none;
}

.kosudsgvo_helpbox.kosudsgvo_expande_helpbox {display: block;}

.kosudsgvo_form .kosudsgvo_help_toggle {
    cursor: pointer;
    position: absolute;
    font-size: 11px;
    right: 0;
    top: -18px;
    padding: 7px 0px 7px 15px;
}


.kosudsgvo_form .kosudsgvo_help_toggle:after {
    font-family: FontAwesome;
    content: "\f078";
    margin-left: 8px;
}


.kosudsgvo_form input[type=checkbox] {display: none;}
.kosudsgvo_form input[type=checkbox] ~ label{ height: 20px; }

/* ---- TEST FOR CHECKBOX ON SLIDER ----*/


.kosudsgvo_form .kosudsgvo-label-switch .checkbox {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid #c3c3c3;
    vertical-align: middle;
    margin: -1px 4px 0 0;
}

.kosudsgvo_form .kosudsgvo-label-switch.kosudsgvo_status_value {
    font-size: 14px !important;
    top: 13px !important;
}



.kosudsgvo-label-switch input[type=checkbox]:checked+.checkbox {
    border: 2px solid #75B829;
    background-color: #75B829;
}

.kosudsgvo-label-switch input[type=checkbox]:checked+.checkbox:after {
    font-family: FontAwesome;
    font-size: 18px;
    content: "\f00c";
    color: #ffffff;
    margin-left: 3px;
    line-height: 27px;
}

/* ---- END :  TEST FOR CHECKBOX ON SLIDER ----*/


.kosudsgvo_form input[type=radio] + label span,
.kosudsgvo_form input[type=checkbox] + label span {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    border: 2px solid #c3c3c3;
    vertical-align: middle;
    margin: 0px 11px 0 0;    
}

.kosudsgvo_form input[type=radio] + label span { border-radius: 50px; }

/* maybe this could be applied to radio as well */
.kosudsgvo_form  input[type="checkbox"] + label span { float:left; }
.kosudsgvo_form  input[type="checkbox"] + label span + div  { overflow: hidden; padding-top: 0px; font-weight: bold;}

.kosudsgvo_form  input[type="radio"]:checked + label span,
.kosudsgvo_form  input[type="checkbox"]:checked + label span {
    border: 2px solid #d16d36;
    background-color: #d16d36;
    border: 1px solid;
}


.kosudsgvo_form  input[type="radio"]:checked + label span:after,
.kosudsgvo_form  input[type="checkbox"]:checked + label span:after {
    font-family: FontAwesome;
    font-size: 1em;
    content: "\f00c";
    color: #ffffff;
    line-height: 1em;
    position: relative;
}

span.kosudsgvo_newline {display: block; height: 15px;}
span.kosudsgvo_newline:before {
    content: "\a ";
    white-space: pre;
}

