.tex-container {
  border: 1px solid #efefef;
  box-sizing: border-box; 
  border-radius: 4px;
  overflow: hidden;
}

.tex-container.theme-dark {
  border-color: #383838;
}

.tex-content, .htmlContent {
  box-sizing: border-box;
  background-color: #fff;
  height: 300px;
  width: 100%;
  outline: 0;
  overflow-y: auto;
  padding: 10px; 
}

.theme-dark .tex-content, .theme-dark .htmlContent {
  background-color: #10131a;
  color: white;
}

.tex-actionbar {
  background-color: #FFF;
  border-bottom: 1px solid #efefef;
  padding:5px;
}
.theme-dark .tex-actionbar {
  background-color: #10131a;
  border-color: #383838;
}

.tex-button {
  position: relative;
  background-color: #f7f7f7;
  border: none;
  cursor: pointer;
  height: 30px;
  outline: 0;
  min-width: 30px;
  vertical-align: bottom; 
  color: #000;
  margin-right: 3px;
  border-radius: 4px;
  border-bottom: 1px solid lightgray;
}

.theme-dark .tex-button {
    background-color: #181d27;
    color: #ffF;
    border-bottom: 1px solid #383838;
}

.tex-button:hover{
    background-color: #f2f2f2;
}   

.theme-dark .tex-button:hover{
    background-color: #353434;
}   

.tex-button-selected {
  background-color: #F0F0F0; 
}

.tex-modal{
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  padding:5px;
}

.tex-button > *:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  height: 30px;
  width: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  border: 0;
  padding: 0;
}