/*******************************************************************************
 * Tree container
 */
ul.dynatree-container
{
	
	/*font-size: 11px;  font size should not be too big */
	white-space: normal;
	padding: 0px;
	margin: 0; /* issue 201 */
	background-color: white;
	/* UUSP modified */
	/*
	font-family: tahoma, arial, helvetica;
	border: 1px dotted gray;
	overflow: auto; 
	*/
	height: 100%; /* issue 263 */
}

ul.dynatree-container ul
{
	padding: 0 0 3px;
	/*margin-top: 6px;*/
	background:#f5f5f5;
}
/*
.color-eedbcf {
	background-color: #eee !Important;
	border-right: 10px solid #ad734e;
}
.menu span.dynatree-folder.color-eedbcf + ul li {
    border-right: 10px solid #ad734e;
}
.color-d9e5de {
    background-color: #eee !Important;
    border-right: 10px solid green;
}
.menu span.dynatree-folder.color-d9e5de + ul li {
    border-right: 10px solid green;
}
.color-dfdee7 {
    background-color: #eee !Important;
    border-right: 10px solid grey;
}
.menu span.dynatree-folder.color-dfdee7 + ul li {
    border-right: 10px solid grey;
}
.color-e0e5ea {
    background-color: #eee !Important;
    border-right: 10px solid darkblue;
}
.menu span.dynatree-folder.color-e0e5ea + ul li {
    border-right: 10px solid darkblue;
}
.color-ebe1ed {
    background-color: #eee !Important;
    border-right: 10px solid purple;
}
.menu span.dynatree-folder.color-ebe1ed + ul li {
    border-right: 10px solid purple;
}
.color-f9f2e6 {
    background-color: #eee !Important;
    border-right: 10px solid yellow;
}
.menu span.dynatree-folder.color-f9f2e6 + ul li {
    border-right: 10px solid yellow;
}*/

ul.dynatree-container li
{
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	-moz-background-clip:border;
	-moz-background-inline-policy: continuous;
	-moz-background-origin: padding;
	background-attachment: scroll;
	background-color: transparent;
	background-repeat: repeat-y;
	/* UUSP modified */
	/*background-image: url("vline.gif");*/
	background-position: 0 0;
	/*
	background-image: url("icons_96x256.gif");
	background-position: -80px -64px;
	*/
	padding-top: 6px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin: 0px;
	/*font-size:100%;*/

}
/* Suppress lines for last child node */
ul.dynatree-container li.dynatree-lastsib
{
	background-image: none;
	background-repeat: no-repeat;
	
}
/* Suppress lines if level is fixed expanded (option minExpandLevel) */
ul.dynatree-no-connector > li
{
	background-image: none;
}

/* Style, when control is disabled */
.ui-dynatree-disabled ul.dynatree-container
{
	opacity: 0.5;
/*	filter: alpha(opacity=50); /* Yields a css warning */
	background-color: silver;
}

/*******************************************************************************
 * Common icon definitions
 */
span.dynatree-empty,
span.dynatree-vline,
span.dynatree-connector,
span.dynatree-expander,
span.dynatree-icon,
span.dynatree-checkbox,
span.dynatree-radio,
span.dynatree-drag-helper-img,
#dynatree-drop-marker
{
	width: 16px;
	height: 16px;
/*	display: -moz-inline-box; /* @ FF 1+2 removed for issue 221 */
/*	-moz-box-align: start; /* issue 221 */
	display: inline-block; /* Required to make a span sizeable */
	/*vertical-align: top;*/
	background-repeat: no-repeat;
	background-position: left;
	background-image: url("icons000.gif");
	background-position: 0 0;
}

/** Used by 'icon' node option: */
ul.dynatree-container img
{
	width: 16px;
	height: 16px;
	margin-left: 3px;
		/*vertical-align: top;*/
	border-style: none;
	background-repeat: no-repeat;
}


/*******************************************************************************
 * Lines and connectors
 */

span.dynatree-connector
{
	/* UUSP modified */
	display:none;
	/*background-position: -16px -64px;*/
}

/*******************************************************************************
 * Expander icon
 * Note: IE6 doesn't correctly evaluate multiples class names,
 *		 so we create combined class names that can be used in the CSS.
 *
 * Prefix: dynatree-exp-
 * 1st character: 'e': expanded, 'c': collapsed
 * 2nd character (optional): 'd': lazy (Delayed)
 * 3rd character (optional): 'l': Last sibling
 */

