/* Minification failed. Returning unminified contents.
(858,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
 */
html {
  overflow: auto !important; /*get scrollbars back splitter adds hidden to the html element*/
}

body {
  background-color: #2471B9;
}

.mainContentPane {
  background: url(../Images/baggrund.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #2471B9;
}

h4 {
  margin-bottom: 8px;
}


#copyright-text {
  position: fixed;
  bottom: 0;
  margin-left: -75px;
  margin-bottom: 2px;
  left: 50%;
  color: #fff;
  font-size: small;
}


/*.truncated {
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}*/
.addressfile-price-table {
  margin: auto;
}

.info-table, .addressfile-price-table {
  border-collapse: collapse;
}

  .info-table td, .addressfile-price-table td {
    padding: 0.5em;
    border: 1px solid #cfcfcf;
    border-collapse: collapse;
  }

  .info-table th, .addressfile-price-table th {
    padding: 0.5em;
    border: 1px solid #cfcfcf;
    border-collapse: collapse;
    /*background-color: #dcdcdc;*/
    text-align: left;
    font-weight: 600;
    color: #167ecb;
  }

  .info-table .inner-table tr:first-child td {
    border-top: 0;
  }

  .info-table .inner-table tr:first-child th {
    border-top: 0;
  }

  .info-table .inner-table tr td:first-child {
    border-left: 0;
  }

  .info-table .inner-table tr th:first-child {
    border-left: 0;
  }

  .info-table .inner-table tr:last-child td {
    border-bottom: 0;
  }

  .info-table .inner-table tr:last-child th {
    border-bottom: 0;
  }

  .info-table .inner-table tr td:last-child {
    border-right: 0;
  }

  .info-table .inner-table tr th:last-child {
    border-right: 0;
  }

  .addressfile-price-table td {
    text-align: left;
  }

.noXButton .dxeEditAreaSys::-ms-clear {
  display: none;
}

.mapHeaderInfo {
  border-collapse: collapse;
  margin: 15px 10px;
}

  .mapHeaderInfo th {
    text-align: right;
    font-weight: 700;
  }

  .mapHeaderInfo td {
    text-align: left;
    padding-left: 5px;
  }

.background-image {
  zoom: 1;
  display: block;
  margin: auto;
  height: auto;
  max-height: 100%;
  width: auto;
  max-width: 100%;
}

/*
#DialogPosition {
    position: fixed;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background: url(../Images/baggrund.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #2471B9;
}
    */
.compress {
  height: 100px;
}

.full-image {
  display: none;
  position: fixed;
  z-index: 10000;
}

  .full-image img {
    height: 750px;
  }

/*sets width of labels to align comboboxes in ribbon*/
.tarpRibbonComboItem .dxr-lblText {
  width: 50px;
  text-align: right;
}

.tarpRibbonComboItemLarge .dxr-lblText {
  width: 65px;
  text-align: right;
}

.ribbonComboError::after {
  content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABsElEQVR42pWSTUgCQRTH38S2GkQGUZc8RJeQOhiskJGHPqUOQgRB4KVLEUF06hAIEgZ17BLdOwoiRBBbnsJDBXXogxLEvtAKCsWPddxdpzfWKTxMA8PMf2beb9778whjDP6OFCEAzc1rFq93RTcM81NVtyuatjtQ5y2pC2ho8LeGQvtNExPAb7+iUXje3PS5GTsQArz29Z20rK+PmpoGVdRMluExGIwoyeSMEODF7X5p8vnsRrn8A7BYIBMOp5Srq26xEhyOlOzxdBm6DibqamMjfMRiicFkskcIcN/WpsqKMq5XqzWAgaZ+np9HhrNZsRKuJSlA7PYNQ5JAR12hFArp9KrXNHeEAJeEOA2ACwyWagAADTPpn2TsQQhwhimjeYcYPMUBOMOoZ6dE++CUNxLAGP56XOEeAAzhEhcGxH4A3MAoBmu4neNaGJD7BWQARr4AaB5/p6h9ogDgAJst8OBybXD5HI8vFTRtb/ofgE6qKLd5j8eWx/uEqj6l7+565xkrCgGKhLQXrNabD1nueOelUHpfotS5yBgVArxhCSUA/yvAFvpAcwDLeHy0UOftNxag7OFvGE08AAAAAElFTkSuQmCC') /*../Images/Problem.png*/;
  position: relative;
  top: 5px;
}

