/*top navigation */
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0px;
    overflow: hidden;
    background-color: #35434e;
    margin-bottom: 10px;
    border-radius:3px;
  }
  
  ul.topnav li {float: left; padding: 0px;}
  
  ul.topnav li a {
    display: block;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
   
  }
  
  ul.topnav li a:hover:not(.active) {background-color: #000;}
  
  ul.topnav li a.active {background-color: rgb(0, 128, 0);}
  
  ul.topnav li.right {float: right;}
  
  @media screen and (max-width: 600px) {
    ul.topnav li.right, 
    ul.topnav li {float: none;}
  }
  /* top nav ends */
hr {
    width: 100%;
    clear: both;
    margin: 6px auto 10px;
    border: solid 1px #057d3e ;
}
h1 {
    margin-bottom: 50px;
    text-align: left;
    margin: 10px;
    padding: 0px;
    font-size: 1.9em;
    line-height: 1.3em;
    font-weight: bold;
}

h2 {
    margin-top: 25px;
    text-align: left;
    font-size: 1.6em;
    line-height: 1.3em;
    display: block;
    width: 100%;

}

.container {
    padding: 10px;
    height: auto;
}

.tile {
    /*height;width: 300px (original setting)*/
    /* height & width can't be too small, since the text will blend together, when the zoom is set to 80% and smaller */
    height: 260px;
    width: 300px;

    display:block;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.8);
    transition: 0.25s ease-out;

    /* reduce margin & padding from 10x */
    margin: 7px;
    padding: 7px;
    cursor: pointer;
    border-top-left-radius: 10px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    position:relative;
    overflow:hidden;
}

.tile:hover {
    box-shadow: 0 8px 16px 0 rgba(28, 81, 124, 0.8);
    transform: scale(1.05);

}

.tile:hover .chgindex  {
    
    opacity: 1;
}

.tile:hover .material-icons-sharp.blue600 { 
    opacity:1;

}
.tile:hover .dash_enabled {
    opacity: 1;
}

.tile:hover .arrow {
    transition: 0.25s ease-out;
    opacity: 1;
}

/* 2023-10-25:  Created this for the archive buttons; make smaller, since less data is required */
.tile_archive {

    height: 100px;
    width: 220px;

    display:block;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.8);
    transition: 0.25s ease-out;
    margin: 10px;
    padding: 10px;
    cursor: pointer;
    border-top-left-radius: 10px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    position:relative;
    overflow:hidden;
    
}

.tile_archive:hover {
    box-shadow: 0 8px 16px 0 rgba(28, 81, 124, 0.8);
    transform: scale(1.05);

}

.tile_archive:hover .chgindex  {
    
    opacity: 1;
}

.tile_archive:hover .material-icons-sharp.blue600 { 
    opacity:1;

}
.tile_archive:hover .dash_enabled {
    opacity: 1;
}

.tile_archive:hover .arrow {
    transition: 0.25s ease-out;
    opacity: 1;
}



/* 2023-10-30:  Created this for the archive buttons; make smaller, since less data is required */
/* i've set the z-index to zero; with the z-index on the hover buttons to something higher, the hover buttons show properly */
.tile_key {
    height: 160px;
    width: 200px;
    display:block;
    // background-color: rgb(240, 240, 240); 
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.8);
    transition: 0.25s ease-out;
    margin: 5px;
    padding: 5px;
    cursor: pointer;
    border-top-left-radius: 10px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    position:relative;
    overflow:hidden;
    z-index: 0;
}

.tile_key:hover {
    box-shadow: 0 8px 16px 0 rgba(28, 81, 124, 0.8);
    transform: scale(1.05);

}

.tile_key:hover .chgindex  {
    
    opacity: 1;
}

.tile_key:hover .material-icons-sharp.blue600 { 
    opacity:1;

}
.tile_key:hover .dash_enabled {
    opacity: 1;
}

.tile_key:hover .arrow_key {
    transition: 0.25s ease-out;
    opacity: 1;
}




.tile_info {
    width: 100%;
    height: 30%;
    display: inline-block;

}

.tile_key_info {
    width: 100%;
    height: 30%;
    display: inline-block;
}


.arrow {
    opacity: 0.6;
    width: 120px;
    float: right;
    position: absolute;
    z-index: 20;
    top: -20px;
    right: -30px;
}

.arrow_key {
    opacity: 0.6;
    height: 90px;
    width: 90px;
    float: right;
    position: absolute;
    z-index: 20;
    top: -20px;
    right: -30px;
}


