
div.lotwinMatrix
{
	float: left;
	width: 110px;
	background: #EFEFEF;
	margin: 4px;
	padding: 4px 0;
	text-align: center;
}

div.lotwinMatrix input
{
	font-size: 16px;
	margin: 2px 0;
	width: 30px;
}

div.lotwinMatrix input:disabled
{
    color: red;
}

div.lotwinMatrix + div.clear
{
	padding-top: 10px;
}


.circle {
  width: 3em;
  height: 3em;
  border: 2px solid #9E9E9E;  
  border-radius: 50%;
  background-color: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6em 0.6em 0.6em 0.6em;
  font-size: 0.7em;
  text-align: center;
}

@media (max-width: 576px){
    .circle {
    font-size: 0.5em;
    }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .tableEditProfile */

table.tableEditProfile
{
	width: 640px;
}

table.tableEditProfile tr td:first-child
{
    width: 48%;
}

table.tableEditProfile tr td input[type="text"]
{
	width: 97%; /* ширина строковых полей ввода текста  */
}

table.tableEditProfile tr td input[type="file"]
{
	width: 100%;
}

table.tableEditProfile tr td textarea
{
	width: 97%;
	height: 60px; /* высота поля textarea */
}

table.tableEditProfile tr td select
{
	width: 100%;
}

/* $$$ END $$$ */



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .profileTable */

table.profileTable
{
	border-spacing: 1px;
	border-collapse: separate;
    margin: 0 auto;
}

table.profileTable tr td
{
	padding: .4em .5em;
	background: #FFFF99;
	line-height: 110%;
    min-width: 8.5em;
}

table.profileTable tr td:first-child
{
	background: #9DFF6C;
}

/* $$$ END $$$ */



@media(max-width: 700px) {
    table.tableEditProfile
{
	width: 100%;
}
table.tableEditProfile tr td:first-child
{
    width: 28%;
}

table.tableEditProfile tr td input[type="text"]
{
	width: 95%; /* ширина строковых полей ввода текста  */
	height: 1.6em; 
}

table.tableEditProfile tr td textarea
{
	width: 97%;
	height: 5em; /* высота поля textarea */
}

table.tableEditProfile tr td select
{
	height: 2em; 
}    
    
}


/* флекс для кнопок с переносом */
.flex_button_coin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
/*    justify-content: center;  */
    justify-content: space-around;
    padding: 0 5%; 
}
.flex_button_coin div:only-child {
  align-self: flex-end;
  margin-left: auto;
}


