/*blue 1a75cf
lightblue 13bcff
lightblue 20% background: rgba(19, 188, 255, 0.20);

green 5a791e   
light green 78a327 
#light green 20% background: rgba(120, 163, 39, 0.20);

*/
/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
#fav-container, #fav-mainwrap > .row-fluid, #fav-mainwrap .blog {
  position: relative;
}

input, select, label, textarea {
font-family: inherit !important;
color: #898989 !important;
}

textarea, input[type="text"],
input[type="password"], 
input[type="datetime"],
input[type="datetime-local"],
input[type="date"], 
input[type="month"],
input[type="time"], 
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"], 
input[type="search"],
input[type="tel"],
input[type="color"], 
input[type="color"], 
.uneditable-input  
{

	background-color: #ffffff;
	border: solid 1px #c2c2c2;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px !important;
	line-height: 20px;
	padding: 4px 10px;
	margin: 0;
}
    

input[type="text"]:hover,
textarea:hover,
input[type="text"]:focus,
textarea:focus
{
	background-color: #f9f9f9;
	border-color: #CECECE;

}

        
.div.mod-languages li {
    margin: 0;
    padding: 0;   
}

.badge {
margin: 0;
}

.nav .dropdown-toggle .caret,
.nav .active .caret, .nav .caret:hover
{
padding: 2px 0 0 0;
border-top-color: #fff !important;
border-bottom-color: #fff !important;
margin: 9px 0 0 2px;
}

.dropdown-submenu a:after {
    border-left-color: /*#fff*/ #5a791e !important;
}


.dropdown-menu, .dropdown-submenu>.dropdown-menu {
    box-shadow: none !important;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
-o-border-radius: 0px;
border-radius: 0px;
}

.dropdown-submenu>a:after {
    position: relative; right: 10px;
    border-left-color: #222;
}


div.search dt.result-title {
font-size: 130%;
    line-height: 130%;
}

div.search dd.result-category {
font-style: normal;
}

.resultitem {
margin: 0 0 20px 0;

}

.resultitem img.jg_photo {
    max-width: 2000px;
    max-height: 100px;
    margin: 5px 0;

}

.result-row2 {
margin: 0 0 5px 0;
}


.search-results h4{
    margin: 20px 0 -5px 0;
}
.search-results h4 a {
color: #5a791e;
}


.result-text {
    margin: 0 0 0 30px;
}

.result-text-adv {
    margin: 0 0 0 0;
}

.result-url {
    padding: 0;
    margin: 0 0 5px 0;
}

.search-pages-counter {
    margin: 20px 0 0 0;
}

#search-results .search-pagination, #search-results .pagination, #search-results .search-pages-counter  {
    font-size: 18px;
    margin: 30px auto 0 auto;
}


/*gallery */
/* Category view */
.jg_element_cat {
  text-align:center !important;
}
    
@media (max-width: 479px) {
.jg_element_cat {
width: 95% !important;
    margin: auto;
}
}

@media (min-width: 480px)
    and (max-width: 600px) 
{
.jg_element_cat {
width: 49% !important;
}
}


.jg_cooliris_link {
text-align: center;
    margin: 15px 0;
}

.search-pagination {
    margin: 20px 0 0 0;
}

a#jg_cooliris {
    padding: 10px;
}



.jg_catelem_cat a, .jg_subcatelem_txt a {
  height:auto;
}

 .jg_catelem_txt a, .jg_subcatelem_txt a {
color: #222;
}

.jg_element_cat_imgwrapper, .jg_subcatelem_cat {
    border: 1px solid #ccc;
    margin: 0 15px 15px 0;
   width: auto; max-width: 280px;
}

.jg_element_cat_imgwrapper:hover, .jg_subcatelem_cat:hover {
background: #f9f9f9;
}


.jg_catelem_photo {
  text-align:center !important;
}

/* Border for all images (thumbs, minis, full...) */
img.jg_photo, .jg_minis a img {
  border:none;
    margin: 0;
    padding: 0;
}
a:hover img.jg_photo, .jg_minis a:hover img {
  border: none;
}

.jg_pathway a img{
  vertical-align:middle;
}

.gallery .well {
    background-color: transparent;
    border: none;
    font-weight: 700;
}



