/* PIC POPUP
==========================*/
  #pic-popup {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }

  #pic-popup:hover {opacity: 1;}

  /* The pic-modal (background) */
    .pic-modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 1; /* Sit on top */
      padding-top: 100px; /* Location of the box */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: rgb(0,0,0); /* Fallback color */
      background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    }

  /* pic-modal Content (image) */
    .pic-modal-content {
      margin: auto;
      display: block;
      width: 100%;
      max-width: 700px;
    }

  /* Caption of pic-modal Image */
    #pic-caption {
      margin: auto;
      display: block;
      width: 100%;
      max-width: 700px;
      text-align: center;
      color: #ccc;
      padding: 10px 0;
      height: 150px;
    }

  /* Add Animation */
    .pic-modal-content, #caption {  
      -webkit-animation-name: zoom;
      -webkit-animation-duration: 0.6s;
      animation-name: zoom;
      animation-duration: 0.6s;
    }

    @-webkit-keyframes zoom {
      from {-webkit-transform:scale(0)} 
      to {-webkit-transform:scale(1)}
    }

    @keyframes zoom {
      from {transform:scale(0)} 
      to {transform:scale(1)}
    }

  /* The Close Button */
    .pic-close {
      position: absolute;
      top: 15px;
      right: 35px;
      color: #f1f1f1;
      font-size: 40px;
      font-weight: bold;
      transition: 0.3s;
    }

    .pic-close:hover,
    .pic-close:focus {
      color: #bbb;
      text-decoration: none;
      cursor: pointer;
    }

    .close-main {
      position: absolute;
      top: 15px;
      right: 35px;
      color: #3a3a3a;
      font-size: 40px;
      font-weight: bold;
      transition: 0.3s;
    }

    .close-main:hover,
    .close-main:focus {
      color: rgb(134, 134, 134);
      text-decoration: none;
      cursor: pointer;
    }


  /* 100% Image Width on Smaller Screens */
    @media only screen and (max-width: 700px){
      .pic-modal-content {
        width: 100%;
      }
    }

/* MODIFY BOOTSTRAP 3 DEFAULT MODAL POSITION TOP
==========================*/
  .modal {
    text-align: center;
    padding: 0!important;
  }

  .modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px; /* Adjusts for spacing */
  }

  .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
  }

  .modal.fade .modal-dialog {
    -webkit-transform: translate(0, -100%);
            transform: translate(0, -100%);
  }
  .modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }


/* NAVBAR MODIFY 
==========================*/
  .navbar {
    background-color: transparent;
    background: transparent;
    border-color: transparent;
  }

  .navbar li { color: #000 } 

/* PRODUCT VARIATION BUTTON CSS 
==========================*/
  .btn-variation {
    transition-duration: 0.4s;
    background-color: #ffffff;
    color: rgb(70, 70, 70);
    border: 1px solid rgb(70, 70, 70);
    border-radius: 5px;
    height: 40px;
    margin: 5px;
  }

  .btn-variation:hover {
    background-color: #9c9c9c;
    color: rgb(70, 70, 70);
  }

  .btn-variation-selected {
    transition-duration: 0.4s;
    background-color: #ffaf65;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(255, 0, 0);
    border-radius: 8px;
    font-weight: bold;
  }

  .btn-variation-selected:hover {
    background-color: #9c9c9c;
    color: rgb(70, 70, 70);
  }

/* PRODUCT GALLERY ICON CSS 
==========================*/
  .product-gallery{
    width:50px;
    height:50px;
    -webkit-opacity:0;
    -moz-opacity:0;
    opacity:0;
    margin:2px 2px 0 0!important;
    /* margin:0px 0px 0 0!important; */
    -webkit-transition:margin-top .5s ease-in-out,opacity .5s ease-in-out,background .3s ease-in-out;
    -moz-transition:margin-top .5s ease-in-out,opacity .5s ease-in-out,background .3s ease-in-out;
    -ms-transition:margin-top .5s ease-in-out,opacity .5s ease-in-out,background .3s ease-in-out;
    -o-transition:margin-top .5s ease-in-out,opacity .5s ease-in-out,background .3s ease-in-out;
    transition:margin-top .5s ease-in-out,opacity .5s ease-in-out,background .3s ease-in-out;
    text-align:center;
    }
      .product-gallery {-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;}
      .product-gallery {-moz-transition:.6s;-webkit-transition:.6s;transition:.6s;max-width:100%}
      .product-gallery:hover{-moz-transform:scale(1.1) rotate(.01deg);-webkit-transform:scale(1.1) rotate(.01deg);transform:scale(1.1) rotate(.01deg)}
      .product-gallery.fade-in{margin:0 20px 20px 0!important;-webkit-opacity:1;-moz-opacity:1;opacity:1}

  .no-padding{
    padding:0;
  }

/* QTY CONTAINER  
  ==========================*/
/* qty div container*/
  .change-cart-qty-container{
    display:inline-block;
    position:relative;
    width: 100px;
    height:35px;
  }
/* qty input field*/
  .change-cart-qty{
    /* position:relative; */
    width:50px;  
    height:35px;  
    line-height:40px;
    padding:0 5px;
    text-align:center
  }

/* qty control div*/
  .change-cart-qty-control{
    /* position:relative; */
    /* width:40px; */
    height:35px; 
    /* border: 1px solid rgb(100, 100, 100); */
  }
/* qty input div*/
  .change-cart-qty-wrapper{
    /*position:relative; */
    /* width:50px;
    height:35px;  */
    /* border: 1px solid rgb(100, 100, 100); */
    border: 0px;
  }

/* disable input scroll step*/
  input[type=number].change-cart-qty::-webkit-inner-spin-button,
  input[type=number].change-cart-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

/* FIT 
==========================*/
  .fit-all{
    margin:0 !important;
    padding:0 !important;
  }
  .fit-header{
    margin-left:5px;
    margin-top:5px;
  }

/* BOOTSTRAP MODAL 
==========================*/
  .modal-header{
    background-color: cornflowerblue; /* rgb(255, 145, 0);*/
    color: white;
  }


/* The sandbox-modal (foreground) 
==========================*/
  .sandbox-modal {
    display: none; /* Hidden by default */
    position: absolute; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    right: 0;
    /*float: right;*/
    top: 0;
    width: 200px; /* Full width */
    height: 120px; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0); /* Black w/ opacity */
  }

