/* Frontend accordions styles - added */
.tmp_accordions {
    clear: both;
}

/*-------------------------------------
Edit Interface
-------------------------------------- */
.tmp-edit_content .tmp_accordion{
    margin-bottom: 7px;
}
.tmp-edit_content .tmp_accordions-title,
.tmp-edit_content .plus .content_type_wysiwyg .tmp_accordions-title{
    position: relative;
    font-size: 16px;
    font-weight: bold;
    line-height: 16px;
    color: #444444;
    display: block;
    background: #E2E2E2;
    padding: 12px;
    margin: 0;
}
.tmp-edit_content .tmp_accordions-title:hover,
.tmp-edit_content .tmp_accordion.active .tmp_accordions-title,
.tmp-edit_content .plus .content_type_wysiwyg .tmp_accordion.active .tmp_accordions-title,
.tmp-edit_content .plus .content_type_wysiwyg .tmp_accordions-title:hover{
    background: #444;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    overflow: visible;
    opacity: 1;
}
.tmp-edit_content .tmp_accordions-content{
    display: none;
    padding: 12px 12px 2px;
    border-style: solid;
    border-color: #ddd;
    border-width: 0px 1px 1px;
}
.tmp-edit_content .tmp_accordions-title:after {
    content: '\02795'; 
    font-size: 13px;
    position: absolute;
    right: 15px;
}
.tmp-edit_content .tmp_accordion.active .tmp_accordions-title:after {
    content: "\2796"; 
    color: #fff;
}  

.tmp-edit_settings{
    background: #f2f7fd;
    padding: 10px 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 12px;
}
.tmp-edit_settings:after{
  content: "";
  display: table;
  clear: both;
}
.tmp-edit_setting{
    float: left;
    padding-right: 20px;
}
.tmp-edit_content .sq-wysiwyg-preview-wrapper{
    min-height: 50px;
    cursor: text;
}
.tmp-edit_setting-value{
    display:inline-block;
}
.tmp-edit_content{
    padding: 15px;
}
.tmp-edit_content .tmp_accordions-content .bodycopy_content{
    padding: 10px 15px 1px;
}
.tmp-edit_content .tmp_accordions .tmp_accordions-title span{
    cursor: text;
    padding: 0 12px 0 0;
}
.tmp-edit_content .tmp_accordions .tmp_accordions-title input,
.readOnly .tmp-edit_content .tmp_accordions .tmp_accordions-title > .sq-metadata-contents,
[data-readonly="true"] .tmp-edit_content .tmp_accordions .tmp_accordions-title > .sq-metadata-contents{
    display: none;
}
[data-readonly="true"] .tmp-edit_content .tmp_accordions .tmp_accordions-title span,
.bodycopy_manager_div.readOnly .tmp-edit_content .tmp_accordions .tmp_accordions-title span{
    cursor: default;
}
.tmp-edit_content > .tmp_main-content .bodycopy_content { 
    padding: 0;
    transition: none;
}
.tmp-edit_content .tmp_accordions .tmp_accordions-title .sq-metadata-contents{
    display: inline-block;
}


/*-------------------------------------
Design system styles
-------------------------------------- */
.accordion-group {
    padding: 10px 0 30px 0;
}
.accordion-group .card,
.accordion-group .card.tmp_accordion {
    border: 0;
    border-bottom-style: none;
    border-bottom-width: 0px;
    border-bottom: 1px solid #a2a1a3;
    border-radius: 0;
}
.accordion-group .card-header{
    margin: 0 0 3px 0;
    border: 0;
}
.accordion-group h3 a {
    display: block;
    position: relative;
    background: #fff;
    color: #2C2D65;
    border-radius: 0;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 1rem 2.5rem 1rem 0rem !important;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    margin: 0;
    cursor: pointer !important;
}
.accordion-group h3 a:hover, 
.accordion-group h3 a[aria-expanded=true] {
    background: #fff;
}
.accordion-group h3 a:hover {
    text-decoration: underline;
    color: #454347;
}
.accordion-group h3 a::after {
    content: ' ';
    right: 0;
    position: absolute;
    margin-top: 0.5rem;
    margin-right: 0.9rem;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Cpath fill='%232C2D65' d='M64 0l64 64-16 16-64-64'/%3E%3Cpath fill='%232C2D65' d='M64 0l16 16-64 64L0 64'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 101;
    transition: transform 0.25s ease-in;
    transform: rotate(-180deg);
}
.accordion-group h3 a[aria-expanded="true"]::after {
    content: ' ';
    transform: rotate(0deg);
}
.accordion-group .btn:focus {
    box-shadow: 0 0 0 .2rem rgba(44,45,101,0.5);
}
.accordion-group .card-body {
    padding: 1rem 0;
}






.expand-collapse button {
    background: none;
    border: none;
    color: #1F1F5F;
    border-bottom: 1.3px solid currentColor;
    padding: 0;
    float: right;
    cursor: pointer;
}
.expand-collapse button:hover {
    color: #C33826;
    /*border-bottom: 1.3px solid #ffffff;*/
}
