/*
Theme Name: Kassideturvakodu
Author: Maidu Saat
Version: 1.0
*/

html{}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}
q:before,q:after{content:'';}
abbr,acronym {border:0;font-variant:normal;}
sup {vertical-align:top;}
sub {vertical-align:bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
img { vertical-align: top; }
strong { font-weight: bold; }
em { font-style: italic;}
.clear {clear: both;}
* { outline: 0;  outline-color: transparent; outline-style: none; outline-width: 0; }
html {
  overflow-y: scroll;
}
body {
  min-width: 1000px;
  width: 100%;
  font: 16px 'PT Sans', sans-serif;
  color:#666666;
}

span.overlay {
  background:url(images/overlay.png) no-repeat;
  height: 310px;
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
}
.donate-field {
  background-color: #FFFFFF;
  padding: 15px;
  float: none !important;
  width: 400px !important;
  margin: auto;
}
.donate {
  height: 50px;
}
.donate-btn {
  background: url(images/donate.png) no-repeat 0 0;
  height: 50px;
  width: 227px;
  display: inline-block;
  color: #fff;
}
.donate-btn a {
  color: #FFFFFF;
  display: block;
  margin-top: 8px;
  text-align: center;
  width: 115px;
}
.pager {
  padding-top: 50px;
  width: 200px;
  margin: auto;
}
.pager a {
  /*background: url("images/pager.png") no-repeat 0 0;*/
  display: inline !important;
  height: 30px !important;
  width: 30px !important;
}
.gender-item {
  float: left;
  margin-right: 28px;
}
.age-item {
  float: left;
  margin-right: 30px;
}
.info {
  display: inline-block;
  width: 168px;
  font-size: 14px;
  word-wrap: break-word;
}

#wrapper {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}

/*IE7 only hack*/
*+html #wrapper {
  padding: 0 0 100px 0;
}
/*Ends IE7 only hack*/

#header, #main, #footer {
  width: 100%;
  min-width: 960px;
}

a {
  text-decoration: none;
  color: #669900;
}

.nav-left, .nav-right {
  font: 16px 'PT Sans', sans-serif;
  display: inline;
}
.nav-left a, .nav-right a {
  font: 16px 'PT Sans', sans-serif;
  display: inline;
  color: #666;
  text-decoration: none;
}
.main-navigation {
  margin: 60px 0 0 0;
}
.main-navigation .current-menu-item a {
  font-weight: bold;
}

.nav-left {
  float: left;
}
.nav-left li, .nav-right li {
  float: left;

}
.nav-left li {
  padding-right: 30px;
}

.nav-right li {
  padding-left: 35px;
}
.nav-right {
  text-align: left;
}

#logo {
  float: left;
  height: 130px;
  margin-top: -48px;
  width: 120px;
}
#content {
  float: left;
  margin-bottom: 95px;
  width: 100%;
}
#content .page
{
  margin-top: 20px;
}

.page-title {
  width: 100%;
  margin: 25px 0;
  text-align: center;
  line-height: 100%;
}
.page-title span {
  float: left;
  margin: 20px 0 -10px;
  border-top: 1px solid #ccc;
  width: 100%;
}
.page-title h2 {
  text-transform: uppercase;
  display: inline;
  color: #333;
  background-color: #fff;
  padding: 0px 20px 0 20px;
  width: auto;
  margin: auto;
}
.page-template-template-home-php .cats-carousel {
  height: 410px;
}
.cats-carousel a {
  display: block;
  width: 249px;
  height: 335px;
  position: relative;
}
.cat-image img {
  width: 249px;
  height: 310px;
}
.cat {
  float: left;
  height: 335px;
  margin-top: 30px;
}
/*
.overlay {
  position: absolute;
  background: url(images/overlay.png) no-repeat;
  width: 250px;
  height: 310px;
  visibility: hidden;
  left: 0;
  top: 0;
}
a:hover .overlay {
  visibility: visible;
}
*/
a:hover .name {
  background-position: 0 -71px;
  margin-top: -47px;
}
.name {
  background: url("images/buttons.png") no-repeat scroll 0 0 transparent;
  color: white;
  display: block;
  font-size: 16px;
  font-weight: bold;
  height: 47px;
  margin-left: 22%;
  margin-top: -30px;
  padding: 23px 5px 0px 5px;
  position: absolute;
  text-align: center;
  width: 128px;
  z-index: 1;
  text-transform: uppercase;
}
*+html .name {
  position: relative;
}
.name a:hover {
  background-position: 20px 0;
}
.search-bar {
  background: url(images/search.png) no-repeat;
  width: 307px;
  height: 472px;
  float: right;
}
/*.search-bar span {
  float: left;
  border-top: 0.5px solid #ccc;
  width: 100%;
  margin-top: 30px;
}*/
.search-bar h3 {
  font-weight: bold;
  font-size: 22px;
  padding-bottom: 20px;
}
.search-content {
  padding: 20px 20px 0;
}
.search-content h4 {
  padding: 15px 0 ;
}
.search-content p {
  display: inline;
  padding-right: 31px;
}
.drop {
  background: none repeat scroll 0 0 #F8F8F8;
  border: 1px solid #CCCCCC;
  height: 30px;
  margin-top: 30px;
  padding-left: 5px;
  width: 260px;
  color: #666666;
}
.drop-horizontal option {
  background-color: #f8f8f8;
  font-size: 12px;
  padding: 2px 0 2px 10px;
  line-height: 20px;
  color: #666666;
}
.drop-horizontal {
  /*background: url("images/dropdown.png") no-repeat scroll 0 0 transparent;*/
  /*border: 0 none;*/
  height: 30px;
  padding: 5px 5px;
  width: 260px;
  margin-bottom: 20px;
}

