/*
    Use this stylesheet to modify the layout of your
    conference.
*/

:root {
  /* --conf-theme-header-bg: #fa6900; */
  --conf-theme-header-border-bottom: #AE3721;
  --conf-theme-header-text: AE3721;

  /* Title area */
  --conf-theme-form-bg: #ffffff;
  --conf-theme-form-border: #ffffff;
  --conf-theme-form-text: #ffffff;

  /* Subtitle area */
  --conf-theme-subtitle-bg: #1A6951;
  --conf-theme-subtitle-border: #ffffff;
  --conf-theme-subtitle-text: #1A6951;

  /* Menu colors */
  --conf-theme-menu-bg: #1A6951;
  --conf-theme-menu-border: #1A6951;
  --conf-theme-menu-link: #ffffff; /* menu text */
  --conf-theme-menu-selected-bg: #AE3721;

  /* Support box */
  --conf-theme-support-border: #1A6951;
  --conf-theme-support-bg: #ffffff;
  --conf-theme-support-border: #1A6951;
  --conf-theme-support-header-bg: #1A6951;
  --conf-theme-support-header-text: #ffffff;

  /* --conf-theme-sprite-image: url('/images/conf/sprites_orange.png'); */
  --conf-theme-hover-bg: #777;
  --conf-theme-hover-color: white;
  --conf-theme-title-sprite-text: #1A6951;
  --conf-theme-title-sprite-bg: var(--conf-theme-sprite-image);

  /* Announcement colors */
  --conf-theme-announcement-bg: #f5faff;
  --conf-theme-announcement-border: #c2d6e7;
  --conf-theme-announcement-text: #ffffff;
  --conf-theme-announcement-border-top: 1px solid var(--conf-theme-announcement-border);
  --conf-theme-announcement-border-bottom: none;
  --conf-theme-announcement-shadow: inset 0 0 0.3em var(--conf-theme-announcement-border);
}
<span itemprop="title">full<br>title</span>

/* стиль с тенью */
#confSectionsBox {
    width: 990px;
    /* background: url('https://indico.cern.ch/conferenceDisplay.py/getPic?picId=2&confId=235520') repeat; */
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.5), inset 0px 3px 2px rgba(100, 100, 100, 0.1);
    margin: 0 auto;
    padding: 20px;
    border-radius: 0 0 3px 3px;
}


/* Заголовок страницы/подсекции (часто h1/h2 в контенте) */
header .title .title-with-actions h2#main-content {
  color: #AE3721 !important;
  font-weight: 700 !important; /* 700 = bold */
}
.header .header-row > h3 {
  color: #AE3721 !important;
}
.datePlace .date {
  color: #1A6951 !important;
}

/* Регистрация успешна */
.action-box.accept {
  background: #a5cabf !important;
  color: #1A6951 !important;
}
/* Иконка-перо в action-box.accept */
.action-box.accept .icon.icon-quill {
  color: #1A6951 !important;            /* если иконка как шрифт */
}
/* текстовые элементы */
.action-box.accept .label,
.action-box.accept .text {
  color: #1A6951 !important;
}

.i-box-header .i-box-title {
  color: #AE3721 !important;
}

/* Timeline */
/* 1) Если линия — реальный div */
li.completed .horizontal-line {
  background-color: #1A6951 !important;
}

li.completed .horizontal-line {
  border-color: #1A6951 !important;
}


/* 0) Никогда не заливаем весь пункт */
li.completed,
li.completed:hover {
  background: transparent !important;
}

/* 1) Кружок как обычный блок */
li.completed .circle {
  background-color: #1A6951 !important;
  border-color: #1A6951 !important;
  background-image: none !important;   /* если был градиент */
}

/* 2) Кружок часто рисуют через псевдоэлемент */
li.completed .circle::before,
li.completed .circle::after {
  background-color: #1A6951 !important;
  border-color: #1A6951 !important;
}

/* 3) Если кружок — это border, а внутри пусто */
li.completed .circle {
  background: transparent !important;
  border: transparent !important;
}

/* Если синим был текст */
li.completed,
li.completed .label,
li.completed .text,
li.completed time {
  color: #1A6951 !important;
}

/* Action box (highlight): зелёный фон + белый текст */
.action-box.highlight {
  background-color: #d9efe9 !important;
  color: #1A6951 !important;
}

/* Весь текст внутри */
.action-box.highlight .text,
.action-box.highlight .label,
.action-box.highlight .text * {
  color: #1A6951 !important;
}

