/* ======================================== */
/*                Reset                     */
/* ======================================== */

/*
    Main color: #8EB447;
    Secondary color: #373737;
    Titles color: #373737;
    Borders color: #ddd;
    Main Font: Helvetica;
    Secondary Font: 'Open Sans', sans-serif;

    REIK SPALVOS d9d9d9 ANT BORDER
*/

::selection {
    background-color: #8EB447;
    color: #fff;
}
::-moz-selection {
    background-color: #8EB447;
    color: #fff;
}

html, body {
    height: 100%;
    font-weight: 400;
}
a, a:hover, a:focus {
    color: #8EB447;
}
b, th {
    color: #373737;
}
p {
    margin: 0;
    padding: 0;
}
table, table tr td {
    border-color: #373737;
}
.table tr td {
    vertical-align: middle !important;
}
li > h {
    display: inline-block;
}
h1, h2, h3, h4, h5, h6 {
    color: #8EB447;
    font-family: 'Open Sans Condensed', sans-serif;
}

.main_color {
    color: #8EB447;
}
.secondary_color {
    color: #373737;
}
.pointer {
    cursor: pointer;
}
.separator, hr {
    border: 0; 
    height: 1px; 
    margin-bottom: 8px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(151,151,151,0.75), rgba(0,0,0,0)); 
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(151,151,151,0.75), rgba(0,0,0,0)); 
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(151,151,151,0.75), rgba(0,0,0,0)); 
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(151,151,151,0.75), rgba(0,0,0,0)); 
}
hr {
    border-color: #ddd;
    margin: 5px 0;
}

/* ======================================== */
/*                Layout                    */
/* ======================================== */

.container, .row {
    background: none;
    height: 100% !important;
}
#sticky {

}
#wrapper {
    background: url('../images/pattern.png') repeat fixed;
    /*background: url('../../../../images/patterns/273.png') repeat;*/
    min-height: 100%;
}
#container {
    -webkit-box-shadow: 4px 0 10px -8px rgba(0, 0, 0, 0.4), -4px 0 10px -8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 0 10px -8px rgba(0, 0, 0, 0.4), -4px 0 10px -8px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 0 10px -8px rgba(0, 0, 0, 0.4), -4px 0 10px -8px rgba(0, 0, 0, 0.4);
}

/*#wrapper.wrapper-bg {
    background: rgb(255,255,255);  Old browsers 
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 20%, rgba(215,215,217,1) 100%);  FF3.6+ 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(20%,rgba(255,255,255,1)), color-stop(100%,rgba(215,215,217,1)));  Chrome,Safari4+ 
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 20%,rgba(215,215,217,1) 100%);  Chrome10+,Safari5.1+ 
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 20%,rgba(215,215,217,1) 100%);  Opera 11.10+ 
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 20%,rgba(215,215,217,1) 100%);  IE10+ 
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 20%,rgba(215,215,217,1) 100%);  W3C 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d7d7d9',GradientType=0 );  IE6-9 
}*/

#main {
    margin-top: 30px;
}
#main_shadow {
/*    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;*/
    
    border: 1px solid rgba(175, 175, 175, 0.1);
/*    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;    */
    
    -webkit-box-shadow: -8px 5px 5px 0px rgba(175, 175, 175, 0.75);
    -moz-box-shadow:    -8px 5px 5px 0px rgba(175, 175, 175, 0.75);
    box-shadow:         -8px 5px 5px 0px rgba(175, 175, 175, 0.75);
}
#content {
    padding: 20px 0;
    background-color: #fff;
    
/*    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;*/
}
#header_wrapper {

}

/* ======================================== */
/*                Header                    */
/* ======================================== */

#header {
    /*border-bottom: 5px solid #494949;*/
    background-color: #373737;
    
    -moz-box-shadow: 0 3px 4px -2px #999;
        -moz-box-shadow: 0 3px 4px -2px #999;
    box-shadow: 0 3px 4px -2px #999;
}
#left_upper_corner.with_margin {
    padding-left: 25px;
}
#right_upper_corner {
    margin: 12px 0 8px 0;
}
#right_upper_corner.width_margin {
    padding-right: 25px;
}

/* ========== Logo ========== */

