

.thumb {
    height: 75px;
    border: 1px solid #000;
    margin: 2px 2px 2px 2px;
}

.thumb_match {
    height: 75px;
    border: 1px solid #00FF00;
    margin: 2px 2px 2px 2px;
}

.thumb_nomatch {
    height: 75px;
    border: 1px solid #FF0000;
    margin: 2px 2px 2px 2px;
}

.thumb_c {
    height: 75px;
    border: 1px solid #000;
    margin: 2px 2px 2px 2px;
    cursor: pointer;
}

.modal-wide {
    width: 90%;
}

.image-image {
    height: 76vh;
}

.image-container {
    text-align: center;
}

body{
}

/* start header */

.page-header{
  margin-top: 20px;
  background-color: #e51837;
  color: #fff;
  padding: 20px;
  word-wrap: break-word;
}

.how-to{
  padding: 20px 60px;
}

#detect_bestface{
  margin-bottom: 50px;
}

input[type="file"] {
  position: fixed;
  right: 100%;
  bottom: 100%;
}

.custom-file-upload {
    border: 2px solid #fff;
    display: inline-block;
    padding: 6px 25px;
    cursor: pointer;
    margin-top: 10px;
    position: relative;
    left: 150px;
}

.custom-icon{
  margin-right: 5px
}

.custom-url{
  border: 2px solid #fff;
  display: inline-block;
  padding: 6px 10px;
  margin-top: 10px;
  position: relative;
  right: 150px;
}


.send-image{
  padding: 2px 10px;
  position: relative;
}

.url{
  display: inline-block;
  position: relative;
}

.start-detection{
  border: 2px solid #fff;
  display: inline-block;
  padding: 6px 30px;
  cursor: pointer;
  background-color: transparent !important;
  color: #fff;
  margin-top: 10px;
  position: relative;
  right: 141px;
  font-weight: bold;
}



@media (max-width:1100px) {
  .custom-file-upload,
  .custom-url,
  .start-detection{
    padding: 6px 10px;
  }

  .custom-file-upload{
      left: 40px;
  }

  .custom-url{
    right: 40px;
  }

  .start-detection{
    right: 31px;
  }

}



@media (max-width:1000px) {
  .image-upload{
    top: -7px;
    right: -105px;
  }
}

@media (max-width:600px) {
  .image-upload{
    top: -17px;
    right: 55px;
  }
}

@media (max-width:500px) {
  .custom-file-upload,
  .custom-url,
  .start-detection{
    padding: 6px 40px;
    float: none;
    text-align: center;
  }
  .custom-url{
    width: 200px;
  }
}



/* end header */

/* start face-detect */

.face-detect{
  background-color: #f4f4f4;
  margin-top: 20px;
  padding: 10px 0 0px 0;
  position: relative;
}

.face-detect .carousel-inner > .item > img{
  margin-bottom: 20px;
  float: none;
  display: block;
  text-align: center;
}

.face-detect .detection{
  position: relative;
}

.face-detect .detection .detection-box{
  position: relative;
  width: 50px;
  height: 50px;
  border: 2px solid #800;
  top: 280px;
  left: 490px;
  z-index: 999;
  cursor: pointer;
}

.face-detect .detection .pop-up{
  width: 445px;
  padding: 10px;
  background-color: rgba(249, 255, 255, 1);
  position: absolute;
  border-radius: 10px;
  top: 279px;
  left: 35px;
  z-index: 1000;
  color: #000;
  display: none;
  color: #625e5e
}



@media (max-width:800px) {
  .face-detect .detection .detection-box{
    top: 170px;
    left: 490px;
  }
  .face-detect .detection .pop-up{
    top: 169px;
    left: 35px;
  }
}

@media (max-width:800px) {
  .face-detect .detection .detection-box{
    top: 170px;
    left: 230px;
  }
  .face-detect .detection .pop-up{
    top: 169px;
    left: 16px;
    width: 350px;
  }
}

