html {
    overflow-y: auto;
    overflow-x: hidden;
}

/* basic layout */
body {
    margin: 0;
    padding: 10vh 35vh;
    font-family: Arial, Helvetica;
}

section.content {
    display: flex;
}

section.content a {
    color: rgb(74, 144, 226);
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
}

figure {
    margin: 0;
}

figure img {
    max-width: 200px;
}

section.content figure {
    padding-top: 10px;
}

section.content figure img {
    border: solid 2px #ddd;
    width: 76%;
    min-width: 415px;
    max-width: 600px;
}

section.content button {
    font-size: 1em;
    width: 200px;
}

section:last-child {
    padding-bottom: 150px;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.4em;
}

ul {
    padding-top: 2px;
    padding-bottom: 8px;
}

li {
    margin-top: 6px;
    margin-left: -8px;
}

label,
input[type="checkbox"] {
    cursor: pointer;
}

.pad-top {
    padding-top: 25px;
}

div.pad-text {
    padding-top: 3px;
    padding-left: 12px;
    padding-right: 12px;
}

#dontShowAgain {
    width: 18px;
    height: 18px;
}

.center {
    text-align: center;
}

.center .language-select {
    position: absolute;
    right: 96px;
}

.center .pad-top {
    padding-top: 45px;
}

/* taken from applet-ui.css */
h1,
h2,
p,
div {
    overflow: hidden;
    height: auto;
}

p {
    line-height: 20px;
}

.left {
    float: left;
}


.right {
    float: right;
}

/* Default button - common to all browsers */
button {
    height: 25px;
    padding: 0 10px;
    border: none;
    min-width: 70px;
    white-space: nowrap;
    cursor: pointer;
    margin-bottom: 3px !important;
    -webkit-box-shadow: 0px 2px 2px rgba(255,255,255,0.60) inset, 0px 1px 1px #787878;
    -moz-box-shadow: 0px 2px 2px rgba(255,255,255,0.60) inset, 0px 1px 1px #787878;
    -ms-box-shadow: 0px 2px 2px rgba(255,255,255,0.60) inset, 0px 1px 1px #787878;
    -o-box-shadow: 0px 2px 2px rgba(255,255,255,0.60) inset, 0px 1px 1px #787878;
    box-shadow: 0px 2px 2px rgba(255,255,255,0.60) inset, 0px 1px 1px #787878;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    font-weight: normal;
    font-size: 12px;
    font-family: Helvetica, Arial;
    color: #3a5160;
    /* Remove Firefox's dotted-outline when a button is tabbed to */
}
button:enabled:focus {
    outline: none;
}
button::-moz-focus-inner {
    border: 0;
}

/* Control & Header button - common styles */
button.blue {
    font-weight: normal;
    font-size: 12px;
    font-family: Helvetica, Arial;
    color: #fff;
    height: 27px;
}
/* Control Button (blue) */
button.blue {
    color: #fff;
    height: 27px;
    background: transparent url("../images/control.png") repeat-x 0 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
}

html button.blue.active,
html button.blue:enabled:active {
    background-position: 0 -60px !important;
}
html button.blue.hover,
html button.blue:enabled:hover {
    background-position: 0 -30px;
}
html button.blue.focus,
html button.blue:enabled:focus {
    outline: none;
    background-position: 0 -90px;
    -webkit-box-shadow: 0 0 10px #0cf inset;
    -moz-box-shadow: 0 0 10px #0cf inset;
    -ms-box-shadow: 0 0 10px #0cf inset;
    -o-box-shadow: 0 0 10px #0cf inset;
    box-shadow: 0 0 10px #0cf inset;
}

/* RTL Treatments */
html[dir="rtl"] .left {
  float: right;
}

html[dir="rtl"] .right {
  float: left;
}

html[dir="rtl"] .center .language-select {
    right: initial;
    left: 96px;
}


/* responsive treatments */
@media only screen and (max-width: 480px) {
    /* small screen */
    body {
        padding: 2vh 4vh;
    }
}

@media only screen and (min-width: 481px) and (max-width: 960px) {
    /* medium screen */
    body {
        padding: 5vh 8vh;
    }
}