.search-btn {
  background: url("images/green.png") no-repeat scroll 0 0 transparent;
  border: 0 none;
  color: white;
  font-size: 18px;
  height: 44px;
  margin-top: 30px;
  width: 258px;
}
.fb-feed {
  float: left;
  width: 650px;
  height: auto;
}
#footer {
  clear: both;
}
#footer a {
  color: #669900;
}

.footer-wrap {
  width: 1000px;
  margin: 0 auto;
}
.footer-top .footer-wrap {
  background: #F2F2F2;
}

.footer-top {
  height:370px;
  border-top: 1px solid #ccc;
  background-color: #f2f2f2;
}
.footer-bottom {
  background-color: #99cc00;
  color: white;
  height: 50px;
  line-height: 49px;
}
.left {
  float: left;
  font-size: 13px;
  height: 370px;
  padding: 50px 10px 0;
  width: 450px;
}
.first p,
.second p,
.third p {
  display: inline-block;
}
.color-item {
  display: inline-block;
  padding-left: 25px;
  width: 110px;
}
.search-item {
  display: inline-block;
  width: 95px;
}
.second {
  margin-top: 33px;
}
.third {
  margin-top: 23px;
}
.fourth {
  margin-top: 20px;
}
.grey {
  color: #333;
}
.grey > a, .grey > a:visited {
  color: #669900;
}
.float-left {
  float: left;
  margin: 0 10px 0 0;
}
#orange {
  height: 5px;
  width: 100%;
  background-color: #ff9933;
  float: left;
}
#green {
  height: 5px;
  width: 100px;
  background-color: #99cc00;
  display: inline-block;
}

.donate img {
  margin-top: -5px;
}

.cart a {
  float: right;
  margin-right: 115px;
  margin-top: -35px;
  color: #ff9933;
}
.remove_basket {
  background: url(images/delete.png);
  border: 0;
  cursor: pointer;
}
.below-btn {
  margin-top: 90px;
  font-size: 14px;
}

.items {
  background: url("images/items.png") no-repeat scroll 0 0 transparent;
  float: right;
  height: 22px;
  margin-right: 88px;
  margin-top: -35px;
  text-align: center;
  width: 22px;
  color: white;
}
.items a {
  color: white;
}
.lang {
  float: right;
  height: 22px;
  margin-top: -35px;
  width: 80px;
  margin-right: 0;
  color: #ff9933;
}
.lang a {
  color: #ff9933;
  font-size: 12px;
}
.lang a:hover {
  text-decoration: underline;
}

.wpml-ls-statics-shortcode_actions, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
  border: none !important;
  border-color: transparent !important;
}

.wpml-ls-statics-shortcode_actions a {
  color: #ff9933 !important;
  font-size: 11px;
  border: none !important;
}
.wpml-ls-statics-shortcode_actions a:hover, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a {
  text-decoration: underline;
  background: transparent !important;
}

.item-image {
  width: 168px;
  height: 196px;
  margin-bottom: 15px;
  background: url("images/shop-big.png") repeat scroll 0 0 transparent;
}

.shop-btn {
  background-image: url(images/shop-btn.png);
  width: 168px;
  height: 44px;
  margin-top: 10px;
}