#logo {
    clear: both;
    margin: 30px 10px 0 10px;
    text-align: center;
}
#logo img {
    max-width: 370px;
    max-height: 370px;
}

/* ========== Languages ========== */

#languages {
    float: left;
    width: 40%;
    margin-top: 17px;
}
#languages .lang {
    font-size: 15px;
    font-weight: 300;
    line-height: 21px;
    color: #fff;
    margin: 0 -2px 0 0;
    padding: 2px 5px 2px 5px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    background: #8EB447;
}
#languages .lang.current,
#languages .lang:hover  {
    /*font-weight: 400;*/
    text-decoration: none;
    background: #373737;
}

/* ========== Search ========== */

#search {
    position: relative;
    float: right;   
}
.search-form {
    height: 0;
    overflow: hidden;
    opacity: 0;
    position: absolute; 
    top: 26px;
    right: 0px;
    width: 208px;
    background: #fff;
    padding: 10px;
    border: 1px solid #d7d7d9;
    
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(41,41,41,0.6);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(41,41,41,0.6);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(41,41,41,0.6);
    
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
#search:hover .search-form,
#search .search-form.focused {
    height: 50px;
    opacity: 1;
}

.search-form .search-icon {
    cursor: pointer;
    padding: 5px 3px;
}
.search-form .icon {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0px;
}
.search-form .search-input {
    padding: 3px 0 3px 10px;
    border: 1px solid #d7d7d9;
    border-right: none;
}
.search-form {
/*    position: relative;
    background: #373737;
    color: #fff;
    width: 50px;
    padding: 1px 15px 1px 35px;
    
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 2px solid #8EB447;
    
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;*/
}
/*.search-form:hover,
.search-form.focused {
    background: #373737;
    color: #fff;
    width: 200px;
}
.search-form:hover .search-input,
.search-form.focused .search-input {
    width: 150px;
}*/

/* ======================================== */
/*                Sidebar                   */
/* ======================================== */

#sidebar {
    margin-top: 0px;
}
#sidebar .separator {
    margin-bottom: 20px;
}
#sidebar.bottom {
    margin-top: 20px;
}

/* ========== Banners ========== */

#banners_wrapper {

}
#banners_wrapper .banner {
    /*margin-bottom: 10px;*/
    text-align: center;
    padding: 0px;
}
#banners_wrapper .banner .separator {
    margin: 20px 0;
}
#banners_wrapper .banner img {
    max-width: 100%;
    height: auto;
}

/* ======================================== */
/*                Slider                    */
/* ======================================== */

#slider_wrapper {
    margin-top: 15px;
}
#slider {
    background: #fff;
    text-align: center;    
    
    -webkit-box-shadow: 0 3px 4px -2px #999;
    -moz-box-shadow: 0 3px 4px -2px #999;
    box-shadow: 0 3px 4px -2px #999;
}
#slider > img {
    max-width: 100%;
    height: auto;
}
#slider .slider-container {
    position: relative; 
    top: 0px; 
    left: 0px; 
    right: 0; 
    margin: 0 auto; 
}
#slider .slider-container .slides-container {
    /*cursor: move;*/ 
    position: absolute; 
    overflow: hidden; 
    left: 0px; 
    top: 0px; 
}
/*#slider .slider-container .slider-loading {
    position: absolute;
    top: 50%;
    left: 0px;
    right: 0px;
    margin: -32px auto 0 auto;
    width: 64px;
    height: 64px;
    background: url('../images/loading.gif') no-repeat;
}*/

/* ======================================== */
/*                 Menu                     */
/* ======================================== */

