/**
 * @file
 * Visual styles for Bartik's forms.
 */

/* Password field. */
.password-field {
  margin: 0;
}

/* Form elements. */
form {
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}
@media (max-width: 740px) {
	form {
	  width: 90%;
	}
}
/**
 * Prevent regression due to explicit line-height applied to these elements in
 * normalize.css 7.0.0.
 */
 .webform-flexbox {
   display: flex;
   margin: 0 -0.5em;
 }
input {
  	line-height: normal;
}
select {
	line-height: 1.5;
	max-width: 100%;
	min-width: 170px;
  height: 40px;
  border: 1px solid #3e3e3e;
  font-size: 18px;
  border-radius: 5px;
  color: #ccc;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='white'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
  background-size: 12px;
  background-position: calc(100% - 10px) 17px;
  background-repeat: no-repeat;
  background-color: black;
  padding-right: 30px;
  padding-left: 8px;
}


 .vert-cent select {
  	margin: 20px 0;
}
/**
 * 1. Prevent regression due to fieldset styling that was removed in
 *    normalize.css 6.0.0.
 */
fieldset {
  min-width: 0;
  margin: 1em 0;
  padding: 0.35em 0.625em 0.75em; /* 1 */
  border: 1px solid #c0c0c0; /* 1 */
}
details,
fieldset,
.filter-wrapper {
  border-radius: 4px;
}
.filter-wrapper {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.filter-wrapper .form-item label {
  margin-right: 10px; /* LTR */
}
.form-item label,
legend {
  font-weight: 300;
  font-size: .8em;
  line-height: 1.4em;
}
@media (max-width: 1000px) {
  .form-item label,
  legend {
    font-weight: 400;
  }
}
.form-item label {
  margin-bottom: 5px;
}
[dir="rtl"] .filter-wrapper .form-item label {
  margin-right: 0;
  margin-left: 10px;
}
summary {
  color: #3b3b3b;
  background: #dbdbdb;
  text-shadow: 0 1px 0 #fff;
}
details summary a {
  color: #3b3b3b;
}
details summary a:hover,
details summary a:active,
details summary a:focus {
  color: #000;
}
details .details-description {
  font-style: italic;
}
label {
  	display: block;
	max-width: 600px;
  font-weight: bold;
  margin-top: 20px;
}
label[for] {
  cursor: pointer;
}

input {
  box-sizing: border-box;
  /* Keep form elements from overflowing their containers. */
  width: 100%;
  margin: 2px 0;
  padding: 4px;
}
input,
textarea {
  background: black;
  color: #b1b1b1;
  border: 1px solid #3e3e3e;
  font-weight: 300;
  font-size: 100%;
  min-height: 36px;
  font-family: 'Lato', sans-serif;
  max-width: 590px;
  width: 100%;
  border-radius: 5px;
}
@media (max-width: 740px) {
	input,
	textarea {
	  max-width: 100%;
    border: 1px solid #666;
	}
}
/**
 * Prevent regression due to -webkit-appearance being set to button and
 * font-family being set to inherit normalize.css 4.1.0.
 */
::-webkit-file-upload-button {
  -webkit-appearance: push-button;
}

/**
 * Make the font slightly bigger in mobile
 * @todo: check the correct font-size
 */

textarea {
  line-height: 1.5;
}
textarea.form-textarea {
  padding: 4px;
}

.password-suggestions ul li {
  margin-left: 1.2em; /* LTR */
}
[dir="rtl"] .password-suggestions ul li {
  margin-right: 1.2em;
  margin-left: 0;
}

.form-wrapper .field-multiple-table .label {
  font-size: inherit;
}
.form-type-radio label,
.form-type-checkbox label {
  margin-left: 4px; /* LTR */
}
[dir="rtl"] .form-type-radio label,
[dir="rtl"] .form-type-checkbox label {
  margin-right: 4px;
  margin-left: 0;
}
.form-type-radio .description,
.form-type-checkbox .description {
  margin-left: 2px; /* LTR */
}
[dir="rtl"] .form-type-radio .description,
[dir="rtl"] .form-type-checkbox .description {
  margin-right: 2px;
  margin-left: 0;
}
.js-form-type-radio input,
.js-form-type-checkbox input {
	max-width: 20px;
	float: left;
	margin-right: 5px;
	width: 20px;
}

/* Node Form */
#edit-body {
  margin-bottom: 2em;
}

.node-form .form-wrapper .field-multiple-table .label {
  font-family: inherit;
}
.node-form .form-wrapper {
  margin-bottom: 2em;
}
.node-form .entity-content-form-footer,
.node-form .field--name-status {
  margin-bottom: 0;
}
.node-form .form-actions {
  margin-top: 0;
  padding-top: 0;
}