.chgindex {
    color: #fff;
    padding: 0 3px;
    border-radius: 3px;
}


.slines_v2 {
    margin-bottom: 15px;
    width: 100%;
    height: 1px;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(white), to(white), color-stop(50%, rgba(0, 0, 0, 0.5)));
    z-index: 10;
}


.slines { 
    margin-bottom: 15px;
    width: 85%;
    height: 1px;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(white), to(white), color-stop(50%, rgba(0, 0, 0, 0.5)));
    z-index: 10;
}


.slinee { 
    margin-top: 5px;
    margin-bottom: 5px;
    height: 1px;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(white), to(white), color-stop(50%, rgba(0, 0, 0, 0.2)));
}

.slinee_key { 
    margin-top: 1px;
    margin-bottom: 1px;
    height: 1px;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(white), to(white), color-stop(50%, rgba(0, 0, 0, 0.2)));
}



.tile_info_title {
    /*2023-10-13: was font-size: calc(20px + 0.05vw);*/
    font-size: calc(18px + 0.05vw);
    position: absolute;
    display: inline-flex;
    margin-top: 9px;
    margin-left: 6px;
    font-weight: 600;
    color: rgb(28, 81, 124);
    line-height: 20px;
    width: 60%;
    z-index:1;
}

.title_alt {
    /*2023-10-13: was font-size: calc(20px + 0.05vw);*/
    font-size: calc(18px + 0.05vw);
    position: absolute;
    display: inline-flex;
    margin-top: 10px;
    margin-left: 6px;
    font-weight: 600;
    color: rgb(28, 81, 124);
    line-height: 20px;
    width: 90%;
    justify-content: center;
    text-align: center;
}

.title_key_alt {
    /*want something smaller*/
    font-size: calc(14px + 0.05vw);
    position: absolute;
    display: inline-flex;
    margin-top: 10px;
    margin-left: 6px;
    font-weight: 600;
    color: rgb(28, 81, 124);
    line-height: 20px;
    width: 90%;
    justify-content: center;
    text-align: center;
}


/* Title text in each tile key indicator (ie: Consumer Price Index (CPI)) */
.tile_key_info_title {
    font-size: calc(14px + 0.05vw);
    position: absolute;
    display: inline-flex;
    margin-top: 7px;
    margin-left: 6px;
    margin-right: 16px;
    font-weight: 600;
    color: rgb(28, 81, 124);
    line-height: 20px;
    width: 60%;
    z-index:1;
}


div.breadcrumb {
    border-bottom:1px solid #057d3e !important;
    margin-bottom:  10px;
}
.material-icons-sharp.blue600 { 

    position: absolute;
    margin-top: -75px;
    margin-left: 250px;
    opacity: 0.7;
    background: url(../img/sharp_assessment_black_48dp.png);
    width: 50px;
    height: 50px;
}


.material-icons-sharp.blue500 {
    background:url(../img/sharp_assessment_black_48dp.png);
    width:48px;
}

div#legend {
    position: relative;
    display: flex;
    margin-top: 15px;
    margin-bottom: -20px;
   
}

p#legendp {
    line-height: 3em;
    font-weight:bolder;
}


.dashtxt {
    /* 2013-10-13: was "font-size: 20px;" */
    font-size: 16px;
    display: inline-flex;
    margin-top: 25px;
    margin-bottom:25px;
    margin-left: 6px;
    font-weight: 600;
    color: rgb(28, 81, 124);
    line-height: 20px;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.dashtxt_key {
    /* 2013-10-13: was "font-size: 20px;" */
    font-size: 13px;
    display: inline-flex;
    margin-top: 20px;
    margin-bottom:20px;
    margin-left: 10px;
    font-weight: 0;
    color: rgb(28, 81, 124);
    line-height: 5px;
    width: 90%;
    justify-content: center;
    text-align: center;
}



.btnDiv {
    justify-content: center;
    display: flex;
    text-align: center;
    padding-top: 35px;
    background: green;
    height: 50%;
    margin: -10px;
    margin-top: 60px;
    border-top: solid 3px gold;
}

#btnViewRpt {
    line-height: 30px;
    color:rgb(28, 81, 124);
    padding:0;
    font-weight: bold;
    width:200px;
    height:30px;
    border: 1px solid rgb(28, 81, 124);
    background-color:#fff;
    
}

.button_key {
    line-height: 20px;
    color:rgb(28, 81, 124);
    padding:0;
    font-weight: none;
    font-style: italic;
    width:175px;
    height:25px;
    border: 1px solid rgb(28, 81, 124);
    background-color:#fff;
    
}