.shop-btn p {
  padding: 10px 0 0 52px;
  color: #fff;
}
.shop-btn a {
  text-decoration: none;
}
.price {
  color: #99cc00;
}
.title {
  color: #333333;
  word-wrap: break-word;
}

.shop-item {
  float: left;
  padding: 0 45px 30px 0;
}
.item-content{
width: 180px;
min-height: 365px;
}

.shop {
  width: 690px;
  float: left;
  margin-top: 35px;
}
.zoom {
  background: url(images/shop.png) no-repeat 0 0 transparent;
  display: block;
  text-indent: -9999px;
  height: 58px;
  width: 58px;
}

.zoom {
  bottom: 58px;
  margin-left: 110px;
  position: relative;
}
.bag {
  width: 310px;
  height: auto;
  float: right;
}
.bag textarea {
  color: #666;
  border: 1px solid lightgray;
  width: 279px;
  height: 30px;
  padding: 5px 10px 5px 10px;
  resize: vertical;
  margin-top: 10px;
  margin-bottom: 10px;
}
.bag-item {
  width: 310px;
  height: auto;
  float: right;
  border-bottom: 1px dashed #ccc;
  padding: 12px 0;
}
.delete-item {
  float: left;
  margin-left: 12px;
}
.bag-image {
  float: left;
  /*height: 75px;*/
  margin: 0 17px 0 15px;
  width: 64px;
}

.bag-title {
  color: #333333;
  font-size: 14px;
  line-height: 14px;
  margin-top: 22px;
}
.bag-price {
  color: #99cc00;
}

.summa {
  float: right;

}
.sum {
  font-size: 30px;
  color: #99cc00;
  text-align: right;
  line-height: 30px;
  font-weight: bold;
}
.post {
  float: right;
}

.total-price {
  float: left;
  width: 100%;
  padding-bottom: 30px;
}

.shop-bag-title {
  width: 100%;
  margin: 25px 0 50px 0;
  text-align: center;
  line-height: 100%;
}
.shop-bag-title span {
  float: left;
  margin: 20px 0 -10px;
  border-top: 1px solid #ccc;
  width: 100%;
}
.shop-bag-title h2 {
  text-transform: uppercase;
  display: inline;
  color: #333;
  background-color: #fff;
  padding: 0px 20px 0 20px;
  width: auto;
  margin: auto;
}

