/*
Theme Name: ManaPensija
Author: Kosmodroms, SIA
Author URI: http://www.kosmodroms.lv
Version: 1.0 
*/



html {
	background: url(images/bg.jpg);
}

body {
	font-family: 'Titillium Web', 'Open Sans', sans-serif;
	font-size: 13px;
	color: #3e3d40;
	margin: 0;
	padding: 0;
	height: 100%;
}

body.home {
	background: url(images/bg-fp.jpg) 50% 0 no-repeat;
}

body.page-template-default,
body.page-child,
body.page-template-wide-php,
body.category,
body.single {
	background: url(images/bg1.png) repeat-x;
}

a {
	color: #284762;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	border: 0;
}






body.page-template-default div.bg,
body.page-child div.bg,
body.page-template-wide-php div.bg,
body.category div.bg,
body.single div.bg {
	background: url(images/bg2.png) 50% 100% no-repeat;
	height: 100%;
}

div.wrap {
	position: relative;
	width: 900px;
	margin: 0 auto;
	padding: 0 0 20px 0;
}

div.wrap div.top {
	position: relative;
	height: 120px;	
}

div.wrap div.top a.logo {
	position: absolute;
	top: 60px;
	left: -27px;
}

div.wrap div.top ul.lang {
	position: absolute;
	top: 0;
	right: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

div.wrap div.top ul.lang li {
	float: left;	
}

div.wrap div.top ul.lang li a {
	display: block;
	width: 25px;
	font-size: 12px;
	padding: 25px 0 2px 0;
	text-align: center;
	text-transform: uppercase;
}

div.wrap div.top ul.lang li a.active {
	background: #fbdd2d;
}


/**		menu		*/
	
div.wrap div.menu {
	position: relative;
	height: 75px;
	background: url(images/bg-menu-shadow.png) 50% 60px no-repeat;
	z-index: 2;	
}

div.wrap div.menu ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 60px;
	width: 900px;
	background: #295f7b;
}
	
div.wrap div.menu ul.menu li {
	position: relative;
	display: table;
	float: left;
	width: 179px;
	height: 60px;
	border-right: 1px solid #557e93;	
}

div.wrap div.menu ul.menu li:last-child {
	border: 0;
}
	
div.wrap div.menu ul.menu li a {
	display: table-cell;
	vertical-align: bottom;
	padding: 0 0 5px 15px;
	height: 28px;
	color: white;
	font-size: 18px;
	text-decoration: none;
	background-image: url(images/menu-bullet.png);
	background-position: 15px 10px;
	background-repeat: no-repeat;
}

body.blog-3 div.wrap div.menu ul.menu li a {
	font-size: 13px;
}
	


div.wrap div.menu ul.menu li.current-menu-ancestor a,
div.wrap div.menu ul.menu li.current-menu-item a {
	background-color: #134f6e;	
}

div.wrap div.menu ul.menu li ul.sub-menu {
	position: absolute;
	top: 60px;
	left: 0;
	list-style: none;
	margin: 0;
	padding: 10px 0;
	background: #366984;
	display: none;
} 

div.wrap div.menu ul.menu li ul.sub-menu li {
	float: none;
	height: auto;
	width: auto;
	border: 0;
	padding: 0 10px;
	background: none;
}
	
div.wrap div.menu ul.menu li ul.sub-menu li a {
	display: block;
	padding: 0;
	white-space: nowrap;
	font-size: 14px;
	padding: 13px 25px;
	background-color: none;
	background: url(images/menu-sub-bullet.png);
	background-position: 9px 50%;
	background-repeat: no-repeat;	
}

div.wrap div.menu ul.menu li a.roll,	
div.wrap div.menu ul.menu li a:hover {
	background-color: #366984;
}

div.wrap div.menu ul.menu li ul.sub-menu li a:hover {
	background-color: #295f7b !important;
}



/**		banner		*/

div.wrap div.banner {
	position: relative;
	height: 230px;	
}

