/*
Theme Name: Carbon Calculator Avada
Description: A custom theme creation for Vita.ie
Version: 3.0
Author: Damian O'Rourke
Author URI: https://www.damianorourke.info
Template: Avada
*/

#calculatorArea{
  min-height:1000px;
}



/* dark blue */
/* #2bb673; */

#calculatorArea p, h1,h2,h3,h4,h5,h6, button, select, input{
  font-family: 'Open Sans', 'Sans-serif', 'Arial';
}

#calculatorArea button:hover{
  cursor: pointer;
}

#calculatorArea h3{
  font-size: 18px;
}


#ghost {
    position: relative;
}

#ghost p{
  font-weight: 400;
}

#ghost:after {
    content : "";
    display: block;
    background-size:contain;
    position: absolute;
    background-position: center center;
    top: 0;
    left: 0;
    background-image: url(https://vita.ie/wp-content/uploads/2019/03/VitaLogo.jpg);
    width: 100%;
    height: 100%;
    opacity : 0.2;
    z-index: -1;
    background-repeat: no-repeat;
}


.container{
  max-width: 1200px !important;
  width:95% !important;
}

.introTab h3, .introTab h4, .introTab h2, .calculator-tabs-lhs h3, .fifty h3, .fifty h2, .fifty h4{
  color: #2bb673;
}

.fifty h3, .fifty h2{
  padding-left: 18px;
}

.fifty p{
  clear: both;
  float: left;
  padding-left: 18px;
}

.fifty h4{
  float: right;
  padding-top: 14px;
  font-size: 16px;
}

.fifty input[type='number'].summaryInput{
  float: left;
  margin-left: 10px;
}

#calculatorArea div {

  -webkit-box-sizing: border-box;

  box-sizing: border-box;

  height: auto;

  overflow: auto;

}

.calculator-wrapper {

  display: block;

  height: auto;

  overflow: auto;

  font-family: 'Open Sans', "Arial", "sans-serif";

}

.calculator-wrapper h1, .calculator-wrapper h1.heading{
  font-family: inherit;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 20px 0;
}

.topBorderOut{
  width: 100%; min-height: 25px; background: #2ea3f2; border-top-left-radius: 10px; border-top-right-radius: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px;
}

.bottomBorderOut{
  width: 100%; min-height: 25px; background: #2ea3f2; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 10px; -webkit-border-bottom-right-radius: 10px; margin: 0 auto 20px auto;
}

#calculatorArea{
  min-width: 340px;
}


.viewArea {

  border-top-left-radius: 10px;

  border-top-right-radius: 10px;

  border-top-left-radius: 10px;

  border-top-right-radius: 10px;

  padding-bottom: 20px;
}



.viewHeading {

  background: #2ea3f2;

  color: white;

  text-align: center;

  margin: 0 !important;

  padding: 10px 0;

  border-left: 1px solid #2ea3f2;

  border-right: 1px solid #2ea3f2;

}



.viewArea {

  border: 2px solid #2ea3f2;

  height: auto;

  overflow: auto;

  float: right;

}



.calculator-tabs {
  padding:  0 20px;
  border-left: 2px solid #2ea3f2;
  border-right: 2px solid #2ea3f2;
}


.runningTotalWrapper{
  border-top: 2px solid #2ea3f2;
  border-left: 2px solid #2ea3f2;
  border-right: 2px solid #2ea3f2;
  width: 100%;
  padding: 50px 20px 10px 10px;
}

.inputWrapper{
  width: 300px;
  float: right;
}

.inputWrapper label{
  font-size: 30px;
  margin: 10px 0;
  color: #2ea3f2;
  text-align: right;
}

.inputWrapper input[type="number"]{
  float: right;
  text-align: right;
}



.viewArea, .calculator-tabs{

  border-bottom-left-radius: 10px;

  border-bottom-right-radius: 10px;

  -webkit-border-bottom-right-radius: 10px;

  -webkit-border-bottom-left-radius: 10px;

  border-bottom: 20px solid #2ea3f2;

}



.viewArea{
  border-top: 20px solid #2ea3f2;
}



.fifty {
  width: 50%;
  display: inline-block;
  float: left;
}


.fifty input[type="number"]{
  float: right;
}


.fifty h3 {
  margin: 30px 0 !important;
  float: right;
}



.fifty input.quantity, #calculatorArea input[type='text'] {

  width: 125px;

  display: block;

  margin: 20px 18px;

  vertical-align: text-bottom;

  padding: 10px;

  font-size: 20px;

  text-align: right;
}



