/*!
 * # Semantic UI 2.7.2 - Site
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */


/*******************************
             Page
*******************************/

@import url('https://fonts.googleapis.com/css?family=Nunito:400,700,800');
html,
body {
  height: 100%;
}
html {
  font-size: 14px;
}
body {
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  min-width: 320px;
  background: #f5f5f5;
  font-family: 'Nunito', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4285em;
  color: rgba(0, 0, 0, 0.87);
  font-smoothing: antialiased;
}

.clear {
  clear: both;
}


/*******************************
             Headers
*******************************/

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Nunito', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  line-height: 1.28571429em;
  margin: calc(2rem -  0.14285714em ) 0em 1rem;
  font-weight: bold;
  padding: 0em;
}
h1 {
  min-height: 1rem;
  font-size: 2rem;
}
h2 {
  font-size: 1.5rem;
  color: #515B69;
  font-weight: normal;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1.07142857rem;
}
h5 {
  font-size: 1.1rem;
  font-weight: normal;
}
h5 a {
  color: inherit;
  display: block;
}

h5 a:hover {
  color: inherit;
}

h6 {
  font-size: 0.9rem;
  font-weight: normal;
  margin: 0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child {
  margin-top: 0em;
}
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child {
  margin-bottom: 0em;
}


/*******************************
             Text
*******************************/

p {
  margin: 0em 0em 1em;
  line-height: 1.4285em;
}
p:first-child {
  margin-top: 0em;
}
p:last-child {
  margin-bottom: 0em;
}

/*-------------------
        Links
--------------------*/

a {
  color: #0399EB;
  text-decoration: none;
}
a:hover {
  color: #1678c2;
  text-decoration: none;
}


/*******************************
         Scrollbars
*******************************/



/*******************************
          Highlighting
*******************************/


/* Site */
::-webkit-selection {
  background-color: #E0F3FE;
  color: rgba(0, 0, 0, 0.87);
}
::-moz-selection {
  background-color: #E0F3FE;
  color: rgba(0, 0, 0, 0.87);
}
::selection {
  background-color: #E0F3FE;
  color: rgba(0, 0, 0, 0.87);
}

/* Form */
textarea::-webkit-selection,
input::-webkit-selection {
  background-color: rgba(100, 100, 100, 0.4);
  color: rgba(0, 0, 0, 0.87);
}
textarea::-moz-selection,
input::-moz-selection {
  background-color: rgba(100, 100, 100, 0.4);
  color: rgba(0, 0, 0, 0.87);
}
textarea::selection,
input::selection {
  background-color: rgba(100, 100, 100, 0.4);
  color: rgba(0, 0, 0, 0.87);
}

/* Force Simple Scrollbars */
body ::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
}
body ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0px;
}
body ::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.25);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
body ::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.15);
}
body ::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 135, 139, 0.8);
}

/* Inverted UI */
body .ui.inverted::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}
body .ui.inverted::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
}
body .ui.inverted::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(255, 255, 255, 0.15);
}
body .ui.inverted::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}


/*******************************
        Global Overrides
*******************************/

/*--------------
    Vertical Sidebar Navigation
---------------*/

.ui.vertical.menu {
  border-color: #f1f1f1!important;
  -webkit-box-shadow: 0px 1px 3px 0 rgba(100, 100, 100, 0.10)!important;
          box-shadow: 0px 1px 3px 0 rgba(100, 100, 100, 0.10)!important;
}

.ui.vertical.menu .item {
  color: #9A9CA3!important;
}

.ui.vertical.menu .active.item, .ui.vertical.menu .active.item:hover {
  color: #167B91!important;
  background: rgba(22, 123, 145, 0.05)!important;
}

.ui.vertical.menu .item:hover {
  background: transparent!important;
  color: #515B69!important;
}

/*--------------
    Logo
---------------*/

.logo {
  padding: 5px 0 5px 15px;
}

.logo img {
  padding: 13px 0 0 5px;
}

.logo i {
  vertical-align: top;
  padding-top: 15px;
  color: #9A9CA3!important;
  font-size: 1.2em!important;
}

.logo i:hover {
  color: #515B69!important;
}


/*--------------
    Top Header
---------------*/

.ui.top-nav {
  margin-top: 20px;
  min-height: 30px;
}

.ui.top-nav h4.header {
  color: #9A9CA3!important;
  font-size: 1.2rem!important;
  font-weight: normal!important;
  padding-top: 0!important;
}