div.wrap div.banner div.slogan1 {
	position: absolute;
	top: 50px;
	font-size: 40px;
	color: #3e3d40;
	display: none;
}

div.wrap div.banner div.slogan2 {
	position: absolute;
	top: 110px;
	font-size: 27px;
	color: white;
	line-height: 1.1em;
	text-shadow: #3e3d40 1px 1px 1px;
	display: none;
}


/**		fp-boxes	*/

div.wrap div.fp-boxes {
	background: url(images/bg-fp-boxes.png) 50% 0 repeat-y;
	margin: 0 0 20px 0;
}

div.wrap div.fp-boxes div.left {
	position: relative;
	width: 440px;
	float: left;
}

div.wrap div.fp-boxes div.left div.head {
	height: 50px;
	line-height: 50px;
	background: #fbdd2d;
	font-size: 24px;
	font-weight: bold;
	color: #3e3d40;
	padding: 0 20px;
}

div.wrap div.fp-boxes div.left ul.items {
	list-style: none;
	margin: 0;
	padding: 0;
}

div.wrap div.fp-boxes div.left ul.items li { }

div.wrap div.fp-boxes div.left ul.items li a {
	display: block;
	font-size: 18px;
	padding: .5em 0 .5em 40px;
	background: url(images/fp-bullet.png) 20px 1em no-repeat;	
	color: #3e3d40;
	text-decoration: none;
}

div.wrap div.fp-boxes div.left ul.items li a:hover {
	background-color: #ffff87;
}

div.wrap div.fp-boxes div.right {
	position: relative;
	width: 440px;
	float: right;
}

div.wrap div.fp-boxes div.right div.head {
	height: 50px;
	line-height: 50px;
	background: #bcb7a7;
	font-size: 24px;
	font-weight: bold;
	padding: 0 20px;
}

div.wrap div.fp-boxes div.right a.more {
	position: absolute;
	right: 20px;
	top: 20px;
	color: #3e3d40;
	text-decoration: none;
	font-size: 12px;
}
	
div.wrap div.fp-boxes div.right ul.news {
	list-style: none;
	margin: 10px 0 0 0;
	padding: 0;
}

div.wrap div.fp-boxes div.right ul.news li {
	padding: 0 20px 14px 20px;
	color: #3e3d40;
}

div.wrap div.fp-boxes div.right ul.news li div.date {
	font-weight: bold;
}
	
div.wrap div.fp-boxes div.right ul.news li a {
	color: #3e3d40;
	text-decoration: none;
}
	

/**		partners	*/

div.wrap div.partners {
	margin: 0 0 0 0;
	padding: 0;
	background: white;
}

div.wrap div.partners div.head {
	height: 40px;
	line-height: 40px;
	padding: 0 20px;
	background: #e0e0e1;
	font-size: 24px;
}

div.wrap div.partners img {
	float: left;
	margin: .5em 0;
}

div.wrap div.partners div.row {
	padding: 10px 0;
	height: 65px;
}





/**
 * 			contents
 */

div.contents {
	font-size: 14px;
	min-height: 400px;
	margin: 0 0 1em 0;
}

div.contents h1 {
	color: #1c5574;
	font-weight: normal;
	font-size: 22px;
	text-transform: uppercase;
	margin: .25em 0;
}

div.contents h2 {
	font-size: 22px;
	color: #1c5574;
	margin: .25em 0;
	font-weight: normal;
}

div.contents p {
	margin: 0 0 1em 0;
}

div.contents div.locator,
div.contents div.locator a {
	color: #707173;
	font-size: 12px;
}

div.contents div.left {
	width: 270px;
	float: left;
}

div.contents ul.side {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0;
}

div.contents ul.side li {
	display: table;
	width: 250px;
	padding: 0 11px 0 0;
}

div.contents ul.side li a {
	display: block;
	display: table-cell;
	vertical-align: middle;
	height: 50px;
	padding: 0 0 0 30px;
	color: #003657;
	border-bottom: 1px solid #d9dcde;
	background: url(images/side-bullet.png) 8px 50% no-repeat;
}

