/* Copyright (c) Fair Work Commission. All rights reserved. */

.ui-datepicker td,
th {
    min-width: 0.5rem;
}

.ui-datepicker tbody > tr:nth-child(2n + 1) td {
    background-color: #fff;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 45%;
    min-width: 70px;
    margin-right: 5px;
    padding: 5px 5px 5px 10px;
    background-size: 12px auto;
}

/* make sure datepicker pop-up is always on top of other elements */

.ui-datepicker {
    z-index: 10000 !important;
}

.ui-widget-header {
    border: 1px solid #b1c0bc;
    background: #e7eceb;
    color: #333;
    font-weight: bold;
}

    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default,
    .ui-button,
    html .ui-button.ui-state-disabled:hover,
    html .ui-button.ui-state-disabled:active {
        border: 1px solid #b1c0bc;
        background: #e7eceb;
        font-weight: normal;
        color: #333;
        text-align: center;
    }

        .ui-state-hover,
        .ui-widget-content .ui-state-hover,
        .ui-widget-header .ui-state-hover,
        .ui-state-focus,
        .ui-widget-content .ui-state-focus,
        .ui-widget-header .ui-state-focus,
        .ui-button:hover,
        .ui-button:focus {
            border: 1px solid #cccccc;
            background: #00303c;
            font-weight: normal;
            color: #fff;
            text-align: center;
        }

.fwc-selected-filter__label {
    background-color: #d6dedc;
    font-size: 18px;
    border-radius: 10px;
    padding: 14px 20px;
    position: relative;
    padding-right: 50px;
    margin-bottom: 0;
}

.fwc-selected-filter__item {
    padding-left: 15px;
    font-weight: bold;
    font-size: 16px;
}

.fwc-search-error {
    padding: 10px;
    padding-left: 60px;
    border-radius: 10px;
    position: relative;
    border: 2px;
    border-style: solid;
}

.fwc-warning__icon {
    position: absolute;
    top: 10px;
    left: 21px;
    font-size: 24px;
}

.fwc-search__input {
    cursor: pointer;
}

.fwc-file-container {
    max-width: 100%;
    height: 1080px;
    width: 100%;
    border-radius: 10px;
}

.fwc-detail__results {
    overflow-y: auto;
}

.fwc-detail__result {
    cursor: pointer;
}

.fwc-detail__input {
    cursor: pointer;
}

    /* overwrite default search icon */
    .fwc-detail__input:before {
        content: none;
    }

    .fwc-detail__input input {
        padding-left: 20px;
        padding-right: 84px;
    }

#search-type-select {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0;
    color: #313131;
    min-width: auto;
    width: 100%;
}

    #search-type-select option {
        font-weight: 400;
        /* font-weight: bold; */
        font-size: 18px;
        letter-spacing: 0;
        color: #313131;
    }

.fwc-detail__mobile-padding {
    padding-bottom: 171px;
}

#doc-from-date,
#doc-to-date {
    min-width: auto;
}

.ui-menu-item-wrapper {
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0;
    color: #313131;
}

.ui-datepicker-current-day .ui-state-active {
    border: 1px solid #528217;
    background: #76bd22;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
}

.fwc-search__box-header {
    padding-bottom: 10px;
}

.fwc-search__box-header--mobile {
    padding: 15px 0;
}

@media (min-width: 1024px) {
    .fwc-search__box-header--mobile {
        display: none;
    }
}

@media (max-width: 1024px) {
    .fwc-search__box-header-row {
        display: none;
    }
}

.fwc-search__type {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.fwc-search__type-select {
    flex-grow: 1;
}

.fwc-search__tips {
    margin-left: 12px;
}

#q::placeholder {
    color: #b1c0bc !important;
}

#transcript-search-input::placeholder {
    color: #b1c0bc !important;
}

.fwc-enquiry-form {
    margin-top: 20px;
    background-color: #d6dedc;
    padding: 30px 15px;
}

.fwc-enquiry-form__title {
    font-size: 18px;
}

.fwc-enquiry-form__content {
    font-size: 16px;
    color: #313131;
    margin-top: 30px;
}

.fwc-form__select {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0;
    color: #313131;
    min-width: auto;
    width: 100%;
}

    .fwc-form__select option {
        font-weight: bold;
        font-size: 18px;
    }

.form-required:after {
    content: " *";
    color: red;
}

.fwc-list__header {
    position: relative;
}

