/**
 * Root colors _ -> -
 */
#helpDialog {
	width:100%;
	height:100%;
    scroll-behavior: smooth;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--misc-darkgrey-700);
    letter-spacing: -0.5px;
    
    width: clamp(50vw, 80vw, 100vw);
    margin: auto;
    /* border left-right will override margin, we need bars to be able to highlight the 'top' button */
    border-left: clamp(0vw,10vw,25vw) solid #0008;
    border-right: clamp(0vw,10vw,25vw) solid #0008;
	background-clip: padding-box;
}

#helpDialog * {
	/* font contain partial icons */
    font-family: Roboto, sans-serif, "Font Awesome 5 Free" !important;
}

#helpDialogOpenButton {
	vertical-align: bottom;
	color: #13124ea8;
} 

#helpDialogCloseButton {
	min-height:5%;
	width: 100%;
 	text-align: right;
 	font-size: 2em;
}

#helpDialogContainer {
	width:100%;
	height:100%;
}

#helpDialogContainer.helpLoading {
	background: #ffffff;
	margin-top: 0 !important;
	min-height:200px;
	min-width: 200px;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg id='loadingAnimation' width='100px' height='100px' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3e%3ccircle cx='75' cy='50' fill='undefined' r='4.89043'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.917s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.917s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='71.651' cy='62.5' fill='undefined' r='4.43757'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.833s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.833s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='62.5' cy='71.651' fill='undefined' r='3.77357'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.75s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.75s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='50' cy='75' fill='undefined' r='3.10957'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.667s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.667s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='37.5' cy='71.651' fill='undefined' r='3'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.583s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.583s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='28.349' cy='62.5' fill='undefined' r='3'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.5s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.5s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='25' cy='50' fill='undefined' r='3'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.417s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.417s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='28.349' cy='37.5' fill='undefined' r='3'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.333s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.333s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='37.5' cy='28.349' fill='undefined' r='3'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.25s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.25s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='50' cy='25' fill='undefined' r='3'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.167s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.167s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='62.5' cy='28.349' fill='undefined' r='3.56243'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='-0.083s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='-0.083s'%3e%3c/animate%3e%3c/circle%3e%3ccircle cx='71.651' cy='37.5' fill='undefined' r='4.22643'%3e%3canimate attributeName='r' values='3;3;5;3;3' times='0;0.1;0.2;0.3;1' dur='1s' repeatCount='indefinite' begin='0s'%3e%3c/animate%3e%3canimate attributeName='fill' values='%235699d2;%235699d2;%231d3f72;%235699d2;%235699d2' repeatCount='indefinite' times='0;0.1;0.2;0.3;1' dur='1s' begin='0s'%3e%3c/animate%3e%3c/circle%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: center;
}

#helpWrapper {
	padding-bottom:5em;
}

/*
    BASE
***********************/
#helpDialog ul li i {
	display: block;/* brings the sprite icons forward */
}

/*
    LINKS
***********************/

#helpDialog a,
#helpDialog a:visited,
#helpDialog a:active {
    text-decoration: none;
    color: var(--brand-orange-400);
    border-bottom: 1px dashed var(--brand-orange-400);
}

#helpDialog a:hover,
#helpDialog a:focus {
    color: var(--misc-lightblue-500);
    border-bottom: 1px dashed var(--brand-blue-500);
}

 #helpDialog nav > ul > li > a, a:visited, a:active {
    border: 0;
}

 #helpDialog nav > ul > li > a:hover, a:focus {
    color: var(--brand-blue-500);
    border: 0;
}


/* link to the top of the page hovering on the right side */
#helpDialog .to-top {
    z-index: 1;
    position: fixed;
    right: 1rem;
    top: 4rem;
    padding: 1rem;
    color: #fff;
    font-size: 2rem;
    background: #0008;
    border-radius: 50%;
}

#helpDialog .to-top:hover {
    color: var(--brand-blue-500);
}

/*
    HEADINGS
***********************/

#helpDialog h1, 
#helpDialog h2, 
#helpDialog h3, 
#helpDialog h4 {
    text-transform: uppercase;
    font-weight: 900;
}

#helpDialog h1 {
	margin: 0;
    padding: 1.5rem 0;
    font-size: 3rem;
    line-height: 3rem;
}

#helpDialog h2 {
/*     font-size: 3rem; */
/*     padding: 2.5rem 0rem 1.5rem 0rem; */
    color: var(--brand-orange-400);
    margin: 0;
    padding: 1.25rem;
    font-size: 2.5rem;
    line-height: 2.5rem;
}

