@import url("https://fonts.googleapis.com/css?family=Great+Vibes");
@import url("https://fonts.googleapis.com/css?family=Dancing+Script");

body {
  background: #f0d0a7;
  color: #482400;
  min-height: 100vh;
}
h1,
h2,
h3,
h4,
.logo,
.logo span,
.logo a,
.sidebar ul li,
.sidebar ul li a,
.dog a p {
  font-family: "Dancing Script", cursive !important;
}
h1 {
  font-size: 40px;
}
h2 {
  margin-left: 20px;
  font-size: 26px;
}
h2.w_pagebreak {
  text-align: center;
  font-size: 30px;
  margin-bottom: -40px;
  margin-left: 0;
}
h4 {
  font-size: 25px;
}
.italic {
  font-style: italic;
}
.center {
  text-align: center;
}
.justify {
  text-align: justify;
}

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

.close {
  position: absolute;
  top: 4px;
  right: 19px;
  font-size: 31px;
  cursor: pointer;
  transform: rotate(0deg);
  transition: all 0.3s;
}

.close:hover {
  transform: rotate(180deg);
  top: 7px;
}

.pagebreak {
  width: 100%;
  clear: both;
  padding-top: 20px;
}
.pagebreak img {
  width: 100%;
}

.wrap {
  display: flex;
  background: #f6f1e5;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  min-height: 100vh;
}

