@media (max-width: 767px) {
  .csp-hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .csp-hidden-sm {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .csp-hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .csp-hidden-lg {
    display: none !important;
  }
}

.panel-no-border {
  border: none;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

.bg-info-700 {
  background: #fff;
  color: #718088;
  font-size: 16px;
}

.page-content {
  background: #fff;
}

a.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  padding: 20px;
  color: #718088;
}

.dropdown-menu a {
  color: #718088 !important;
  font-size: 16px;
}

.dropdown-menu a.active {
  color: #592c4f !important;
}

.footer {
  margin-left: 30px;
  font-size: 16px;
}

.footer li {
  font-size: 16px;
  list-style: none;
  display: inline-block;
}

.footer ul {
  padding: 0 !important;
}

.footer li {
  border-right: 1px solid;
  color: #592c4f;
}

.footer li a {
  color: #592c4f;
  margin: 0 10px;
  font-size: 16px;
}

.footer li:first-child a {
  margin-left: 0 !important;
}

.dropdown-menu a.active:before {
  content: "\f00c";
  font-family: fontawesome;
  position: absolute;
  left: 0px;
}

.popover,
.popover h3 {
  font-size: 16px;
  color: #718088;
}

.popover h3 {
  text-transform: capitalize;
  padding: 0 !important;
}

.popover {
  padding: 25px;
}

.popover-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.page-container {
  background: #fff;
}

.content {
  padding: 0 20px 160px 20px;
}

/************* Profile *********/
.form-control {
  font-size: 16px;
  height: 44px;
  color: #592c4f;
}

/************* Submit samples **********/
.submissiongrids .innergrid {
  padding: 30px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.submissiongrids {
  margin: 20px auto 5px;
  color: #718088;
}

.submissiongrids h2 {
  font-weight: 500;
  margin-top: 0 !important;
}

.submissiongrids p {
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .tablepagers {
    text-align: center !important;
    margin: 10px 0;
  }

  div#mySamplesTable {
    margin-top: 0;
  }
}

a.sidebar-toggle {
  float: left;
  color: #fff;
  margin: 0 0 0 5px;
}

a.sidebar-toggle i {
  font-size: 26px;
  margin-top: 12px;
}

a.sidebar-toggle:active,
a.sidebar-toggle:focus,
a.sidebar-toggle:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .downloadsamples a {
    width: auto !important;
    padding: 0 !important;
  }

  .page-content.activesidebar .sidebar {
    left: 0;
  }

  .page-content:not(.activesidebar) .sidebar {
    left: -340px;
  }

  .sidebar {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 260px;
    transition: left 0.5s ease;
    -webkit-transition: left 0.5s ease;
    -moz-transition: left 0.5s ease;
    -o-transition: left 0.5s ease;
  }

  .sidebar-content {
    background: #f7f7f7;
  }

  .sidebar-content {
    padding: 50px 0;
  }
}

/** Login Form Styles */

#forgot_your_password {
  display: block;
  margin-bottom: 15px;
}

#user-page-container {
  width: 100%;
  max-width: 600px;
  margin: 50px auto;
  padding: 0 15px;
}

div#user-page-container h3 {
  text-align: center;
  font-size: 30px;
  margin-top: 50px;
}

div#user-page-container ul li {
  color: #727f87 !important;
  font-size: 15px;
}

a,
a:hover,
a:active,
a:focus {
  color: #592d4f;
}

div#user-page-container ul {
  list-style: none;
  padding: 20px 0 !important;
}

/** Forgot Pass **/

form#forgotpass-form input[type="text"] {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 7px 12px;
  color: #592c4f;
  font-size: 15px;
  width: calc(100% - 160px);
}

form#forgotpass-form label {
  width: 140px;
}

a.sidebar-toggle {
  padding: 5px 5px 3px;
  margin: 5px 10px 5px 5px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

a.sidebar-toggle i {
  margin: 0 !important;
}

a.sidebar-toggle.active {
  background: #fff;
  color: #592c4f;
}

input {
  appearance: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}

div#iphone-search {
  margin-top: 10px;
  margin-left: 30px;
  margin-right: 30px;
}

