﻿/**********************************************************
 *     app.css  *
 **********************************************************/

body {
    background-color : #f5f5f5;
}

sup {
    font-size: 100%;
}

#sectionPanelMenu {
    border: none;
    background-color: transparent;
}


.btn {
   padding: 6px 14px;
}


#panelBodySearchResult {
    font-size : 12px;
    padding-left: 5px;
    padding-right: 5px;
	line-height: 1.2em;
}
.wb-tabs, .wb-tabs.carousel-s1 figure, .wb-tabs.carousel-s2 figure {   
    font-size: 14px;
}
.FooterNote {
    display         : block;
    padding-bottom  : 10px;
    font-size       : 12px;
    text-align      : justify;
}

.FooterNote > * {
    padding-top : 10px;    
}

@media screen and (min-width: 1200px) {
    .FooterNote {
        position: absolute;
        left    : 30px;
        bottom  : 20px;
        right   : 30px;
    }
}

/*fix span cannot change to the new line properly in both empty value label (no data) and multi-line label issue*/
#SearchResult span::after {
    visibility: hidden;    
    display: block;
    content: " ";
    clear:both;
    height: 0;        
}

#panelBodyMap {
    height : 380px;
}

#panelBodyChart h2{
    margin-top: 10px;
    margin-bottom:0;
}

#panelBodySearchResult .tgl-panel {
    overflow-x : hidden;
	 line-height: normal !important;
}

#divResultReadMore {
   
	 line-height: normal !important;
	 line-height: 1.2em !important;
	
}

#divChartReadMore{
   
	 line-height: normal !important;
	 line-height: 1.2em !important;
	
}

@media (min-width: 1200px) {
    #panelBodyHrchyChartSearch {
        height : 500px;
    }

    #panelBodySearchResult {
        height : 310px;
    }
    
    #panelBodySearchResult .SearchResult-grp {
        max-height : 240px;
        overflow-y : auto;
    }
    
    :lang(en) #panelBodySearchResult .WithMoreInfo .SearchResult-grp {
        max-height : 200px;
    }
    
    :lang(fr) #panelBodySearchResult .WithMoreInfo .SearchResult-grp {
        max-height : 175px;
    }

    #panelBodyChart {
        height : 380px;
    }
}

.panelMap{
    padding: 0px !important;
    position : relative;
}  

.checkbox.PCBoundaries {
    position	: absolute;
    right		: 10px;
    top			: 0px;
    border			: solid 1px rgba(50,50,50,0.2);
    border-radius	: 5px;
    background		: #fff;
	padding	    : 5px;
    font-size : 0.9em;
}

.checkbox.PCBoundaries > div, .checkbox.PCBoundaries > input{
   margin:0 !important;
   display: inline-block;
   position: relative;
   vertical-align: middle;
}

input[type=checkbox]:not([disabled]), input[type=checkbox]:not([disabled])+label {
    cursor : pointer;
}

input[disabled]+label {
    cursor : not-allowed;
    /*font-size: 14px;*/
}

#lblChkPrevBoundaries {
    font-size: 14px;
}

.no-Bold {
    font-weight: normal !important;
}

.menu-button{
    position: absolute;
    right: 30px;
    top: 20px;
}

.line-separator{
    border-bottom:1px solid #AF3C43;
}

.glyphCursor{
    cursor:pointer !important;
}

.glyphPrintMap{
    position: relative;
    right: 30%;
    visibility:visible; /*hide print button for now*/
}

.panel-title {
    font-weight: 500;
    font-size: 16px;
}

/** SPECIFIC POPUP CSS **/
.popup.filter {
    top         : 47px; 
    left        : -30px; 
    width       : 250px;
}

.popup.links {
    font-size : 14px;

    top: 47px;
    left: 10px;
    width: 250px;
}

.popup.links .arrow {
    left: 90%;
}

.popup.links .header {
    cursor : pointer;
    font-weight:bold;
    border : none;
}

