*
{
    outline:none;
}

html, body, img, p, a, h1 h2, h3, h4, ul, ol, li, br, form, table{
	margin:0;
	padding:0;
	border:0;
}


body 
{
/*    font-family: "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, Helvetica, Verdana, sans-serif;*/
    font-family: "Segoe UI", Arial, "Lucida Grande", "Helvetica Neue", Helvetica, Verdana, sans-serif;
    font-size:11px;
	/*font:normal 11px Verdana;*/
	background:#dde5eb repeat top left;
}

a
{
	text-decoration:none;
	outline:none;
}

li
{
	list-style:none;
}

input[type="text"]:focus,input[type="password"]:focus,select:focus
{
	background-color:#f9fcfb;
}

span[disabled="disabled"]
{
    color:#ccc !important;
}

input[disabled="disabled"]
{
    background:#eee !important;
}

.disabled label {
    color:#ccc;
}

#header
{
	background:#5489ba url('images/bg_top.png');
}

#header .logo
{
	margin:5px 0 0 10px;
}

#header .header
{
    position:relative;
    height:100%;
	margin:0 auto;
    z-index: 100002;
}

#header .header a
{
    font-size:11px;
	color:#fff;
}

#header .header .panRoutineSearch
{
    position:absolute;
    right:0;
    bottom:-25px;
}

#header .header .panRoutineSearch .routineSearch
{
    position:absolute;
}

#content, #desktop
{
	margin:30px auto 0px auto;
    padding:40px 10px 30px;
	-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border:2px solid;
    border-radius: 10px;
    border-color: #c6c6c6;
    background:rgba(255, 255, 255, 0.8);
    -moz-box-shadow: 0 0 15px 5px rgba(0,0,0,0.10);
    -webkit-box-shadow: 0 0 15px 5px rgba(0,0,0,0.10);
    box-shadow: 0 0 15px 5px rgba(0,0,0,0.10);
}

#desktop
{
	border:0;
    background:none;
    -webkit-border-radius: 0;
    -moz-border-radius:0;
    border-radius:0;
    -moz-box-shadow: none;
    -webkit-box-shadow:none;
    box-shadow:none;
}

.closeDialog
{
    position:absolute;
    top:5px;
    right:15px;
    z-index:9;
}

.dialogStack 
{
	position:absolute;
	top:79px;
	width:100%;
    white-space:nowrap;
}

.dialogStack > div
{
    width:980px;
	margin:0 auto;
}

.dialogStack > div > ul
{
    width:1200px;
}

.dialogStack > div > ul > li
{
	padding-left: 4px;
	float:left;
}

.dialogStack > div > ul > li > a
{
	color: #999;
	font-size: 11px;
}

.dialogStack > div > ul > li > .current
{
	color: #333;
	font-size: 11px;
}

.dialogStack > div > ul > li > .closeimage
{
	margin-left:6px;
	vertical-align:middle;
    cursor:pointer;
}

.dialogStack > div > ul > li > .menuimage
{
	margin-left:1px;
	vertical-align:middle;
}

.dialogStack > div > ul > li > .vertbar
{
	color: #999;
	font-size: 11px;
	position: relative;
	top:-1px;
}

.dialogStack .popupList
{
    position:relative;
    z-index:10;
    color: #000;
}

.dialogStack .popupList > ul
{
	display:none;
    z-index:10;
    padding:8px 0 10px 0;
    border: 1px solid #999;
    background:#fff;
    box-shadow: 5px 5px 5px 2px rgba(0,0,0,0.10);
}

.dialogStack .popupList:hover > ul
{
	display:block;
    z-index:9999999;
}

.dialogStack .popupList > ul > li
{
    float:none;
    padding:12px;
	background: #fff;
    clear:both;
}

.dialogStack .popupList > ul > li:hover {
    background:#ddd;
    cursor:pointer;
}

.dialogStack .popupList > ul > li > a {
    color:#000;
}

.msgbox-no-close .ui-dialog-titlebar-close 
{
	display: none;
}

/* for PLACEHOLDER in input and textareas, doesn't work on IE */
::-webkit-input-placeholder 
{
	color: #ccc !important;
}
:-moz-placeholder 
{
	color: #ccc !important;
}

.kcDialogFrame
{
   /* margin: 40px 0 0 10px; *//* left and top margin MUST BE THE SAME AS left and top padding for the #content */
	Position: absolute;
	Overflow: hidden;
    border-radius: 10px;
    border-width: 0;
    background:rgba(0,0,0,0.06);
    /*-moz-box-shadow: 0 0 15px 5px rgba(0,0,0,0.10);
    -webkit-box-shadow: 0 0 15px 5px rgba(0,0,0,0.10);
    box-shadow: 0 0 15px 5px rgba(0,0,0,0.10); */
    z-index: 9;
}

.kcDialogNoframe
{
    /* margin: 40px 0 0 10px;*/ /* left and top margin MUST BE THE SAME AS left and top padding for the #content */
	Position: absolute;
	Overflow: hidden;
    z-index: 9;
}

#Panel_MsgPopup 
{
	background-color: transparent;
	position: fixed;
	top: 200px;
	left: 0;
}

