#legendImage {
  min-width: 120px;
  /*            height:150px;*/
  max-width: 175px;
  float: left;
  padding: auto;
  padding-top: 5px;
}

#helpButton {
  width: 36%;
  float: left;
  display: inline;
  cursor: pointer;
  /*    padding: .5em;*/
  align-items: center;
}

/* Set button side by side */
#helpButton2 {
  width: 60%;
  float: left;
  cursor: pointer;
  /* display:inline-block; */
  /*    padding: .5em;*/
  align-items: center;
}

#clearButton, #expandEmailButton {
  cursor: pointer;
    
}



.expandButton {
  width: 13px;
  height: 13px;
  cursor: pointer;
  margin-left: 5px;
    
}
#expandEmailButton{
  width: 100%;
}

#firstEmailLinkButton > td > a {
    text-decoration: none;
}

#firstEmailButton, #tcpEmailButton{
    cursor: pointer;
    width: 14px;
    
}

/*** Email Style ***/
#firstEmails label {
  font-weight: bold;
}

#firstEmails {
  margin-top: 20px;
  height: 65%;
  max-height: calc(100vh - 255px);
  flex:1;
  min-width: 300px;
}

#emailInner {
  display: none;
  min-width: 700px;
}

#emailInner > hr {
  /*margin: 0px 10px;*/
  border-top: 1px solid #999;
}

#emailBody{
   font-family: courier!important;
}

/*** Email Modal Style ***/
#emailBodyModal{
  background-color: whitesmoke;
  padding: 10px;
  width: 100%;
  max-height: inherit;
  overflow: scroll;
  font-family: courier !important;

}

.emailModalDiv {
  padding-bottom: 16px;
}

.emailModalTitle {
  width: 100%;
  flex: 1 1 100%;
  color: green;
  font-size: larger;
  padding-top: 22px;
  display: inline-block;
  line-height: normal;
}

#infoPanel {
  padding-bottom: 10px;
}

/* Align icon with text  */
#helpWindow-HowTo,
#helpWindow-Protocols {
  z-index: 99999;
}

/*    !modal    */

.modal_title {
  width: 100%;
  flex: 1 1 100%;
  color: green;
  font-size: larger;
  padding: 0.5em;
  display: inline-block;
  line-height: normal;
}

/* adjust padding for headings in helpWindow-Protocols */
.full_div > .modal_title {
  padding-left: 0;
  padding-bottom: 0;
  font-weight: bold !important;
}

.modal_steps {
  flex-grow: 0;
  width: 100%;
  display: inline-block;
}

.modal_steps_half {
  flex-grow: 0;
  width: 49%;
  display: inline-block;
  padding: 5px 0px;
  border-bottom: 1px solid #eee
}

.modal_steps_half:last-child{
  border-bottom: none;  
}

.modal_steps{
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee  
}

.modal_steps{
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee  
}

.modal_steps:last-child{
  border-bottom: none;  
}

.main_div {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  max-height: 100%;
}

.full_div {
  display: block;
  /* justify-content: center; */
  /* flex-direction: column; */
  /* flex-wrap: wrap; */
  width: 100%;
  padding: 10px;
  /* border-right: 1px solid grey; */
}

.first-div {
  display: inline-flex;
  justify-content: center;
  /*            flex-direction: column;*/
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  padding: 10px;
  border-right: 1px solid grey;
}

.first-div > div {
  min-width: 150px;
  max-width: 100%;
  min-height: 0px;
}

.first-div > h3 {
  display: block;
}

.first-div > div > img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  /*                margin-left: 25px;*/
}

/* added padding to .modal_steps */
.first-div > .modal_steps {
  padding: 10px;
  display: block;
}

.second-div {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  width: 40%;
  height: min-content;
  flex-wrap: wrap;
  flex-shrink: 0;
  padding: 10px;
}

.second-div > div {
  height: min-content;
  flex-shrink: 0;
}

.second-div > div > img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  max-width: 250px;
}
/* align text with title using padding shorthand property */
.second-div > .modal_steps {
  padding: 0px 0px 5px 12px;
  display: block;
}

/* #DNSSEC_title {
  padding-top: 40px;
} */

#countrySelect{
  position: absolute;
  z-index: 9999;
  bottom: 0px;
  left: 0px;
  margin-left: 20px;
  margin-bottom: 20px;
  height: 25px;
  width: 125px;
}



/*    !modal    */
.w3-modal-content {
  width: 90%;
  max-width: 1200px;
  max-height: 100vh;
  padding-top: 0px;
  /* to vertically center */
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  overflow-y: auto;
}

.w3-modal {
  max-height: 100vh !important;
  width: 100% !important;
  padding-top: 0px;
  overflow: hidden;
}

.w3-display-topright {
  font-size: 20px;
  font-weight: bold;
}



/* DNS value */
#dnsValueT {
  color: #128274;
  font-weight: bold;
  border-radius: 30px;
  padding: 0 5px;
}
#dnsValueF {
  color: #222;
  font-weight: bold;
  border-radius: 30px;
  padding: 0 1px;
}

/* Connectivity table and legend*/

tr {
  text-align: left;
}

#dnsTableRow > td {
  border-top: 8px solid transparent;
}
.fullWidth {
  min-width: 80px;
}

table {
  padding-left: 5px;
}

#countryAndConnectivity label {
  font-weight: bold;
}

/* tooltips */

#uucpDate, #tcpDate, #fidoDate, {
    text-align: left;
}

#firstDate{
    padding: 0px 5px;
}

@media only screen and (min-width: 851px){
  #mobileHelpButton{
    display: none;
  }
}

@media only screen and (max-width: 850px) {
    #dnsTableRow > td {
      border-top: 2px solid transparent;
    }
    
    #connectivityTools{
      border-right: 2px solid #eee;
      margin-right: 10px;
    }
    
     table {
      padding-left: 0px;
    }
    #dnsValueF{
        font-size: 11px;
    }

    #emailInner {
      display: none;
      min-width: 300px;
    }

    #helpButton{
      display: none !important;
    }
    
    #firstEmails {
      height: 85%;
    }
    
}

@media only screen and (max-width: 600px) {
    #connectivityTools{
        flex: 1;
        border-right: none;
        margin-right: 0px;
    }
    
    body{
        font-size: smaller;
    }
    


}
