@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Regular.woff2') format('woff2');
  src: url('../fonts/Nunito-Regular.woff') format('woff');
}
@font-face {
  font-family: 'NunitoBold';
  src: url('../fonts/Nunito-Bold.woff2') format('woff2');
  src: url('../fonts/Nunito-Bold.woff') format('woff');
}


@font-face {
  font-family: 'DIN';
  src: url('../fonts/D-DIN.otf') format('otf');
}
@font-face {
  font-family: 'DINBold';
  src: url('../fonts/D-DIN-Bold.otf') format('otf');
}

@font-face {
  font-family: 'DINConBold';
  src: url('../fonts/D-DINCondensed-Bold.otf') format('otf');
}


@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.otf') format('otf');
}

@font-face {
  font-family: 'PoppinsSemiBold';
  src: url('../fonts/SemiBold.otf') format('otf');
}


body * {
    font-family: 'Nunito', sans-serif;

}
body {
    margin-top: 160px;
}

header {
    background-color: white;
}

#logo {margin-top: -12px;
    max-width: 70px;
    transition: all 0.3s ease 0s;
}

#logo:hover {    
    transform: scale(1.1); 
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.form-control-dark {
  color: #fff;
  background-color: var(--bs-dark);
  border-color: var(--bs-gray);
}
.form-control-dark:focus {
  color: #fff;
  background-color: var(--bs-dark);
  border-color: #fff;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.text-small {
  font-size: 85%;
}

.dropdown-toggle {
  outline: 0;
}

.nav-link:link, .nav-link:visited {
    color: #232323;
}

.nav-link:hover, .nav-link.nav-link_active {
    color: #c9183e;
}

.nav-link:active {
    color: #fff;
}

a, button {
    transition: color 0.4s linear 0s;
}

.main-body a:not(.linkIcon):link, .main-body a:not(.linkIcon):visited {
    padding: 2px 6px;
    border-radius: 3px;
    color: #c9183e;
    margin-left: -6px;
}

.main-body a:not(.linkIcon):hover{
    color: #fff;
    background-color: #c9183e;
}

.main-body a.linkIcon:link i, .main-body a.linkIcon:visited i {
    font-size: 2rem;
    color: #c9183e;
}

.main-body a.linkIcon:hover i {
    color: #232323;
}

.rel_pos {
    position: relative;
}

h1,h2,h3,h4, .image_title {
    font-family: 'NunitoBold', sans-serif;
}

h1 {
    font-weight: bold;
}

img {
    max-width: 100%;
    height: auto;
}

hr {
    width: 68%;
    margin: 3rem auto;
    background-color: #cecece;

}

hr::after {
    content: "";
    position: relative;
    top: -14px;
    display: block;
    height: 22px;
    width: 46px;
    margin: auto;
    background-image: url(../images/hr-centre.svg);
    background-repeat: no-repeat;
}

.margin-top40 {
    margin-top: 40px;
}

ul li {
    /* Text color */
    color: black;
    list-style-type: none;
}

.main-body ul li:before {
    /* Unicode bullet symbol */
    content: '\2022 ';
    /* Bullet color */
    color: #c9183e;
    padding-right: 0.5em;
}


form ul {
    padding-left: 0;
}

.redline {
    color: #c9183e;
}

h2 {
    /*font-size: 1.5rem;*/
    font-weight: 700;
    margin-bottom: 22px;
}
h3 {
    /*font-size: 1rem;*/
    font-weight: 700;
    margin-bottom: 12px;
}


abbr[title] {
  position: relative;

  /* ensure consistent styling across browsers */
  text-decoration: underline dotted;
}

abbr[title]:hover::after,
abbr[title]:focus::after {
  content: attr(title);

  /* position tooltip like the native one */
  position: absolute;
  left: 0;
  bottom: -30px;
  width: auto;
  white-space: nowrap;

  /* style tooltip */
  background-color: #1e1e1e;
  color: #fff;
  border-radius: 3px;
  box-shadow: 1px 1px 5px 0 rgba(0,0,0,0.4);
  font-size: 14px;
  padding: 3px 5px;
}

.figure {
    display: block;
    text-align: center;
}

button.btn.btn-primary, input.btn.btn-primary {
 background-color: #c9183e;
 color: #fff;
 border-radius: 3px;
 border: 1px solid #c9183e;
 padding: 6px 20px;
 width: 100%;
}

button.btn.btn-primary:hover {
    background-color: #fff;
    color: #c9183e;
    border-color: #c9183e;
}

input[type="submit"] {
    width: auto !important;
}

.d-small {
    max-width: 150px;
}

.figure-img.max-height-360 {
    max-height: 360px;
}

.figure-img.max-height-180 {
    max-height: 180px;
}

.figure-img.max-height-800 {
    max-height: 800px;
}

.card {
    border:  none;
}

.card p {
    margin: 12px 0;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.125);
}
.image_title {
    font-weight: 700;
}

.card .redline {
    padding:0 3px;
}

nav {
    width: 100%;
}

.nav {
    justify-content: center;
}

.footer p {
        text-align: center;
    }

/* Dalldrams */

.dramform li {
    margin-bottom: 12px;
}

.button-tr {
    position: absolute;
    top: 12px;
    right: 0;
}
/* Whisky */

ul.opened_bottles {
    padding-left: 5px;
}

ul.opened_bottles li:before {
    content: '';
}

ul.month_bottles {
    margin-bottom: 12px;
    padding-left: 0;
}

.month_bottles li::before  {
    content: "";
    display: inline-block;
    position: relative;
    top: 3px;
    width: 36px;
    height: 20px;
    margin: 0 0 0 12px;
    background-image: url(../images/whisky_bottle.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    list-style-type: none;
}

.killed_bottle {
    color: #adadad;
    text-decoration: line-through;
}

.month_bottles li.fill_2::before {
    background-image: url(../images/whisky_bottle_2.svg);
}

.month_bottles li.fill_3::before {
    background-image: url(../images/whisky_bottle_3.svg);
}

.month_bottles li.fill_4::before {
    background-image: url(../images/whisky_bottle_4.svg);
}

.month_bottles li.fill_5::before {
    background-image: url(../images/whisky_bottle_5.svg);
}

.month_bottles li.fill_6::before {
    background-image: url(../images/whisky_bottle_6.svg);
    transform: rotate(90deg);
}


.bg-grey {
    margin: 40px 0 0 0;
    padding: 20px;
    background-color: #e2e2e2;
}

.br-4 {
    border-radius: 4px;
}

.mt-20 {
    margin-top: 20px;
}

@media (min-width: 408px) {
    body {
        margin-top: 160px;
        /*border-left: 4px solid orange;*/
    }
}

@media (min-width: 576px) {
    /*body {
        border-left: 4px solid green;
    }*/
    .nav-link {
        padding: .5rem 1rem;
    }
    .card {
        min-height: 60px;
    }
    button.btn.btn-primary {
         width: auto;
    }
}

@media (min-width: 768px) {
    body {
        margin-top: 150px; 
    }
    #logo {
        margin-top: -12px;
        max-width: 100px;
        transition: all 0.3s ease 0s;
    }
    nav {
        width: auto;
    }
    .nav {
        justify-content: center;
    }
    .d-small {
        max-width: 200px;
    }
    .card {
        min-height: 120px;
    }
    .footer p {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .card {
        min-height: 200px;
    }
}


