* {
  box-sizing: border-box;
}
body,
html {
  height: 100%;
  font-family: Arial;
  font-size: 14px;
}
body {
  margin: 0;
}
img {
  border: 0;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}



input,
select,
textarea {
  background-color: #eceff1;
  border: 2px solid #2f528f;
  color: #333;
  font-size: 1.4em;
  font-weight: 400;
  margin: 0.5%;
  padding: 8px;
  width: 94%;
}
input[type="radio"] {
  height: 31px;
  width: 31px;
}
input[type="date"],
input[type="text"] {
  background-color: #eceff1;
  border: 2px solid #2f528f;
}
input[type="checkbox"] {
  width: auto;
  margin: 8px 2px;
}


.filebtn {
  /* Base styles for the file input button */
  background-color: #92d050;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;

  /* Styles for the disabled state */
  &:disabled {
    background-color: #ddd;
    border-color: #ccc;
    cursor: not-allowed;
  }
}

#editprefform input[type="checkbox"][value=""] {
  display: none;
}


label {
  font-weight: bold;
  margin: 4px 0;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px;
  text-align: center;
}

#butLO{
  display: none;
}
#dvwelcome{
  text-align: center;
  margin:   0;
}
#fullprofile th{
  text-align: left;
}

#fullprofile{
  padding: 2px;
  border: 1px solid #a6a8c8;
  border-radius: 4px;
}


#miniprofile th, #miniprofile td,
#fullprofile th, #fullprofile td{
  border: none;
  border-bottom: 1px dashed #a6a8c8;
  padding: 4px ;
}
#miniprofile tr:hover,
#fullprofile tr:hover{
  background-color: #92d050 ;
}

.profileitem{
  position: relative;
  text-align: center;
}
.profileitem .halfwbut  {

display: block;
}
.profileitem .ms{
  background-color: #00b74c;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 4px;
  padding: 4px;
}
.stock{
  display: block;
  position: absolute;
  top: 4px;
  right: 4px;
  background: #00b74c;
  border-radius: 5px;
  padding: 0 4px;
  font-size: 9pt;
  
}
.clsmall{
  margin-top: 10px;
  font-size: 8pt;
}
.fleft{
  float: left;
}
.tcenter{
  text-align: center;
}

.tsmaller{
  font-size: 12px;
}

.css-table{
  width: 100%;
}
a {
  color: #ff0;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2 {
  text-align: center;
  text-align: center;
  padding: 0;
  margin: 4px 0;
}

option {
  height: 20px;
  border-bottom: 1px solid #ddd;
  padding: 4px 7px 0;
}
option:nth-child(odd) {
  background-color: #fafafa;
}
/*D8EBD3 B5DDF7*/

option:nth-child(even) {
  background-color: #eee;
}
/* DAEEFB */

option[selected="selected"] {
  background-color: #a9cdd9;
}
option:hover {
  background-color: #fff7d0;
}

#navbar {
  float: left;
}
#navbar {
  border-bottom: 1px solid #fff;
  margin-bottom: 8px;
  width: 100%;
  padding-bottom: 6px;
}
#processing {
  display: none;
  position: fixed;
  top: 46%;
  left: 49%;
  padding: 2px;
  z-index: 9999;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 4px;
}
#proessmsg {
  border-top: 0;
  color: #666;
  opacity: 0.7;
  width: 100%;
}
#proessmsg img {
  vertical-align: middle;
}

#userphoto{
  max-width: 100%;
}
.homegridimg{
  max-width: 100%;
}
#talk_talk {
  width: 100%;
  border-radius: 6px;
  margin: 2% 0 0 0;
  border: none;
}

#talkslist {
  overflow-y: scroll;
  border-radius: 4px;
  background: #eff3f6;
  color: #333;
}

 
.thetalkwrap {
  clear: both;
  float: left;
  margin-top: 8px;
}

.thetalkwrap.mymsg {
  float: right;
}

.ftalkslist .thetalkwrap.mymsg {
  float: left;
  width: 97%;
}
.tusername {
  display: block;
  color: #474647;
  font-size: 12px;
  padding: 1px;
}

.tusername .time {
  color: #8c9295;
  font-size: 10px;
}

.thetalkwrap.mymsg .tusername {
  text-align: right;
}

.thetalkwrap .thetalk {
  border-radius: 8px;
  padding: 6px 8px;
  margin: 4px;

  display: block;
  background-color: #57b666;
}

.thetalkwrap.mymsg .thetalk {
  background-color: #70bcee;
}

#homerand{
  text-align: center;
  width: 100%;
border-bottom: 1px dashed #fff;
}

.w12 {
  width: 48%;
}