/* BLINK 
==========================*/
  .blink_me {
    animation: blinker 1s linear infinite;
  }

  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }

/* WALLET 
==========================*/
  .wallet-topup{
    color:white;
    background-color:coral;
    font-size:xx-large;
    border:2px solid red;
    border-radius:10px;
    height:100px;
    margin:auto;
    cursor:pointer;
    vertical-align:middle;
    padding:25px 0;
    text-align:center;
    transition-duration: 0.4s;
  }

  .wallet-topup:hover{
    background-color: #da4621;
    color: rgb(216, 216, 216);
  }


/* TAG CORNER 
==========================*/
  .tag-corner { 
      width: 0;
      height: 0;
      border-top: 60px solid rgb(129, 129, 129);
      border-right: 60px solid transparent;
      opacity: 0.3;
  }

/* Popup Edit
==========================*/
  .input-popup {
      margin-top: 2px !important;
      margin-bottom: 2px !important;
      padding-top: 2px !important;
      padding-bottom: 2px !important;
  }

/* Curved Table
==========================*/
  .table-bordered-curved {
    border-radius: 6px;
    border-collapse: separate;
    border: solid 1px #ccc;
  }

  .table-bordered-curved thead tr:last-child th,
  .table-bordered-curved thead tr:last-child td {
    border-bottom: solid 1px #ccc;
  }

  .table-bordered-curved thead tr th,
  .table-bordered-curved thead tr td {
    border-bottom: 0;
    border-right: solid 1px #ccc;
  }

  .table-bordered-curved thead tr th:last-child,
  .table-bordered-curved thead tr td:last-child {
    border-right: 0;
  }

  .table-bordered-curved tbody tr:first-child th,
  .table-bordered-curved tbody tr:first-child td {
    border-top: 0;
  }

  .table-bordered-curved tbody tr td {
    border-right: solid 1px #ccc;
  }

  .table-bordered-curved tbody tr td:last-child {
    border-right: 0;
  }

/* Stretch Font
==========================*/
  .vstretch {
    display: inline-block;
    margin: 0px;
    transform-origin: top left;
    -webkit-transform: scale(1, 2);
    -moz-transform: scale(1, 2);
    -o-transform: scale(1, 2);
    transform: scale(1, 2);
  }

  .hstretch {
    display: inline-block;
    margin: 35px;
    transform-origin: bottom left;
    -webkit-transform: scale(5, 1);
    -moz-transform: scale(5, 1);
    -o-transform: scale(5, 1);
    transform: scale(5, 1);
  }

/* Stretch Font
==========================*/
