body{
  font-family: Arial, sans-serif;
  background-color: #282828;
}

body.calc>div.container{
  max-width: 940px;
  color: #ccc;
}
.row {
  margin-left:0;
  margin-right:0;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}

.calc .panel{
  margin-bottom:0;
  background-color: #373737;
}

.calc .panel-heading{
  padding: 2px 10px;
  color: #f4ba7b;
  font-weight: bold;
  margin: 10px 0 0 0px;
}

.calc .panel-body{
  padding: 5px 15px 0px;
}

.calc .btn{
    /* height: 56px; */
    /* padding-top: 16px; */
    /* padding-right: 40px; */
    /* padding-left: 40px; */
    border: 1px none #291e19;
    border-radius: 3px;
    background-color: transparent;
    background-image: url(../images/Button.png), -webkit-linear-gradient(rgba(129, 129, 129, 0.09), rgba(129, 129, 129, 0.09) 99%), url(../images/buttonbg.jpg);
    background-image: url(../images/Button.png), linear-gradient(rgba(129, 129, 129, 0.09), rgba(129, 129, 129, 0.09) 99%), url(../images/buttonbg.jpg);
    background-position: 50% 50%, 0px 0px, 50% 50%;
    background-size: 100% 100%, auto, auto;
    background-repeat: no-repeat, repeat, repeat;
/*    box-shadow: rgba(0, 0, 0, 0.49) 0px -6px 0px 0px inset, rgba(0, 0, 0, 0.34) 0px 2px 2px 0px; */
    /* font-size: 16px; */
    /* font-weight: 700; */
    text-transform: uppercase;
    text-shadow: #291e19 0px 2px 8px;
}

.calc label{
  margin-bottom: 0px;
}

.calcsection .form-control{
  height: 22px;
  padding: 0;
}

.calcsection .input-group{
  max-width:110px;
  margin: 0 auto;
}

#tophead{
  width:100%;
}

#maintitle{
    font-size: 22px;
    text-align: center;
    color: #fff;
    padding-bottom: 6px;
}

.nopanels .panel, .nopanels .panel-default, .nopanels .panel-heading{
  border: none;
  background: none;
}

.mainform .panel-body{
  padding: 15px 15px 10px;
}

.mainform .maininput input{
  padding: 0 4px;
  height: 20px;
  width: 95%;
  /*max-width: 290px;*/
}
.mainform .form-horizontal .control-label{
  padding-top: 2px;
  text-align: left;
}

.mainform .btn{
  padding: 5px; 
  font-size: 12px;
  margin-right: 4px;
}

.form-horizontal .form-group {
  margin-left:0px;
  margin-right:0px;
  margin-bottom: 5px;
}

.form-horizontal input{
  margin-left: 10px;
  border-radius: 3px;
  border: none;
}

.resultelement{
  vertical-align: bottom;
  line-height: 0;
  height: 190px;
}
.sectionelement {
  max-height: 150px;
  margin: 10px 0;
}
.calcsizes input {
  height:20px;
  width: 40px;
}
.calcsizes .form-horizontal .control-label {
  text-align: left;
  padding-top: 0px;
}
.calcsizes .form-group {
  margin-bottom: 6px;
}
.totalcounter {
  width: 40px;
  border: none;
  background: none;
  text-align: left;
}

.secondsection, .thirdsection, .fourthsection, .fifthsection{
  margin-left: -23px;
}

.delsection{
  float:right;
}

h1{
  font-size: 28px;
}

#iheight, #iwidth, #idepth{
  text-align: right;
  padding: 0 4px;
}

.fselector{
  /*margin-top: 20px; */
  /*margin-bottom: 12px;*/
  color: #f4ba7b;
}

.resultinput{
  background: none;
  border: none;
  font-weight: bold;
  color: #fff;
}

#resultrow{
  color: #f4ba7b;
  margin: 15px 0px;
}

#finalresult{
  text-align:right;
  width: 80px;
  margin-right:5px;
}
#finalwrapper {
   font-size: 20px;
}

.sectionmanager{
  margin-bottom: 5px;
  padding-left: 20px;
}

.sectionmanager label{
   margin-top: 7px;
}

.col-xs-1-5,
.col-sm-1-5,
.col-md-1-5,
.col-lg-1-5 {
  position: relative;
  min-height: 1px;
}
 
.col-xs-1-5 {
  width: 20%;
  float: left;
}

.sections .panel-heading{
  font-size:12px;
}

.resultwrapper {
    margin-left: 0;
}

@media (min-width: 350px) {
  .resultwrapper {
    margin-left: 6%;
  }
}

@media (min-width: 400px) {
  .resultwrapper {
    margin-left: 15%;
  }
}

@media (min-width: 490px) {
  .resultwrapper {
    margin-left: 20%;
  }
}

@media (min-width: 620px) {
  .resultwrapper {
    margin-left: 26%;
  }
}
 
@media (min-width: 768px) {
  .col-sm-1-5 {
    width: 20%;
    float: left;
  }
  .resultwrapper {
    margin: 8px 0 14px 26px;
  }
  .sections .panel-heading {
      padding: 6px 6px;
      font-size: 12px;
  }
  .calc .btn-sm{
    padding: 5px;
  }
  .mainform{
    position: absolute;
    right: 0px;
    bottom: 0px;
  }
  .resultholder{
    position: relative;
  }
}
 
@media (min-width: 992px) {
  .col-md-1-5 {
    width: 20%;
    float: left;
  }
  .sections .panel-heading {
      padding: 2px 15px;
      font-size: 14px;
  }
  .resultwrapper {
    margin: 8px 0 14px 75px;
  }
  .sections .sectionelement{
    margin: 10px;
  }
}
 
@media (min-width: 1200px) {
  .col-lg-1-5 {
    width: 20%;
    float: left;
  }
}
