form { display:inline; }
img  { vertical-align:middle; border:0px }

.nav-font {
    font-size: 14px;
    font-family: 'Exo 2', sans-serif;

}

.nav-menu {
    color: #FFFFFF !important;
    font-size: 13px;
    font-family: 'Exo 2', sans-serif;
}

.nav-link {
    color: #FFFFFF !important;
}

.navbar-brand {
    color: #FFFFFF !important;
}


a {
    color: #2f2f2f !important;
}

body {font-family: -apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; color: #333333; line-height: 1.4285714286;}

.strong, b, strong {
    font-weight: 600;
}

small, small {
    font-size: 85.71428571%;
}

.custom-toggler.navbar-toggler {
    border-color: #FFFFFF;
}
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}




.code_block {
    font-family: 'Play', sans-serif;
    font-size: 13px;
    color: #545454;
}


.text {
float:none;
    margin:0 7px 0 0;
    background-color:#ffffff;
    border:1px solid #d1c7ac;
    border-top:1px solid #d1c7ac;
    border-left:1px solid #d1c7ac;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    padding:5px 10px 6px 7px; /* Links */
}








.bg           { background-color: #FFFFFF; border: 1px solid black; padding: 2px }








.ad {
	color: #FF0000;
	font-weight: bold;

}

 .ipt{
        border:solid 1px #C9C9C9;
        background-color:#ffffff;
        color:#000000;
    }


.page_b_off {
line-height: 2.0;
border:1px solid silver;
padding:1px 5px 1px 5px;
margin:12px 0 0 0px;
font-size : 11px;

}
a.page_b_off {color:gray;}

A.page_b_off:hover {
background-color: #cc0000;
color : white;
}

.page_b_on {
background-color: gray;
border:1px solid silver;
padding:1px 5px 1px 5px;
margin:0px 0 0 0px;
font-size : 11px;
color : white;
}


.xz
{

font:11px/12px Tahoma, Arial, sans-serif;
color:#050;
background:#fed;
padding:6px;
margin:1px 0;
border:1px solid #050;
}

.selectbutton_ru {
    cursor:pointer;
    display:block;
    height:27px;
    width:126px;
    line-height:70px;
    text-align:center;
    background-image:url('/template/img/select_ru.gif');
    background-repeat:no-repeat;
}


.clearlist_ru
{
    cursor:pointer;
    display:block;
    height:27px;
    width:126px;
    line-height:70px;
    text-align:center;
    background-image:url('/template/img/clearlist_ru.gif');
    background-repeat:no-repeat;
}

.startup_ru
{
    cursor:pointer;
    display:block;
    height:49px;
    width:127px;
    line-height:70px;
    text-align:center;
    background-image:url('/template/img/startup_ru.gif');
    background-repeat:no-repeat;
}


.selectbutton_en {
    cursor:pointer;
    display:block;
    height:27px;
    width:126px;
    line-height:70px;
    text-align:center;
    background-image:url('/template/img/select_en.gif');
    background-repeat:no-repeat;
}


.clearlist_en
{
    cursor:pointer;
    display:block;
    height:27px;
    width:126px;
    line-height:70px;
    text-align:center;
    background-image:url('/template/img/clearlist_en.gif');
    background-repeat:no-repeat;
}

.startup_en
{
    cursor:pointer;
    display:block;
    height:49px;
    width:127px;
    line-height:70px;
    text-align:center;
    background-image:url('/template/img/startup_en.gif');
    background-repeat:no-repeat;
}




.swiff-uploader-box a {
	display: none !important;
}


a:hover, a.hover {
	color: red;
}

#demo-status {
	padding: 10px 15px;
	width: 552px;
}

#demo-status .progress {
	background: url(/template/img/progress-bar/progress.gif) no-repeat;
	background-position: +50% 0;
	margin-right: 0.5em;
	vertical-align: middle;
}

#demo-status .progress-text {
	font-size: 0.9em;
	font-weight: bold;
}

#demo-list {
	list-style: none;
	width: 472px;
	margin: 0;
}

#demo-list li.validation-error {
	padding-left: 44px;
	display: block;
	clear: left;
	line-height: 40px;
	color: #8a1f11;
	cursor: pointer;
	border-bottom: 1px solid #fbc2c4;
	background: #fbe3e4 url(/template/img/failed.png) no-repeat 4px 4px;
}