@media (max-width:400px) {
  .face-detect .detection .detection-box{
    top: 170px;
    left: 230px;
  }
  .face-detect .detection .pop-up{
    top: 169px;
    left: 6px;
    width: 290px;
  }
  .face-detect .detection .pop-up img{
    max-width: 100px
  }

  .face-detect .detection .pop-up p{
    font-size: 11px
  }
  .face-detect .detection .pop-up .pop-up-btn{
    width: 112px;
    font-size: 11px;
    padding: 2px 0;
    text-align: center;
  }
  .face-detect .detection .pop-up input{
    width: 112px
  }
}

.face-detect .detection .pop-up .close{
  font-size: 20px;
  display: block;
  position: absolute;
  top: 6px;
  right: 22px;
  color: #000;
  cursor: pointer;
}

.face-detect .detection .pop-up img{
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.face-detect .detection .pop-up p{
  margin: 10px 0 10px 0;
}

.face-detect .detection .pop-up button{
  display: inline-block;
}

.face-detect .detection .pop-up .pop-up-btn{
  margin: 2px 3px;
  background-color: #e51837;
  color: #fff
}

.face-detect .detection .pop-up input{
  width: 113px;
  border: none;
  text-align: left;
  border: 1px solid #decbcb;
  padding: 5px 0px 5px 1px;
}

.face-detect .footer{
  background-color: #ebebeb;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.face-detect .footer .hist{
  display: block;
  position: relative;
  margin-bottom: 10px;
  text-align: left;
  margin-left: 40px;
  font-size: 16px;

}


.face-detect .media-carousel .carousel-control.left
{
  left: 64px;
  background-image: none;
  background: none repeat scroll 0 0 #222222;
  border: 4px solid #FFFFFF;
  border-radius: 23px 23px 23px 23px;
  height: 40px;
  width : 40px;
  top: 32px;
  font-size: 25px;
  line-height: 32px;
}
/* Next button  */
.face-detect .media-carousel .carousel-control.right
{
  right: 25px !important;
  background-image: none;
  background: none repeat scroll 0 0 #222222;
  border: 4px solid #FFFFFF;
  border-radius: 23px 23px 23px 23px;
  height: 40px;
  width : 40px;
  top: 32px;
  font-size: 25px;
  line-height: 32px;
}

/* end face-detect */


.hide-bullets {
list-style:none;
margin-left: -40px;
}



.face-detect .carousel-inner{
  width: 94%;
  margin: 0 auto;
}

@media (max-width:1200px) {
  .face-detect .carousel-inner{
    width: 92%;
    margin: 0 auto;
  }
}

/* carousel */
.media-carousel
{
  margin-bottom: 0;
  padding-left: 22px;
}


/* Changes the position of the indicators */
.media-carousel .carousel-indicators
{
  right: 50%;
  top: auto;
  bottom: 0px;
  margin-right: -19px;
}
/* Changes the colour of the indicators */
.media-carousel .carousel-indicators li
{
  background: #c0c0c0;
}
.media-carousel .carousel-indicators .active
{
  background: #333333;
}
.media-carousel img
{
  width: 250px;
  height: 120px
}

.status,
.faces{
  font-size: 16px;
  margin: 0 15px;
}

.select-img{
  background-color: #e51837;
  padding: 15px 30px;
  margin-right: 10px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s all ease-in-out;
  width: 147px;
}

.select-img a{
  text-decoration: none;
  color: #fff
}

.select-img:hover{
  background-color: #9c1414;
}
/* End carousel */

/* search result */

.serach-result .carousel-inner{
  width: 100%;
  margin: 0 auto;
}

.serach-result{
  min-height: 180px;
  margin-bottom: 63px !important;
}
/* Previous button  */
.serach-result .media-carousel .carousel-control.left
{
  background-image: none;
  background: none repeat scroll 0 0 #222222;
  border: 4px solid #FFFFFF;
  height: 105px;
  width: 40px;
  margin-top: 14px;
  font-size: 26px;
  line-height: 30px;
}
/* Next button  */
.serach-result .media-carousel .carousel-control.right
{
  background-image: none;
  background: none repeat scroll 0 0 #222222;
  border: 4px solid #FFFFFF;
  height: 105px;
  width: 40px;
  margin-top: 13px;
}

.serach-result{
  background-color: #f4f4f4;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 50px;
  overflow: hidden;
}

.serach-result h2{
  margin: 20px 20px 40px 30px;
  display: block;
}

.serach-result .carousel-inner{
  margin-bottom: 20px
}

.serach-result .box img{
  max-width: 200px;
  margin: auto;
}

.serach-result .box span{
  display: block;
  margin: 20px auto;
  font-size: 16px;
}

.serach-result .media-carousel img{
  width: 68px;
  height: 100px;
}

.serach-result .hide-bullets li{
  height: 128px;
  display: inline-block;
  margin-right: 2px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.serach-result .hide-bullets li:last-child{
  margin-right: 0px;
}

@media (max-width:1200px) {
  .serach-result .hide-bullets li:first-child{
    margin-left: 7px;
  }
  .serach-result .media-carousel img{
    width: 55px;
    height: auto;
  }

  .serach-result .hide-bullets li{
    max-width: 55px;
  }
}

@media (max-width:990px) {
  .serach-result .hide-bullets li:first-child{
    margin-left: 0px;
  }
  .serach-result .media-carousel img{
    width: 41px;
    height: auto;
  }

  .serach-result .hide-bullets li{
    max-width: 41px;
  }
  .serach-result .media-carousel .carousel-control.left
  {
    height: 90px;
    width: 29px;
    top: 13px;
    font-size: 16px;
    line-height: 13px;
  }
  .serach-result .media-carousel .carousel-control.right
  {
    right: -14px;
    height: 90px;
    width: 29px;
    top: 15px;
    font-size: 16px;
    line-height: 13px;
  }
}

@media (max-width: 768px) {
  .serach-result .hide-bullets .carousel-inner{
    margin: 0 auto;
    display: block;
    width: 620px
  }
  .serach-result .hide-bullets li:first-child{
    margin-left: 0px;
  }
  .serach-result .media-carousel img{
    width: 51px;
    height: auto;
  }

  .serach-result .hide-bullets li{
    max-width: 51px;
  }
  .percent-text{
    position: relative;
    top: 71px !important;
    text-align: center;
    width: 68px;
    color: white;
    z-index: 100;
  }
}
.percent-text{
  position: relative;
  top: 82px;
  text-align: center;
  width: 57px;
  color: white;
  z-index: 100;
}
@media (max-width: 650px) {
  .serach-result .hide-bullets .carousel-inner{
    margin: 0 auto;
    display: block;
    width: auto;
  }
  .serach-result .hide-bullets li{
    margin-top: 2px
  }
}

.serach-result #main_area{
  position: relative;
}


.pop-up-image{
  position: absolute;
  width: 150px;
  padding: 10px;
  top: 30%;
  right: 50%;
  background-color: #fff;
  overflow: hidden;
  display: none;
}

/* end search result */


.loading:after {
  border-width: 0 3px 0 0;
  border-style: solid;
  border-color: rgba(0, 0, 0, .5);
  border-radius: 50%;
  display: block;
  height: 50px;
  left: 50%;
  margin: -25px 0 0 -25px;
  position: absolute;
  top: 50%;
  width: 50px;

  content: "";

  animation: spin 1s infinite linear;
  -webkit-animation: spin 1s infinite linear;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}

#mTS_2_container li a:hover img {
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.pop-up{
  border: 2px solid #c3bcbc;
}

.text-scroller{
  height: 141px;
  padding-top: 19px;
  overflow-y: scroll;
  text-align: left;
  padding-left: 40px;
}
.history-thumb-li{
  margin-left:2px;margin-right:2px; border: 4px solid #b1b1b1;
}
.history-thumb-li.active{
  border: 4px solid #e51837;
}

.search-thumb-li{
  margin-left: 1px;
  margin-right: 1px;
}