@charset "utf-8";

body {
    max-width: 100%;
    min-width: 100%; 
    width:100%;
}

/* Header section */

header {
    position: relative;
    width:100%;
    height:60px;
    padding: 0 0;
    background-repeat: repeat-x;    
    background-image: url('data:image/jpg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAPAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoKDBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxscHx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgAPAAHAwERAAIRAQMRAf/EAG4AAAIDAAAAAAAAAAAAAAAAAAAFAQIGAQEAAgMAAAAAAAAAAAAAAAAAAwYBBAUQAAAEBQMFAAAAAAAAAAAAAAABAgMRMUFRBCESQmKiEyQFEQACAAUFAAAAAAAAAAAAAAAAAREhoQJiQcESEyP/2gAMAwEAAhEDEQA/AM+98vLQ9vU1BHnRrEuTqSKtzFU7rXZBOfFUTLD13JzWu6HZ5GOc3EHWdZjnwZvCeJ3E4IGQAAAAACnsdHcJfPKhF6Y1P//Z');    
}

.main {
    width:100%;
    margin:10px auto;

}

#bannerSpace {
    display:none
}

#logo {
    width: 80%;
    background-size:80%;
    background-repeat: no-repeat;
    top:15px;
}
            
.sitemap,.links,.contact,.webmaster,#language,#breadcrumb {
    display:none;
}

h1 {
    font-size: 18px;
    line-height:18px;
}

#userConvert h1 {
    line-height:10px;
    font-size:16px;
}

.colSpace {
    display:none;
}

.feature {
    display:none;
}

.featureTypes,.tableTypes {
    min-height:100px;
    float:none;
    width:94.8%;
    max-width:100%;
}

.sideMenu {
    width:100%;
    min-width:140px;
    max-width:100%;
}

.featureConv,.typeConv {
    padding:0 0 0 15%;
    font-size: 16px;
    width:85%;
    max-width: 85%;
}

.featureConv {
    padding-top: 0;
    line-height: 50px;
}

.type {
    width:87.5%;
    padding:0 0 0 17.5%;
}

.typeConversionPage .unitConv,.unitConversionPage .unitConv {
    width: 83%;    
}

.unitConversionPage .unit2UnitConv {
    width: 78%;    
}

#userInput,#userConvert,#userInput,.underButton {
    line-height:55px;
    min-height: 55px;
    width:92.5%;
    margin:0 0 2px -10px;
    padding:1% 5%;
}

.noadcolumn a {
    width:87.5%;
}

.noadcolumn .unit {
    width:86%;
    padding: 0 0 0 19%;    
}

.noadcolumn .tounit {
    width:81%;
    padding: 0 0 0 24%;   
}

.underButton {
    padding:0 0 0 20%;
    width:85%;
    background-position:5% 0;
}

#userConvert {
    height:105px;
    margin:10px 0;
    width:92.5%;        
}

#userConvert .mobileField {
    font-size: 17px;
    height:30px;
    padding:1% 3%;
    height: 35px;
    margin:-20px 0;
    float:left;
}

#userInput p {
    font-size: small;
    line-height: normal;
}

.convertForm {
    display:none;
}

#sideMenu {
    margin:0 0;
}

#search li,#softSearch li {
    background-color: #fff;
}

#search a,#softSearch a {
    color: #333333;
    display: block;
    font-size: 17px;
    line-height: 50px;
    margin: 1px 0;
    padding: 0 20px;
    width: 90%;
    text-decoration:none;
    font-weight:bold;
}

.mobileLink {
    height:50px;
}

#popLinks {
     width:100%;
 }

#popLinks ol{
    margin: 0 0 0 -10%;
}

#popLinks ol li a {
    width:108%;
    height:50px;
    line-height: 50px;
    font-size: 18px;   
}

#suggested,#suggestedTable {
    width:100%;
}

#suggested,#suggestedTable {
    padding:0;    
}

.noadcolumn a {
    max-width: 90%;
}

.tower {
    display:none;
}

.col {
    float:none;
}

.typeDef {
    width:90%;
    padding:5%;
    font-size:18px;
}

ul,li {
    float:none;
    width:90%;
}

#search, #softSearch {
    width:100%;
}

#search li, #softSearch li {
    width:90%;
}

#search ol li a, #softSearch ol li a {
    display:block;
}

footer {
    width:100%;
}

#menulinks, #langlinks, #conversionlinks, #promolinks {
    position:relative;
    height:180px;
    background-color:inherit;
}

#langlinks {
    height:400px;
}

#menulinks a, #langlinks a, #conversionlinks a, #promolinks a {
    background-color: #a6a6a6;
    color: #333333;
    display: block;
    text-decoration: none;
    width: 100%;
    line-height:50px;
    padding:0 5%;
    float:none;
    margin:2px 3%;
}

.featureTypes p,.tableTypes p {
    width:87.6%;
}

#inlinesearch {
    float: right;
    margin:2% 5%;
    height:35px;
    width:50%;
}

.control {
    display:none;
}

#answer {
    font-size: 40px;
}

#convertBannerSpace {
    display:block;
    background-color:#FF0000;
    width:300px;
    height:250px;
    margin:0 auto;
}

.left {
    min-width: 300px;
}

/* iOS keypad */

#keypadarea {
    display:block;

}

.blankSpace {
    background-color:#fff;
    height:50px;
    float:left;
    border-bottom: solid 1px #8c8c8c;
    border-right: solid 1px #8c8c8c;
    width:100%;
}