#main_menu {
    margin: 30px 0 20px 0;
    clear: both;
}
.navbar-nav {
    float: none;
}
#main_menu #menu-toggle {
    padding: 0;
}
#main_menu .navbar {
    margin: 0px;
    border-radius: 0px;
    border: none;
    background: none;
    /*min-height: 40px;*/
    border-bottom: 1px solid #d9d9d9;
    border-top: 1px solid #fff;
    font-family: 'Open Sans Condensed', sans-serif;
}
#main_menu li.first-level {
    width: 100%;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #d9d9d9;
    text-align: left;
}
#main_menu li.first-level > a {
    color: #3f3f3f;
    padding: 10px 0px 10px 20px;
    
    -webkit-transition: background-color 0.2s linear 0s;
    -moz-transition: background-color 0.2s linear 0s;
    transition: background-color 0.2s linear 0s;
}
#main_menu li.first-level.active > a {
    color: #fff;
    background-color: #373737;
    border-right: 4px solid #8EB447;
}
#main_menu li.first-level:hover > a {
    color: #3f3f3f;
    background-color: #fff;
    border-right: 4px solid #d3d3d3;
}
#main_menu li.first-level > a > h2 {
    margin: 0px;
    color: inherit;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
}
#main_menu li.first-level > a > .caret {
    display: none;
}

/* Submeniu */
#main_menu li.first-level > .dropdown-menu {
    border-radius: 0px;
    border: none;
    padding: 0px;
    left: 0px;
    background-color: #373737;
}
#main_menu li.second-level {
    border-bottom: 1px solid #ddddde;
    
    -webkit-transition: background-color 0.2s linear 0s;
    -moz-transition: background-color 0.2s linear 0s;
    transition: background-color 0.2s linear 0s;
}
#main_menu li.second-level:last-child {
    border-bottom: none;
}
#main_menu li.second-level > a {
    padding: 12px 20px 13px 20px;
    font-weight: 300;
    text-transform: uppercase;
    color: #494949;
    background: #fff;
    white-space: normal;
}
#main_menu li.second-level > a > h2 {
    margin: 0px;
    color: inherit;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
}
#main_menu li.second-level:hover,
#main_menu li.second-level.active {
    border-left: 4px solid #8EB447;
}
#main_menu li.second-level.active a,
#main_menu li.second-level.active a > h2,
#main_menu li.second-level a:hover,
#main_menu li.second-level a:hover > h2{
    color: #fff;
    background: #373737;
}

/* ========== Bottom Menu ========== */

/*#bottom_menu {
    position: relative;
    margin-left: 0px;
    margin-bottom: 5px;
    border-bottom: 1px solid #494949;
}
#bottom_menu li {
    cursor: pointer;
    padding: 0 20px 20px 20px;
}
#bottom_menu li a {
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
}
#bottom_menu li a:hover {
    text-decoration: none;
}*/

/* ======================================== */
/*                Content                   */
/* ======================================== */

#cnt {

}

#title > h3, 
.module_title, 
.articles_title,
.product_title,
.form_title {
    color: #666;
    font-size: 23px;
    font-weight: 300;
    text-transform: uppercase;
    font-family: 'Open Sans Condensed', sans-serif;
}

.module_title, 
.articles_title {
    border-left: 4px solid #8EB447;
    padding-left: 10px;
    line-height: 25px;
}

#title {    
    margin: 10px 0 25px 0;
    /*min-height: 49px;*/
    text-align: center;
    /*border-bottom: 2px solid #8EB447;*/
}
#title > h3 {
    margin: 0;
    padding: 0;
    /*float: left;*/
    /*min-height: 49px;*/
    /*font-size: 18px;*/
    /*text-transform: uppercase;*/
    /*font-weight: 300;*/
    /*border-bottom: 2px solid #8EB447;*/
    
    padding-top: 5px;
    line-height: 30px;
    font-weight: 300;
    color: #767676;
    font-size: 40px;
}
#title .separator {
    margin-top: 30px;
    margin-bottom: 0px;
}
.module_title {
    margin-bottom: 10px;
}
.module_text {
    color: #757575;
}
.module_text p {
    text-align: justify;
}
.module_text img {
    margin-right: 10px;
    margin-left: 10px;
}

.back_btn,
.more_btn {
    font-weight: 300;
}
.more_btn.right {
    float: right;
}
.fa_icon {
    color: #8EB447;
    font-size: 11px;
    margin-right: 3px;
}

/* ========== Block Grid ========== */

.thumbnail {
    position: relative;
    margin: 0;
    border-radius: 0px;
}
a.thumbnail:hover, 
a.thumbnail:focus, 
a.thumbnail.active {
    border-color: #8EB447;
}

