table {
    border-spacing: 0
}

td {
    vertical-align: top
}

rb {
    color: #057cb5;
    font-size: 100%;
    margin-left: .5em
}

rt {
    color: #e0115f;
    font-size: 100%
}

.clear {
    clear: both
}

.middle {
    vertical-align: middle
}

.top {
    vertical-align: top
}

ul.menu {
    list-style: none;
    padding-top: 1em
}

li.menuitem {
    display: inline;
    padding: 0;
    margin: 0 0 0 1em
}

li.activemenuitem a {
    border-bottom: 1px solid #3C0
}

#action {
    text-align: left
}

#action button {
    padding: 0 5px;
    vertical-align: middle;
    line-height: 18px
}

#shrink,
#enlarge {
    width: 24px
}

a.soft_button {
    border: 1px solid lightblue;
    margin-left: 3px;
    padding: 0 2px;
    white-space: nowrap
}

.share-this {
    margin: 2em auto 1em auto;
    text-align: center
}

.share-this .share {
    margin-right: 1em
}

.button {
    display: inline-block;
    padding: 0 5px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 5px
}

input[type=number],
input[type=text],
textarea {
    padding: 5px 8px;
    vertical-align: middle;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

.nowrap {
    white-space: nowrap
}

#branah-keyboard {
    line-height: 20px;
    font-size: 1em
}

#branah-keyboard button {
    float: left;
    display: block;
    margin: 1px;
    height: 3em;
    text-align: center;
    color: gray
}

#branah-keyboard .branah-label-natural {
    color: #e0115f
}

#branah-keyboard .branah-label-shift {
    color: #057cb5
}

#branah-keyboard .branah-label-natural,
#branah-keyboard .branah-label-shift {
    margin-top: -5px;
    line-height: 20px;
    text-align: center;
    cursor: default
}

#branah-keyboard .branah-label-reference {
    color: gray;
    font-size: 1em;
    line-height: 12px;
    text-align: left;
    cursor: default
}

#branah-keyboard .branah-label-natural {
    font-size: 1.5em;
}

#branah-k29 .branah-label-reference,
#branah-k32 .branah-label-reference {
    color: #000
}

#branah-keyboard .branah-recessed span {
    color: #3C0
}

#branah-keyboard .branah-recessed-hover span {
    color: #ffd800
}

#branah-keyboard .branah-clear {
    clear: both
}

@media only screen and (max-width:640px) {
    #page {
        margin: 0 2px
    }
    #header {
        margin-bottom: 1em
    }
    #logo {
        display: inline-block;
        width: 100%;
        height: 46px;
        line-height: 46px;
        background-repeat: repeat-x;
        background-image: url(/images/branahmobile.jpg)
    }
    a.soft_button {
        padding: 0 2px 0 0;
        margin-left: 0
    }
    ul.list {
        list-style: none
    }
    ul.list li {
        line-height: 2em;
        margin: 0
    }
    textarea {
        width: 85%
    }
    #share {
        width: 100%;
        margin: 2em auto 1em auto;
        text-align: center
    }
    #action {
        line-height: 2.25em
    }
    #archived {
        font-size: .85em;
        margin: .5em 0 1em 0
    }
    #branah-keyboard button {
        width: 88px
    }
    #branah-keyboard .branah-key {
        width: 43px
    }
    .gsc-search-box,
    .gsc-control-cse {
        display: none
    }
}

@media only screen and (min-width:641px) and (max-width:840px) {
    p {
        text-align: justify
    }
    textarea {
        width: 610px
    }
    #page {
        width: 630px;
        margin: 0 auto
    }
    #header {
        margin-bottom: 1em
    }
    #logo {
        display: inline-block;
        width: 630px;
        height: 108px;
        line-height: 108px;
        background-image: url(/images/branahtab.jpg)
    }
    ul.list {
        list-style: none;
        display: inline-block;
        width: 150px
    }
    ul.list li {
        line-height: 2em;
        margin: 0
    }
    #editor {
        width: 600px
    }
    #keyboard {
        width: 630px
    }
    #selectAll,
    #saveAsTextFile,
    #postToFacebook,
    #shrink,
    #enlarge {
        margin-right: 2px;
        padding: 0 5px;
        vertical-align: middle;
        line-height: 18px
    }
}

@media only screen and (min-width:841px) {
    p {
        text-align: justify
    }
    textarea {
        width: 610px
    }
    #page {
        width: 840px;
        margin: 0 auto
    }
    #header {
        margin-bottom: 1em
    }
    #logo {
        display: inline-block;
        width: 840px;
        height: 144px;
        line-height: 144px;
        background-image: url(/images/branah.jpg)
    }
    div.side_content {
        position: absolute;
        top: 0;
        left: 0;
        width: 160px;
        _margin-left: -210px
    }
    div.main_content {
        position: relative;
        padding-left: 210px
    }
    ul.list {
        list-style: none;
        display: inline-block;
        width: 160px
    }
    #editor {
        width: 607px;
        height: 96px
    }
}

@media only screen and (min-width:641px) {
    #branah-keyboard {
        width: 630px
    }
    #branah-keyboard button {
        line-height: 2.75em
    }
    #branah-keyboard .branah-key {
        width: 40px
    }
    #branah-backspace {
        width: 78px
    }
    #branah-tab {
        width: 62px
    }
    #branah-k25 {
        width: 56px
    }
    #branah-caps-lock {
        width: 76px
    }
    #branah-enter {
        width: 84px
    }
    #branah-left-shift {
        width: 46px
    }
    #branah-right-shift {
        width: 114px
    }
    #branah-space {
        width: 246px;
        text-align: center
    }
    #branah-right-ctrl,
    #branah-right-alt,
    #branah-escape {
        width: 62px
    }
    #branah-left-ctrl,
    #branah-left-alt,
    #branah {
        width: 60px
    }
}

