@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Exo', sans-serif;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 1.2px;
    margin: 0;
    height: 100%;
    background-color: #d9d9d9;
}

h4 {
    color: #8B0000FF;
    font-weight: 600;
    text-transform: uppercase;
}

button, .btn {
    height: 30px;
    font-size: 15px;
    color: #000000FF;
    background-color: white;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0px 15px;
    border: 2px solid #8B0000FF;
}
button[type=submit] {
    width: 100%;
}
button:hover, .btn:hover {
    background-color: #8B0000FF;
    color: white;
}

.dropdown-item button {
    border: none;
    background-color: transparent;
    font-family: 'Exo', sans-serif;
    font-weight: 400;
}
.dropdown-item button:hover {
    color: #8B0000FF;
    font-weight: 600;
}

input {
    width: 100%;
    height: 30px;
    border: 2px solid #8B0000FF;
}

textarea {
    padding: 5px;
    border: 2px solid #8B0000FF;
}
::placeholder {
    color: #727171;
    font-style: italic;
}

input[type=submit], input[type=button], input[type=date] {
    height: 30px;
    width: 100%;
    color: black;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0px;
    border: 2px solid #8B0000FF;
    border-radius: 0;
    background-color: white;
}

input[type=submit]:hover, input[type=button]:hover, input[type=date]:hover {
    color: white;
    background-color: #8B0000FF;
}

.modal-footer button {
    width: 50px;
}

#info-cart .no-border {
    border: none;
    background-color: white;
}
#info-cart .no-border:hover {
    color: #8B0000FF;
}

@media only screen and (max-width: 800px) {
    h4 {font-size: 17px;}
    p {font-size: 12px;}
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from { opacity:0 }
    to { opacity:1 }
}

@keyframes animatebottom {
    from{ opacity:0 }
    to{ opacity:1 }
}

#myDiv {
    display: none;
    margin: 0;
    padding: 0;
}

/* NAVBAR STYLES */
.samotne-opeke {
    margin-top: 10px;
}

.company-brand img {
    height: 70px;
}
.company-name a {
    text-decoration: none;
    font-size: 60px;
    font-weight: 900;
    background: linear-gradient(to right, #8B0000FF, #ff8000 50%, #8B0000FF 95%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px black;
}

.brand {
    display: none;
}
.navbar {
    /* background: linear-gradient(to right, #ff8000, #8B0000FF 50%);*/
    background-color: #d9d9d9;
    border-top: 1px solid #8B0000FF;
    border-bottom: 1px solid #8B0000FF;
}

.navbar a {
    text-decoration: none;
}
.navbar-brand img {
    height: 30px;
}

.logo-name {
    font-size: 30px;
    font-weight: 900;
    background: linear-gradient(to right, #ff8000, #8B0000FF 50%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-stroke: .5px black;
}
.logo-name:hover {
    color: #be9e44;
}

.navbar-toggler {
    border: 1.5px solid black;
}

.nav-item {
    margin: -5px 15px;
}
.nav-item a {
    font-weight: 500;
    font-size: 17px;
    color: black;
    letter-spacing: -.5px;
}
.nav-item a:hover {
    -webkit-text-stroke: 1px #8B0000FF;
    transition: .4s;
}
.active .nav-link {
    color: grey;
}

.dropdown-menu {
    background-color: #d9d9d9;
}
.dropdown-menu a:hover {
    background-color: #d9d9d9;
}
.lang {
    text-decoration: none;
    font-weight: 300;
    font-size: 17px;
    color: black;
    letter-spacing: -1px;
}
.lang:hover {
    text-decoration: none;
    background-color: #d9d9d9;
    -webkit-text-stroke: 1px #8B0000FF;
    transition: .4s;
}

#product_num_cart {
    background-color: #8B0000FF;
    border-radius: 50%;
    color: white;
    font-weight: 700;
}

@media only screen and (max-width: 991px) {
    .samotne-opeke {
        display: none;
    }
    .brand {display: flex;}
    .nav-item {
        text-align: right;
        margin-bottom: -5px;
    }
    .nav-item a, .dropdown .dropdown-menu .dropdown-item .lang {
        font-size: 12px;
        letter-spacing: 0px;
    }
    .dropdown .dropdown-menu .dropdown-item .lang {
        margin: -20px 0;
    }
    .dropdown-menu {
        background-color: transparent;
        border: none;
    }
}

/* FOOTER */
.footer {
    border-top: 1px solid #8B0000FF;
    padding-top: 15px;
}
.footer h6 {
    font-weight: 600;
    text-transform: uppercase;
}
.footer a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    transition: .4s;
}
.footer a:hover {
    -webkit-text-stroke: 1px #8B0000FF;
}