@media (max-width: 1023.98px) {
    .fwc-list__header {
        background: none !important;
    }

        .fwc-list__header:before {
            display: none !important;
        }
}

@media (min-width: 1024px) {
    .fwc-list__header {
        padding-left: 0px;
        padding-top: 40px;
        padding-bottom: 15px;
    }
}

.fwc-list__body {
    padding: 20px 0;
}

@media (min-width: 1024px) {
    .fwc-list__body {
        padding: 0;
        padding-top: 20px;
        padding-left: 40px;
    }
}

.form-element {
    min-width: auto;
    width: 100%;
}

.fwc-submit__btn.btn {
    /* margin-top: 21px; */
    margin-bottom: 0;
    min-width: auto;
}

.field-validation-error {
    margin-left: 20px;
    font-style: italic;
}

.text-danger {
    color: #dc3545 !important;
}

.fwc-close__btn.btn {
    /* margin-top: 21px; */
    margin-bottom: 0;
    min-width: auto;
    margin-bottom: 50px;
}

.fwc-list__header {
    position: relative;
}

@media (max-width: 1023.98px) {
    .fwc-list__header {
        background: none !important;
    }

        .fwc-list__header:before {
            display: none !important;
        }
}

@media (min-width: 1024px) {
    .fwc-list__header {
        padding-left: 0px;
        padding-top: 40px;
        padding-bottom: 15px;
    }
}

.fwc-list__body {
    padding: 20px 0;
}

@media (min-width: 1024px) {
    .fwc-list__body {
        padding: 0;
        padding-top: 20px;
        padding-left: 40px;
    }
}

.fwcjs__header {
    background-color: #e7eceb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 15px;
}

.fwcjs__filter {
    margin-bottom: 10px;
}

.fwcjs__header .form-item {
    margin-bottom: 0;
}

.fwcjs__header .chosen-container,
.fwcjs__header select,
.fwcjs__header input[type="text"] {
    min-width: auto;
    width: 100%;
}

.form-item.form-type-select label,
.form-item.form-type-textarea label,
.form-item.form-type-text label,
.form-item.form-type-email label,
.form-item.form-type-number label,
.form-item.form-type-date label,
.form-item.form-type-date-time label,
.form-item.form-type-textfield label,
.form-item.form-type-tel label {
    position: absolute;
    top: 8px;
    left: 15px;
    white-space: nowrap;
}

.vue-table thead th {
    color: #fff;
    background-color: #00303c;
}

    .vue-table thead th a {
        color: #fff;
    }

.fwcjs__sort {
    text-decoration: none;
    white-space: nowrap;
}

.fwc-form__select {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0;
    color: #313131;
    min-width: auto;
    width: 100%;
}

    .fwc-form__select option {
        font-weight: bold;
        font-size: 18px;
    }

.fwc-list__error {
    color: #00303c;
    margin-top: 10px;
}

.link--icon {
    display: inline-flex;
}

    .link--icon::before {
        height: 9px;
        line-height: 10px;
    }

.link__icon {
    top: 3px;
}

.link--icon[data-filename$=".doc"]::before,
.link--icon[data-filename$=".docx"]::before {
    content: "doc";
}

.link--icon[data-filename$=".xls"]::before,
.link--icon[data-filename$=".xlsx"]::before,
.link--icon[data-filename$=".csv"]::before {
    content: "XLS";
    background-color: #76bd22;
}

.link--icon[data-filename$=".xls"] .link__icon,
.link--icon[data-filename$=".xlsx"] .link__icon,
.link--icon[data-filename$=".csv"] .link__icon {
    color: #76bd22;
}

.link--icon[data-filename$=".csv"]::before {
    content: "csv";
}

.link--icon[data-filename$=".pdf"]::before {
    content: "pdf";
    background-color: #8c1515;
}

.link--icon[data-filename$=".pdf"] .link__icon {
    color: #8c1515;
}

.link--icon[data-filename$=".bmp"]::before,
.link--icon[data-filename$=".jpg"]::before,
.link--icon[data-filename$=".jpeg"]::before,
.link--icon[data-filename$=".png"]::before {
    content: "bmp";
    background-color: #966405;
}

.link--icon[data-filename$=".bmp"] .link__icon,
.link--icon[data-filename$=".jpg"] .link__icon,
.link--icon[data-filename$=".jpeg"] .link__icon,
.link--icon[data-filename$=".png"] .link__icon {
    color: #966405;
}

.link--icon[data-filename$=".jpg"]::before {
    content: "jpg";
}

