/*
**
**** Global ****
**
*/

:root {
  --mainColor: #61bf1a;
  --secColor: #5f5e94;
  --thirdColor: #A05EB5;
  --fontColor: #000000;
  --secFontColor: #484848;
  --bgColor: #b7b0dc;

  --bodyFont: Arial, Helvetica, sans-serif;
  --headingFont: "Times New Roman", Times, serif;
}

body {
  font-size: 14px;
  font-family: var(--bodyFont);
}

h1,h2,h3,h4,h5,h6, .title, .subtitle {
  font-weight: bold;
  font-family: var(--headingFont);
}

a {
    color: var(--thirdColor);
    text-decoration: none;
}

a:hover {
    color: var(--mainColor);
    text-decoration: none;
}

hr {
	border-top: 1.5px dotted #873695;
}

/*
**
**** Navbar ****
**
*/

.top-header .top-line {
  height: 15px;
  background-color: var(--mainColor);
}

.navbar {
  z-index: 999;
}

.navbar a.nav-link:hover {
  color: var(--mainColor);
}

.navbar .navbar-brand {
  width: 224px;
}

.navbar .nav-right-content .links, .navbar .nav-right-content a {
  color: var(--secFontColor);
  transition: color 0.15s linear;
}

.navbar .title {
  color: var(--thirdColor);
  font-size: 16px;
  margin-bottom: 11px;
}

.navbar .subtitle {
  color: var(--secFontColor);
}

.navbar .btm-navbar {
  background-color: var(--secColor);
}

.navbar .btm-navbar .nav-item {
  border-radius: 5px;
}

.navbar .btm-navbar a {
  color: #fff;
  padding: 5px 0;
  margin-right: 0.5rem;
}

.navbar .btm-navbar .left-content .nav-item a {
  margin: 0 5px;
  border-radius: 5px;
  transition: background-color 0.15s linear;
}

.navbar .btm-navbar .left-content .nav-item a:hover {
  color: #fff;
  background-color: rgba(0,0,0,0.25);
}

.navbar .btm-navbar .left-content .nav-item:not(:last-child)::after {
  content: '';
  display: block;
  height: 14px;
  width: 1px;
  border-right: 1px solid #fff;
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
}

.social-icons {
  color: #fff;
  padding: 2px 0;
}

.navbar .social-icons a {
  width: 27px;
  height: 27px;
  background-color: #fff;
  color: var(--secColor);
  border-radius: 100%;
  text-align: center;
  font-size: 17px;
  transition: all 0.15s linear;
}

.navbar .social-icons a:hover {
  color: #fff;
  background-color: var(--mainColor);
}

.navbar .social-icons .nav-item:last-child a {
  margin-right: 0px;
}

.navbar .navbar-toggler {
  width: 37px;
  height: 28px;
  border: 1px solid #fff;
  padding: 5px 5px;
  margin-bottom: 1px;
  box-shadow: none;
  outline: none;
}

.navbar .navbar-toggler-icon {
  display: block;
  height: 2px;
  background-color: #fff;
  transition: all 0.25s ease-in-out;
}

/*
**
**** Header ****
**
*/

.header-section-top-pill {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('https://nickerdoodles.net/images/hide-a-pill-top.jpg');
  height: 202px;
  border-bottom: 10px solid var(--mainColor);
}

.header-section-top {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('https://nickerdoodles.net/images/horse-treats-top.jpg');
  height: 202px;
  border-bottom: 10px solid var(--mainColor);
}

.header-section {
  width: 100%;
  height: 602px;
}

.header-section .overlay {
  position: relative;
  background-color: rgba(0,0,0,.1);
}

.header-section .heading {
  color: #fff;
}

.header-section .heading h1 {
  padding-top: 10px;
  text-shadow: -2px 2px 7px #000;
  font-size: 60px;
  line-height: 65px;
}

.header-section .heading span {
  font-size: 48px;
}

.header-section .pic {
  margin-left: 22px;
  animation: product-move 1.7s infinite linear;
}

@keyframes product-move {
  0% {transform: translateY(0px);}
  25% {transform: translateY(0px);}
  50% {transform: translateY(0px);}
  75% {transform: translateY(0px);}
  100% {transform: translateY(0px);}
}

.header-section .pic .tag {
  width: 145px;
  top: 48%;
  left: -23%;
}
.header-section .pic .product {
  width: 235px;
}

.header-section .container {
  z-index: 99;
}

.header-section .header-slides .slide-img {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
}

@media screen and (max-width: 767px) {
	.header-section .header-slides .slide-img {
	  width: 320%;
	  background-position: left center;
	}
}

