    * {
    padding: 0;
    margin: 0;
    }

    body {
    font-family: Arial,sans-serif;
    overflow: hidden !important;
    min-height: 400px;
    }

    a:hover,a:active,a:focus,button:hover,button:active,button:focus {
    outline: 0 !important;
    }

    .font-size-14 {
    font-size: 14px;
    color: #333;
    }

    .font-size-12 {
    font-size: 12px;
    color: #2d2d2d;
    }

    .container-fluid {
    width: 510px;
    }

    .noPadding {
    padding: 0;
    }

    .noPaddingLeft {
    padding-left: 0;
    }

    .noMarginBtm {
    margin-bottom: 0;
    }

    .unitHeader {
    margin-top: 15px;
    }

    .tabPanelList {
    }

    .tabPanelContainer {
    padding: 20px;
    text-align: center;
    }

    .tabPanelContainer .form-group{
    margin-bottom: 0;
    }

    .tab-content {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    }

    _:-ms-fullscreen, :root  input[type="radio"] {
    position: relative;
    /*  bottom: 2px !important;
    margin-left: -17px !important;*/
    }

    _:-ms-input-placeholder, :root input[type="radio"] {

    position: relative;
    margin-left: -17px !important;
    }

    input[type="radio"]:not(*:root) {

    position: relative;
    top: 1px !important;
    margin-left: -17px !important;
    }



    _::-moz-range-track, body:last-child input[type="radio"] {
        height: 1em;
        width: 1em;
        margin-left: -17px !important;
    }

    _::-moz-range-track, body:last-child .unitHeader input[type="radio"] {
        height: 1em;
        width: 1em;
        margin-top: 2px !important;
        margin-left: -17px !important;
    }

    input:focus {
    outline-color: transparent !important;
    outline-style: none !important;
    box-shadow: none !important;
    }

    .dashInfo {
    width: 25%;
    display: inline;
    }

    .tabRadioAlign {
    margin-top: 10px;
    }

    button.noBorderRadius {
    vertical-align: top;
    width: 62px;
    background: #49b1bb;
    background-image: url(../images/ic_aero2.png);
    background-repeat: no-repeat;
    background-position: 10px 8px;
    text-align: center;
    margin-left: 2px;
    padding-left: 15px; 
    font-weight: bold;
    }

    button.noBorderRadius:focus {
    vertical-align: top;
    width: 62px;
    background: #49b1bb;
    background-image: url(../images/ic_aero2.png);
    background-repeat: no-repeat;
    background-position: 10px 8px;
    text-align: center;
    margin-left: 2px;
    padding-left: 15px;
    }

    button.noBorderRadius:hover {
    vertical-align: top;
    width: 62px;
    background: #e6e6e6;
    border:1px solid #e6e6e6;
    background-image: url(../images/ic_aero1.png);
    background-repeat: no-repeat;
    background-position: 10px 8px;
    color: #000;

    }

    .noBorderRadius {
    border-radius: 0;
    }

    .blueBorder {
    border-color: #49b1bb;
    }

    .nav-tabs>li>a {
    border-radius: 0;
    margin-right: 0;
    padding: 10px 0;
    width: 85px;
    text-align: center;
    }

    .nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus {
    font-weight: 700;
    }

    .nav-tabs>li>a,.nav-tabs>li>a:hover,.nav-tabs>li>a:focus {
    font-weight: 700;
    color: #999;
    }

    .nav-tabs>li>a,.nav-tabs>li>a:hover,.nav-tabs>li>a:focus {
    }

    .tab-pane label {
    width: 135px;
    }

    .spacer {
    height: 34px;
    }

    .spacer_1 {
    height: 10px;
    }


    .result_heading {
    background: #49B1BB;
    padding: 10px 15px 0 14px;
    color: #FFF;
    height: 52px;
    display: none;
    text-align: center;
    margin: auto;
    }

    .result_heading .pull-left {
    margin-top: 6px;
    }
    /*
    .result_heading .resultDisplay{
    margin-top: -3px; 

    }
    */
    .result_heading .resultDisplay p{
    margin:0;
    }

    .result_heading a {
    text-decoration: none;
    color: #FFF;
    border: 2px solid #FFF;
    padding: 5px 8px;
    font-weight: 700;
    margin-top: 0;
    }



    .chinese{
    width:131px !important;
    }

    .result_heading a:hover {
    background: #e6e6e6;
    color: #333;
    }

    a#switch_drawing {
    width: 148px ;
    }

    a#switch_table {
    display: none;
    width: 148px ;
    }

    #result_table, #result_table_svg {
    font-size: 12px;
    margin-bottom: 0;
    }
    #result_table  {
    display: none;
    }
    #canvas {
    display: none;
    }
    #canvas_int {
    display: none;
    }
    #result_table > tbody > tr > td:first-child, #result_table_svg > tbody > tr > td:first-child {
    font-weight: 700;
    padding: 8px 10px;
    width:39%;

    }
    #result_table > tbody > tr > td:last-child, #result_table_svg > tbody > tr > td:last-child {
    text-align:right !important;
    width:21%;
    }
    #result_table > tbody > tr > td:nth-child(2), #result_table_svg > tbody > tr > td:nth-child(2) {
    width:15%;
    }
    #result_table > tbody > tr > td:nth-child(3), #result_table_svg > tbody > tr > td:nth-child(3) {
    width: 15%;
    text-align:right;
    }
    #action_buttons {
    text-align: center;
    }

    #action_buttons a {
    background-color: #B2AA7B;
    text-decoration: none;
    color: #FFF;
    padding: 9px 10px;
    font-weight: 700;
    margin-top: -2px;

    }
    .errorContainer {
    padding: 17px;
    color: #A94442;
    display: none;
    background: #F2DEDE;
    font-size: 12px;
    width: 94%;
    margin: auto auto 15px;
    border-radius: 5px;
    }

    .errorContainer #errorMsg
    {

    position: relative;
    bottom: 1px;
    }

    .errorContainer i {
    font-size: 16px;
    }

    .errorInput {
    border: 1px solid red !important;
    }

    #pdfDownload, #printResults {
    display: none;
    width: 167px !important;
    }

    #overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #FFF;
    opacity: .8;
    filter: alpha(opacity=80);
    }

    #loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -28px 0 0 -25px;
    }

    .tab-pane input {
    width: 90px;
    text-align: center;
    padding: 0px;
    }

    .nav-tabs li{
    background: #EEE;
    color: #999;
    }

    /*Removed on 21-04-2020
    .nav-tabs li:not(:last-child) {
    background: #EEE;
    color: #999;
    }
    */

    #unitforprint {
    display: none;
    margin-top: 50px;
    font-size: 12px;
    font-weight: normal;
    }

    .logo-container {
    padding-top: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #A59559;
    display: none;
    }

    #imgHeader {
    display: none;
    }

    #printTitle {
    text-align: center;
    font-size: 16px;
    color: #9f8e3d;
    font-weight: 700;
    display: none;
    }

    #drawingTitle {
    display: none;
    }

    .printResultHeading {
    padding: 5px 0;
    text-align: center;
    background: #EEE !important;
    display: none;
    }

    .radio-inline .font-size-14 {
    cursor: auto;
    }

    input[type=number]::-webkit-inner-spin-button, 
    input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
    }

    @media only screen and (device-width: 768px) {
    input#unitMetric,input#unitInch,input#deviceBore,input#deviceRod{
    position: relative;
    /*  bottom: 5px !important;
    margin-left: -17px !important;*/
    }
    }

    @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    input#unitMetric,input#unitInch,input#deviceBore,input#deviceRod{
    position: relative;
    /* bottom: 5px !important;
    margin-left: -17px !important;*/
    }
    }

    @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    input#unitMetric,input#unitInch,input#deviceBore,input#deviceRod{
    /*position: relative;
    top: 1px;*/
    /*  bottom: 5px !important;
    margin-left: -17px !important;*/
    }
    }


    #canvasPrint{
    display:none;
    }
    #canvasPrint_int{
    display:none;
    }
    #disclaimer{
    font-size:8px;
    margin-top:-60px;
    display:none;
    }

    #pressureLblContainer,#onlyRodLblContainer,#pistonRodLblContainer {
    display: none;
    }

    .nav-tabs>li {
    margin-right: 1px;
    }
    .nav-tabs>li.active  {
    margin-right: 0;
    }
    td.boldsymbol{
    font-weight: bold;
    }
    .extp_txt{
    margin-left: 20px;
    margin-right: 20px;
    font-size: 13px;
    font-family: Arial;
    color: #000000;
    text-align: justify;
    }

    #action_buttons {
    margin-bottom: 20px;
    }
    #intp_txt{
    vi
    }
    #plugin{
    display: none !important;
    }
    #tssLink{
    width:100px;
    position: absolute;
    left:10px;
    float:left;

    }
    #tssLinkRight{
    width:100px;
    padding-right:90px;
    float:right;

    }
    .print_this
    {
    display:none;
    }
    @media print {
    .noprint
    {
    display: none;
    }
    .print_this 
    {
    display: block;
    }
    }
    #result_table_svg, #resultsForDashNoSVG {
    opacity: 0;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    }

    p.extp_txt {
    color: #000 !important;
    }

    #spanResultsForDashNoSVG {
    display: none;
    }

    .vl {
    border-left: 6px solid #49b1bb;
    height: 500px;
    }

    #onlyRodLblContainer,#pressureLblContainer,#boreRodLblContainer,#pistonRodLblContainer{
    position: relative;
    top: -1px;
    }

    .placeholder { color: #aaa; }
    #input-type-password { border: 5px solid lime; }

@media screen and (min-width:0\0) and (min-resolution: +72dpi) {

     
    .rad3{
    margin-top: 2px !important;
    }
    .rad4{
    margin-top: 2px !important;
    }

    .rad5{
    margin-top: 3px !important;
    } 
    .rad6{
    margin-top: 3px !important;
    }
     .rad7{
    margin-top: 2px !important;
    }
    .forja{
     margin-top: -4px !important;
    }
     .rad1{
    margin-top: 2px !important;
    }
      .rad2{
    margin-top: 2px !important;
    }
     .rad9{
       margin-top: 0.1em!important;
    }
     .rad8{
    margin-top: 2px !important;
    } 

    .rad11{
       margin-top: 0.2em!important;
    }
     #onlyRodLblContainer,#pressureLblContainer,#boreRodLblContainer,#pistonRodLblContainer{
    position: relative;
    top: -2px !important;
    }

    }

