@font-face {
    font-family: "GraphikRegular";
    src: url("/font/GraphikRegular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

/* Apply the custom font to your body or specific elements */
/* body {
  max-width: 940px;
  margin: 0 auto;
  font-family: "GraphikRegular", sans-serif;
} */

.navbar {
    height: 81px;
    background-color: #272727 !important;
    width: 100% !important;
}

#navbarNav {
    justify-content: end !important;
}

.navbar .container-fluid {
    /* max-width: 940px;
  margin: 0 auto; */
    overflow: visible;
    position: relative;
    flex-wrap: nowrap;
}

.nav-link {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-right: 2px solid;
    font-weight: 600;
    font-size: 15px;
}

header {
    background-color: #fdc91e;
    display: flex;
    justify-content: center;
    height: 55px;
    padding: 35px 0;
}

.item {
    float: left;
    margin-right: 1rem;
    /* border: 1px solid #de9926; */
    border-radius: 5px;
    padding: 2px 0 0 0;
    position: relative;
}

.item-shop {
    background-color: white;
    padding-left: 40px;
    border-radius: 4px;
    display: block;
    float: right;
    line-height: 35px;
}

#filterCategoryParent {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    border: 0;
    font-size: 17px;
    font-weight: 600;
    text-indent: 0;
    width: 150px;
}

#filterCategoryParent:focus {
    border: none !important;
}

.head-2 {
    /* min-width: 940px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .row .title {
    font-size: 10px;
    font-weight: 600;
    margin: 2px 0 0 0;
    padding-left: 5px;
}

.down-arrow {
    font-size: 1.5em;
    color: #c28520;
}

svg {
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-weight: 900;
    font-size: 1.5em;
    color: #c28520;
    pointer-events: none;
}

.shopping-cart-icon {
    width: 23px;
    height: 18px;
    background-size: cover;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    bottom: 2px;
}

.shopping-car {
    width: 23px;
    height: 18px;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    bottom: 8px;
}

.shopping-cart-total {
    color: #e35205;
    margin-right: 5px;
    font-weight: 600;
}

.div {
    width: unset;
}

.carousel-item img {
    height: 405px !important;
    object-fit: cover;
}
.card-cont .card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.btns {
    width: auto;
    padding: 15px 20px;
    background: #60cc00;
    margin: auto;
    margin-top: 30px;
    color: white !important;
    font-family: "Graphik SemiBold";
    border: 0;
    border-radius: 4px;
    font-size: 21px;
    display: block;
    text-align: center;
}
.article-title {
    font-size: 20px !important;
}
#snippet--content p {
    font-weight: 300 !important;
}
.table-responsive-xl {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    border: 1px solid #ddd;
    padding: 8px;
}

td p {
    margin: 0;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* margin: 0 -16px; */
}

.col-25 {
    -ms-flex: 25%;
    flex: 25%;
}

.col-50 {
    -ms-flex: 50%;
    flex: 50%;
}

.col-75 {
    -ms-flex: 75%;
    flex: 75%;
}

.col-25,
.col-50,
.col-75 {
    padding: 0 16px;
}

.container {
    background-color: #f2f2f2;
    padding: 15px 20px 15px 20px;
    /* padding: 20px; */
    /* width: 26rem; */
    border: 1px solid lightgrey;
    border-radius: 3px;
}

input[type="text"] {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
}

label {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-container {
    /* margin-bottom: 20px; */
    padding: 7px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px !important;
    margin-left: 10px;
}

.btn {
    background-color: #272727;
    color: white;
    padding: 12px;
    /* margin: 10px 0; */
    border: none;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    border-radius: 3px;
    cursor: pointer;
    font-size: 17px;
    margin-top: 10px !important;
}

a {
    color: #2196f3;
}

hr {
    border: 1px solid lightgrey;
}

span.price {
    float: right;
    color: grey;
}
.input {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px !important;
}
@media (max-width: 800px) {
    .row {
        flex-direction: column-reverse;
    }
    .col-25 {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    } */
    .input {
        flex-direction: column;
    }
    tr {
        margin-bottom: 1rem;
    }

    td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }

    td:nth-of-type(1)::before {
        content: "Tegund";
    }
    td:nth-of-type(2)::before {
        content: "Vefsvæði";
    }
    td:nth-of-type(3)::before {
        content: "Nafn vefköku";
    }
    td:nth-of-type(4)::before {
        content: "Veita";
    }
    td:nth-of-type(5)::before {
        content: "Markmið";
    }
    td:nth-of-type(6)::before {
        content: "Gildistími";
    }
    input[type="text"] {
        width: 90% !important;
    }
    .container {
        padding: 5px !important;
    }
}

@media (max-width: 955px) {
    .head-2 {
        min-width: 787px;
    }
}

@media (max-width: 800px) {
    .hide {
        display: none !important;
    }

    .head-2 {
        min-width: unset;
    }

    header {
        justify-content: start;
        padding-left: 10px;
    }

    nav {
        height: 55px !important;
    }

    .navbar-brand img {
        height: auto;
        width: 130px;
    }

    .nav-link {
        font-size: 12px;
    }
}

@media (max-width: 570px) {
    #filterCategoryParent {
        width: 115px !important;
    }

    #filterCategoryParent {
        font-size: 14px;
    }

    .item {
        font-size: 12px !important;
    }
}

@media (max-width: 340px) {
    .nav-container {
        justify-content: center !important;
    }
}