.datatable-list{
    margin: 10px 0 !important;
}

.ui.button.light-green {
    background-color: #7ec248!important;
    border: 1px solid #ffffff;
    border-radius: 30px!important;
    color: #ffffff!important;
    padding: 0.485714em 2.5em !important;
    margin: 0 auto!important;
    text-align: center;
}
.ui.button.gray {
    background-color: #d6d8db !important;
    border: 1px solid #ffffff;
    border-radius: 30px!important;
    color: rgba(0, 0, 0, 0.5) !important;
    padding: 0.485714em 2.5em !important;
    margin: 0 auto;
    text-align: center;
}

.help-text{
    margin-top: 0 !important;
}

.form-title{
    color: #FFFFFF;
}

.ui.button.gray.wide,
.ui.button.light-green.wide{
    width: 100%;
    border: 0;
}

.ui.action.input > button{
    border: 0;
    border-radius: 0 !important;
}
.flag {
    padding-top: 15px;
    padding-left: 20px;
}

.home.flag.active img {
	border: 2px solid #ccc;
}

.flag.flag-active img,
.flag.active img {
	border: 2px solid #fff;
}
.flag img {
    width: 30px;
    height: 25px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}

.right.floated {
    float: right;
}

.document-selector {
    padding: .5em 2.6em .78571429em 1em !important;
    height: 2px !important;
    min-height: 2em !important;
    border-radius: 0 !important;
    position: relative !important;
    margin-top: 7px !important;
    background-color: #3c6a9f !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    border-width: 1px !important;
    max-width: 20vw;
    font-weight: 700;
}

.document-title {
  white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

#ask-question,
#add-document {
    color: white !important;
    margin-top: 12px;
    height: 28px;
    width: 28px;
    font-size: 27px !important;
    margin-left: 10px;
    border: 1px white solid;
    border-radius: 50%;
}

#add-document {
  -webkit-text-stroke: 4px #3c6a9f;
  padding: 0px 0px 0 2px;
}
#ask-question {
  -webkit-text-stroke: 3px #3c6a9f;
  padding: 0px 0px 0 4px !important;
}

.new-document-modal,
#document-modal {
  width: 500px !important;
  margin-left: -250px !important;
}

.ui.selection.fluid.dropdown.document-selector>.menu>.item,
.document-modal .content {
    background-color: #3c6a9f !important;
    color: white !important;
    border: 0 0 2px 0 !important;
    font-weight: 700 !important;
}

.document-modal .close-button {
    position: absolute;
    color: aliceblue;
    right: 0;
    font-size: 40px;
    top: 0;
    cursor: pointer;
}

.ui.form label {
    color: #ffffff!important;
    font-size: 18px !important;
}

.document-modal [type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* IMAGE STYLES */
.document-modal [type=radio] + img {
  cursor: pointer;
  border-radius: 15px;
  width: 60px;
  height: 50px;
  margin-right: 15px;
}

/* CHECKED STYLES */
.document-modal [type=radio]:checked + img {
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  border: 3px solid white;
}

.fake-label {
  color: #ffffff!important;
  font-size: 18px !important;
}

.fake-url {
  color: #7ec248;
  cursor: pointer;
  text-decoration: underline;
}

.fake-divider {
  margin: 10px 0px;
}

.center {
  text-align: center;
}

.padding {
  padding: 5px;
}

.flashbag.message {
  left: 50%;
  margin-left: -48%;
  position: fixed;
  top: 45px;
  width: 96%;
  z-index: 100;
}

#delete-document {
  color: #ffffff!important;
    background-color: #3c6a9f;
    height: auto!important;
    width: 250px!important;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 1em;
    transform: translate(-50%, -50%);
    font-size: 14px;
    line-height: 1.5em;
}

.checkbox-group {
  position: relative;
  width: 50%;
}

.checkbox-group:first-child {
  margin-right: 15px;
}

.checkbox-group .custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  width: 1.5rem;
  height: 1.5rem;
}

.custom-checkbox ~ .custom-checkbox-span {
  display: inline-block;
  border: 1px solid #000;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  cursor: pointer;
}

.custom-checkbox:checked ~ .custom-checkbox-span:after {
  content: "\2713";
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    left: 0px;
    top: -15px;
    color: #7ec248;
}

.custom-background {
  background-color: white;
  padding: 10px;
}

.checkbox-group.custom-background>label.custom-checkbox-label {
  color: #3c6a9f !important;
}

.cv-form-row>.ui.grid {
  min-height: calc(100vh - 50px);
}

/* Used in register form */
select.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.select2.disabled,
input.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.disabled:hover {
    cursor: not-allowed;
}

#link_code_wrapper{
    position: relative;
}

#link_code_loader{
    position: absolute;
    margin: 0;
    top: 2.7em;
    right: 2.8em;
    font-size: 0.3rem;
}

#school_help{
    margin-top: 0;
    margin-bottom: 1em;
}

#link_code_not_found{
    margin: 0;
    font-weight: bold;
    color: #818182;
    position: absolute;
    display: inline-block;
    top: .6em;
    right: .8em;
    font-size: 1rem;
}

#registration_link_code{

}

/* Select2 */

.select2-selection {
    border-radius: 0 !important;
    height: 2.7em !important;
    line-height: 2.7em !important;
}

.select2-selection > span {
    height: inherit !important;
    line-height: inherit !important;
}

/* Spinner */

:root{
    --loader-color: #7ec248 !important;
}

.loader,
.loader:before,
.loader:after {
    background: var(--loader-color);
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}
.loader {
    color: var(--loader-color);
    text-indent: -9999em;
    margin: 88px auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}
.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 1.5em;
}
@-webkit-keyframes load1 {
    0%,
    80%,
    100% {
        box-shadow: 0 0 var(--loader-color);
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em var(--loader-color);
        height: 5em;
    }
}
@keyframes load1 {
    0%,
    80%,
    100% {
        box-shadow: 0 0 var(--loader-color);
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em var(--loader-color);
        height: 5em;
    }
}

#link-code-questions{
    margin-bottom: 1em;
    color: #FFFFFF;
}

#link-code-questions .four.column{
    white-space: nowrap;
}

#link-code-questions .radio-label input[type=radio],
.register-modal .radio-label input[type=radio] {
    display: none;
}

#link-code-questions .radio-label,
.register-modal .radio-label {
    max-height: 50px;
    width: max-content;
    background-color: #3c6a9f;
    padding: 10px 15px;
    color: #FFFFFF;
    border-radius: 5px;
    text-align: center;
}

#link-code-questions .radio-label.active,
.register-modal .radio-label.active {
    background-color: #7ec248;
}

#link-code-questions .radio-label{
    line-height: 100%;
    font-weight: normal !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#link-code-questions .radio-label input{
    line-height: 100%;
    position: absolute;
}

#linkcode-wrapper .radio-label{
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

#linkcode-wrapper .radio-label{
    background-color: #3c6a9f;
    padding: 10px 15px;
    color: #FFFFFF;
    height: 100%;
    border-radius: 5px;
    font-size: 18px !important;
    width: 100%
}


#linkcode-wrapper .radio-label:active{
    background-color: #7ec248;
}

.cursor-pointer {
    cursor: pointer;
}

.r-0{
    transform: translateY(-50%) translateX(calc(100% + 15px)) !important
}

input.invalid{
    box-shadow: 0 0 2px 2px rgb(255, 98, 98) !important
}

.help-row{
    padding: 0 !important;
}

.help-row p{
    font-size: .85rem;
    white-space: nowrap;
}