@supports (-ms-ime-align: auto) {
    input[type=radio], .radio-inline input[type=radio]{
    float:left;
    margin-left:-17px;
    margin-top:2px !important;
    } 

}

#my_popup {
    text-align: center;
    width: 95%;
    display: none;
}
.popup {
    background: #fff;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    position: relative;
    transition: all 5s ease-in-out; 
    z-index:41;
    -webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 10px rgba(0,0,0,0.4); 
    box-shadow:0 0 10px rgba(0,0,0,0.4)
}
.popup p button {
    text-align: center;
    }
 .popup .btn-info{
    width: 100px;
    border-radius: 0;
       color: #fff;
    background-color: #49b1bb;
    border-color: #49b1bb;
 }

.popup h4 {
      color: #fff;
    text-align: center;
    background: #49b1bb;
    border-bottom: 1px solid #49b1bb;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0px 8px 0px;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #ddd;
}
.popup .content {
    max-height: 30%;
    padding: 10px 23px;
    overflow: auto;
    text-align: justify;

}
.center{
    text-align: center;
}

.popup .disabled{
    background-color: #dbdbdb;
    border-color: #dbdbdb;
    pointer-events: auto;
    cursor: not-allowed;
}

.popup .btn-margin{
     margin-top: 16px;
    margin-bottom: 1px;
    position: relative;
}
.popup h4 span{
    position: absolute;
    right: 22px;
    cursor: pointer;
    top: 8px;
}
.popup p a{
    color: #49b1bb;
    font-size: 20px;
}
.popup .terms{
    position: relative;
    top: 2px;
    }

.popup input[type=checkbox] {
    position: relative;
    top: 2px;
    right: 3px;
}

.popup #termscontent{
   margin-top: 5px;
    margin-bottom: 12px;
    text-align: justify;
}


#closePopup img{
    max-height: 10px;
    max-width: 10px;
}

.popup .btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
    color: #fff;
    background-color: #49b1bb !important;
    border-color: #49b1bb !important;
}

@media screen and (max-width: 700px){
    body {
        min-height: 500px;
    }
  .box{
    width: 70%;
  }
  .popup{
    width: 100%;
  }
  
  #my_popup {
        text-align: center;
        width: 100% !important;
        display: none;
        padding:16px;
    }
}

