/* ======================================== */
/*                Reset                     */
/* ======================================== */

/*
    Main color: #6DB8F2;
    Secondary color: #f4f4f4;
    Titles color: #777;
    Main Font: Helvetica;
    Secondary Font: 'Open Sans', sans-serif;
*/

::selection {
    background-color: #6DB8F2;
    color: #fff;
}
::-moz-selection {
    background-color: #6DB8F2;
    color: #fff;
}

body {
    overflow-x: hidden;
}
html, body {
    font-weight: 400;
}
a, a:hover, a:focus {
    color: #6DB8F2;
}
b, th {
    color: #777;
}
p {
    margin: 0;
    padding: 0;
}
table, table tr td {
    border-color: #777;
}

.main_color {
    color: #6DB8F2;
}
.secondary_color {
    color: #f4f4f4;
}
.pointer {
    cursor: pointer;
}

/* ======================================== */
/*                Layout                     */
/* ======================================== */

#boxed_layout {
    background: url('../images/pattern.html') repeat;
}
#boxed_container {
    background: #fff;
    -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 {
    padding-bottom: 40px;
}
#boxed_layout #wrapper {
    padding-bottom: 0px;
}
#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 */
    
    /*background: url('../../../../images/patterns/144.png') repeat;*/
    background: url('../images/pattern.html') repeat;
}
#main {
    margin-top: 30px;
}
#wrapper.wrapper-bg > #main {
    padding-top: 30px;
    margin-top: 0px;
}
#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 25px;
    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;
}
#content.no_side_paddings {
    padding: 20px 0;
}

/* ======================================== */
/*                Header                    */
/* ======================================== */

#header_wrapper {
    background: #fff;
    
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#header {
    border-top: 5px solid #6DB8F2;
    background-color: #f4f4f4;
}
#left_upper_corner.with_margin {
    padding-left: 25px;
}
#right_upper_corner {
    margin: 10px 0;
}
#right_upper_corner.width_margin {
    padding-right: 25px;
}

/* ========== Logo ========== */

#logo {
    margin: 15px 0 0 0;
    text-align: center;
}
#logo img {
    max-width: 370px;
    height: 76px;
}

/* ========== Languages ========== */

#languages {
    margin-top: 13px;
}
#languages .lang {
    font-size: 15px;
    font-weight: 300;
    line-height: 21px;
    color: #777;
    margin: 0 5px 0 0;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
}
#languages .lang.current {
    font-weight: 400;
    text-decoration: underline;
}

/* ========== Search ========== */

#search {
    float: right;
}
.search-form .search-icon {
     position: absolute; 
     top: 4px; 
     left: 10px;
     color: #6DB8F2;
     font-size: 15px;
     cursor: pointer;
}
.search-form .search-input {
    width: 0;
    border: 0 none;
    background: none;
}
.search-form {
    position: relative;
    background: #f4f4f4;
    color: #d7d7d7;
    width: 50px;
    padding: 1px 15px 1px 35px;
    
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 2px solid #6DB8F2;
    
    -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: #fff;
    color: #6a6f75;
    width: 200px;
}
.search-form:hover .search-input,
.search-form.focused .search-input {
    width: 150px;
}

/* ======================================== */
/*                Sidebar                   */
/* ======================================== */

#sidebar {
    margin-top: 0px;
}

/* ========== Banners ========== */

#banners_wrapper {

}
#banners_wrapper .banner {
    /*margin-bottom: 10px;*/
    text-align: center;
}
#banners_wrapper .banner img {
    max-width: 100%;
    height: auto;
}

/* ======================================== */
/*                Slider                    */
/* ======================================== */

#slider_wrapper {
    
}
#slider {
    background: #fff;
    text-align: center;
}
#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 {
    border-bottom: 2px solid #f4f4f4;
    margin: 15px 0;
}
#main_menu #menu-toggle {
    padding: 0;
}
#main_menu .navbar {
    border-radius: 0px;
    margin-bottom: 0px;
    border: none;   
    background: #fff;
    min-height: 40px;
}
#main_menu li.first-level > a {
    font-weight: 300;
    color: #999;
    text-transform: uppercase;
    padding: 10px 20px;
}
#main_menu li.first-level:hover > a,
#main_menu li.first-level.active > a {
    color: #777;
    background-color: #fff;
}
#main_menu li.first-level > a > h2 {
    font-weight: 300;
    font-size: 16px;
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
}
#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: #f4f4f4;
}
#main_menu li.second-level {
    border-bottom: 1px solid #ddddde;
}
#main_menu li.second-level:last-child {
    border-bottom: none;
}
#main_menu li.second-level > a {
    padding: 10px 20px;
    font-weight: 300;
    text-transform: uppercase;
    color: #6DB8F2;
}
#main_menu li.second-level > a > h2 {
    font-weight: 300;
    font-size: 14px;
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
}
#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: #6DB8F2;
}