;

/*GK added*/

button#branah-escape2.toggKeybdTop {
    width: auto;
    padding: 2px 5px;
}

#branah-escape2.kybdON {
    background-color: #04a704;
    color: #FFF;
}

#branah-escape2.kybdOFF {
    background-color: #ededed;
    padding: 2px 5px;
}

.kybrdVisible {
    display: block;
}

.kybrdNotvisible {
    display: none;
}

#keyboard.kybrdVisible {
    display: block;
    box-shadow: -5px -5px 8px #888888;
    background-color: #fdfff0;
    padding: 5px;
}

#KybrdContainer {
    box-shadow: -5px -5px 8px #888888;
    background-color: #fdfff0;
    color: #0601a5;
}

#KybrdContainer .PhoeneticHelp P,
#KybrdContainer .AmharicBHNHelp P {
    margin: 0px;
    padding: 0px;
    line-height: 1.4em;
    font-size: 0.9em;
	color: #000;
}

#KybrdContainer .PhoeneticHelp h3,
#KybrdContainer .AmharicBHNHelp h3 {
    margin: 0px;
    padding: 0px;
    font-size: 0.9em;
}
#KybrdContainer .PhoeneticHelp, #KybrdContainer .AmharicBHNHelp {
    padding: 10px;
}


#editor {
    verflow: hidden;
    overflow-wrap: break-word;
    display: none;
    height: 46px;
	background-color:#ffff00;
}

textarea:hover,
textarea:focus,
textarea:active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: rgba(223, 225, 229, 0);
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
    background-color: yellow;
}


#keyboard P {
    padding: 5px;
    margin: 0px;
    text-align: center;
}
#keyboard .kybd-row {
    display: -ms-flexbox;
    display: flex
}
#branah-keyboard .branah-clear {
    margin-bottom: 2px;
}

#branah-keyboard .branah-key {
    -webkit-box-shadow: 0 0 3px -1px rgba(0, 0, 0, .3);
    box-shadow: 0 0 3px -1px rgba(0, 0, 0, .3);
    height: 40px;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px;
    background: #fff;
    border-bottom: 1px solid #b5b5b5
}
#branah-keyboard .branah-key:active {
    background: #e4e4e4
}

.xKybrdCont {
	color: #ffffff;
	background-color: #0e02fb;
    margin: 2px 5px;
    cursor: pointer;
}
#PostTextArea {
	background-color:#f7ffb4;
	padding:5px;
	min-height:46px;
}


@media only screen and (max-width: 570px) {
    #branah-keyboard .branah-key {
        width: 28px;
    }
    #branah-keyboard button {
        height: 2.8em;
        line-height: 1.75em;
    }
    #branah-keyboard button#branah-backspace {
        width: 70px;
    }
    #branah-keyboard button#branah-tab {
        width: 50px;
    }
    #branah-keyboard button#branah-k25 {
        width: 40px;
    }
    #branah-keyboard button#branah-caps-lock {
        width: 70px;
    }
    #branah-keyboard button#branah-enter,
    #branah-keyboard button#branah-left-shift {
        width: 50px;
    }
    #branah-keyboard button#branah-right-shift {
        width: 65px;
    }
    #branah-keyboard button#branah-left-ctrl,
    #branah-keyboard button#branah-left-alt,
    #branah-keyboard button#branah {
        width: 50px;
    }
    #branah-keyboard button#branah-space {
        width: 135px;
    }
    #branah-keyboard button#branah-right-ctrl,
    #branah-keyboard button#branah-right-alt,
    #branah-keyboard button#branah-escape {
        width: 50px;
    }
}

@media only screen and (max-width: 400px) {
    #branah-keyboard .branah-key {
        width: 17px;
    }
    #branah-keyboard button {
        height: 2.5em;
        line-height: 1.75em;
    }
    #branah-keyboard button#branah-backspace {
        width: 40px;
        font-size: 0.7em;
        height: 33px;
    }
    #branah-keyboard button#branah-tab {
        width: 35px;
        font-size: 0.7em;
        height: 33px;
    }
    #branah-keyboard button#branah-k25 {
        width: 25px;
        height: 33px;
    }
    #branah-keyboard button#branah-caps-lock {
        width: 40px;
        font-size: 0.7em;
        height: 33px;
    }
    #branah-keyboard button#branah-right-shift,
    #branah-keyboard button#branah-left-shift,
    #branah-keyboard button#branah-enter {
        width: 40px;
        font-size: 0.7em;
        height: 33px;
    }
    #branah-keyboard button#branah-left-ctrl,
    #branah-keyboard button#branah-left-alt,
    #branah-keyboard button#branah {
        width: 40px;
        font-size: 0.7em;
        height: 33px;
    }
    #branah-keyboard button#branah-space {
        width: 60px;
        font-size: 0.7em;
        height: 33px;
    }
    #branah-keyboard button#branah-right-ctrl,
    #branah-keyboard button#branah-right-alt,
    #branah-keyboard button#branah-escape {
        width: 35px;
        font-size: 0.7em;
        height: 33px;
    }
	#branah-keyboard .branah-key {
		width: 20px;
	}
	#branah-keyboard .branah-key {
		padding: 2px;
	}
	#branah-keyboard .branah-label-reference {
		font-size: 1em;
		line-height: 17px;
	}	
	#branah-keyboard .branah-label-natural {
		font-size: 1.2em;
		line-height: 25px;
	}
	#keyboard button {
		margin: 0;
	}	    
}

img.langFlagChange {
 	width: 20px;
}




