#container {
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom);
    background: #1d1d1d;
    color: #ffffff;
    min-height: 100%;
}

body.pushable {
    background: #1d1d1d !important;
}

main {
    flex: 1;
    background: #1d1d1d;
    margin: 0 !important;
    padding: .5em 0 1em 0 !important;
}

main.noPadding {
    padding: 0 !important;
}

header {
    height: 60px;
    /*background: #1487A2 !important;*/
    /*border-bottom: 1px solid #1487A280 !important;*/
    border-bottom: 1px solid #ffffff70 !important;
    background: #252525 !important;
}

header.menu img {
    margin: 0 auto;
}

header.ui.menu:not(.vertical) a.right.item {
    margin: 0 !important;
}

header.menu a.item::before {
    width: 0 !important;
}

#flyout {
    top: 60px !important;
    box-shadow: none !important;
}

#flyout.animating {
    border-right: 1px solid #ffffff70 !important;
}

#flyout .scrolling.content {
    display: flex;
    flex-direction: column;
    /*background: #1487A2;*/
    background: #252525;
    min-height: 100%;
}

#flyout .scrolling.content .grid {
    flex: 1;
    max-width: 450px;
    margin: -6em auto auto auto;
}

#flyout .menu {
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}

#flyout .menu .item {
    flex: 0 0 42%;
    margin-top: .3em;
    margin-bottom: .3em;
    padding: .92857143em !important;
    align-self: flex-start;
}


.pusher main {
    margin-top: 60px !important;

}

p, h1, h2, h3, h4, h5, div {
    overflow-wrap: break-word;
}

main > .column {
    max-width: 600px;
    padding: 1rem 1.5rem !important;
}


.pusher main > .column {
    max-width: 500px;
    padding: 1rem 1.5rem !important;
}

#back_button {
    margin-top: 1em;
}

main::after {
    content: "";
    display: block;
    background: #1d1d1d;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: env(safe-area-inset-bottom);
}

.ui.form {
    text-align: left;
}

.iti {
    width: 100%;
}

.ui.form .field .ui.input .iti input, .iti select, .iti select:focus {
    width: 100%;
}

.ui.form input[type=tel] {
    line-height: 1em;
}

.ui.form .iti__selected-dial-code {
    margin-bottom: -1px;
}


.ui.cards > .card {
    margin-left: 0;
    margin-right: 0;
}

a:not(.label) {
    color: inherit;
    text-decoration: underline;
}

a:not(.label):hover {
    color: lightgray;
    text-decoration: underline;
}

#profileForm #city .remove.icon {
    top: inherit;
}

#profileAvatar .image {
    width: 10em;
    height: 10em;
}

#profileAvatar img#avatar {
    border: 2px #F29100 solid;
}

@media only screen and (max-width: 767.98px) {
    .ui.unstackable.items > #profileAvatar.item > .image, .ui.unstackable.items > #profileAvatar.item > .image > img {
        width: 10em !important;
    }
}


footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #ffffff80;
    background: #252525;
    margin: 0 !important;
    padding-bottom: env(safe-area-inset-bottom);
}

footer > .column {
    max-width: 600px;
    padding: 1rem 1.5rem !important;
}

.pusher footer > .column {
    max-width: 500px;
    padding: 1.5rem 1.5rem !important;
}

a.iLlGo {
    text-decoration: none !important;
    font-size: .9em;
    color: #aaa !important;
    cursor: pointer;
    display: block;
    line-height: 1.4em;
}

a.iLlGo.active {
    color: #1487A2 !important;;
    font-weight: bold;
}

a.iLlGo:not(.active).closed .iLlGoText {
    display: none;
}


a.whoGoes {
    text-decoration: none !important;
    font-size: .9em;
    color: #F29100 !important;
    cursor: pointer;
    display: block;
    line-height: 1.1em;
    margin-top: 1.1em;
}


body.tma-ios.keyboard-open main {
    padding-bottom: 300px !important;
}

body.tma-ios footer,
body.pwa-ios footer {
    padding-bottom: 35px !important;
}

body.tma-ios.keyboard-open #chatFooter {
    padding-bottom: 290px !important;
}