span.dynatree-expander
{
	background-position: 0px -78px;
	background-repeat: no-repeat;
	cursor: pointer;
	margin-left: 1px;
    margin-top: 2px;
	padding:0;
	float: left;
}
.dynatree-exp-cl span.dynatree-expander /* Collapsed, not delayed, last sibling */
{
		/*background-position: 0px -94px; UUSP-change I.E fix*/
}
.dynatree-exp-cd span.dynatree-expander /* Collapsed, delayed, not last sibling */
{
	background-position: -64px -80px;
	background-repeat: no-repeat;
}
.dynatree-exp-cdl span.dynatree-expander /* Collapsed, delayed, last sibling */
{
	background-position: -64px -96px;
	background-repeat: no-repeat;
}
.dynatree-exp-e span.dynatree-expander,  /* Expanded, not delayed, not last sibling */
.dynatree-exp-ed span.dynatree-expander  /* Expanded, delayed, not last sibling */
{
	background-position: -30px -82px;
	background-repeat: no-repeat;
}
.dynatree-exp-el span.dynatree-expander,  /* Expanded, not delayed, last sibling */
.dynatree-exp-edl span.dynatree-expander  /* Expanded, delayed, last sibling */
{
	background-position: -32px -96px;
	background-repeat: no-repeat;
}
.dynatree-loading span.dynatree-expander  /* 'Loading' status overrides all others */
{
	background-position: 0 0;
	background-image: url("https://studentportalen.uu.se/uusp-webapp/javascript/dynatree/loading.gif");
	background-repeat: no-repeat;
}


/*******************************************************************************
 * Checkbox icon
 */
span.dynatree-checkbox
{
	margin-left: 3px;
	background-position: 0px -32px;
}
span.dynatree-checkbox:hover
{
	background-position: -16px -32px;
}

.dynatree-partsel span.dynatree-checkbox
{
	background-position: -64px -32px;
}
.dynatree-partsel span.dynatree-checkbox:hover
{
	background-position: -80px -32px;
}

.dynatree-selected span.dynatree-checkbox
{
	background-position: -32px -32px;
}
.dynatree-selected span.dynatree-checkbox:hover
{
	background-position: -48px -32px;
}

/*******************************************************************************
 * Radiobutton icon
 * This is a customization, that may be activated by overriding the 'checkbox'
 * class name as 'dynatree-radio' in the tree options.
 */
span.dynatree-radio
{
	margin-left: 3px;
	background-position: 0px -48px;
}
span.dynatree-radio:hover
{
	background-position: -16px -48px;
}

.dynatree-partsel span.dynatree-radio
{
	background-position: -64px -48px;
}
.dynatree-partsel span.dynatree-radio:hover
{
	background-position: -80px -48px;
}

.dynatree-selected span.dynatree-radio
{
	background-position: -32px -48px;
}
.dynatree-selected span.dynatree-radio:hover
{
	background-position: -48px -48px;
}

/*******************************************************************************
 * Node type icon
 * Note: IE6 doesn't correctly evaluate multiples class names,
 *		 so we create combined class names that can be used in the CSS.
 *
 * Prefix: dynatree-ico-
 * 1st character: 'e': expanded, 'c': collapsed
 * 2nd character (optional): 'f': folder
 */

span.dynatree-icon /* Default icon */
{
	margin-left: 4px;
	background-position: 0px 0px;
	/* UUSP modified */
	display: none;
	background-repeat: no-repeat;
}

.dynatree-ico-cf span.dynatree-icon  /* Collapsed Folder */
{
	background-position: 0px -16px;
	background-repeat: no-repeat;
}

.dynatree-ico-ef span.dynatree-icon  /* Expanded Folder */
{
	background-position: -64px -16px;
	background-repeat: no-repeat;
}

/* Status node icons */

.dynatree-statusnode-wait span.dynatree-icon
{
	background-image: url("https://studentportalen.uu.se/uusp-webapp/javascript/dynatree/loading.gif");
}

.dynatree-statusnode-error span.dynatree-icon
{
	background-position: 0px -112px;
/*	background-image: url("ltError.gif");*/
}

/*******************************************************************************
 * Node titles
 */

/* @Chrome: otherwise hit area of node titles is broken (issue 133)
   Removed again for issue 165; (133 couldn't be reproduced) */
