/* Fonts */

@font-face {
    font-family: "PT Sans Regular";
    font-style: normal;
    font-weight: 400;
    src: local(PT Sans Regular), local(PTSans-Regular), url(../fonts/PT_Sans-Web-Regular.ttf) format("truetype"), url(../fonts/PT_Sans-Web-Regular.ttf) format("truetype"); }
@font-face {
    font-family: "PT Sans Italic";
    font-style: italic;
    font-weight: 400;
    src: local(PT Sans Italic), local(PTSans-Italic), url(../fonts/PT_Sans-Web-Italic.ttf) format("truetype"), url(../fonts/PT_Sans-Web-Italic.ttf) format("truetype"); }
@font-face {
    font-family: "PT Sans Bold";
    font-style: normal;
    font-weight: 700;
    src: local(PT Sans Bold), local(PTSans-Bold), url(../fonts/PT_Sans-Web-Bold.ttf) format("truetype"), url(../fonts/PT_Sans-Web-Bold.ttf) format("truetype"); }
@font-face {
    font-family: "PT Sans Bold Italic";
    font-style: italic;
    font-weight: 700;
    src: local(PT Sans Bold Italic), local(PTSans-BoldItalic), url(../fonts/PT_Sans-Web-BoldItalic.ttf) format("truetype"), url(../fonts/PT_Sans-Web-BoldItalic.ttf) format("truetype");
}

/*
* I chapter. Standard ExtJS style overwrite
*/

.x-body {
    font-family: 'PT Sans Regular', sans-serif;
    background: #f7fbff;
}

.x-viewport body {
    overflow-x: hidden;
    overflow-y: hidden;
}

.x-box-inner {
    overflow: visible;
}

.x-btn-compare {
    background-image: url("../images/ic_compare.png");
}

.x-btn-search {
    background-image: url("../images/ic_btn_search.png") !important;
    background-repeat: no-repeat;
    background-position: center;
}

.x-btn-search-small {
    background-image: url("../images/ic_search_small.png") !important;
    background-repeat: no-repeat;
    background-position: center;
}