.catalog.block-grid {
    margin-bottom: 10px !important;
}
.catalog.block-grid > li {
    padding: 5px 2px 0 2px !important;
}
.catalog.block-grid.three-up {
    margin: 0 -2px;
}

.main_picture .loop-icon > i {
    font-size: 30px;
    color: #333;
}
.main_picture .loop-icon > i:hover {
    font-size: 30px;
    color: #373737;
}

/* ========== Gallery ========== */

.gallery {
    margin-top: 10px;
}
.gallery .thumbnail {
    border: none;
    /*overflow: hidden;*/
    position: relative;
    border-radius: 0px;
    padding: 0px;
    padding-bottom: 10px;
}
.gallery .img-title {
    display: none;
}
.gallery .shadow img {
/*	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;*/
                
/*-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    7px 7px 5px 0px rgba(50, 50, 50, 0.75);
box-shadow:         7px 7px 5px 0px rgba(50, 50, 50, 0.75);*/
}


/*.thumbnail {
	text-align: center;
    margin: auto;
    width: 250px;
    height: 250px;
    overflow: hidden;
    position: relative;
}*/

.gallery .thumbnail img {
    display:block;
    opacity: 1;
}
.gallery .thumbnail img {
/*    transform:scale(1);
    -ms-transform:scale(1);
    -moz-transform:scale(1);
    -webkit-transform:scale(1);
    -o-transform:scale(1);*/
	-webkit-transition: all 1s ease;
  	-moz-transition: all 1s ease;
  	-o-transition: all 1s ease;
  	transition: all 1s ease;
}
.gallery .thumbnail .loop-icon {
/*    display: inline-block;
    height: 100%;
    vertical-align: middle;*/
}
/*.gallery .thumbnail:after {
    content: "";
    opacity: 0;
    width:100%; height:100%;
        transition: all 0.5s;
    -webkit-transition: all 0.5s;top:0; left:0;position:absolute; background:rgba(0,0,0,0.6);
}
.gallery .thumbnail:hover:after {
    opacity: 1;
}*/
.gallery .thumbnail:hover img {
    cursor: pointer;
/*    transform:scale(1.4);
    -ms-transform:scale(1.4);
    -moz-transform:scale(1.4);
    -webkit-transform:scale(1.4);
    -o-transform:scale(1.4);*/
    opacity: 100;
}

.loop-icon{
    text-align: center;
    position: absolute;    
    width: 100%;
    height: 100%;
    top: 0;
    -webkit-transition: all 0.3s ease;
  	-moz-transition: all 0.3s ease;
  	-o-transition: all 0.3s ease;
  	transition: all 0.3s ease;
}

.loop-icon:hover{
    /*background: rgba(0, 0, 0, 0.3);*/    
}
.loop-icon i{
    margin: 0 auto;
    left: 0;
    right: 0;
    color: #fff; 
    font-size: 25px;
    position: absolute;
	top: 50%;  
        opacity: 0;
     -webkit-transition: all 1s ease;
  	-moz-transition: all 1s ease;
  	-o-transition: all 1s ease;
  	transition: all 1s ease;
        
/*        border: 2px solid #fff;
        height: 34px;
width: 34px;
-moz-border-radius: 17px;
border-radius: 17px;*/
}

.loop-icon:hover i {    
    /*top: 50%;*/
    opacity: 1;
    margin-top: -10px;
}






/* ========== Articles ========== */

#articles_container {

}
#articles_container > .article {
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}
#articles_container > .article:last-child {
    border-bottom: none;
}
#articles_container .articles_title {
    
}
#articles_container .articles_title.lowercase {
    font-weight: 300;
    font-size: 20px;
}
#articles_container .articles_title.uppercase {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 23px;
}
#articles_container .articles_picture {
    float: left;
    padding-right: 10px;
    margin: 3px 10px 7px 0;    
}
#articles_container .articles_picture.bordered {
    border: 1px solid #ddd;
    max-width: 100%;
    padding: 5px;
    margin: 0px;
    
    transition: opacity 0.1s linear 0s;
    -moz-transition: opacity 0.1s linear 0s;
    -webkit-transition: opacity 0.1s linear 0s;
}
#articles_container .articles_picture.bordered:hover {
    opacity: 0.8;
}
#articles_container .articles_picture.rounded {
    border-radius: 50%;
    box-shadow: 0 0 0 5px #fff, 0 0 1px 5px #888, 0 0 0 12px #fff;
}
#articles_container .articles_summary {
    padding: 5px 0 10px 0;
    color: #757575;
}
#articles_container .articles_summary p {
    text-align: justify;
}

