/* Geoportal viewer styles */

/* Global */
.border-none{
    border:0
}
.collapseCaret:after {
    display: inline-block;
    display: inline-block;
    font: normal normal normal 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transform: rotate(180deg) ;
    transition: all linear 0.25s;
    margin-bottom: .2rem
}
.collapseCaret.collapsed:after {
    transform: rotate(0deg) ;
}

/* Menu */
#main-menu > .nav-item > a{
    color:#0065a2;
    margin:.6rem 0
}
li.dropdown-item {
    padding:0;
}
.navbar-light .navbar-nav .nav-link{
    color:#0065a2;
    padding-top:.3rem;
    padding-bottom:.3rem
}

/* Cards */
.card-footer{
    border-top:0;
    background-color:#fff
}

/* Title */
#title{
    width:100%
}

/* Download Details */
#download-view-options-accordion label {
    font-weight:bold;
    margin-bottom:.1rem;
}
.metadata-content{
    margin-bottom:15px;
}

.modal-view-leaflet-map {
    height: 400px;
}

#serviceMetadataModal label {
    font-weight: bold;
    margin-bottom: .1rem;
}

/**/

/*****/
.width-250 {
    width: 250px
}

.list-style-none {
    list-style: none;
}

.home-panel-body-fixed-height {
    height: 90px;
    overflow: hidden;
}
.disclaimer-title {
    font-size: 1.8em;
    /*margin-top: 12px;*/
    margin-left: 20px;
}
.disclaimer-description {
    text-align: justify;
    margin-top: 10px;
    width: 85%;
}

.hb4 {
    background-color: #F0F0F0;
    padding: 0px;
    margin-bottom: 10px;
}

/*.nav-menu {
    padding-left: 0;
    margin-bottom: 0;
    list-style:none
}
.nav-menu>li {
    position: relative;
    display:block
}
.nav-menu>li>a {
    position: relative;
    display: block;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-right: 10px;
    font-size: 1em;
    line-height: 2em
}
.nav-menu>li>a:focus,
.nav-menu>li>a:hover {
    text-decoration: none;
    background-color: #0065a2;
    border:1px solid #0065a2;
    color: #fff
}
.nav-menu>li.disabled>a {
    color: #777
}
.nav-menu>li.disabled>a:focus,
.nav-menu>li.disabled>a:hover {
    color: #777;
    text-decoration: none;
    cursor: not-allowed;
    background-color: transparent
}
.nav-menu.open>a,
.nav-menu.open>a:focus,
.nav-menu.open>a:hover {
    background-color: #0065a2;
    color :#fff
}
.nav-menu.nav-menu-divider {
    height: 1px;
    margin: 9px;
    overflow: hidden;
    background-color: #e5e5e5
}

.nav-menu-pills>li {
    float:left;
}
.nav-menu-pills>li>a {
    border-radius: 3px;
    border:1px solid #0065a2;
    color: #0065a2;
    font-weight:bold
}
.nav-menu-pills>li+li {
    margin-left: 2px
}
.nav-menu-pills>li.active>a,
.nav-menu-pills>li.active>a:focus,
.nav-menu-pills>li.active>a:hover {
    color: #fff;
    background-color: #0065a2;
    border:1px solid #0065a2;
}
.nav-menu-pills>li>a.highlighted{
    color: #fff;
    background-color: #0065a2;
}
.dropdown-submenu>a.highlighted{
    background-color: #f5f5f5;
}

.nav-menu.navbar-collapse{
    background-color: #f0f0f0;
    border: 0px;
    padding-left: 0px;
    padding-right: 0px;
}
.navbar-toggle.icon-bar.ib1 {
    background-color: #0065a2
}
.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #000;
    margin-top: 5px;
    margin-right: -10px;
}
header ul {
    display: block;
}*/
/*--*/

