/*Variables*/
/* Global */
body {
  /*padding-top: 5.88em;*/
  color: #252525;
  background: #fafbfb;
  -webkit-font-smoothing: antialiased; }

*::selection {
  background: #0790c9;
  color: #fff; }

.main-content {
  background: white;
  padding-top: 7em;
  min-height: 1000px; }

p.section-header {
  font-size: 0.825em;
  text-transform: uppercase;
  color: #8e8e8e; }

.sortable-placeholder {
  background: #def1f9;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out; }

a {
  cursor: pointer; }

/* Nav */
.navbar {
  /*height:5.88em;*/
  background: #f4f4f4; }

.navbar-brand {
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 40px;
  font-family: "Montserrat", sans-serif;
  color: #1a1a1a;
  font-size: 1.1em;
  text-transform: uppercase; }

.navbar-brand span {
  font-size: 0.7em;
  padding-left: 6px;
  color: #0790c9; }

.navbar-brand img {
  width: 40px;
  height: 40px;
  float: left;
  margin-right: 20px; }

a.navbar-brand:hover {
  color: #1a1a1a; }

a.download-link {
  cursor: pointer; }

span.nav-badge {
  color: white;
  background: #1fb50b;
  padding: 0.3em 0.44em;
  font-size: 0.575em;
  font-weight: bolder;
  margin-left: 6px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px; }

/* Footer */
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #f4f4f4;
  font-size: 12px;
  padding-top: 6px; }
  footer .shortcuts p {
    display: inline-block;
    padding-right: 20px; }
  footer .footer-link {
    text-align: right; }

/* Inputs */
input.global-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ababab;
  padding: 5px 0px;
  height: 44px;
  margin-bottom: 18px;
  -webkit-font-smoothing: antialiased;
  padding-left: 38px; }

input.global-input:focus {
  box-shadow: 0 0 0px rgba(255, 255, 255, 0);
  border: none;
  border-bottom: 2px solid #0790c9;
  outline: none;
  height: 45px;
  padding-top: 6px; }

/* Buttons */
.inline-button {
  background: white;
  border: none;
  outline: none;
  width: 100%;
  border: none;
  border-bottom: 1px solid #ababab;
  padding: 5px 0px;
  height: 44px;
  margin-bottom: 18px;
  -webkit-font-smoothing: antialiased;
  padding-left: 38px;
  text-align: left; }

.inline-button:focus {
  border-bottom: 2px solid #0790c9; }

.inline-button-add, .inline-button-add:active {
  background-image: url(../img/icon-add.png);
  background-repeat: no-repeat;
  padding-left: 38px;
  background-position: 6px center;
  background-repeat: no-repeat;
  color: #0790c9;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out; }

.inline-button-add:active {
  background-color: #0790c9;
  color: white; }

.cell-button {
  width: 16px;
  height: 44px;
  position: absolute;
  top: 0;
  border: 0;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 0s ease-in 0.1s, opacity 0.1s ease-in;
  -moz-transition: visibility 0s ease-in 0.1s, opacity 0.1s ease-in;
  transition: visibility 0s ease-in 0.1s, opacity 0.1s ease-in; }

.cell-button:focus {
  box-shadow: 0 0 0px rgba(255, 255, 255, 0);
  border: none;
  outline: none; }

.delete {
  background: url(../img/icon-trash.png) no-repeat;
  background-position: center;
  right: 0; }

.handle {
  background: url(../img/grip.png) no-repeat;
  background-position: center;
  right: 0;
  cursor: row-resize; }

.duplicate {
  background: url(../img/icon-duplicate.png) no-repeat;
  background-position: center;
  right: 0; }

.cell-button-hover, .test:hover .handle, .category:hover .handle, .test:hover .delete, .category:hover .delete, .test:hover .duplicate, .category:hover .duplicate, .test:hover .chevron, .category:hover .chevron, .test:hover .delete-category, .category:hover .delete-category, .category-result:focus ~ .handle,
.category-result:focus ~ .delete,
.category-result:focus ~ .duplicate,
.category-result:focus ~ .chevron,
.test-input:focus ~ .handle,
.test-input:focus ~ .delete {
  visibility: visible;
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  transition-delay: 0.1s; }

/* Details */
#details-wrap {
  margin-bottom: 18px; }

.icon-input, input.template-title, input.template-reference {
  background-repeat: no-repeat;
  padding-left: 38px;
  background-position: 6px center;
  background-repeat: no-repeat; }

input.template-title {
  background-image: url(../img/icon-title.png); }

input.template-reference {
  background-image: url(../img/icon-reference.png); }

/* Main Content */
/* Category */
.category {
  position: relative; }

input.category-result {
  padding-right: 38px; }

.category-icon {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  content: "";
  width: 30px;
  height: 30px;
  margin-top: 7px;
  background: #ababab;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  padding-top: 4px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px; }

.chevron {
  background: url(../img/icon-chevron.png) no-repeat;
  background-position: center;
  right: 0; }

.delete-category {
  right: 88px; }

.category .handle {
  right: 44px; }

.duplicate-category {
  right: 132px; }

.alert-duplicate {
  position: fixed;
  bottom: 20px;
  width: inherit;
  margin: 0 auto; }

/* Tests */
.test-wrap {
  padding-left: 38px; }

.test {
  position: relative; }

.test-icon {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  content: "";
  width: 30px;
  height: 30px;
  margin-top: 7px;
  color: #ababab;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  padding-top: 4px;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out; }

.test-icon p {
  display: inline-block; }

.delete-test {
  right: 44px; }

.test-input:focus ~ .test-icon {
  color: #0790c9; }

/* Undo Alert */
#alert-container {
  position: fixed;
  bottom: 10px;
  left: 10px; }

.undo-alert {
  background-color: #fcf8e3;
  color: #975c51;
  border: 1px solid #f6f2e0;
  padding: 15px 30px; }

.alert {
  margin-bottom: 24px;
  border-radius: 4px; }

.messenger-message-inner {
  display: inline-block;
  margin-right: 4em; }

.messenger-actions {
  float: right; }

/* Generate Code Formatting */
#generated-code {
  margin-top: 4em;
  font-size: 0.8em;
  visibility: hidden; }
  #generated-code xmp {
    white-space: pre-wrap;
    /* CSS 3 */
    white-space: -moz-pre-wrap;
    /* Mozilla, since 1999 */
    white-space: -pre-wrap;
    /* Opera 4-6 */
    white-space: -o-pre-wrap;
    /* Opera 7 */
    word-wrap: break-word;
    display: inline; }

.temp-import-code {
  font-size: 8px; }

#uploaded-parsed-output {
  color: dark-green; }
  #uploaded-parsed-output .parsed-category {
    color: orange; }
  #uploaded-parsed-output .parsed-test {
    color: blue;
    margin-left: 24px; }

/* Email Modal */
p.input-hint {
  font-size: 0.8em;
  margin-top: 6px;
  color: #8e8e8e; }

.modal-input-section {
  margin-bottom: 24px; }

#email-modal input {
  width: 90%;
  padding: 6px; }

#email-modal input:focus {
  outline: none;
  border: 1px solid #0790c9; }

#email-modal input.warning {
  border: 1px solid #FF4136;
  background: #FFECEB; }

p.input-warning {
  margin-bottom: 0px;
  padding: 6px;
  color: #ff4136;
  display: none; }

.modal-footer a.modal-footer-link {
  text-align: left;
  padding-right: 170px; }

/* Upload Modal */
.btn-file {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 24px;
  padding: 30px 0px; }
  .btn-file:hover {
    text-decoration: underline; }

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
  z-index: 100; }

p.upload-warning {
  margin-bottom: 0px;
  padding: 6px;
  color: #ff4136;
  display: none; }

.btn-file-label {
  text-decoration: underline; }

.btn-file-reupload {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  font-size: 12px;
  margin-top: 7px;
  text-decoration: underline;
  display: none; }

#loading-upload {
  display: none;
  text-align: center;
  font-size: 21px;
  height: 100px;
  padding-top: 100px;
  position: absolute;
  width: 100%; }
  #loading-upload p {
    text-align: center;
    padding-top: 100px;
    color: #8e8e8e; }