/*for hiding close button on dialog elements*/
.no-close .ui-dialog-titlebar-close {
  display: none;
}

/*make resize handle bigger*/
.ui-resizable-n {
  height: 14px;
}

.ui-resizable-s {
  height: 14px;
}

.ui-resizable-e {
  width: 14px;
}

.ui-resizable-w {
  width: 14px;
}

/*for drag drop on route planning*/
.draggingStyle {
  background-color: lightblue;
  cursor: grabbing;
}

.targetRow {
  background-color: lightgreen;
}

  .targetRow tr {
    background-color: lightgreen;
  }

.table {
  display: table;
}

.row {
  display: table-row;
}

.cell {
  display: table-cell;
  vertical-align: middle;
  padding: 0 5px 15px 5px;
}

.bgGreen {
  background-color: #C0DCC0;
}

.dxgvFocusedRow_TarpBlue.bgGreen,
.dxgvFocusedRow_TarpBlue td.bgGreen,
.dxgvSelectedRow_TarpBlue.bgGreen,
.dxgvSelectedRow_TarpBlue td.bgGreen {
  background-color: #90AC90;
  color: #FFFFFF;
}

.bgLightCoral {
  background-color: #F08080;
}

.dxgvFocusedRow_TarpBlue.bgLightCoral,
.dxgvFocusedRow_TarpBlue td.bgLightCoral,
.dxgvSelectedRow_TarpBlue.bgLightCoral,
.dxgvSelectedRow_TarpBlue td.bgLightCoral {
  background-color: #C05050;
  color: #FFFFFF;
}

.bgLigthYellow {
  background-color: #FFFF91;
}

.dxgvFocusedRow_TarpBlue.bgLigthYellow,
.dxgvFocusedRow_TarpBlue td.bgLigthYellow,
.dxgvSelectedRow_TarpBlue.bgLigthYellow,
.dxgvSelectedRow_TarpBlue td.bgLigthYellow {
  background-color: #AAAA41;
  color: #FFFFFF;
}

.bgGrey {
  background-color: #CFCFCF;
}

.dxgvFocusedRow_TarpBlue.bgGrey,
.dxgvFocusedRow_TarpBlue td.bgGrey,
.dxgvSelectedRow_TarpBlue.bgGrey,
.dxgvSelectedRow_TarpBlue td.bgGrey {
  background-color: #909090;
  color: #FFFFFF;
}

.bgLightBlue {
  background-color: #76BFFF;
}

.dxgvFocusedRow_TarpBlue.bgLightBlue,
.dxgvFocusedRow_TarpBlue td.bgLightBlue,
.dxgvSelectedRow_TarpBlue.bgLightBlue,
.dxgvSelectedRow_TarpBlue td.bgLightBlue {
  background-color: #216AAA;
  color: #FFFFFF;
}

.routePlanningContainerCaller {
  background-color: lightgoldenrodyellow;
}

.dxgvFocusedRow_TarpBlue.routePlanningContainerCaller,
.dxgvFocusedRow_TarpBlue td.routePlanningContainerCaller,
.dxgvSelectedRow_TarpBlue.routePlanningContainerCaller,
.dxgvSelectedRow_TarpBlue td.routePlanningContainerCaller {
  background-color: #B4B48C;
  color: #FFFFFF;
}

.dxgvFocusedRow_TarpBlue.routePlanningContainerIsAlwaysOnRoute,
.dxgvFocusedRow_TarpBlue td.routePlanningContainerIsAlwaysOnRoute {
  color: #87ff00;
}

.routePlanningContainerIsAlwaysOnRoute,
.dxgvDataRowHover_TarpBlue.routePlanningContainerIsAlwaysOnRoute {
  color: #006400;
}

.dxgvFocusedRow_TarpBlue.routePlanningVisitTypeUsed,
.dxgvFocusedRow_TarpBlue td.routePlanningVisitTypeUsed {
  color: #d4ebff;
}

