
/* importera  saker som är lite mer globala */
@import "templates.css";

/* CSS Document */
@import url(reset.css);
@import url(type.css);
@import url(view_notwk.css);


/* ===========================================================
    Detta stylesheet läses BÅDE in i visning & webKontroll i Edit-läge
   =========================================================== */

@charset "utf-8";


html{
}
body{
	font-size:1em;
	font-size: 62.5%;
}

body, td /* Sätt endast basic saker i denna body, layoutändrande saker i _notwk.css*/
{
	font-family: Calibri, WebCalibri, Arial, Tahoma, Verdana;
}

h1,h2,h3,h4,h5,h6, legend{
	font-family: Arial, Tahoma, Verdana;
	margin: 0 0 .5em 0;
	padding: 0;
	line-height:1.3em;
	/*display: inline;*/
	word-wrap:break-word;
	}

H1	{
	font-size: 2.4em;
}
H2	{
	font-size: 1.8em;
}
H3	{
	font-size: 1.6em;
	/*font-weight:bold;*/
}
H4	{
	font-size: 1.4em;
}
H5	{
	font-size: 1.2em;
	font-weight:bold;
}

p {
	font-size:1.4em;
	line-height:1.3em;
	margin: 0 0 .5em 0;
	padding: 0;
	word-wrap:break-word;
}
td, th, li {
	font-size:1.4em;
}	
td p, th p, li p, td li, th li, li th, li td{
	font-size: 1em;
}

ul{
	list-style: disc !important;
	padding-left: 2em;
}
ul li{
	margin-bottom: .5em;
}
ul ul{
	list-style: square;
}

a {
	color: #666666;
	text-decoration: underline;
	line-height: 1.3em;
}
a:hover	{
	color: #9b9c9d;
}

#wrapper	{
	background-color: #ffffff;
	width: 96em;
	text-align: left;
	margin: auto;
	border: .1em solid #ffffff;
}	
#top	
{
	background: #ffffff url('../images/rutig_bg_03.png') no-repeat top center;
	padding: 0;
	min-height: 116px;
	font-weight:bold;	
	border-bottom: .1em solid #ffffff;
	position:relative;
}

#logo
{
 float:left; 
 margin:0;
}

#logo a img
{
 display: block;
 border: none;   
 max-width:30em;
 margin: 1.5em 3.5em .5em 3.5em;
}


/********** topMenu **********/
.topMenuWrap, .dottedline {
	background: #ffffff url('../images/dottedline.png') repeat-x center left;
}
.dottedline {
	margin: 10px 0;
	}
#topDropdown
{
    font-weight:normal;  
    float: right;  
    background: white;
}	

#topDropdown a
{
    color: #111111;
    text-decoration: none;
    font-size:1.2em;
}

#topDropdown a:hover
{
    text-decoration:underline;
}


#topDropdown .menu_wrap
{
    float: left;
    padding-top: 1.1em;
}
/*#topDropdown .menu_wrap:after
{
	content: url('../images/dottedline.png');
	padding: 0 10px;
	position: relative;
	top: -3px;
	display: inline-block;
}*/
#topDropdown .menu_wrap:last-child:after
{
	content: none;
}

#topDropdown .menu_wrap:first-child{
    padding-left: 1em;
}


#topMenu .menu_wrap_selected
{
  font-weight:bold;  
  float: left;
  padding: .3em 0 0 2.2em;
  color:#d98c40;
}



/********** menu **********/	
#menu	{
	width: 22em; /*+padding*/
	padding-left: 2em;
	padding-right: 2em;
	float:left;
	overflow:auto;
	display:inline;
	min-height: 10em;
	padding-bottom:4em;
	
	text-decoration:none;

	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
/*indrag för underliggande menyalternativ*/
#menu div div{
	padding-left: 1.5em;
}
	
/* Menyalternativ */
.menu_item 	{
	color: #666666;
	text-decoration: none;	
}		
.menu_item_selected{
	color: black;
	font-weight:bold;
	text-decoration: underline;
	}
.menu_item:hover, .menu_item_selected:hover	{
	color: #000;	
}		
#menu a{
	font-size:1.4em;
}

.menu_wrap.last {
	padding-bottom: 1em;
}

/* Meny - rubrik som innehåller den valda sidan */
.menu_item.menu_item_inpath, .menu_item_selected.menu_item_inpath{
	font-weight: bold;
	color: #000;
}
.menu_wrap.menu_item_inpath, .menu_wrap_selected.menu_item_inpath{
	padding-top: 1em;
}

.menu_wrap.menu_item_inpath div, .menu_wrap_selected.menu_item_inpath div{
	padding-top: 0;
}		


#content	
{
	padding: 0;
	float:left;
	overflow:auto;
	display:inline;
	width: 74em;
	min-height:35em;
}

