/*
 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
*/
@media(min-width: 1024px){
  .wp-block-edd-checkout{
    gap: 3rem;
    grid-template-columns: repeat(12,minmax(0,1fr));
  }
  .wp-block-edd-checkout > p{
    grid-area: 1/1/2/13;
  }
  .edd-blocks-form__cart{
    grid-column: span 5;
  }
  #edd_sl_renewal_form{
    grid-column: span 5/span 5;
  }
  .edd-blocks-form__purchase{
    grid-column: span 7/span 7;
    grid-row: span 3/span 3;
    order: -99;
  }
}


/*Reset*/
fieldset{
	padding: 0; border:0;
}
label{
	color: #111;
  font-size: 14px;
  font-weight: 500;
}
ul,ol{
	list-style-position: inside;
	margin: 20px 0 20px 20px;
}
#edd-show-privacy-policy,
#edd_checkout_user_info{
	display: none;
}
.edd-privacy-policy-agreement{
	display: flex;
}
#edd-agree-to-privacy-policy{
	margin-right: 5px;
}

/*Purchase button*/
.edd-submit{
  background-color: #e5e5e5;
  color: #404040;
  border-radius: 4px;
  font-weight: 800;
  padding: 12px 24px;
  text-align: center;
  border:0;
}

#edd-purchase-button,
#paddle_pay_now_btn{
  background-color: #2049e1;
  color: #fff;
  border-radius: 4px;
  font-weight: 800;
  padding: 12px 0px;
  text-align: center;
  border:0;
  width: 100%;
  display: block;
  margin-top: 10px;
}
#edd_sl_show_renewal_form{
	font-size: 14px;
  width: 100%;
}

/*Cart*/
.edd-blocks-form__cart #edd_checkout_cart{
	border-radius: 4px;
  box-shadow: 0 2px 6px #f5f5f5;
}
.edd-blocks-form__cart .edd-blocks-cart__row-footer{
	background: #fafafa;
}

/*Profile page*/
#edd_profile_editor_form fieldset{
	margin-bottom: 28px;
	padding: 15px;
	box-shadow: 0 5px 15px #e5e5e5;
	border-radius: 4px;
}
#edd_profile_editor_form fieldset legend{
	padding: 0 12px;
	font-weight: 500;
	background: #e5e5e5;
	border-radius: 4px;
}
#edd_profile_editor_form #edd_profile_submit_fieldset{
	padding: 0;
	box-shadow: none;
}
/* Purchase history page */
.edd-blocks-orders__order-details a{
    padding: 3px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 5px;
    font-size: 14px;
}
/* License and subscription table*/
.edd-page table{
	border-collapse: collapse;
	table-layout: auto;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	margin-top: 32px;
	margin-bottom: 20px;
}
.edd-page table th{
	font-weight: 500;
	padding: 8px;
	border-bottom: 1px solid #e5e5e5;
}
.edd-page table td{
	padding: 8px;
	border-bottom: 1px solid #e5e5e5;
}
.edd-page table td a{
	background-color: #e5e5e5;
  	color: #404040;
	border-radius: 4px;
	font-weight: 600;
	font-size: 12px;
  	padding: 6px 12px;
	text-align: center;
}