#calculatorArea select{
  vertical-align: text-bottom;
  padding: 10px;
  font-size: 20px;
  margin: 0;
}



#addAnother, #addAnotherCar {

  float: right;

}



#clearData {

  margin-left: 10px;

}





@media screen and (max-width: 720px) {

  .viewArea, .calculator-tabs-lhs {

    width: 100%;

  }



  .part {

    width: 50%;

  }

  /* .fifty {

    width: 100%;

    clear: both;

    float: none;

  }
 */
  .fifty input[type="number"] {

    margin: 20px 10px;

  }

  .fifty h3, #addAnother {

    float: none;

  }

  .innerTabbedText {

    font-size: 10px;

  }

}



@media screen and (max-width: 480px) {

  .viewArea, .calculator-tabs-lhs {

    float: left;

    width: 100%;

  }

  .fifty input.quantity, .inputWrapper input[type="number"] {

    width: 125px !important;

  }

  .fifty h3, #addAnother {

    float: none;

  }

  .innerTabbedText {

    font-size: 8px;

  }

  #addAnother, #clearData {

    margin: 0 auto;

    display: block;

  }

  #calculate, #calculateDriving{
    margin: 30px;
  }

  .calculator-tabs{
    padding: 10px;
  }

  .fifty .calculatorButton, .fifty .calculatorButtonRed{
    font-size: 16px;
  }
}


@media screen and (min-width: 721px) and (max-width: 1199px) {
  .calculator-tabs-lhs, .viewArea{
    display: inline-block;
    box-sizing: border-box;
  }
  .calculator-tabs-lhs{
    width: 60%;
    float: left;
  }
  .viewArea{
    width: 35%;
    float: right;
  }
  #calculate, #calculateDriving{
    margin: 40px auto;
  }

  .fifty input.quantity{
    width: 60px;
  }
}

@media screen and (min-width: 1200px) {

  .calculator-tabs-lhs, .viewArea {

    display: inline-block;


  }


  #calculate, #calculateDriving{
    float: left;
    margin: 40px auto;
  }


  .calculator-tabs-lhs {

    float: left;

    width: 60%;
  }



  .viewArea {

    float: right;

    width: 30%;
  }



  .innerTabbedText {

    font-size: 20px;

  }



  .fifty {

    width: 50%;

    display: inline-block;

  }

}



.wc-carbon-amount {

  margin-bottom: 20px;

}



.wc-carbon-amount input {

  max-width: 120px;

}

#showViews{
  border-top: 1px solid transparent;
  border-left: 1px solid #2ea3f2;
  border-right: 1px solid #2ea3f2;
  border-bottom: 1px solid transparent;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
}

.inside {
  position: relative;
  height: auto;
  border: 1px solid #2ea3f2;
  border-top: 1px solid #2ea3f2;
  border-left: 1px solid #2ea3f2;
  border-right: 1px solid #2ea3f2;
  border-bottom: 1px solid transparent;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.half{
  width: 50%;
  display: inline-block;
  float: left;
}

.iconMenu, .iconClose{
  display: inline-block;
}

.iconMenu{
  background: #2bb673;
  padding: 5px 10px;
  font-size: 35px;
  color: white;
  margin: 3px 0;
  float: left;
}

.iconMenu:hover, .iconClose:hover, .iconMenu:focus, .iconClose:focus{
  opacity: 0.5;
  cursor: pointer;
}

.iconClose{
  float: right;
  color: #fff;
  font-size: 44px;
  float: right;
  background: #2bb673;
  width: 50px;
  height: auto;
  padding-left: 3px;
  padding-top: 3px;
}

.iconDelete{
  float: left;
  color: red;
  font-size: 62px;
  float: left;
  position: relative;
  right: -12px;
  top: -7px;
}

.calculatorButtonRedSmall{
  font-size: 12px;
  color: #fff;
  border: 1px solid red;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
  top: 1px;
}

.three:hover .calculatorButtonRedSmall, .three:hover .iconDelete{
  cursor: pointer;
}

.calculatorButtonRedSmall:focus, .calculatorButtonRedSmall:active, .calcuaatorButtonRedSmall:visited{
  border: 1px solid red;
}


.iconDelete .calculatorButtonRedSmall{
  display:inline;
  float:left;
}

.iconDelete, .small{
  display: inline;
}


.pageInside {

  position: relative;

  height: auto;

}



.welcomeHeading {

  background: #2ea3f2;

  color: white;

  border-top-left-radius: 10px;

  border-top-right-radius: 10px;

  text-align: center;

  margin: 0 !important;

  padding: 20px 0;

}



.introText {
  border-top: 1px solid #2ea3f2;
  border-left: 1px solid #2ea3f2;
  border-right: 1px solid #2ea3f2;
  border-bottom: 1px solid transparent;
}


.introText{
  padding: 20px;
}
.introTab{
  padding: 0 20px;
}



.introNoBorder{

  padding: 20px;

}



.menu-block {

  width: 100%;

  display: block;

  background: #2ea3f2;

  height: auto;

  padding: 20px 0;

  overflow: auto;

}



.tabbed {
  width: 25%;
  display: inline;
  float: left;
  text-align: center;
  min-height: 20px;
  color: #fff;

}



.innerTabbed {

  font-size: 50px;

  border-left: 1px solid white;

  border-right: 1px solid white;

  border-top: 2px solid white;

  padding: 10px 0;

}

.innerButton{
  padding: 10px 0;
  font-size: 50px;
}



.innerTabbedText {

  /* font-size: 20px; */

  border-left: 1px solid white;

  border-right: 1px solid white;

  border-bottom: 2px solid white;

  padding-bottom: 20px;

}



.tabbed:hover {

  cursor: pointer;

}



.tabbed.active {

  color: #2ea3f2;

  border-color: #2ea3f2;

  background: #fff;

}



#calculatorArea input {

  border: 1px solid #2ea3f2;

}