.routePlanningVisitTypeUsed,
.dxgvDataRowHover_TarpBlue.routePlanningVisitTypeUsed {
  color: #0000FF;
}

.dxgvFocusedRow_TarpBlue.routePlanningDatesUsed,
.dxgvFocusedRow_TarpBlue td.routePlanningDatesUsed {
  color: #d4ebff;
}

.routePlanningDatesUsed,
.dxgvDataRowHover_TarpBlue.routePlanningDatesUsed {
  color: #008CFF;
}

.dxgvFocusedRow_TarpBlue.routePlanningContainerIsOnlyEmptiedInDateInterval,
.dxgvFocusedRow_TarpBlue td.routePlanningContainerIsOnlyEmptiedInDateInterval {
  color: #fef0f0;
}

.routePlanningContainerIsOnlyEmptiedInDateInterval,
.dxgvDataRowHover_TarpBlue.routePlanningContainerIsOnlyEmptiedInDateInterval {
  color: #8B0000;
}

.dxgvFocusedRow_TarpBlue.routePlanningContainerIsNotEmptiedInDateInterval,
.dxgvFocusedRow_TarpBlue td.routePlanningContainerIsNotEmptiedInDateInterval {
  color: #ffecdf;
}

.routePlanningContainerIsNotEmptiedInDateInterval,
.dxgvDataRowHover_TarpBlue.routePlanningContainerIsNotEmptiedInDateInterval {
  color: #FF0000;
}

.dxgvFocusedRow_TarpBlue.routePlanningGreyed,
.dxgvFocusedRow_TarpBlue td.routePlanningGreyed {
  color: #e0e0e0;
}

.routePlanningGreyed,
.dxgvDataRowHover_TarpBlue.routePlanningGreyed {
  color: #C0C0C0;
}


.TreeNodeHeader {
  font-size: large;
}

.leftDropZone,
.rightDropZone,
.middleDropZone {
  margin-top: 120px;
  margin-bottom: 120px;
  float: left;
}

.leftDropZone {
  margin-left: 5%;
  margin-right: 3px;
}

.middleDropZone {
  margin-right: 3px;
}

.rightDropZone {
  margin-right: 5%;
}

.widget-center-text {
  width: 100%;
  text-align: center;
}

.widget-semitransparent {
  background: rgba(255,255,255,0.5) !important;
  border: 0 !important;
}

#WidgetTrucks_PW-1 {
  z-index: 1 !important; /*Hack to have widget stay behind dialogs*/
}

.widget-rejectedcallers-table td,
.widget-rejectedcallers-table th {
  text-align: left;
  padding: 1px 8px 0 0;
  font-size: 12px;
}

.widget-rejectedcallers-table tr td:nth-child(3) {
  text-align: right;
}

.widget-draftcallers-table td,
.widget-draftcallers-table th {
  text-align: left;
  padding: 1px 8px 0 0;
  font-size: 12px;
}

.widget-draftcallers-table tr td:nth-child(2) {
  text-align: right;
}

.widget-routeswithmissingactions-table td,
.widget-routeswithmissingactions-table th {
  text-align: right;
  padding: 1px 8px 0 0;
  font-size: large;
}

.widget-draftcallers-table th,
.widget-rejectedcallers-table th,
.widget-routeswithmissingactions-table th,
.widget-AcceptedCallersExpired-table th,
.widget-callersDone-table th,
.widget-trucksFinishedForToday-table th {
  border-bottom: 1px solid rgba(255,255,255,0.8);
}

