*{
	margin: 0;
	padding: 0;
}
body{
	background: #442200;
	font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-weight: normal; 
}
a:hover{
    text-decoration: none;
}
.rega_content{
    background: #985511;
}
.container{
	margin:0 auto;
    color: #ffffff;
    background: #442200;
}
.content{
    padding: 10px;
    font-size: 14px;
    color: #ffffff;
}
a{
    margin: 7px;
    color: #ffffff;
}
.none_href{
    margin: 0;
    cursor: pointer;
}

.line{
    background-image: url('img/line.jpg');
    width: 100%;
    height: 7px;
}

.headerMessage{
    margin: 7px;
}


.mainMenu{
    margin-top: 7px;
}
.panel .item_panel span{
    color: #fae596;
    font-weight: bold;
    font-size: 16px;
}
p{
    margin: 2px;
}

span{
	color: #552200;
    font-weight: bold;
    background-color: #995511;
    text-align: center;
    font-size: 18px;
}

.panel{
    background-color: #985410;
    border: 2px ridge #985410;
    margin: 5px; 
    font-size: 14px;
}

.item_panel{
    margin: 5px;
}
.item{
    margin-top: 5px;
    padding: 4px; 
    border-top: 1px solid #4a2805;
}

.item_reports{
    margin-top: 5px;
    padding: 4px; 
    border-top: 2px solid #4a2805;
}

.item_reports:first-child {
    margin-top: 5px;
    padding: 4px; 
    border-top:none;
}

.about{
	margin: 5px;
	border-top: 3px solid #9e5812;
	text-align: center;
}
.start_about{
	text-align: center;
}
.inp{
	background-color: #ffeebb;
    border-color: #cc8833;
    border-width: 2px;
    border-style: solid;
    color: #885533;
    text-align: center;
    font-size: medium;
    height: 25px;
    min-width: 45px;
}
.new_message{
    margin-top: 3px;
}
.inp_message{
    background-color: #ffeebb;
    color: #885533;
    text-align: left;
    height: 22px;
}
.text_message{
    background-color: #ffeebb;
    color: #885533;
}
.send_message{
    margin-top: 20px;
    background: red;
    border: none;
    color: #ffffff;
    width: 150px;
    height: 25px;
    cursor: pointer;
}

.foter{
	text-align: center;
	background-color: #442200;
	border-top: solid #eebb66;
	padding-top: 3px;
}
.foter_logo{
	margin: 10px;
	border: #eebb66;
}
.btn_reg{
	width: 125px;
    height: 25px;
    color: #ffddaa;
    background: #4a2805;
    border: 2px solid #cc8833;
    cursor: pointer;
}

.list_item{
    max-width: 720px;
    max-height: 300px;
}
.colum_message{
    margin: 4px 0;
    border: 2px solid #000;
    max-width: 250px;
}
.item_message{
    border-bottom: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 40px;
}
.item_message:last-child{
    border-bottom: none;
}
.message_img{
    margin-left: 10px;
}
.message_info{
    margin: auto;
    text-align: center;
}

.btn_answer{
    height: 25px;
    background: red;
    text-align: center;
}


.outh_res{
    margin: 3px 0;
}