.calculator-input {

  border: 1px solid #2ea3f2;

}



.entry-content ul li::before, .widget-container ul li::before, .comment-body ul li::before {

  content: none !important;

}





.calculator-tabs select {

  border: 1px solid #2ea3f2;

  padding: 5px;

}

.fifty select{
  border: 1px solid #2ea3f2;
  padding: 10px;
  margin: 20px;
  font-size: 16px;
}


.calculatorButton, .viewSummary, .calculatorButtonRed, .calculatorButtonNavy, .calculatorButtonGo{
  color: #2ea3f2;
  border: 1px solid #2ea3f2;
  margin: 10px auto;
  color: #fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  background: #09f;
  padding: 10px;
  display: block;
}

.calculatorButton:hover, .viewSummary:hover, .calculatorButtonRed:hover, .calculatorButtonNavy:hover, .calculatorButtonGo:hover{
  cursor: pointer;
}

.calculatorButtonRed, .calculatorButtonRedSmall {
  background: red;
  border-color: red;
}

.calculatorButtonNavy{
  background: #2bb673;
  border-color:#2bb673;
  text-transform: uppercase;
}

.calculatorButtonGo{
  background: #ffbb00;
  border-color:#ffbb00;
  text-transform: uppercase;
}


.calculatorButton:hover, .viewSummary:hover, .calculatorButtonRed:hover, .calculatorButtonNavy:hover, .calculatorButtonGo:hover, .calculatorButtonRedSmall:hover{
  cursor: pointer;
  opacity: 0.3;
}



.icon-wrapper {

  color: #fff;

  font-size: 38px;

  text-align: center;

  width: 40px;

  display: block;

  margin: 0 auto;

  padding-left: 20px;

}



.icon-wrapper i {

  display: block;

  border: none !important;

}



.t-menu-wrapp {

  display: block;

  width: 80%;

  margin: 5px auto;

  text-align: center;

  font-size: 20px;

  padding-left: 20px;

}



/* error areas */



.errorArea {

  border: 1px solid red;

  padding: 20px;

  color: red;

  background: pink;

  width: 320px;

  min-height: 50px;

  margin: 10px;

  border-radius: 5px;

  border-radius: 5px;

}



.errorArea p {

  margin: 0 !important;

}



.form-table, .driving-form-table, .display-form-table {

  /* display: none; */

  width: 100%;

  border: 1px solid black;

  border-collapse: collapse;

}



.form-table th, .form-table td, .driving-form-table th, .driving-form-table td {

  border: 1px solid black;

  padding: 5px;

  width: 20%;

}



.display-form-table thead, .display-form-table thead th {

  width: 100%;

  border: none;

}



.display-form-table td, .display-form-table th {

  width: 20%;

  text-align: center;

  border: 1px solid #2ea3f2;

}



.display-form-table h1 {

  margin: 10px 0;

}



.display-form-table input[type=number] {

  width: 100%;

  border: none !important;

  text-align: right !important;

}



