.fleximg {
    max-width: 100%;
    max-height: 100%;
    padding: 5px;
}

/* Timeline Container */
.timeline {
  background: var(--primary-color);
  margin: 20px auto;
  padding: 20px;
}

/* Card container */
.timelinecard {
  position: relative;
  max-width: 800px;
}

/* setting padding based on even or odd */
.timelinecard:nth-child(odd) {
  padding: 30px 0 30px 30px;
}
.timelinecard:nth-child(even) {
  padding: 30px 30px 30px 0;
}
/* Global ::before */
.timelinecard::before {
  content: "";
  position: absolute;
  width: 50%;
  /*border: solid #efb225;*/
  border: solid #007bff;
}

/* Setting the border of top, bottom, left */
.timelinecard:nth-child(odd)::before {
  left: 0px;
  top: -4.5px;
  bottom: -4.5px;
  border-width: 5px 0 5px 5px;
  border-radius: 50px 0 0 50px;
}

/* Setting the top and bottom to "-5px" because earlier it was out of a pixel in mobile devices */
@media only screen and (max-width: 400px) {
  .timelinecard:nth-child(odd)::before {
    top: -5px;
    bottom: -5px;
  }
}

/* Setting the border of top, bottom, right */
.timelinecard:nth-child(even)::before {
  right: 0;
  top: 0;
  bottom: 0;
  border-width: 5px 5px 5px 0;
  border-radius: 0 50px 50px 0;
}

/* Removing the border if it is the first card */
.timelinecard:first-child::before {
  border-top: 0;
  border-top-left-radius: 0;
}

/* Removing the border if it is the last card  and it's odd */
.timelinecard:last-child:nth-child(odd)::before {
  border-bottom: 0;
  border-bottom-left-radius: 0;
}

/* Removing the border if it is the last card  and it's even */
.timelinecard:last-child:nth-child(even)::before {
  border-bottom: 0;
  border-bottom-right-radius: 0;
}

/* Information about the timeline */
.timelineinfo {
  display: flex;
  flex-direction: column;
  /*background: #333;
  color: gray;*/
  border-radius: 10px;
  padding: 10px;
	position: relative;      /* добавить */
  z-index: 1;              /* добавить */
	}

/* Title of the card */
.timelinetitle {
  /*color: #efb225;*/
  color: #007bff;
  position: relative;
}

/* Timeline dot  */
.timelinetitle::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 999px;
  /*border: 3px solid #efb225;*/
  border: 3px solid #007bff;
}

/* text right if the card is even  */
.timelinecard:nth-child(even) > .timelineinfo > .timelinetitle {
  text-align: right;
}

/* setting dot to the left if the card is odd */
.timelinecard:nth-child(odd) > .timelineinfo > .timelinetitle::before {
  left: -43px;
}

/* setting dot to the right if the card is odd */
.timelinecard:nth-child(even) > .timelineinfo > .timelinetitle::before {
  right: -43px;
}

label {
	font-weight: bold;
}

input[type=radio],input[type=checkbox]{
  transform:scale(1.5);
  /*margin: 5px;*/
}

.form-control-danger {
    border-color: #d9534f;
}

/*выделение групп клиентов в очереди взаимопомощи*/
.queueGroupStart {
	border-top: 2px solid red;
}
.queueGroupFinish {
	border-bottom: 2px solid red;
}
.queueGroupItem {
	border-left: 2px solid red;
	border-right: 2px solid red;
}

/*добавляем отступ сверху для элемента sticky-top - выбор страны*/
body {
    padding-top: 50px !important;
}