#demo-list li.file {
	border-bottom: 1px solid #eee;
	background: url(/template/img/file.png) no-repeat 4px 4px;
	overflow: auto;
}
#demo-list li.file.file-uploading {
	background-image: url(/template/img/uploading.png);
	background-color: #D9DDE9;
}
#demo-list li.file.file-success {
	background-image: url(/template/img/success.png);
}
#demo-list li.file.file-failed {
	background-image: url(/template/img/failed.png);
}

#demo-list li.file .file-name {
	font-size: 1.2em;
	margin-left: 44px;
	display: block;
	clear: left;
	line-height: 40px;
	height: 40px;
	font-weight: bold;
}
#demo-list li.file .file-size {
	font-size: 0.9em;
	line-height: 18px;
	float: right;
	margin-top: 2px;
	margin-right: 6px;
}
#demo-list li.file .file-info {
	display: block;
	margin-left: 44px;
	font-size: 0.9em;
	line-height: 20px;
}
#demo-list li.file .file-remove {
	clear: right;
	float: right;
	line-height: 18px;
	margin-right: 6px;
}

.comment {
/*	border:1px solid #ccc; */
	padding:5px;

	background-color: #f3f3f3;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border: 1px solid #f3f3f3;
	width: 100%;
}

.comment-time {
	font-size: 80%;
	color: gray;
}

.message {
	font-size: 90%;
	color: gray;
}

#sapetext { font-size: 10px! important; padding:7px; text-align:center; }


.tmb { border: 1px #999999 solid; padding: 1px; display:block }



/* BUTTONS */





.buttons a, .buttons button{
    float:none;
    margin:0 7px 0 0;
    background-color:#eeeded;
    border:1px solid #8a8a8a;
    border-top:1px solid #ebeaea;
    border-left:1px solid #ebeaea;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}



/* STANDARD */

button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

button.positive, .buttons a.positive{
    color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.buttons a.negative, button.negative{
    color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}

.editcode {
    border: solid 1px silver;
    border-right: none;
    padding: 10px;
    height:16px;
    transition: box-shadow 0.3s, border 0.3s

}


#text {margin:50px auto; width:500px}


#tt {position:absolute; display:block; background:url(/template/img/tt_left.gif) top left no-repeat}
#tttop {display:block; height:5px; margin-left:5px; background:url(/template/img/tt_top.gif) top right no-repeat; overflow:hidden}
#ttcont {display:block; padding:2px 12px 3px 7px; margin-left:5px; background:#666; color:#FFF}
#ttbot {display:block; height:5px; margin-left:5px; background:url(/template/img/tt_bottom.gif) top right no-repeat; overflow:hidden}

  .folder {position: relative;
 	width: 128px;
	height: 128px;}
  .folderim {position: absolute;}
  .circletext {
    position: absolute;
	width: 39px;
	height: 15px;
    top: 10px;
    left: 87px;
	text-align: center;
	color: #FFFFFF;
    font-size: 10px;
    }

.circle {
	position: absolute;
    top: 2px;
    left: 92px;
	width: 30px;
	height: 30px;
	background: #545454;
	-moz-border-radius: 33px;
	-webkit-border-radius: 44px;
	border-radius: 50px;}

img.avatar {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 1px 0 #fff;
    -moz-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
}

.clickbtn{
    border:1px solid silver;
    vertical-align:top;
    padding: 10px;
    background-image: url('/template/img/clipboard.png');
    background-position: 10px center;
    background-repeat: no-repeat;
    color:#fff;
    cursor:pointer;
    width:40px;
    height:38px;
}
.clickbtn:hover {
    border:1px solid silver;
    background-image: url('/template/img/clipboard.png');
    background-position: 10px center;
    background-repeat: no-repeat;
    color: white;
}

.scrollToTop{
    display: none;
    position: fixed;
    bottom: 35px;
    right: 15px;
    width: 40px;
    z-index: 1;

}

.request{background: #aa2d28;color: #ffffff;font-family:Verdana,sans-serif;display:none;overflow:visible;font-size:10pt;top:0;left:0;z-index:1000;text-align:center;padding:4px;box-shadow: 0px 1px 3px #666}

.images {
    height: auto;
    width: auto;
    max-width: 1024px;
    max-height: 1024px;
}
.deletenotice {
    height: 18px;
    font-size: 10px;
    padding: 4px 0;
    background: #FFE6E6;
    border-radius: 8px;
}

.uploadbox {
    padding: 10px;
    position: relative;
    border: 1px;
    border-style: dashed;
    border-color: #CECECE;
    margin: 0px 30px;
}

.ui-dialog, .ui-widget-header, .ui-widget-content, .ui-widget {
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: 11px;
}
.ui-widget input {
    font-size: 13px !important;
}

.video {
    max-width: 100%;
    height: auto;
}
.code {
    font-family: Menlo,Monaco,Consolas,Courier New,monospace;
}

.tab {
    border-collapse: collapse;
    width: 600px;
}
.td_api, .th_api {
    border: 1px solid black;
    text-align: center;
    padding: 4px;
}
.th_api {
    background: #fc0;
    vertical-align: bottom;
    padding: 10px;
}
.list-counter-square {
    list-style: none;
    counter-reset: list;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.list-counter-square>li {
    position: relative;
    display: block;
    height: 2rem;
    line-height: 2rem;
    margin-left: 2rem;
    margin-bottom: .25rem;
    padding-left: .5rem;
    padding-right: .5rem;
    background: #d1ecf1;
    white-space: nowrap;
}
.list-counter-square>li:last-child {
    margin-bottom: 0;
}
.list-counter-square>li::before {
    content: counter(list);
    counter-increment: list;
    position: absolute;
    left: -2rem;
    top: 0;
    bottom: 0;
    width: 2rem;
    line-height: 2rem;
    text-align: center;
    color: #fff;
    background: #fc0;
}

.img_border {
    position: relative;
}





 .image-container {
     position: relative;
     display: inline-block;
     margin: 10px;
 }


.img_checkbox {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
    cursor: pointer;
}


.img_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


.img_checkbox .checkmark {
    position: relative;
    display: block;
    height: 22px;
    width: 22px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    border: 2px solid #5d78ff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


.img_checkbox:hover .checkmark {
    border-color: #3a56ff;
    transform: scale(1.1);
}


.img_checkbox input:checked ~ .checkmark {
    background-color: #5d78ff;
    border-color: #5d78ff;
    animation: pulse 0.4s ease;
}


.img_checkbox .checkmark:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: all 0.2s ease 0.1s;
}


.img_checkbox input:checked ~ .checkmark:after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}


@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}


.img_checkbox input:active ~ .checkmark {
    transform: scale(0.9);
}


.image-container img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}



.preview_image {
    transition: .5s ease;
}
.img_border:hover .preview_image {
    opacity: 0.5;
}



/* Стили для панели действий */
.action-panel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Используем viewport width */
    height: auto;
    z-index: 1040;
    overflow: visible;
    padding-right: var(--bs-modal-padding) !important; /* Компенсируем padding */
}

/* Альтернативный вариант */
body.modal-open .action-panel-container {
    padding-right: calc(var(--bs-modal-padding) + 17px) !important;
}
.action-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #dee2e6;
    border-radius: 0 0 12px 12px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid #dee2e6;
}