.sidebar {
  background: #563412;
  background: -moz-linear-gradient(top, #573512 0%, #583512 60%, #a79685 83%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#573512', endColorstr='#a79685',GradientType=0 );
  min-width: 290px;
  max-width: 290px;
  min-height: calc(100vh - 50px);
  color: #f0d0a7;
  font-size: 30px;
  box-shadow: 2px 0 25px rgba(0, 0, 0, 0.8);
  border-right: 1px solid #482400;
  position: relative;
  z-index: 9;
}
.sidebar-inner {
  position: fixed;
  display: table;
  width: 290px;
}
.sidebar .logo {
  text-align: center;
}
.logo img {
  max-width: calc(100% - 40px);
  padding: 40px 20px;
}

.sidebar .logo span {
  font-size: 20px;
  top: -44px;
  left: 9%;
  position: relative;
}
.sidebar ul {
  margin-top: -20px;
  z-index: 3;
  position: relative;
  /* overflow: auto; */
  /* max-height: 250px; */
}
.sidebar ul li {
  text-align: center;
  position: relative;
}
.sidebar ul li a {
  color: #f0d0a7;
  display: block;
  padding: 7px 0;
  transition: all 0.2s;
  font-family: "Dancing Script", cursive !important;
}
.sidebar ul li:last-child {
  margin-top: 30px;
}
.sidebar ul li:hover a,
.sidebar ul li.active a {
  background: #f6f1e5;
  color: #3d1f00;
  cursor: pointer;
}
.sidebar ul li:after {
  content: " ";
  width: 30px;
  height: 50px;
  background: #f6f1e5;
  background: -moz-linear-gradient(
    left,
    rgba(246, 241, 229, 1) 0%,
    rgba(246, 241, 229, 1) 55%,
    rgba(246, 241, 229, 0) 100%
  );
  background: -webkit-linear-gradient(
    left,
    rgba(246, 241, 229, 1) 0%,
    rgba(246, 241, 229, 1) 55%,
    rgba(246, 241, 229, 0) 100%
  );
  background: linear-gradient(
    to right,
    rgba(246, 241, 229, 1) 0%,
    rgba(246, 241, 229, 1) 55%,
    rgba(246, 241, 229, 0) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f1e5', endColorstr='#00f6f1e5',GradientType=1 );
  top: 0px;
  right: -30px;
  position: absolute;
  transition: all 0.2s;
  opacity: 0;
}
.sidebar ul li:hover:after,
.sidebar ul li.active:after {
  opacity: 1;
}
.sidebar img.decor-sidebar {
  position: fixed;
  bottom: 0;
  max-width: 290px;
}
.sidebar a.sidebar-facebook {
  position: fixed;
  bottom: 0;
  z-index: 4;
  width: 290px;
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.2s;
}
.sidebar a.sidebar-facebook:hover {
  transform: scale(1.1);
}

/* HOME */

.main {
  width: calc(100vw - 40px);
  padding: 20px;
  padding-top: 50px;
  background: url("../images/decor-border_collies.png"),
    url("../images/decor-dog_in_back2.png");
  background-repeat: no-repeat, repeat-y;
  background-position: 0 100px, center top;
  box-shadow: inset 0 0 100px #f5e7d3;
  position: relative;
}
.main .header {
  text-align: center;
  display: block;
  margin-bottom: 20px;
}
.home_news {
  padding: 40px 40px 10px 40px;
}
.main .home_news h2 > span {
  font-family: "roboto";
  font-size: 13px;
  float: right;
  margin-right: 20px;
}
.main .home_news h2 > span img {
  margin-left: 20px;
  margin-bottom: -10px;
}
.main .news_content {
  width: calc(100% - 40px);
  display: table;
  padding: 20px;
}
.main .news_content p {
  /* max-width: 49%; */
  display: inline-block;
}
.main .news_content img {
  max-width: calc(100% - 30px);
  border-radius: 5px;
  margin: 15px;
}
.main .dogs_page .news_content img {
  max-width: 49%;
  float: right;
}
.main .home_teaser {
  padding: 0 60px 20px;
}
.main .home_teaser h2 {
  margin-left: 0;
  margin-bottom: 20px;
}
.main .home_teaser img {
  width: 100%;
  margin: 20px 0;
}

/* NEWS */

ul.news-history {
  list-style: none;
  opacity: 0.9;
}
ul.news-history li {
  transition: all 0.2s;
  display: inline;
  border: 1px solid #563412;
  color: #563412;
  border-radius: 3px;
  padding: 0 2px;
}
ul.news-history li:nth-child(1) {
  opacity: 0.2;
}
ul.news-history li:nth-child(2) {
  opacity: 0.4;
}
ul.news-history li:nth-child(3) {
  opacity: 0.6;
}
ul.news-history li:nth-child(4) {
  opacity: 0.8;
}
ul.news-history li:hover {
  opacity: 1;
  cursor: pointer;
}
ul.news-history li.active {
  background: #563412;
  color: #f6f1e5;
  cursor: default;
  opacity: 1;
}

.main .news {
  margin: 50px 40px 25px;
}
/* .main .news:nth-child(odd) img{
    float: left;
}
.main .news:nth-child(odd) p{
    float: right;
} */

.main .news h2 > span {
  font-family: "roboto";
  font-size: 13px;
  float: right;
  margin-right: 20px;
}
.main .news h2 > span img {
  margin-left: 20px;
  float: right !important;
}

/* ABOUT */

.about-image {
  max-width: 32%;
  vertical-align: top;
}

.about-image-right {
  float: right;
  padding-left: 20px;
}

.about-image-left {
  float: left;
  padding-right: 20px;
}

/* DOGS */

.dogs {
  display: flex;
  flex-flow: wrap;
  max-width: 1000px;
  vertical-align: top;
  align-items: center;
}
.dogs.litters {
  display: block;
}
.dogs .dog {
  margin: 10px auto;
  padding: 20px;
  position: relative;
  align-self: flex-start;
  max-width: 330px !important;
  min-width: 33%;
  height: auto;
}
.dogs .dog img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}
.dogs .dog:not(.parent) {
  /* overrides */
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}
.dogs .dog a {
  border-radius: 3px;
  overflow: hidden;
  display: block;
  max-height: 330px;
  max-width: 330px;
}
.dogs .dog a p {
  font-size: 37px;
  color: #f0d0a7;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 40px);
  z-index: 3;
  opacity: 0;
  transition: all 0.2s;
}
.dogs .dog a div {
  background-position: 50% 50% !important;
  background-size: cover !important;
  width: 330px;
  height: 330px;
  transform: scale(1);
  border-radius: 5px;
  transition: filter 0.2s, transform 0.3s;
}
.dogs .dog a:hover > div {
  filter: blur(3px);
  transform: scale(1.2);
}

.dogs .dog a div.rip {
  background-position: 50% 50% !important;
  background-size: cover !important;
  width: 330px;
  height: 330px;
  transform: scale(1);
  filter: grayscale(100%);
  transition: filter 0.2s, transform 0.3s;
}
.dogs .dog a:hover > div.rip {
  filter: blur(3px) grayscale(100%);
  transform: scale(1.2);
}

.dogs .dog a img {
  transition: all 0.2s;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: 317px;
  display: block;
}
.dogs .dog a:hover p {
  opacity: 1;
  text-shadow: 1px 1px 1px black;
}
.dogs .dog a:hover img {
  filter: blur(5px);
  z-index: 2;
  transform: scale(1.2);
}
.dogs.sick .dog a {
  color: #563412;
  display: inline;
  width: calc(49% - 22px);
  line-height: 52px;
  border: 1px solid #5634126b;
  padding: 10px;
  margin: 10px 0;
  background: #f5e7d2;
  transition: all 0.2s;

  /* overrides */
  width: auto;
  padding: 7px 6px;
  min-height: auto;
  height: auto;
  line-height: initial;
  margin: 7px 3px;
  text-align: center;
}
.dogs.sick .dog a:hover {
  background: #563412;
  color: #f5e7d2;
}
.dogs.sick .dog a.inactive-disease {
  background: rgba(0,0,0,.08);
  cursor: not-allowed;
}
.dogs.sick .dog a.inactive-disease:hover {
  background: rgba(0,0,0,.8);
}

.sickness {
  display: none;
}

.dogs h2 {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0;
  text-decoration: underline;
}

.dogs_results {
  margin: 20px 0;
  padding: 40px 40px 10px 40px;
}
.dogs_results table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  margin: 20px 0;
}
.dogs_results table th {
  text-transform: uppercase;
  padding: 2px 0px 2px 20px;
}
.dogs_results table td {
  padding: 5px 0px 5px 20px;
}
.dogs_results table tr:nth-child(odd) td {
  background: #f5e7d2;
}

