/* required styles */
.png-custom-select {
  position: relative;
  display: inline-block;
  font-family: "Open Sans", Arial, sans-serif;
}

.select-box {
  background-color: #f1f1f1;
  padding: 10px;
  cursor: pointer;
  border: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.select-box span {
  flex-grow: 1;
}

.options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 100;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.option {
  padding: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.option img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.option:hover {
  background-color: #ddd;
}

.custom-select.active .options {
  display: block;
}

.my-custom-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-item {
  padding: 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dropdown-item img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.dropdown-item:hover {
  background-color: #ddd;
}

.my-custom-dropdown:hover .dropdown-content {
  display: block;
}


.input-group-text {
    min-width: 115px;
}

#expand-view-key {
    z-index: 8000;
    position: absolute;
    background-color: rgb(255,255,255);
    right: 15px;
    bottom: 1px;
}

#info-list li {
   margin-inline-start:-10px;
}

#cvm-description {
  font-size: 14px;
  max-width: 500px;
  background-color: whitesmoke;
  position: absolute;
  bottom: 2px;
}

#basemap-control {
     max-width:269px;
}

#model-options label {
    font-weight: normal;
}

#mapLayer {
    border-bottom: 1;
}

#model-options {
    border-bottom: 0;
    padding:2px;
}


.cvm-table table th {
  background: whitesmoke;
}

#materialPropertyTable-container {
  border-top: 2px solid whitesmoke;
  border-bottom: 2px solid whitesmoke;
}

#metadataPlotTable-container {
  border-top: 2px solid whitesmoke;
  border-bottom: 2px solid whitesmoke;
}

table th {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 100;
}

#placeholder-row td {
  text-align:center;
  font-style:italic;
}

.custom-select-sm {
  padding: 0.2rem 0.375rem 0.2rem 0.75rem;
}

@keyframes glowing {
0% { color: #C22B48; box-shadow: 0 0 3px #D5D5D5; }
50% { color: #D5D5D5; box-shadow: 0 0 10px #99000; }
100% { color: #C22B48; box-shadow: 0 0 3px #D5D5D5; }
}

.blue-div-icon {
  background:#007bff;
  border:2px solid rgba(0,0,0,0.5);
  font-weight:bold;
  text-align:center;
  border-radius:50%;
  line-height:30px;
}
.red-div-icon {
  background:#dc3545;
  border:2px solid rgba(0,0,0,0.5);
  font-weight:bold;
  text-align:center;
  border-radius:50%;
  line-height:30px;
}

.my-custom-select {
    padding: 0.375remm .75rem;
    display: block;
    width: 100%;
    height: calc(2.15rem);
    color: #67727b;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #ced4da;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
}


.my-popup {pointer-events: none;}

hr { 
  display: block;
  margin-top: 0.3em;
  margin-bottom: 0.4em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 2px;
}

table { width: 100%; border-collapse: collapse;}
table, td, th { border: 1px solid #ced4d5; padding: 2px 2px 2px 10px;}
th {text-align: left; background: #D5D5D5;}

.cvm-top-small-btn {
          background: transparent; 
          padding: 6px 6px;
          font-size: 14px;
          color: black;
          display: inline-block;

          outline: none;
          -webkit-box-shadow: none !important;
          box-shadow: none !important;
          border: none !important;
          }

.cvm-top-small-btn:hover {
          color: #DC3545;
          display: inline-block;
          }

.cvm-active {
        color: #DC3545;
        }

.glyphicon.glyphicon-search {
    font-size: 25px;
}

.glyphicon.glyphicon-cog {
    font-size: 30px;
}

.pick-btn {
       animation: glowing 5000ms infinite;
      }

.cvm-small-btn {
          background: transparent; 
          color: #C22B48;
          border: none; 
	  font-size: 14px;
          display: inline-block;
          }

.cvm-small-btn:hover {
          color: #DC3545;
          border: none;
          display: inline-block;
          }

.cvm-small-btn:disabled {
         color: white;
        }

.cvm-table {
          max-height: 67vh;
          border: 1px solid grey;
          overflow: auto;
        }

.cvm-top-btn {
          background: #D5D5D5; 
          padding: 1px 3px;
          border: 2px solid #D9D9D9;
          color: black;
          width: 10vw;
          height: 3vh;
          display: inline-block;
        }

.cvm-top-btn:hover {
          color: #C22B48;
}

.cvm-top-btn:active, .cvm-top-btn.active {
          border:2px solid #C22B48;
}

#goBtn:active, #goBtn.active {
	border:2px solid #C22B48;
}

.cvm-btn {
          background: #577399;
          border: 1px solid #577399;
          color: black;
          width: 7.5rem;
          height: 3vh;
          display: inline-block;
          border-radius: 0.25rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

.cvm2-btn {
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cvm-btn:disabled {
        color: white;
        }

.cvm-btn:hover {
        color: #C22B48;
        background: #D5D5D5; 
        }

/*.cvm2-btn:hover {*/
/*        color: #C22B48; */
/*        }	*/
.cvm-div {
        position:relative;
        left: 10px;
        width:90%;
        }

select {
    width: 100%;
    border: 2px solid grey;
    border-radius: 2px;
}

select:hover {
    background: #D5D5D5; 
}

.my-input-text {
    width: 8vw;
    padding: 0px 10px 0px 10px;
}

input[type=text] {
    height: calc(2.15rem);
/*
    width: 10vw;
    padding: 0px 10px 0px 10px;
*/
}

input:hover {
    background-color: #D9D9D9;
    }

#processMPTableList[class*="show"] {
    background: #e9ecef;
    border: 1px solid #ced4da;
    min-width: 6rem;
}

#processMPTableList li {
    padding-left: 10px;
    text-align: left;
}

#processMPTableList li:hover {
    background-color: #007bff;
    color: white;
}

#processMetaPlotResultTableList li {
    padding-left: 15px;
    padding-right: 15px;
    text-align: left;
}
#processMetaPlotResultTableList li:hover {
    background-color: #007bff;
    color: white;
}

#processMetaPlotResultTableList[class*="show"] {
    background: #e9ecef;
    border: 1px solid #ced4da;
    min-width: 6rem;
}

#fileSelectBtn:hover {
    background: #D9D9D9;
    color: #C22B48;
    border: 0;
    display: inline-block;
}

#top-intro {
    margin-bottom: 15px;
    margin-top: 40px;
}

#top-intro div.links {
    display: inline-block;
    white-space: nowrap;
}

#top-intro div.links a:first-child {
    display: block;
    margin-bottom: 3px;
}

#top-intro p {
    line-height: 19pt;
    margin-bottom: 0;
    padding-left: 55px;
}

@media only screen and (max-width: 990px) {
    .scec-main-container {
        border: 0;
    }

    ul.navbar-nav {
        margin-top: 45px;
        padding-bottom: 20px;
    }

    a.navbar-brand span {
        font-size: 12pt;
    }
    .banner-container {
        margin-bottom: 45px;
    }
}