div#iphone-search input[type="text"] {
  border: none;
  width: 80%;
  text-indent: 30px;
  padding: 9px 7px 5px 0;
  color: #592c4f;
}

div#iphone-search form {
  position: relative;
}

@media (min-width: 1200px) {
  div#navbar-search input {
    padding: 5px !important;
  }
}

@media (max-width: 1199px) {
  div#socials a {
    margin: 0 2px !important;
  }
}

/**** Login Page design ***/

div.footer-full .container {
  border: none;
  padding-bottom: 10px;
}

.footer-full_col-sm-3 {
  width: 3%;
  float: left;
}

.footer-full_col-sm-4 {
  width: 30%;
  float: left;
}

.footer-full_col-sm-5 {
  width: 40%;
  float: left;
}

.footer-full_col-sm-7 {
  width: 60%;
  float: left;
}

.footer-full_col-sm-8 {
  width: 70%;
  float: left;
}

.footer-full_col-sm-9 {
  width: 80%;
  float: left;
}

.footer-full_col-sm-6 {
  width: 50%;
  float: left;
  font-size: 15px;
  color: #000;
  padding: 0 10px;
}

.footer-full_col-sm-6 a,
.footer-full_col-sm-6 strong,
.footer-full_col-sm-6 h3 {
  color: #000;
}

div#copyrow p {
  color: #708189;
}

.footerlinks a {
  margin: 0 8px 10px 0;
  display: inline-block;
}

.footer-full .container .footer-full_col-sm-6 h3 {
  margin-top: -10px;
  text-align: left;
  font-size: 16px;
  font-weight: 500 !important;
}

div#socials a {
  margin: 0 5px;
}

div#socials {
  margin-top: -5px;
}

div#socials a:first-child {
  margin-left: 0;
}

#socials a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: url("../images/social-icons-sprite.49088fd07ba1.png") no-repeat left top
    transparent;
  text-align: left;
  text-indent: -9999px;
  margin: 0 10px 0 0 !important;
}
#socials a.sm-instagram {
  background-position-y: -70px;
}
#socials a.sm-facebook {
  background-position-y: 0px;
}
#socials a.sm-twitter {
  background-position-y: -35px;
}
#socials a.sm-linkedin {
  background-position-y: -105px;
}
#socials a.sm-youtube {
  background-position-y: -140px;
}
#socials a:hover,
#socials a:focus,
#socials a:active {
  background-position-x: right;
}

.span4.poweredby {
  display: none;
}

form.ctct-custom-form.Form p {
  position: relative;
}

.ctct-custom-form input[type="text"] {
  border: 1px solid #000;
  box-shadow: none;
  color: #000;
  width: 90%;
  margin: 0;
}

div#copyrow {
  padding-top: 20px;
  display: inline-block;
  width: 100%;
}

form.ctct-custom-form.Form {
  margin-bottom: 0;
}

div.footer-full strong {
  font-weight: 500;
}

.ctct-embed-signup {
  width: 240px;
  max-width: 97%;
}

.ctct-custom-form input[type="text"] {
  padding: 5px;
}

@media (max-width: 991px) {
  div#copyrow {
    padding: 0;
  }

  .footer-full_col-sm-5,
  .footer-full_col-sm-6,
  .footer-full_col-sm-7,
  .footer-full_col-sm-8 {
    width: 100% !important;
    margin-bottom: 20px;
    padding: 0 !important;
  }

  .footer-full_col-sm-7 {
    margin-bottom: 0 !important;
  }

  #copyrow .footer-full_col-sm-6 {
    margin-bottom: 10px;
  }

  div#copyrow {
    clear: both;
    margin-bottom: -20px;
    display: inline-block;
    width: 100%;
  }
}

/** public page **/

div#client-public {
  padding: 25px 0 25px;
}

div#client-public .detailcol:first-child {
  padding-right: 15px !important;
}

div#clientprofileimage {
  float: left;
  padding: 20px;
  border: 1px solid #ddd;
  margin: 0 20px 20px 0;
  max-width: 250px;
}

div#clientprofileimage img {
  max-width: 210px;
}

div#client-public #detailQuickView ul {
  padding: 0;
  list-style: none;
}

div#client-public h2 {
  margin-bottom: 20px !important;
}