.header-section .header-slides {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.header-section .header-slides .slide-img:first-child,
.header-section .header-slides .slide-img.active {
  z-index: 1;
  opacity: 1;
}

.header-section .header-slides .slide-img.oldslide {
  z-index: 2;
  opacity: 0;
  animation: fadeSlide 1s linear;
}

@keyframes fadeSlide {
  0% {opacity: 1;}
  100% {opacity: 0;}
}

.header-section .header-slides .slide-img:nth-child(1) { /* Slide 1 */
  background-image: url('https://nickerdoodles.net/images/horse-treats.jpg');
}

.header-section .header-slides .slide-img:nth-child(2) { /* Slide 2 */
  background-image: url('https://nickerdoodles.net/images/horse-ingredients.jpg');
}


/*
**
**** Features ****
**
*/

.features-section {
  padding: 5px 0;
  background-color: var(--mainColor);
}

.features-section .container {
  padding: 0 25px;
}

.features-section .feature:not(:last-child) {
  border-right: 3px solid rgba(255,255,255,0.5);
}

.features-section .feature > div {
  padding: 8px 0;
}

.features-section .feature-icon {
  flex: 0 0 80px;
  width: 80px;
}

.features-section .feature-text {
  padding-left: 15px;
}

.features-section .title-text {
  font-size: 16px;
}

.features-section .feature-text a {
  color: #212529;
}

/*
**
**** About ****
**
*/

.about-section {
  background-color: var(--bgColor);
}

.about-section .container {
  padding: 25px 25px 25px 25px;
  background-color: #fff;
}

.about-section .pic {
  max-width: 270px;
  width: 100%;
}

.about-section .pic-fam {
  max-width: 400px;
  width: 100%;
}

.about-section .title-text {
  font-size: 24px;
}

.about-section .btm-content .title-text {
  font-size: 18px;
}

.about-section .btm-content .title {
  color: #000;
}

.about-section .quote-content {
  font-size: 16px;
  border-radius: 15px;
  background-color: #dbd7ed;
  padding: 6px;
  margin-top: 6px;
}

.about-section .quote-content .icon {
  font-size: 26px;
  display: inline-block;
  line-height: 0;
  color: var(--secColor);
}

.about-section .quote-content .title {
  padding: 0 8px;
}

.about-section .btm-content .left-content {
  border-right: 1px solid var(--secColor);
  padding: 0 25px 12px 15px;
}

.about-section .btm-content .right-content {
  padding-left: 25px;
}

.about-section .news-content .news-title {
  text-decoration: none;
  font-weight: bold;
  color: var(--secColor);
  transition: color 0.15s linear;
}

.about-section .news-content .news-title:hover {
  color: var(--mainColor);
}

.about-section .bg-btm {
  width: 100%;
  background-size: contain;
  background-repeat: repeat;
  background-position: center center;
  background-image: url('../images/bg_dots.gif');
  height: 32px;
}

/*
**
**** Footer ****
**
*/

.footer-section {
  color: var(--fontColor);
  background-color: var(--bgColor);
}

.footer-section .container {
  padding: 25px 25px 100px 25px;
}

.footer-section .navbar-nav .nav-link {
  display: inline-block;
  padding: 0;
  margin: 3px 0;
  color: var(--fontColor);
  transition: color 0.15s linear;
}

.footer-section .navbar-nav .nav-link:hover {
  color: var(--secColor);
}

.footer-section .row > div:not(:last-child) {
  border-right: 1px solid var(--secColor);
  padding-right: 25px;
}

.footer-section .row > div:not(:first-child) {
  padding-left: 25px;
}

.footer-section .sub-form .btn {
  padding: 8px 18px;
  background-color: var(--mainColor);
  outline: none;
  border: none;
  color: #fff;
  border-radius: 10px;
}

.footer-section .sub-form .btn:hover {
  background-color: #4b9b0f;
}

.footer-section .sub-form .form-control {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.3);
  font-size: 15px;
}

/*
**
**** Responsive ****
**
*/

@media only screen and (max-width: 1199px) {
  .features-section .feature-icon {
    flex: 0 0 70px;
    width: 70px;
  }
  .features-section .feature-text {
    padding-left: 10px;
  }
  .features-section .feature:not(:last-child) {
    border-right: 2px solid rgba(255,255,255,0.5);
  }
  .features-section .container {
    padding: 0px 15px;
  }
  .footer-section .row > div:not(:first-child) {
    padding-left: 15px;
  }
  .footer-section .row > div:not(:last-child) {
    padding-right: 15px;
  }
  .footer-section .sub-form .form-control {
    max-width: 160px;
    width: 100%;
  }
}

