* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#singleUploadForm {
  display:none;
}
#cloneContentForm {
  display:none;
}

.cms {
 font-size:medium;
}
body {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.58;
    color: #333;
    background-color: #f4f4f4;
}
button:hover {
  background-color:#5cbf2a;
}
button:active {
  position:relative;
  top:1px;
}
button.primary:hover {
  background-color:#5cbf2a;
}
button.primary:active {
  position:relative;
  top:1px;
}
.clearfix:after {
    display: block;
    content: "";
    clear: both;
}


#allcontent {
  padding: 0;
  margin: 0;
  cursor: pointer;
}
#mycontent {
  padding: 0;
  margin: 0;
  cursor: pointer;
}

h1 {
    font-size: 1.7em;
}

a {
    color: #0012CE;
}
.note-editable {
  background: #fff;
}
button {
  border: 1px solid antiquewhite;
    box-shadow: none;
    border: 1px solid transparent;
    font-size: 12px;
    outline: none;
    line-height: 100%;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0.6rem 1rem;
    border-radius: 2px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    min-height: 38px;
}
img {
  cursor: pointer;
}

button.primary {
    background-color: #0012CE;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12);
    color: #fff;
}

::-webkit-file-upload-button {
  background-color: #0012CE;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.12);
  color: #fff;
  box-shadow: none;
  border: 1px solid transparent;
  font-size: 14px;
  outline: none;
  line-height: 100%;
  white-space: nowrap;
  vertical-align: middle;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  min-height: 38px;
}

#brand{
  min-height: 50px;
  min-width: 220px;
}

input {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    line-height: 1.5;
    border-radius: 3px;
    vertical-align: middle;
    padding: .365rem .5rem;
    background-color: #fff;
    border-color: #0012CE ;
    font-size: 12px;
}

select {
    box-sizing: border-box;
    font-size: 12px;
    position: relative;
    z-index: 1;
    line-height: 1.5;
    border-radius: 3px;
    vertical-align: middle;
    padding: .365rem .5rem;
    background-color: #fff;
    color: #333;
    border: 1px solid #c7c7c7;
    height: calc(1.5em + .60rem + 2px);
    border-color: #0012CE!important;
    min-height: 36px;
  }
  input[type="file"] {
    border: 1px solid #0012CE;
    padding: 6px;
    max-width: fit-content;
}
.file-input {
    width: 100%;
}

.submit-btn {
    display: block;
    min-width: 100px;
}
#auth {
  padding-top: 2px;
  margin: 0;
  font-size:12px;
}
fieldset {
  margin-top:2px!important;
}
.upload-container {
  margin-left: auto;
  margin-right: auto;
  background: aliceblue;
  margin-top: 0px;
  position: relative;
  padding: 10px;
}

::-webkit-scrollbar {
  width: 13px;
  height: 13px;
 }
 ::-webkit-scrollbar-thumb {
  background: linear-gradient(13deg, #0012CE 14%, #0012CE 64%);
  border-radius: 10px;
 }
 ::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(13deg, #0012CE 14%, #0012CE 64%);
 }
 ::-webkit-scrollbar-track{
  background: #ffffff;
  border-radius: 10px;
  box-shadow: inset 7px 10px 12px #f0f0f0;
 }
.preview-content {
  max-height:95%;
  overflow: auto;
 padding: 5px;
}
#details {
  cursor: pointer;
}
.filter-content-fieldset {
  z-index:2;
  width:90%;
  overflow: hidden;
  overflow-y: hidden;
  overflow-x: hidden;
  border: 1px solid  #0012CE;
  padding: 0;
  margin: auto;
  background: aliceblue;
  box-shadow: 0 1px 11px rgb(0 0 0 / 27%);
  padding-left:5px;
}
legend{
    background-image: linear-gradient(azure, aliceblue);
    border-top: 1px solid #59a7e5;
    border-left: 1px solid #59a7e5!important;
    margin-left: 0px;
    border-image: linear-gradient(#59a7e5 40%, #59a7e5 10% 10%, transparent 67%) 1 1 1 1 / 1px;
    padding-left: 10px;
    padding-right: 10px;
    font-size:12px;
}
.preview-css-fieldset {
  display:none;
  z-index:2;
  max-height:85%;
  overflow: auto;
  position: fixed;
  top:100px;
  right:100px;
  width: 40%;
  border: 1px solid green;
  padding: 5px;
  border-color: green;
  border-width: 3px;
}
.preview-content-fieldset {
  display:none;
  z-index:2;
  max-height:85%;
  overflow: auto;
  position: fixed;
  top:100px;
  right: 10px;
  width: 40%;
  border: 1px solid green;
  padding: 5px;
  border-color: green;
  border-width: 3px;
}
.green_border {
  border-color: green!important;
  border-width: 3px;
}
.upload-content {
  width: 75%;
    resize: both;
    overflow: auto;
}
.row {
  resize: both;
}
.multiple-upload {
  display:none;
}


.upload-header h2 {
  font-weight: 500;
}

.single-upload {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.upload-response {
  overflow-x: hidden;
  word-break: break-all;
}
#login {
  transform: scale(0.5);
  bottom: 0;
  top: unset!important;
}
#login:hover {
  transform: scale(1);
}
#logout {
  transform: scale(0.5);
  bottom: 0;
  top: unset!important;
}
#logout:hover {
  transform: scale(1);
}
#fileList {
    margin:auto; 
    max-width: 90%;
    overflow: auto;
    padding-top: 2px;
}

