.calc-body {
    font-family: 'Avenir';
/*    background: #303178; */
    background: #4a7ef6;
  }

/* Calculator header */

@keyframes fadeLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.calc-header {
  width: 100%;
  background: transparent;
  animation: fadeLoad 1.5s;
}

.calc-header-info {
  display: flex;
    flex-direction: column;
    align-items: center;
/*  padding-top: 30px;*/
  max-width: 820px;
  margin: 0px auto;
}

@keyframes calcInfo {
  from {
    opacity: 0;
    transform: translateY(-200px);
  }
  25% {
    opacity: 0;
    transform: translateY(-200px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}


.calc-header-logo {
  width: 173px;
  margin-bottom: 15px;
}

.calc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 20px;
}

@keyframes embedBtnPopup {
  0% {
    transform: translateX(300px);
    opacity: 0;
  }
  85% {
    transform: translateX(300px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

.calc-header-btn {
  padding: 12px 18px;
  color: white;
  background: #1977c555;
  backdrop-filter: blur(8px);
  border: 1px solid #3989cc66;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.5s, opacity 0.5s, background 0.5s;
  position: fixed;
  top: 1em;
  right: 1em;
  font-size: 16px;
}

.calc-header-btn:hover {
  background: #4390cf;
}

@media(max-width: 600px) {
  .calc-header-btn {
    display: none;
  }
}

@keyframes calcMain {
  from {
    transform: scale(1) translateY(-200px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }
}

.calc-main {
  width: 100%;
  margin: 45px 0px 0px;
  background: #140e2f;
  border-radius: 24px;
/*  padding: 70px 50px;*/
padding: 70px 50px 70px 35px;
  max-width: 1200px;
  overflow: none;
}

.calc-header-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}

.calc-header-col {
/*  min-width: 412px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 50%;
}

/*.calc-header-col:first-child {
  margin-bottom: 2em;
  width: 60%;
}
.calc-header-col:last-child {
  width: 40%;
}*/

.calc-header-title {
  font-style: normal;
  font-weight: 600;
  font-size: 45px;
  line-height: 125%;
  text-align: center;
  color: #ffffff;
  margin-bottom: 0;
}

.calc-header-subtitle {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  padding: 0px 40px;
}

.calc-header-subtitle-number {
  font-size: 37px;
  line-height: 44px;
  text-shadow: 1px 1px 40px rgba(22, 23, 31, 1);
  font-weight: 900;
}

.calc-form-group {
  margin-bottom: 1em;
}

.bathrooms-desktop {
  display: block;
}

.bathrooms-responsive {
  /* display: none; */
}
/**CHECKBOX SETTINGS**/
.calc-form-label{
    cursor: pointer;
}
.input_calc{
    display: none;
}
.calc-form-label .text p{
    line-height: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    padding-bottom: 8px;
}
.calc-form-label .calc_icon{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-radius: 8px;
    background: rgba(82,97,107,0.6);
    transition: all 300ms;
    min-height: 100px;
}
.calc-form-label .calc_icon:hover{
    background: rgba(74, 126, 246, 0.7);
}

.calc-form-label .calc_icon img{
    max-width: 50px;
    max-height: 50px;
    line-height: 1;
    text-align: center;
}
.calc-form-label .calc_icon img:before{
    line-height: 1;
    font-size: 12px;
}
 .input_calc[type=checkbox]:checked + label .calc_icon {
    background: #4a7ef6;
}
.calc-form-col {
  display: flex;
  padding-bottom: 10px;
}


/* Calculator form */

.calc-card {
  width: 100%;
  padding: 14px 30px;
  max-height: fit-content;
/*          background: #241c4e;*/
    background: #4a7ef6 !important;
  border-radius: 12px;
}

.calc-card:first-child {
  padding: 30px 30px;
  margin-bottom: 26px;
}

.calc-form {
  width: 100%;
}
.calc-form-col.select_calc{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.calc-form-col.checkbox_calc{
    flex-wrap: wrap;
}
.checkbox_calc .calc-form-group{
    width: 33.3333%;
}
.select_calc_group .calc-form-group{
    padding: 0;
}
.select_calc_group{
    padding: 0 15px;
    width: 50%;
}
.select_calc_group:last-child{
    width: 100%;
}
.select_calc_group:last-child .calc-form-group{
    width: 100%;
    max-width: 100%;
}
.calc-form-row {
  width: 100%;
  display: flex;
/*  justify-content: space-evenly;*/
    justify-content: space-between;
    flex-direction: column;
}
.calc-form-row>div{
    width: 100%;
}


.calc-form-group {
    max-width: 100%;
/*    margin: 0px 76px 30px 0px;*/
    padding: 0 15px;
}

.calc-form-select {
  width: 100%;
  height: 48px;
  font-size: 16px;
  line-height: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
  font-style: normal;
  font-weight: 400;
  color: #f9f9f9;
  font-family: inherit;
  background-image: url('https://onedesk.netlify.app/select-arrow.svg');
  background-repeat: no-repeat;
  -webkit-appearance: none;
  background-position-x: 180px;
  background-position-y: 20px;
  padding: 10px 12px;
  border: 1px solid #2f2f2f;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: transparent;
  transition: 0.25s;
}
.calc-form-select option{
	background-color:blue;
}
.no-arrow {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
  padding: 0 50px 0 45px;
  background-image: none;
}

.calc-increment-decrement-wrapper {
  position: relative;
}

.calc-select-btn {
  width: 20px;
  height: 20px;
  background: #4390cf;
  border-radius: 10px;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 0px;
  color: #140e2f;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
  user-select: none;
}

.calc-select-btn.decrement {
  left: 12px;
}

.calc-select-btn.increment {
  right: 12px;
}

.calc-form-label {
  margin-bottom: 8px;
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

/* Total section */

.total-label {
  font-family: 'Inter', sans-serif;
  margin-top: 0px;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.total-amount {
/*  font-family: 'Inter', sans-serif;*/
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 46px;
  color: #ffffff;
  margin: 0px;
}

.total-table-wrapper {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.total-table {
  border-collapse: collapse;
  width: 100%;
  font-style: normal;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.0015em;
  color: #000;
  background: #4a7ef6 !important;
}

.total-table-header {
  line-height: 20px;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  background: #4a7ef6 !important;
}

.total-table td,
.total-table th {
  text-align: left;
  padding: 12px 0px;
}

.total-table tr {
  background: transparent;
}

.total-table tr td:nth-child(1) {
  opacity: 0.8;
}

.total-table tr td:nth-child(2),
.total-table tr th:nth-child(2) {
  text-align: right !important;
  font-weight: 600;
}
/**STYLE CALC FOR POST '/layouts/cost-calculator-post' **/
.calc-body.calc_post{
    background: #fff;
    padding: 0;
}
.calc_post .container{
    padding: 0;
}
.calc_post .calc-header-inner {
  padding: 0;
}
.calc_post .calc-main {
  margin: 0;
  padding: 25px 0 25px 0;
}
.calc_post .calc-header-row {
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.calc_post .calc-header-col {
  min-width: 100%;
  width: 100%;
}
.calc_post .calc-form-label .text p {
  line-height: 1 !important;
}
.calc_post .checkbox_calc .calc-form-group {
  width: 50%;
}
.calc_post .calc-header-col:nth-child(2){
    padding-left: 15px;
    padding-right: 15px;
}
@media (max-width: 1160px) {
    .checkbox_calc .calc-form-group {
    width: 50%;
  }
}

@media (max-width: 978px) {
  .calc-main {
    padding: 40px 30px;
  }
  .calc-header-row {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .calc-header-col {
    max-width: 500px;
    width: 100%;
  }
  .calc-header-col:last-child{
      padding: 0 15px;
  }
  .select_calc_group {
    width: 100%;
  }
}
@media (max-width: 768px) {
    .checkbox_calc .calc-form-group {
        width: 100%;
      }
    .calc-form-label .text p{
        font-size: 13px;
    }
    .calc-form-row {
        flex-direction: column;
        align-items: center;
    }
    .calc-form-group {
        max-width: 100%;
        margin: 0px 0px 10px 0px;
    }
    .calc-form-select {
        width: 100%;
    }
    .calc-main {
        padding: 30px 15px;
      }
    .calc-header-inner {
        padding: 0 0px;
    }
    .calc-card {
        padding: 14px 15px;
    }
}

@media (max-width: 600px) {
  .calc-header-col {
    min-width: 100%;
  }
  .calc-header-title {
    font-size: 30px;
  }

  .calc-header-subtitle {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 0px;
  }

  .calc-header-subtitle-number {
    font-size: inherit;
    line-height: inherit;
  }
  .calc_post .checkbox_calc .calc-form-group {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .calc-form-row {
    flex-direction: column;
    align-items: center;
  }

  .bathrooms-desktop {
    display: none;
  }

  .bathrooms-responsive {
    display: block;
  }
}



@media (max-width: 480px) {
  .calc-form-row {
    flex-direction: column;
  }
  .total-amount {
    font-size: 32px;
    line-height: 1.2;
  }
}