/* ========== Bottom Menu ========== */

#bottom_menu {
    position: relative;
    margin-left: 0px;
    margin-bottom: 40px;
    border-bottom: 1px solid #3a3a3a;
}
#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 {    
    margin: 0 0 20px 0;
    min-height: 49px;
    border-bottom: 2px solid #f4f4f4;
}
#title > h3 {
    float: left;
    margin: 0;
    padding: 16px 0px 11px 0px;
    min-height: 49px;
    font-size: 18px;
    text-transform: uppercase;
    color: #777;
    font-weight: 300;
    border-bottom: 2px solid #6DB8F2;
}
.module_title {
    color: #6DB8F2;
    font-size: 16px !important;
    font-weight: 300;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 10px;
}
.module_text {
    
}
.module_text p {
    text-align: justify;
}
.module_text img {
    margin-right: 10px;
}

.back_btn,
.more_btn {
    font-weight: 300;
}
.more_btn.right {
    float: right;
}
.fa_icon {
    color: #6DB8F2;
    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: #6DB8F2;
}

.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: #777;
}

/* ========== 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-row .article {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f4f4f4;
}
#articles_container .row:last-child .article {
    border-bottom: none;
}
#articles_container .articles_title {
    color: #6DB8F2;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
}
#articles_container .articles_picture {
    float: left;
    padding-right: 10px;
    margin: 3px 10px 7px 0;    
}
#articles_container .articles_summary {
    padding-top: 5px;
}
#articles_container .articles_summary p {
    text-align: justify;
}

/* ========== Cart sidebar ========== */

#cart_wrapper {

}
#cart_wrapper .cart_container {
    margin-bottom: 20px;
    /*border: 1px solid #6DB8F2;*/
    /*border-top: none;*/
}
#cart_wrapper .cart_content {
    padding-top: 10px;
    /*border-bottom: 1px solid #6DB8F2;*/
}
#cart_wrapper .cart_title {
    padding: 13px 0 10px 0;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: #777;
    border-bottom: 2px solid #6DB8F2;
    /*background: #6DB8F2;*/
}
#cart_wrapper .row > div {
    padding-bottom: 10px;
}
#cart_wrapper .cart_products {
    display: none;
}
#cart_wrapper .cart_products .image,
#cart_wrapper .cart_products .title {
    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: #777;
}
#cart_wrapper .cart_button {
    margin-top: 10px;
    text-align: center;
}

/* ========== Catalog ========== */

#catalog_container {
    
}
#catalog_container .product_title {
    margin-top: 0px;
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
}
#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;
}
#catalog_container .product_price {
    color: #6DB8F2;
    font-size: 20px;
}
#catalog_container .cart_btn {

}

/* ========== Products ========== */

.views-icons {
    text-align: right;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f4f4f4;
}
.views-icons > a {
    padding: 5px;
    cursor: pointer;
}
.views-icons > a:hover,
.views-icons > a.active {
    color: #fff;
    background: #6DB8F2;
}

#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 {
    color: #6DB8F2;
    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: #777;
}
#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 #f4f4f4;
    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 {
    color: #6DB8F2;
}
#products_container .list .product_summary {
    text-align: justify;
}
#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: 15px;
    font-weight: 700;
    color: #6DB8F2;
}
#products_container .list .product_info .price_column {
    margin-top: 2px;
}
#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;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 23px;
    color: #6DB8F2;
}
#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: #6DB8F2;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(177,110,234,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 #f4f4f4;
}
#search_results .result .search_title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}
#search_results .result .search_summary {

}

/* ========== Pagination ========== */

.pagination > li > a,
.pagination > li > a:hover {
    color: #6DB8F2;
}
.pagination > .active > a,
.pagination > .active > a:hover {
    background-color: #6DB8F2;
    border-color: #6DB8F2;
}

/* ======================================== */
/*                Footer                    */
/* ======================================== */

#footer {
    padding: 3% 20px 2% 20px;
    color: #fff;
    border-top: 10px solid #3a3a3a;
    /*background-color: #575757;*/
    /*background: url('../../../../images/patterns/585.png') repeat;*/
    background: url('../images/pattern.jpg') repeat;
}
#footer span,
#footer span a {
    color: #fff;
}

