@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

@font-face {
    font-family: "Titillium Web";
    src: url('/fonts/TitilliumWeb-Regular.ttf');
}

html, body {
    position: relative;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
    /*background-color: #373C40;*/
    background-color: #26292b;
    color: white;
}

#header {
    width: 100%;
    /* ei oikea väri, mutta melkein.
    Tyyliohjeessa on #741515. Verkkosivun logo on #781819 */
    background-color: #781819;
}

#header .top-header {
    padding-top: 10px;
    padding-bottom: 10px;
}
#logo{
    text-align: center;
}

.middleContainer{
    background-color: #2f3437;
    background-image: url("/img/dark_embroidery.png");
    background-repeat: repeat;

}

.middleContainer > .container{
	/* JOSSU MUOKKAA ALEMPAA RIVIÄ*/
    background-color: #4c4c4c;
    background-color: rgba(76, 76, 76, 0.7);
    /*background-color: white;*/

	
    box-shadow: 12px 0 15px -7px rgba(0, 0, 0, 0.8), -12px 0 8px -7px rgba(0, 0, 0, 0.8);
    padding: 20px;
}

#footer{
    padding-top: 20px;
    box-shadow: inset 0 7px 9px -7px rgba(0,0,0,0.4);
}

#footer .address{
    list-style-type: none;
    text-align: left;
}

#footer .sites{
    list-style-type: none;
    text-align: left;
}

#footer ul li:first-child{
    font-weight: bold;
}

.paddingBox{
    padding: 20px 0 20px 0;
}

header nav {
    float: left;
    display: block;
    width: 600px;
    height: 50px;
}

header img {
    height: 50px;
    float: left;
}

header .container {
    width: 1200px;
    min-width: 1200px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

header nav a {
    color: #FFF;
    text-decoration: none;
    margin: 0;
    display: block;
    float: left;
    padding-top: 15px;
    padding-bottom: 9px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 18px;
}

header nav a:hover {
    color: #CCC;
    background: #26292b;
    text-decoration: none;
}

header nav a:active {
    color: #FFF;
    background: #681e1f;
    text-decoration: none;
}

header .search {
    color: black;
    display: inline-block;
    font-weight: 400;
    border: 0;
    width: 195px;
    height: 50px;
    margin: 0;
    margin-right: 5px;
    float: left;
    padding-top: 8px;
}

header .search .search-left {
    border-radius: 5px 0 0 5px;
}

header .search .search-right {
    border-radius: 0 5px 5px 0;
}

.searching {
    color: black;
}

#logo-filler {
    display: block;
    width: 100%;
    height: 35px;
}

#category {
    padding: 0;
    margin: 50px 0 0 10px;
    text-align: left;
}

#category .category-border {
    border: 1px solid #5cb85c;
    border-radius: 5px;
    background-color: #2f3437;
}

#content {
    margin: 0;
    padding: 0;
    color: white;
}

#content .right-box {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    padding: 10px;
    vertical-align: middle;
    border-radius: 10px;
    font-size: 17px;
}

#content .right-box h2, #content .right-box h3 {
    font-size: 17px;
}

#content .right-box-filler {
    height: 50px;
}

#content .right-box-box {
    border: 1px solid #5cb85c;
    background-color: #2F3437;
    overflow: hidden;
    height: auto;
    width: 250px;
    border-radius: 10px;
}

.right-box img {
    /*max-height: 200px;
    max-width: 200px;
    width: auto;
    border-radius: 5px;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 10px auto;*/
}