#footer
{
    font-size: 1em;
    text-align:center;
    color:#000;
    background-color: #fff;
}

.square-grid-bg {
	padding: .8em 0;
	background: #ffffff url('../images/rutig_bg_06.png') no-repeat top center;
	min-height: 172px; 
}


#devicewrapper {
	margin: 0 auto;
	display: inline-block;
}
.device, .device_selected{
	float:left;
	margin: 0 .2em;
	padding: .5em;
	text-align: center;
	border-radius: 5px;
}
.device img, .device_selected img{
	height: 22.5px;
}
a .device, a .device_selected, a:hover .device, a:hover .device_selected {
	color:#000 !important;
}
.device_selected{
	background-color:#ccc;
}

.clear{clear: both !important; float:none !important;}





.searchwrapper{
	padding-bottom: .5em;
	border-bottom: 1px solid #ccc;
	margin-bottom: .5em;
}
#wk_search {
	margin-top:0;
	padding:0 !important;
	float:left;
}
#wk_search label, #languagesLabel{
	font-size: 1.4em;
	display: block;
	float:none;
	clear:both;
	width:190px;
	line-height: 1.5em;
}

#wk_searchtxt {
	width: 15em;
	font-size:1em;
	float:left;
}
#wk_searchbtn {font-size:1em; margin-left:.3em;}

#wk_languages {
	margin-top:0;
	padding:0 !important;
	margin-bottom: .5em;
	float:left;
}
#wk_languages img { 
	margin-right:.5em;
}




/* BUTTONS */
button {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;

	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	
	background-color:#ededed;
	
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	
	border:1px solid #dcdcdc;
	
	display:inline-block;
	color:#777777;
	text-transform: ;
	font-family: "Open Sans", Helvetica, Arial, "Trebuchet MS", sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	padding:3px 16px 5px 16px;
	text-decoration:none;
	
	text-shadow:1px 1px 0px #ffffff;
}


button.small{
	font-size: 10px;
	padding:1px 5px 2px 5px;

	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;

	text-transform: uppercase;
	letter-spacing: 0;

}

button.big{
	font-size: 16px;
	padding:5px 24px 7px 24px;

	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
}

button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, 								 #dfdfdf 5%, 			 #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(			  startColorstr='#dfdfdf',  endColorstr='#ededed');
	background-color:#dfdfdf;
}
button:active {
	position:relative;
	top:0px;
	padding:6px 24px 6px 24px;
	color:#444;

	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cacaca), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, 								 #cacaca 5%, 			 #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(			  startColorstr='#cacaca',  endColorstr='#ededed');
	background-color:#cacaca;
}

button.green{
	-moz-box-shadow:inset 0px 1px 0px 0px #a4e271;
	-webkit-box-shadow:inset 0px 1px 0px 0px #a4e271;
	box-shadow:inset 0px 1px 0px 0px #a4e271;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #89c403), color-stop(1, #77a809) );
	background:-moz-linear-gradient( center top, #89c403 5%, #77a809 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#89c403', endColorstr='#77a809');
	background-color:#89c403;
	border:1px solid #74b807;			
	color:#ffffff;
	text-shadow:1px 1px 0px #528009;
}
button.green:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77a809), color-stop(1, #89c403) );
	background:-moz-linear-gradient( center top, #77a809 5%, #89c403 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77a809', endColorstr='#89c403');
	background-color:#77a809;
}
button.green:active {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #638e01), color-stop(1, #89c403) );
	background:-moz-linear-gradient( center top, #638e01 5%, #89c403 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#638e01', endColorstr='#89c403');
	background-color:#638e01;
	color:#eee;
}

button.red{
	-moz-box-shadow:inset 0px 1px 0px 0px #f5978e;
	-webkit-box-shadow:inset 0px 1px 0px 0px #f5978e;
	box-shadow:inset 0px 1px 0px 0px #f5978e;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f) );
	background:-moz-linear-gradient( center top, #f24537 5%, #c62d1f 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f');
	background-color:#f24537;
	border:1px solid #d02718;
	color:#ffffff;
	text-shadow:1px 1px 0px #810e05;
}
button.red:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #c62d1f), color-stop(1, #f24537) );
	background:-moz-linear-gradient( center top, #c62d1f 5%, #f24537 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f', endColorstr='#f24537');
	background-color:#c62d1f;
}
button.red:active {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #a81f12), color-stop(1, #f24537) );
	background:-moz-linear-gradient( center top, #a81f12 5%, #f24537 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a81f12', endColorstr='#f24537');
	background-color:#a81f12;
	color:#eee;
}



/* Styling för CKE-skinet */
.cke_skin_kama .cke_dialog_body {
	padding: 0 !important;
}