.InfoBoxCont
{
    background-color: #fdfdfd;
    font-size:8pt;
    line-height:10pt;
    margin-top:4px;
}

.InfoBox
{
    color: #666;
    width:100%;
    background-color: #fdfdfd;
}

.InfoBox .ImageCol
{
    width: 2px;
}

.InfoBox .Header
{
   font-weight: bold;
}

.InfoBox .Separator
{
    line-height: 0px;
}

.InfoBox .BoolTrue
{
    background:url('images/s_checkbox1.png') no-repeat;
    width:16px;
    height:16px;
}

.InfoBox .BoolFalse
{
    background:url('images/s_checkbox0.png') no-repeat;
    width:16px;
    height:16px;
}

/* krävs av timoutkontrollen */
.hidden
{
    display:none;
    visibility:hidden;
}

fieldset
{
    border-radius:5px;
    border: 1px solid #ccc;
}

fieldset legend
{
    margin: 0px 3px 0px 6px;    
}

/*#region userPanel*/
#userPanel
{
    float:right;
    height:40px;
    margin-right:-34px;
}

#userPanel > div
{
    float:left;
    margin:0 10px 0 0;
    color:#ffffff;
}

#userPanel #topLinkArea 
{
    float:left;
    margin:5px 10px 0 0;
    color:white;
    cursor:pointer;
}

#userPanel #userName
{
    float:right;
    clear:both;
}

#userPanel #userNameX
{
    float:right;
    clear:both;
}

#userPanel #companyName
{
    float:right;
    font-size:16px;
}

#userPanel #logout
{
    float:left;
    margin: -3px 0px 0px -4px!important;
    cursor:pointer;
}

#userPanel #logout > img
{
    margin:0;
}

    #userPanel .separator {
        visibility: hidden;
    }

/*#endregion*/

#logout + .separator
{
    margin:2px 4px 0px 2px;
   /* border: 1px solid;*/ 
}

#form1 #Label1
{
    font-size:20px;
    margin-top:10px;
}

#form1 #Label2
{
    font-size:20px;
}

#form1 #Label3
{
    font-size:20px;
}

#Large
{
    margin-bottom:20px;
}

.DeskTheme
{
    margin-bottom: 10px;
}

#form1 #Large {
    margin-bottom: 20px;
}


.AppInfo
{
    /*background:#333;*/
}

.AppInfo td {
    /*background: #EEE;*/
    width: 180px;
    vertical-align: top;
    padding-right:15px;
}

.AppInfo td span {
    float:left;    
}

.AppInfo td span:nth-of-type(1) {
    font-weight:bold;
}

.AppInfo input
    {
        margin: 0px;
    }

.AppInfo img
    {
        border: solid 1px;
    }

.header .search
{
    float:right;
    position:relative;
    top:0px;
}

.header .search input
{
	width:80px;
    padding-right:20px;
    /*border:1px solid #ccc;
     border-radius:5px;
    -moz-box-shadow: 0 0 15px 5px rgba(0,0,0,0.10);
    -webkit-box-shadow: 0 0 15px 5px rgba(0,0,0,0.10);
    box-shadow: 0 0 15px 5px rgba(0,0,0,0.10);*/
}

.header .search .searchButton {
    position:absolute;
    top:2px;
    right:2px;
    z-index:100;
    width:16px;
    height:16px;
    margin:0;
    padding:0;
}

.clockCalendar{
    width:150px;
    height:150px;
}

/* treeView */
/*.treeNode {
    font-size: 12px;
    color: #666;
    border: none 0px;
    width: 130px;
    padding-left: 5px;
}*/

.treeView
{
	background-color: none;
	border-style: none;
	overflow:auto;
    color:#333;
}
.treeView table
{
	margin: 0;
	padding: 0;
	background-color: none;
}
.treeView td
{
	margin: 0;
	padding: 0;
	background-color: none;
}
.treeView td div
{
    height: 20px !important;
}
.treeView td img
{ 
	display: block; 
}
.treeView td a
{
	margin: 0;
	padding: 0;
	background-color: none;
    color:#333;
}
.treeView .parentNode
{
}
.treeView .treeNode
{
	background-color: none;
}
.treeView .leafNode
{
	background-color: none;
}
.treeView .selectedNode
{
    background-color: #c8d7e5;
}
.treeView .hoverNode
{
}
.treeView .rootNode
{
	background-color: none;
	color: #333;
}

.aspNetDisabled 
{
	color: #c0c0c0;
}

#AddPanel #iconTitle
{
    font-size:20px;
    margin: 0 10px 10px 0;
    float:left;
    clear:left;
}

#AddPanel #Label1
{
    font-size:12px;
    margin: 0 15px 0 0;
    float:left;
    clear:left;
}

#AddPanel #routineSearch
{
    clear:right
}

#AddPanel #Label2
{
    font-size:12px;
    margin: 5px 10px 0 0;
    float:left;
    clear:left;
}

#AddPanel #txtName
{
    float:left;
    clear:right;
    margin: 5px 0 0 0;
}

