html {
    scroll-behavior: smooth; /* Для браузеров, поддерживающих это свойство */
}



.floating-button {
    display: none; /* Скрываем кнопку по умолчанию */
    position: fixed;
    bottom: 30px;
    right: 20px;

    text-decoration: none;
	
	width: 90%;
    left: 5%;
}




.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
margin-left:8px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
	font-size:12px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}


.project-sending {margin-bottom:20px;}
.need_to_login {
	
    border: 2px #ccc dashed;
    padding: 15px;
    margin-bottom: 20px;

}

.need_to_login .bottom {
	  float: right;
      margin-top: -7px;
}

.ai-project-visible-status {
	float: right;
    padding: 5px 10px;
    background: #f3ce70;
    border-radius: 5px;
    margin-left: 10px;
    font-weight: 600;
	font-size:14px;
}
.single-ai-project h2 {font-size: calc(18px + 4 * (100vw / 1280));}
.ai-project-order div {margin-bottom:10px;}
.example img {margin-right: 3px; width:40px;}
.example {margin-top:20px;}
.ai-project-order div i {color:#e8a804; margin-right:5px;}
#ai_process_status {font-size:22px; font-weight:600; margin-bottom:20px;}
.ai-project-order {
	font-size: 16px;
	border: 1px var(--wp--preset--color--luminous-vivid-amber) dashed;
    padding: 30px;
	border-radius:10px;
	margin-top:40px;
}
.ai-project-order .buttons {
    margin-top: 20px;
}




.page-template-template-ai-project .lead {text-align:center;}
.header .top {height:80vh;padding-top:5%}
.ap-project-menu {margin-top:15px;}
#ai_post_form_project {position:relative}
.project-sending, .login_form {
float:right;
margin-top:15px;
}
.ai-project-status {
	display: -webkit-inline-box;
    padding: 2px 5px;
    background: #f3ce70;
    margin-bottom: 10px;
    font-size: 12px;
    border-radius: 3px;
    float: right;
    font-weight: 600;
    color: var(--rclText);
	text-transform: uppercase
}



.single .ai-project-status {
	float: none;
	font-size:14px;
	padding: 5px 10px;
	margin-bottom: 10px;
}

.ap-project-menu ul {
    list-style-type: none; /* убираем маркеры списка */
    padding: 0;
    margin: 0;
	margin-bottom:30px;
	padding-right: 20px;
    display: inline;
	
}

.ap-project-menu a {
text-decoration:none;
color:black;
}

.ap-project-menu .active {

		background:#e8a804;
	border:1px #e8a804 solid;
}

.ap-project-menu .active a{


color:white;
}


.ap-project-menu li {
    display: inline-block; /* отображаем элементы списка в одну строку */
font-size: 14px;
margin-bottom:7px;
	padding:5px 10px;
	border-radius:5px;
	
	background:white;
	border: 1px lightgrey solid;
}

.ap-project-menu li:hover {
    opacity:0.8;
}

.ap-project-menu li:last-child {
    margin-right: 0; /* убираем отступ у последнего элемента списка */
}


.docx-box {
	border: 1px #ccc solid; border-radius: 10px; padding: 35px 0px;margin-top: 20px;
}


.counter {
	font-size: 14px;
    text-align: right;
}
#ai_post_form label {
	font-size:16px;
}


.user_info {
position: absolute;
margin-left: 25px;
margin-top: 9px;
}
.user-table {
width:100%;
}
.user-table td {
padding:20px;
}
.ai_select {
width: auto;
    margin-bottom: 15px;
    font-size: 16px;
}
.question {height:70px !important; font-size: 18px !important; padding:20px; border-radius:10px !important; width:100% !important}
.offer {
	font-size: 12px;
    color: #777;
}

#attachment-list{
	border: 1px #ccc solid;
    padding: 20px;
    border-radius: 10px;
}



.docx-card {
	text-align:center;
	display:inline-block;
	font-size:16px;
	width:20%;
	margin: 15px;
	vertical-align: top;
}
.docx-image img
{
	width:100px;
}
.docx-date {
	font-size:12px; color:#777;
}