.widget-WsCallLog-table {
  width: 100%;
}

  .widget-WsCallLog-table td,
  .widget-WsCallLog-table th {
    text-align: left;
    padding: 1px 6px 0 0;
    font-size: small;
  }

  .widget-WsCallLog-table th {
    border-bottom: 1px solid rgba(255,255,255,0.8);
  }

  .widget-WsCallLog-table tr th:nth-child(1) {
    min-width: 70px;
  }

  .widget-WsCallLog-table tr th:nth-child(2) {
    min-width: 70px;
  }

  .widget-WsCallLog-table tr th:nth-child(4) {
    min-width: 70px;
  }

  .widget-WsCallLog-table td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.widget-AcceptedCallersExpired-table {
  width: 100%;
}

  .widget-callersDone-table tr:hover,
  .widget-AcceptedCallersExpired-table tr:hover {
    border: 1px solid black;
    cursor: pointer;
  }


  .widget-AcceptedCallersExpired-table td,
  .widget-AcceptedCallersExpired-table th,
  .widget-callersDone-table td,
  .widget-callersDone-table th,
  .widget-trucksFinishedForToday-table td,
  .widget-trucksFinishedForToday-table th {
    text-align: left;
    padding: 1px 6px 0 0;
    font-size: small;
  }

  .widget-AcceptedCallersExpired-table tr td:nth-child(n-5) {
    text-align: right;
  }

.widget-callersDone-table tr td:nth-last-child(-n+4) {
  text-align: right;
}

.widget-trucksFinishedForToday-table tr td:nth-child(1) {
  text-align: right;
}

.widget-negativeweights-table {
  width: 100%;
}

  .widget-negativeweights-table tr td:nth-child(5) {
    padding-left: 4px;
  }

  .widget-negativeweights-table tr td:nth-child(6) {
    text-align: right;
  }

.widget-margin-auto {
  margin: auto;
}

/*.widget-sensorerrors-table {
  width: 100%;
}*/

.widget-sensorerrors-table a {
  text-decoration: underline;
  color: black;
}

.widget-sensorerrors-table td,
.widget-sensorerrors-table th {
  text-align: left;
  padding: 1px 8px 0 0;
  font-size: large;
}

.widget-sensorerrors-table tr td:nth-child(1) {
  text-align: right;
}

/*.widget-sensorerrors-table tr td:nth-child(2) {
  text-align: right;
}*/

.widget-sensorerrors-table tr td:nth-child(4) {
  text-align: right;
}

.float-right {
  float: right;
}

.centerDiv {
  margin-left: auto;
  margin-right: auto;
}

.caption-wrap {
  white-space: normal;
  word-wrap: break-word;
}

.largeLink {
  /*font-size: 16px;*/
  font-weight: bold;
  /*padding-right: 5px;*/
}

