/*
Main color: #4e2c80;
Accent: #fdbc11
*/


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Fira+Code:300,400,700|Lato:200,300,400,600&display=swap&subset=latin-ext');

:root {
    color-scheme: only;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color-scheme: light !important;
}

.paluch-color-primary {
    color: #4e2c80 !important;
}

.paluch-color-secondary {
    color: #fdbc11 !important;
}

.paluch-bg-primary {
    background-color: #4e2c80 !important;
}

.paluch-bg-secondary {
    background-color: #fdbc11 !important;
}

.bg-gray {
    background-color: gray;
}

.border-bottom-gray {
    /*border: 0;*/
    border-bottom: 1px solid gray;
}

.border-top-gray {
    /*border: 0;*/
    border-top: 1px solid gray;
}

.w-2em { width: 2em; }
.w-3em { width: 3em; }
.w-4em { width: 4em; }
.w-5em { width: 5em; }
.w-6em { width: 6em; }
.w-7em { width: 7em; }
.w-8em { width: 8em; }
.w-9em { width: 9em; }
.w-10em { width: 10em; }

.zi-900 { z-index: 900; }

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-wrap {
    overflow-wrap: break-spaces;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-line-brakes {
    white-space: pre-line;
}

.text-vertical {
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.text-diff-added {
    /*color: #28a745;*/
    /*color: #000000;*/
    /*border-bottom: 1px dotted #28a745;*/
    background-color: rgb(255, 247, 0, 0.2);

}

.text-diff-removed {
    color: darkred;
}

.text-diff-unchanged {
    color: #5a5959;
}

.text-blink {
    animation: text-blinker 1.5s linear infinite;
}

@keyframes text-blinker {
    0%,100% {opacity: 0.4;}
    50% {opacity: 1;}
}

.text-translucent {
    opacity: 0.4;
}

.text-translucent:hover {
    opacity: 1;
}

.text-outline {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.border-red {
    border: 2px solid red;
    border-collapse: collapse;
}

.bg-1 { background-color: #772277; }
.bg-2 { background-color: #333388; }
.bg-3 { background-color: #1144aa; }
.bg-4 { background-color: #55aa11; }
.bg-5 { background-color: #f40000; }
.bg-6 { background-color: #f47a00; }
.bg-7 { background-color: #ffe314; }
.bg-8 { background-color: #24807f; }
.bg-9 { background-color: #1d7791; }
.text-black { color: #000000; }
.text-black:hover { color: #000000; }
/*a.card:hover { text-decoration: none; opacity: 0.8; }*/
.bg2-red         { background-color: rgb(244, 67, 54); }
.bg2-pink        { background-color: rgb(233, 30, 99); }
.bg2-purple      { background-color: rgb(156, 39, 176); }
.bg2-deep-purple { background-color: rgb(103, 58, 183); }
.bg2-indigo      { background-color: rgb(63, 81, 181); }
.bg2-blue        { background-color: rgb(33, 150, 243); }
.bg2-light-blue  { background-color: rgb(3, 169, 244); }
.bg2-cyan        { background-color: rgb(0, 188, 212); }
.bg2-teal        { background-color: rgb(0, 150, 136); }
.bg2-green       { background-color: rgb(76, 175, 80); }
.bg2-light-green { background-color: rgb(139, 195, 74); }
.bg2-lime        { background-color: rgb(205, 220, 57); }
.bg2-yellow      { background-color: rgb(255, 235, 59); }
.bg2-amber       { background-color: rgb(255, 193, 7); }
.bg2-orange      { background-color: rgb(255, 152, 0); }
.bg2-deep-orange { background-color: rgb(255, 87, 34); }
.bg2-brown       { background-color: rgb(121, 85, 72); }
.bg2-grey        { background-color: rgb(158, 158, 158); }
.bg2-blue-gray   { background-color: rgb(96, 125, 139); }
.bg2-light-grey  { background-color: rgb(197, 197, 197); }



/* ==========================================================================
   Home/Start page counter cards
   ========================================================================== */

.start-pet-section-button {
    text-decoration: none;
    /*filter: drop-shadow(2px 2px 5px #999);*/
}

.start-pet-section-button .card-title {
    font-weight: bold;
    letter-spacing: 2px;
}

.start-pet-section-button .card-title {
    font-size: 0.8rem;
}

@media (min-width: 576px) { /* dla od sm w gore */
    .start-pet-section-button .card-title {
        font-size: 1rem;
    }
}
@media (min-width: 992px) { /* dla od lg w gore */
    .start-pet-section-button .card-title {
        font-size: 1.25rem;
    }
}

.start-pet-section-button .section-card-content {
    font-size: 1.5em;
}

.start-pet-section-button:hover {
    text-decoration: none;
    /*filter: drop-shadow(2px 2px 5px #999) brightness(75%);*/
}



/* ==========================================================================
   Pets pages
   ========================================================================== */

section.pets-container {
    /*border: 1px dotted red;*/
}

div.pet-title-box {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

div.pet-title-box h2 {
    font-weight: 400;
}

div.pet-title-box h2 small {
    color: gray;
    font-weight: 300;
}

img.pet-detail-main-image {
    /* max-width: 660px; */
    /* height: auto; */
    width: 660px;
    height: 460px;
    object-fit: cover;
}

img.pet-detail-main-image-2 {
    width: 420px;
    height: 320px;
    object-fit: cover;
}

dl.petdetail {
    margin-left: 1em;
}
dl.petdetail dd {
    margin-bottom: 0;
}

div.pet-contact-box {
    margin-top: 1em;
}

/* Karta zwierzaka - zakladki - opis, spacery, adopcje, medvet, notatki*/
ul.pet-view-tabs li.nav-item a.nav-link {
    color: #212529;
}
ul.pet-view-tabs li.nav-item a.nav-link:hover {
    background-color: #eeeeee;
}
ul.pet-view-tabs li.nav-item a.nav-link.disabled {
    color: #aaaaaa;
}
ul.pet-view-tabs li.nav-item a.nav-link.active {
    background-color: #eeeeee;
}
ul.pet-view-tabs li.nav-item a.nav-link.active span {
    font-weight: bold;
}

/* Karta zwierzaka - opis */
div.pet-description {
    text-align: justify;
    padding: 1em;
    white-space: pre-line;
}

div.pet-description-form {
    margin-top: 1em;
    padding: 0;
}

img.pet-detail-gallery-thumb2 {
    width: 190px;
    height: 190px;
    object-fit: cover;
    /*overflow: hidden;*/
    margin: 0 1px 1px 0;
}

img.pet-detail-gallery-thumb {
    /* max-width: 210px; */
    /* height: auto; */
    width: 215px;
    height: 215px;
    /*width: 195px;*/
    /*height: 195px;*/
    object-fit: cover;
    margin: 0 1px 1px 0;
}

img.pet-detail-mini-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    margin: 0 1px 1px 0;
}

div.pet-detail-image-card {
    position: relative;
    display: inline-block;
    border: 1px solid lightgray;
    text-align: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

div.pet-detail-image-card-play:before {
    position:absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    content: "\f144";
    /*content: ">";*/
    font-family: "Font Awesome 5 Free";
    font-size: 60px;
    color: #fff;
    opacity: 0.5;
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

div.pet-detail-image-card-play:hover:before {
    /*color: #eee;*/
    opacity: 0.8;
}

div.pet-detail-image-card-desc {
    text-align: center;
    font-size: small;
    font-weight: bold;
    font-style: italic;
}


/* ==========================================================================
   Login buttons
   ========================================================================== */

/* Shared */
.loginBtn {
  box-sizing: border-box;
  position: relative;
  /* width: 13em;  - apply for fixed size */
  margin: 0.2em;
  padding: 0 15px 0 46px;
  border: none;
  text-align: left;
  line-height: 34px;
  white-space: nowrap;
  border-radius: 0.2em;
  font-size: 16px;
  color: #FFF;
}
.loginBtn:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 100%;
}
.loginBtn:focus {
  outline: none;
}
.loginBtn:active {
  box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);
}


/* Facebook */
.loginBtn--facebook {
  background-color: #4C69BA;
  background-image: linear-gradient(#4C69BA, #3B55A0);
  /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
  text-shadow: 0 -1px 0 #354C8C;
}
.loginBtn--facebook:before {
  border-right: #364e92 1px solid;
  background: url('../images/icon_facebook.png') 6px 6px no-repeat;
}
.loginBtn--facebook:hover,
.loginBtn--facebook:focus {
  background-color: #5B7BD5;
  background-image: linear-gradient(#5B7BD5, #4864B1);
}

/* Google */
.loginBtn--google {
  /*font-family: "Roboto", Roboto, arial, sans-serif;*/
  background: #DD4B39;
}
.loginBtn--google:before {
  border-right: #BB3F30 1px solid;
  background: url('../images/icon_google.png') 6px 6px no-repeat;
}
.loginBtn--google:hover,
.loginBtn--google:focus {
  background: #E74B37;
}


/* ==========================================================================
   Pets pages - new gallery
   ========================================================================== */

div.pet-gallery-card {
    position: relative;
    display: inline-block;
    border: 1px solid lightgray;
    text-align: center;
    margin-bottom: 5px;
    /*padding-bottom: 5px;*/
}

img.pet-gallery-card-thumb {
    width: 215px;
    height: 215px;
    object-fit: cover;
    margin: 0 1px 1px 0;
}

img.pet-gallery-card-thumb:hover {
    border: 5px solid white;
}

div.pet-gallery-card-toolbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2px 0;
    background-color: rgba(5,5,5, 0.5);
}

div.pet-gallery-card-desc {
    font-size: small;
    font-weight: bold;
    font-style: italic;
    width: 100%;
    position: absolute;
    top: 0;
    padding: 5px 0;
    background-color: rgba(5,5,5,0.5);
    color: white;
    border: none;
    cursor: pointer;
}
/* zdjecia za teczowym mostem */
.pet-gallery-rainbow img {
    filter: grayscale(100%) contrast(120%);
}

/* ==========================================================================
   Dodatkowe style dla markdown - przeniesione 2020-08-22
   ========================================================================== */

/* dodatkowe-style-dla-markdown-20200307 */
.pet-description h1, .pet-description h2, .pet-description h3,
.pet-description h4, .pet-description h5, .pet-description h6 {
    position: relative;
    font-weight: normal;
    font-size: 18px;
    margin: 0px;
    background: none;
}
.pet-description ul,
.pet-description ol {
    white-space: normal;
}
.pet-description ul li,
.pet-description ol li {
    list-style-position: outside;
    margin-left: 1.5em;
    /*padding-bottom: 0;*/
}
/* /. dodatkowe-style-dla-markdown-20200307 */


/* ==========================================================================
   Zmiana stopki - 2022-02-13
   ========================================================================== */

/* footer - formatowanie stopki */
footer {
    /*background-color: #eee;*/
    border-top: 1px solid #ccc;
    background: linear-gradient(0deg, rgba(204,204,204,1) 0%, rgba(238,238,238,1) 100%);
    margin-top: 2em;
}

/* footer - nie drukujemy stopki */
@media print {
    footer {
        display: none;
    }
}

/* footer - To jest do utrzymania stopki na dole */
main {
    min-height: 60vh;
}

/* ==========================================================================
   Spacery - 2022-07-25
   ========================================================================== */

.pet-walk-button {
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0.1em;
    /*min-height: 5em;*/
    height: 5em;
    vertical-align: middle;
}

.pet-walk-button-0 {
    border-top: 5px solid darkslateblue;
}

.pet-walk-button-1 {
    /*border-bottom: 5px solid darkorange;*/
    border-bottom: 10px solid seagreen;
}

/*@media (max-width: 768px) { !* dla do sm *!*/
@media (max-width: 992px) { /* dla do sm */
    .pet-walk-button {
        min-height: 100px;
    }
}

@media (max-width: 992px) {
    .fixed-nlg-bottom {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030
    }
}

/* Ikonka przy notyfikacjach toast */
.toast-icon {
    max-width: 48px;
    max-height: 48px;
}

/* Heatmap z licznikami spacerow */
.walk-heatmap-box {
    width: 1.8em;
    height: 1.8em;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    font-size: 0.7em;
    font-weight: 500;
    /*margin: 0;*/
    /*padding: 0;*/
}

.walk-heatmap-box-currentweek {
    border: 2px solid red !important;
}
.walk-heatmap-box-outline {
    border: 1px solid lightgray;
}
.walk-heatmap-box-zero {
    background-color: lightgray;
    border: 1px solid lightgray;
}
.walk-heatmap-box-warning {
    background-color: lightgreen;
    border: 1px solid lightgray;
}
.walk-heatmap-box-danger {
    /*background-color: white;*/
    background-color: lightpink;
    border: 2px solid lightpink;
}
.walk-heatmap-box-success {
    background-color: mediumseagreen;
    color: white;
    border: none;
}
.walk-heatmap-box-awesome {
    background-color: lightseagreen;
    color: white;
    border: none;
}

/* Informacje medyczne pet-medvet */
.pet-medvet-header {
    border-bottom: 1px solid #dddddd;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.pet-medvet-documents {
    background-color: #dcffda;
    padding: 0.5em;
    margin-bottom: 0.5em;
}

.pet-medvet-drugs {
    background-color: #fff7ea;
    padding: 0.5em;
    margin-bottom: 0.5em;
}

.pet-medvet-prof {
    background-color: #bad8ff;
    padding: 0.5em;
    margin-bottom: 0.5em;
}

img.pet-medvet-docthumb {
    width: 96px;
    height: 128px;
    object-fit: cover;
    margin: 0 1px 1px 0;
}

.pet-medvet-planned-card {
    background-color: #dcffda;
}

