/* ======================================== */
/*                Reset                     */
/* ======================================== */

/* 
    Main color: #0d6859;
    Secondary (hover) color: #01806b;
*/

html, body {
    font-weight: 400;
}
a, a:hover, a:focus, b {
    color: #0d6859;
}
p {
    margin: 0;
    padding: 0;
}
table, table tr td {
    border-color: #34665D;
}

/* ======================================== */
/*                Header                    */
/* ======================================== */

#header,
#slider_wrapper .top,
#footer, 
#title {
    background-image: url('nuotraukos/pattern.png');
}

#right_upper_corner {
    margin-top: 11px;
    margin-bottom: 5px;
}
#right_upper_corner .centered {
    margin-top: 13px;
}

/* Logo */
#logo {
    margin: 15px 0;
}
#logo img {
    max-width: 520px;
    height: 83px;
}

/* Languages */
#languages {
    margin-bottom: 7px;
}
#languages .lang {
    font-size: 20px;
    font-weight: 300;
    line-height: 21px;
    color: #fff;
    margin-left: 7px;
    text-transform: uppercase;
}
#languages .lang.current {
    text-decoration: underline;
}

/* Search */
.search-form {
    margin-bottom: 17px;
}
.search-input {
    border: none;
    width: 80%;
    max-width: 190px;
    height: 28px;
    padding: 2px 5px;
    
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(237,237,237,1) 58%, rgba(237,237,237,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(58%,rgba(237,237,237,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 58%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 58%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 58%,rgba(237,237,237,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 58%,rgba(237,237,237,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
}

/* Banners */
#banners_container {
    /*clear: both;*/
    margin-bottom: 30px;
    margin-top: -20px;
}
#banners_container > .banner > img {
    max-width: 100%;
    height: auto;
}

/* ======================================== */
/*                Slider                    */
/* ======================================== */

#slider_wrapper {
    position: relative;
    height: 495px;
}
#slider_wrapper .top {
    height: 73%;
    background-color: #0d6859;
}
#slider_wrapper .bottom {
    height: 17%;
    background-color: #fff;
}
#slider_wrapper #slider_container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
}
#slider_wrapper #slider_container #slider {
    -webkit-box-shadow: 0px 40px 20px -14px rgba(136,136,136,1);
    -moz-box-shadow: 0px 40px 20px -14px rgba(136,136,136,1);
    box-shadow: 0px 40px 20px -14px rgba(136,136,136,1);
}
#slider_wrapper #slider_container #slider,
#slider_wrapper #slider_container #slider img {
    max-width: 100% !important;
    height: auto !important;
}

/* ======================================== */
/*                 Menu                     */
/* ======================================== */

#main_menu #menu-toggle {
    padding: 0;
}
#main_menu .navbar {
    border-radius: 0px;
    
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(237,237,237,1) 58%, rgba(237,237,237,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(58%,rgba(237,237,237,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 58%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 58%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 58%,rgba(237,237,237,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 58%,rgba(237,237,237,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
}
#main_menu li.first-level:last-child,
#main_menu li.first-level.no-image {
    background-image: none;
}
#main_menu li.first-level > a {
    font-weight: 700;
    color: #808080;
    text-transform: uppercase;
    padding: 17px 26px;
}
#main_menu li.first-level:hover > a {
    background-color: #E7E7E7;
}
#main_menu li.first-level > a > h2 {
    font-size: 16px;
    margin: 0px;
}
#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: -1px;
    
    background: rgb(218,218,220); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(218,218,220,1) 0%, rgba(232,232,232,1) 50%, rgba(250,250,250,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(218,218,220,1)), color-stop(50%,rgba(232,232,232,1)), color-stop(100%,rgba(250,250,250,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(218,218,220,1) 0%,rgba(232,232,232,1) 50%,rgba(250,250,250,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(218,218,220,1) 0%,rgba(232,232,232,1) 50%,rgba(250,250,250,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(218,218,220,1) 0%,rgba(232,232,232,1) 50%,rgba(250,250,250,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(218,218,220,1) 0%,rgba(232,232,232,1) 50%,rgba(250,250,250,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dadadc', endColorstr='#fafafa',GradientType=0 ); /* IE6-9 */
}
#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: 700;
    text-transform: uppercase;
    color: #808080;
}
#main_menu li.second-level > a > h2 {
    font-size: 14px;
    margin: 0px;
}
#main_menu li.second-level.active a,
#main_menu li.second-level.active a > h2 {
    color: #fff;
    background: #808080;
}

/* Bottom Menu */
#bottom_menu {
    margin-bottom: 40px;
}
#bottom_menu li {
    padding: 0 10px;
}
#bottom_menu li a {
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
}
#bottom_menu li.active a {
    text-decoration: underline;
}