.popup.links .link {
    text-decoration : none;
    font-weight: normal;
}

.popup.links .link:visited, .popup.links .link:hover, .popup.links .link {
    color : initial;
}

.popup.links .link.header {
    font-weight: bold;
    padding-left : 14px;
}

.popup.links .popup-content {
    max-height : 600px;
}

.popup.geoattributes {
    top: 47px;
    right:30px;
}

.popup.geoattributes > .arrow {
    right: 10px;    
}

.popup.geoattributes .popup-content, .popup.definitions .popup-content {
    padding : 0;    
}

.popup.visibility {
    top         : 51px; 
    left        : -120px; 
    width       : 250px;
}

.popup.visibility .arrow {
    left        : 75%; 
}

.popup.export {
    top         : 51px; 
    left        : 30px; 
    width       : 250px;
}

.popup.export .arrow {
    left        : 75%; 
}

#panelBodyHrchyChartSearch g[disabled] {
    cursor:not-allowed;
}

/*** DataTable ***/
#panelDisplay .lblExportNote, #ilPanelDisplay .lblExportNote{
    font-size : 0.9em;
    color : red;
}

#panelDisplay #dt_container .btn, #ilPanelDisplay #il_container .btn {
    margin-top: 4px;
    text-align: center;
}

#panelDisplay #dt_container .filter > input, #ilPanelDisplay #il_container .filter > input{
    width: 90%;
}

#panelDisplay .buttons, #ilPanelDisplay .buttons {
    position: absolute;
    right: 15px;
    top: -12px;
    z-index:100;
}

#panelDisplay .buttons .glyphicon, #ilPanelDisplay .buttons .glyphicon {
    top:2px;
    padding-left:4px;    
}

#panelDisplay td.right, #ilPanelDisplay td.right {
    text-align:right;
}

#panelDisplay td.left, #ilPanelDisplay td.left {
    text-align:left;
}

#panelDisplay td.center, #ilPanelDisplay td.center {
    text-align:center;
}

/* No filter apply button for now */
#panelDisplay .buttons .btn.filter, #ilPanelDisplay .buttons .btn.filter {
    display:none; 
}

.labelColVis {   
    width: 100px !important;  
}

/* Overwrite of min-height for height of tabbed interface in mobile */
.wb-tabs > .tabpanels {
    min-height : 0px !important;
}

@media screen and (max-width: 991px) {
    #panelDisplay .wb-tabs, #ilPanelDisplay .wb-tabs  {
        top : 30px
    }

    #panelMenu .labelForIcon {
        display:none;
    }

    #panelMenu .popup.links {
        left: -170px;
    }
}

/*** Menu ***/
#panelMenu .input-group.menu-button .btn {
    border-radius : 0;
}

#panelMenu .popup .header {
    padding-top:4px;
    padding-bottom:4px;
}

#panelMenu .popup .link {
    display : block;
    font-size : 14px;
    text-decoration : none;
    padding : 4px 12px 4px 12px; 
}

#panelMenu .popup.links ul {
    list-style   : none;
    padding-left : 10px;
}

#panelMenu .popup .link:hover, #panelMenu .popup .header:hover {
    background-color: #e8e8e8;
    background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
    background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
    background-repeat: repeat-x;
}
.hiddenCaption {
    /*display: none !important;*/
   height   : 1px; 
   width    : 1px; 
   overflow : hidden; 
}
.GeosuiteTitle{
    position:relative;
    top: 10px;
    margin-top:0px;
    line-height:38px;
}

#panelBodySearch {
	/*Wet issue 2020/09*/
    padding-bottom:5px;
	font-size: 14px;
    line-height: 2.5em;
}

.panelSearch_selectVintage{
    height:40px;
}

.twitter-typeahead .tt-suggestion.tt-selectable {
   /*display:inline-block;*/
    white-space : normal;
}

.LnkMoreInfo {
    color : #0544f4;
    cursor : pointer;
}

.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}