div.contents ul.side li.current-menu-item a {
	border: 0;
}

div.contents ul.side li:last-child a {
	border: 0;
}

div.contents ul.side li a:hover {
	background-color: #ebecec;
	text-decoration: none;
}

div.contents ul.side li.current-menu-item,
div.contents ul.side li.current-post-ancestor,
div.contents ul.side li.current-menu-ancestor {
	background: url(images/side-active.png) 0 0 no-repeat;
}

div.contents ul.side li.current-menu-ancestor a {
	border: 0;
}

div.contents ul.side li.current-menu-item a:hover,
div.contents ul.side li.current-post-ancestor a:hover {
	background: url(images/side-bullet.png) 8px 50% no-repeat;
}

div.contents div.right {
	width: 630px;
	float: right;
}



/**		news		*/

div#news .title {
	margin: 0 0 .5em 0;
	line-height: 1.2em;
	font-size: 20px;
	text-transform: none;
}

div#news div.more {
	border-top: 1px solid #d8e2e7;
	padding: .5em 0;
}

div#news div.more a span.prev {
	display: inline-block;
	color: #284661;
	padding: 0 0 0 12px;
	margin: 0 1em 0 0;	
	background: url(images/btn-prev.png) 0 50% no-repeat;
}

div#news div.more a span.next {
	display: inline-block;
	color: #284661;
	padding: 0 12px 0 0;
	background: url(images/btn-next.png) 100% 50% no-repeat;
}
	



/**		menu funds	*/

ul.side li ul.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid red;
	display: table-row;
	width: 100px;
}

ul.side li ul.sub-menu li {
	display: table;
}

ul.side li ul.sub-menu li a {
	background: none;
	display: block;
	display: table-cell;
	height: 32px;
	color: #58585a;
	border-bottom: 1px solid #d9dcde !important;
}

div.contents ul.side li ul.sub-menu li a:hover {
	background: #ebecec;
}

div.contents ul.side li ul.sub-menu li.current-menu-item {
	background: none;
}

div.contents ul.side li ul.sub-menu li.current-menu-item a {
	background: #295f7b;
	color: white;
}





/**		funds		*/


div#funds div.row {
	border-bottom: 1px solid #c2cbd4;
	padding: 0 0 .5em 0;
}

div#funds div.row p:last-child {
	margin: 0;
}

div#funds h3 {
	color: #1c5574;
	font-weight: normal;
	margin: 0 0 .25em 0;
}

div#funds table.funds {
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid #1c5474;
}

div#funds table.funds thead tr th {
	color: #003657;
	background: #dfe8eb;
	border-right: 1px solid #aec3cd;
	font-size: 12px;
}

div#funds table.funds thead tr th.small {
	font-weight: normal;
	font-size: 11px;
	border-top: 1px solid #aec3cd;
}

div#funds table.funds thead tr th.nobr {
	border-right: 0;
}

div#funds table.funds tr td {
	text-align: center;
	padding: .15em 0;
	border-right: 1px solid #aec3cd;
}

div#funds table.funds tr td:last-child {
	border: 0;
}

div#funds table.funds tr.nth td {
	background: #eaeff3;
}

div#funds label {
	color: #1c5574;
	font-weight: normal;	
}
div#funds .fund-inactive{
    padding-top: 10px;
    color: red;
    font-weight: bold;
    font-size: 16px;
    display: block;
}



/**		faq		*/

div.questions { }

div.questions div.question {
	border-bottom: 1px solid #c2ccd4;
}

div.questions div.question a.question {
	display: block;
	padding: 15px 30px;
	background: url(images/faq-array-close.png) 10px 50% no-repeat;
	color: #295f7c;
	font-size: 16px;
}

div.questions div.question div.answer {
	display: none;
	padding: 0 30px 30px 30px;
}

div.questions div.open div.answer {
	display: block;
}
	
div.questions div.open {
	background: #ebeff3;	
}