/* GRID */

#articles_container .block-grid .article {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
#articles_container .block-grid .article.bordered {
    border: 1px solid #ddd;
}
#articles_container .block-grid .articles_picture {
    margin: 0 auto 10px auto;
    float: none;
    max-width: 100%;
}
#articles_container .block-grid .articles_title {
    color: #373737;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
#articles_container .block-grid .articles_summary {
    padding-bottom: 15px;
}

/* ========== Cart sidebar ========== */

#cart_wrapper {
   
}
#cart_wrapper .cart_container {
    margin: 0 0 20px 0;
    /*border: 1px solid #8EB447;*/
    /*border-top: none;*/
}
#cart_wrapper .cart_content {
    padding-top: 10px;
    
    /*border-bottom: 1px solid #8EB447;*/
}
#cart_wrapper .cart_title {
    padding: 9px 0 10px 0;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: #767676;
    /*border-bottom: 2px solid #8EB447;*/
    /*background: #8EB447;*/
}
#cart_wrapper .row > div {
    padding-bottom: 10px;
}
#cart_wrapper .cart_products {
    display: none;
}
#cart_wrapper .cart_products .image {
    padding: 0px;
}
#cart_wrapper .cart_products .title,
#cart_wrapper .cart_products .quantity {
    padding-right: 0;
}
#cart_wrapper .cart_products .price {
    padding-left: 0;
    text-align: right;
}
#cart_wrapper .cart_totals {
    text-align: right;
}
#cart_wrapper .cart_totals b {
    color: #373737;
}
#cart_wrapper .cart_button {
    margin-top: 10px;
    text-align: center;
}

/* ========== Catalog ========== */

#catalog_container {
    
}
#catalog_container .product_title {
    margin-top: 0px;
}
#catalog_container .product_inputs {
    margin-top: 20px;
}
#catalog_container .product_inputs .control-label {
    float: left;
    margin-right: 20px;
}
#catalog_container .product_description {
    text-align: justify;
    color: #757575;
}
#catalog_container .product_price {
    color: #8EB447;
    font-size: 20px;
    font-weight: 300;
}
#catalog_container .cart_btn {

}

/* ========== Products ========== */

.views-icons {
    text-align: right;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.views-icons > a {
    padding: 5px;
    cursor: pointer;
}
.views-icons > a:hover,
.views-icons > a.active {
    color: #fff;
    background: #8EB447;
}

#products_container {
    
}
#products_container input {
    width: 50px;
}

/* GRID */
#products_container .grid .row > div {
    width: 100%;
    float: none;
}
#products_container .grid .product_image {
    margin: 5px 0;
}
#products_container .grid .product_image img {
    margin: 0 auto;
}
#products_container .grid .product_title {
    text-align: center;
}
#products_container .grid .product_info {
    margin-top: 5px;
    text-align: center;
}
#products_container .grid .product_price {
    font-weight: 700;
    font-size: 15px;
    color: #373737;
}
#products_container .grid .product_info .price_column {
    margin-bottom: 5px;
}
#products_container .grid .product_info .quantity_column {
    
}
#products_container .grid .product_info .cart_column {

}
#products_container .grid .show_for_list {
    display: none;
}

/* LIST */
#products_container .list li {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
#products_container .list li:last-child {
    border-bottom: none;
}
#products_container .list .product_image {

}
#products_container .list .product_image img {
    margin: 0 auto 10px auto;
}
#products_container .list .product_title {

}
#products_container .list .product_summary {
    text-align: justify;
    color: #757575;
}
#products_container .list .product_info {
    margin-top: 10px;
}
#products_container .list .product_info .control-label {
    float: left;
    margin-right: 10px;
}
#products_container .list .product_info .product_price {
    font-size: 16px;
    font-weight: 700;
    color: #8EB447;
}
#products_container .list .product_info .price_column {
    margin-top: 10px;
}
#products_container .list .product_info .quantity_column {
    margin-top: 5px;
}
#products_container .list .product_info .cart_column {
    margin-top: 8px;
    text-align: right;
}