/* флекс для ипутов с переносом */
.flex_input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
/*    justify-content: center;  */
    justify-content: space-around;
    padding: 0 30%; 
}
.flex_input div:only-child {
  align-self: flex-end;
  margin-left: auto;
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~переключение между вкладками~~~~~~~~~~~~~~~~~~~~~~~~ */

.wrapper {
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    padding: 5px;
/*    border: 5px groove gray;  */
    text-align: center;
}

/* tabs */
.tab-list {
    display: flex;
    gap: 10px;
    width: 100%;
    cursor: pointer;
}

.tab-item {
    flex-grow: 1;
    width: 50px;
    padding: 5px;
    background: gray;
    transition: width 0.5s;
}

/* content */
.content-list {
    width: 100%;
/*    border: 2px solid black;  */
}

.content-item {
    display: none;
    height: 530px;
    line-height: 20px;
    background: gray;
    color: white; /* цвет шрифта */
}

.tab-item.is-active {
    width: 80px;
    background: #9DFF6C
}

.content-item.is-active {
    display: block;
}
@media(max-width: 600px) {
    .content-item {
    display: none;
    height: 500px;
    }
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~стиль монеты - размеры~~~~~~~~~~~~~~~~~~~~~~~~ */
.image2{
	width: 220px;
	height: 220px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~стиль для текста на монете~~~~~~~~~~~~~~~~~~~~~~~~ */
.editor-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.editor-controls button {
  margin: 0 5px;
}
.coin { /* стиль расположения монеты */
/*  position: relative; */
  height: 220px; 
  width: 220px; 
  margin: 0 auto;
  background-image: url(/static/img/logo_partners/logo_for_text.png);
  background-position: bottom center, 42% 13%;
  background-repeat: no-repeat;
  background-size: 100%, 133%;
}
/* подключаем свой шрифт */
@font-face {
    font-family: My Custom Font;
  /*  src: url(/static/img/fonts/Copperplate Bold.ttf) format("truetype"); */
    src: url(/static/img/fonts/Book Antiqua bold italic.ttf) format("truetype");;    
}
p.customfont {
    font-family: My Custom Font;
}

.circle_edit {
  display: inline-block;
  position: relative;
/*  height: 20px; /* ширина полей вывода текста на монете */
/*  width: 102px;
/*  margin-top: 27%; /* отступ сверху от картинки монеты */
/*  border-radius: 50%;
  overflow: hidden; */
  box-shadow: inset 0 0 0 1px #8e5df8; /* рамки для выводимого текста */
/*  background-image: url(/static/img/logo_partners/logo_for_text.jpg);*/
/*  background-position: bottom center, 42% 13%;
  background-repeat: no-repeat;
  background-size: 80%, 83%; */
  font-size: 18px;
  font-family: My Custom Font; 
  text-align: justify;
  text-align-last: center;
  text-justify: inter-character;
  letter-spacing: 0.3px;
  color: #433719; /* цвет шрифта */
}

.circle_edit>p:first-of-type {
  position: absolute;
  top: 53%; right: 5%;
  font: 11px sans-serif;
}
.circle_edit>p:nth-of-type(2) {
  position: absolute;
  top: 50%; left: 5%;
  font: bold 20px sans-serif;
  text-shadow: 0 1px 2px black;
}
.circle_edit>p:last-of-type {
  padding-top: 66%;
  font: 9px sans-serif;
  text-shadow: 0 0 2px black;
}

/* стиль для обычной кнопки */
  .next {
    background-color: #4CAF50; /* Green */
    border: none;
    border-radius: 12px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.2s;
    }
    .next:hover {
    background-color: #717100; 
    color: #ffff99; 
/*    border: 2px solid #4CAF50; */
    }
        .next:disabled {
    background-color: #bbbbbb; 
    color: #ffff99; 
    }
    
    /* стиль для мелкого текста */
.small_text
{
	display: inline-block;
    font-family: Tahoma;
    font-size: .8em;
	/* width: 9em; */
	text-align: center;
	color: #9E9E9E;
}
    
.example{
    border: 1px solid #000000;
    width: 220px;
    height: 410px; 
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~стиль картинки в каталог ~~~~~~~~~~~~~~~~~~~~~~~~ */
      .wrapper_img {
        width: 200px;
        height: 200px;
 /*      border: 5px solid #515151; */  
      }
      .exmpl {
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
      }
 /*     .exmpl img {
        height: 100%;
        width: auto;
      }*/
      .exmpl img {
        height: auto;
        width: 200px;
      } 
      .mini_wrapper {
        width: 100px;
        height: 100px;
      }
      .mini_img {
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .mini_img img {
        height: auto;
        width: 100px;
      } 
      
/* ~~~~~~~~~~~~~~~~~~~~~~~~стиль картинки для простых кодов ~~~~~~~~~~~~~~~~~~~~~~~~ */
      .wrapper_code {
        width: 300px;
        height: 300px;
 /*      border: 5px solid #515151; */  
      }
      .img_code {
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .img_code img {
        height: auto;
        width: 300px;
      } 
     
     
/* ~~~~~~~~~~~~~~~~~~~~~~~~ стиль текста в каталог ~~~~~~~~~~~~~~~~~~~~~~~~ */      
      .text_info {
      max-width: 600px;
      text-align:justify;
      overflow-wrap: break-word; /* перенос длинного названия, но длинные ссылки не переносит */
/*      word-break: break-all; /* перенос длинного названия без дефисов и как попало*/
      }


/* ~~~~~~~~~~~~~~~~~~~~~~~~ показ превью загруженной картинки нужным размером ~~~~~~~~~~~~~~~~~~~~~~~~ */   

		.file-upload input[type="file"]{ 
			display: none;/* скрываем input file */ 
		} 
		.file-form-wrap{
			width:260px; 
			margin:auto;
		} 
		.file-upload { 
			position: relative; 
			overflow: hidden; 
			width: 250px; /* длина кнопки */
			height:50px;  /* высота кнопки */
			line-height:50px;
			background: #4169E1; 
			border-radius: 10px; 
			color: #fff; 
			text-align: center; 
		} 
		.file-upload:hover { 
			background: #1E90FF; 
		} 
		/* Растягиваем label на всю область блока .file-upload */ 
		.file-upload label { 
			display: block; 
			position: absolute; 
			top: 0; 
			left: 0; 
			width: 100%; 
			height: 100%; 
			cursor: pointer; 
		} 
		/* стиль текста на кнопке*/ 
		.file-upload span { 
			font-weight:bold; 
		}
		.preview-img{ 
			max-width:200px; /* ширина превьюшки */
			max-height:200px; 
			margin:5px; 
		}
		@media (max-width: 300px){
            .file-form-wrap{
			width:220px; 
			}
			.file-upload { 
		    width: 210px;
			}
		}

.ava_small /* круглая маленькая ава */
{
    width: 3em;
    height: 3em;
    border-radius: 50%; /* Радиус скругления */
    box-shadow: 0 0 0 1px green, 0 0 3px #333; /*здесь был зеленый ободок в 3 пикселя */
    object-fit: cover; /* Не даем изменить пропорции изображений */
}
		

a.del_man
{
	font-size: 0;
	overflow: hidden;
	display: inline-block;
	width: 16px;
	height: 16px;
	line-height: 16px;
	vertical-align: middle;
	background: transparent url(/static/img/del.png) no-repeat 0 0 !important;
	opacity: .8;
    border: 0;
}

a.del_man:hover
{
	opacity: 1;
}


a.plus
{
	font-size: 0;
	overflow: hidden;
	display: inline-block;
	width: 16px;
	height: 16px;
	line-height: 16px;
	vertical-align: middle;
	background: transparent url(/static/img/plus.png) no-repeat 0 0 !important;
	opacity: .8;
    border: 0;
}

a.plus:hover
{
	opacity: 1;
}


a.minus
{
	font-size: 0;
	overflow: hidden;
	display: inline-block;
	width: 16px;
	height: 16px;
	line-height: 16px;
	vertical-align: middle;
	background: transparent url(/static/img/minus.png) no-repeat 0 0 !important;
	opacity: .8;
    border: 0;
}

a.minus:hover
{
	opacity: 1;
}		

/* ~~~~~~~~~~~~~~~~~~~~~~~~ стиль ползунка в управлении программой ~~~~~~~~~~~~~~~~~~~~~~~~ */   
/* Линия-ндикатор для Firefox */

input[type=range]::-moz-range-track {
    background: none;
    border: none;
}

/* ползунок в Firefox */

input[type=range]::-moz-range-thumb {
    /*
     -moz-appearance: none;
     width: 20px;
     height: 20px;
     border-radius: 70%/30%;
     border: 2px solid #818181;
     /* фон слева от ползунка */
    box-shadow:
    -13px 0 #717100, -26px 0 #717100, -39px 0 #717100,
    -52px 0 #717100, -65px 0 #717100, -78px 0 #717100,
    -91px 0 #717100, -104px 0 #717100, -117px 0 #717100,
    -130px 0 #717100, -143px 0 #717100, -156px 0 #717100,
    -169px 0 #717100, -182px 0 #717100, -195px 0 #717100,
    -208px 0 #717100, -221px 0 #717100, -234px 0 #717100,
    -247px 0 #717100, -260px 0 #717100, -273px 0 #717100;
}

/* ползунок в Хроме */

input[type=range]::-webkit-slider-thumb {
    /*
     -webkit-appearance: none;
     width:20px;
     height:20px;
     border-radius: 70%/30%;
     border: 2px solid #818181;
     background: #fff;
     */
    /* фон слева от ползунка */
    box-shadow:
    -13px 0 #717100, -26px 0 #717100, -39px 0 #717100,
    -52px 0 #717100, -65px 0 #717100, -78px 0 #717100,
    -91px 0 #717100, -104px 0 #717100, -117px 0 #717100,
    -130px 0 #717100, -143px 0 #717100, -156px 0 #717100,
    -169px 0 #717100, -182px 0 #717100, -195px 0 #717100,
    -208px 0 #717100, -221px 0 #717100, -234px 0 #717100,
    -247px 0 #717100, -260px 0 #717100, -273px 0 #717100;
}

.slider-container {
    display: flex;
    align-items: center;
    max-width: 300px;
    
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 27px;
    border-radius: 5px;
    box-shadow: inset 0 0 0 4px #ffffff; /*рамка*/
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin-right: 10px;
    overflow: hidden;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #433719; /* цвет ползунка  */
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #433719; /* цвет ползунка  */
    cursor: pointer;
}

/* Стили для кнопок */
.cliker {
    width: 25px;
    height: 25px;
    background-color: #4CAF50;
    border: none;
    border-radius: 50%;
    color: white;
    /*padding: 10px 15px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 10px;
    cursor: pointer;
}

.cliker:hover {
    background-color: #3e8e41;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~ стиль ободка вокруг круглой кнопки ~~~~~~~~~~~~~~~~~~~~~~~~ */   
.round_button /* ободок */
{
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%; /* Радиус скругления */
    box-shadow: 0 0 0 2px green; /* здесь был зеленый ободок в 3 пикселя */
    object-fit: cover;  /* Не даем изменить пропорции изображений */
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~ стиль для сообщений от менеджера под монетой ~~~~~~~~~~~~~~~~~~~~~~~~ */   
.bubble_to { 
/*    width: 300px; */
 	width: fit-content;  
    width: -moz-fit-content;
    margin: 35px auto 35px 0; /* здесь рамка с текстом смещены влево */
    font-size: 1em;
    text-align: left;
    border-radius: 15px;
    border: 3px solid #1AA0D2;
/*    display: inline-block; */
    position: relative;
}
.bubble_to::after {
    content: '';
    width: 29px;
    height: 20px;
    border-left: 3px solid #1AA0D2;
/*    border-right: 3px solid #717100; */ 
    border-bottom: 5px solid #1AA0D2;
/*    border-top: 3px solid #717100; */       
    position: absolute;
    bottom: 0px;
    left: 20px;
    background: white;
    transform: skewX(-30deg) skewY(-48deg);
}
.bubble_to-in {
    border-radius: 12px;
    padding: 10px;
    background: white;
    position: relative;
    z-index: 2; 
}