.first-empty {
  color: #ff9933;
  font-size: 14px;
  line-height: 14px;
}
.second-empty {
  color: #666;
  font-size: 14px;
  line-height: 14px;
}
.empty-bag {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 30px;
}
.cleardefault {
  background: url(images/form.png) no-repeat;
  border: 0;
  width: 301px;
  height: 32px;
  padding: 6px 6px 6px 10px;
  color: #666;
  margin-top: 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.bag-contact {
  width: 301px;
  float: right;
}
.form-button {
  background: url(images/form-btn.png) no-repeat;
  width: 168px;
  height: 44px;
  border: 0;
  float: right;
  color: white;
  margin-top: 10px;
}
.useful-item,
.about {
  width: 621px;
  height: ;
  float: left;
}
.about,
.home-news {
  font-size: 13px;
}
.home-news a {
  font-weight: bold;
}
.home-news a:hover {
  text-decoration: none;
}
.about h1,
.home-news h1 {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  padding-bottom: 10px;
}
.useful-text {
  padding: 10px 8px 0 25px;
  font-size: 13px;
}
.facts {
  float: right;
  width: 310px;
  font-size: 14px;
}
.facts-title {
  margin: 0 0 35px;
  text-align: left;
  width: 100%;
}
.facts p {
  display: inline;
}
.docs {
  float: right;
  padding-left: 5px;
}
.facts li,
.sidebar li {
  background: url(images/bullet.png) no-repeat 0 41%;
  padding: 0 0 0 25px;
  margin-bottom: 10px;
}
.sidebar {
  padding-left: 74px;
  width: 305px;
  height:auto;
  float: left;
  font-size: 14px;
}

.sidebar li {
  border-bottom: 1px dashed #ccc;
  margin-top: 10px;
  padding-bottom: 10px;
}

.sidebar a {
  color: #669900;
  font-size: 14px;
  text-decoration: none;
}
.sidebar-extra {
  font-size: 13px;
  color: #999;
  line-height: 22px;
}
.sidebar-title {
  width: 100%;
  margin: 50px 0 35px 0;
  text-align: left;
}
.page-template-template-about-php .sidebar-title {
  margin: 30px 0 35px 0;
}
.sidebar-title span,
.facts-title span {
  float: left;
  margin: 9px 0 -10px;
  border-top: 1px solid #ccc;
  width: 100%;
}
.sidebar-title h2,
.facts-title h2 {
  text-transform: uppercase;
  display: inline;
  color: #333;
  background-color: #fff;
  padding: 0px 35px 0 0;
  width: auto;
  margin: auto;
}
.gallery {
  float: left;
  width: 375px;
  height: auto;
  margin-right: 25px;
}
.gallery-small-item {
  width: 84px;
  height: 84px;
  float: left;
  margin: 8px 9px 0 0;
}
.gallery-big {
  width: 365px;
}

.news-text h1 {
  font-size: 22px;
  font-weight: bold;
  padding-bottom: 5px;
  color: #333;
}

.news-text p {
  font-size: 13px;
}

.home-news-nav li {
  float: left;
  padding-right: 54px;
}

.cat-profile-pic {
  float: left;
  width: 375px;
  height: auto;
  margin-right: 25px;
}
.profile-small-item {
  width: 84px;
  height: 83px;
  background-color: blue;
  float: left;
  margin-right: 9px;
  margin: 8px 9px 0 0;
}
.profile-big {
  width: 365px;
  height: 545px;
  background-color: blue;
}
.profile-text h1 {
  font-size: 22px;
  font-weight: bold;
  padding-bottom: 5px;
  color: #333;
}

.profile-text p,
.profile-text {
  font-size: 13px;
}
.search-gender,
.search-location,
.search-button,
.search-age {
  float: left;
}

.search-gender {
  width: 113px;
  height: 90px;
  border-right: 1px solid #ccc;
}

.search-age {
  width: 216px;
  height: 90px;
  margin-left: 28px;
  border-right: 1px solid #ccc;
}
.search-content .search-age,
.search-content .search-gender {
  border-right: none;
  border-bottom: 1px solid #ccc;
  width: 100%;
}
.search-content .search-age {
  margin: 0;
  height: 120px;
}
.search-content .search-gender {
  margin-left: 0;
  height: 45px;
}
.search-content .search-gender > label,
.search-content .search-age > label {
  padding-right: 20px;
}
.search-content .search-location {
  margin-left: 0;
  padding-top: 25px;
  width: auto;
  border: 0;
}
.search-content .search-button {
  margin-left: 0;
  margin-top: 25px;
}

.search-age p {
  font-size: 13px;
  display: inline;
}
.search-location {
  width: 306px;
  margin-left: 34px;
  border-right: 1px solid #ccc;
}
.page-template page-template-template-home-php .search-location {
  width: 306px;
  height: 90px;
  margin-left: 34px;
  border-right: 1px solid #ccc;
}
.search-button {
  width: 255px;
  height: 90px;
  margin-left: 43px;
}
.title-age {
  float: left;
  height: 80px;
  padding-right: 20px;
}
.search-content .title-age {
  float: none;
  height: auto;
  padding-right: 0;
}
.search-btn-horizontal {
  background: url("images/green.png") no-repeat scroll 0 0 transparent;
  border: 0 none;
  color: white;
  font-size: 18px;
  height: 44px;
  width: 258px;
  cursor: pointer;
}

.about-item {
  margin: 0 0 5px;
}
.active {
  background-position: 0 0 !important;
}
.about-item h3 {
  cursor: pointer;
  height: 38px;
  background: url(images/about-sprite.png) no-repeat 0 -60px;
  padding-top: 21px;
  padding-left: 22px;
  color: #669900;
  font-size: 14px;
}

.about-item-text {
  display: none;
  margin:21px 0 30px 23px;
}

#content .navigate-menu li {
  float: left;
  padding-right: 40px;
}
#content .navigate-menu a {
  color: #666;
}
.main-navigation .current-menu-item a,
.main-navigation .current-page-ancestor a {
  font-weight: bold;
}
.navigate-menu .current-menu-item a {
  font-weight: bold;
}

.right p {
  display: inline-block;
  padding-top: 46px;
  font-size: 14px;
  color: #999;
}

.home-news a {
  text-decoration: underline;
}

.profile-title {
  color: #333333;
  font: 22px 'PT Sans', sans-serif;
  font-weight: bold;
  padding-bottom: 20px;
}

