html {
    --borderRadius:20px;
}

body {
    background-color: white;
    background-repeat: repeat;
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    color: black;
    font-family: Roboto,sans-serif;
    overflow: auto !important;
    min-width:300px;
}
/* *:not(#nav *, #footer hr){
    border: 0.1px solid lightcoral;
} */

#header {
    background-color: #DDD;
}

#header h1 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 5px;
    margin-top: 0;
    padding-top: 5px;
}

#main {
    margin-top: 30px;
}

#main, #footer, #header #inside {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;

}

#footer {
    text-align: center;
    align-items: center !important;
}

#nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #DDD;
    top: 0;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    }

#nav li {
    float: right;

}

#nav li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

#nav li a:hover {
    background-color: #EEE;
}

#nav .active {
  	background-color: #9D9;
}

#carousel  {
    margin-bottom: 10px;
}

#empty {
    height: 10px;
}

#footer hr {
    margin-top: 20px;
    height: 0;
}

.item-pageproizvodi table{
    font-size: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-collapse:separate;
    border-spacing: 0 10px;
}

.item-pageproizvodi table tbody>tr {
    background-color: #DDD;
   
}

.item-pageproizvodi table tbody>tr>td:nth-child(1) {
    width: 10% !important;
    margin: 0 !important;
    text-align: center !important;
    padding-left: 20px !important;
    border-top-left-radius: var(--borderRadius);
    border-bottom-left-radius: var(--borderRadius);
}

.item-pageproizvodi table tbody>tr>td:nth-child(1)>img {
    width: 200px !important;
    height: 200px !important;
    position: relative;
    top: 20px !important;
    border-radius: 10px !important;
    margin-bottom: 35px;
}

.item-pageproizvodi table tbody>tr>td:nth-child(2) {
    word-break: normal !important;
    width: 75% !important;
    padding: 0 10px !important;
}

.item-pageproizvodi table tbody>tr>td:nth-child(2)>* {
    position: relative;
    top: -20px;
}

.item-pageproizvodi table tbody>tr>td:nth-child(3) {
    width: 20% !important;
    padding-right: 20px !important;
    border-top-right-radius: var(--borderRadius);
    border-bottom-right-radius: var(--borderRadius);
}

.item-pageproizvodi table tbody>tr>td:nth-child(3)>p {
    color: black !important;
    background-color: gold !important;
    border-radius: 10px !important;
    text-align: center !important;
    padding: 5px;
}

.container {
    margin-bottom: 10px;
}


div .item-pagenaslovna>* {
  display: inline-flex;
}

div .item-pagenaslovna>*>img {
  margin-right: 10px;
}

div .item-pagenaslovna>*>p{
  margin-right: 10px;
}

.inline-icon {
    vertical-align: bottom;
    font-size: 30px !important;
    padding-bottom: 2px;
 }

#kontakt a {
    text-decoration: none;
    color: black;
}

#kontakt a:hover {
    text-decoration: none;
    color: blue;
}

@media only screen and (max-width: 700px) {
    html {
        --borderRadius:20px;
    }

    #header h1 {
        text-align: center;
        font-size: 30px;
        margin-bottom: 5px;
        margin-top: 0;
        padding-top: 5px;
    }

    #main {
        padding: 0 10px;
        margin: 10px 0;
    }

    #footer {
        padding: 0 10px 0 10px;
        margin-bottom: 30px;
    }

    div .item-pagenaslovna>* {
        display:unset;
        margin-left: auto;
        margin-right: auto;
        margin: 5px 0;
        padding: 0 !important;
    }

    div .item-pagenaslovna>*>img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
      }
      
      div .item-pagenaslovna>*>p{
        text-align: justify;
        margin-right: 0;
        margin: 0;
      }

      #footer hr {
        margin-top: 0;
        height: 0;
    }

    #kontakt>*>*>*>*>*>div {
        font-size: 15px !important;
    }

    .item-pageproizvodi table{
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        border-collapse:separate;
        border-spacing: 0 10px;
    }

   .item-pageproizvodi table tbody>tr {
        background-color: #DDD;
    }
    
    .item-pageproizvodi table tbody>tr>td:nth-child(1) {
        width: 5% !important;
        margin: 0 !important;
        text-align: center !important;
        padding-left: 10px !important;
        border-top-left-radius: var(--borderRadius);
        border-bottom-left-radius: var(--borderRadius);
        
    }
    
    .item-pageproizvodi table tbody>tr>td:nth-child(1)>img {
        width: 100px !important;
        height: 100px !important;
        position: relative !important;
        top: 2px !important;
        border-radius: 10px !important;
        margin-bottom: 0px;

    }
    
    .item-pageproizvodi table tbody>tr>td:nth-child(2) {
        word-break: normal !important;
        width: 75% !important;
        padding: 0 10px !important;
    }

    .item-pageproizvodi table tbody>tr>td:nth-child(2) * {
        position: relative;
        top: 0px;
    }
    
    .item-pageproizvodi table tbody>tr>td:nth-child(3) {
        width: 20% !important;
        padding-right: 10px !important;
        padding-bottom: 10px !important;
        border-top-right-radius: var(--borderRadius);
        border-bottom-right-radius: var(--borderRadius);
    }
    
    .item-pageproizvodi table tbody>tr>td:nth-child(3)>p {
        color: black !important;
        background-color: gold !important;
        border-radius: 10px !important;
        text-align: center !important;
    }
}