body{
    font-family: 'Open Sans', sans-serif;
}

.btn{
    font-family: 'Montserrat', sans-serif;
}

.alert{
    font-family: 'Montserrat', sans-serif;
}

img {
    max-width: 100%; /* This rule is very important, please do not ignore this! */
    image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges; /* Firefox                        */
    image-rendering: -o-crisp-edges; /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated; /* Chrome */
    image-rendering: optimize-contrast; /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor; /* IE8+                           */
}

canvas {
    max-width: 100%; /* This rule is very important, please do not ignore this! */
    image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges; /* Firefox                        */
    image-rendering: -o-crisp-edges; /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated; /* Chrome */
    image-rendering: optimize-contrast; /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor; /* IE8+                           */
}

footer {
    position: fixed;
    z-index: 1000;
}

table, td, th {
    text-align: center;
}

th {
    border-top: 1px solid #ddd !important;
}

.nav-buffer{
    margin-top: 50px;
}

a.navbar-brand {
    font-family: Montserrat;
    text-transform: uppercase;
    color: white !important;
}

.navbar-bottom {
    margin-bottom: 0;
}

.navbar-collapse {
    text-align:center;
}
.navbar-nav {
    display:inline-block;
    float:none;
}

.min-height{
    min-height: 200px;
}

.full-width {
    width: 100%;
}

.top-buffer {
    margin-top: 20px;
}

.no-pad {
    padding: 0;
}

h1, h2, h3, h4, h5 {
    font-family: Montserrat;
}

pre {
    background: transparent;
    border: none;
}

.animate {
    transition: all 0.2s ease;
}

.alert {
    border-radius: 0px;
}

.btn {
    border-radius: 0px;
}

.btn:focus {
    outline: 0px !important;
}

.modal-content {
    border-radius: 0;
}

.end-margin {
    margin-bottom: 140px;
}

.about {
    position: absolute;
    width: 100%;
    z-index: 999999999999;
    background: #151515;
    color: white;
    padding-top: 50px;
}

.close-img {
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    filter: invert(100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(#5a99d4, .5);
}

.close-img:hover {
  -webkit-animation: none;
}

.hr-section {
    width: 100%;
    height: 20px;
    border-bottom: 1px solid black;
    text-align: left;
    margin-bottom: 15px;
}

.hr-section > span {
    font-size: 20px;
    background-color: white;
    padding-right: 10px;
    line-height: 38px;
}

.is-frozen {
    filter: blur(5px) grayscale(100%);
    -webkit-filter: blur(5px) grayscale(100%);
    cursor: not-allowed !important;
}

/*Footer*/

.footer-expanded {
    bottom: 0;
}

.footer-collapsed {
    bottom: -140px;
}

.log-container {
    margin-right: 15px;
}

/*Log*/

#log {
    height: 140px;
    overflow: auto;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-family: monospace;
    padding: 0px 20px;
}

#log::-webkit-scrollbar {
    width: 12px;
}

#log::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 50px rgb(0, 0, 0);
    border-radius: 0px;
}

#log::-webkit-scrollbar-thumb {
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 50px rgb(255, 255, 255);
}

.log-number {
    color: cyan;
}

.log-btn {
    border-radius: 0px;
    width: 100%;
    padding: 0px;
    background: black !important;
    border: 0px;
}

/*Cropper*/

.cropper-crop-box, .cropper-drag-box, .cropper-move, .cropper-wrap-box, .cropper-container, .cropper-bg, .cropper-canvas {
    transition: none;
}

/*Render Gallery*/

.render-gallery {
    list-style: none;
    margin-left: -40px;
    margin-top: 0px;
}

.thumbnail {
    padding: 0;
    margin-bottom: 34px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img {
    width: 100%;
}

/*Reconstruction*/

#reconst-canvas {
    width: 100%;
}

#reconst-outer > img, #render-outer > img {
    width: 100%;
}

/*Analyzer*/

.cropper-canvas-container {
    width: 100%;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.cropper-canvas-container > canvas {
    width: 100%;
}

#cleanse-detection {
    font-size: 18px;
}

.post-processing {
    width: 50%;
    font-size: 18px;
}

#is-frozen-message-alert {
    text-align: center;
    font-size: 17px;
    margin-bottom: 0;
}

#is-frozen-message-alert > strong {
    text-decoration: underline;
}

#download-image-link {
    color: white;
    text-decoration: blink;
}

/*Analyzer Sensitivity*/

input[type=range] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 12.8px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: #4285f4;
    border-radius: 0px;
    border: 0px solid #000101;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 20px;
    width: 39px;
    border-radius: 0px;
    background: #0d47a1;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -3.6px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #4285f4;
}

.range-info {
    font-weight: bold;
}

#input-threshold {
    margin: 6px 0;
    height: 42px;
    padding: 5px;
    box-sizing: inherit;
    width: 100%;
}

#set-threshold {
    height: 42px;
    background: #4285f4;
    border-color: #4285f4;
}

#set-threshold:hover {
    background: #0d47a1;
    border-color: #0d47a1;
}

/*SVG For Fireflies*/

#indicator-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.selector-circle {
    stroke: cyan;
    stroke-width: 1px;
    fill: rgba(255, 255, 255, 0);
    cursor: pointer;
}

.selector-current {
    stroke: red;
    stroke-width: 3px;
}

/*Selection Guide*/

.selection-guide {
    text-align: center;
    font-weight: bold;
    height: 50px;
}

.pixel-info > td {
    font-weight: bold;
}

.pixel-table {
    width: calc(100% - 144px);
    float: left;
}

/*Samples Chart*/

#samples-chart-outer {
    width: 100%;
    height: 195px;
}

#samples-chart-wrapper {
    /*border: 1px solid #e1e1e1;*/
    padding: 0;
}

#samples-controls {
    padding: 0 0 0 5px;
    text-align: center;
}

.samples-chart-button {
    height: 38px;
    width: 38px;
    padding: 2px;
    float: right;
    margin-bottom: 10px;
    margin-left: 10px;
}

#legend {
    margin-top: 10px;
}

/*Modal Custom*/

.modal-backdrop-custom {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: rgba(0, 0, 0, .5);
}

/*Path Chart*/

.td-show-detail {
    background: url(https://maxcdn.icons8.com/windows10/PNG/32/Messaging/visible-32.png);
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    width: 50px !important;
}

.td-hide-detail {
    background: url(https://maxcdn.icons8.com/windows10/PNG/32/Messaging/invisible-32.png);
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    width: 50px !important;
}

.path-tr-eliminate {
    background: url(https://maxcdn.icons8.com/iOS7/PNG/32/Very_Basic/minus-32.png);
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.path-tr-eliminate.checked {
    background: url(https://maxcdn.icons8.com/iOS7/PNG/32/Very_Basic/plus_filled-32.png);
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.paths-table {
    border: none !important;
}

.hidden-header {
    border: 0 !important;
    opacity: 0;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.animated.hinge {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}

.animated.flipOutX,
.animated.flipOutY,
.animated.bounceIn,
.animated.bounceOut {
  -webkit-animation-duration: .75s;
  animation-duration: .75s;
}

@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
}