/* ========== Contacts Form ========== */

#form_container {
    margin: 20px auto 0 auto;
    float: none;
}
#form_container textarea {
    resize: none;
}
#form_container .form_title {
    text-align: center;
    margin-bottom: 23px;
}
#form_container .form_required_title {
    margin-top: 5px;
    font-weight: 300;
    color: #999;
}
#form_container .form_submit_btn {

}

.form-control {
    border-color: #D7D7D9;
}
.form-control:focus {
    border-color: #8EB447;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(142, 180, 71, 0.6);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(142, 180, 71, 0.6);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(142, 180, 71, 0.6);
}
.form-horizontal .has-feedback .form-control-feedback {
    z-index: 2;
    right: 0;
}
label .required {
    color: #c9302c;
}
.alert-container {
    margin-bottom: 0px;
}
.alert {
    padding: 10px 15px;
}

/* ========== Recaptcha ========== */

#recaptcha_widget #recaptcha_image {
    cursor: pointer;
    text-decoration: none;
}

/* ========== Search ========== */

#search_results {
    
}
#search_results .result {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
#search_results .result .search_title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}
#search_results .result .search_summary {

}

/* ========== Pagination ========== */

.pagination > li > a {
    margin: 0 3px;
    background-color: #373737;
    border: none;
    font-size: 11px;
}
.pagination > li:first-child > a,
.pagination > li:last-child > a {
    border-radius: 0px;
}
.pagination > li > a,
.pagination > li > a:hover {
    color: #fff;
}
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > li > a:hover, 
.pagination > li > a:focus {
    background-color: #8EB447;
    /*border-color: #8EB447;*/
}

/* ======================================== */
/*                Footer                    */
/* ======================================== */

#footer {
    padding: 0 20px 5px 20px;
    /*color: #717171;*/
    /*border-top: 10px solid #494949;*/
    /*background-color: #373737;*/
}
#footer span,
#footer span a {
    color: #717171;
    font-size: 10px;
    line-height: 30px;
}
#copyright {
    text-align: center;
}

/* ======================================== */
/*                Icons                     */
/* ======================================== */

#icons {
    float: right;
    width: 60%;
    margin-top: 15px;
}
.icon {
    float: right;
    padding: 2px 6px;
    margin-left: 2px;
    background-color: #8EB447;
    border-radius: 0px;
    color: #fff;
/*    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border: 2px solid #8EB447;*/
}
.icon:hover, .icon:focus {
    background-color: #373737;
    color: #fff;
}
.home.icon {
    /*margin-left: 10px;*/
}
.home.icon i {
    font-size: 16px;
}
.sitemap.icon {
    /*font-size: 15px;*/
}
.contact.icon {
    /*font-size: 16px;*/
}
.search.icon {
    /*font-size: 14px;*/
}
.print.icon {
    /*font-size: 20px;*/
    /*margin-top: 11px;*/
}

/* ======================================== */
/*                Button                    */
/* ======================================== */

.btn-main {
    padding: 10px 11px;
    font-size: 11px; 
    line-height: 11px; 
    text-align: center;
    font-weight: 300;
    color: #fff;
    border: none;
    border-radius: 0px;
    background-color: #8EB447;
    text-transform: uppercase;
}
.btn-main a {
    color: #fff;
}
.btn-main b {
    font-weight: 300;
    color: #fff;
}
.btn-main:hover {
    background-color: #373737;
    color: #fff;
}
.btn-main:hover a,
.btn-main:hover b {
    color: #fff;
}

/* ======================================== */
/*              Media quaries               */
/* ======================================== */

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #logo.with_margin img {
        margin-left: 25px;
    }
    #header {
        height: 50px;
    }
    .container {
        /*width: 1010px !important;*/
    }
    #left_side {
        /*margin-right: 10px;*/
    }
    #right_side {
        /*margin-left: -10px;*/
        /*margin-left: -2px;*/
        /*padding-left: 25px;*/
        background: #fff;
        /*background: #fff url("../images/vertical-lines.png") repeat-y left top;*/
    }
    #container {
        background: url('../images/pattern1.png') repeat fixed;
    }
}

