/*
Theme Name: Plain Child
Description: Plain Child Theme
Author: David Tovt
Author URI: https://themeforest.net/user/davidtovt
Template: plain
Version: 1.0.0
Tags: blog, right-sidebar, custom-background, custom-menu, full-width-template, theme-options, translation-ready

License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
.hide {
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  width: 1px;
}

.accordion {
  background: #000;
  width: 400px;
  
}

.accordion-item {
  position: relative;
  width: 100%;
 
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-label {
  padding: 20px 0 20px 30px;
  width: 100%;
  display: block;
  font-size: 18px;
}
.accordion-label:hover {
  cursor: pointer;
}
.accordion-label:before {
  content: "";
  position: absolute;
  height: 5px;
  width: 5px;
  top: 22px;
  left: 12px;
  display: inline-block;
 
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
input[type=checkbox]:checked ~ .accordion-label:before {
  transform: rotate(90deg);
}

.accordion-child {
  margin: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  height: 0;
  transform: scale(1, 0);
  transform-origin: center top;
}
input[type=checkbox]:checked ~ .accordion-child {
  
  margin: 0 -20px 15px -20px;
 
  
  padding: 30px;
  height: auto;
  opacity: 1;
  transform: scale(1, 1);
}