div#detailQuickView {
  width: calc(100% - 320px);
  word-break: break-all;
}

div#client-public .detailcol:first-child {
  margin: 15px 0;
}

div#client-filters {
  clear: both;
  width: 100%;
  margin-bottom: 30px;
  border: 1px solid #ddd;
  padding: 5px;
}

.layout-switch {
  float: right;
  color: #592c4f;
  font-weight: 500;
  font-size: 14px;
  padding: 10px;
  margin-right: 10px;
}

.layout-switch img {
  margin: 0 5px;
}

.client-gridview {
  width: 100%;
  display: inline-block;
}

div#client-results div {
  background: #fff;
}

div#client-results .inner-block {
  margin: 15px 0px 15px 0px;
  border: 1px solid #ddd;
}

.grid-item h3 {
  margin: 20px 20px 0px 20px;
  font-size: 18px;
  font-weight: 500;
}

.grid-item ul {
  margin: 0 20px 20px;
  display: inline-block;
  list-style: none;
  padding: 0 !important;
}

.grid-item ul li {
  color: #718088;
}

.grid-item ul li {
  padding: 3px 0;
}

a.result-image {
  background: #f7f7f7;
  width: 100%;
  display: inline-block;
}

a.result-image img {
  width: 100%;
}

div#client-public {
  display: inline-block;
  width: 100%;
}

div#client-results {
  margin-left: -20px;
  margin-right: -20px;
}

div#client-filters {
  display: inline-block;
}

.client-listview .list-item .result-image {
  max-width: 337.1px;
  float: left;
  margin-right: 20px;
}

.client-listview .list-item .inner-block {
  display: inline-block;
  width: calc(100% - 30px);
}

.client-listview ul li {
  list-style: none;
  color: #718088;
}

.client-listview {
  display: inline-block;
  width: 100%;
}
.pass-fail-table,
.footer li:last-child {
  border: none !important;
}

@media (min-width: 1200px) {
  .grid-item:nth-of-type(3n + 1) {
    clear: both;
  }
}

@media (max-width: 991px) {
  .grid-item:nth-of-type(2n + 1) {
    clear: both;
  }

  div#detailGrid #detailQuickView {
    display: block;
    width: 100%;
  }

  div#client-results {
    margin: 0 -10px !important;
  }

  .detailpage {
    overflow-x: hidden;
  }
}

@media (max-width: 767px) {
  #potency-detail table td {
    text-align: center;
  }

  form#courierform div.courier-col {
    padding: 20px 0 !important;
  }

  .footer {
    margin-left: 10px !important;
  }

  .footer li a {
    margin: 0 5px !important;
  }

  #potency-detail table tr {
    border-bottom: 1px solid #eee;
  }

  #potency-detail table tr td {
    padding: 10px 5px;
  }

  .highcharts-title {
    display: none;
  }

  #terpene_chart_percent,
  #terpene_chart_mg {
    margin-left: -100px;
  }

  .layout-switch {
    float: left;
    width: 100%;
    padding: 10px 15px !important;
  }

  div#client-filters ul.nav {
    margin: 0 !important;
  }

  div#clientprofileimage,
  #detailQuickView {
    width: 100% !important;
  }

  .client-listview .list-item .result-image {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .client-listview .list-item h3 {
    margin: 0 25px 10px;
  }

  .detail-row h3 {
    margin-top: 70px;
    max-width: 100%;
  }

  .detail-row h3 img {
    width: 30px;
    float: right;
  }

  #imageMagnifier,
  #imageMagnifier img {
    max-width: 100% !important;
    margin-right: 0 !important;
  }

  .detail-row {
    margin-left: -20px;
    width: calc(100% + 40px) !important;
  }

  #potency-detail table td {
    word-break: break-all;
    font-size: 14px;
    padding: 5px;
  }

  #potency-detail table td i {
    font-style: normal !important;
  }

  .potency-table {
    margin-left: -15px;
    margin-right: -15px;
  }

  ul.sorted-items li span:nth-of-type(2) {
    text-align: right;
  }

  #potency-detail table {
    width: 120%;
    margin: 20px 0;
  }

  .detail-row h3 div {
    float: right;
    margin: 5px 0;
  }

  .footer-full {
    padding: 0 10px;
  }
}