.dogs_register {
  margin: 20px 0;
  padding: 40px 40px 10px 40px;
}
.dogs_register table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  margin: 20px 0;
}
.dogs_register table tr td span {
  transform: rotate(90deg);
}

img.familtytree {
  width: 100%;
}

/* BIG TEXT */

.big_text {
  margin: 20px 60px 50px;
}
.big_text.about-text {
  line-height: 40px;
  font-size: 20px;
}
.big_text h2 {
  margin: 0 0 30px 0;
}
.big_text-inner {
  margin-bottom: 50px;
}
.about-text img {
  margin: 5px 15px 5px 15px;
  max-width: calc(100% - 30px);
  border-radius: 5px;
}

/* SICK */

.quick-nav {
  position: absolute;
  right: 0;
  top: 50px;
  padding: 10px;
  background: #482400;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.quick-nav a {
  display: block;
  color: white;
}
.quick-nav a:hover {
  color: #f5e7d2;
  text-decoration: underline;
}

/* LITTERS */

.home_news.litters h2 {
  margin-left: 0;
}
.home_news.litters > div {
  min-height: 250px;
  background: #f5e7d2;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #0000002b;
  transition: all 0.2s;
  display: flex;
}
.home_news.litters > div:hover {
  box-shadow: 2px 6px 15px #0000002e;
  cursor: pointer;
  transform: scale(1.01);
}
.home_news.litters.litter-upcoming > div {
  overflow: hidden;
}
.home_news.litters.litter-upcoming div div img {
  margin-top: -100%;
  transform: translateY(50%);
}
.home_news.litters > div > div {
  display: inline-block;
  width: 34%;
  text-align: center;
  vertical-align: middle;
  color: #482400;
}
/* .home_news.litters > div > div img {
  height: 120%;
  width: auto;
  margin-bottom: -4px;
} */
.litter-info {
  justify-content: center;
  margin: auto;
}
.parent-image {
  overflow: hidden;
  position: relative;
}
/* .parent-image img {
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
} */

/* FAQ */

.big_text.faq > div > div {
  border: 1px solid;
  padding: 20px;
  border-radius: 5px;
  background: #f5e7d2;
  margin: 0 auto 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.big_text.faq > div > div:hover {
  background: #563412;
  color: #f5e7d2;
}
.big_text.faq > div > div div {
  padding-top: 20px;
  display: none;
}

/* CONTACT */

.contact-left,
.contact-right {
  width: 100%;
  display: inline-block;
}
.contact-left {
  max-width: 60%;
  padding-top: 50px;
  vertical-align: top;
}
.contact-right {
  max-width: calc(28% - 20px);
  margin-top: 70px;
  margin-left: 10%;
  vertical-align: top;
  background: #f5e7d2;
  border: 1px solid #482c0e4f;
  border-radius: 3px;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.11);
  padding: 10px;
}

.contact-left input,
.contact-left textarea {
  clear: both;
  display: block;
  width: 100%;
  background: #f5e7d2;
  border: 1px solid #482c0e4f;
  border-radius: 3px;
  padding: 8px 5px;
  margin-bottom: 30px;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.11);
  max-width: 100%;
  transition: border 0.3s;
  font-size: 16px;
}