@media(min-width:768px){
/*    #magic-line,
    #magic-bottom-line {
        position: absolute; 
        bottom: -3px; 
        left: 0; 
        width: 100px; 
        height: 3px; 
        background: #8EB447; 
        padding: 0 !important;
        margin: 0 !important;
    }
    #magic-line:hover {
        background: #8EB447; 
    }*/
    #cart_wrapper .cart_container {
        margin: 0 10px 20px 10px;
    }
    #logo img {
        width: 100%;
        height: auto;
    }
    #main_menu.with_margin {
        /*margin-right: 25px;*/
    }
    #main_menu li.first-level {
        /*margin-right: 1px;*/
    }
    #main_menu li.first-level > a {
        /*padding: 28px 20px;*/
        /*margin-bottom: 1px;*/
    }
    #main_menu li.first-level > .dropdown-menu {
        width: 200px;
        margin-left: 110%;
        padding: 0px;
        text-align: left;
        right: 0px;
        opacity: 0;
        display: block;
        visibility: hidden;
        background-color: #fff;
        /*background-color: #373737;*/
        margin-top: 20px;
        /*margin-left: -1px;*/
        border-top: 1px solid #d9d9d9;
        
        /*margin-left: 400px;*/
        margin-top: 0px;
        
        box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.4);
        -webkit-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.4);
    }

    #main_menu li.first-level > .dropdown-menu,
    .pagination > li > a,
    .views-icons > a,
    .btn-main,
    .icon {
        transition: all 0.2s ease-in-out;  
        -moz-transition: all 0.2s ease-in-out;  
        -o-transition: all 0.2s ease-in-out;  
        -webkit-transition: all 0.2s ease-in-out; 
    }
    
    /* Bootstrap open dropdown background fix */
    .navbar-default .navbar-nav > .open > a, 
    .navbar-default .navbar-nav > .open > a:hover, 
    .navbar-default .navbar-nav > .open > a:focus {
        background: none;
    }
    /* Bootstrap nav tweak dropdown on hover */
    #main_menu li.first-level:hover > .dropdown-menu {
        visibility: visible;
        margin-top: -43px;
        /*margin-top: -43px;*/
        opacity: 1;
        margin-left: 100%;
        /*margin-left: 380px;*/
    }
    
    /* Triangle in dropdown */
/*    #main_menu .dropdown-menu li.second-level:first-child > a:after {
        content: '';
        position: absolute;
        left: 50%;
        top: -6px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #8EB447;
    }
    #main_menu .dropdown-menu li.second-level:first-child a:hover:after,
    #main_menu .dropdown-menu li.second-level.active a:after {
        border-bottom-color: #373737; 
    }*/
    
    #bottom_menu li:first-child {
        padding-left: 0px;
    }
} 

/* Small devices (tablets, 992px and down) */
@media(max-width: 992px){
    #container,
    #right_side {
        background: #fff;
        
        -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
        box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    }
    #left_side {
        background: url('../images/pattern1.png') repeat fixed;
    }
    #content {
        margin: 0 -15px;
        padding: 10px 20px 0 20px;
    }
    
    #logo {
        text-align: center;
    }
    #logo img {
        max-width: 370px;
    }
/*    #slider_wrapper {
        height: 385px;
    }*/
    
    #main_menu li.first-level > .dropdown-menu {
        width: 100%;
        margin-left: 0px;
        padding: 0px;
        text-align: left;
        right: 0px;
        opacity: 0;
        display: block;
        visibility: hidden;
        background-color: #fff;
        /*background-color: #373737;*/
        margin-top: 20px;
        /*margin-left: -1px;*/
        border-top: 1px solid #d9d9d9;
        
        /*margin-left: 400px;*/
        margin-top: 0px;
    }
    #main_menu li.first-level:hover > .dropdown-menu {
        visibility: visible;
        margin-top: 0;
        /*margin-top: -43px;*/
        opacity: 1;
        margin-left: 0px;
        /*margin-left: 380px;*/
    }
    
    #main_menu {
        padding: 0 25px;
    }
    #menu-toggle .navbar-nav {
        margin: 0px;
    }
    .navbar-default .navbar-header {
        text-align: center;
    }
    .navbar-default .navbar-toggle {
        float: none;
        border: none;
        color: #fff;
        background-color: #8EB447;
        font-size: 20px;
        padding: 5px 10px;
    }
    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        color: #8EB447;
        background-color: #F4F4F4;
    }
    .navbar-default .navbar-toggle .nav-heading {
        font-size: 18px;
    }
    
    /* Bootstrap open dropdown background fix */
    .navbar-default .navbar-nav > .open > a, 
    .navbar-default .navbar-nav > .open > a:hover, 
    .navbar-default .navbar-nav > .open > a:focus {
        background: #373737;
    }
    
    #catalog_container .cart_btn {
        margin-top: 20px;
    }
}