.button {
  color: #fff;
  min-width: 100px;
  padding: 4px;
  background-color: #ed7d31;
  border: 1px solid #4d4d4d;
  border-radius: 4px;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
  text-decoration: none;
}
.button:hover {
  background-color: #ffc200;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 12px #ccc;
}
.redbutton,
.yellowbutton {
  background-color: #ed7d31;
  border: 2px solid #e9ecf0;
  margin: 4px auto 2px;
  font-weight: 700;
  padding: 10px 14px;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  text-align: center;
  display: inline-block;
}
.yellowbutton {
  background-color: #ff0;
  color: #4472c4;
  border: 2px solid #2f528f;
  border-radius: 8px;
}
.yellowbutton:hover {
  background-color: #92d050;
  box-shadow: 2px 2px 12px #ccc;
}
.yellowbutton:disabled,
.yellowbutton[disabled] {
  background-color: #ccc;
  box-shadow: 2px 2px 12px #999;
}
.redbutton {
  background-color: red;
  border: 2px solid #2f528f;
  border-radius: 8px;
}
.redbutton:hover {
  background-color: #00b74c;
}
.redbutton:disabled {
  background-color: #ccc;
}

.smallbut{
  font-size: 12px;
  padding: 3px 10px;
  border-color: transparent;
  color:#f00;
  border-radius: 6px;
  margin: 0;
}
.halfwbut, .fullfwbut {
  display: inline-block;
  margin: 4px auto 2px;
  max-width: 48%;
  padding: 4px 4px;
  color: #fff;
  background-color: #ed7d31;
  border-radius: 4px;
  text-align: center;
  line-height: 21px;
  border: 1px solid #4d4d4d;
}
.fullfwbut:hover, .halfwbut:hover {
  background-color: #00b74c;
  box-shadow: 2px 2px 12px #ccc;
  text-decoration: none;
}
.fullfwbut {
  max-width: 100%;
}

#stopButton {
  margin: 0 auto;
}
#timecounter {
  font-size: 16px;
}
#main {
  width: 100%; /* Allow it to be flexible */
  max-width: 400px; /* SET A MAXIMUM a wider width looks better */
  margin: 0 auto;
  height: 100%;
  background: none repeat scroll 0 0 #4472c4;
  border: 4px solid #2c4c94;
  padding: 4px 4px 0;
  display: flow-root;
  position: relative;
  min-height: 372px;
  min-height: 100%;
  overflow-y: auto;

  margin: 0 auto;
   box-sizing: border-box; /* Add this for better padding calculations */

}
#contents {
  color: #fff;
  font-size: 16px;
  padding: 0;
  width: 100%;
  z-index: 44;
}
.loading {
  display: none;
}
.error {
  padding: 8px;
  color: #600;
  margin: 8px;
}
.adcontainer {
  position: fixed;
  top: 100%;
  margin: -104px auto 0;
}
.hidden {
  display: none;
}
#showmsg {
  font-size: 1.1em;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  background: #5cb85c;
  border: 1px solid #4cae4c;
  border-top: 0;
  padding: 3px 2px 2px 2px;
  color: #fff;
  height: 25px;
  display: none;
  text-align: center;
  z-index: 6;
}
#processing {
  display: none;
  position: fixed;
  top: 46%;
  left: 46%;
  padding: 2px;
  z-index: 10;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 4px;
}
#proessmsg {
  border-top: 0;
  color: #666;
  opacity: 0.7;
  width: 100%;
}
#proessmsg img {
  vertical-align: middle;
}
#box {
  background: #00b74c;
  border: 10px solid #ffc200;
  color: #000;
  display: none;
  padding: 2px 5px;
  position: fixed;
  top: 16%;
  left: 50%; 
  transform: translateX(-50%); 
  width: auto;
  min-height: 300px;
  width: 350px;
  -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
  border-radius: 12px;
  max-height: 80%;
  max-width: 80%;
  overflow: auto;
  z-index: 2147483640;
}
#titlebar {
  border-bottom: 1px solid #0dcaf0;
  min-height: 32px;
}
#thecontents {
  padding: 2px 12px;
  color: #000;
}
#closebox,

.closebox { background: #fff none repeat scroll 0 0; cursor: pointer; 
  font-size: 20px; position: absolute; /* Ensures the button stays fixed within the div */
  right: 10px; /* Position from right */ top: 2px; /* Position from top */ width: 22px;
   z-index: 2147483647; margin: 4px; }