/* Кнопка внутри action-box.highlight */
.action-box.highlight .toolbar .i-button.highlight,
.action-box.highlight .toolbar .i-button.highlight:link,
.action-box.highlight .toolbar .i-button.highlight:visited {
  background-color: #1A6951 !important;
  border-color: #1A6951 !important;
  color: #ffffff !important;  /* тёмный текст для читаемости */
}
/* Hover/active */
.action-box.highlight .toolbar .i-button.highlight:hover,
.action-box.highlight .toolbar .i-button.highlight:active {
  background-color: #1A6951 !important;
  border-color: #1A6951 !important;
  color: #ffffff !important;
}



/* Иконки сделать темным зеленым  */
.icon.icon-file-content,
.icon.icon-ticket {
  color: #1A6951 !important;            /* если иконки как font-icon */
  /* background-color: #1A6951 !important; /* если иконки через фон/маску */ */
}

/* Кнопка регистрации: зелёный фон + белый текст */
a.i-button.highlight[href="/event/5701/registrations/706/"]{
  background-color: #1A6951 !important;
  border-color: #1A6951 !important;
  color: transparent !important;  /* прячем оригинальный "Register" */
  position: relative;
}

/* Пишем новый текст поверх */
/* Старая кнопка: делаем прозрачной */
a.i-button.highlight[href="/event/5701/registrations/706/"]{
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: transparent !important;   /* скрываем "Register" */
  position: relative;
  overflow: hidden;
}

/* Рисуем зелёный фон поверх (как бы новая кнопка) */
a.i-button.highlight[href="/event/5701/registrations/706/"]::before{
  content: "";
  position: absolute;
  inset: 0;
  background-color: #1A6951;
  border-radius: inherit;
  z-index: 0;
}

/* Новый текст */
a.i-button.highlight[href="/event/5701/registrations/706/"]::after{
  content: "Upload Permission for publication";
  position: relative;
  z-index: 1;
  color: #ffffff;
  display: inline-block;
  text-align: center;
  width: 100%;
  /* white-space: normal; /* можно переносить */ */
}


/* Кнопка "Check details": делаем исходную прозрачной и прячем текст */
/* a.i-button.highlight[href="/event/5701/registrations/657/"]{ */
  /* background: transparent !important; */
  /* border-color: transparent !important; */
  /* box-shadow: none !important; */
  /* color: transparent !important; */
  /* position: relative; */
  /* overflow: hidden; */
/* } */

/* Рисуем зелёный фон */
/* a.i-button.highlight[href="/event/5701/registrations/657/"]::before{ */
  /* content: ""; */
  /* position: absolute; */
  /* inset: 0; */
  /* background-color: #1A6951; */
  /* border-radius: inherit; */
  /* z-index: 0; */
/* } */

/* Новый текст (поменяйте на нужный) */
/* a.i-button.highlight[href="/event/5701/registrations/657/"]::after{ */
  /* content: "You have already registered"; */
  /* position: relative; */
  /* z-index: 1; */
  /* color: #ffffff; */
  /* display: inline-block; */
  /* text-align: center; */
  /* width: 100%; */
  /* white-space: normal; */
/* } */

/* a.i-button.highlight[href="/event/5701/registrations/657/"]:hover, */
/* a.i-button.highlight[href="/event/5701/registrations/657/"]:active, */
/* a.i-button.highlight[href="/event/5701/registrations/657/"]:focus{ */
  /* background-color: #1A6951 !important; */
  /* border-color: #1A6951 !important; */
  /* color: #ffffff !important; */
/* } */

a.i-button.highlight[href="/event/5701/registrations/657/"]{
  background-color: #1A6951 !important;
  border-color: #1A6951 !important;
  color: transparent !important;  /* прячем оригинальный "Register" */
  color: #ffffff !important;
  position: relative;
}

/* Кнопка submit: зелёный фон + подмена текста на Upload */
button.ui.primary.button[type="submit"]{
  background: #1A6951 !important;
  border-color: #1A6951 !important;
  color: transparent !important;     /* скрыть "Register" */
  position: relative;
}

/* Новый текст */
button.ui.primary.button[type="submit"]::after{
  content: "Upload";
  color: #ffffff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}


/*
    Red     	#AE3721
    Orange  	#d76c5e
	GreenDark	#1A6951
	GreeLight	#a5cabf
*/