.pricetable {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

  .pricetable td {
    padding: 2px;
    text-align: right;
  }


.activeHover {
  background-color: lightblue !important;
}

.trucksWithDistanceCombo .dxeListBoxItemRow_TarpBlue td:last-child,
.trucksWithDistanceCombo .dxeListBoxItemRow_TarpBlue td:first-child {
  text-align: right;
}

.SitesComobobox .dxeListBoxItemRow_TarpBlue td:first-child {
  text-align: right;
}

.ribbonTrucksCombo .dxeListBoxItemRow_TarpBlue td:first-child {
  text-align: right;
}
/*set account column in appMessagesSiteSelector listbox right aligned*/
.appMessagesSiteSelector table table tr td:nth-child(2) {
  text-align: right;
}

/*Make devextreme tooltips apear above windows*/
.dxc-tooltip {
  z-index: 999;
}

.routeStatusOverviewLabel {
  cursor: pointer;
}

.error_text {
  color: red !important;
}

.unassinged-order-draggable {
  z-index: 111;
}

.container-comment-color-0 {
  color: #000000;
}

.container-comment-color-1 {
  color: #FF0000;
}

.container-comment-color-2 {
  color: #0000FF;
}

.container-comment-color-3 {
  color: #00FF00;
}

.container-comment-color-4 {
  color: #9932CC;
}

.container-comment-color-5 {
  color: #BDB76B;
}

.container-comment-color-6 {
  color: #B8860B;
}

.container-comment-color-7 {
  color: #9400D3;
}

.container-comment-color-8 {
  color: #E9967A;
}

.container-comment-color-9 {
  color: #8B008B;
}

.tarpTreeError {
  color: red;
}

.dxtv-ndSel .tarpTreeError {
  color: yellow;
}

.tarp-margin-auto {
  margin: auto;
}

.noOfUnreadMailItems {
  color: blue;
}

.dxtv-ndSel .noOfUnreadMailItems {
  color: white;
}

.dxgvControl_TarpBlue td.dxgvBatchEditModifiedCell_TarpBlue {
  color: black;
}

.file-upload-dropzone {
  box-sizing: border-box;
  border: 1px solid grey;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
}

.tarp-highlight-green {
  color: #318806;
  background-color: rgba(92, 197, 41, 0.5);
  border: 2px solid #65A644;
}

.invalid {
  box-sizing: border-box;
  border: 1px solid red;
  border-radius: 3px;
}

  .invalid:focus {
    outline: 2px solid red;
  }

.focusedAndSelected {
  font-weight: bold;
  font-style: italic;
}

.alert {
  background-color: lightcoral;
  color: black;
  font-weight: bold;
  border-color: red;
  border-width: 2px;
  padding: 5px;
}

.right {
  text-align: right;
}

.sitesCombo tr td:nth-child(1) {
  text-align: right;
}

.verticalText {
  transform: scale(-1);
  writing-mode: vertical-rl;
}

.error_background {
  background-color: red !important;
}

.autocomplete-container {
  /* relative position for at de absolut positionerede forslag får korrekt placering.*/
  position: relative;
  width: 100%;
  z-index: 9999;
  /*max-width: 40em;*/
}

  .autocomplete-container input {
    /* Både input og forslag får samme bredde som omkringliggende DIV */
    width: 100%;
    box-sizing: border-box;
  }

  .tab-group-overflow--visible {
    overflow-y:visible !important;
  }

.dawa-autocomplete-suggestions {
  width: 600px;
  margin: 0.3em 0 0 0;
  padding: 0;
  text-align: left;
  border-radius: 0.3125em;
  background: #eeeeee;
  box-shadow: 0 0.0625em 0.15625em rgba(0,0,0,.15);
  position: absolute;
  left: 0;
  right: 0;
  z-index: 9999;
  overflow-y: auto;
  box-sizing: border-box;
}

  .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
    margin: 0;
    list-style: none;
    cursor: pointer;
    padding: 0.4em 0.6em;
    color: black;
    border: 0.0625em solid #ddd;
    border-bottom-width: 0;
  }

    .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:first-child {
      border-top-left-radius: inherit;
      border-top-right-radius: inherit;
    }

    .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
      border-bottom-left-radius: inherit;
      border-bottom-right-radius: inherit;
      border-bottom-width: 0.0625em;
    }

    .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected,
    .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover {
      background: #2471B9;
      color: white;
    }


.dawa-above .dawa-autocomplete-suggestions {
  width: 100%;
  margin: 0.3em 0 0 0;
  padding: 0;
  text-align: left;
  border-radius: 0.3125em;
  background: #eeeeee;
  box-shadow: 0 0.0625em 0.15625em rgba(0,0,0,.15);
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  z-index: 9999;
  overflow-y: clip;
  box-sizing: border-box;
}

  .dawa-above .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
    margin: 0;
    list-style: none;
    cursor: pointer;
    padding: 0.4em 0.6em;
    color: black;
    border: 0.0625em solid #ddd;
    border-bottom-width: 0;
  }

    .dawa-above .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:first-child {
      border-top-left-radius: inherit;
      border-top-right-radius: inherit;
    }

    .dawa-above .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
      border-bottom-left-radius: inherit;
      border-bottom-right-radius: inherit;
      border-bottom-width: 0.0625em;
    }

    .dawa-above .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected,
    .dawa-above .dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover {
      background: #2471B9;
      color: white;
    }

    .popup-front {
      z-index: 13000 !important;
    }

  .popup-background-front {
    z-index: 12999 !important;
  }

  .ui-widget-overlay {
    z-index: 12749 !important;
  }

.declaration-popup-link:hover {
  background-color: #e8e8e8; 
  color: blue;
}

.ribbon-row-button {
  & .dxb {
    padding: 0 !important;
  }
}

.route-optimization-optimize-button {
  text-align: center;
  margin-top: 16px;
}

.optimizationResultGroup {
  margin-top:16px;
}
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

