/*

Theme Name: Salient Child Theme

Description: This is a custom child theme for Salient

Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266

Author: ThemeNectar

Author URI:  https://themeforest.net/user/themenectar

Template: salient

Version: 1.0

*/

:root {
  --primary: #f6f6f6;
  --secondary: #ff5252;
  --background: #eee;
  --highlight: #ffda79;
  /* Theme color */
  --theme: var(--primary);
}
/* *, *::before, *::after {
    box-sizing: border-box;
  }
  body {
    display: grid;
    place-content: center;
    grid-template-columns: repeat(auto-fit, min(100%, 30rem));
    min-height: 100vh;
    place-items: start;
    gap: 1rem;
    margin: 0;
    padding: 1rem;
    color: var(--primary);
    background: var(--background);
  } */

/* Core styles/functionality */
.tab {
  position: relative;
}
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}
.tab input:checked ~ .tab__content {
  max-height: none;
  height: auto;
}

/* Visual styles */
.accordion {
  color: #676767;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 10px;
}
.tab__label,
.tab__close {
  display: flex;
  color: #676767;
  font-weight: 600;
  background: var(--theme);
  cursor: pointer;
}
.tab__label {
  justify-content: space-between;
  padding: 1rem;
}
.tab__label::after {
  content: "\276F";
  width: 1em;
  /* height: 1em; */
  height: auto;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.tab input:checked + .tab__label::after {
  transform: rotate(270deg);
}
.tab__content p {
  margin: 0;
  padding: 1rem;
}
.tab__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}
.accordion--radio {
  --theme: var(--secondary);
}

/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
  animation: bounce 0.5s infinite;
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(0.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-0.25rem);
  }
}


.nectar-social.fixed {
    position: fixed;
    left: 50px;
    bottom: 27px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    z-index: 1000;
}

a#to-top {
    right: auto;
    left: 10px;
    bottom: 13px;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
.nectar-social.fixed {
    bottom: 12px;
}
a#to-top {
    bottom: -2px;
}
}