.scheduleList .ui.avatar.image {
    margin: .1em .4em .1em .2em;
    width: 1.8em;
    height: 1.8em;
}

#mainColumn {
    width: 100%;
}

#mainColumn.toTop {
    align-self: inherit !important;
}

#mainColumn.noPadding {
    padding: 0 !important;
}


.topSticky {
    position: fixed;
    background: #252525;
    border-bottom: 1px solid #ffffff80;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 30;
}

.topSticky > div {
    max-width: 500px;
    padding: 1rem 1.5rem !important;
    margin: 0 auto;
}

#map {
    z-index: 20;
}

#mapLoader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}


#results .ui.pagination.menu .item {
    min-width: auto;
}

#results .ui.pagination.menu .item:first-child,
#results .ui.pagination.menu .item:last-child {
    border-radius: .28571429rem;
}

#results .ui.pagination.menu .item {
    margin: 0 .1785714em;
}

@media only screen and (max-width: 767.98px) {
    #results .ui.unstackable.items > .item > .image, #results .ui.unstackable.items > .item > .image > img {
        width: 4em !important;
    }
}

#results .ui.item {
    position: relative;
}

#results .ui.item:first-child {
    padding-top: .8em !important;
}

#results .ui.items {
    margin-top: -0.8em !important;
}


#results .ui.circular.image {
    width: 4em;
    height: 4em;
}

#results .ui.circular.image div {
    padding: 0;
    margin: 0;
    font-size: 1.6em;
    min-height: 100%;
    font-weight: bold;
}

#results .ui.divided.items > .item {
    padding: .8em 0;
}

#results .ui.items > .item .meta {
    margin: .2em 0 0 0;
}

#results .ui.item A {
    text-decoration: none;
}

#results A.favLink {
    position: absolute;
    top: .1em;
    right: -0.5em;
    padding: .5em;
}

#results A.userLink {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#results .header {
    margin-right: 1.5em;
}

.ui.label.messagesCount,
.ui.label.totalMessagesCount {
    position: absolute;
    display: none;
}

.ui.label.messagesCount.visible,
.ui.label.totalMessagesCount.visible {
    display: block;
}

nav .ui.label.totalMessagesCount {
    top: .5em;
    right: 3.5em;
}

header .ui.label.totalMessagesCount {
    top: .75em;
    right: .75em;
}

#chats .ui.label.messagesCount {
    bottom: 1.2em;
    right: .8em;
}

#chatInfo > div {
    padding: 0 !important;
}

#chatInfo .ui.inverted.menu {
    background: #252525;
}


@media only screen and (max-width: 767.98px) {
    #chatInfo .item > .image, #chatInfo .item > .image > img {
        width: 2.5em !important;
        height: 2.5em !important;
    }
}

#chatInfo #chatRecipient {
    position: relative;
    padding: .5em 50px .5em .8em;
    width: 100%;
    border-right: none;
}

#chatInfo #chatRecipient:hover {
    background: #252525;
}

#chatInfo #chatRecipient .header {
    text-align: left;
}

#chatInfo #chatRecipient::before {
    display: none;
}

#chatInfo #chatRecipient .ui.circular.image {
    width: 2.5em;
    height: 2.5em;
    margin-right: .8em;
    border: 1px #F29100 solid;
    overflow: revert;
}

#chatInfo #chatRecipient .ui.circular.image div {
    padding: 0;
    margin: 0;
    font-size: 1.1em;
    min-height: 100%;
    font-weight: bold;
}


#chatFooter .column {
    padding: 1em !important;
}

#chatFooter textarea {
    overflow: hidden;
    resize: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: .5em;
    min-height: 48px;
    max-height: 300px;
}

#chatFeed {
    position: absolute;
    inset: 0;
    margin: 0 auto;
    max-width: 500px;
}

#chatMessages {
    position: absolute;
    max-height: 100%;
    left: 0;
    bottom: 0;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1em 1em 1em;
}

#chatMessages .message {
    margin: 1em 0 0 0;
    padding: .6em .9em;
    max-width: 80%;
    text-align: left;
}