.right-box img.single {
    width: auto;
    border-radius: 5px;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.text-box {
    min-height: 800px;
    color: white;
    margin: 20px;
}

.campaign-product {
    position: relative;
    min-height: 200px;
    text-align: center;
}

.product-text {
    /*display: block;
    /*position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;*/
    height: 200px;
    margin: 0 auto;
    text-align: center;
}

.product .empty{
    min-height: 1.40em;
    line-height: 1.40;
}

.product-image{
    height: 150px;
    text-align: center;
    position: relative;
    background-color: white;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.accessoryRow{
    text-align: left;
}

.product-list {
    margin-top: 20px;
    text-align: left;
    height: auto;
    min-height: 200px;
    border-bottom: 1px solid #777;
}

.product-list img {
    float: left;
    max-height: 200px;
    max-width: 400px;
    width: auto;
    height: auto;
    display: block;
}

.product-list .button {
    margin: 0;
    height: auto;
}

.no-image {
    border: 1px solid #777;
    height: 200px;
    width: 150px;
}

.align-bar {
    float: right;
    font-size: 24px;
    text-align: right;
}

.search input[type=text] {
    border-radius: 5px;
    background-color: #DDD;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
    padding: 3px;
    margin: 5px 1px 3px 0px;
    border: 1px solid #CCC;
}

.search input[type=text]:focus {
    box-shadow: 0 0 5px #7C1212;
    margin: 5px 1px 3px 0px;

}

.search button[type=submit] {
    border-radius: 5px;
    background-color: #DDD;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
    padding: 6px;
    border: 1px solid #CCC;
}

.search button[type=submit]:focus {
    box-shadow: 0 0 5px #7C1212;
    border: 1px solid #7C1212;
}

.button {
    font-style: normal;
    font-weight: normal;
    outline: none;
    border: none;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px;
    font-size: 21px;
    text-align: center;
    width: 100%;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    background-image: linear-gradient(to bottom, #A6B916, #8B9C0B);
    /*background-image: linear-gradient(to bottom, #3D3D3D, #26292b);*/
    color: #FFF;
    padding: 0px 5px 0px 5px;
}

.small-button {
    font-style: normal;
    font-weight: normal;
    outline: none;
    border: none;
    width: 20%;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px;
    font-size: 18px;
    text-align: center;
    vertical-align: bottom;
    width: auto;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    background-image: linear-gradient(to bottom, #A6B916, #8B9C0B);
    color: #FFF;
}

.button.large {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
}

.imageWindow {
    text-align: center;
}

.imageWindow img {
    max-height: 250px;
    min-height: 250px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    padding: 5px;
    cursor: zoom-in;

}

.imageWindow img:hover {
    padding: 0;
}

select, textarea {
    width: 100%;
    color: black;
}

.cartForm {
    padding: 10px;
    overflow: hidden;
}

.cartForm table td {
    padding: 0px 0px 0px 0px;
    margin: 0;
}

.cartForm .options {
    margin-left: 20px;
    float: left;
}

.cartForm .colors {
    float: left;
}

.cartForm input[type=text], textarea {
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    color: black;
    border-radius: 5px;
    border: 1px solid #777;
    box-shadow: none;

}

.cartForm .full {
    width: 100%;
}

.cartForm input[type=text]:focus, textarea:focus {
    box-shadow: none;
    border: 1px solid #A6B916;
}

.cartForm .button {
    margin-top: 10px;
}

.button-grey {
    color: black;
    width: auto;
    height: auto;
    border-radius: 5px;
    padding: 5px;
    background-color: #DDD;
    border: 1px solid #CCC;
}

.button-grey:hover {

}

.cart {
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #DDD;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
    padding: 3px;
    margin-top: 11px;
    border: 1px solid #CCC;
    color: black;
    display: inline-block !important;
    margin-right: 5px;
}

.static-left {
    z-index: 2;
    position: fixed;
    right: 5px;
    bottom: 50px;
    background-color: #5cb85c;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
    color: rgba(0, 0, 0, 0.5);
}

.static-left:hover {
    color: rgba(101, 113, 8, 0.5);
}

.kasaus input {
    position: relative;
    top: 2px;
}

.additional-payment {
    padding-top: 10px;
    padding-bottom: 10px;
}

.special-button {
    font-style: normal;
    font-weight: normal;
    outline: none;
    border: none;
    width: 100%;
    height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px;
    font-size: 21px;
    text-align: center;
    width: auto;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    background-image: linear-gradient(to bottom, #A6B916, #8B9C0B);
    color: #FFF;
    padding: 0px 5px 0px 5px;
}

.pages {
    padding-left: 15px;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.pages .numbers {
    font-size: 16px;
    margin: 5px;

}

.yhteystiedot .container-fluid div input {
    width: 100%;
}

.cart-divs div div {
    /*border: 1px solid #CCC;*/
    margin-bottom: 5px;
    background-color: #272B2E;
    border-radius: 5px;

}

.cart-divs div div:first-child {
    border-right: none;
}

.selected img {
    opacity: 0.5;
}

.nav-group {
    display: inline-block;
}

.nav-group:last-child {
    border-bottom: none;
}

.nav-group-header {
    font-size: 20px;
    text-shadow: 1px 1px black;
    color: white;
    display: inline-block;
    padding: 5px 10px 5px 5px;
    cursor: pointer;
}

.nav-group-body img{
    height: 150px;
}

.nav-group-header:hover{
    color: #5cb85c;
}

.nav-group-body {
    display: none;
    overflow: auto;
    padding: 20px;
    border: 1px solid #5cb85c;
    border-radius: 10px;

    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);
    box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);
    background-color: #464646;
}

.nav-group-header:hover + .nav-group-body, .nav-group-body:hover{
    display: block;
    position: absolute;
    left: 0px;
    width: 100%;
    background-color: #464646;
    z-index: 100;
    border-radius: 0px 0px 5px 5px;

}

.nav-group {
    text-align: center;
}

.nav-group a {
    text-align: center;
    text-shadow: 1px 1px black;
    color: white;
}

.nav-group img{
    display: block;
    margin: 0 auto;
}

.nav-group .nav-group-body a:hover{
    background-color: #414141;
}

table.yhteenveto tr td {
    border: none;
}

.has-success .form-control {
    border-width: 2px;
}

.has-error .form-control {
    border-width: 2px;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, dropdown-menu > .active > a:focus {
    background-color: #5cb85c;
}
.bottomContainer, .bottomContainer > div{
    position: relative;
    display: block;
    overflow: auto;
    padding: 20px 15px 20px 15px;
    text-align:  left;
}
.bottomContainer h2{
    text-align: center;
}

.bottomContainer img{
    max-height: 200px;
    display: block;
    margin: 0 auto;
}

.categoryMain img{
    height: 100px;
}

.campaignNavigation{
    font-size: 26px;
}
#carousel{
    padding-top: 35px;
}

.focus{
    font-size: 18px;
    color: #5cb85c;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
}

.hideBeforeDOM{
    display: none;
}