.ui.top-nav .dropdown {
  vertical-align: middle;
  /*margin-left: 10px;*/
}

.ui.top-nav .basic.button {
  padding: 0 5px!important;
}

.ui.top-nav .basic.button:hover {
  background: transparent!important;
}
/* Icon Font  */
.ui.top-nav .header > .icon {
  font-size: 1.4rem!important;
}

/* Sizing  */
.ui.top-nav .header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  font-size: 1em!important;
}

/*--------------
    Main Content
---------------*/

.main {
  width: calc( 100% - 19rem )!important;
  margin: 0 2rem 0 17rem!important;
}



/*--------------
    Tabs
---------------*/

/* Default */
.ui.tabular.menu .item {
  background: #E4E4E4!important;
  border-radius: 0.28571429rem 0.28571429rem 0px 0px !important;
  margin-right: 5px;
  font-weight: bold;
  color: #515B69!important;
}

/* Active */
.ui.tabular.menu .active.item {
  background: #fff!important;
  color: #0399EB!important;
  border-color: #f1f1f1!important;
  -webkit-box-shadow: 0px 1px 3px -1px rgba(100, 100, 100, 0.10)!important;
          box-shadow: 0px 1px 3px -1px rgba(100, 100, 100, 0.10)!important;
}

/* No BG */
.ui.tabular.menu .no-bg.item {
  background: transparent!important;
  color: #909496!important;
  font-weight: normal!important;
}

/* No BG Active */
.ui.tabular.menu .no-bg.active.item {
  background: #fff!important;
  font-weight: bold!important;
  color: #0399EB!important;
}


/*--------------
    Tab Container Segment
---------------*/

.ui.tabular.menu {
  border-color: #f1f1f1!important;
}

/* Middle */
.ui.attached.segment {
  border-color: #f1f1f1!important;
  -webkit-box-shadow: 0px 1px 3px -1px rgba(100, 100, 100, 0.10)!important;
          box-shadow: 0px 1px 3px -1px rgba(100, 100, 100, 0.10)!important;
}

/* Bottom */
.ui.segment[class*="bottom attached"] {
  border-top-right-radius: 0.28571429rem!important;
}

/* Prototype */



/*--------------
      Float Left / Right Helpers
---------------*/

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

/*--------------
      Text Align Helpers
---------------*/
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}


/*--------------
      Margins Helpers
---------------*/
.margin-0 {
  margin: 0!important;
}

.margin-5 {
  margin: 5px!important;
}

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

.padding-0 {
  padding: 0!important;
}

.padding-5 {
  padding: 5px!important;
}

.padding-10 {
  padding: 10px!important;
}

.margin-left-0 {
  margin-left: 0!important;
}

.margin-top-0 {
  margin-top: 0!important;
}

.margin-bottom-0 {
  margin-bottom: 0!important;
}

.margin-right-0 {
  margin-right: 0!important;
}

.margin-left-5 {
  margin-left: 5px!important;
}

.margin-top-5 {
  margin-top: 5px!important;
}

.margin-bottom-5 {
  margin-bottom: 5px!important;
}

.margin-right-5 {
  margin-right: 5px!important;
}

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

.margin-top-10 {
  margin-top: 10px!important;
}

.margin-top-15 {
  margin-top: 15px!important;
}

.margin-top-20 {
  margin-top: 20px!important;
}

.margin-top-30 {
  margin-top: 30px!important;
}

.margin-top-40 {
  margin-top: 40px!important;
}

.margin-bottom-0 {
  margin-bottom: 0!important;
}

.margin-bottom-10 {
  margin-bottom: 10px!important;
}

.margin-right-10 {
  margin-right: 10px!important;
}

.margin-left-20 {
  margin-left: 20px!important;
}

.margin-top-20 {
  margin-top: 20px!important;
}

.margin-bottom-20 {
  margin-bottom: 20px!important;
}

.margin-right-20 {
  margin-right: 20px!important;
}

.padding-left-10 {
  padding-left: 10px!important;
}

.padding-top-10 {
  padding-top: 10px!important;
}


.padding-top-0 {
  padding-top: 0!important;
}

.padding-bottom-0 {
  padding-bottom: 0!important;
}

.padding-bottom-10 {
  padding-bottom: 10px!important;
}

.padding-right-10 {
  padding-right: 10px!important;
}


.padding-left-15 {
  padding-left: 15px!important;
}