@media only screen and (max-width: 991px) {
    .footer, .footer h6 {font-size: 12px;}
}

/* HOME PAGE */
.parallax-first {
    /* The image used */
    background: url(/static/images/firma_1.jpg);

    /* Full height */
    width: 100%;
    height: 500px;
    overflow: hidden;
    text-align: center;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax-first h1 {
    padding-top: 200px;
    font-size: 82px;
    font-weight: 900;
    text-transform: uppercase;
    -webkit-text-fill-color: white;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px black;
}

.parallax-second {
    /* The image used */
    background: url(/static/images/firma_2.jpg);

    /* Full height */
    width: 100%;
    height: 500px;
    overflow: hidden;
    text-align: center;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax-second h1 {
    padding-top: 200px;
    font-size: 82px;
    font-weight: 900;
    text-transform: uppercase;
    -webkit-text-fill-color: white;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px black;
}

.parallax-third {
    /* The image used */
    background: url(/static/images/firma_3.jpg);

    /* Full height */
    width: 100%;
    height: 500px;
    overflow: hidden;
    text-align: center;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax-third h1 {
    padding-top: 200px;
    font-size: 82px;
    font-weight: 900;
    text-transform: uppercase;
    -webkit-text-fill-color: white;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px black;
}

.layer {
    background: rgba(139, 0, 0, .4);
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.carousel-control-next,
.carousel-control-prev /*, .carousel-indicators */ {
    filter: invert(100%);
}

@media only screen and (max-width: 991px) {
    .parallax-first, .parallax-second, .parallax-third {
        background-attachment: scroll;
        height: 300px;
    }
    .parallax-first h1, .parallax-second h1, .parallax-third h1 {
        font-size: 44px;
        padding-top: 80px;
    }
}

/* CONTACT PAGE */
.basic-info {
    background-color: white;
    border-radius: 15px;
    padding: 15px;
}
.sub-text {
    margin-top: -10px;
}
label {display: none;}

/* SHOP PAGE */
.bricks {
    /* The image used */
    background: url(/static/images/product_bricks.jpg);
    background-repeat: no-repeat;
    background-size: cover;

    /* Full height */
    width: 100%;
    height: 400px;
    text-align: center;
}
.grm {
    /* The image used */
    background: url(/static/images/product_grm.jpg);
    background-repeat: no-repeat;
    background-size: cover;

    /* Full height */
    width: 100%;
    height: 400px;
    text-align: center;
}

.bricks h1, .grm h1 {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    -webkit-text-fill-color: white;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px black;
}
.bricks h1 {padding-top: 110px;}
.grm h1 {padding-top: 85px;}

.bricks .layers {
    background: rgba(139, 0, 0, .2);
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.grm .layers {
    background: rgba(139, 0, 0, .3);
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.bricks .layers:hover, .grm .layers:hover {
    background: rgba(139, 0, 0, .4);
    border: 5px solid #8B0000FF;
}

a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    transition: .4s;
}
a:hover {
    text-decoration: none;
}


@media only screen and (max-width: 991px) {
    .bricks, .grm {
        height: 300px;
    }
    .bricks h1, .grm h1 {
        font-size: 44px;
        padding-top: 80px;
    }
}
/* PRODUCT PAGE */
#contact-shop a {
    text-decoration: none;
    color: black;
}
#contact-shop a:hover {
    color: grey;
}

#sidebar {
    background-color: #FFFFFFFF;
    padding-top: 17px;
    border-radius: 10px;
}
#sidebar h4 {
    padding-bottom: 5px;
    border-bottom: 2px solid black;
}
#sidebar a {
    text-decoration: none;
    color: black;
    font-size: 17px;
}
#sidebar a:hover {
    color: #8B0000FF;
    text-shadow: 1px 1px black;
}
#sidebar ul li{
    list-style: none;
    margin-left: -35px;
    font-size: 22px;
    font-weight: 600;
}
#sidebar li.selected {
    display: none;
}

.card {
    position: relative;
    z-index: 1;
    background-color: #d9d9d9;
    border: none;
}

.card img {
    height: 240px;
    z-index: -1;
}
.card a {
    text-decoration: none;
    color: black;
}
.card .product-info {
    margin: 5px;
    text-align: center;
}
.card .product-info .check {
    font-weight: 600;
    margin-top: -5px;
}
.card .product-info .check .yes_no {
    font-size: 22px;
}
.card .buy {
    display: none;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 30px;
    text-transform: uppercase;
    text-align: center;
    margin-top: -30px;
}
.card .buy h5 {
    color: white;
    background-color: #8B0000FF;
    font-weight: 900;
    padding: 5px;
}
.card:hover .buy {
    display: block;
}