.item_ferm{
    margin: 10px 4px;
    margin-left: 10px;
}
.all_ferm{
    height: 40px;
    display: flex;
    margin: 0;
}
.ferm_res{
    margin-left: 10px;
    font-size: 14px;
}
.item_new_build{
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.name_new_build{
    font-weight: bold;
    color: #fff;
    padding-right: 25px; 
    font-size: 16px;
}
.profile{
    border: 1px solid #000;
    max-width: 300px;
    color: #fff0c8;
}
.profile_item{
    border-top: 1px solid #000;
}
.profile_item:first-child{
    border: none;
    max-width: 300px;
}
.profile_item_name{
    background: #8b4402;
    min-width: 115px;
    padding: 2px;
    font-weight: bold;
    display: inline-block;
}




.test {
color: black;
background: gold;
border-top: 1px dotted #4D4D4D;
padding: 8px;
}
.menu {
    text-align: center;
    color: black;
    background: #4a2805;
    padding: 8px;
    border-top: 1px dotted #4D4D4D;
}

.hd {
color: black;
background: peru;
border-top: 1px dotted #4D4D4D;
padding: 10px;
}

.profile1{
    /*border: 1px solid #000;*/
   /* max-width: 506px;*/
    color: #fff0c8;
    min-width: 506px;
}
.profile_item1{
    border: 1px solid #000;
    text-align: center;
    max-width: 600px;
    min-width: 550px;
}
.profile_item1:first-child{
    /*border-top: none;
    max-width: 600px;
    min-width: 550px;*/
}
.profile_item_name1{
    background: #8b4402;
    min-width: 56px;
    padding: 2px;
    font-weight: bold;
    display: inline-block;
}
.profile_item_name2{
    min-width: 56px;
    padding: 2px;
    font-weight: bold;
    display: inline-block;
}
.reports{
    min-width: 30px;
}

.reports1{
    border-top: 1px solid #000;
    padding: 2px;
}



.container_alliance {
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    justify-content: space-between; 
}

.user_alliance, .value_alliance, .type_alliance {
    flex-basis: 33%; 
    text-align: center; /
}


.css-moder {
    background: linear-gradient(120deg, #008000, #FFFF00);
    background-size: 400%;

    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: vip 2s ease infinite;
}

@-webkit-keyframes vip {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-moz-keyframes vip {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-o-keyframes vip {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes vip {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.divTable{
    display: table;     
    border: 1px solid #000;
    color: #fff0c8;
    font-size: 14px;
}

.divTableHeading { 
    display: table-header-group; 
    background: #8b4402;
    text-align: center;
    font-weight: bold;
}

.divTableRow { 
    display: table-row;
}

.divTableHead { 
    display: table-cell; 
    padding: 4px;
}

.divTableCell { 
    display: table-cell;
    border-top: 1px solid #000;
    text-align: center;
    padding: 4px;
}

.divTableBody { 
    display: table-row-group;
    background: #985410;
}

.smiley-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(24px, 1fr));
  grid-gap: 3px; 
  margin-top: 5px;
}
.smiley {
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  .smiley {
    font-size: 18px;
  }
}
#smiley-picker {
  max-height: 300px; 
  overflow-y: auto;
}
.smiley-container {
    display: flex;
    align-items: center;
}


/*Початок нових стилів*/

/*Початок інвентару сумки*/
.inventory {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Відстань між рядками */
    border: 2px solid black;
    padding: 5px;
    max-width: max-content;
}

.inventory-row {
    display: grid;
    gap: 35px; /* Відстань між предметами */
    padding: 5px;
    max-width: max-content;
}

.inventory-item {
    position: relative; /* Позиціонування для чисел */
    width: 32px;
    height: 32px;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inventory-item img {
    width: 100%;
    height: 100%;
}

.item-number {
    position: absolute;
    bottom: 1px;
    right: 1px;
    font-size: 12px;
    color: #fae596;
    background-color: rgba(0, 0, 0, 0.6); /* Напівпрозорий фон для кращої видимості */
    padding: 1px 3px;
    border-radius: 2px;
}
/*Кінець інвентару сумки*/

/*Початок списку свитків*/
.scroll-table {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    border: 2px solid black;
    border-collapse: collapse;
    text-align: center;
}
.scroll-row {
    display: flex;
}
.scroll-cell, .scroll-header {
    flex: 1;
    border: 1px solid black;
    padding: 5px;
}
.scroll-header {
    font-weight: bold;
}
.button {
    background-color: #8b0000;
    color: white;
    padding: 5px 5px;
    border: none;
    cursor: pointer;
}
.button:hover {
    background-color: #a30000;
}
/*Кінець списку сумки*/