.padding-top-15 {
  padding-top: 15px!important;
}

.padding-bottom-15 {
  padding-bottom: 15px!important;
}

.padding-right-15 {
  padding-right: 15px!important;
}

hr {
  border-top: 1px solid #EEEEEE;
  border-bottom: 0;
}

/*******************************
         Site Overrides
*******************************/
a.close {
  color: #A1A5AD;
  font-weight: normal;
}

a.close i {
  font-size: 1.5rem;
  vertical-align: middle;
}

/* Order Details */

.order-details {
  padding: 30px!important;
}

.order-details h4, .couriers h4 {
  text-transform: uppercase;
  background: #fafafa;
  padding: 10px;
  box-shadow: 0 1px 2px #e1e1e1;
}

.order-details h4 span {
  text-transform: none;
  font-size: 0.9rem;
  font-weight: normal;
}

.order-details .ui.input {
  width: 100%;
}

.order-details .input .dropdown {
 width: 65%;
}

.order-details .ui.labeled.input {
  width: 65%;
}

.margin-left-35 {
  margin-left: 35%;
}

.order-details .labeled.input > .dropdown {
  width: 80px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #f1f1f1;
  padding: 0 2px 0 5px!important;
  line-height: 32px!important;
  /*border: 1px solid #ddd;*/
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.order-details .input label {
  width: 35%;
  line-height: 32px;
}

.order-details .input.not-editable label {
  line-height: 22px;
}

.order-details .input input {
  width: 55%;
}

.order-details .input input.smaller {
  width: 20%;
  min-width: auto;
  margin-left: 2.5%;
}

.order-details .table-label {
  padding-top: 2px;
}

/* Sticky Right Sidebar */
.overlay.fixed {

}


/* Communicator */
.communicator h5 a {
  border-bottom: 2px solid #DBDBDB;
  padding: 0.6em 1em;
  font-size: 1rem;
}

.alt-communicator-messages {
  max-height: 505px;
  overflow: auto;
}

.alt-communicator-messages-smaller {
  max-height: 295px;
  overflow: auto;
}

.alt-communicator h5 {
  padding: 0!important;
  font-size: 1rem;
  border-bottom: 0!important;
  margin-bottom: 0!important;
  color: #000000;
}

.alt-communicator h5 a {
  color: #000000;
}

.alt-communicator hr {
  border-top-color: #E0E0E0;
}

.alt-communicator p {
  font-size: 1rem;
  margin: 15px 0;
  width: 95%;
}

.alt-communicator .date {
  color: #909496;
  font-weight: bold;
}

.discreet {
  color: #909496;
}

/* Tracking */

.tracking-steps-grid {
  margin-left: 9.5% !important;
}

.tracking-steps-header {
  display: inline-block;
  margin-top: 25px;
  margin-right: 3px;
}

.tracking, .tracking-disabled {
  padding: 10px 0!important;
  min-height: 90px;
}

.tracking h6 {
  color: #515B69;
  padding-bottom: 5px;
}

.tracking-disabled h6 {
  color: #CDCED0;
  padding-bottom: 5px;
}

.tracking .progress-bar, .tracking-disabled .progress-bar {
  background: #eee;
  height: 3px;
  width: 100%;
  display: block;
  margin-top: 21px;
}

.tracking .progress-bar .fill {
  background: #0399EB;
  height: 3px;
  display: block;
  width: 0%;
}

.tracking .progress-bar .fill.fill-50 {
  width: 50%;
}

.tracking .progress-bar .fill.fill-100 {
  width: 100%;
}

.pending-pickup-icon, .in-transit-icon, .delivery-in-progress-icon, .delivered-icon {
  position: absolute;
}

.tracking-error-message {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  min-height: 1em;
  margin: 2em 0;
  background: #FCEDED;
  padding: 1em 1.5em;
  line-height: 1.4285em;
  border-radius: 0.28571429rem;
  color: rgba(0, 0, 0, 0.87);
  -webkit-transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
  transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
  transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease, -webkit-box-shadow 0.1s ease;
  border-radius: 0.28571429rem;
  border-left: 2px solid #ED9D9D;
}

.tracking-error-message > .icon {
  margin-right: 1em;
  color: #C65356;
  font-size: 2em;
}

.tracking-error-message p {
  margin-bottom: 2px;
}

p.tracking-message {
  color: #515B69;
}

.tracking-steps-header::before{
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  content: '';
  border-radius: 50%;
}

.yellow-1.tracking-steps-header::before {
  background-color: #F3D835;
}

.blue.tracking-steps-header::before {
  background-color: #0471AD;
}

.yellow-2.tracking-steps-header::before {
  background-color: #DB962D;
}

.green.tracking-steps-header::before {
  background-color: #1E9679;
}

/* Modals */

.ui.modal {
  display: block !important;
  width: 50%;
  min-width: 600px;
  left: 25%;
  top: 15%;
  position: absolute;
  z-index: 111;
  box-shadow: 0 0 20px #ccc!important;
}

.ui.modal .header {
  background: #f1f1f1!important;
  border-bottom: 0!important;
  height: 150px!important;
  text-align: center;
  color: #515B69!important;
  font-weight: normal!important;
  padding-top: 30px!important;
}

.ui.modal .description {
  text-align: center;
}

.ui.modal .modal-steps {
  width: 460px;
  margin: -50px auto 0 auto;
}

.ui.modal .modal-step {
  float: left;
  display: block;
}
.ui.modal .modal-step .step1, .ui.modal .modal-step .step2, .ui.modal .modal-step .step3 {
  width: 100px;
  height: 100px;
  float: left;
  display: block;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px #ccc;
  border-radius: 50%;
  text-align: center;
  padding-top: 15px;
}

.ui.modal .modal-step .active {
  border-color: #0399EB;
}

.ui.modal .modal-step .modal-step-title {
  color: #A1A5AD;
  text-transform: uppercase;
  font-size: 11px;
}

.ui.modal .modal-step p {
  font-size: 12px;
  text-transform: none;
  color: #000000;
  padding-top: 5px;
}

.ui.modal .modal-progress-bar {
  background: #e1e1e1;
  height: 3px;
  width: 80px;
  display: block;
  margin-top: 50px;
  float: left;
}

.ui.modal .modal-progress-bar .modal-fill {
  background: #0399EB;
  height: 3px;
  display: block;
  width: 0;
}

.ui.modal .modal-progress-bar .modal-fill.modal-fill-50 {
  width: 40px;
}

.ui.modal .modal-progress-bar .modal-fill.modal-fill-100 {
  width: 80px;
}

.ui.modal .description .message-big {
  font-size: 20px;
}

.ui.modal .description .message-big .blue {
  color: #0399EB;
}

.ui.modal .description .message-normal {
  font-size: 18px;
  color: #909496;
}

.ui.modal .description .message-normal  .green {
  color: #29D97A;
}

.ui.modal .description .message-small {
  font-size: 14px;
  color: #909496;
}

.ui.modal .description .progress {
  width: 200px;
  margin: 0 auto 20px auto;
}

.ui.modal .description .green.progress .bar {
  height: 8px!important;
  background: #29D97A;
}

.ui.modal .actions {
  border-top: 0!important;
  text-align: center!important;
  background: transparent!important;
}

.overlay-modal {
  background: #f1f1f1!important;
  width: 100%;
  height: 120%;
  top: 0;
  left: 0;
  z-index: 111;
  opacity: 0.9;
  position: absolute;
}


@media only screen and (max-width: 600px) {

  .main {
    width: 100%!important;
    margin: 0!important;
    padding: 0 1rem!important;
  }

  .pull-left.mobile {
    float: none;
  }

  .pull-right.mobile {
    float: none;
  }

  .order-details {
    padding: 20px!important;
  }

  .order-details img {
    width: 100%;
  }

  .ui.modal {
    display: block!important;
    width: 95%!important;
    min-width: 90%!important;
    left: 2.5%!important;
    top: 20px;
  }

  .ui.modal .modal-steps {
    margin-top: -25px;
    width: 90%;
  }

  .ui.modal .modal-step .step1, .ui.modal .modal-step .step2, .ui.modal .modal-step .step3 {
    width: 50px;
    height: 50px;
    overflow: hidden;
    padding-top: 0;
    line-height: 46px;
  }

  .ui.modal .modal-progress-bar {
    margin-top: 25px;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1025px) {
  .main {
    width: 100%!important;
    margin: 0!important;
    padding: 0 1rem!important;
  }

  .order-details {
    padding: 20px!important;
  }
}
.shipment-print{
  min-height: 1000px;
}
.embedded{
  min-height: 800px;
  margin-top: 26px;
}

.ui.dropdown .menu{
  left: auto;
  right: 0px;
}