table#home-table {

  display: inline-block;

  border-collapse: collapse;

  box-sizing: borderbox;

  webkit-box-sizing: borderbox;

  margin: 20px;

  table-layout: fixed;

}



table#home-table thead, table#home-table tr {

  width: 100%;

}



table#home-table thead th {

  text-align: center;

  padding: 10px;

}



table#home-table th, table#home-table td {

  width: 33.333333333%;

  padding: 10px;

  vertical-align: middle;

}



table#home-table th, table#home-table td {

  text-align: right;

}



table#home-table input {

  width: 100%;

  vertical-align: text-top;

  margin-top: 0;

}



table#home-table select {

  float: left;

}



table#home-table #heading {

  text-align: center;

}



#carbonForm input, form-table input {

  width: 100%;

  border: 1px solid #2ea3f2;

}



table#home-table:after {

  width: 100%;

}



#houseRegionSettings, #houseNumberSettings {

  float: right !important;

}



/* subCalcNavigation */



.backTo, .forwardTo{

  display: inline-block;

  padding: 10px;

  color: white;

  background: #2ea3f2;

  border: 1px solid #2ea3f2;

  margin: 10px 0 20px 0;

  text-transform: uppercase;
}


.backTo{
  float: left;
}

.forwardTo{
  float: right;
}

.backTo:hover, .forwardTo:hover{
  cursor: pointer;
  opacity: 0.3;
}


.newViewArea{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-bottom: 20px;
    border: 2px solid #2ea3f2;
    height: auto;
    overflow: auto;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    border-bottom: 20px solid #2ea3f2;
}

.newViewHeading {
  background: #2ea3f2;
  color: white;
  text-align: center;
  margin: 0 !important;
  padding: 10px 0;
  border-left: 1px solid #2ea3f2;
  border-right: 1px solid #2ea3f2;
}

#householdMenu ul, #drivingMenu ul, #flyingMenu ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-bottom: 50px;
}

#householdMenu ul li, #drivingMenu ul li, #flyingMenu ul li{
  background: #2bb673;
  margin: 5px 0;
  padding: 5px 0;
}

#householdMenu button, #drivingMenu button, #flyingMenu button{
  background: #2bb673;
  border: 1px solid transparent;
  display: block;
  padding: 10px;
  width: 100%;
  color: #fff;
  text-align: left;
  text-transform: uppercase;
}

#householdMenu button:hover, #householdMenu ul li:hover, #drivingMenu button:hover, #drivingMenu ul li:hover, #flyingMenu ul li:hover{
  cursor: pointer;
  opacity: 0.5;
}

#householdMenu button:focus, #householdMenu button:active, #householdMenu button:visited,
#drivingMenu button:focus, #drivingMenu button:active, #drivingMenu button:visited,
#flyingMenu button:focus, #flyingMenu button:active, #flyingMenu button:visited{
  border: 1px solid transparent;
}

#houseHoldViewArea{
  width: 95%;
  margin: 0 auto;
  display: block;
}

.third{
  width: 33.3333333333%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: inline-block;
  float: left;
}

.third input[type='number'].quantityNew, .half input[type='number'].quantityNew, input[type='number'].quantityNew{
  width: 125px;
  display: block;
  vertical-align: text-bottom;
  padding: 10px;
  font-size: 20px;
  text-align: left;
  margin: 0 auto;
  float:left;
}

#calculatorArea label{
  float:left;
  display: inline;
  margin: 20px 10px 0 10px;
  font-size: 24px
}

.hr{
  position: relative; width: 100%; margin: 20px auto; display: block; border-top: 2px solid lightblue; height: 3px;
}

.seven, .three{
  display: inline-block;
  float: left;
}

.seven{
  width: 40%;
}

.three{
  width: 60%;
  padding-top: 15px;
}

.small{
  padding-top: 30px;
  font-size: 12px;
  text-align: left;
  float: left;
  padding-left: 5px;
  color: black;
}

.half h3{
  float: right;
  margin-right: 20px;
}

@media screen and (max-width: 860px){
  .third{
    width: 100%;
    float: none;
    clear: both;
  }
}


@media screen and (max-width: 480px){
  .half{
    width: 100%;
    float: none;
    clear: both;
  }
  .half h3{
    float: left;
  }
}

@media screen and (min-width: 860px){
  .homePageInterface{
    max-width: 785px;
    display: block;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 768px){

  .woocommerce .content-area .site-main{
    max-width: 100%;
  }

  .woocommerce .content-area {
      margin: 0 10px;
  }
}