@media only screen and (max-width: 991px) {
  .navbar .btm-navbar .left-content .nav-item a {
    margin: 0 3px;
    padding: 4px;
  }
  .header-section {
    height: 570px;
  }
  .header-section .heading h1 {
    font-size: 48px;
    line-height: 55px;
  }
  .header-section .heading span {
    font-size: 34px;
  }
  .header-section .pic {
    margin-left: 0px;
  }
  .header-section .pic .product {
    width: 200px;
  }
  .header-section .pic .tag {
    width: 120px;
  }
  .features-section .title-text {
    font-size: 15px;
  }
  .features-section .container .row > div {
    padding: 0 10px;
  }
  .features-section .feature-icon {
    flex: 0 0 60px;
    width: 60px;
  }
  .about-section .bg-btm {
    height: 23px;
  }
  .footer-section .links-list .navbar-nav:not(:last-child) {
    padding-right: 40px;
  }
  .footer-section .sub-form .form-control {
    width: 100%;
    max-width: 100%;
  }
  .footer-section .sub-form .btn {
    width: 100%;
    margin-top: 7px;
  }
}

@media only screen and (max-width: 767px) {
  .navbar .btm-navbar .left-content .nav-item a {
    padding-left: 0px;
    transition: padding-left 0.15s ease-in-out;
  }
  .navbar .btm-navbar .left-content .nav-item a:hover {
    padding-left: 15px;
  }
  .navbar .social-icons a {
    margin-right: 4px;
  }
  .navbar .mob-btn {
    color: #fff;
    font-size: 11px;
    width: 37px;
    padding: 8px 0 4px 0;
  }
  .navbar .navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translate(0.5px, 7px) rotate(45deg);
  }
  .navbar .navbar-toggler:not(.collapsed) span:nth-child(2) {
    display: none;
  }
  .navbar .navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translate(-0.5px, -7px) rotate(-45deg);
  }
  .navbar .navbar-toggler:not(.collapsed) {
    border-color: var(--mainColor);
  }
  .navbar .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-color: var(--mainColor);
  }
  .navbar .btm-navbar .left-content .nav-item:not(:last-child)::after {
    display: none;
  }
  .navbar .btm-navbar .navbar-collapse {
    position: absolute;
    width: 100%;
    left: 0px;
    right: 0px;
    background-color: var(--secColor);
    border-top: 1px solid rgb(255, 255, 255);
    z-index: 99;
  }
  .navbar .btm-navbar .navbar-collapse .navbar-nav {
    max-width: 540px;
    margin: 0 auto;
    padding: 0 15px;
  }
  .top-header .top-line {
    height: 10px;
  }
  .header-section .container {
    flex-wrap: wrap;
  }
  .header-section .heading h1 {
    text-align: center;
    margin-bottom: 15px;
  }
  .header-section .pic .product {
    width: 165px;
  }
  .header-section .pic .tag {
    width: 105px;
  }
  .features-section .feature:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
  }
  .about-section .btm-content .left-content {
    position: relative;
    border-right: none;
    margin-bottom: 20px;
    padding-right: 15px;
    padding-bottom: 16px;
  }
  .about-section .btm-content .left-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: calc(100% - 30px);
    height: 1px;
    background-color: var(--secColor);
  }
  .about-section .btm-content .right-content {
    padding-left: 15px;
  }
  .footer-section .row > div:not(:last-child) {
    border-right: none;
  }
  .footer-section .footer-links {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    order: 2;
  }
  .footer-section .sub-content {
    order: 1;
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  .footer-section .copyright-content {
    order: 3;
    text-align: center;
  }
  .footer-section .sub-content::after,
  .footer-section .footer-links::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: calc(100% - 30px);
    height: 1px;
    background-color: var(--secColor);
  }
  .footer-section .container {
    padding: 25px;
  }
}

@media only screen and (max-width: 575px) {
  .navbar .top-navbar .navbar-brand {
    width: 180px;
    margin: 0px auto;
  }
  .top-header .top-line {
    height: 8px;
  }
  .navbar .nav-right-content .links a {
    padding-top: 5px;
  }
  .navbar .nav-right-content .links span {
    display: inline-block;
    margin-bottom: 4px;
  }
  .header-section .heading h1 {
    font-size: 38px;
    line-height: 43px;
    white-space: normal;
  }
  .header-section .heading span {
    font-size: 30px;
  }
  .header-section {
    height: 510px;
  }
  .header-section .pic .product {
    width: 155px;
  }
  .header-section .pic .tag {
    width: 95px;
  }
  .about-section .top-content {
    padding-bottom: 20px;
  }
}

@media only screen and (max-width: 450px) {
  .header-section .heading h1 {
    font-size: 32px;
    line-height: 39px;
  }
  .header-section .heading span {
    font-size: 26px;
  }
  .header-section .pic .product {
    width: 135px;
  }
  .header-section .pic .tag {
    width: 90px;
  }
  .about-section .container {
    padding-bottom: 35px;
  }
  .about-section .bg-btm {
    height: 20px;
  }
}