#blurb {
    padding: 10px;
    
    padding-bottom: 0px;
    color: white;
    margin-top: -11px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#blurb p{

    color:#000;
   
}

.dash_enabled_hidden{
    position: absolute; 
      overflow: hidden; 
      clip: rect(0 0 0 0); 
      height: 1px; width: 1px; 
      margin: -1px; padding: 0; border: 0; 
    }

.tile_info_value {
    font-size: 20px;
    position: relative;
    line-height: 33px;
    text-align:center;
}

/* ie: the CPI index value or the number of persons employed */
.tile_key_info_value {
    font-size: 14px;
    position: relative;
    line-height: 24px;
    text-align:center;
}

.tile_info_value_change {
    padding: 3px 9px;
    color:#ffffff;
    border-radius:3px;
    opacity:0.8;
}

/* ie: The Tile Key growth rate (either in red or green box) */
.tile_key_info_value_change {
   font-size: 16px;
    padding: 2px 8px;
    color:#ffffff;
    border-radius:2px;
    opacity:0.8;
}


.tile_info_value_chgcontext {
    font-weight: bolder;
    color: #35434e;
    font-size: 12px;
    opacity:0.8;
}

.tile_key_info_value_chgcontext {
    font-weight: bolder;
    color: #35434e;
    font-size: 10px;
    opacity:0.8;
}


.category {
    text-align: left;
    width: 100%;
    height: auto;
    padding-top: 25px;
    animation: fadeEffect 0.25s;
    flex-wrap: wrap;
    justify-content: center;
    /* Fading effect takes 1 second */
}

.category_key {
    text-align: left;
    width: 100%;
    height: auto;
    padding-top: 25px;
    animation: fadeEffect 0.25s;
    flex-wrap: wrap;
    justify-content: left;
    flex-direction: row;
    /* Fading effect takes 1 second */
}



// the zone where the key indicator tiles will be located
// a big difference is the flex-wrap is set to 'nowrap'
.category_key {
    text-align: left;
    width: 100%;
    height: auto;
    padding-top: 2px;
    animation: fadeEffect 0.25s;
    flex-wrap: nowrap;
    justify-content: center;
    /* Fading effect takes 1 second */
}

.custom-container {
    /*width: 160%;*/
    width: auto;
    margin-top: 10px;
}

/* removing padding in col-inside-3 container*/

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 2000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    -webkit-animation-name: fadeIn;
    /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

/* Modal Content */

.modal-content {
    display: flex;
    flex-flow: row-reverse;
    position: fixed;
    top: 2.5%;
    background-color: #fefefe;
    width: 95%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
    left: 2.5%;
    height: 95%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-radius: 10px;
}

/* The Close Button */

.close {
    background-color: #4CAF50;
    border: none;
    color: white;
    text-align: center;
    font-size: 34px;
    overflow: hidden;
    position: absolute;
    height: 50px;
    width: 100%;
    
}

.close:hover, .close:focus {
    cursor: pointer;
    background-color: #e9dd32;
    color:black;
    transition: linear 1s;

}

/* The More options Button */

.moremenu {
display:none;
}

.moremenu:hover, .moremenu:focus {
    cursor: pointer;
    background-color: #e9dd32;
    color:black;
    transition: linear 1s;

}

#reponsivebtn {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: calc(16% + 7px);
    height: 50px;
}


/*modal buttons */

.modal-col3 {
    text-align: left;
    margin: 10px;
    box-shadow: 2px 4px 4px 3px #184e0e;
    padding: 3%;
    border: 2px solid #057d3e;
    }
.chkmbs {
    font-size:11px;
}
#PField_0{
    width:100%;
    border-radius:5px;
    margin: 15px 0;
}
#btnmoreinfo {
    background: #057d3e none repeat scroll 0 0;
    border: 0 none;
    border-top-right-radius: 5px;
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
    
    font-size:18px;
    line-height: 21px;
    outline: 0 none;
    text-decoration: none;
    
}

#btnmoreinfo:hover {
    background: #046632 none repeat scroll 0 0;
}


#modal-sub-Btn {
    background-color: #e9dd32; 
    border: none;
    color: #000000;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0px 5px 0px 0px #aaa124;
    border-radius: 5px;
    width:100%;
  }

#modal-sub-Btn:hover {
    cursor: pointer;
    font-weight: bolder;
    color: black;
    transition: ease-out 1s;
  }
