/* ===== Custom FAQ ===== */

.custom-faq {
    margin: 30px 0;
}

.custom-faq .panel {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 15px;
    overflow: hidden;
    transition: .25s ease;
}

.custom-faq .panel:hover {
    border-color: #d1d5db;
}

.custom-faq .panel-heading {
    padding: 0;
    background: #fff;
    border: 0;
}

.custom-faq .panel-title {
    margin: 0;
}

.custom-faq .panel-title a {
    position: relative;
    display: block;
    padding: 18px 55px 18px 20px;
    color: #222;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: .25s;
	outline:none;
}

.custom-faq .panel-title a:hover,
.custom-faq .panel-title a:focus {
    color: #000;
    text-decoration: none;
}

/* Chevron */

.custom-faq .panel-title a::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-60%) rotate(45deg);
    transition: transform .25s ease;
}

/* Rotate when open */

.custom-faq .panel-title a[aria-expanded="true"]::after {
    transform: translateY(-40%) rotate(-135deg);
}

/* Body */

.custom-faq .panel-body {
    padding: 20px;
    border-top: 1px solid #eee !important;
    line-height: 1.8;
}

.custom-faq .panel-body p:last-child {
    margin-bottom: 0;
}

.custom-faq .panel-title a[aria-expanded="false"] {background-color: #1e1666;color:#fff;}

.custom-faq .panel-title a:after {
    border-color: #fff !important;
}

.custom-faq .panel-title a[aria-expanded="false"]:hover, .custom-faq .panel-title a[aria-expanded="true"]:focus {
    background-color: #fff;
	color:#333;
}
.custom-faq .panel-title a:hover::after,
.custom-faq .panel-title a[aria-expanded="true"]::after,
.custom-faq .panel-title a:focus[aria-expanded="true"]::after {
    border-color: #000 !important;
}

/* Mobile */

@media (max-width:768px){

    .custom-faq .panel-title a{
        font-size:16px;
        padding:15px 45px 15px 15px;
    }

}