﻿/*   
/*   
Theme Name: Vilkene
Theme URI: http://www.optimisti.lv/
Description: Dizains veidots speciāli Viļķenes pagasta mājaslapai.
Author: drinkits (Karlis Rozenbergs)
Author URI: http://drinkits.optimisti.lv/
Version: 1.0.
*/
@font-face {
  font-family: Museo;
  src: url(inc/museo500-regular.otf);
  }
body {
  background: url(bildes/bg.gif);
  margin: 0 0 20px 0;
  padding: 0px;
  }
.ie {
  display: none;
  display: block\9;
  margin: 0 0 3px 710px;
  font-size: 9px;
  font-family: Verdana;
  color: #6e5818;
  }
.ie a {color: #0c83e8;}
.ie a:hover {
  text-decoration: none;
  }
.apak {
  margin-left: 390px;
  margin-top: 8px;
  }
.apak a {
  color: #102d3d;
  font-family: Georgia;
  font-size: 16px;
  text-decoration: none;
  }
.apak a:hover {
  text-decoration: underline;
  }
a.get_top {
  width: 38px;
  height: 38px;
  display: block;
  position: fixed;
  margin-left: -22px;
  bottom: 30px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  background: -moz-linear-gradient(0% 50% 90deg, #5fb4e3, #8ac9ec);
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#5fb4e3), to(#8ac9ec));
  background: #5fb4e3\9;
  -webkit-box-shadow: 0 0 3px #5FB4E3;
  -moz-box-shadow: 0 0 3px #5FB4E3;
  opacity: 0.7;
  -moz-opacity: 0.7;
  filter: alpha(opacity=70);
  }
a.get_top:hover {
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
  }
a.get_top img {
  border: none;
  margin: 3px 0 0 6px;
  }
  
/*******Navigācija*******/
.navbar {
  width: 100%;
  height: 20px;
  background: #2f85b4;
  font-family: Verdana;
  font-size: 13px;
  /*position: fixed;*/
  position: static\9;
  top: 0;
  opacity: 0.9;
  -moz-opacity: 0.9;
  }
div.navbar:hover  {
  opacity: 1;
  -moz-opacity: 1;
  }
.nav_center {
  margin: 0 0 0 50%;
  }
ul#nav {
  padding: 0xp;
  margin: 0 0 0 -500px;
  line-height: 100%;
  }
#nav li {
  margin: 0px;
  padding: 0px;
  float: left;
  position: relative;
  list-style: none;
  }
#nav a {
  padding: 2px 5px 0px 5px;
  color: #fff;
  text-decoration: none;
  display: block;
  height: 20px;
  margin: 0;
  }
#nav li:hover > a {
  color: #fff;
  }
#nav a:hover {
  color: #fff;
  background: #4d9cc7;
  }
#nav ul {
  display: none;
  margin: 0;
  padding: 0;
  width: 170px;
  position: absolute;
  left: 0;
  border: solid 1px #6fb7df;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
  -moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
  background: #2F85B4;
  }
#nav ul li {
  float: none;
  margin: 0;
  padding: 0;
  }
#nav ul a {
  font-weight: normal;
  color: #fff;
  }
#nav ul li:hover a, #nav li:hover li a {
  background: none;
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  }
#nav ul a:hover {
  background: #4D9CC7 !important;
  color: #fff !important;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  }
#nav li:hover > ul {
  display: block;
  }
#nav ul ul {
  left: 161px;
  top: 3px;
  }
#nav ul li:first-child > a {
  -webkit-border-top-left-radius: 9px;
  -moz-border-radius-topleft: 9px;
  -webkit-border-top-right-radius: 9px;
  -moz-border-radius-topright: 9px;
  }
#nav ul li:last-child > a {
  -webkit-border-bottom-left-radius: 9px;
  -moz-border-radius-bottomleft: 9px;
  -webkit-border-bottom-right-radius: 9px;
  -moz-border-radius-bottomright: 9px;
  }
#nav:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
  }
#nav {
  display: inline-block;
  } 
html[xmlns] #nav {
  display: block;
  }
* html #nav {
  height: 1%;
  }
  
/****SubNavigācija********/
ul#subnav {
  padding: 0 5px 0 5px;
  margin: -20px 0 0 20px; 
  line-height: 100%;
  height: 30px;
  background: -moz-linear-gradient(0% 59% 90deg,#5FB4E3, #86CBF2);
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#5FB4E3), to(#86CBF2));
  float:left;
  box-shadow: 1px 1px 1px #888;
  border-radius-bottomright: 15px;
  -moz-box-shadow: 1px 1px 7px #888;
  -moz-border-radius-bottomright: 15px;
  -webkit-box-shadow: 1px 1px 7px #888;
  -webkit-border-bottom-right-radius: 15px;
  -webkit-border-radius: 6px\9; /*Priekš IE*/
  -moz-border-radius: 6px\9;
  border-radius: 6px\9;
  margin: -30px 0 0 340px\9;
  border: solid 2px #fff\9;
  background: #5fb4e3\9;
  }
#subnav li {
  margin: 0px;
  padding: 0px;
  float: left;
  list-style: none;
  }
#subnav a {
  font-variant: small-caps;
  font-size: 22px;
  padding: 5px 10px 0px 10px;
  color: #ebeaea;
  text-decoration: none;
  display: block;
  height: 30px;
  margin: 0;
  }
#subnav a:hover {
  text-shadow: 1px 1px 1px #235977;
  filter: Shadow(Color=#235977, Direction=135, Strength=2);
  }
  
/****Vidus*******/
.bloks {
  margin: 0 auto;
  width: 960px;
  }
a.logo {
  background: url(bildes/logo.gif);
  width: 246px;
  height: 77px;
  display: block;
  margin: 20px 0 20px 690px;
  }