.contact-left input:focus,
.contact-left textarea:focus {
  border: 1px solid rgba(128, 77, 23, 0.83);
}

.contact-left input[type="submit"] {
  width: auto;
  float: right;
  margin-right: -10px;
  padding: 5px 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.contact-left input[type="submit"]:hover {
  background: #563412;
  color: white;
}

.contact-right img {
  margin-top: -50px;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  margin-bottom: 20px;
  border-radius: 100px;
  border: 2px solid #e8d4ca;
}

/* RESCUE */

.rescue {
  transition: all 0.3s;
  margin: 0 20px;
}
.rescue:hover {
  transform: scale(1.05);
}

#mobile,
.mobile {
  display: none !important;
}
@media screen and (max-width: 1000px) {
  #mobile {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    color: white;
    padding: 20px;
    display: block !important;
    width: 30px;
    height: 30px;
  }
  #mobile svg {
    width: 100%;
    height: 100%;
  }
  .main .news_content p {
    max-width: 100%;
    width: 100%;
    display: block;
  }
  .main .news_content img {
    float: none;
    width: 100%;
    max-width: calc(100% - 30px);
    margin-bottom: 20px;
  }

  .sidebar {
    display: block !important;
    position: fixed;
    left: -100%;
    height: 100vh;
    transition: all 0.2s;
  }
  .sidebar.mobile {
    left: 0%;
  }
  .sidebar ul li:hover:after,
  .sidebar ul li.active:after {
    opacity: 0 !important;
  }
  .dogs_results {
    padding: 0;
  }
  .dogs .dog {
    min-width: initial;
    max-width: initial !important;
  }
  .dogs .dog img {
    width: 100%;
  }

  .contact-left input,
  .contact-left textarea {
    max-width: calc(100% - 10px);
  }

  .contact-left input[type="submit"] {
    margin-right: 0;
  }

  .contact-left {
    max-width: 100%;
    width: 100%;
    padding-top: 50px;
    vertical-align: top;
  }
  .contact-right {
    max-width: calc(100% - 20px);
    width: 100%;
    margin-left: 0;
    padding: 10px;
    text-align: center;
    background: #f5e7d2;
    border: 1px solid #482c0e4f;
    border-radius: 3px;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.11);
  }
  .contact-right img {
    margin-top: -50px;
    left: 0%;
    position: relative;
    transform: translateX(0%);
    margin-bottom: 20px;
    border-radius: 100px;
    border: 2px solid #e8d4ca;
  }

  /* FIX */
  .home_news,
  .dogs_register,
  .news_content {
    padding: 0px !important;
  }
  .big_text,
  .news,
  h2 {
    margin: 0 !important;
  }
  .news {
    padding-bottom: 20px;
  }
  .main .news_content {
    width: 100%;
  }
  .main .news_content,
  .home_news.litters > div {
    margin-top: 20px;
  }
}
@media screen and (max-width: 800px) {
  .big_text.about-text {
    font-size: 18px;
    line-height: 25px;
  }

  .home_news.litters div div {
    width: 100%;
    clear: both;
  }

  .main .mobile {
    display: none !important;
  }

  .main div.mobile {
    display: block !important;
    height: 100px;
    margin-top: 50px;
    width: 60px;
  }

  .main .mobile img {
    width: 100px !important;
    height: auto;
    display: inline-block !important;
  }

  .home_news.litters.litter-upcoming div div img {
    margin-top: 0%;
    transform: translateY(0%);
  }

  .home_news.litters {
    display: flex;
  }

  .home_news.litters > div {
    display: block;
    width: 100%;
  }

  .home_news.litters > div img {
    display: none;
  }
}
@media screen and (max-width: 650px) {
  .big_text.about-text {
    font-size: 16px;
    line-height: 23px;
  }
}
@media screen and (max-height: 800px) {
  .logo img {
    max-width: calc(80% - 40px);
    padding: 20px 20px;
  }
  .sidebar ul li a {
    /* font-size: 23px; */
    padding: 1px 0;
  }
  .sidebar ul li:after {
    height: 38px;
  }
  .sidebar ul li:last-child {
    margin-top: 10px;
  }
}

@media screen and (max-height: 620px) {
  .sidebar ul li:last-child {
    margin-top: 0;
  }
}
@media screen and (max-width: 450px) {
  .dogs .dog a {
    max-height: 230px;
    max-width: 230px;
  }
  .dogs .dog a div {
    max-height: 230px;
    max-width: 230px;
  }
}
