html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
textarea,
select,
option {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    font-family: 'Roboto', 'Ubuntu', Arial, sans-serif;
    font-weight: 300;
    color: #222;
    line-height: 1.25em
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none
}

body {
    padding-top: 10px;
    background: #fff;
    color: #000
}

html,
body {
    font-size: .9375em
}

p {
    margin-top: 10px;
    text-align: justify;
    margin-bottom: 15px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding-bottom: 5px;
    margin-top: .625em;
    text-shadow: 1px 1px 1px #fff;
    color: #069
}

strong {
    font-weight: bold
}

h1,
h2 {
    text-align: left;
    font-weight: bolder
}

h1 {
    font-size: 1.8em;
    margin-top: 5px;
    margin-bottom: .5em
}

h2 {
    font-size: 1.6em
}

h3 {
    font-size: 1.4em;
    margin-top: 5px
}

h4 {
    font-size: 1.2em
}

p {
    margin: 0;
    margin-top: 20px;
    margin-bottom: 5px;
    text-align: justify
}

a {
    color: #069;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

img,
embed,
object,
video {
    border: 0;
    max-width: 100%;
    height: auto
}

.wrapper {
    width: 96%;
    margin: 0 auto
}

#maintable {
    border: 1px solid #aaa;
    width: 100%;
    margin: 0
}

header {
    padding: 0;
    margin: 0;
    margin-bottom: .5em;
    display: grid;
    /* 320px for the sides, 1fr (fractional unit) for the middle to fill space */
    grid-template-columns: 320px 1fr 150px;
}

header .logo {
    float: left;
    width: 45%
}

header .headtitle {
    font-size: 1.422em;
    color: #069;
    font-weight: normal
}

header .headtitle #headt {
    font-size: 60%
}

header .otherimage {
    text-align: right;
}

.galitem {
    border: 1px solid #aaa;
    background-color: #eee
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    border: 1px solid #ccc;
    border-bottom: 0
}

nav li {
    border-bottom: 1px solid #ccc
}

nav a span {
    margin-right: .5em;
    color: #069;
    display: block
}

nav a span:first-child {
    color: #222
}

#footer {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    vertical-align: middle;
    width: 100%;
    padding: 5px 0;
    font-size: 80%;
    margin-top: 1em
}

ul.list {
    padding: 0;
    margin: 0
}

ul.list li {
    padding: 0;
    margin: 0
}

#size-left {
    float: left;
    width: 250px;
    height: 850px;
    background-color: #6d6d6d
}

#size-right {
    float: right;
    width: 720px;
    padding: 10px
}

#main-content {
    overflow: hidden;
    display: block
}

.navbar-collapse {
    padding: 0
}

.separator {
    clear: both;
    height: .5em
}

.sepright {
    clear: right;
    height: .5em
}

.clear {
    clear: both;
    height: 0
}

.question {
    margin-top: 30px;
    border: 1px solid #aaa;
    background-color: #eee
}

.question div {
    padding: 2px 5px
}

.gal {
    float: left;
    margin-right: 5px;
    display: inline-block;
    width: 24%;
    margin-top: 30px;
    border: 1px solid #aaa;
    background-color: #eee
}

.gal div {
    padding: 2px 5px
}

.gal .per {
    height: 70px;
    border: 1px solid #aaa;
    background-color: #ddd;
    font-weight: bold
}

.que {
    border-bottom: 1px solid #bbb;
    background-color: #fff
}

.ans {
    border-bottom: 1px solid #bbb;
    background-color: #eee
}

.per {
    background-color: #ddd;
    font-weight: normal
}

#frmquestion {
    margin-top: 20px;
    border: 1px solid #bbb;
    padding: 10px;
    background-color: #eee
}

#frmquestion label {
    display: block;
    width: 100px;
    text-align: left
}

#frmquestion input,
#frmquestion textarea {
    margin-bottom: 10px;
    padding: 2px;
    width: 96%
}

#frmquestion input[type="submit"] {
    width: auto
}

.lfrm {
    width: 24%;
    float: left;
    text-align: right;
    font-weight: bold
}

.rfrm {
    width: 74%;
    float: right
}

@media all and (min-width:480px) {
    header .logo {
        float: left;
        width: 30%
    }

    header .headtitle {
        float: left;
        width: 70%;
        font-size: 2em
    }
}

@media all and (min-width:800px) {

    html,
    body {
        font-size: 1em
    }

    header {
        height: 200px;
        padding: 0;
        overflow: hidden;
        width: 100%;
        border-bottom: 1px solid #aaa;
        background: url("../images/back.png") 0 100% repeat-x
    }

    header .logo {
        width: 260px
    }

    header .headtitle {
        width: auto
    }

    .wrapper {
        width: 98%
    }

    #frmquestion {
        width: 500px
    }

    #frmquestion label {
        display: block;
        width: 100px;
        text-align: left
    }

    #frmquestion input,
    #frmquestion textarea {
        width: 96%
    }
}

@media all and (min-width:1024px) {
    header .logo {
        width: 280px
    }

    #frmquestion input,
    #frmquestion textarea {
        width: 96%
    }
}

@media all and (min-width:1240px) {
    header .logo {
        width: 320px
    }
}