/** {border: 1px solid}*/

* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

*:focus {
    outline: none;
}

body {
    font-weight: normal;
    font-family: sans-serif;
    font-size: 8px;
    padding: 0px 0px 0px 0px;
    margin: 3px 0px 0px 0px;
    overflow: hidden;
}

button {
    border: 1px solid;
    border-radius: 3px;
    height: 16px;
    vertical-align: bottom;
    font-family: inherit;
    color: inherit;
    font-weight: normal;
    font-size: 11px;
    margin: 2px 2px 2px 2px;
    background-position: center center;
    background-repeat: no-repeat;
}

button:active {
    position: relative;
    top: 1px;
}

button:hover {
    opacity: 1;
}

input[type="radio"] {
    -webkit-appearance: none;
    display: inline-block;
    margin: 0px 0px 0px 0px;
    padding: 0px;
    width: 8px;
    height: 8px;
    border: 1px solid;
    border-color: inherit;
    border-style: solid;
    border-radius: 9px;
    vertical-align: middle;
}

.version {
    display: inline-block;
    margin: 0px 0px 3px 3px;
    height: 13px;
    padding-top: 2px;
    font-size: 9px;
    opacity: .3;
}

.hostFont {}

.hostBgd {}

.hostElt {}

input[type="text"] {
    display: inline-block;
    height: 10px;
    width: 23px;
    padding: 1px;
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    vertical-align: middle;
    border-radius: 2px;
    border: 1px solid;
    text-align: right;
    margin: 0px 0px 0px 0px;
    color: black;
    font-size: 11px;
}
/*
input[type="checkbox"] {
    display:inline-block;
    margin: 1px 0px 1px 2px;
    -webkit-appearance:none;
    padding: 0px;
    width:8px;
    height:8px;
    border: 1px;
    background-color: inherit;
    border-color: inherit;
    border-style:solid;
    border-radius:0px;    
    vertical-align:middle;
}
*/

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label span {
    display: inline-block;
    width: 11px;
    height: 12px;
    margin: 0px 0px 0px 0px;
    vertical-align: middle;
    cursor: pointer;
}

#tab {
    display: inline-block;
    border-style: solid;
    margin: 0px 0px 3px 3px;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    height: 13px;
    padding-top: 2px;
    font-size: 11px;
}

#sorta {
    /*    background-color:red; */
    
    display: inline-block;
}

#tabs {
    padding: 0px;
    border: 0px solid;
    font-size: 0px
}

.fly {
    -webkit-column-width: auto;
    -webkit-column-gap: 15px;
    -webkit-column-fill: auto;
}

a {
    margin: 0px 3px 7px 3px;
    text-decoration: none;
}

.main {
    margin: 0px 0px 0px 0px;
}

#ttt {
    margin: 0px 0px 0px 0px;
    font-size: 9px;
}

#helper {
    padding: 0px 0px 1px 4px;
    width: 164px;
    height: 74px;
    font-size: 11px;
    opacity: 1;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../icons/gifs/default.gif);
}

#wi,
#opa,
#fr,
#lch {
    display: inline-block
}
/*вертикальная*/

@media (min-width: 40px) and (max-width: 159px) and (min-height: 106px) {
    .uibutton {
        width: 79px;
        height: 26px;
        text-align: left;
        margin: 0px 0px 3px 2px;
    }
    .uibuttonHalf {
        width: 38.5px;
        height: 26px;
        margin: 0px 0px 3px 2px;
        opacity: 1;
    }
    .uibuttonThird {
        width: 25px;
        height: 26px;
        margin: 0px 0px 3px 2px;
        opacity: 1;
    }
    .lower {
        display: inline-block
    }
    .upper {
        display: inline-block;
    }
    .fly {
        display: inline-block;
    }
    #helper {
        display: none;
    }

}
/*квадратная*/

@media only screen and (max-width: 110px) { 
  .version { 
    display: none; 
  } 
}

@media only screen and (max-height: 180px) {
    #helper {
        display: none;
    }
}

@media (min-width: 160px) and (min-height: 106px) {
    .uibutton {
        width: 164px;
        height: 26px;
        text-align: left;
        display: block;
        margin: 0px 0px 3px 2px;
        background-position: right center;
    }
    .uibuttonHalf {
        width: 81px;
        height: 26px;
        margin: 0px 0px 3px 2px;
        opacity: 1;
    }
    .uibuttonThird {
        width: 53.2px;
        height: 26px;
        margin: 0px 0px 3px 2px;
        opacity: 1;
    }
    .perpTool:after {
        content: "网格";
    }
    .horizonTool:after {
        content: "水平线";
    }
    .wrap:after {
        content: "变形"
    }
    .deperp:after {
        content: "透视"
    }
    .lower {
        display: block
    }
    .upper {
        display: inline-block
    }
    .fly {
        display: inline-block
    }
}
/*горизонтальная*/

@media (max-height: 105px) {
    .uibutton {
        width: 46px;
        height: 26px;
        text-align: left;
        margin: 0px 0px 3px 2px;
    }
    .uibuttonHalf {
        width: 26px;
        height: 26px;
        margin: 0px 0px 3px 2px;
        opacity: .5;
    }
    .uibuttonThird {
        width: 26px;
        height: 26px;
        margin: 0px 0px 3px 2px;
        opacity: .5;
    }
    .lower {
        display: inline
    }
    .upper {
        display: inline-block
    }
    .fly {
        display: inline-block
    }
    #helper {
        display: none;
    }
}