.profile-content {
  float: left;
  margin-top: 35px;
  width: 600px;
}
.profile-content-homenews {
  float: left;
  width: 600px;
}
.home-news {
  margin-top: 30px;
}
.profile-content p,
.about p {
  padding-bottom: 10px;
}


#fancybox-close {
  background: url("images/fancybox-sprite.png") repeat scroll 0 44px transparent !important;
  cursor: pointer;
  display: none;
  height: 44px !important;
  position: absolute;
  right: -15px;
  top: -15px;
  width: 44px !important;
}

.post-thumb {
  width:249px ;
  height:310px ;
}

.cat-listing {
  float: left;
}

.error {
  color: red;
  padding-left: 10px;
}

/*LANGUAGE SELECTOR CSS */

#lang_sel a.lang_sel_sel {
  color: #ff9933;
  background: none;
}
#lang_sel a, #lang_sel a:visited {
  background: none repeat scroll 0 0 #FFFFFF;
  border: none;
  color: #ff9933;
  padding-left: 0;
  display: block;
  font-size: 11px;
  line-height: 24px;
  text-decoration: none !important;
}
#lang_sel li {
  float: left;
  position: relative;
  width: 49px;
}
#lang_sel *:hover > a, #lang_sel ul ul *:hover > a {
  background: none;
  color: #ff9933;
}
#lang_sel ul ul a, #lang_sel ul ul a:visited {
  background: none repeat scroll 0 0 #FFFFFF;
  border-width: 0;
  color: #ff9933;
  height: auto;
  line-height: 1em;
  padding: 0px;
  margin-bottom: 8px;
}
#lang_sel {
  height: auto;
}
#lang_sel ul ul {
  border-top: none;
  height: 0;
  left: 0;
  position: absolute;
  top: 25px;
  visibility: hidden;
  width: 49px;
}
.wp-pagenavi {
  clear: both;
  left: 40.5%;
  position: absolute;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
  border-color: #BFBFBF !important;
}
.wp-pagenavi a, .wp-pagenavi span {
  border: none !important;
}
/*Lightbox style */

.grayBox{
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index:1001;
  -moz-opacity: 0.8;
  opacity:.80;
  filter: alpha(opacity=80);
}
.box_content {
  position: fixed;
  top: 25%;
  left: 30%;
  right: 30%;
  width: 40%;
  padding: 16px;
  z-index:1002;
  overflow: auto;
}
/*Lightbox style END */

#content .content
{
  width:100% !important;
}

.lost-content p {
  margin: 10px 0;
}

.entry-content {margin-bottom: 20px;}

.text-search {position:absolute; top:12px; right: 195px;}
.admin-bar .text-search {top: 12px;}
.text-search .hidden-submit {
width:20px;
position:absolute;
right:5px;
top:3px;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
-moz-opacity: 0;
-khtml-opacity: 0;
opacity: 0;
}
.text-search #cat-search {
background: url(images/bg-text-search.png) no-repeat;
border: 0;
width: 182px;
height: 32px;
padding: 6px 30px 6px 10px;
color: #666;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}

.smartpost_input select {
margin: 10px 0 0 0px;
color: #666;
border: lightgray solid 1px;
padding: 3px;
width: 300px;
}

/*IPAD portrait */
@media (min-width: 768px) and (max-width: 1024px) {
  body, #header, #main, #footer {
    min-width: 100%;
  }
  #wrapper {
    width:auto;
  }
  .box_content {
    width:58%;
  }
  #logo img {
    width: 100%;
  }
  #menu-item-14 {
    display:none;
  }
  .nav-right li {
    padding-left: 10px;
  }
  .nav-left li {
    padding-right: 10px;
  }
  .nav-left, .nav-right {
    display: inline;
    font: 14px 'PT Sans',sans-serif;
  }
  .nav-left a, .nav-right a {
    color: #666666;
    display: inline;
    font: 15px 'PT Sans',sans-serif;
    text-decoration: none;
  }
  .main-navigation {
    margin: 60px 15px;
  }
  .attachment-post-thumbnail.wp-post-image {
    height: auto;
    width: 100%;
  }
  .name {
    background: none repeat scroll 0 0 #FF9933;
    color: #FFFFFF;
    display: block;
    font-size: 16px;
    font-weight: bold;
    height: 48px;
    margin-left: 22%;
    margin-top: -30px;
    padding: 23px 5px 0;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    width: 80px;
    z-index: 1;
  }
  span.overlay {
    background: url("images/overlay.png") no-repeat scroll 50% 50% rgba(0, 0, 0, 0);
    height: 61%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

}