/* Contact Form */
.contact-form #edit-name {
  width: 75%;
  border-radius: 4px;
}
.contact-form #edit-mail {
  width: 75%;
  border-radius: 4px;
}
.contact-form #edit-subject {
  width: 75%;
  border-radius: 4px;
}
.contact-form #edit-message {
  width: 76.3%;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

/* Disabled form elements */
.form-disabled input,
.form-disabled select,
.form-disabled textarea {
  color: #717171;
  border-color: #bbb;
  background: #ededed;
}
.form-disabled label {
  color: #717171;
}

/* Comment form */

[dir="rtl"] .comment-form label {
  float: right;
}
.comment-form input,
.comment-form .form-select {
  margin: 0;
  border-radius: 4px;
}
.comment-form .form-type-textarea label {
  float: none;
}
.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select {
  overflow: hidden;
  margin-bottom: 10px;
}
.comment-form .form-type-checkbox,
.comment-form .form-radios {
  margin-left: 120px; /* LTR */
}
[dir="rtl"] .comment-form .form-type-checkbox,
[dir="rtl"] .comment-form .form-radios,
[dir="rtl"] .comment-form .form-item .description {
  margin-right: 120px;
  margin-left: 0;
}
.comment-form .form-type-checkbox label,
.comment-form .form-radios label {
  float: none;
  margin-top: 0;
}
.comment-form input.form-file {
  width: auto;
}
.layout-no-sidebars .comment-form .form-text {
  width: 800px;
}
.layout-one-sidebar .comment-form .form-text {
  width: 500px;
}
.layout-two-sidebars .comment-form .form-text {
  width: 320px;
}
.comment-form .form-item .description {
  margin-left: 120px; /* LTR */
}
.comment-form .form-textarea {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.comment-form details.filter-wrapper .details-wrapper,
.comment-form .text-format-wrapper .form-item {
  margin-top: 0;
  margin-bottom: 0;
}
.filter-wrapper label {
  float: none;
  width: auto;
}
.filter-wrapper .form-select {
  min-width: 120px;
}

#comment-body-add-more-wrapper .form-type-textarea label {
  margin-bottom: 0.4em;
}
#edit-actions input {
  margin-right: 0.6em; /* LTR */
}
[dir="rtl"] #edit-actions input {
  margin-right: 0;
  margin-left: 0.6em;
}

/* Form error styles. */
.form-item textarea.error + .cke {
  border: 2px solid red;
}

/* Form error message styles. */
.form-item--error-message {
  color: #e32700;
}

/**
 * Improve form element usability on narrow devices.
 */
@media all and (max-width: 600px) {
  .form-actions .button {
    display: block;
    float: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin: 10px 0 0;
    padding-bottom: 6px;
  }

  .js .dropbutton .dropbutton-action > input,
  .js .dropbutton .dropbutton-action > a,
  .js .dropbutton .dropbutton-action > button {
    padding-left: 3em;
    text-align: center;
  }
}
.webform-options-display-buttons label.webform-options-display-buttons-label {
  color: #a0a0a0;
  border: 1px solid #3e3e3e;
  border-radius: 6px;
  background-color: #000;
}
.webform-options-display-buttons .webform-options-display-buttons-wrapper {
  margin-top: 6px;
}
.webform-options-display-buttons input:hover + label.webform-options-display-buttons-label {
  color: #fff;
  border-color: #fff;
}
.webform-options-display-buttons input:checked + label.webform-options-display-buttons-label {
  color: white;
  border-color: #5D0C83;
}
/************** create new account form ****************/
#block-tm2022-content form#user-register-form.user-register-form.user-form details#edit-legal.js-form-wrapper.form-wrapper summary {
	display: none;
}
.description {
	padding: 20px 0;
}
.js-form-type-radio input, .js-form-type-checkbox input {
  margin-right: 10px;
}
textarea {
	background: black;
	color: #b1b1b1;
}
/***************** legal ***************/
.legal-terms {
	max-height: 100vh;
	height: 600px;
	overflow-y: scroll;
	border: 1px solid #555555;
	padding: 0 20px;
	margin-bottom: 20px;
}
body::-webkit-scrollbar-thumb {
  background-color: #A2C522;    /* color of the scroll thumb */
}
body {
  scrollbar-width: thin;          /* "auto" or "thin" */
  scrollbar-color: #A2C522 #333;   /* scroll thumb and track */
}
*::-webkit-scrollbar-thumb {
  background-color: #A2C522;
}