#chatMessages .recipient {
    text-align: left;
}

#chatMessages .own {
    text-align: right;
}

#chatMessages .own .message {
    background: #e6faff;
}

#chatFeed.system #chatMessages .recipient .message {
    background: #fff8ec;
}

#chatFeed.system #chatMessages .recipient .message p {
    margin: .2em 0 0 0;
}

#chatFeed.system #chatMessages .recipient .message .time {
    margin-top: 0;
}
#chatFeed.system #chatMessages .recipient .message a {
    color:#1487A2;
}
#chatFeed.system #chatMessages .recipient .message a:hover {
    text-decoration: none;
}

#chatMessages .message .time {
    text-align: right;
    font-weight: bold;
    font-size: .85em;
    margin: 0.4em -.3em -.3em .8em;
    float: right;
}

#chatMessages .divider {
    margin: 1.3em 0 .2em 0;
}

#chatMessages .divider.new {
    color: #5bb85d;
}

#chatMessages .divider.begin {
    color: #1487a2;
}

#chatMessages .divider.limit {
    color: #d8403f;
}

#chatMessages .divider.blocked {
    color: #F29100;
}

#chatBack {
    border-radius: 0;
}

#chatRewind {
    position: absolute;
    bottom: -2em;
    right: .8em;
    text-decoration: none;
    opacity: 0;
    font-size: 1.3em;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

#chatRewind.visible {
    bottom: .8em;
    opacity: .8;
}

#chatRewind.visible:hover {
    opacity: 1;
}


@media only screen and (max-width: 767.98px) {
    #chats .ui.unstackable.items > .item > .image, .ui.unstackable.items > .item > .image > img {
        width: 4em !important;
    }
}

#chats .ui.item {
    position: relative;
    padding: .8em !important;
}

#chats .ui.circular.image {
    width: 4em;
    height: 4em;
}

#chats .ui.circular.image div {
    padding: 0;
    margin: 0;
    font-size: 1.6em;
    min-height: 100%;
    font-weight: bold;
}


#chats .ui.item A {
    text-decoration: none;
}

#chats A.favLink {
    position: absolute;
    top: .1em;
    right: -0.5em;
    padding: .5em;
}

#chats A.chatLink {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#chats .ui.item .content {
    padding-left: 1em;
    padding-right: 5em;
}

#chats .ui.item .header {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    padding-right: 20px;
    margin-top: .05em;
}

#chats .ui.item .header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, #1d1d1d);
}


#chats .ui.item .description {
    margin-top: 0.2em;
    color: #aaaaaa;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    padding-right: 20px;
}

#chats .ui.item .description::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, #1d1d1d);
}

#chats .ui.item .meta {
    white-space: nowrap;
    position: absolute;
    top: 0.8em;
    right: 0.8em;
}

#speakerInfo #description a {
    color: #4183c4;
    text-decoration: none;
}

#speakerInfo #description a:hover {
    text-decoration: underline;
}


@media only screen and (max-width: 767.98px) {
    #participantsListContent .ui.unstackable.items > .item > .image, #participantsListContent .ui.unstackable.items > .item > .image > img {
        width: 4em !important;
    }
}

#participantsListContent .ui.items {
    margin-top: -0.8em !important;
}

#participantsListContent .ui.item {
    position: relative;
}

#participantsListContent .ui.item:first-child {
    padding-top: .8em !important;
}

#participantsListContent .ui.circular.image {
    width: 4em;
    height: 4em;
}

#participantsListContent .ui.circular.image div {
    padding: 0;
    margin: 0;
    font-size: 1.6em;
    min-height: 100%;
    font-weight: bold;
}

#participantsListContent .ui.divided.items > .item {
    padding: .8em 0;
}

#participantsListContent .ui.items > .item .meta {
    margin: .2em 0 0 0;
}

#participantsListContent .ui.item A {
    text-decoration: none;
}

#participantsListContent A.favLink {
    position: absolute;
    top: .1em;
    right: -0.5em;
    padding: .5em;
}

#participantsListContent A.userLink {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#participantsListContent .header {
    margin-right: 1.5em;
}