/* Extra small devices (mobiles, 767px and down) */ 
@media(max-width: 767px){    
    /* Bootstrap menu scroll fix */
    .navbar-collapse.in {
        overflow-y: visible;
    }
    #boxed_layout {
        background: none;
    }

    #sidebar {
        margin-top: 10px;
    }
    #logo img {
        max-width: 100%;
        height: auto;
    }
    
    #languages {
        /*margin-top: 15px;*/
        /*text-align: right;*/
    }
    #languages .lang {
        /*margin-right: 0px;*/
        /*margin-left: 16px;*/
    }
    
    #cart_wrapper .cart_title {
        padding: 20px 0;
    }
    
    #main_menu li.first-level.dropdown > .dropdown-menu {
        visibility: hidden;
        opacity: 0;
    }
    #main_menu li.first-level.dropdown.open > .dropdown-menu {
        visibility: visible;
        opacity: 1;
    }
    
    /* bootstrap meniu height fix */
    .navbar-collapse {
        max-height: 100% !important;
    }
    
    #main_menu {
        padding: 0;
        margin-bottom: 0px;
    }
    #main_menu li.first-level {
        background-color: #373737;
        border-bottom: 1px solid #ddddde;
    }
    #main_menu li.first-level > a {
        color: #fff;
        padding: 17px 26px;
    }
    #main_menu li.first-level:hover > a,
    #main_menu li.first-level.active > a {
        color: #fff;
        background-color: #8EB447;
    }
    #main_menu li.first-level > a > h2 {
        float: left;
    }
    #main_menu li.first-level > a > .caret {
        display: block;
        float: right !important;
        margin-top: 5px;
        color: #8EB447;
        border-width: 8px;
    }
    #main_menu li.first-level > a:hover > .caret,
    #main_menu li.first-level.active > a > .caret{
        color: #373737;
    }
    
    #main_menu li.second-level > a > h2 {
        padding-left: 20px;
    }
    
    .module_text img {
        margin: 0px;
        width: 100%;
        height: auto;
        clear: both;
    }
    
    #articles_container .articles_picture {
        width: 100%;
        height: auto;
    }
    
    #bottom_menu {
        text-align: center;
    }
    #bottom_menu li {
        padding: 0 10px 10px 10px;
    }
    #bottom_menu li:hover,
    #bottom_menu li.active {
        text-decoration: underline;
    }
}

/* Custom - mazo plocio tel */ 
@media(max-width:400px){
    #cnt {
        padding: 0 10px;
    }
    .search-form {
        /*width: 220px;*/
    }
    .search-form .search-input {
        width: 155px;
    }
/*    .search-form:hover,
    .search-form.focused {
        background: #fff;
        color: #6a6f75;
        width: 150px;
    }
    .search-form:hover .search-input,
    .search-form.focused .search-input {
        width: 100px;
    }*/

    #catalog_container .product_image img {
        max-width: 100px;
    }
    
    #title {
        margin-bottom: 10px;
    }
    #title > h3 {
        font-size: 20px;
    }
    
    #content {
        padding: 5px;
    }
}

@media(min-width:1200px){
    .container {
        width: 1172px;
    }
}
@media (min-width: 992px) and (max-width:1199px) {
    .container {
        width: 972px;
    }
}
@media(min-width:1900px) {
    #slider_container > div{
        transform: scale(1) !important;
    }
}