/*
Theme Name:     Optiblend-Child
Description:    
Author:         admin
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


/*--------------- Social for custom footer
----------------------------------------------------------------------------------*/

.footer_custom.et_pb_section {
    padding: 0 !important;
}

/**** Row Widget Custom ****/
.footer-widget .fwidget {
    min-width: 100% !important;
}

#footer-widgets {
    padding: 3% 0 0 !important;
}

#footer-widgets .footer-widget li:before {
    content: none !important;
}

#footer-widgets .footer-widget li {
    padding-left: 0px !important;
}

/*--------------- Footer 3-4 Layout
----------------------------------------------------------------------------------*/

#main-footer .container {
    width: 100% !important;
    max-width: 100% !important;
}

#main-footer {
    background-color: transparent !important;
}

.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget, .et_pb_gutters3 .footer-widget {
    margin-bottom: 0px ;
}

@media only screen and (max-width: 767px) {
  #footer-widgets .footer-widget .fwidget {    
    margin-bottom: 0% !important;
  }
}

@media only screen and (max-width: 980px) {
  .footer-widget:nth-child(n) {    
    width: 100% !important;    
    margin: 0 !important;
  }
}

@media only screen and (max-width: 479px) {
  #footer-widgets .footer-widget:nth-child(n), .footer-widget .fwidget {    
    margin-bottom: 0 !important;
  }
}

/*--------------- Social Center for custom footer
----------------------------------------------------------------------------------*/

.et_pb_social_media_follow li {
    float: none !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
}

ul.et_pb_social_media_follow {
    text-align: center !important;
}

.et_pb_social_media_follow li a.icon {
    width: 45px;
    height: 45px;
    padding: 0;
}

.et_pb_social_media_follow li a.icon::before {
    width: 45px;
    height: 45px;
    color: #FFF;
    font-size: 20px;
    line-height: 45px;
}

@media only screen and (max-width: 980px) {
  .footer_custom_3 .et_pb_text {    
    text-align: center !important;
  }
}

/*--------------- Footer Bottom Bar Not Visible
----------------------------------------------------------------------------------*/

#footer-bottom {
    display: none !important;
}

/*--------------- Savings Calculator Modal Styles
----------------- Previously managed in Custom CSS & JS plugin
----------------------------------------------------------------------------------*/

.calc-modal-container {
  display: none;
}
.calc-modal-container {
  display: none;
  position: fixed;
  flex-direction: column;
  justify-content: space-between;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(60, 60, 60, 0.8);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #000;
}
.calc-modal-container input {
  background-color: #fff;
}
.calc-modal-content {
  background-color: #ffffff;
  margin: 90px auto;
  padding: 2px;
  width: 850px;
}
.calc-modal-content-title {
  height: 52px;
  line-height: 18px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 15px;
  padding-right: 12px;
  color: #ffffff;
  background: rgb(174,183,4);
  background: -moz-linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  background: linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#aeb704",endColorstr="#003a6d",GradientType=1);
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}
.calc-modal-content-title-text {
  flex-grow: 1;
  padding-top: 2px;
}
.calc-modal-content-title-close {
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  border: solid 3px #000000;
  color: #000000;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  line-height: 15px;
}
.calc-modal-content-choices {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  display: grid;
  grid-template-columns: 175px auto;
  padding: 30px;
  padding-bottom: 15px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.calc-modal-calc button {
  background-color: #ffffff;
  color: #899c1b;
  text-shadow: 1px 1px #dbdbdb;
  font-size: 18px;
  font-weight: 600;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
  padding-right: 25px;
  cursor: pointer;
  border: 2px solid #033c6f;
  width: 100%;
}
.calc-grid-item {
  padding-bottom: 20px;
}
.calc-grid-item select {
  width: 210px;
  height: 34px;
  background-color: #fff;
  color: #000;
}
.calc-modal-content-divider {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  height: 6px;
  background: rgb(174,183,4);
  background: -moz-linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  background: linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#aeb704",endColorstr="#003a6d",GradientType=1);
}
.calc-modal-content-results {
  text-align: center;
  padding-top: 10px;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}
.calc-modal-content-footer {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}
.calc-modal-calc.calc-grid-item {
  padding-bottom: 0px;
}
.calc-results-grid {
  display: grid;
  grid-template-columns: 10% 13% 13% 13% 13% 18% 13%;
  padding: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.calc-notes{
  text-align: center;
  font-style: italic;
}
@media (max-width:  768px){
  .calc-results-grid {
    padding: 10px 0;
  }
}
.calc-results-grid-item {
  padding-bottom: 0px;
}
.calc-results-grid-item.result-box {
  background-color: #e7e6e6;
  border: 1px solid #033d6f;
  width: 90%;
  height: 38px;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.calc-results-grid-item.result-label {
  font-size: 10px;
  text-align: left;
  padding: 0px 4px 4px 8px;
}
.result-box-push-right {
  margin-right: 24px;
}
.results-box-push-down {
  margin-top: 10px;
}
.calc-modal-content-footer {
  height: 52px;
  line-height: 18px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 15px;
  padding-right: 12px;
  color: #ffffff;
  background: rgb(174,183,4);
  background: -moz-linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  background: linear-gradient(90deg, rgba(174,183,4,1) 0%, rgba(65,105,69,1) 50%, rgba(0,58,109,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#aeb704",endColorstr="#003a6d",GradientType=1);
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}
.calc-modal-content-footer input {
  flex-grow: 1;
  height: 40px;
  margin-left: 10px;
  margin-right: 12px;
  padding-left: 15px;
}
.calc-modal-content-footer button {
  background-color: #ffffff;
  color: #899c1b;
  text-shadow: 1px 1px #dbdbdb;
  font-size: 18px;
  font-weight: 600;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
  padding-right: 25px;
  cursor: pointer;
  border: 1px solid #033c6f;
  width: 110px;
  margin-right: 25px;
}
@media only screen and (max-width: 868px) {
  .calc-modal-content {
    width: 100%;
  }
  .calc-results-grid-item.result-box {
    word-break: break-all;
    line-height: 10px;
    font-size: 10px;
  }
  .calc-modal-content-results {
    font-size: 10px;
  }
  .calc-modal-content-footer-text {
    font-size: 12px;
    line-height: 12px;
  }
}
