/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 16px "Roboto", serif;
	color: #333333;
	border-radius: 10px;
}

#TB_secondLine {
	font-size: 10px;
	color:#666666;
}

#TB_window a:link,
#TB_window a:visited,
#TB_window a:active {
	color: var(--failiem-blue-hex);
}
#TB_window a:focus,
#TB_window a:hover {
	color: var(--failiem-blue-darker-hex);
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:1000000;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: var(--failiem-white-hex);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	z-index: 1000002;
	color:#000000;
	display:none;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	display: none;
}

#TB_ajaxContent{
	clear:both;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:1000003;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:999999;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}



/* Custom values for a "modernized" modal */
#TB_window {
	padding: 30px 25px;
}
#TB_window,
#TB_ajaxContent {
	height: fit-content !important;
}
#TB_ajaxContent {
	width: auto !important;
}

#TB_window .edit_form_main_text1 {
	/* Header text, basically */
	margin-bottom: 45px;
}
#TB_ajaxContent .edit_form_block > div:not(.edit_form_main_text1) {
	font-weight: lighter !important;
}
#TB_ajaxContent .edit_form_block > div:not(.edit_form_main_text1),
#TB_ajaxContent form > div {
	/* Every row item */
	margin-top: 25px;
	font-size: 16px;
	color: black;
}


#TB_ajaxContent form label {
	font-size: 16px;
	color: black;
}
#TB_ajaxContent form input {
    height: 40px;
	padding-left: 15px;
	margin-top: 5px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    font-size: 14px;
	box-sizing: border-box;
    background-color: var(--failiem-white-hex);
}
#TB_ajaxContent form input:focus {
    border-color: var(--failiem-blue-hex);
}

#username_edit_form__username_error,
#email_edit_form__email_error,
#password_edit_form__password_error {
	/* For hiding error boxes when they hold no text */
	height: fit-content;
}

#TB_ajaxContent .edit_form_block input ~ a {
	float: right;
}

#TB_ajaxContent .form_buttons {
    display: flex;
    flex-flow: row-reverse;
	margin-top: 40px;
	row-gap: 5px;
    flex-wrap: wrap;
}
#TB_ajaxContent form input[type="submit"],
#TB_ajaxContent .form_buttons button {
    transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}
#TB_ajaxContent form input[type="submit"] {
	color: var(--failiem-white-hex);
	font-size: 16px;
	font-weight: bold;
	background-color: var(--failiem-blue-hex);
	min-width: 125px;
    height: 42px;
	box-shadow: none;
	margin: 0;
	border: 0;
    margin-left: 10px;
}
#TB_window .form_buttons input[type=submit]:hover {
    cursor: pointer;
    background-color: var(--failiem-blue-darker-hex) !important;
}
#TB_ajaxContent .form_buttons button {
    width: 101px;
    height: 42px;
    color: black;
    background-color: white;
    border: 1px solid #dedede;
    border-radius: 5px;
	font-size: 16px;
}
#TB_ajaxContent .form_buttons button:hover {
    cursor: pointer;
    border-color: var(--failiem-blue-hex);
}


@media only screen and ( max-width: 600px ) {
	
	#TB_window {
	    margin-left: 0 !important;
	    width: 90% !important;
	    left: 5%;
	    box-sizing: border-box;
	    top: 40%;
	}
}