#viewControl {
  margin: auto;
  overflow: scroll;
  font-size: x-small;
  overflow: auto;
  padding-bottom:2px;
  display: block;
}
#viewControlButtons {
  display: flex;
}
table {
    display: grid;
    border-collapse: collapse;
    min-width: 100%;
    grid-template-columns: 
      minmax(32px, 0.4fr)
      minmax(42px, 0.5fr)
      minmax(42px, 0.5fr)
      minmax(400px, 3.33fr)
      minmax(220px, 1.67fr)
      minmax(200px, 1.67fr)
      minmax(200px, 1.67fr);
  }
  
  thead,
  tbody,
  tr {
    display: contents;
  }
  
  th,
  td {
    font-size: .75em;
    padding: 0px;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: inherit;
    overflow: hidden;
  }
  th {
    font-size: xx-small;
  }
  .tiny {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  th {
    position: sticky;
    top: 0;
    background: #0012CE;
    text-align: left;
    font-weight: normal;
    font-size: 1.0rem;
    color: white;
    padding-left: 5px;
  }
  
  th:last-child {
    border: 0;
  }
  
  td {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #808080;
  }
  
  tr:nth-child(even) td {
    background: #fff;
  }

.c40 {
    text-decoration: none;
    color:black; 
    font-size:34px;
    cursor: pointer;
    
}
#cancel{
  position: fixed;
  top: 0px;
  right: 5px;
  z-index: 2;
}
#submit{
  position: fixed;
  top: 0px;
  right: 90px;
  z-index: 2;
}
#preview{
  position: fixed;
  top: 0px;
  right: 180px;
  z-index: 2;
}
#promote{
  position: fixed;
  top: 0px;
  right: 280px;
  z-index: 2;
}
.editorbrand {
  min-height:33px!important;
}


.disabled {
  background-color: gray;
}
.disabled:hover {
  background-color: red;
}

.note-modal-backdrop {
  display:contents!important; 
}

@media screen and (max-width: 960px) {
  th {
    font-size: 0.9em;
  }
  #viewControlButtons button {
    margin-right: -6px;
    margin-left:-6px;
  }
  .upload-container {
    max-width: 98%;
    margin-top: 2px;
    padding:8px;
    width:98%;
  }
  .filter-content-fieldset {
    width: 98%;
  }
  #brand{
    min-width: 241px;
  }
  #fileList {
      margin:auto; 
      max-width: 100%;
      margin-right: -5px;
  }
  #editor_holder {
    padding-top:5px;
  }
  .preview-mobile-height {
    height:100%;
  }
  .preview-content-fieldset {
      width: 96%;
      cursor:auto;
      background-color: #fff;
      top: 30px;
      left: 4px;
      height: 10px;
      min-height: 10px;
      min-width: 10px;
      resize: both;
      overflow: auto;
      z-index: 2;
  }
  .preview-css-fieldset {
    width: 96%;
    cursor:auto;
    background-color: #fff;
    top: 30px;
    left: 4px;
    height: 10px;
    min-height: 10px;
    min-width: 10px;
    resize: both;
    overflow: auto;
    z-index: 2;
}
  #cancel {
    top: 5px;
    right: 0px;
  }
  #submit{
    top:5px;
    right: 65px;
  }
  #preview{
    top:5px;
    right: 135px;
  }
  #promote{
    top:5px;
    right: 205px;
  }
  .upload-content {
      width: 100%;
  }
  input[type="text"] {
        width: 100%;
  }
  .preview-content{
    display:none;
  }
  button {
    transform: scale(0.8);
  }
  legend {
    height: fit-content;
  }
}

@media screen and (min-width: 500px) {
    .file-input {
        width: calc(100% - 115px);
    }

    .submit-btn {
        display: inline-block;
        margin-top: 0;
        margin-left: 10px;
    }
}
.note-editor {
  max-width: 900px;
}