#statusMessage {
	
    font-size: 20px;
    text-align: center;
    margin-top: 35px;
}
.ai-project-modal {
display:none;
  position: fixed;
  z-index: 9991;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  width: 350px;
  border-radius:15px;
  height:350px;
}

.close {
color: #ccc;
 text-align:right;
    font-size: 35px;
    font-weight: bold;
	line-height:1em;

}


.close:hover, .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.spinner {
margin-top: 40px;
border: 10px solid rgba(0, 0, 0, 0.1);
border-top: 10px solid #e8a804;
border-radius: 50%;
width: 100px;
height: 100px;
animation: spin 1s linear infinite;
margin-left: 35%;
transform: translate(-50%, -50%);
display: none; /* скрываем по умолчанию */
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}


.project-toc {
	border: 1px #ccc solid;
    padding: 30px;
    border-radius: 10px;
	margin-top:30px;
	font-size:16px;
	line-height:1.5em;
}
.project-toc div {margin-bottom: 10px}

   .project-toc li {
    list-style-type: none; /* Убираем маркеры */
	margin-bottom:5px;
   }
   .project-toc ul {
    padding-left: 0; /* Сдвигаем список влево */
	margin-left: 14px;
	line-height:1.5;
	margin-top: 0px;
    margin-bottom: 0px;

   }
  .ai_project_toc_buttons {
	  margin-top:30px;
  }
@media only screen and (max-width: 600px) {

.ai_project_toc_buttons button, .ai_project_toc_buttons a {
	width:100%;
	margin-bottom: 10px;
}	
.docx-card {
	width: 95%;
    margin: 10px;
}	   
.modal-content {
	border-radius: 0px;
    width: 100%;
    height: 100vh;
    margin: 0px;
}
.spinner {
	margin-top: 45%;
}
	

	
.offer {
	position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 10px;
    font-size: 10px;
}
.project-sending, .login_form {
	position:relative;
	width:100%;
	margin-bottom:10px;
	right:inherit;

}
.ai-project-order {
	margin-top:30px;
}

.need_to_login .bottom {
	
      margin-top: 10px;
	  float:inherit;
}

.need_to_login .bottom a {
	  width:100%;
	  padding:4px;

}

}



.checkbox-ios {
	font-weight:400;
	display: inline-block;    
	height: 28px;    
	line-height: 28px;  
	margin-right: 10px;      
	position: relative;
	vertical-align: middle;
	font-size: 16px;
	user-select: none;	
}
.checkbox-ios .checkbox-ios-switch {
	position: relative;	
	display: inline-block;
	box-sizing: border-box;			
	width: 51px;	
	height: 25px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 25%/50%;	
	vertical-align: top;
	background: #eee;
	transition: .2s;
}
.checkbox-ios .checkbox-ios-switch:before {
	content: '';
	position: absolute;
	top: 1px;
	left: 1px;	
	display: inline-block;
	width: 20px;	
	height: 20px;
	border-radius: 50%;
	background: white;
	box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
	transition: .15s;
}
.checkbox-ios input[type=checkbox] {
	display: block;	
	width: 0;
	height: 0;	
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.checkbox-ios input[type=checkbox]:not(:disabled):active + .checkbox-ios-switch:before {
	box-shadow: inset 0 0 2px rgba(0, 0, 0, .3);
}
.checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch {
	background: #9b51e0;
}
.checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch:before {
	transform:translateX(28px);
}
 
/* Hover */
.checkbox-ios input[type="checkbox"]:not(:disabled) + .checkbox-ios-switch {
	cursor: pointer;
	border-color: rgba(0, 0, 0, .3);
}
 
/* Disabled */
.checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch {
	filter: grayscale(70%);
	border-color: rgba(0, 0, 0, .1);
}
.checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch:before {
	background: #eee;
}
 
/* Focus */
.checkbox-ios.focused .checkbox-ios-switch:before {
	box-shadow: inset 0px 0px 4px #ff5623;
}