/* filter switch */
.onoffswitch {
    position: relative;
    /*width: 73px;*/
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 1px solid #0065A2; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #0065A2; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #FFFFFF; color: #0065A2;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 22px; margin: 4px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 39px;
    border: 1px solid #0065A2; border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
.onoffswitch-checkbox:checked {
    background: #0065A2;
}

.maincontainer-line-height {
    line-height: 1.3em;
}

.theme-title-header {
    font-weight: 100;
    font-size: 2em;
    margin-bottom: 25px;
    margin-top: 25px;
}

.theme-home-title {
    font-size: 1.8em;
}
.theme-home-subtitle {
    font-size: 1.6em;
    line-height: initial;
}
.theme-home-line-height-2em {
    line-height: 2em;
}

.theme-leaflet-map {
    height: 490px;
}
.theme-leaflet-info {
    padding: 6px 8px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.theme-leaflet-info-icon {
    width: 8px;
    height: 12px;
    padding-right: 5px;
    margin-right: 5px;
}

.theme-leaflet-info h4 {
    margin: 0 0 5px;
    color: #777;
}

.theme-icon-sm {
    vertical-align: middle;
    border: unset;
    width: 15px;
    height: 15px;
}
.theme-icon-md {
    vertical-align: middle;
    border: unset;
    width: 30px;
    height: 30px;
}
.theme-icon-lg {
    vertical-align: middle;
    border: unset;
    width: 60px;
    height: 60px;
}
.country-icon-sm {
    vertical-align: middle;
    border: unset;
    width: 15px;
    height: 15px;
}
.country-icon-md {
    vertical-align: middle;
    border: unset;
    width: 20px;
    height: 20px;
}

.results-header-title {
    font-weight: 100;
    font-size: 2em;
}
.results-header-subtitle {
    font-size: 1.4rem;
}

/* display as list/grid */
.item.list-group-item {
    float: none;
    width: 100%;
    background-color: #fff;
    border: 0px;
    padding: 0px 15px 0px 15px;
    margin-bottom: 5px;
}
.item.list-group-item .panel {
    margin-bottom: 0px;
}
.item .item-title {
    font-weight: bold;
}
.item.grid-group-item .item-definition {
    /*display: inline-block;*/
}
.itemlist-noborder.list-group-item {
    border: 0px solid rgba(0,0,0,.125);
}

/* styles for '...' */
.item.grid-group-item .item-definition-ellipsis-new {
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative;
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 2.4em;
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: left;
    /* place for '...' */
    margin-right: 1em;
    padding-right: 1em;
}
/* create the ... */
.item.grid-group-item .item-definition-ellipsis-new:before {
    /* points in the end */
    content: '...';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of block */
    right: 0;
    bottom: 0;
}
/* hide ... if we have text, which is less than or equal to max lines */
.item.grid-group-item .item-definition-ellipsis-new:after {
    /* points in the end */
    content: '';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of text */
    right: 5em;
    /* set width and height */
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    /* bg color = bg color under block */
    background: white;
}

/*.item.grid-group-item .item-definition-ellipsis {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}*/
.item.list-group-item .item-definition {
    display: none;
}

.item .panel.disabled {
    background-color: #eee;
}

/*.item.list-group-item:nth-of-type(odd) {
    background: #eeeeee;
}*/

.item.list-group-item:before, .item.list-group-item:after {
    display: table;
    content: " ";
}

.item.list-group-item img {
    float: left;
}
.item.list-group-item:after {
    clear: both;
}
.list-group-item-text {
    margin: 0 0 11px;
}

/* Ajax loaders */
.loader{
    margin:15px
}
.load-stats{
    text-align: center;
    margin:auto;
    display:none;
}
.load-stats i{
    font-size: 24px;
    vertical-align: middle;
}

.no-data-msg {
    display: none;
}

.display-disabled
{
    pointer-events: none;
}
/* Results search boxes */
.searchBoxInput {
    /*background-image: url('/css/searchicon.png');*/ /* Add a search icon to input */
    /*background-position: 10px 12px;*/ /* Position the search icon */
    /*background-repeat: no-repeat;*/ /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    /*font-size: 16px;*/ /* Increase font-size */
    /*padding: 12px 20px 12px 40px;*/ /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}
.searchBoxList {
    /* Remove default list styling */
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.searchBoxList li a {
    /*border: 1px solid #fff;  Add a border to all links */
    margin-top: -1px; /* Prevent double borders */
    /*background-color: #f6f6f6;*/ /* Grey background color */
    /*padding: 12px;*/ /* Add some padding */
    text-decoration: none; /* Remove default text underline */
    /*font-size: 18px;*/ /* Increase the font-size */
    color: black; /* Add a black text color */
    /*display: block;  Make it into a block element to fill the whole list */
}
.searchBoxList li a:hover:not(.header) {
    background-color: #eee; /* Add a hover effect to all links, except for headers */
}

.resultsactive.list-group-item.active {
    background-color: #eee;
    border-color: #eee;
}

/* translation combobox */
.langOptTemplate {
    /* used in JS to identify the template elem to be cloned */
}

a.icon-box-4:hover {
    background-color: #0065A2;
    text-decoration: none;
}
a.icon-box-4 a:hover {
    text-decoration: none;
}
a.icon-box-4, a.icon-box-4 h2, a.icon-box-4 p, a.icon-box-4 i, a.icon-box-4 svg, a.icon-box-4 span {
    transition: all 0.3s ease-in-out;
}
a.icon-box-4:hover h2, a.icon-box-4:hover h5,a.icon-box-4:hover p, a.icon-box-4:hover i, a.icon-box-4:hover svg, a.icon-box-4:hover span {
    color: #fff !important;
}
.icon-box-4 {
    position: relative;
    overflow: hidden;
}

.icon-box-4:after {
    display: inline-block;
    position: absolute;
    background-color: transparent;
    /*z-index: 15;*/
    transition: opacity 0.3s ease-in-out, margin 0.3s ease-in-out;
    opacity: 0;
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 100%;
    margin-top: -51%;
    border-left: 500px solid transparent;
    border-top: 500px solid #fff;
    transform: scale(2);
}

.icon-box-4:hover:after {
    opacity: 0.06;
    margin-left: 0;
}

/*cards MR yellor*/
a.icon-box-yellow:hover {
    background-color: #fff;
    text-decoration: none;
}
a.icon-box-yellow a:hover {
    text-decoration: none;
}
a.icon-box-yellow, a.icon-box-yellow h2, a.icon-box-yellow p, a.icon-box-yellow i, a.icon-box-yellow svg, a.icon-box-yellow span {
    transition: all 0.3s ease-in-out;
}
a.icon-box-yellow:hover h2, a.icon-box-yellow:hover h5,a.icon-box-yellow:hover p, a.icon-box-yellow:hover i, a.icon-box-yellow:hover svg, a.icon-box-yellow:hover span {
    color: #fff !important;
}
.icon-box-yellow {
    position: relative;
    overflow: hidden;
}

.icon-box-yellow:after {
    display: inline-block;
    position: absolute;
    background-color: transparent;
    /*z-index: 15;*/
    transition: opacity 0.3s ease-in-out, margin 0.3s ease-in-out;
    opacity: 0;
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 100%;
    margin-top: -51%;
    border-left: 500px solid transparent;
    border-top: 500px solid #fff;
    transform: scale(2);
}

.icon-box-yellow:hover:after {
    opacity: 0.06;
    margin-left: 0;
}

.inspire-blue{
    color: #0065a2;
}
.btn-inspire-blue {
    color: #fff;
    background-color: #0065a2;
}

/* feature type selection - wizard */
/*
.gp-carousel-control-prev-icon,
.gp-carousel-control-next-icon {
  height: 100px;
  width: 100px;
  background-image: none;
}
.gp-carousel-control-next-icon:after
{
  content: '>';
  font-size: 55px;
  color: blue;
}
.gp-carousel-control-prev-icon:after {
  content: '<';
  font-size: 55px;
  color: blue;
}
*/
.inspire-gp-callout {
    padding: 20px;
    margin: 0 0 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }
    p:last-child {
        margin-bottom: 0;
    }
    code {
        border-radius: 3px;
    }
    & + .bs-callout {
        margin-top: -5px;
    }
}
@each $name,$color in (default,#777),(primary,#428bca),(success,#5cb85c),(danger,#d9534f),(warning,#f0ad4e),(info,#5bc0de) {
    .inspire-gp-callout-#{$name} {
        border-left-color: $color;
        h4 {
            color: $color;
        }
    }
}
.inspire-gp-callout-primary{
    border-left-color: #0065a2;
}
.alphabetbtn {
    width: 39px;
    height: 26px; 
    margin-right: 3px;
    font-size: 12px;
    padding: 3px;
    margin-bottom: 2px;
}
.border-primary {
    border-color: #0065a2 !important;
}

/*start stepwizard*/
.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard {
    /*display: table;*/
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-order: 0;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}
/*circle button for wizzard*/
.stepwizard-btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}}

/* feature type catalogue - function Show More */
.ft-description {
    font-size: 14px;
    line-height: 1.5;
}

/*
.ft-description span.collapse:not(.show) {
    height: 20px !important;
    overflow: hidden;
  
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.ft-description span.collapsing {
    min-height: 20px !important;
}
*/

.ft-description a.collapsed:after  {
    content: '+ Read more';
}

.ft-description a:not(.collapsed):after {
    content: ' - Read less';
}
.dont-break-out {

    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;

}

.selectpickermargintop0 .bootstrap-select > .dropdown-toggle {
    margin-top: 0px;
}

.nounderline {
  text-decoration: none !important
}
.bg-ec-blue{
    background-color:#0065A2
}
.bg-ec-yellow{
    background-color:#ffd617
}

#full-download{
    display:none
}