.img_cursor {
    cursor: pointer;
}

#outer {
    width: 100%;
    text-align: center;
}

.inner {
    display: inline-block;
    margin-left: 2%;
    margin-right: 2%;
}

.ss_rule {
    margin: 0 5% 0 5%;
}

.remove-image {
    position: absolute;
    right: 2%;
    top: 2%;
    opacity: 0.6;
    display: none;
}

.remove-image:hover {
    opacity: 0.9;
}

.default-image {
    opacity: 0.6;
    cursor: pointer;
}

.add_icon {
    width: 10%;
    padding: 1%;
    max-height: 60px;
    cursor: pointer;
    display: inline;
    opacity: 0.8;
    object-fit: cover;
}

.review_image_icon {
    width: 10%;
    padding: 1%;
    cursor: pointer;
    display: inline;
    opacity: 0.8;
}

.add_icon:hover {
    opacity: 1.0;
}

.review_image_icon:hover {
    opacity: 1.0;
}

#upload_image {
    display: none;
}

.show_images_container {
    width: 100%;
    overflow: hidden;
}

.show_border{
  border: 2px solid #d3d3d3;
}

#youtube_container{
  height:100%;
  display:none;
}

img[id^="show_"], .default-image{
  margin-left: auto;
  margin-right: auto;
  max-height: 100%;
  max-width: 100%;
  padding-left : 1%;
  padding-right : 1%;
  object-fit: contain;
  display: block;
}

img[id^="icon_"]:hover {
    opacity: 1.0;
}

.sample_page_title {
    font-size: 2.7rem;
    font-weight: 500;
    margin-top: 1%;
    margin-bottom: 5%;
    color: #5F5F5F;
}

.sample_page_desc {
    font-size: 1.7rem;
    line-height: 2rem;
    color: #5F5F5F;
    font-weight: 500;
    overflow: hidden;
    height: auto;
    margin-bottom: 10%;
}

.creator {
    color: #5F5F5F;
    font-weight: 500;
    font-size: 1.5rem;
}

.special_offer {
    color: #5F5F5F;
    font-weight: 500;
    font-size: 1.5rem;
    font-style: italic;
}

.user_name_h5 {
    color: #5F5F5F;
    font-size: 1.2rem;
    font-weight: 500;
}

.edit_time_span {
    color: #5F5F5F;
    font-size: 1.7rem;
    font-weight: 500;
    float: right;
}

#inventory_containor {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

hr {
    color: #5F5F5F;
}

.sample_page_tab_container {
    margin: 4vh 0 5vh 0;
}

.sample_page_tab {
    text-align: center;
    margin: 6% 4% 4% 0;
    padding: 0 1% 2% 1%;
    color: #5F5F5F;
    font-weight: 500;
    font-size: 1.4rem;
    cursor: pointer;
}

.sample_page_tab:hover {
    border-bottom: solid #ccc;
}

.number_icon {
    background-color: #f5f5f5;
    border: 1px solid #f5f5f5;
    margin-left: 3px;
    text-align: center;
    border-radius: 10px;
    padding: 0 .5rem;
}

.new_orders_icon {
    background-color: lightcoral;
    border: 1px solid lightcoral;
    margin-left: 3px;
    text-align: center;
    border-radius: 10px;
    padding: 0 .5rem;
}


/****** Style Star Rating Widget *****/

.rating {
    border: none;
    float: left;
    margin: 2%;
}

.rating>input {
    display: none;
}

.rating>label:before {
    margin: 5px;
    font-size: 1.7rem;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
}

.rating>.half:before {
    content: "\f089";
    position: absolute;
}

.rating>label {
    color: #ddd;
    float: right;
}


/***** CSS Magic to Highlight Stars on Hover *****/

.rating>input:checked~label,

/* show gold star when clicked */

.rating:not(:checked)>label:hover,

/* hover current star */

.rating:not(:checked)>label:hover~label {
    color: #FFD700;
}


/* hover previous stars in list */

.rating>input:checked+label:hover,

/* hover current star when changing rating */

.rating>input:checked~label:hover,
.rating>label:hover~input:checked~label,

/* lighten current selection */

.rating>input:checked~label:hover~label {
    color: #FFED85;
}

.tablink {
    background-color: #555;
    color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 25%;
}

.tablink:hover {
    background-color: #777;
}

.or_line {
    margin: 2%;
    color: #5F5F5F;
}

.or_line::before {
    content: "------------------------------";
    letter-spacing: -3px;
}

.or_line::after {
    content: "------------------------------";
    letter-spacing: -3px;
}


/* center modal */

.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}


/* number input */

.input-number-group {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.input-number-group input[type=number]::-webkit-inner-spin-button,
.input-number-group input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
}

.input-number-group .input-group-button {
    line-height: calc(80px/2 - 5px);
}

.input-number-group .input-number {
    width: 80px;
    padding: 0 12px;
    vertical-align: top;
    text-align: center;
    outline: none;
    display: block;
    margin: 0;
}

.input-number-group .input-number,
.input-number-group .input-number-decrement,
.input-number-group .input-number-increment {
    border: 1px solid #cacaca;
    height: 40px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 0;
}

.input-number-group .input-number-decrement,
.input-number-group .input-number-increment {
    display: inline-block;
    width: 40px;
    background: #e6e6e6;
    color: #0a0a0a;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 400;
}

.input-number-group .input-number-decrement {
    margin-right: 0.3rem;
}

.input-number-group .input-number-increment {
    margin-left: 0.3rem;
}

.btn {
    border-radius: 0px !important;
}


/* profile tab style */

.profile_tab_container {
    text-align: center;
    margin-bottom: 30px;
}

.profile_tab {
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    padding: 20px 0 20px 0;
}

.profile_tab:hover {
    border-bottom: solid #ccc;
}

.default_tab {
    border-bottom: solid lightcoral;
}


/* media */
@media only screen and (max-width: 500px) {
    .show_mobile {
        display: block;
    }
    .hide_mobile {
        display: none;
    }
    .homepage_title h3 a{
      font-size: 20px !important;
    }

    .video_reviews{
      width: 100%;
      height: 150px;
    }
    #inventory_containor{
      margin-top: 50px;
      position: unset;
    }

    .sp_detail {
        min-height: 50rem;
    }

    #add_new_sample_btn{
      font-size: 10px;
      margin: 3vh;
    }

    .top-left{
      left: 15px !important;
      font-size: 10px;
    }
}

@media only screen and (min-width: 501px) {
    .show_mobile {
        display: none;
    }
    .hide_mobile {
        display: block;
    }
    .homepage_title h3 a{
      font-size: 30px !important;
    }
}