span.dynatree-node
{
	background:#f5f5f5;
	display:block;
	cursor:pointer;
/*	display: -moz-inline-box; /* issue 133, 165, 172, 192. removed for issue 221*/
/*	-moz-box-align: start; /* issue 221 */
/*  display: inline-block; /* Required to make a span sizeable */
}
span.dynatree-node:hover {
background-color:#fff;
border-right:8px solid #ccc;
}
#treeMenu.menu li li {
    padding: 0px;
}
#treeMenu.menu li li span {
    /*padding-left: 10px;*/
}

/* Remove blue color and underline from title links */
ul.dynatree-container a
/*, ul.dynatree-container a:visited*/
{
	/*color: black; */ /* inherit doesn't work on IE */
	text-decoration: none;
	margin-left: 3px;
/*	outline: 0; /* @ Firefox, prevent dotted border after click */
}

ul.dynatree-container a:hover
{
	text-decoration: underline; 
	font-weight: normal;
	/*background-color: #F2F7FD;*/ /* light blue */
	/* border-color: #B8D6FB; darker light blue */
}

span.dynatree-node a
{
	margin-left: 0px; /* UUSP change */
	font-size: 14px; /* required for IE, quirks mode --UUSP chang*/
	display: inline-block; /* Better alignment, when title contains <br> */
/*	vertical-align: top;*/
/*	padding-left: 3px;
	padding-right: 3px; */ /* Otherwise italic font will be outside bounds */
	/*	line-height: 16px; /* should be the same as img height, in case 16 px */
}

span.dynatree-folder a
{
	font-weight: normal !important;
	font-style: normal;
	text-indent: 8px;
	text-transform: uppercase;
	/* UUSP modified */
	/* font-weight: bold;*/
}

span.dynatree-folder
{
	display: block;
	/*background-color: #eeeeee;*/
	font-weight: bold;
	color: #fff !important;
	padding: 2px !important; 
	margin-top:6px;
	/* UUSP modified for function title */
}



span.dynatree-focused a:link  /* @IE */
{
	font-weight: bold;
	/* UUSP modified */
/*	background-color: #EFEBDE;*/
}

ul.dynatree-container a:focus
{
	font-weight: normal;
	/* UUSP modified */
	/*background-color: #EFEBDE;*/ /* gray */
	
	/* background-color: yellow;*/
}

/* UUSP modified */
/*
span.dynatree-has-children a
{
	
	background-color: #EEEEEE;
    color: #000000;
    font-size: 1.2em;
    font-style: normal;
    font-weight: 500;
    margin: 6px 0 0;
    text-indent: 5px;
   
}
*/
span.dynatree-has-children {
   background-color: #E5e5e5;
    color: #000000;
    font-style: normal;
    font-weight: 500;
    padding: 0 1px 1px 0;
	line-height: 20px;
}
span.dynatree-has-children:hover {
   background-color: #e5e5e5;
    color: #000000;
    font-style: normal;
    font-weight: 500;
    padding: 0 1px 1px 0;
	line-height: 20px;
}


span.dynatree-expanded a 
{
}

/*
span.dynatree-expanded .dynatree-title {
	width: 100%
}
span.dynatree-has-children .dynatree-title {
    width: 95%;
}
*/

span.dynatree-selected a
{
	color: green;
	font-style: italic;
}

/* UUSP added */
span.dynatree-active {
	/*background-color: #999999 !important;*/
	/*display: block;
	background-color: #999999;
	font-weight: bold;
	color: #fff !important;
	padding: 1px 3px 1px 0px !important;
	border: 1px solid #ccc;
	margin: 0px;*/
}

span.dynatree-active a
{
	/*
	background-color: #3169C6 !important;
	color: white !important; */
	
	/* UUSP modified */
   /* color: white !important;
    font-weight: 600 !important;*/
 
}

/*******************************************************************************
 * Drag'n'drop support
 */

/*** Helper object ************************************************************/
div.dynatree-drag-helper
{
}
div.dynatree-drag-helper a
{
	border: 1px solid gray;
	background-color: white;
	padding-left: 5px;
	padding-right: 5px;
	opacity: 0.8;
}
span.dynatree-drag-helper-img
{
	/*
	position: relative;
	left: -16px;
	*/
}
div.dynatree-drag-helper /*.dynatree-drop-accept*/
{

/*    border-color: green;
	background-color: red;*/
}
div.dynatree-drop-accept span.dynatree-drag-helper-img
{
	background-position: -32px -112px;
}
div.dynatree-drag-helper.dynatree-drop-reject
{
	border-color: red;
}
div.dynatree-drop-reject span.dynatree-drag-helper-img
{
	background-position: -16px -112px;
}

