*{
  --tail1Position: calc(-1 * (25px + env(safe-area-inset-bottom)) );
  --tail2Position: calc(-1 * (48px + env(safe-area-inset-bottom)) );
}

.program_container{
  padding-top: 6vh !important;
}

.program_container .main{
    visibility: visible !important;
    background: var(--theme_cardBackgroundTransparent);
    height: auto !important;
    width: 80% !important;
    max-width: 420px !important;
    padding-top: 36px;
    padding-bottom: 24px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin: auto;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
    animation: growIn .3s ease-out both !important;
    animation-delay: 0.2s !important;
    -webkit-animation: growIn .3s ease-out both !important;
    -webkit-animation-delay: 0.2s !important;
    transform: scale(0);
    z-index: 1001;
}

h3{
    text-align: center;
    color: var(--theme_primary);
    font-size: 18px !important;
    font-weight: 600;
    line-height: 28px !important;
    word-break: break-word;
    margin: 0px;
    margin-top: 8px;
    padding: 0px;
}

.text{
    margin: 0px;
    padding: 0px;
}

.text p{
    text-align: center;
    margin: 0px;
    margin-top: 18px;
    margin-bottom: 18px;
    font-size: 16px !important;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif !important;
    color: var(--theme_textDark);
    letter-spacing: 0.4px !important;
    line-height: 1.6em !important;
}

.multimedia_node img {
    max-width: 50% !important;
}

.button-group{
    width: 100% !important;
    margin: 0px !important;
    border: none !important;
    margin-bottom: 18px !important;
}

.button-group li{
    background: transparent !important;
    color: var(--theme_primary) !important;
    border: 1px solid var(--theme_primary) !important;
    border-radius: 24px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    min-height: 45px;
    text-align: center;
    text-decoration: none;
    padding: 12px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: 100%;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 0.4px !important;
}

.button-group li:last-of-type{
    border: 1px solid var(--theme_primary) !important;
    border-radius: 24px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    min-height: 45px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.button-group li .glyphicon{
    display: none;
}

.button-group li:hover{
    background: transparent !important;
    color: var(--theme_primary) !important;
    border: 1px solid var(--theme_primary) !important;
}

/*Custom Elements*/
div.component.homescreenPopupX{
    width: 0px;
    height: 0px;
    border: none;
    padding: 0px;
    margin: 0px;
    margin-top: -16px !important;
    margin-bottom: 24px;
}
div.component.homescreenPopupX .text{
    display: none;
}
div.component.homescreenPopupX::before{
    position: relative;
    left: 0;
    top: 0;
    display: block !important;
    content: "\00D7" !important;
    font-family: "Roboto", sans-serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    color: var(--theme_primary) !important;
}

@media only screen and (max-width: 480px) {
    .program_container .main {padding-left: 16px !important; padding-right: 16px !important;}
}

div.component.changelog{
    overflow-y: scroll;
    max-height: 40vh;
    height: auto;
    padding: 0px;
    margin: 0px;
    margin-top: 8px;
    border-radius: 0px;
    border: 1px solid #ccc;
    padding: 8px;
    -moz-box-shadow: inset 0 -20px 20px -20px rgba(0,0,0,0.125);
    -webkit-box-shadow: inset 0 -20px 20px -20px rgba(0,0,0,0.125);
    box-shadow: inset 0 -20px 20px -20px rgba(0,0,0,0.125);
}

.changelog .text p{
	text-align: left !important;
	margin-top: 0px !important;
	font-size: 14px !important;
}

.changelog hr{
	border: none;
    border-top: 2px dashed var(--theme_textDark) !important;
    border-image-source: url(../img/dashed_border.png) !important;
    border-image-width: 1 !important;
    border-image-slice: 2 !important;
    border-image-repeat: repeat !important;
    -webkit-border-image-source: url(../img/dashed_border.png) !important;
    -webkit-border-image-width: 1 !important;
    -webkit-border-image-slice: 2 !important;
    -webkit-border-image-repeat: repeat !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

/*Onboarding tour styles*/
div.demoNavigation li {
    filter: brightness(0.7);
}
div.demoNavigation li.tourHighlight {
    filter: brightness(1.0);
}
div.demoNavigation li.tourHighlight:before {
    display: block;
    content: " ";
    height: 12px;
    width: 100%;
    margin-bottom: -12px;
    background: var(--bubbleTail_down);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: growInTailBottom .3s ease-out both !important;
    animation-delay: 0.3s !important;
    -webkit-animation: growInTailBottom .3s ease-out both !important;
    -webkit-animation-delay: 0.3s !important;
    transform: translateY(var(--tail1Position)) scaleY(0);
    opacity: 0.9;
}
div.demoNavigation li.hero-button.tourHighlight:before {
    display: block;
    content: " ";
    height: 12px;
    width: 100%;
    margin-bottom: -12px;
    background: var(--bubbleTail_down);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: growInTailBottom2 .3s ease-out both !important;
    animation-delay: 0.3s !important;
    -webkit-animation: growInTailBottom2 .3s ease-out both !important;
    -webkit-animation-delay: 0.3s !important;
    transform: translateY(var(--tail2Position)) scaleY(0);
    opacity: 0.9;
}