/* ======================================== */
/*                Content                   */
/* ======================================== */

#cnt {
    margin-bottom: 40px;
}

#title {
    margin: -1px 0 25px 0;
    padding: 17px 30px 13px 30px;
    min-height: 50px;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    background-color: #0d6859;
    font-weight: 300;
}

.module_title {

}
.module_title b {
    font-size: 16px !important;
    font-weight: 300;
    text-transform: uppercase;
}
.module_text {
    
}
.module_text p {
    
}
.module_text img {
    margin-right: 10px;
}

.back_btn,
.more_btn {
    font-weight: 700;
}

/* ========== Gallery ========== */

.gallery_table {

}
.gallery_table table {
    margin-bottom: -15px;
}
.gallery_table table .gallery_image {
    padding: 7px 0 !important;
}

/* ========== Articles ========== */

#articles_container {

}
#articles_container .articles_title {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
}
#articles_container .articles_picture {
    padding-right: 10px;
}
#articles_container .articles_summary {

}
#articles_container .articles_summary p {

}

/* ========== Cart ========== */

#cart_wrapper {
    clear: both;
    padding-bottom: 0px !important;
}
#cart_wrapper .cart_container {
    width: 260px !important;
    margin-bottom: 20px;
    border: 1px solid #0d6859;
    border-top: none;
}
#cart_wrapper .cart_container .cart_content {
    padding-left: 30px;
    padding-bottom: 30px;
    margin-top: -10px;
    border-bottom: 1px solid #0d6859;
}
#cart_wrapper .cart_container .cart_title {
    display: block;
    padding: 15px 30px 11px 30px;
    font-size: 17px;
    font-weight: 400;
    text-align: left !important;
    text-transform: uppercase;
    color: #fff;
    background: #0d6859;
}
#cart_wrapper .cart_container .cart_btn {
    margin: 15px 74px 15px 74px;
}
#cart_wrapper .cart_container .cart_btn a {
    color: #fff;
}
#cart_wrapper .cart_container .cart_btn a:hover {
    text-decoration: none;
}

/* ========== Catalog ========== */

#catalog_container {
    
}
#catalog_container .product_row {
    
}
#catalog_container .product_row .product_image {
    
}
#catalog_container .product_row #img {
    
}
#catalog_container .product_row .product_images {
    
}
#catalog_container .product_row .product_title b {
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
}
#catalog_container .product_row .product_inputs {
    
}
#catalog_container .product_row .product_summary {
    
}
#catalog_container .product_row .product_description {
    
}
#catalog_container .product_row .cart_btn {

}
#catalog_container .product_row .cart_btn b {
    font-weight: 300;
    color: #fff;
}
#catalog_container .empty_row > td {
    padding-top: 10px;
}

/* ========== Contacts Form ========== */

#form_container {
    /*float: left;*/
    margin-top: -30px;
    margin-bottom: -30px;
}
#form_container input,
#form_container textarea {
    border-color: #666666 !important;
}
#form_container textarea {
    resize: none;
}
#form_container .form_title {
    font-size: 24px;
    font-weight: 300;
}
#form_container .form_label {

}
#form_container .form_required_title {
    padding-top: 22px;
}
#form_container .form_submit_btn {
    margin-top: 20px;
}
#form_container .form_submit_btn span {
    font-weight: 400;
    text-decoration: none !important;
}

/* ========== Search ========== */

#search_results {
    
}
#search_results .result {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
#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: #0d6859;
}
.pagination > .active > a,
.pagination > .active > a:hover {
    background-color: #0d6859;
    border-color: #0d6859;
}

/* ======================================== */
/*                Footer                    */
/* ======================================== */

#footer {
    padding: 3% 0 2% 0;
    color: #fff;
    background-color: #0d6859;
}
#footer span,
#footer span a {
    color: #fff;
}