#helpDialog section h2 {
    background: var(--misc-darkgrey-700);
    color: var(--brand-orange-400);
/*     padding: 2rem 1.5rem; */
    margin: 4rem 0 0 0;
    font-size: 2.5rem;
    text-transform: none;
/*     border-left: 10px solid var(--misc-brightorange-200); */
}

#helpDialog h3 {
/*     font-size: 2rem; */
/*     padding: 2rem 0rem 0.5rem 0rem; */
    color: var(--brand-orange-400);
    margin: 0;
    padding: 1rem;
    font-size: 2rem;
    line-height: 2rem;
}

#helpDialog h4 {
    font-size: 1.5rem;
    padding: 1rem 0rem 0.25rem 0rem;
    color: var(--brand-orange-400);
}


#helpDialog h1.page-title::before {
    content: '\f059';
    color: var(--misc-brightorange-400);
}

/* navigation */
#helpDialog nav > ul {
    border-bottom: 2px dotted var(--misc-darkgrey-500);
    padding-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr;/*repeat(3, 1fr); /* tsekkaa minmax kÃ¤yttÃ¶ */
}
#helpDialog nav > ul > li {
    list-style-type: none;
}

#helpDialog nav > ul > li::before {
    content: '\f0a4';
    margin-right: 0.5rem;
    color: #888;
}

#helpDialog nav h3 {
    /* font-size: 2rem; */
    color: var(--misc-darkgrey-700);
}

/* horizontal border below the listing to separate the list */
#helpDialog li.list-separator {
    padding-bottom: 1rem;
}

/* each part of the help in sections */
#helpDialog section {
    text-align: justify;
    margin-bottom: 1rem;
}

#helpDialog section ul.flex-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

#helpDialog section ul.flex-list li i {
	flex-shrink: 0;
} 
 
#helpDialog section ul.flex-list li:last-child{
	margin:0;
}

/* text parts in the section, sometimes br is used */
#helpDialog p {
    margin: 1rem 0;
    padding: 0 1rem;
}

/*
    CHAT (AND POLLS)
***********************/

#helpDialog section ul.flex-list li .fa-question,
#helpDialog section ul.flex-list li .fa-external-link-alt {
	width: 48px;
	height:48px;/* sets the row-height to be consistent */
	font-size: 1.8em;
	line-height: 48px;
	text-align: center;
}

#helpDialog section ul.flex-list li .sprite-webrtc-button-filler {
	visibility:hidden;
}

#helpDialog span.tab-style-text,
#helpDialog span.button-style-text {
/*     padding: 3px 8px; */
    background: #07415a;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.1rem;
	height: 1.1rem;
	padding: 8px;
	margin: 0 8px;
	white-space:nowrap;
}

#helpDialog span.tab-style-text {
    border-radius: 20px;
}

/* progress bar on top of the page to indicate how far along scrolling the page you are */
#helpDialog #progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 10px;

    background: linear-gradient(to right, #ff5f6d,#ffc371);
}

/*
    MEDIA QUERIES
********************** */

/* shrinking texts for smaller screen sizes */
@media only screen and (max-width: 880px) {
	#helpDialog .flex-list,
	#helpDialog .flex-list ul {
	    padding-left: 5%;
	}
	
	#helpDialog section ul.flex-list li .sprite-webrtc-button-filler {
		display:none;
	}
	
    #helpDialog {
        font-size: 16px;
    }

    #helpDialog h1.page-title {
        font-size: 2rem;
        padding-bottom: 1rem;
    }

    #helpDialog nav h3 {
        font-size: 1rem;
    }

    #helpDialog section h2 {
        font-size: 1.5rem;
        padding: 1rem 0.75rem;
    }
}

@media only screen and (max-width: 978px) {
    #helpDialog nav > ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 650px) {
    #helpDialog nav ul {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*
	WebRTC Positioning
************************ */
#video-area-container #helpDialogOpenButton {
	float:right;
	line-height:48px;
	width:48px;
}

.webrtc-fullscreen-enabled #video-area-container #helpDialogOpenButton {
	color: #fff;
}

body.appVideoChat #helpDialogOpenButton {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 9999;
	color: #ddd;
	width: 48px;
 	line-height: 48px;
 	cursor: pointer;
}

.refresh-list-button {
	width:32px;
	height:32px;
	background: url('/shared/image/manage/refresh-32.png');
	color: transparent;
	display: inline-block;
	line-height: 1.1rem;
	vertical-align: middle;
}