/* ======================================== */
/*                Icons                     */
/* ======================================== */

.icon {
    float: right;
    padding: 2px 6px;
    margin-left: 10px;
    
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border: 2px solid #6DB8F2;
}
.icon:hover, .icon:focus {
    background-color: #6DB8F2;
    color: #fff;
}
.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: 4px 12px;
    font-size: 15px; 
    text-align: center;
    font-weight: 300;
    color: #fff;
    border: none;
    /*border-radius: 0px;*/
    background-color: #6DB8F2;
}
.btn-main a {
    color: #fff;
}
.btn-main b {
    font-weight: 300;
    color: #fff;
}
.btn-main:hover {
    background-color: #f4f4f4;
    color: #6DB8F2;
}
.btn-main:hover a,
.btn-main:hover b {
    color: #6DB8F2;
}

/* ======================================== */
/*              Media quaries               */
/* ======================================== */

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #logo.with_margin img {
        margin-left: 25px;
    }
    #header {
        height: 53px;
    }
    .container {
        /*width: 1010px !important;*/
    }
}

@media(min-width:768px){
    #magic-line,
    #magic-bottom-line {
        position: absolute; 
        bottom: -2px; 
        left: 0; 
        width: 100px; 
        height: 2px; 
        background: #6DB8F2; 
        padding: 0 !important;
        margin: 0 !important;
    }
    #magic-line:hover {
        background: #6DB8F2; 
    }
    
    #main_menu.with_margin {
        margin-right: 25px;
    }
    #main_menu li.first-level > a {
        padding: 28px 20px;
    }
    #main_menu li.first-level > .dropdown-menu {
        padding: 0px;
        left: 1px;
        opacity: 0;
        display: block;
        visibility: hidden;
        background-color: #f4f4f4;
        margin-top: 20px;
        margin-left: -1px;
    }

    #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 nav tweak dropdown on hover */
    #main_menu li.first-level:hover > .dropdown-menu {
        visibility: visible;
        margin-top: 2px;
        opacity: 1;
    }
    /* 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: #fff;
    }
    
    /* Triangle in dropdown */
/*    #main_menu .dropdown-menu li.second-level:first-child > a:after {
        content: '';
        position: absolute;
        left: 40px;
        top: -6px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #f4f4f4;
    }
    #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: #6DB8F2; 
    }*/
    
    #bottom_menu li:first-child {
        padding-left: 0px;
    }
} 

/* Small devices (tablets, 992px and down) */
@media(max-width: 992px){
    #logo {
        text-align: center;
    }
    #logo img {
        max-width: 520px;
    }
/*    #slider_wrapper {
        height: 385px;
    }*/
    
    #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: #6DB8F2;
        font-size: 20px;
        padding: 5px 10px;
    }
    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        color: #6DB8F2;
        background-color: #F4F4F4;
    }
    .navbar-default .navbar-toggle .nav-heading {
        font-size: 18px;
    }
    
    #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;
    }
    .navbar-collapse {
        max-height: none;
    }
    
    #boxed_layout {
        background: none;
    }
    
    #sidebar {
        margin-top: 10px;
    }
    #logo img {
        max-width: 100%;
        height: auto;
    }
    
    #languages {
        margin-top: 10px;
        text-align: right;
    }
    #languages .lang {
        margin-right: 0px;
        margin-left: 16px;
    }
    
    #main_menu {
        padding: 0;
    }
    #main_menu li.first-level {
        background-color: #f4f4f4;
        border-bottom: 1px solid #ddddde;
    }
    #main_menu li.first-level > a {
        color: #6DB8F2;
        padding: 17px 26px;
    }
    #main_menu li.first-level:hover > a,
    #main_menu li.first-level.active > a {
        color: #f4f4f4;
        background-color: #6DB8F2;
    }
    #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: #6DB8F2;
        border-width: 8px;
    }
    #main_menu li.first-level > a:hover > .caret,
    #main_menu li.first-level.active > a > .caret{
        color: #f4f4f4;
    }
    
    #main_menu li.second-level > a > h2 {
        padding-left: 20px;
    }
    
    .module_text img {
        width: 100%;
        height: auto;
    }
    
    #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){
    .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;
    }
}

@media(min-width:1200px){}
@media(min-width:1900px) {
    #slider_container > div{
        transform: scale(1) !important;
    }
}