.saturs {
  width: 960px;
  background: #fff;
  padding: 30px 0 20px 0;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  }
.left { 
  float: left;
  width: 665px;
  padding: 0 15px 0 20px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
  line-height: 22px;
  color: #063752;
  min-height: 400px;
  border: dashed;
  border-width: 0 8px 0 0;
  border-color: #f5f3ec;
  }
p {
  display: block;
  margin: 10px 0px!important;
}
.right { 
  float: right;
  width: 234px;
  margin: 0 10px 0 0;
  }
.bot {
  clear: both;
  width: 100%;
  }
  
/*Raksti*/
.title a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 36px;
  color: #165c83;
  text-decoration: none;
  }
.title a:hover {
  color: #D2232A;
  } 
h1.page_title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 36px;
  color: #165c83;
  text-decoration: none;
  }  
h1.slud_title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 36px;
  color: #165c83;
  text-decoration: none;
  margin-bottom: 15px;
  }
.kat {
  font-size: 11px;
  margin-top: -18px;
  padding: 0px 0 0 10px;
  line-height: 16px;
  color: #979b9b;
  text-decoration: none;
  }
.kat a {
  color: #979b9b;
  text-decoration: none;
  }
.kat a:hover {
  text-decoration: underline;
  color: #2b2b2b;
  }
div.kat:hover {
  color: #2b2b2b;
  }
.labot a {
  display: block;
  margin: -16px 0 0 590px;
  color: #125e88;
  }
.comen a {
  padding-left: 22px;
  background: url(bildes/kom.png) no-repeat;  
  }
.sat {
  margin-bottom: 40px;
  }
.sat a {
  color: #D2232A;
  text-decoration: none;
  }
.sat a:hover {
  text-decoration: underline;
  }
a.more-link  {
  display: block;
  background: url(bildes/talak.png) no-repeat;
  padding-left: 22px;
  width: 90px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  margin-left: 280px;
  opacity: 0.7;
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  }
a:hover.more-link {
  opacity: 1;
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  }
  
.clear {
  clear: both;
  } 
  
/*Komentāri*/
.kom_virs {
  font-family:"Helvetica Neue", Helvetica, Arial,sans-serif;
  font-size: 24px;
  line-height: 36px;
  color: #165c83;
  }
.com_inf img {
  float: left;
  }
.com_inf {
  margin-top: 20px;
  }
.com_aut a {
  margin: -10px 0 0 15px;
  font-family: Helvetica;
  font-size: 24px;
  text-decoration: none;
  }
  
/*Sidebar*/
#menu {
  margin-left: -30px;
  }
#menu ul li {
  list-style: none;
  }
#menu ul li ul {
  margin: -15px 0 0 -35px;
  }
#menu ul li ul li {
  border: solid;
  border-width: 1px 0 0 0;
  border-color: #e6dfcb;
  }
#menu ul li ul li a{
  font-family: Trebuchet MS;
  font-size: 13px;
  text-decoration: none;
  padding: 0 4px 0 4px;
  color: #ee5057;
  }
#menu ul li ul li a:hover {
  background: #ee5057;
  color: #fff;
  }
#menu h2 {
  font-size: 22px;
  font-family: Museo;
  color: #d2232a;
  }
a.excite{
  background: url(bildes/excite.gif);
  width: 157px;
  height: 50px;
  display: block;
  margin: 30px 0 0 30px;
  opacity: 0.7;
  -moz-opacity: 0.7;
  filter: alpha(opacity=70);
  }
a.excite:hover {
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
  }
.grundtvig {
  background: url(bildes/grundtvig.gif);
  width: 196px;
  height: 83px;
  display: block;
  margin: 25px 0 0 10px;
  opacity: 0.7;
  -moz-opacity: 0.7;
  filter: alpha(opacity=70);
  }
a.grundtvig:hover {
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
  }
.ripclan {
  background: url(bildes/optimisti.png);
  width: 224px;
  height: 51px;
  display: block;
  margin: 25px 0 0 0px;
  opacity: 0.7;
  -moz-opacity: 0.7;
  filter: alpha(opacity=70);
  border: solid 2px #000;
  }
a.ripclan:hover {
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
  }
#s {
  border: solid 1px #D2232A;
  background: #f9f7f3;
  display: block;
  margin: 2px 0 10px 40px;
  }
#s:hover { background: #fff; }
.screen-reader-text {
  font-size: 22px;
  font-family: Museo;
  color: #d2232a;
  }
#searchsubmit { margin-left: 82px; }
#MicrosoftTranslatorWidget {
  margin: 20px 0 0 10px;
  }
/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

img.centered  {
   display: block;
   margin-left: auto;
   margin-right: auto;
   padding: 0px;
   }
   
img.alignnone {
   padding: 0px;
   margin: 0px 0px 10px 0px;
   display: inline;
   }

img.alignright {
   padding: 0px;
   margin: 0px 0px 10px 10px;
   display: inline;
   }

img.alignleft {
   padding: 0px;
   margin: 0px 10px 10px 0px;
   display: inline;
   }

.alignright {
   float: right;
   }

.alignleft {
   float: left;
   }
   
.clear {
  clear: both;
  } 
/* End captions */

/* Novadnieki */
div.accordion-toggle {
  background: #2F85B4;
  background-position: bottom;
  color: #fff;
  cursor: pointer;
  margin-bottom: 1px;
  padding: 2px 14px 2px 14px;
  }
div.accordion-toggle:hover, div.accordion-toggle-active {
  background-image: url(../img/on.jpg);
  background-color: #4D9CC7;
  }
div.accordion-content {
  overflow: hidden;	/* required for effect */
  color: #063752;
  }
div.accordion-content {
  margin: 9px 16px 6px 16px;
  }