div.questions div.open a.question {
	background: url(images/faq-array-open.png) 10px 50% no-repeat;
}


/**     funds list     */

div.funds-list { }

div.funds-list div.fund {
    border-bottom: 1px solid #c2ccd4;
}

div.funds-list div.fund a.fund, a.fund-info {
    display: block;
    padding: 15px 30px;
    background: url(images/faq-array-close.png) 10px 50% no-repeat;
    color: #295f7c;
    font-size: 16px;
}

div.funds-list div.fund div.answer {
    display: none;
    padding: 0 30px 30px 30px;
}

div.funds-list div.fund a.fund-info {
    background: none;
    padding-top: 0px;
    margin-top: -5px;
    font-size: 14px;
}

div.funds-list div.fund img {
	padding-left: 5px;
}

div.funds-list div.open div.answer {
    display: block;
}
    
div.funds-list div.open {
    background: #ebeff3;    
}

div.funds-list div.open a.fund {
    background: url(images/faq-array-open.png) 10px 50% no-repeat;
}

.input-date{
    border: 1px solid #B8C8D2;
    background: rgba(0, 0, 0, 0);
    text-align: center;
    padding: 2px 3px;
    color: #003657;
    font-weight: bold;
    font-family: 'Titillium Web', 'Open Sans', sans-serif;
    cursor: pointer;
    padding-right: 25px;
    background: url(images/ico-datepicker.png) 99% 50% no-repeat;
}

form.question {
	background: #dfe8eb;
	padding: 10px; 
}

form.question table.question-form {
	width: 100%;
	border: 0;
}

form.question table.question-form tr td {
	padding: 10px;
	vertical-align: top;
}

form.question table.question-form tr td.col1 {
	width: 210px;
}

form.question table.question-form tr td.col2 {
	width: 320px;
}

form.question div.row {
	clear: both;
}

form.question label {
	display: block;
	color: #284762;
}

form.question input.inp {
	border: 1px solid #96b2c1;
	width: 99%;
	padding: .25em;
}

form.question textarea {
	border: 1px solid #96b2c1;
	width: 99%;
	height: 130px;
}

form.question input.left {
	border: 1px solid #96b2c1;
	padding: .25em;
	width: 150px;
	float: left;
}

form.question div#code2 {
	display: block;
	float: right;
	background: white;
	width: 150px;
	background: #f6f8f9;
	text-align: center;
}
	
form.question input.btn {
	background: #295f7b;
	color: white;
	border: 0;
	padding: .25em .5em;
	float: right;
	text-transform: uppercase;
	cursor: pointer;
}

form.question input.btn:hover {
	background: #366984;
}

form.question .err {
	border: 1px solid red !important;
}




/**
*			sidemap
*/		

div.sitemap ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

div.sitemap ul.menu > li {
	margin: 0 0 .5em 0;
}

div.sitemap ul.menu > li > a {
	padding: .1em .25em;
	background: #1b5574;
	color: white;
	font-size: 16px;
}

div.sitemap ul.menu li ul.sub-menu {
	list-style: none;
	margin: .5em 0 0 0;
}

div.sitemap ul.menu li ul.sub-menu li a {
	color: #1b5574;
}



/**
 * 			footer
 */

div.footer {
	position: relative;
	height: 95px;
	padding: 20px 0 0 0;
}

div.footer div {
	font-size: 12px;
	line-height: 1.1em;
	color: #707173;
	padding: 0 20px;
}

div.footer ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 14px;
	right: 20px;
}

div.footer ul.menu li {
	float: left;
}

div.footer ul.menu li a {
	font-size: 10px;
	text-transform: uppercase;
	padding: 0 .5em;
}

div.footer ul.menu li:last-child {
	border: 0;
}

body.page-template-default div.footer,
body.page-child div.footer,
body.page-template-wide-php div.footer,
body.category div.footer,
body.single div.footer {
	background: #eceded;
}




.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: black;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 5px 5px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 17px;
  right: 100%; /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}