/* ERROR: Failed to compile LESS code:
 Variable references are not allowed in LESS */

:root {

  --themePrimary: #007dbb;
  --themePrimaryLight: #d7f2ff;
  --themePrimaryDark: #013e5d;

  --themeSecondary: #007dbb;
  --themeTeritary: #8e9aa7; 

  --themeDark: #333333;
  --themeGreyDark: #5a626b;
  --themeGrey: #ced4da;
  --themeLightGrey: #f8f9fc;
  --themeLight: #ffffff;

  --primaryButtonColor: var(--themePrimaryLight);
  
  --headerColor: var(--themeLight);

}

.burger { background-color: transparent; }
.burger:hover { color: var(--themePrimaryDark); }
.btn-personal:hover, .btn-personal:focus { color: var(--themePrimaryDark); }


.logo {
    background: url(https://www.regionh.dk/til-fagfolk/Om-Region-H/regionens-design/logo-og-grundelementer/logo-til-print-og-web/PublishingImages/RegionH%20logo%2015%20mm.png) no-repeat;
    background-position-x: 0px;
    background-position-y: 30px;
    opacity: 0.6;
    width: 600px;
    height: 200px;
    position: absolute;
    line-height: 60px;
    margin-left: 240px;
    zoom: 0.25;
}

.LoginPage { background-color: var(--themePrimary);}

.formLogin .form-control {
    height: auto;
}

.formLogin .material-icons {
    font-size: 1.25rem;
}

.formLogin h3 { text-align: center; margin-bottom: 1rem; }

.PagePublicPasswordReset .mainContent { padding: 0; }
.formPasswordReset p:last-of-type { text-align: right; }

.tsToolbarPersonal .dropdown-menu .fa { color: var(--themePrimary); }
#tsSidenav a { padding: 3px 8px 3px 16px; } 
.usersOnline, .debugTime { display: none; } 
.tsSidebar { background: linear-gradient(-303deg,#025077,#025077 50%,#007dbb);} 

/* --- Widgets --- */
 
.zoneSouth .tsWidget:last-of-type { margin-bottom: 60px; }
.zoneNorth .tsWidget:last-of-type { margin-bottom: 60px; }

/* --- Widget Icons --- */ 

.tsWidgetIcon {
    top: 1.3rem;
    right: 2.5rem;
    text-align: center;
    min-width: 2.1rem;
}

.tsWidgetIcon {
    background-color: rgba(0, 125, 187, .25);
    color: rgba(0, 125, 187, 1);
}

.tsWidgetIcon:hover {
    background-color: var(--themeSecondary);
    color: #FFFFFF;
}

.actionLast  { display: none; }

.tsUpdateButtons.row { margin-left: 0px; margin-right: 0px; }
.tsUpdateButtons.row .updateSubmit {
    margin-right: 5px;
}
.tsUpdateButtons.row .updateSubmit:last-child {
    margin-right: 0px;
}

/* --- Fix Focus on Buttons Add to Core CSS --- */ 

.form-control:focus:not(.btn) {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.updateSubmit:focus {
    color: #FFFFFF;
    background-color: var(--primaryButtonBgColorHover);
    border-color: var(--primaryButtonBgColorHover);
    box-shadow: none;
}

/* --- Main Width --- */
.editCommand main,
.sendCommand main,
.showCommand main { 
    max-width: 1280px; 
}

/* ------------------------------------------------------------------------------------ */
/* ERROR PAGE */
/* ------------------------------------------------------------------------------------ */

main .systemerror {
    background: rgba(0, 125, 187, .1) no-repeat;
    font-size: 100%;
    border-radius: 0.5rem;
    display: block;
    background-position-x: center;
    background-position-y: 8px;
    background-size: contain;
    text-align: center;
    color: var(--themeTeritary);
    border: 1px dashed var(--themeTeritary);
    line-height: 30px;
}

.tsError {  margin-top: 20px; }

.tsErrorImage, .tsErrorDetails {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    margin-bottom: 20px;
}

.tsErrorImage { text-align: center; }
.tsErrorImage img { max-width: 60%; }
.tsErrorDetails p { font-size: 1rem; color: var(--themeTeritary); font-weight: 100; }
.tsErrorDetails ul, .tsErrorDetails ol { font-size: 1rem; color: var(--themeTeritary); font-weight: 100; }

@media screen and (max-width: 800px) {

    #tsUserFullname { color: var(--themePrimary); }
    .loginLogo { zoom: 120%; }

}
/* --- Sundhedsvideo --- */

.logo {
	width: 160px;
	height: 60px;
	position: absolute;
	top: 0px;
	left: 0px;
	line-height: 60px;
	margin-left: 60px;
    zoom: 100%;
}

.logo {
	background:url(media/sundhedsvideo_01_w.2.svg) no-repeat;
	background-position-x: 0px;
	background-position-y: center;
	opacity:1;
	background-size: contain;
	margin-top: 0px;
}

.logo:hover {
	opacity: 0.8;
	transition: 0.3s;
	text-decoration: none;
	cursor: pointer;
}

/* Logo placed top center on Login Page */

.formLogin {
    margin-top: 21vh;
} 

/* Login Logo - New */


.loginLogo {
	width: 160px;
	height: 50px;
	position: absolute;
	top: 0px;
	left: calc(50% - 80px);
	line-height: 60px;
    margin-left: 0px;
}

.loginLogo {
	background:url(media/sundhedsvideo_01_w.2.svg) no-repeat;
	background-position-x: center;
	background-position-y: center;
	opacity:1;
	background-size: contain;
	margin-top: -15vh;
}

/* Dashboard */

a.btn>span.material-icons {
    font-size: 18px;
    vertical-align: text-bottom;
    margin-left: 0px;
    color: var(--themePrimary);
}

/* Code Unit Buttons */
.editCommand   .codeunitButtonMenu  { 
	 margin-top: 0px;; 
}

/* Login Footer - New! */

.loginFooter {
    position: fixed;
    width: 320px;
    padding: 0px;
    bottom: 2%;
    left: calc(50% - 160px);
}
.loginFooter > p {
    color: var(--themePrimaryLight);
    text-align: center; 
    margin: 0px;
    opacity:30%;
}


/* --- List Command Header Grow --- */

.isNarrow {
    width: 44px;
}

.isNarrow>a:not(.fieldFilter) {
    display: inline-block;
    width: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: text-bottom;
    transition: .6s;
    transition-timing-function: ease-in-out;
}

.isNarrow>a:not(.fieldFilter):hover { 
    width: 140px;
    transition: width .5s
}

/* --- Chart Options --- */

#chart2options a {
    color: var(--themeGrey);
    padding: .15rem;
    border: 1px solid var(--themeGrey);
    border-radius: .25rem;
}

#chart2options a.pull-right { 
    padding: .25rem .15rem; 
}

#chart2options a:hover {
    color: var(--themeLight);
    background-color:var(--themeGrey);
}

/* Alternative to Video Thumbnail */

.videoPlayerFile {
    display: block;
    background-color: rgba(0, 0, 0, .2);
    width: 220px;
    height: 120px;
    zoom: 100%;
}

.tableVideos .videoPlayerFile .doubleIcon:has(> .img-fluid[style*="display: none"]) {
    width: 220px;
    height: 120px;
}

.tableVideos .videoPlayerFile .play-arrow-bg {
    background-color: rgba(0, 178, 255, 1);
}

.thumbnail + a, .tableVideos .videoPlayerFile + a {
    margin-left: -18px;
    margin-top: -118px;
}

.thumbnail + a, .tableVideos .videoPlayerFile:has(> .doubleIcon .img-fluid[style*="display: none"]) + a {
    margin-left: 204px;
}


/* --- Video Upload Portal --- */

.stepFirst .tableForm th { display: none; }
.stepNumber main { max-width: 1024px; }

.custom-file-label::after {
	height: calc(2.25rem + 2px);
    content:"Upload";
    background-color: #20c997;
    color: #FFFFFF;
}

/* --- Parameter ---*/
.label { color: var(--themePrimaryDark); }
.param .label { background-color: var(--themeGrey); }
.param .label a { color: var(--themePrimary); }

/* Section Headers */

.pageSectionLayout .tableForm > tbody > tr > td.sectionTitle {
    position: relative;
}
/*
.pageSectionLayout .tableForm > tbody > tr > td.sectionTitle::after {
    font-family: 'Material Icons';
    content:"arrow_forward";
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    color:inherit;
    position: absolute;
    top: 10px;
    right: 15px;
    transition: .6s;
}

.pageSectionLayout .tableForm > tbody > tr > td.sectionTitle:hover::after {
    font-family: 'Material Icons';
    content:"arrow_downward";
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    color:inherit;
    position: absolute;
    top: 10px;
    right: 10px;
}/**/

.pageSectionLayout .tableForm > tbody.sectionHeader > tr > td.sectionTitle::after {
    font-family: 'Material Icons';
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    color:inherit;
    position: absolute;
    top: 10px;
    right: 10px;
}
.pageSectionLayout .tableForm > tbody.sectionHeader:has(+ tbody.sectionContent) > tr > td.sectionTitle::after {
    content:"arrow_upward";
}
.pageSectionLayout .tableForm > tbody.sectionHeader:has(+ tbody.sectionContentHide) > tr > td.sectionTitle::after {
    content:"arrow_downward";
}


    
@media only screen and (min-width: 320px) {

.stepNumber main { 
    margin: auto;
    margin-top: 20px;
    background-color: #FFFFFF;
    box-shadow: 0;
}

.questionaireContinue { display: none; } 

.itemCommand h1,
.showCommand h1,
.editCommand h1 {
    margin-bottom: 1rem;
}
}


.tsWidget .systemerror {
    margin-top: 10px;;
}
.tsWidget h3 {
    margin-bottom: 0;
}
