
/*#summary{
    width: auto;
    padding: 2rem;
}*/

#summary section.summary_calc{
    width: auto;
}

/*h3,h2,h1{
    font-family: 'inter', sans-serif;
}*/

#summary > header > h2{
    margin-top: -20px;
    padding-bottom: 20px;
}

#summary > header > h3{
    font-weight: 400 !important;
    margin-bottom: 20px;
    margin-top: -20px;
}

#summary > section.summary_calc{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}


#summary > section.summary_calc > article .header{
    padding: 10px;
    /*padding-bottom: 25px;*/
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    text-align: center;
    border-radius: 2px 2px 0 0;
    background: rgba(61, 70, 113, .45);
}


#summary > section.summary_calc > article .header h2,
#summary > section.summary_calc > article .header div{
    margin: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    color: white !important;
}

#summary > section.summary_calc > article .header h2{
    width: 70%;
    font-size: 30px;
}
#summary > section.summary_calc > article .header div{
    width: 30%;
}


#summary > section.summary_calc > article .header h2{
    text-align: left;
}

#summary > section.summary_calc > article .header div.edit_link{
display: flex;
justify-content: flex-end;
align-items: center;
}

#summary > section.summary_calc > article .header div.edit_link span{
    background: rgba(64, 68, 114, .9);
    display: flex;
    width: 85px;
    height: 25px;
    border-radius: 1rem;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    padding: 1px;
    cursor: pointer;
}

#summary > section.summary_calc > article .header div.edit_link span i{
    color: white !important;
    font-size: 10px;
    margin-right: 4px;
}

#summary > section.summary_calc .information_body{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

#summary > section.summary_calc .information_body table{
    margin-top: 1rem;
    margin-right: 4%;
    margin-left: 4%;
    min-width: 250px;
    width: 100%;
}

#summary > section.summary_calc .information_body table#main_table tr th{
    text-align: left;
}
#summary > section.summary_calc .information_body table tr th{
    font-weight: bold;
    background-color: transparent;
}
#summary > section.summary_calc .information_body table tr th,
#summary > section.summary_calc .information_body table tr td{
    font-size: 15px;
    margin: auto;
}

#summary > section.summary_calc .information_body table tbody tr th{
    font-size: 16px !important;
    width: 30%;
}

#summary > section.summary_calc .information_body table#main_table thead tr th::before{
    content: '';
    display: block;
    background-color: #c02426;
    width: 30px;
    height: 2px;
    position: relative;
    bottom: -1.95rem;
    left: -4px;
}
#summary > section.summary_calc .information_body table#main_table{
    width: 25%;
}
#summary > section.summary_calc .information_body table#main_table thead th{
   text-transform: uppercase;
   text-align: left;
   padding-bottom: 10px;
   border-bottom: 1px solid lightgray;
   color: black !important;
   font-size: 20px;
}

#summary > section.summary_calc .information_body table tr td{
    text-align: right;
}

#summary > section.summary_calc .information_body table tbody{
    display: table-row;
}
#summary > section.summary_calc .information_body table tbody tr td{
    width: 60%;
}

#summary > section.summary_calc .information_body table tbody tr{
    display: flex;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
}

#summary > section.summary_calc .information_body table tbody tr:last-child{
    margin-bottom: 2rem;
}

#summary > section.summary_calc .information_body table tbody th,
#summary > section.summary_calc .information_body table tbody td{
 /*width: 50%;*/
 color: black !important;
}

#summary > section.summary_calc.second .information_body table{
    min-width: 300px;
    width: 100%;
    margin-right: auto;
    margin-left: 30px;
}

#summary > section.second:nth-child(2) .information_body table{
    margin-left: 45px;
}

#summary > section.summary_calc.second .information_body table tbody th,
#summary > section.summary_calc.second .information_body table tbody td{
    text-align: left;
}

#summary > section.summary_calc.second .information_body table #price_th{
    font-size: 27px !important;
    font-weight: 400;
    width: 30%;
}

#summary > section.summary_calc.second .information_body table #price_td{
    font-size: 27px !important;
    font-weight: bolder;
    color: #c02426 !important;
}

#summary footer.summary_calc{
    margin-top: 2rem;
	display: flex;
	padding-left: 2rem;
	padding-right: 2rem;
}

#summary footer.summary_calc button{
    padding: 1rem;
    width: 150px;
    border: none;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin: clamp(2rem);
    margin-top: 0;
    line-height: 100%;
}

#summary footer.summary_calc button#back{
    background: rgba(64, 68, 114, .4);
	margin-right: auto;
}

#summary footer.summary_calc button#save{
    background: #c02426;
	margin-left: auto;
}

#summary_surcharges .row {
    margin-left: 0 !important;
  }

@media only screen and (max-width: 860px) {
    #summary > section.summary_calc .information_body {
      flex-direction: column
    }

	#summary footer.summary_calc{
		padding: 0;
	}
    #summary header{
        height: auto !important;
    }
  }

  .prev-tab.mover{
      height: 40px !important;
  }
  .tab-nav{
      align-items: center;
  }

  button[name="review_proceed_form"]{
    padding: 0 20px !important;
    background: #c02426 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
  }

   button[name="review_proceed_form"]:hover{
    background: #c02426 !important;
  }

  button[name="review_proceed_form"]:disabled{
    opacity: 0.2;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none !important;
  }

  #ui-id-4.disabled{
    pointer-events: none;
  }

  td#summary-tables-container table {
    margin-left: 0px !important;
    padding: 10px 0px;
  }

  td#summary-tables-container table th {
    padding: 20px 10px 20px 10px   !important;
  }

  td#summary-tables-container table td {
    padding: 0px !important;
  }
  td#summary-tables-container table tbody tr:last-child {
  margin-bottom: 0rem !important;
  }



  .additionl-products-elements {
    margin-top: 20px;
    margin-bottom: 20px;
}

.additionl-products-elements > div {
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.additionl-products-elements p {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.additionl-products-elements .span-re {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.additionl-products-elements select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease-in-out;
}

.additionl-products-elements select:focus {
    border-color: #007bff;
    outline: none;
}

.additionl-products-elements .term-select:disabled {
    background: #e9ecef;
    cursor: not-allowed;
}

.additionl-products-elements .loss-codes-container {
    margin-top: 15px;
    padding: 10px;
    /* background: #fff; */
    /* border-radius: 8px; */
    /* border: 1px solid #ddd; */
}

.additionl-products-elements .loss-code-input {
    accent-color: #007bff;
    transform: scale(1.1);
}

.additionl-products-elements label.d-flex {
    align-items: center;
    font-size: 14px;
    margin-bottom: 5px;
    cursor: pointer;
}

.additionl-products-elements input[type="checkbox"]:checked ~ .row {
    opacity: 1;
    max-height: 500px;
}