p.test-desc {
  clear: both;
  display: block;
}

.caret {
  background: url("../images/caret.8e02885722fb.png") no-repeat top left;
  margin: 0 0 0 5px !important;
  height: 10px;
  color: transparent;
}

.uploader .action {
  min-width: 250px;
}

/** Request Sampling **/

form#courierform {
  width: 1200px;
  max-width: 100%;
}

form#courierform div.courier-col {
  padding-left: 0 !important;
  padding-right: 20px;
}

form#courierform input {
  margin-bottom: 20px;
}

form#courierform select {
  margin-bottom: 20px;
}

.daterange-single {
  margin: 0 !important;
}

.courierform-review {
  width: 800px;
  max-width: 100%;
  margin: 20px 0;
  padding: 25px;
  border: 1px solid #bbb;
  border-radius: 3px;
}

.courierform-review p {
  color: #592c4f;
  font-weight: 500;
}

.pickadate {
  background-color: #ffffff !important;
  margin: 0 !important;
}

/** FAQ styles **/

div#portal-faq .panel {
  border: 1px solid #ddd;
}

div#portal-faq .panel-heading {
  background: #f7f7f7;
}

div#portal-faq .panel-heading h6 {
  color: #592c4f;
  font-weight: 500;
}

div#portal-faq h3 {
  margin-bottom: 20px;
}

div#portal-faq strong {
  font-weight: 500 !important;
}

.input-group {
  padding-right: 0 !important;
}

input#anytime-both {
  margin: 0 !important;
}

div #detailGrid .sharing-inner .tableinline {
  float: left;
  padding-left: 10px !important;
}

.sharing-inner {
  display: inline-block;
}

.picker--opened {
  display: block !important;
}

.content-wrapper .container {
  max-width: 1600px;
}

select#time {
  margin: 20px 0 0 0 !important;
}

.dropdown-menu {
  box-shadow: none !important;
}

select#time {
  margin-bottom: 10px !important;
}

form#courierform div.courier-col {
  color: #718088;
}

.downloadsamples {
  text-align: right;
  font-weight: 500;
}

.downloadsamples a {
  width: 240px;
  display: inline-block;
  text-align: left;
  padding-left: 40px;
}

.submission-item {
  border-top: 50px solid #f7f7f7;
  position: relative;
  background: #fdfdfd;
  border-radius: 3px;
  margin-bottom: 20px;
}

#more-sample {
  right: 10px;
}

.submission-item .popover {
  padding: 0 5px 5px 5px;
  font-size: 12px;
  text-align: center;
  color: #592c4f;
}

.metrc-sub-packages,
.failed-test {
  display: none;
}

.checker input[type="checkbox"],
.choice input[type="radio"] {
  color: #592c4f !important;
}

.choice span,
.checker span {
  border: 2px solid #592c4f;
  color: #592c4f;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
}

.file-actions {
  display: none;
}

.file-footer-caption {
  display: none;
}

.file-preview-frame {
  margin: 0 !important;
  width: 100%;
}

.file-preview-image {
  margin: 0 !important;
  transform: scale(1.01);
  max-width: 100%;
}

.close.fileinput-remove {
  display: block !important;
  z-index: 999;
  border-radius: 0 !important;
  top: -1px;
  right: -1px;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.upload-grid:nth-of-type(3) {
  clear: both;
}

ul.messages {
  margin: 20px;
  list-style: none;
  background: #f7f7f7;
  padding: 5px 10px;
}

ul.messages li.error {
  color: #d41717;
}

.detailchart {
  overflow: hidden;
}

#potency-detail table tr td {
  word-break: break-word !important;
}

/** sample submission **/
span.sample-title,
#less-sample,
#less-sample_disabled,
#more-sample,
#collapser,
#collapser_disabled {
  position: absolute;
  top: -41px;
}

span#collapser,
span#collapser_disabled {
  right: 10px;
}

span.sample-title {
  left: 20px;
  font-size: 17px;
  color: #718088;
  padding: 3px;
  font-weight: 500;
}

span#more-sample {
  right: 49px;
}

