.select2-container ul{
    margin-left: 0px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    margin-top: 0px;
    margin-bottom: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    font-size: 1.3em;
    font-weight: bold;
    padding: 2px 4px;
    border-right: none;
    margin-left: 0px;
    margin-top: 0px;
}

.custom_form_select{
    background-color: transparent !important;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
    font-family: inherit;
    line-height: 24px;
    color: #555;
    /* background-color: #f1f1f1 !important; */
    border: 1px solid #aaa !important;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    box-shadow: none !important;
    cursor: pointer !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

label.error{
    color: red !important;
}

.iti{
    width: 100%;
}

#ticket-form-de .select2-selection__choice{
    color: white !important;
    background-color: #0057a2 !important;
    border: 1px solid #0057a2 !important;
    color: white;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    padding: 0;
    padding-left: 20px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
    padding: 5px;
    padding-left: 20px;
}

#ticket-form-de .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    background-color: transparent;
    border: none;
    border-right: 1px solid #aaa;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 9px 4px;
    position: absolute;
    left: 0;
    top: 0;
}

body[data-fancy-form-rcs="1"] #ticket-form-de .select2-container--default:hover .select2-selection--single .select2-selection__rendered, body[data-fancy-form-rcs="1"] #ticket-form-de .select2-container--default.select2-container--open .select2-selection--single .select2-selection__rendered{
    color: black !important;
}


.lds-dual-ring {
    display: inline-block;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 27px;
    right: 30px;
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    margin: 8px;
    border-radius: 50%;
    border: 3px solid #0057a2;
    border-color: #0057a2 transparent #0057a2 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/* CUSTOM CHECKBOX */

.container-checkbox {
    font-weight: normal !important;
    margin-left: 10px;
    margin-top: 13px;
}

.container-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body[data-fancy-form-rcs="1"] .fancy-select-wrap{
    padding-top: 0px !important;
}

body[data-fancy-form-rcs="1"] .fancy-select-wrap label{
    font-size: inherit !important;
}


body[data-fancy-form-rcs="1"] .select2-container .select2-choice, body[data-fancy-form-rcs="1"] .select2-container--default .select2-selection--single{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}


body[data-fancy-form-rcs="1"] .select2-container--default:hover .select2-selection--single .select2-selection__rendered, body[data-fancy-form-rcs="1"] .select2-container--default.select2-container--open .select2-selection--single .select2-selection__rendered{
    color: black !important;
}

.select2-results{
    overflow: hidden !important;
    padding-right: 0px !important;
}

.select2-container-multi .select2-choices{
    padding: 5px !important;
}

.select2-search__field{
    cursor: pointer !important;
}

.select2-container .select2-search--inline .select2-search__field{
    height: 25px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: #0057a2;
    border: 1px solid #0057a2;
    color: white;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    padding: 0;
    padding-left: 20px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
    padding: 5px;
    padding-left: 20px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    font-size: 1.6em;
    font-weight: bold;
    padding: 4px 4px;
    border-right: none;
    margin-left: 0px;
    margin-top: 0px; 
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    color: white;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{
    background-color: transparent;
    color: #d7d7d7;
}

/* Hide the browser's default checkbox */

.container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #f2f2f2;
    border: 1px solid darkgrey;
}


/* On mouse-over, add a grey background color */

.container-checkbox:hover input~.checkmark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

.container-checkbox input:checked~.checkmark {
    background-color: #0057a2;
}


/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.container-checkbox input:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.container-checkbox .checkmark:after {
    left: 8px;
    top: 4px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


#department-error{
    position: absolute;
    top: 55px;
    left: 15px;
    color: red !important;

}

#sub_department-error{
    position: absolute;
    top: 77px;
    left: 15px;
    color: red !important;

}

#terms-error{
    position: absolute;
    top: 35px;
    display: block;
    left: 0;
    font-size: 15px;
}