* {
    box-sizing: border-box;
}

html,
body {
	font-size: 14px;
    min-width: 320px;
    height: 100%;
}

.wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100%;
}

.word2html {
	position: relative;
	width: 100%;
	height: 100vh;
	background: #f5f5f5;
}

.word2html__header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
	display: flex;
    height: 45px;
    padding: 10px;
    background: #343434;
	justify-content: flex-start;
}
.word2html__header-left,
.word2html__header-right {
	display: flex;
	align-items: center;
}
.word2html__header-sep {
	flex-grow: 1;
}
.word2html__panels {
	display: flex;
	flex-direction: column;
    width: 100%;
    height: 100vh;
	padding: 5px;
    padding-top: 50px;
	flex-wrap: wrap;
}
.word2html__panel {
    width: 50%;
    height: 50%;
	padding: 5px;
}
.word2html__panel--example {
    width: 50%;
    height: 100%;
}
.word2html__input {
    display: block;
    overflow-y: scroll;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10px;
    resize: none;
    border: 1px solid rgba(0, 0, 0, .1);
	background: #fff;
    appearance: none;
}
.word2html__input--in:empty:before {
	content: 'Insert text from MS Word';
	color: #aaa;
}

.word2html__input:focus {
    outline: 0;
    outline-offset: 0;
}

.word2html__input table {
    border-collapse: collapse;
    border: 1px solid #000;
}
.word2html__input th, .word2html__input td {
    border: 1px solid #000;
    padding: 5px;
}

select {
	padding: 3px 10px;
}
button {
	padding: 4px 10px;
	cursor: pointer;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 3px;
	background: linear-gradient(to bottom, #ddd 0, #bbb 100%);
}
button:hover {
	background: linear-gradient(to bottom, #bbb 0, #ddd 100%);
}