span#less-sample,
span#less-sample_disabled {
  right: 50px;
}

.submission-inner {
  padding: 30px 10px;
}

label.disabled:before {
  border-color: #ccc;
}

th:nth-of-type(4) a {
  padding-right: 0 !important;
}

form#courierform #div_id_location .controls:after,
form#courierform #div_id_time .controls:after {
  content: "\f0d7";
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: fontawesome;
  color: #592c4f;
}

div#ie-unsupported {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #eee;
  z-index: 9999999;
  justify-content: center;
  align-items: center;
  display: none;
}

div#ie-unsupported p {
  font-size: 24px;
  width: 600px;
  line-height: 30px;
  text-align: center;
  max-width: 90%;
}

form .alert.alert-block {
  clear: both;
  margin-top: 20px;
  max-width: 66.66%;
}

form .alert.alert-block ul {
  list-style: none;
  padding: 0;
}

form .alert.alert-block {
  background: #f7f7f7;
  border: none;
  color: #d41717;
  padding: 10px 20px;
  border-left: 4px solid;
  border-radius: 0 3px 3px 0;
}

ul.messages {
  padding: 10px 20px;
  border-left: 4px solid #613ac9;
}

.radio-inline,
.checkbox-inline {
  margin-left: 15px;
}

.sample-type .controls,
.sample-potency .controls,
.sample-test-type .controls,
.sample-testing-type .controls {
  margin-left: -15px;
}

.detail-inner-grid {
  margin-bottom: 20px;
}

.modal-header {
  background: #f7f7f7;
  padding: 10px 15px;
  color: #592c4f;
}

.modal-body {
  text-align: center;
  color: #718088;
}

.modal-content {
  font-size: 15px;
}

.modal-header .close {
  top: 13px;
}

.modal-footer {
  text-align: center;
}

span#more-sample {
  margin-bottom: 30px;
  display: block;
}

.modal-dialog {
  display: table;
  height: 90%;
}

.modal-inner {
  vertical-align: middle;
  display: table-cell;
}

@-webkit-keyframes bubble {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes bubble {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-o-keyframes bubble {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bubble {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.nav-pills {
  position: relative;
}

.sidebar a.has-ul:after {
  display: none;
}

a.main.has-ul {
  padding-right: 20px;
}

.sample-subtype:after,
.sample-batch-type:after {
  content: "\f107";
  font-family: fontawesome;
  position: absolute;
  top: 40px;
  right: 10px;
  font-weight: bold;
}

.submission-inner select {
  cursor: pointer;
}

.bg-info-700 {
  border-color: #ddd;
}

@media (max-width: 767px) {
  .upload-grid {
    width: 100% !important;
  }

  .downloadsamples a {
    display: none;
  }

  div #detailGrid .sharing-inner .tableinline {
    padding-left: 0 !important;
  }

  #detailGrid .initialcol:nth-of-type(2) {
    text-align: left;
  }

  #detailGrid .initialcol:nth-of-type(2) ul:first-child {
    padding-left: 0px !important;
    margin-left: -10px;
  }

  /* TODO: Revisit this when we start generating thumbnails at 600 x 450 that will look better 1 column full width on smaller devices */
  a.result-image img {
    width: auto !important;
    max-width: 100%;
  }

  a.result-image {
    background: #fafafa;
    text-align: center;
  }

  .detail-inner-grid,
  .detail-row {
    margin-bottom: 0 !important;
  }

  .navbar-fixed-top {
    position: fixed;
  }

  body {
    padding-top: 50px;
  }

  .sidebar {
    position: fixed !important;
  }

  .sidebar-content {
    overflow-y: scroll;
  }
}

@media (max-width: 1199px) {
  .initialcol:nth-of-type(2) {
    text-align: left;
  }

  div#moisture-detail {
    margin-top: 0 !important;
  }
}

@media (min-width: 768px) {
  div#courierstepthree form .col-lg-4.form-grid:nth-of-type(2) {
    padding-left: 0 !important;
  }

  div#courierstepthree form .col-lg-4.form-grid:nth-of-type(3) {
    padding-right: 0 !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  span.caret {
    display: none;
  }
}

@media (max-width: 991px) {
  span.caret {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
  }
}