#keyboard {
    font-family:Arial,Helvetica,sans-serif;
    position:fixed;
    bottom:0px;
    display:none;
    width:100%;
    border-top: solid 1px #909497;
}

#status {
    background-color:#eff0f1;
    height:40px;
}

#status a {
    font-size: 36px;
    color:#bfbfc0;
    text-decoration:none;
    line-height:40px;
    margin:0 0 0 20px;
}

#status .doneButton {
    color:#007aff;
    float:right;
    margin:0 20px;
    font-size:18px;
    font-weight:bold;
}
           
.keybutton {
    background-color:#fff;
    max-height:45px;
    float:left;
    border-bottom: solid 1px #8c8c8c;
    border-right: solid 1px #8c8c8c;
    min-width:33.12%;
    font-size:24px;
    color:#000;
    text-decoration:none;
    text-align: center;
    line-height:45px;
}

.last {
    border-right:none;
}



/* iPhone 6 */
@media only screen 
    and (max-device-width : 667px) 
    and (orientation : portrait) 
    and (-webkit-min-device-pixel-ratio : 2)
{
    
    body {
        width:99%;
        max-width:99%;
        min-width:99%;
    }
    
    .rightHome,.rightType,.rightUnit,#tableList {
       max-width: 100%;
       min-width: 100%;
       width:100%;
    }
    
    #suggested a,#suggestedTable a {
        width: 90%;
        padding:0 0 0 10%;
    }    
    
    #argumentConv,#argumentConv1,#argumentConv2,#argumentConv2a,#argumentConv2b {
        display:none;
    }
       
    #userConvert #argumentConvMob {
        margin:-40px 0 0 0;
        display:block;
    }
    
    #userConvert #argumentConv1Mob,#userConvert #argumentConv2Mob,#userConvert #argumentConv2aMob,#userConvert #argumentConv2bMob {
        margin:-40px 0 0 0;
        display:block;
    }    
    
    #queryMobFrom,#queryMobTo {
        margin:10px auto;
        width:100%;
    }
    
    .keybutton {
       max-height:55px;
       font-size:26px;
       line-height:55px;
   }    
     
    #results {
        width:100%;
    }
    
    #answer {
        margin:0;
    }

    #userConvert {
        height:80px;
    }
    
    #userConvert #argumentConvMob,#userConvert #argumentConv1Mob,#userConvert #argumentConv2Mob,#userConvert #argumentConv2aMob,#userConvert #argumentConv2bMob {
        font-size: 17px;
        height:30px;
        padding:1% 3%;
        height: 35px;
        float:left;
    }
    
}

/* iPhone 6+ */
@media only screen 
    and (min-device-width : 414px) 
    and (orientation : portrait) 
    and (-webkit-min-device-pixel-ratio : 3) 
{
    .rightHome,.rightType,.rightUnit,#tableList {
       max-width: 100%;
       min-width: 100%;
       width:100%;
    }
       
    #suggested a,#suggestedTable a {
        width: 90%;
        min-width:90%;
        padding:0 0 0 10%;
    }

    .keybutton {
       max-height:55px;
       font-size:26px;
       line-height:55px;
   }
      
    #result {
        width:100%;
    }
    
    #answer {
        margin:0;
    }   
   
    #userConvert #argumentConvMob,#argumentConv1Mob,#argumentConv2Mob,#argumentConv2aMob,#argumentConv2bMob {
        font-size: 17px;
        height:30px;
        padding:1% 3%;
        height: 35px;
        float:left;
    }

}

#resultBanner,#contentArea {
    width:300px;
    height:250px;
    margin:0 auto;
    background-image:none;
    min-height: 0px;
    min-width: 0px;
}

#contentArea {
    height:auto;
    margin:20px auto;
}

.fractionSlash {
    display:none;
}

fractionSlashMob {
    display:block;
}

.searchField {
    font-size: 24px;
    height: 39px;
    border: 1px solid #064d6b;
    padding: 0 0 0 3%;
    width: 47%;  
}
	    

.searchField {
    border:1px solid #000000;
}

#argumentConv1Mob,#argumentConv2Mob {
    width:40%;
}

#argumentConv2aMob,#argumentConv2bMob {
    width:10%;
}

#argumentConv2aMob {
    margin-left:10px;
}

.note {
    display:none;
}

.homeIcon {
    display:block;
    position:relative;
    top:-30px;
    left:85%;
    width:            35px;
    height:           30px;
}

#webmaster {
    display:none;
}

#towerAd {
    display:block;
    min-height: 160px;
}

.homeSideMenu .featureConv,.typeConversionPage .featureConv,.unitConversionPage .featureConv {
    display:none;
}

.right {
    max-width:500px;
}

.fixTop {
    position:fixed;
    top:0px;
}

#userConvert .temperature,#userConvert .length,#userConvert .area,#userConvert .volume,#userConvert .weight,#userConvert .speed,#userConvert .time,#userConvert .currency,#userConvert .angle {
    background-image:none;
}

#userConvert h1 {
    margin:10px 0;
}

.blueBg, .greyBg {
    background-color: transparent;
}

#userTable {
    padding: 1px 10px;
    width: 97.5%;
}

#userTable h1{
    height: 30px;
    line-height: 20px;
    font-size: 18px;
}
            
#userTable .temperature {
    background-position:0 -4px;
}

.halfButton,.leftButton,.rightButton {
    display:none;
}

#webTool {
    display:none;
}

textarea {
    width:300px;
}

.cse-branding-bottom {
    display: none;
}