/*** Drop marker icon *********************************************************/

#dynatree-drop-marker
{
	width: 24px;
	position: absolute;
	background-position: 0 -128px;
	margin: 0;
/*	border: 1px solid red; */
}
#dynatree-drop-marker.dynatree-drop-after,
#dynatree-drop-marker.dynatree-drop-before
{
	width:64px;
	background-position: 0 -144px;
}
#dynatree-drop-marker.dynatree-drop-copy
{
	background-position: -64px -128px;
}
#dynatree-drop-marker.dynatree-drop-move
{
	background-position: -64px -128px;
}

/*** Source node while dragging ***********************************************/

span.dynatree-drag-source
{
	/* border: 1px dotted gray; */
	background-color: #e0e0e0;
}
span.dynatree-drag-source a
{
	color: gray;
}

/*** Target node while dragging cursor is over it *****************************/

span.dynatree-drop-target
{
	/*border: 1px solid gray;*/
}
span.dynatree-drop-target a
{
}
span.dynatree-drop-target.dynatree-drop-accept a
{
	/*border: 1px solid green;*/
	background-color: #3169C6 !important;
	color: white !important; /* @ IE6 */
	text-decoration: none;
}
span.dynatree-drop-target.dynatree-drop-reject
{
	/*border: 1px solid red;*/
}
span.dynatree-drop-target.dynatree-drop-after a
{
}


/*******************************************************************************
 * Custom node classes (sample)
 */
span.dynatree-no-link-student-view {
    color: #000000;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    margin: 0;
    padding: 0px;
	line-height: 20px;
}

span.dynatree-no-link-view {
	color: #000000;
	text-decoration: none;
}
.dynatree-container span.menuTreeCurrent, .dynatree-container span.menuTreeCurrent:hover {
	background:#ccc !Important;
	border-right:8px solid #000;
	color: #333 !important;
	display: block;
	margin: 0px;
	font-weight:700;
}


span.menuTreeCurrent a {	
	/*background-color: #999999;	*/
	padding: 0px; 
	color: #333;	
	text-decoration: none;
	font-weight:700;
}
.dynatree-container span.menuTreeCurrent a, .dynatree-container span.menuTreeCurrent a:hover {	
	font-weight:700;
}
span.menuTreeCurrent a:hover {	
	color:#333;
	text-decoration: none;
	/*background-color: #999999 !important;	*/
}
span.menuTreeCurrent span.dynatree-no-link-view {
    color: #fff;
}
span.custom1 a
{
	background-color: maroon;
	color: yellow;
}

.dynatree-container a:focus {
    outline: none;
}

#treeMenuStud .dynatree-folder a:hover {
	color: #000000;
	text-decoration: none; 
	cursor: text;
}

#treeMenuStud .menuTreeCurrent a[href*="student-messages"]:hover {
	color: white;
	text-decoration: underline;
	cursor: pointer;
}
#treeMenuStud .dynatree-folder a[href*="student-messages"]:hover {
	text-decoration: underline;
	cursor: pointer;
}

ul.dynatree-container .flexmenu a:hover {
	text-decoration:none;
}

/* UUSP modified */
.dynatree-title {
	
}
/*---------- dynatree ----------*/
.menu ul.dynatree-container {
    background: #fff;
}
.menu ul.dynatree-container:hover {
    background: #fff;
    border:none;
}
ul.dynatree-container>li:hover {
    border-right: none;
}
ul.dynatree-container a{
	font-weight:300;
}
ul.dynatree-container a:hover{
	font-weight:300;
	text-decoration:none;
}
ul.dynatree-container .dynatree-folder a, ul.dynatree-container .dynatree-folder a:hover {
	font-weight:normal;
	text-decoration:none;
	background-color:transparent;
	padding:4px;
	max-width:90%;
	text-indent:0px;
	color:#333;
}
ul.dynatree-container span.dynatree-folder a, ul.dynatree-container span.dynatree-folder a:hover {
	padding:4px 4px 4px 25px;
}

.menu span.dynatree-folder + ul li {
    padding: 0;
}

span.dynatree-node a {
    display: inline-block;
    padding-left:28px !Important;
    pointer-events:none;
}

/*
span.dynatree-node a {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    padding-left:28px;
}*/

span.dynatree-node a:hover {
    background:#fff;
}
span.dynatree-node.menuTreeCurrent a:hover {
	background:transparent;	
}
/*---------- END Dynatree ----------*/