.action-panel.visible {
    transform: translateY(0);
}

/* Стили для элементов управления */
.action-panel .action-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 1800px;
    margin: 0 auto;
}

.action-panel .form-group {
    margin-bottom: 0;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .action-panel .action-content {
        gap: 5px;
    }
    .action-panel .form-group {
        flex: 1 0 100%;
        margin-bottom: 5px;
    }
    .action-panel .form-group.ml-auto {
        order: 1;
    }
}

.search-container {
    position: relative;

}
#search-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
#search-results {
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-top: none;
    background: #fff;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd; /* Цвет линии */
}

.divider-text {
    padding: 0 12px;
    color: #777; /* Цвет текста */
    font-size: calc(0.75rem * 1)
}


.auth_button {
    width: 246px;
    height: 49px;
    border-radius: 8px;
    min-height: 44px;
    background: #07f;
    cursor: pointer;
    transition: all .2s ease;
    display: block;
}

.auth_button:hover {
    background: #0071f2;
    text-decoration: none !important;
}

.auth_button:active {
    background: #0069e1;
    text-decoration: none !important;

}

.auth_container {
    display: flex;
    align-items: center;
    padding: 11px;
}

.auth_icon, .auth_text {
    display: flex;
}

.auth_icon+.auth_text {
    margin-left: -28px;
}

.auth_icon>svg {
    height: 28px;
    width: 28px;
}

.auth_text {
    font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
    flex: 1;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 14px;

}


.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 49px;
    width: 246px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    max-width: 400px;
    min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
}