@import url(http://fonts.googleapis.com/css?family=Alegreya+Sans:400,100,300,400italic,500,700,800,900&subset=latin,latin-ext);

@colorRed: #ed1c24;
@colorBord: #9e1e24;
@colorGrey: #808080;
@colorLightGrey: #dedede;

@pageWidth: 1150px;

.centerPage {
    width: @pageWidth;
    margin: 0 auto;
}

.boxModel {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: @colorGrey;
    
    &:hover {
        color: @colorBord;
    }
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

h2 {
    color: @colorGrey;
    font-weight: 400;
    font-size: 25px;
}

h4 {
    color: @colorGrey;
    font-weight: 300;
    font-size: 17px;
}

// column seting ---------------------------------------------------------------


.columnMain {
    width: @pageWidth;
    overflow: hidden;
    
    .column {
        float: left;
        margin-right: 50px;
        .boxModel;
        
        &.sidebar {
            width: 200px;
        }
        
        &.doubleSidebar {
            width: 400px;
        }
        
        &.app {
            width: 900px;
        }
        
        &.lightApp {
            width: 700px;
        }
        
        &:last-child {
            margin-right: 0;
        }
    }
}

body {
    border-top: 14px solid @colorRed;
    border-bottom: 14px solid @colorRed;
    margin: 0;
    padding: 0; 
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 18px;
    font-weight: 300;
}

header.topHeader {
    .boxModel;
    .centerPage;
        
            
    height: 120px;
    padding-top: 30px;
    
    div {
        float: left;
        
        &.logotyp {
            margin-right: 203px;
        }
        
        &.basket {
            margin-right: 20px;
        }
        
        &.openHours {
            margin-right: 10px;
            padding-top: 10px;
            .boxModel;
            
            span {
                font-weight: 400;
                font-size: 19px;
                color: @colorGrey;
                float: left;
                display: block;
                text-align: right;
                
                &.redStyle {
                    font-weight: 600;
                    color: @colorBord;
                    margin-left: 12px;
                    margin-right: 30px; 
                    text-align: left;
                }
            }
        }
        
    }
}

section.banner {
    .centerPage;
    margin-top: 10px;
}

section.mainContent {
    .centerPage;
    
    div.topNav {
        border-bottom: 1px solid @colorLightGrey;
        margin-bottom: 60px;
    
        nav.topNav {
            margin: 0 auto;
            .boxModel;

            display: table;

            a {
                display: inline-block;
                padding: 30px 0;
                margin: 0 20px;
                font-size: 23px;
                margin-bottom:1px;
                font-weight: 300;

                &:hover, &.active {
                    color: @colorBord;
                    border-bottom: 2px solid @colorBord;
                    margin-bottom: -1px;
                }
            }
        }
    }
    
}

section.banners {
    width: 100%;
    background-color: #f7f7f7;
    border-top: 1px solid @colorLightGrey;
    border-bottom: 1px solid @colorLightGrey;
    padding: 20px 0;
    margin-bottom: 30px;
}

footer.siteFooter {
    .centerPage;
    overflow: hidden;
    font-weight: 300;
    font-size:15px;
    color: @colorGrey;
    margin-bottom: 30px;
    
    div.coppy {
        float: left;
    }
    
    div.creatorInfo {
        float: right;
        text-align: right;
        
        a {
            font-weight: 500;
        }
    }
}


// app -------------------------------------------------------------------------

section#app {
    overflow: hidden;
    width: 100%;
    margin-bottom: 60px;
    
    &.appContact {
        div.info {
            float: left;
            width: 400px;
            margin-right: 50px;
        }
        
        div.maps {
            float: left;
            width: 700px;
            height: 400px;
            
            #map-canvas {
                height: 100%;
                margin: 0px;
                padding: 0px
            }
        }
    }
    
    &.appStaticPage {
        
    }
    
    &.appShop {
        
        div.header {
            color: @colorLightGrey;
            margin-bottom: 40px;
            
            h2 {
                font-weight: 300;
            }
            span {
                padding: 0 8px;
                font-weight: 100;
            }
            
            a:last-child {
                color: @colorBord;
            }
        }
        div.row {
            overflow: hidden;
            width: 100%;
            margin-bottom: 30px;

            div.item {
                width: 198px;
                margin-right: 36px;
                float: left;
                .boxModel;

                figure {
                    width: 100%;
                    display: block;
                    margin: 0;

                    img {
                        margin: 0 auto;
                        display: block;
                        max-width: 198px;
                        max-height: 140px;
                    }
                }

                h4 {
                    margin-top: 15px;
                    text-align: center;
                    font-size: 20px;
                }

                &:last-child {
                    margin-right: 0;
                }

                &:hover {
                    h4 {
                        color: @colorBord;
                    }

                }
            }
        }
    }
    
    

}

// moduły


div.mod-promotedrotator {
    margin-bottom: 40px;
    
    div.header {
        height:40px;
        margin-bottom: 20px;
            
        h2 {
            float: left;
            margin: 0;
            display: block;
        }

        div.arrows {
            float: right;
            font-size: 48px;
            line-height: 20px;
            font-weight: 300;
            color: @colorGrey;
            
            span {
                margin-right: 10px;
                cursor: pointer;
                
                &:hover {
                    color: @colorBord;
                }
            }
        }
    }
    
    div.row {
        overflow: hidden;
        width: 100%;
        
        div.item {
            width: 202px;
            margin-right: 35px;
            float: left;
            .boxModel;
            
            figure {
                width: 100%;
                display: block;
                margin: 0;
                
                img {
                    margin: 0 auto;
                    display: block;
                    max-width: 202px;
                    max-height: 140px;
                }
            }
            
            h4 {
                margin-top: 15px;
                text-align: center;
                font-size: 24px;
            }
            
            &:last-child {
                margin-right: 0;
            }
            
            &:hover {
                h4 {
                    color: @colorBord;
                }
                
            }
        }
    }
       
}


div.mod-logosrotator {
    .centerPage;
    
    #scroller, #flexiselDemo2, #flexiselDemo3 {
        display:none;
    }

    .nbs-flexisel-container {
        position:relative;
        max-width:100%;
        overflow: hidden;

    }
    .nbs-flexisel-ul {
        position:relative;
        width:9999px;
        margin:0px;
        padding:0px;
        list-style-type:none;
        text-align:center;
    }

    .nbs-flexisel-inner {
        overflow:hidden;
        float:left;
        width:100%;

    }

    .nbs-flexisel-item {
        float:left;
        margin:0px;
        padding:0px;
        cursor:pointer;
        position:relative;
        line-height:0px;
    }
    .nbs-flexisel-item img {
        width: 100%;
        cursor: pointer;
        position: relative;
        margin-top: 10px;
        margin-bottom: 10px;
        width: auto;
        max-height:50px;
    }
}

div.mod-shopCategoryList {
    a.layer-1 {
        font-size: 23px;
        display: block;
        border-bottom: 1px solid @colorLightGrey;
        padding-bottom: 10px;
        margin-bottom: 12px;
        font-weight: 500;
        
        &:hover {
            border-bottom: 1px solid @colorBord;
        }
    }
    
    a.layer-2 {
        font-size: 18px;
        display: block;
        
        &:first-child {
            margin-top: 10px;
        }
        
        &:last-child {
            margin-bottom: 35px;
        }
    }
}