@media only screen and (max-width: 800px) {
    #sidebar ul li a {
        font-size: 12px;
    }
    #sidebar ul li {
        margin-top: -12px;
    }
    .card .product-info {
        font-size: 14px;
    }
}

/* PRODUCT DETAIL */
#product-detail img {
    height: 320px;
}
#product-detail #detail {
    background-color: #FFFFFFFF;
    padding: 15px;
    border-radius: 10px;
}
#product-detail #detail .emphasized {
    font-weight: 700;
}

/* CART PAGE */
#info-cart {
    width: 100%;
    background-color: white;
    border-radius: 10px;
    padding-bottom: 10px;
}
#info-cart .product {
    display: flex;
    padding: 10px 10px 0;
}
#info-cart .product .basic {
    width: 30%;
    display: flex;
}
#info-cart .product .basic .remove {
    width: 10%;
}
#info-cart .product .basic .picture {
    width: 60%;
    align-content: center;
}
#info-cart .product .basic .shape-code {
    width: 30%;
    align-content: center;
}
#info-cart .product .quantity {
    width: 70%;
    display: flex;
}
#info-cart .product .quantity .quantity-form {
    width: 40%;
    align-content: center;
}
#info-cart .product .quantity .price {
    width: 30%;
    align-content: center;
}
#info-cart .product .quantity .total-price {
    width: 30%;
    align-content: center;
}

#info-cart #quantity {
    display: flex;
}
#info-cart #quantity .number {
    width: 70%;
}
#info-cart #quantity .refresh {
    width: 30%;
    text-align: center;
}

#all-articles, #all-articles-pdv {
    display: flex;
    padding: 0 15px;
}
.title-text, .sum {
    width: 50%;
}
.sum {
    text-align: right;
}

@media only screen and (max-width: 991px) {
    #info-cart .product .basic {
        flex-direction: column;
    }
    #info-cart .product .basic .picture, #info-cart .product .basic .shape-code  {
        width: 100%;
    }
}
@media only screen and (max-width: 600px) {
    #info-cart .product .basic {
        flex-direction: column;
        width: 50%;
    }
    #info-cart .product .quantity {
        flex-direction: column;
        width: 50%;
        padding-top: 50px;
        font-size: 12px;
    }
    #info-cart .product .quantity .quantity-form {
        width: 100%;
        padding-bottom: 10px;
    }
    #info-cart #quantity .number {
        width: 80%;
    }
    #info-cart #quantity .refresh {
        width: 20%;
    }
    #info-cart .product .quantity .price {
        width: 100%;
        text-align: right;
        padding-bottom: 10px;
        padding-right:30px;
    }
    #info-cart .product .quantity .total-price {
        width: 100%;
        text-align: right;
        padding-right:30px;
    }
    #all-articles, #all-articles-pdv {
        font-size: 12px;
    }
}

/* ORDER PAGE */
#warning-text {
    color: #8B0000FF;
}
#warning-text a {
    text-decoration: none;
    color: black;
    font-weight: 700;
}
#warning-text a:hover {
    color: dimgrey;
}
@media only screen and (max-width: 800px) {
    .order-info ol li {
        font-size: 12px;
    }
}

/* CONTROL PAGES */

/* PAGINATION */
.pagination .step-links a {
    text-decoration: none;
    color: #8b0000;
}
.pagination .step-links a:hover, .pagination .step-links .current {
    font-weight: 700;
}

/* CONTROL ORDERS PAGE */
select {
    width: 100%;
    color: black;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1px;
    border: 2px solid #8B0000FF;
}
option {
    font-weight: 600;
}
#potvrdi {
    padding: 0px;
}
.orders-list a {
    text-decoration: none;
    color: #000000FF;
}
.orders-list a:hover {
    color: #8B0000FF;
    text-shadow: 1px 1px 2px black;
}

/* CONTROL ORDER DETAILS PAGE */
#info-order {
    background-color: white;
    border-radius: 10px;
    padding: 5px 17px 17px;
}

/* CONTROL WARWHOUSE PAGE */
.line {
    border-top: 2px solid black;
    margin-bottom: 15px;
}
#restock input, #restock .sync{
    font-size: 15px;
    height: 30px;
    padding: 0 5px;
}

/* CONTROL EDIT PRODUCT PAGE */
.edit-product label {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    margin: 10px 0;
}
.edit-product #product_img, .edit-product #product_sch {
    width: 100%;
}
.edit-product select {
    height: 30px;
    border: 2px solid #8B0000FF;
}