#modal-detail-Btn {
    background-color: #e9dd32;
    border: none;
    color: black;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0px 5px 0px 0px #afa622;
    margin:10px;
    border-radius: 5px;
  }

  #modal-detail-Btn:hover {
    cursor: pointer;
    background-color: #ffd900;
    font-weight: bolder;
   
}

input.CField_1_1 {
    color: #ffffff;
    float: left;
    height: 20px;
    width: 20px;
    margin: 2px 5px 5px 0;
}

form label {
    color:#ffffff;
    display: block;
}

  .modal-header {
    background-color: #057d3e;
    color: #fff;
    border-left: 3px solid #e9dd32;
    height: auto;
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.mbsform {
    display:block;
}
.modal-header-responsive {
    background-color: #057d3e;
    color: #fff;
    border-left: 3px solid #e9dd32;
    height: auto;
    position: absolute;
    width: calc(90% - 5vw);
    display: flex !important;
    top: 8px;
    right: 76px;
    flex-direction: column;
    justify-content: flex-start;
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;

}

.modal-header-responsive:after {
    content: '';
	position: absolute;
	right: 3px;
	top: 25%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-left-color: #057d3e;
	border-right: 0;
	border-top: 0;
	margin-top: -10px;
	margin-right: -20px;

}

.modal-header-responsive #modal-header {
display: none;
}


#modal-header {
    text-align: center;
    font-weight: 700;
    margin-top: 60px;
    width: auto;
    position: relative;
    font-size: 27px;
    color: #fff;
}

.modal-body {
    padding: 1% 1% 0;
    background-color: #fefefe;
    width:100%;
    height:100%;
}

/* Add Animation */

@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }
    to {
        top: 1%;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }
    to {
        top: 1%;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

/* 2022-9-01: remove iframes to possibly help with shiny */
/*
iframe {
    height: 100%;
    width: 100%;
    overflow: hidden;
}
*/

/*.iframeLeft{
            border-width: 2px 0px 2px 2px;
        } */

/*
.iframeRight {
    border-width: 2px 2px 2px 0px;
}
*/

#charts {
 
    height:200px;
    width:400px; 
}

#visual {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    border:0px;
    padding-left:0px;
    padding-right:0px;
}

#accordion-1 {
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.08);
}

/* Style the buttons that are used to open the tab content */
#categoryTabs {
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.214);
    padding: 1%;
    display: flex;
    flex-wrap: wrap;
}
#categoryTabs button {
    background-color: #f8f8f8;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 6px 9px;
    transition: 0.25s ease-out;
    font-size: 14px;
    max-height:52px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.514);
    margin: 1%;
    margin-left:0;
    width: auto;
    font-weight:600;
    border-radius:10px;
}

/* Change background color of buttons on hover */

#categoryTabs button:hover {
    box-shadow: 4px 4px 8px 0 rgba(28, 78, 124, 0.8);
    
}

/* Create an active/current tablink class */

#categoryTabs button.active {
    background-color: rgb(0, 128, 0);
    color: #ffffff;
}

/* Go from zero to full opacity */

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.tile_info_reference {
    font-size: 13px;
    position: relative;
    line-height: 30px;
    text-align: center;
    margin-top: auto;
    color: #35434e;
    font-weight: bolder;
    opacity: 0.8;
}


.tile_key_info_reference {
    font-size: 11px;
    position: relative;
    line-height: 20px;
    text-align: center;
    margin-top: auto;
    color: #35434e;
    font-weight: bolder;
    opacity: 0.8;
}


.alert {
    padding: 20px;
    background-color: pink; 
    color: black;
    margin-bottom: 15px;
  }
  
  /* The close button */
  .closebtn {
    margin-left: 15px;
    color: black;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  /* When moving the mouse over the close button */
  .closebtn:hover {
    color: white;
  }

  
/* ie: the default class for the expanded 'related sites' */
/* This is adjusted by the government js code 'jquery.dropotron.min.js' */
  .dropdown-content {
    display: none;
    position:absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }


/* the class of hovering over 'related sites */
/* the z-index needs to larger than any of tile indices z-index for it for be proepry drawn */
/* https://www.w3schools.com/cssref/tryit.php?filename=trycss_play_z-index */

  .dropdown-content a {

    background-color: #35434e;
    z-index: 21;

  }
  
  .dropdown-content a:hover {background-color: #f1f1f1;}
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

/* not sure how this section works  */
  #infoTitle {
      display:flex;
      justify-content: space-between;
      border-bottom: 1.5px solid #057d3e;
      margin-bottom: 15px;
      flex-flow:wrap;
  }

  .chkmbs_ind {
      color:#000;
  }