#AddPanel #Label3
{
    font-size:12px;
    margin: 0 10px 10px 0;
    float:left;
    clear:left;
}

#AddPanel #colorRow
{
    float: left;
    clear: left;
}

#AddPanel #Label7
{
    font-size:12px;
    float:left;
    clear:left;
}

#AddPanel #shapeRow
{
    float: left;
    clear: left;
}

#AddPanel #Label9
{
    font-size:12px;
    float:left;
    clear:left;
}

#AddButton
{
    float:left;
    margin:0px 5px 0px 12px;
}

#AddButton /*> a*/
{
    visibility: hidden;
}

#ShortcutTable:hover + #AddButton /*> a*/
{
    visibility: visible;
}

#AddButton:hover /*> a*/
{
    visibility: visible;
}

#EditButton
{
    margin-left:5px;
}

#EditButton /*> a*/
{
    visibility: hidden;
}

#ShortcutTable:hover + #AddButton + #EditButton /*> a*/
{
    visibility: visible;
}

#EditButton:hover /*> a*/
{
    visibility: visible;
}

.ShortcutSquare
{
    display: block;
    width: 70px;
    height: 70px;
    padding:5px;
    font-size: 11px;
    font-family: segoe ui;
    color: rgb(255, 255, 255);
    border-radius: 10px 10px 10px 10px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ShortcutRect
{
    display: block;
    width: 150px;
    height: 70px;
    padding:5px;
    font-size: 11px;
    font-family: segoe ui;
    color: rgb(255, 255, 255);
    border-radius: 10px 10px 10px 10px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ShortcutSquare img
{
    margin:10px 15px 0px 15px;
}

.ShortcutRect img
{
    margin:10px 55px 0px 55px;
}

#IconTable div {
    background: none repeat scroll 0 0 #CCCCCC;
    border-radius: 5px 5px 5px 5px;
    height: 50px;
    width: 60px;
    padding-left:20px;
}

#IconTable div img {
margin: 0 20px 0 20px;
}

#AddPanel #Preview
{
    height: 95px!important;
    width: 430px!important;
    border-radius: 16px;

}

#AddPanel #Preview .ShortcutSquare
{
    margin:0 0 0 170px;

}

#AddPanel #Preview .ShortcutRect
{
    margin:0 0 0 140px;

}

.nobackground
{
    background: 0;
}

#appNotes
{
    background-color: #fff; 
    background-image: 
    /*linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),*/
    linear-gradient(#eee .1em, transparent .1em);
    background-size: 100% 1.2em;
    height:100%;
}

.appNotesHeader
{
    background:#BBB;
    color:#FFF;
    height:20px;
}

.appNotesHeader_left
{
    float:left;
    margin-left:4px;
}

.appNotesHeader_middle
{
    float:left;
    text-align:center;
    color:#FFF;
    margin-left:6px;
}

.appNotesHeader_right
{
    float: right;
    margin-right:1px;
}


#appNotes textarea
{
    /*background:#f9f0b2;*/
    background-color:transparent;
    width:160px;
    height:180px;
    border:none 0px;
    padding:8px;
    /*border-radius:8px;*/

}

#PrevWeek
{
    margin-left: 4px;
}

#NextWeek
{
    margin-left: 4px;
}

.appCalendar
{
    margin:4px;
}

.appCalendar .Header
{
    margin:2px 0 0 0;
}

.dateBox {
    border: 1px solid #999;
    width: 30px;
	box-shadow: 3px 3px 5px #CCC;
    text-align:center;
    margin: 0 5px 0 0;
    border-radius:3px;
}

.monthBox {
	background:#ED4E4E;
	color:#fff;
	font-weight:bold;
	font-size:10px;
}

.monthBox a{
	color:#fff;
}

.dayBox {
	background:#E0E7FE;
    color:#666;
}

.dayBox a{
	color:#999;
}

.calHeader
{
    background:#BBB;
    color:#FFF;
    height:20px;
    text-align:center;
}

.TodoList img
{
    margin-top: 5px;
}

.TodoHeader
{
    background:#BBB;
    color:#FFF;
    height:20px;
    text-align:center;
}

.TodoHeader_left
{
    float:left;
    margin-left:4px;
}

.TodoHeader_right
{
    float: right;
    margin-right:1px;
}

.TodoHeader label
{
    vertical-align:top;
}

input[readonly="readonly"]
{
    border: 1px dashed #CCC!important;
    cursor: default;
    color: #666;
}

/* for file upload */
div.fileinputs {
	position: relative;
}

div.fakefile {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
    cursor: pointer;
}

div.fakefile_disabled > img {
    filter: url('./filters.svg#grayscale');
    filter: gray;
    -webkit-filter : grayscale(1);
    opacity: 0.2;
    cursor: default;
}


input.file {
	position: relative;
	text-align: right;
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
    width: 0px !important;
    height: 0px !important;
    cursor: pointer;
    display: none;
}

/* För att inte få uppercase på placeholder */
/* Verkar inte funka för IE */

::-webkit-input-placeholder { /* WebKit browsers */
    text-transform: none !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-transform: none !important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-transform: none !important;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    text-transform: none !important;
}