.jg-header, .jg_catcountimg {
display:block;
font-size: 20px;
text-transform: uppercase;
font-weight: 300;
line-height: 1.3em;
margin-bottom: 10px;
margin-top: 6px;
padding-bottom: 6px;
    background-color: transparent;
    border: none;
}

.jg_detailnavi {
    margin-top: 15px;
    
}

.jg_detailnaviprev, .jg_detailnavinext {
    width: auto;
}

#single_imgtext {
    height: 120px; width: 500px;
}

.gallery input[type="text"] {
    width: 500px;
}

#jg_photo_big img {
    max-width: 800px;
}
@media handheld, only screen and (max-width: 479px) {
    
    
    .gallery input[type="text"] ,  #single_imgtext {
        width: 90%;
        max-width: 450px;
    }
    
}

.jg_icon {
    padding-top: 0;
}

.jg_photo_right {
    font-weight: 400;
}


.aikonsearch-trigger {
position: absolute ;
  /*  top: 337px;height: 23px;*/
    right: 0px ;
    width: auto ; height: auto ;
    background: transparent ;
    border-right: none ;
    color: #fff !important;
cursor: pointer ;
text-align: center;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
padding: 10px 10px 10px 15px;
    z-index: 1;
}


.aikonsearch-trigger:hover, button.aikon-searchbtn:hover {
	background: #78a327 !important;
}
.aikonsearch-trigger .fa {
font-size: 20px;
}

.aikon-search {
  /*  position:absolute !important;
    left: 596px !important;
    top: 39px !important;
    width: 600px !important;
    height: 290px !important;*/
    border: 3px solid #5a791e;
    overflow: hidden;
    top: -900px !important;
}

.aikon-search input.aikon-searchbox {
    color: #fff !important;
    background-color: #78a327 !important;
    border: 1px solid #ddd !important;
}

.aikon-search button.aikon-searchbtn {
    background-color: #5a791e !important;
    height: 60px !important;
}

.aikon-search button.aikon-searchbtn:hover {
    background-color: #78a327 !important;
}

.aikon-search .closeit {
        color: #5a791e !important;
    border-color: #5a791e !important;
    height: 33px !important;
    padding-top: 15px !important;
}

.aikon-search .closeit:hover {
        color: #78a327 !important;
    border-color: #78a327 !important;
}

.aikon-search.openit {
    top: 0px !important;

}


.lang-inline a{
    padding: 2px 2px 2px 5px;
}


.lang-inline a:hover {
background: rgba(120, 163, 39, 0.20);
    color: #5a791e;
}

li.lang-active a {
background: rgba(120, 163, 39, 0.20);
    color: #5a791e;
   
}

.table-striped tbody>tr:nth-child(odd)>td, .table-striped tbody>tr:nth-child(odd)>th
{
    background: transparent;
}


.nav-tabs.nav-stacked>li>a {
    border: 1px solid #fff;
}


.article-index ul {
background: rgba(120, 163, 39, 0.20);
    margin: 0 0 20px 20px;
}

.article-index ul li:last-child {
background: rgba(120, 163, 39, 0.20);
}

.nav-tabs>.active>a, .nav-tabs a.active, .nav-tabs>.active>a:hover, .nav-tabs>.active>a:focus, .article-index .nav-stacked li a:hover {
border: 1px solid #fff;
background: rgba(120, 163, 39, 0.20);
        color: #5a791e;
}
.article-index  {
}

li.nn_tabs-tab:hover, li.nn_tabs-tab.closed.active {
    background: #78a327;
    color: #fff;
}

.pagenavcounter {
border-bottom:1px solid #ddd;
float:right;
padding: 2px 5px ;

}

.article-index li:before, .pager li:before  {
content: "" !important;
padding-right: 0 !important;
}


.article-index  li a {
padding-right: 40px;
}

.article-index li a:before  {
font-family: FontAwesome;
content: "\f105";
padding-right: 10px;
}


.pager li  {
margin: 0 30px 0 0;
}

.pager li>a, .pager li>span {
border-radius: 0;
}

button, .btn {

}

button, .btn, .btn-primary {
    text-shadow: none;
}
button:hover, .btn:hover, .btn-primary:hover, .button-submit:hover {
 background: #78a327;
    color: #fff !important;
}

.category-list-items span {
    display: block;
    padding: 3px 0;
}

.category-list-items span:hover {
}