.link--icon[data-filename$=".jpeg"]::before {
    content: "jpeg";
}

.link--icon[data-filename$=".png"]::before {
    content: "png";
}

.link--icon[data-filename$=".htm"]::before,
.link--icon[data-filename$=".html"]::before {
    content: "html";
    background-color: #f38230;
}

.link--icon[data-filename$=".htm"] .link__icon,
.link--icon[data-filename$=".html"] .link__icon {
    color: #f38230;
}

.link--icon.disabled {
    cursor: default;
    pointer-events: none;
    color: #707070;
}

.disabled .link__icon {
    color: #707070;
}

.link__icon.icon-ppt {
    top: 0;
}

.fwc-show {
    display: block !important;
}

.fwc-hide {
    display: none !important;
}

@media (min-width: 1024px) {
    .fwc-info-bottom {
        display: none !important;
    }
}

.fwc-info-bottom {
    background-color: #d6dedc;
    padding: 20px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.pager {
    margin-bottom: 0px;
}

.fwc-info__link {
    font-weight: bold;
}

/* overwrite default maginfy icon */
.fwc-search__input:before {
    content: none;
}

.fwc-search-icon,
.fwc-clear-icon,
.fwc-filter-clear-icon {
    float: right;
}

.fwc-search__title-link {
    font-size: 18px;
    color: #313131;
    margin-bottom: 10px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #00303c;
    text-decoration: none;
}

.fwc-search__result:before {
    content: none;
}

.fwc-search__result {
    padding-right: 20px;
}

.fwc-search__content {
    max-width: 100%;
}

.fwc-download__btn.btn {
    font-size: 14px;
    padding: 8px 10px;
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 0;
    max-width: 100%;
    min-width: auto;
    width: 100%;
}

.fwc-download__container {
    padding-right: 10px;
}

.fwc-search-icon:after,
.fwc-clear-icon:after {
    content: "\e903";
    position: absolute;
    right: 5px;
    top: 15px;
    color: #00303c;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: "icomoon";
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-transform: none;
}

.fwc-clear-icon:after {
    content: "\e909";
    right: 40px;
}

.modaal-content-container {
    padding: 32px;
}

.modal {
    position: relative;
    display: none;
}

.modal__header {
    margin-bottom: 32px;
}

.modal__header__title {
    display: inline-block;
}

.modal__header__title-underline {
    width: 75%;
    height: 4px;
    margin-top: -4px;
    background-color: #76bd22;
}

.modal__header__close {
    transition: all 0.3s;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    line-height: 32px;
    color: #fafafa;
    font-size: 12px;
    text-decoration: none;
    background-color: #00303c;
    text-align: center;
    border-radius: 50%;
    z-index: 10;
    margin-left: 8px;
}

    .modal__header__close .icon-icon-close:before {
        top: 0;
    }

    .modal__header__close:hover {
        opacity: 0.7;
    }

.modal__content {
    max-height: 60vh;
    overflow-y: auto;
    margin-right: -8px;
}

@media (max-width: 1023.99px) {
    .modaal-content-container {
        padding: 24px;
    }

    .modal__content {
        padding-right: 16px;
    }
}

.fwc-filter__filter-search-box {
    border-radius: 6px !important;
    font-size: 16px !important;
    min-width: fit-content !important;
    width: 100% !important;
    padding: 5px 14px !important;
}

    .fwc-filter__filter-search-box::placeholder {
        color: #b1c0bc !important;
    }

.fwc-filter_scrollable {
    height: 430px;
    overflow-y: auto;
}

.fwc-filter-clear-icon {
    display: none;
}

.fwc-filter-clear-icon:after {
	content: "\e909";
	position: absolute;
	right: 20px;
	color: #00303c;
	font-size: 15px;
	line-height: 30px;
	width: 15px;
	height: 15px;
	text-align: center;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: "icomoon";
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	text-transform: none;
	cursor: pointer;
}

.fwc-top-message-block {
	/* hide top message block by default */
	display: none;
	margin-top: 14px;
}

	.fwc-top-message-block > .disclaimer > .disclaimer__inner {
		padding: 10px 32px;
		background-color: var(--fwc-palette-tertiary-dark);
	}

		.fwc-top-message-block > .disclaimer > .disclaimer__inner > .disclaimer__content {
			color: var(--fwc-palette-black);
		}

/* strong element in Modaal */
.modaal-content-container strong {
    font-size: 1.1rem;
}