.x-btn-full-extent {
    background: url("../images/icons.png") 0 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-full-extent.x-btn-pressed {
    background: url("../images/iconsD.png") 0 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-full-extent.x-btn-default-toolbar-small-over {
    background: url("../images/iconsU.png") 0 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-pan {
    background: url("../images/icons.png") -90px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-pan.x-btn-pressed {
    background: url("../images/iconsD.png") -90px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-pan.x-btn-default-toolbar-small-over {
    background: url("../images/iconsU.png") -90px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent-mark {
    background-image: url("../images/ic_extent_mark.png") !important;
    background-repeat: no-repeat;
    background-position: center;
}

.x-btn-extent-mark {
    background: url("../images/icons.png") -120px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent-mark.x-btn-pressed {
    background: url("../images/iconsD.png") -120px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent-mark.x-btn-default-toolbar-small-over {
    background: url("../images/iconsU.png") -120px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent {
    background-image: url("../images/ic_extent.png") !important;
    background-repeat: no-repeat;
    background-position: center;
}

.x-btn-extent {
    background: url("../images/icons.png") -150px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent.x-btn-pressed {
    background: url("../images/iconsD.png") -150px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent.x-btn-default-toolbar-small-over {
    background: url("../images/iconsU.png") -150px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent-ltu {
    background: url("../images/icons.png") -210px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent-ltu.x-btn-pressed {
    background: url("../images/iconsD.png") -210px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-extent-ltu.x-btn-default-toolbar-small-over {
    background: url("../images/iconsU.png") -210px 0 no-repeat !important;
    border: none;
    height: 30px;
    width: 30px;
}

.x-btn-delete {
    background-image: url("../images/ic_delete.png");
    background-repeat: no-repeat;
    background-position: center;
}

/* ↓ ONLINK widget */
.x-btn-link {
    background-image: url("../images/ic_copy.png");
    background-repeat: no-repeat;
    background-position: center;
}

/* */
.x-header-text-container {
	margin-bottom: 20px !important;
}

/* */
.x-header-text {
	color: #0585bc !important;
}

/* */
.custom-link-text {
    height: 50px !important;
	margin: 0px 0px 0px 0px !important;
}

/* */
.custom-copy-button .x-btn-button {
    width: 120px !important;
    height: 30px !important;
}

/* Main button anchor: Background color, border, padding */
.custom-copy-button .x-btn-wrap {
    background-color: #ffffff! important;     /* Custom background */
    border-radius: 20px !important;
}

/* Hover state */
.custom-copy-button .x-btn-wrap:hover {
    background-color: #0585bc !important;     /* Hover background */
}

/* Hover state: Text color */
.custom-copy-button .x-btn-wrap:hover .x-btn-inner {
    color: #ffffff !important;                /* Hover text color */
}

/* Button text: Adjust color, font size */
.custom-copy-button .x-btn-inner {
    color: #0585bc !important;                /* Text color */
    font-size: 14px !important;               /* Font size */
    width: 120px !important;
    height: 30px !important;
    padding-top: 7px !important;
}

/* Outer container: Rounding corners and setting overall button size */
.custom-copy-button.x-btn-default-small {
    border-radius: 20px !important;           /* Rounded corners */
    border-color: #0585bc !important;
    border-width: 2px !important;
    padding: 0px 0px 0px 0px !important;
}


/* */
.custom-close-button .x-btn-button {
    width: 120px !important;
    height: 30px !important;
}

/* Main button anchor: Background color, border, padding */
.custom-close-button .x-btn-wrap {
    background-color: #ffffff! important;     /* Custom background */
    border-radius: 20px !important;
}

/* Hover state */
.custom-close-button .x-btn-wrap:hover {
    background-color: #0585bc !important;     /* Hover background */
}

/* Hover state: Text color */
.custom-close-button .x-btn-wrap:hover .x-btn-inner {
    color: #ffffff !important;                /* Hover text color */
}

/* Button text: Adjust color, font size */
.custom-close-button .x-btn-inner {
    color: #0585bc !important;                /* Text color */
    font-size: 14px !important;               /* Font size */
    width: 120px !important;
    height: 30px !important;
    padding-top: 7px !important;
}

/* Outer container: Rounding corners and setting overall button size */
.custom-close-button.x-btn-default-small {
    border-radius: 20px !important;           /* Rounded corners */
    border-color: #0585bc !important;
    border-width: 2px !important;
    padding: 0px 0px 0px 0px !important;
}


.custom-alert.x-btn-default-small {
    border-radius: 20px !important;           /* Rounded corners */
    border-color: #0585bc !important;
    border-width: 2px !important;
    padding: 0px 0px 0px 0px !important;
}

/* ↑ ONLINK widget */

.x-btn-save {
    background-image: url("../images/ic_save.png");
    background-repeat: no-repeat;
    background-position: center;
}

.x-btn-find {
    background-image: url("../images/ic_btn_find.png");
    background-repeat: no-repeat;
    background-position: center;
}

.x-btn-asc {
    background-image: url("../images/order_asc.png") !important;
    background-repeat: no-repeat;
    background-position: center;
}

.x-btn-desc {
    background-image: url("../images/order_desc.png") !important;
    background-repeat: no-repeat;
    background-position: center;
}

.x-form-text {
    height: 30px;
    background-image: none;
}

.x-dataview-item {
    position: relative;
    margin-top: 1px;
    padding-bottom: 10px;
}

.x-column-header {
    border-right: 1px solid #B2E0FF;
    background-color: #EDF9FF;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #EDF9FF), color-stop(100%, #B2E0FF));
    background-image: -webkit-linear-gradient(top, #EDF9FF, #B2E0FF);
    background-image: -moz-linear-gradient(top, #EDF9FF, #B2E0FF);
    background-image: -o-linear-gradient(top, #EDF9FF, #B2E0FF);
    background-image: linear-gradient(top, #EDF9FF, #B2E0FF);
}

.x-nlg .x-grid-row .x-grid-cell-special,
.x-grid-row .x-grid-cell-special {
    background-image: none;
    background-color: #EDF9FF;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #EDF9FF), color-stop(100%, #B2E0FF));
    background-image: -webkit-linear-gradient(top, #EDF9FF, #B2E0FF);
    background-image: -moz-linear-gradient(top, #EDF9FF, #B2E0FF);
    background-image: -o-linear-gradient(top, #EDF9FF, #B2E0FF);
    background-image: linear-gradient(top, #EDF9FF, #B2E0FF);
}

.x-nlg .x-grid-header-ct, .x-nlg .x-column-header {
    background: #EDF9FF;
}

.x-grid-with-row-lines .x-grid-cell {
    border-width: 1px 0;
    border-top-color: #EDF9FF;
    border-bottom-color: #B2E0FF;
}

.x-grid-row-alt .x-grid-td {
    background-color: #EDF9FF;
}

.x-grid-with-col-lines .x-grid-cell {
    border-right: 1px solid #E5EBFF;
}

.x-grid-row-over .x-grid-td {
    border-color: #b0ccf2 !important;
    background-image: none;
    background-color: #e4f3ff !important;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6)) !important;
    background-image: -webkit-linear-gradient(top, #e4f3ff, #d9edff 48%, #c2d8f2 52%, #c6dcf6) !important;
    background-image: -moz-linear-gradient(top, #e4f3ff, #d9edff 48%, #c2d8f2 52%, #c6dcf6) !important;
    background-image: -o-linear-gradient(top, #e4f3ff, #d9edff 48%, #c2d8f2 52%, #c6dcf6) !important;
    background-image: linear-gradient(top, #e4f3ff, #d9edff 48%, #c2d8f2 52%, #c6dcf6) !important;
}

.x-btn-default-toolbar-small,
.x-nbr .x-btn-default-toolbar-small {
    background-color: #FFF;
    border: 1px solid #B2E0FF !important;
}

.x-btn-default-toolbar-small-over,
.x-nbr .x-btn-default-toolbar-small-over {
    border-color: #b0ccf2 !important;
    background-image: none;
    background-color: #e4f3ff !important;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6)) !important;
    background-image: -webkit-linear-gradient(top, #e4f3ff, #d9edff 48%, #c2d8f2 52%, #c6dcf6) !important;
    background-image: -moz-linear-gradient(top, #e4f3ff, #d9edff 48%, #c2d8f2 52%, #c6dcf6) !important;
    background-image: -o-linear-gradient(top, #e4f3ff, #d9edff 48%, #c2d8f2 52%, #c6dcf6) !important;
    background-image: linear-gradient(top, #e4f3ff, #d9edff 48%, #c2d8f2 52%, #c6dcf6) !important;
}

.x-window-default {
    background-color: #f7fbff;
}

.x-message-box .x-window-body {
    background-color: #fff;
}

.x-nlg .x-tab-bar-default-top,
.x-tab-bar-default {
    background-color: #FFF;
    border-color: #B2E0FF;
    background-image: none;
}

.x-tab-bar-strip-default {
    background-color: #fff;
    border: none;
    border-top: 1px solid #B2E0FF;
}

.x-nlg .x-tab-default-top,
.x-tab-default {
    border-color: #E8E9EB;
    border-bottom: none;
    background-color: #EDF9FF;
    background-image: none !important;
}

.x-tab-default-active .x-tab-inner {
    color: #666;
}

.x-tab-default .x-tab-inner {
    color: #666;
}

.x-nlg .x-tab-default-top-active,
.x-tab-default-active {
    border-color: #B2E0FF;
    border-bottom: none;
    background-color: #fff;
    background-image: none !important;
}

.x-nlg .x-panel-header-default-top,
.x-window-header-default-top,
.x-window-header-default,
.x-panel-header-default {
    background: #f7fbff !important;
    white-space: nowrap;
    border: none;
}

.x-nlg .x-toolbar-default,
.x-toolbar-default {
    border: none !important;
    background-image: none !important;
    background-color: #FAFAFA;
}

.x-form-cb-label {
    vertical-align: top;
}

.x-toolbar-separator-horizontal {
    border-color: #B2E0FF;
    border-left-color: #B2E0FF !important;
    border-right-color: #FFF;
}

.x-toolbar .x-toolbar-text {
    color: #0D9ADD;
}

.x-item-disabled .x-tbar-page-first {
    background-image: url(../images/page-first-disabled.gif);
}

.x-tbar-page-first {
    background-image: url(../images/page-first.gif);
}

.x-item-disabled .x-tbar-page-prev {
    background-image: url(../images/page-prev-disabled.gif);
}

.x-tbar-page-prev {
    background-image: url(../images/page-prev.gif);
}

.x-tbar-page-next {
    background-image: url(../images/page-next.gif);
}

.x-item-disabled .x-tbar-page-next {
    background-image: url(../images/page-next-disabled.gif);
}

.x-tbar-page-last {
    background-image: url(../images/page-last.gif);
}

.x-item-disabled .x-tbar-page-last {
    background-image: url(../images/page-last-disabled.gif);
}

.x-toolbar-lower {
    border-bottom: 1px solid #B2E0FF !important;
    background-color: #FFF;
}

.x-fit-item {
    overflow-x: hidden !important;
}

.md-compare-view .x-fit-item {
    overflow-x: visible;
}

.x-panel-body-default {
    background: white;
    border: none;
    color: black;
    font-size: normal;
    overflow: hidden !important;
}

.x-window-header-text-container-default,
.x-panel-header-text-container-default {
    color: #000;
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 2.5em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding-top: 5px;
    white-space: nowrap;
    line-height: 30px;
    height: 40px;
}

.x-btn-default-toolbar-medium {
    text-decoration: underline;
}

.x-field-label-cell {
    vertical-align: middle !important;
}

.x-grid-header-ct {
    border: 1px solid #B2E0FF;
}

.x-resizable-handle {
    background-color: #B2E0FF;
}

.x-window-body-default {
    border: none;
    background: #f7fbff;
}

.x-panel-body-default {
    background-color: #FAFAFA;
}

.x-border-layout-ct {
    background-color: #FAFAFA;
}

.x-window-header-default .x-tool-img {
    background-color: transparent !important;
}

/*
* II chapter. Custom style
*/
.x-map-collapsed {
    display: none !important;
}

/*Error pop-up display style*/
.mdp-error-display {
    display: block;
    width: 40%;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    top: 6px;
    left: 30%;
    right: 30%;
    z-index: 99999;
}

.mdp-error-img {
    background-image: url('/metadata-discovery/images/ic_warning.png');
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.mdp-error-item {
    display: block;
    background-color: rgba(253, 202, 202, 0.85);
    color: #000;
    border: 1px solid #EE5D5D;
    overflow-x: hidden;
    text-overflow: ellipsis;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    white-space: nowrap;
    padding-right: 10px;
    padding-left: 5px;
    margin-bottom: 3px;
}

/*Upper panel*/
.md-searchSettings-panel {
    position: fixed !important;
    z-index: 1000;
    background-color: #F7FBFF;
}

.md-searchSettings-panel > .x-panel-body-default{
    border: 1px solid #B2E0FF;
}

.md-open-data {
    float: right;
}

.md-searchSettings-left {
    overflow-y: auto !important;
}

.md-paging-toolbar {
    background-color: #f7fbff !important;
}

.md-paging-toolbar .x-form-text {
    color: #000;
    border-color: #B2E0FF;
    font-weight: bold;
    font-size: 14px;
}

.md-paging-toolbar .x-toolbar-text {
    color: #000 !important;
}

/*Upper panel left side*/
.md-link-advanced {
    position: absolute;
    bottom: 5px;
    white-space: nowrap;
}

.action-label-btn {
    color: #0585bc;
    font-weight: bold;
    font-size: 14px;
}

.action-label-btn:hover {
    color: #023F57;
    cursor: pointer;
}

.md-btn-advanced-text, .md-btn-savedSearches-text {
    float: right;
}

.mdp-userActive-false .mdp-btn-save {
    display: none;
}

.mdp-userActive-false .md-btn-savedSearches {
    display: none;
}

.mdp-flag-ltu {
    width: 31px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    background-image: url('../images/flags/ltu.png');
    margin: 0px 0px 0px 5px;
}

.mdp-flag-eu {
    width: 31px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    background-image: url('../images/flags/eu.png');
    margin: 0px 0px 0px 5px;
}

.mdp-search-input .x-form-text {
    background-image: none;
    -moz-box-shadow: inset 0px 2px 10px -3px rgba(181,184,200,1);
    -webkit-box-shadow: inset 0px 2px 10px -3px rgba(181,184,200,1);
    box-shadow: inset 0px 2px 10px -3px rgba(181,184,200,1);
    border: 1px solid #b5b8c8;
}

/*Criteria area style*/
.criteria-panel-header {
    color: #0585bc;
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 2em;
    padding-top: 25px;
    white-space: nowrap;
    line-height: 30px;
    height: 40px;
}

.active-search-criteria-label {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.criteria-grid-view {
    padding-top: 5px;
    background-color: #FAFAFA;
}

.criteria-item {
    white-space: nowrap;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 370px;
    margin: 0px 5px 5px -5px;
    padding-top: 1px;
}

.criteria-item-remove, .compare-item-remove {
    width: 16px;
    height: 16px;
    background: url('../images/ic_delete.png') no-repeat center ;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    padding-left: 25px;
}

.criteria-item-remove:hover, .compare-item-remove:hover {
    cursor: pointer;
    background: url('../images/ic_delete_hover.png') no-repeat center ;
}

.md-compare-view table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.md-compare-view table td {
    padding-bottom: 5px;
}

.compare-panel-header {
    color: #04408c;
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 15px;
    font-weight: bold;
    padding-top: 5px;
    white-space: nowrap;
    line-height: 30px;
    height: 40px;
}

.compare-item {
    display: inline-block;
    margin-left: -6px;
}

.compare-grid-view {
    margin-bottom: -1px;
}

.compare-view-item {
    white-space: nowrap;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 250px;
    margin: 0px 5px 5px 5px;
}

/*Upper panel right side*/
.mdp-locationSearch-input {
    position: absolute;
    z-index: 18001;
    right: 5px;
    top: 5px;
}

.map .container {
    position: absolute;
}

.md-mapCont-tools {
    position: absolute;
    background: transparent;
    border: none;
    right: 5px;
    top: 40px;
    z-index: 18000;
}

/*Lower panel style*/
/*Results area style*/
.mdp-results-view {
    background-color: #f7fbff;
    overflow: hidden;
}

.md-container-noResults {
    color: rgb(240, 109, 109);
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    background: #FFF;
}

.mdp-results-view .x-form-item, .mdp-results-view .x-form-field {
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 11px;
    font-weight: normal;
}

.md-action-link {
    text-decoration: none;
    padding: 2px 30px 2px 0px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    color: #0585bc;
    font-size: 13px;
}

.md-action-link:hover {
    cursor: pointer;
    color: #023F57;
    text-decoration: none;
}

.md-results-actions {
    margin-top: 10px;
}

.mdp-resultsView-toolbar {
    background-color: #f7fbff !important;
}

.results-item {
    margin-top: -1px;
}

.results-item.doc-count-more {
    background-color: #fff;
    border-top: 1px solid #B2E0FF;
    border-top-left-radius: 6px;
    -webkit-border-top-left-radius: 6px;
    -moz-border-top-left-radius: 6px;
    -ms-border-top-left-radius: 6px;
    -o-border-top-left-radius: 6px;
}

.results-item-header {
    transform: rotate(90deg);
    transform-origin: center;
    -ms-transform: rotate(90deg);
    -ms-transform-origin: center;
    -moz-transform: rotate(90deg);
    -moz-transform-origin: center;
    -webkit-transform: rotate(90deg);
    -webkit-transform-origin: center;
    -o-transform: rotate(90deg);
    -o-transform-origin: center;
    position: relative;
    white-space: nowrap;
    top: 15px;
    left: 2px;
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 15px;
    font-weight: bold;
}

.x-ie8m .results-item-header {
    transform: none !important;
    -ms-transform: none !important;
    writing-mode: tb-lr;
    position: absolute;
    left: 5px;
}

.doc-count-more .md-group-columns {
    position: relative;
    width: 100%;
    height: 100%;
}

.md-group-columns .frame-left {
    background-color: #e3ebf3;
    border-bottom-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-bottom-left-radius: 6px;
    -ms-border-bottom-left-radius: 6px;
    -o-border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    -webkit-border-top-left-radius: 6px;
    -moz-border-top-left-radius: 6px;
    -ms-border-top-left-radius: 6px;
    -o-border-top-left-radius: 6px;
    white-space: nowrap;
    width: 27px;
    height: 100%;
    position: absolute;
    border: 1px solid #c5e3f1;
    text-overflow: ellipsis;
    overflow: hidden;
}

.doc-count-more .md-group-content {
    margin-left: 25px;
}

.doc-count-1 .frame-left {
    display: none;
}

.results-item.doc-count-1 .results-item-header {
    display: none;
}

.document-item-value.result-name {
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 16px;
    color: #0585bc;
    font-weight: bold;
    white-space: normal;
    padding-bottom: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.results-item.doc-count-1.collapsed .results-item-data {
    display: block;
}

.results-item.doc-count-1.collapsed .results-item-header,
.collapsed .x-dataview-item .results-item .results-item-data,
.results-item.collapsed .results-item-data {
    display: none;
}

.collapsed .x-dataview-item .results-item .results-item-header,
.results-item.collapsed .results-item-header {
    display: block;
    border-bottom-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-bottom-left-radius: 6px;
    -ms-border-bottom-left-radius: 6px;
    -o-border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-bottom-right-radius: 6px;
    -ms-border-bottom-right-radius: 6px;
    -o-border-bottom-right-radius: 6px;
}

.doc-count-more .results-item-data {
    margin-left: 27px;
}

/*Document style*/
.document-item {
    background: white;
    padding: 10px;
    width: 100%;
}

.document-item-header {
    font-weight: bolder;
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 13px;
    font-weight: bolder;
    white-space: nowrap;
    color: #7b7b7b;
}

.document-item-value {
    font-family: 'PT Sans Regular', sans-serif;
    font-size: 13px;
    color: #7b7b7b;
    padding-right: 15px
}

.document-value-service {
    text-transform: uppercase;
    color: #7b7b7b;
    padding-right: 15px
}

.rate-values > .document-item-value {
    padding-right: 0;
}

.mdp-doc-content {
    position: relative;
}

/*Rating functionality style*/
.mdp-rating {
    height: 16px;
    display: inline-block;
    width: 80px;
    vertical-align: bottom;
    padding-left: 15px;
}

.mdp-rate-msg {
    color: #CA0D0D;
    display: inline-block;
    position: absolute;
    padding-left: 17px;
}

.mdp-rating-empty {
    overflow: hidden;
    position: absolute;
    width: 80px;
    height: 16px;
    background: url('../images/star.png') 0 -16px;
    background-repeat: repeat-x;
    z-index: 1;
}

.mdp-rating-empty:hover {
    z-index: 3;
    cursor: pointer;
}

.mdp-rating-input {
    display: none;
}

.mdp-rating-empty:hover .rating-star:hover,
.mdp-rating-empty:hover .rating-star:hover ~ .rating-star,
.mdp-rating-input:checked ~ .rating-star {
    background-position: 0 0;
    z-index: 3;
    cursor: pointer;
}

.mdp-rating-filled {
    position: absolute;
    height: 16px;
    background: url('../images/star.png') 0 0px;
    background-repeat: repeat-x;
    z-index: 1;
}

.mdp-rating-filled:hover {
    z-index: 0;
}

.mdp-rating-empty:hover .rating-star {
    float: right;
    display: block;
    width: 16px;
    height: 16px;
    background: url('../images/star.png') 0 -16px;
    z-index: 3;
    cursor: pointer;
}

/*Document tabs style*/
.results-item .tabs {
    display: flex;
    gap: 5px;
    margin-left: 46px;
    margin-top: 10px;
}

.tabsflag {
    position: absolute;
    display: flex;
    gap: 5px;
    margin-left: 20px;
    margin-top: 20px;
}

.document-item-value.result-name {
    padding: 1px 0 0 5px;
}

.results-item .mdp-doc-content {
    padding: 10px 0 10px 10px;
}

.results-item .mdp-doc-description {
    padding: 10px 0 10px 10px;
}

.results-item .md-results-actions {
    padding-left: 10px;
}

.results-item .tabs li {
    display: block;
    padding-bottom: 4px;
}

.results-item .tabs li + li {
    margin-top: -1px;
}

.results-item .tabs li span {
    border-top-left-radius: 6px;
    -webkit-border-top-left-radius: 6px;
    -moz-border-top-left-radius: 6px;
    -ms-border-top-left-radius: 6px;
    -o-border-top-left-radius: 6px;
    color: black;
    background-color: #B2E0FF;
    display: block;
    width: 34px;
    height: 24px;
    cursor: pointer;
    background-size: contain; /* Ensure the background image fits the span */
    background-repeat: no-repeat;
    background-position: center; /* Center the background image */
}

.results-item .tabs li span:hover {
    background-color: #DBFFFF;
    border-right: none;
}




.results-item .tabsflag li {
    display: block;
    padding-bottom: 4px;
}

.results-item .tabsflag li + li {
    margin-top: -1px;
}

.results-item .tabsflag li span {
    border-top-left-radius: 6px;
    -webkit-border-top-left-radius: 6px;
    -moz-border-top-left-radius: 6px;
    -ms-border-top-left-radius: 6px;
    -o-border-top-left-radius: 6px;
    color: black;
    background-color: #B2E0FF;
    display: block;
    width: 34px;
    height: 24px;
    cursor: pointer;
}

.results-item .tabsflag li span:hover {
    background-color: #DBFFFF;
    border-right: none;
}



.tabbed-area {
    background-color: #FAFAFA;
    position: relative;
    margin: -1px 0px 0px 0px;
    border-left: 1px solid #B2E0FF;
    border-right: 1px solid #B2E0FF;
}

.tabbed-area:last-item {
    border-bottom-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-bottom-right-radius: 6px;
    -ms-border-bottom-right-radius: 6px;
    -o-border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-bottom-left-radius: 6px;
    -ms-border-bottom-left-radius: 6px;
    -o-border-bottom-left-radius: 6px;
}

.results-document-show.profile-atom-1-0,
.results-document-show.profile-atom-1-0-entry {
    background: url('../images/flags/atom.png') no-repeat;
}

.results-document-show.profile-inspire-iso-19119,
.results-document-show.profile-inspire-iso-19115 {
    background: url('../images/flags/inspire.png') no-repeat;
}

.results-document-show.profile-nmdp-iso-19119,
.results-document-show.profile-nmdp-iso-19115 {
    background: url('../images/flags/nmdp.png') no-repeat;
}

/*
* Atvirų duomenų ikonėlė.
*/
.open-data {
    background: url('../images/open_data.png') no-repeat;
    background-color: #ffffff !important;
}

/*
* Kitos paslaugos (ikonėlė).
*/
.other-services {
    background: url('../images/other-services.png') no-repeat;
    background-color: #ffffff !important;
}

/*
* Atsisiuntimo paslaugų ikonėlė.
*/
.atsisiuntimas-ico {
    background: url('../images/Atsisiuntimas_ico.png') no-repeat;
    background-color: #ffffff !important;
}

/*
* Peržiūros paslaugų ikonėlė.
*/
.perziura-ico {
    background: url('../images/Perziura_ico.png') no-repeat;
    background-color: #ffffff !important;
}

.tabbed-area.profile-atom-1-0 .results-document-show.profile-atom-1-0,
.tabbed-area.profile-atom-1-0-entry .results-document-show.profile-atom-1-0-entry,
.tabbed-area.profile-inspire-iso-19119 .results-document-show.profile-inspire-iso-19119,
.tabbed-area.profile-inspire-iso-19115 .results-document-show.profile-inspire-iso-19115,
.tabbed-area.profile-nmdp-iso-19119 .results-document-show.profile-nmdp-iso-19119,
.tabbed-area.profile-nmdp-iso-19115 .results-document-show.profile-nmdp-iso-19115 {
    background-color: #fff;
    border-right: none;
}

.tabbed-area .document-item {
    display: none;
}

.tabbed-area.profile-atom-1-0 .document-item.profile-atom-1-0,
.tabbed-area.profile-atom-1-0-entry .document-item.profile-atom-1-0-entry,
.tabbed-area.profile-inspire-iso-19119 .document-item.profile-inspire-iso-19119,
.tabbed-area.profile-inspire-iso-19115 .document-item.profile-inspire-iso-19115,
.tabbed-area.profile-nmdp-iso-19119 .document-item.profile-nmdp-iso-19119,
.tabbed-area.profile-nmdp-iso-19115 .document-item.profile-nmdp-iso-19115 {
    display: block;
    border: none;
    border-top: 1px solid #B2E0FF;
    border-bottom: 1px solid #B2E0FF;
}

.group:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.box-wrap {
    position: relative;
    min-height: 250px;
}

/*Footer style*/
.md-footer {
    height: 20px;
    width: 100%;
    display: block;
    white-space: nowrap;
}

/* Remove defaults */
.x-panel-header-default-top {
    box-shadow: none;
}

/* search settings panel */
.md-searchSettings-panel .md-panel-header-title-wrapper {
    height: 30px;
    border-bottom: 1px solid #0585BC;
}

.md-searchSettings-panel .md-panel-header-title-wrapper .md-panel-header-title {
    background:#F7FBFF;
    padding:0 40px;
}

/* advanced settings panel - toolbar*/
.advancedSettingsPanel .x-btn-default-toolbar-small .x-btn-inner {
    color: #0585BC;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 10px;
}

.advancedSettingsPanel .x-btn-default-toolbar-small {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    border: 2px solid #0585BC !important;
    padding: 3px 0;
    width: 25px;
    height: 25px;
    background: #e7f4fa;

    /* Fade effect */
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    overflow: hidden;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: color, background-color;
    transition-property: color, background-color;
}

.advancedSettingsPanel .x-btn-default-toolbar-small-over {
    background: #0585BC !important;
    color: #F7FBFF !important;
}

.advancedSettingsPanel .x-btn-default-toolbar-small-pressed {
    background: #0585BC !important;
}

.advancedSettingsPanel .x-btn-default-toolbar-small-pressed .x-btn-inner {
    color: #F7FBFF !important;
}

.advancedSettingsPanel .x-btn-default-toolbar-small-over .x-btn-inner {
    color: #F7FBFF !important;
}

.advancedSettingsPanel .x-toolbar-more-icon {
    margin-left: 5px;
}

.advancedSettingsPanel .x-form-text {
    height: 22px;
}

/*Advanced search setting window*/

.md-advancedCategories-panel .x-nlg .x-tab-default-top,
.x-tab-default {
    border-color: #d6e9f2;
    background: #e7f4fa;
}

.md-advancedCategories-panel .x-tab-default-top, .x-tab-default-left, .x-tab-default-right {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
}

.md-advancedCategories-panel .x-nlg .x-tab-default-top-active,
.x-tab-default-active {
    background: #fff;
    border: 1px solid #d6e9f2;
    border-bottom-color: #fff;
}


.md-advancedCategories-panel .x-panel-body-default {
    border: 1px solid #d6e9f2;
    background: #fff;
}

.md-advancedCategories-panel .x-nlg .x-tab-bar-default-top, .md-advancedCategories-panel .x-tab-bar-default {
    border: none;
    background: #f7fbff;
}

.md-advancedCategories-panel .x-tab-bar-strip {
    display: none;
}

.md-advancedCategories-panel .x-tab-bar-body-default-horizontal {
    height: inherit;
}
.md-advancedCategories-panel .x-tabpanel-bar {
    border: 1px solid #d6e9f2;
}

.md-advanced-lang-panel {
    background: #e7f4fa;
}

.categories-checkbox .x-form-cb-label-after {
    display: inline-block;
    padding-left: 17px;
}
.categories-checkbox .x-form-cb {
    position: absolute;
}

.test {
    margin-bottom: 40px;
}