/* ======================================== */
/*                Icons                     */
/* ======================================== */
.icons > a,
.search-icon, 
.print-icon {
    color: #fff;
}
.icons > a:hover,
.search-icon:hover,
.print-icon:hover {
    color: #ccc;
}
.home-icon {
    display: block;
    float: right;
    height: 15px;
    margin: 0px 0 7px 0;
    font-size: 17px;
}
.sitemap-icon {
    display: block;
    float: right;
    height: 17px;
    margin: 2px 0 7px 24px;
    font-size: 15px;
}
.contact-icon {
    display: block;
    float: right;
    height: 15px;
    margin: 1px 10px 7px 23px;
    font-size: 16px;
}
.search-icon {
    display: block;
    float: right;
    cursor: pointer;
    margin: 0px 0px 0px 5px;
    font-size: 25px;
}
.print-icon {
    display: block;
    float: right;
    margin-top: -4px;
    font-size: 24px;
}

/* ======================================== */
/*                Button                    */
/* ======================================== */

.btn-main {
    padding: 4px 20px;
    font-size: 18px; 
    text-align: center;
    font-weight: 300;
    color: #fff;
    border: none;
    border-radius: 0px;
    background-color: #0d6859;
    height: auto !important;
    width: auto !important;
}
.btn-main:hover {
    background-color: #01806b;
    color: #fff;
}

/* ======================================== */
/*              Media quaries               */
/* ======================================== */

/* Chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
    .contact-icon {
        margin-top: 0px;
        /*font-size: 14px;*/
    }
}

/* Firefox */
@-moz-document url-prefix() { 
    .print-icon:focus {
        color: #ccc;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #header {
        /*height: 191px;*/
    }
    .container {
        width: 1010px;
        width: 980px !important;
    }

    /* Bootstrap nav tweak dropdown on hover */
    #main_menu ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;    
    }
    
    #banners_container {
        padding-left: 40px;
    }
    #cart_wrapper {
        padding-left: 20px;
    }
    
    #cart_wrapper .cart_container {
        float: left !important;
        margin-left: 18px !important;
    }
}

@media(min-width:768px){
    #main_menu li.first-level {
        background-image: url('nuotraukos/menu-border.png');
        background-position: right center;
        background-repeat: no-repeat;
    }
} 

/* Small devices (tablets, 992px and down) */
@media(max-width: 992px){
    #cart_wrapper .cart_container {
        width: 220px !important;
    }
    #cart_wrapper .cart_container .cart_btn {
        margin-left: 55px;
        margin-right: 55px;
    }
    #main_menu li.first-level > a > h2 {
        float: left;
    }
    #main_menu li.first-level > a > .caret {
        display: block;
        float: right !important;
        margin-top: 5px;
    }
    #slider_wrapper {
        height: 385px;
    }
        
    #menu-toggle .navbar-nav {
        margin: 0px;
    }
    .navbar-default .navbar-header {
        text-align: center;
    }
    .navbar-default .navbar-toggle {
        /*border-radius: 0px;*/
        float: none;
        border: none;
        color: #0d6859;
        /*background-color: #01806b;*/
        font-size: 20px;
        padding: 5px 10px;
    }
    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        color: #fff;
        background-color: #01806b;
    }
    .navbar-default .navbar-toggle .nav-heading {
        font-size: 18px;
    }
}

/* Extra small devices (mobiles, 767px and down) */ 
@media(max-width: 767px){
    #cnt {
        margin: 0px;
    }
    #sidebar {
        margin-top: 10px;
    }
    
    #right_upper_corner {
        margin-top: 10px;
        margin-bottom: 5px;
    }
    
    #logo {
        text-align: center;
    }
    #logo img {
        max-width: 100%;
        height: auto;
    }
    
    #languages {
        text-align: left;
    }
    #languages .lang {
        margin-left: 0px;
        margin-right: 7px;
    }
    
    #right_upper_corner .centered {
        margin-top: 0px;
    }
    #main_menu li.first-level {
        border-bottom: 1px solid #E7E7E7;
    }
    .module_text img {
        width: 100%;
        height: auto;
    }
    
    #cart_wrapper .cart_container {
        width: 260px !important;
    }
    #cart_wrapper .cart_container .cart_btn {
        margin-left: 74px;
        margin-right: 74px;
    }
    
}

/* Custom - mazo plocio tel */ 
@media(max-width:400px){
    #catalog_container .product_row .product_image img {
        max-width: 100px;
    }
    #catalog_container .product_row .product_inputs {
        width: 100% !important;
        float: none !important; 
        text-align: center !important;
    }
    #catalog_container .product_row .product_btn {
        margin-top: 10px;
        text-align: center !important;
        width: 100% !important;
    }
}