/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

body {
    background-color: var(--bricks-color-pscnfn)
}

[id] {
  scroll-margin-top: 115px;
}
    
@media(min-width: 1200px) {
    [id] {
      scroll-margin-top: 230px;
    }
}
@media(min-width: 1600px) {
    [id] {
      scroll-margin-top: 160px;
    }
}




#brx-content {
    background-color: #fff;
}

body.bricks-is-frontend :focus-visible {
    outline: none;
}

p {
    margin-block-end: 0;
}

* + p {
  margin-top: 10px; /* check if there is other way */
}

figcaption {
    color: inherit;
    font-size: inherit;
}


.wp-block-table.table-data, 
.table-header, 
.table, 
h1 + ul, 
h2 + ul {
    margin-top: 25px;
    margin-bottom: 0;
}

.brxe-post-content h4:first-child,
.brxe-post-content h1:first-child {
    margin-block-start: 0;
}

h1 + .brxe-text,
h1 + .brxe-text-basic, 
h1 + h2 {
    margin-block-start: 25px;
}

ol + p, 
p + p {
    margin-block-start: 14px;
}

.table + h2, 
.wp-block-image + h2, 
 p + .wp-block-image, 
 p + h2, 
ol + h2, 
ul + h2 {
    margin-top: 50px;
}

h1 + p {
    margin-top: 18px;
}
h2 + p {
  margin-top: 25px;
}

.brxe-post-content h1:first-child {
    margin-top: 0;
}

.brxe-post-content ul {
    list-style-type: disc;
}
.brxe-post-content ul, 
.brxe-post-content ol {
    /* list-style-position: inside; */
    list-style-position: outside;
    padding-left: 56px;
}

/*
.brxe-post-content ul li { list-style-type: none;}
.brxe-post-content ul li:before { content: '\2022 '; margin-left: -40px; }
*/

.brxe-post-content .wp-block-list.list-next-float, 
.brxe-post-content .wp-block-list.clear-both {
    padding-left: 51ch;
}
@media(max-width: 767px) {
    .brxe-post-content .wp-block-list.list-next-float, 
    .brxe-post-content .wp-block-list.clear-both {
        padding-left: 40px;
    }
    .brxe-post-content .wp-block-image .alignleft {
        float: none;
        margin: 0;
    }
    .brxe-post-content .wp-block-image  img {
        width: 100% !important;
    }
    
    .brxe-post-content ul, 
    .brxe-post-content ol {
        padding-left: 40px;
    }
    
}


.brxe-post-content li + li {
    margin-top: 10px;
}

.tab-pane :first-child,
.brxe-post-content .tab-pane ul:first-child , 
.brxe-post-content .tab-title + .tab-pane {
    margin-top: 0;
}
.brxe-post-content .tab-pane ul {
    padding-left: 20px;
}

.brxe-post-content ol + h2,
.brxe-post-content p + h2 {
  margin-top: 50px;
}



.brxe-post-content table  {
    font-size: 16px;
}
.brxe-post-content .wp-block-table thead {
    border-bottom: 0;
    text-align: left;
}
.brxe-post-content .wp-block-table td,
.brxe-post-content .wp-block-table th {
    border: 0;
}

.table > div:nth-child(2n+1), 
.brxe-post-content .wp-block-table tbody tr:nth-child(2n+1) {
    background-color: #eeeeee;
}

.table {
    font-size: 16px;
    line-height: 1.375;
}
@media (max-width: 767px) {
  .table > div {
    padding: 10px 0;
  }
}
.table > div > div {
    padding: 8px 10px;
}

/* Wordpress / Gutenberg */

.brxe-post-content > :last-child {
    margin-block-end: 0;
}
.brxe-post-content .wp-block-image,
.brxe-post-content .wp-block-image .wp-element-caption {
    margin-block-end: 0;
}
.brxe-post-content .wp-block-image .alignleft {
    margin-block-start: 0;
}
.brxe-post-content .wp-block-image .wp-element-caption {
    font-size: 11px; 
}
.brxe-post-content .wp-block-image.caption-align-left .wp-element-caption {
    text-align: left;
}

.brxe-post-content .clear-both:after {
  content: "";
  display: block;
  clear: both;
}

.button-forms-fees {
    margin-block: 60px;
}


.brxe-post-content .wp-block-button .wp-block-button__link {
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  border-radius: 25px;
  background-color: var(--bricks-color-lslvfp);
  color: var(--bricks-color-xapnmw);
  font-size: 18px;
  transition: 0.5s all;
}
.brxe-post-content .wp-block-button .wp-block-button__link:hover {
    background-color: var(--bricks-color-tigehi);
}



.brxe-post-content .wp-block-table.table-data tr:first-child td {
  background: #eee;
}
.brxe-post-content .wp-block-table.table-data table {
    table-layout: initial;
}

.table-data > div:nth-child(2n+1), 
.brxe-post-content .wp-block-table.table-data tbody tr:nth-child(2n+1), 
.brxe-post-content .wp-block-table.table-data td {
    background-color: transparent;
  border: 1px solid #eee;
}
.brxe-post-content .wp-block-table.table-data tr:last-child td:nth-child(2) {
    width: 10%;
}


.important-message {
    font-size: 20px;
}

.hide {
    display: none;
}