.bt-social-share {
    border: none;
border-top: 1px solid #ddd;
border-radius: 0px;
background: transparent;
padding: 10px 0 0 0;
margin: 20px 0;
line-height: 100%;
display: inline-block;
width: 100%;
}

.permalinks-left {
/*position: relative; top: -30px;*/
}

.friendslogos img {
    vertical-align: middle;
    width: 150px;
    margin: 0 21px 25px 0;
    padding: 10px;
    border: 1px solid #ddd;
    background: #eee;
    float:left;
}

#jcemediabox-popup-content .friendslogos img {
    float:none;
   max-width: 150px;
    max-height: 150px;
}


#fav-copyright .acymailing_module_form {
clear:both;
float: right; 
}


#fav-copyright .acymailing_module_form p, #fav-copyright .acymailing_introtext,  #fav-copyright .acymailing_form {
    display: inline;
}

#fav-copyright .acymailing_introtext {
margin: 0 10px 0 0 !important;
    
}

#fav-copyright .acymailing_module_form input[type="text"]
{
    font-size: 100%;
    padding: 2px 5px;
}

#fav-copyright .acymailing_module_form input.button
{
    margin: 0 0 0 0;
    font-size: 100%;
    padding: 2px 5px;
}

.alert-heading {
    display:none;
}

#system-message {
    padding-top: 20px;
    font-size: 180%;
}

.subbutton {
    color: #fff !important;
}

@media (max-width: 320px) {
.wdform-element-section, .wdform_page input, .wdform_page textarea {
    width: 250px !important;
}
}

/* Koduleheabi */

#fav-container, #fav-mainwrap {
    background-color: #f4f4f4;
}
#fav-advertwrap, #fav-headerwrap, #fav-maincontent {
    background-color: #ffffff;
}
#fav-maincontent {
    padding: 15px;
}
.itemid-357 #fav-maincontent, 
.gallery.itemid-207 #fav-maincontent {
    background: transparent;
    padding: 0;
}
.gallery.itemid-207 .gallerycontainer.jg_subcatelem_cat {
    background-color: #fff;
}
.jg_subcatelem_photo {
    min-width: 280px;
}
.jg_subcatelem_photo a {
    padding: 0;
}
.jg_subcatelem_photo img {
    width: 280px;
    height: auto;
}
.jg_subcatelem_txt {
    font-size: 18px;
    margin-top: 4px;
}

/* Falang copyright */
#fav-maincontent > div:last-of-type {
  /* background-color: #e8e7ec; */
}
#fav-maincontent > div:last-of-type a {
  color:transparent;
}
.kuva-upload-form #fav-main > div > div:last-of-type a {
  color: #fff;
}

.dropdown-menu .nav-header {
    padding: 7px 10px !important;
    margin: 0 0 10px 0;
    font-weight: normal;
    background: #becfcf !important;
    color: #fff !important;
    font-size: inherit;
  line-height: inherit;
}
.kuva-upload-form #fav-mainwrap {
  background-color: #fafafa;
  box-shadow: 0px 6px 10px rgba(0,0,0,0.1);
  padding: 0 !important;
}
.kuva-upload-form .gallery .well.jg-header {
  background-color: #efefef;
  padding: 19px;
}
.kuva-upload-form form.form-horizontal {
  padding: 0 20px;
}

/* osalejale */
.itemid-357 .page-header h2 {
    text-align: center;
}
#login-form .pretext {
    margin-bottom: 20px;
    padding-top: 0.5em;
}

/* uudised */
.itemid-174 #fav-maincontent .blog > h2 {
  display: none;
}

/* Video galerii */
.video-gallery .item .page-header {
    margin-bottom: 0;
}
.video-gallery .item .page-header h2, 
.video-gallery .item .page-header h2 a {
  margin-bottom: 0;
  font-size: 20px !important;
}
.video-gallery .item .introtext {
  display: block;
  position: relative;
}
.video-gallery .item a.introtext p {
    position: absolute;
    bottom: 13px;
    color: white;
    left: 0;
    right: 0;
    text-align: center;
  margin: 0;
}
.video-gallery .item .item-image {
    position: relative;
}
.video-gallery .item .item-image:after {content:"";height: 30px;width: 100%;background: linear-gradient(0deg, black, transparent);display: block;position: absolute;bottom: 8px;left: 0;right: 0;}

.video-gallery .item .item-image img.introimage-fpnews {
    float: none;
}