.logo {
  color: #ff0;
  border: 0 solid #ff0;
  border-radius: 4px;
  padding: 6px 5px;
  background-color: #2f528f;
  float: left;
  margin: 0 3px 0 3px;
  position: relative;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.logo:before {
  content: " ";
  position: absolute;
  z-index: -1;
  top: -7px;
  left: -7px;
  right: -7px;
  bottom: -7px;
  border: 2px solid #ff0;
  border-radius: 5px;
}
.tbutton {
  height: 32px;
  width: 32px;
  display: inline-block;
  border: 0 solid #fff;
  border-radius: 6px;
  padding: 4px;
  color: #fff;
  background: 0 0;
  text-align: center;
  font-weight: 700;
  font-size: 17px;
}
.tbutton:hover {
  background-color: #92d050 !important;
}

.yelheading{
    color: #ff0;
    margin:4px 0;
    position: relative;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

#menubutton{
  float: right;
  text-decoration: none;
}
#menubutton:hover{
  background-color: #92d050 !important;
}

.mbutton {
 
  display: inline-block;
  border: 0 solid #fff;
  border-radius: 4px;
  padding: 4px;
  margin:0 6px;
  color: #fff;
  background: 0 0;
  text-align: center;
 text-decoration: none;
  font-size: 16px;
}
.mbutton:hover {
  background-color: #92d050 !important;
  text-decoration: none;
}



#recordButton {
  display: none;
}

#menubutton{
  width: 32px;
  height: 32px;
  background: transparent
  url(../images/iconswhite/menu-32.png) no-repeat
  center center;
}
#butFL,
#friendsbutton,
.friendsbutton {
  background: transparent
    url(https://voime.ichato.com/images/iconswhite/friends-24.png) no-repeat
    center center;
}
#refreshbutton {
  background: transparent
    url(https://voime.ichato.com/images/iconswhite/refresh-24.png) no-repeat
    center center;
}
#butIn {
  background: transparent
    url(https://voime.ichato.com/images/iconswhite/invite-24.png) no-repeat
    center center;
}
.logoutbutton {
  background: transparent
    url(https://voime.ichato.com/images/iconswhite/logout-24.png) no-repeat
    center center;
}
#contents {
  display: flex;
  flex-direction: column;
}
.c {
  font-size: 15px;
}
.c {
  font-size: 15px;
}
.fright{
  display: block;
  float: right;
}
.fleft{
  display: block;
  float: left;
}
.hotbar{
  height: 32px;
  display: block;
  margin: 6px 0;
  padding: 0px 26px;
}

.userslider img{
width: 32%;
float: left;
}

#imgbox {
  display: none;
  border: 4px solid #eee;
  position: absolute;
  z-index: 9999;
  width: 94%;
  background: #fff;
  text-align: center;
  max-width: 100%;
  overflow-y: scroll;
  max-height: 100%;
}
#imgboximage img {
  max-width: 98%;
}






.slidecontainer {
  width: 96%;
  margin: 0;
  text-align: center;
}
.slidecontainer h5 {
  padding: 0 0;
  margin: 0 0;
  color: #ed7d31;
}
.slider {
  -webkit-appearance: none;
  width: 98%;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: #000;
  outline: 0;
  opacity: 0.9;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
  padding: 0;
}
.slider:hover {
  opacity: 1;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 4px;
  height: 25px;
  border-radius: 0;
  background: red;
  cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 4px;
  height: 25px;
  border-radius: 0;
  background: red;
  cursor: pointer;
}

.userslider-container {
  position: relative;
  width: 100%; /* IMPORTANT: Make it take the full width of its parent (#contents) */
  margin: 0 auto;
  box-sizing: border-box;
  color: #ff0;
}

.userslider-container h3{
margin: 2px;
padding: 2px;

}
.userslider-viewport {
  width: 100%;
  overflow: hidden;
}

.userslider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  padding: 0 2px;
  text-align: center;
}

.slide img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background-color: tomato;
  object-position: top;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.slide-info {
  padding: 10px 0;
}

/* No changes to .username or .score */
.slide-info .username {
  font-weight: bold;
  font-size: 1.1em;
  margin: 5px 0;
}

.slide-info .score {
  font-size: 0.9em;
 
  margin: 0;
}


/* --- MODIFIED Navigation Buttons CSS --- */

/* Create a new container for the buttons to center them */
.slider-nav-container {
  text-align: center; /* This will center the buttons */
  margin-top: 0px; /* Add some space below the slider */
}

/* Style the buttons themselves */
.slider-nav {
  display: none;
  display: inline-block; /* Make them sit next to each other */
  
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 32px; /* Give them a bit more width */
  padding: 4px;
  margin: 10px; /* Space between the buttons */
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

.slider-nav:hover {
  background-color: #333;
  color: #fff;
}

/* REMOVED: .slider-nav.prev and .slider-nav.next specific positioning rules */


/* --- Responsive adjustments remain the same --- */
@media (max-width: 768px) {
  
  .userslider-container {
      width: 95%;
  }
}

@media (max-width: 480px) {
  #main{
    max-width: 100%;
  }

   
}



