/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #000000;
}

html {
    height: 100%;
}

body {
    font-size: 1em;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    height: 100%;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

:-moz-any-link:focus {
    outline: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Specific website elements
   ========================================================================== */

section,
footer,
header,
nav
{
    display: block;
}

.inner {
    width: 940px;
    margin: 0 auto;
    text-align: left;
}

a {
    color: #706F6F;
    text-decoration: none;
    outline: none;
    transition: background-color 0.3s ease-in 0s, color 0.3s ease-in 0s;
}

a:hover {
    color: #cbcbcb;
}

a img {
    border: 0;
}

p {
    margin: 0 0 1em 0;
}

h2 {
    font-size: 30px;
    font-weight: normal;
    padding: 50px 0 10px 0;
    margin: 0;
    text-align: center;
}

h3 {
    font-size: 60px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}

h4 {
    font-size: 30px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}

ul {
    padding: 0 0 22px 22px;
    margin: -0;
}

nav#navigation {
    position: relative;
    float: right;
    top: -34px;
    margin-right: 10px;
}

nav#navigation ul, nav#navigation-back ul {
    clear:left;
    list-style:none;
    margin:0;
    padding:0;
    position:relative;
    text-align:center;
}

nav#navigation li, nav#navigation-back li {
    display:block;
    float:left;
    list-style:none;
    margin:0;
    padding:0;
    position:relative;
}

nav#navigation li.active a, nav#navigation li.active a:hover,
nav#navigation-back li.active a, nav#navigation-back li.active a:hover {
    color: #96c52f;
}

nav#navigation li.first, nav#navigation-back li.first {
    border-left: none;
}

nav#navigation li.last, nav#navigation-back li.last {
    border-right: none;
}

nav#navigation li a, nav#navigation-back li a {
    color: #706f6f;
    font: Arial, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display:block;
    margin:0;
    padding:0 10px 0 20px;
    position: relative;
    text-decoration:none;
}

nav#navigation li a:hover, nav#navigation-back li a:hover {
    color: #96c52f;
}

header-container {
}

header {
    position: relative;
    background: #ffffff;
    height: 73px;
    display: block;
    width: 100%;
    z-index: 1;
    padding-top: 9px;
    border-bottom: 1px solid #C5C5C5;
}

header .navbutton {
    display: none;
}

header .logos {
    position: relative;
    width: 290px;
}

header .logos img {
    margin-left: 20px;
}

header .languageswitch {
    position: relative;
    float: right;
    text-align: right;
    margin: -66px 20px 0 0;
}

header .languageswitch img {
    margin-right: 5px;
}

header .languageswitch a {
    color: #706F6F;
    font-size: 12px;
    font-weight: bold;
}

header .languageswitch a:hover {
    color: #96C52F;
}

header .languageswitch .language-icon {
    float: right;
    z-index: 200;
}

header .languageswitch .language-title {
    float: right;
    padding-top: 2px;
    z-index: 200;
}

.white-popup {
    position: relative;
    background: #ffffff;
    padding: 20px;
    width: auto;
    max-width: 300px;
    margin: 20px auto;
}

#languages h2 {
    text-align: left;
    padding: 0;
    margin: 0 0 5px 30px;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
}

#languages ul {
    margin: 0 0 0 30px;
    padding: 0;
    list-style: none;
}

#banners {
    background: url('../images/bg_slider.jpg') fixed center 50% no-repeat;
    background-size: cover;
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 0;
}

#banners #slides {
    width: 100%;
    height: auto;
    background: url('../images/bg-slide-content.png') top left repeat;
}

#slide-content{
    font-family: 'Lato', sans-serif;
	color:#FFFFFF;
	text-align: center;
	width: 80%;
	font-size :55px;
	font-weight: bold;
	text-shadow:0 2px #000;
	margin: 150px auto 0 auto;
	position:relative;
	line-height:120%;
    padding: 20px 0;
}

section#about {
    background-color: #fafafa;
    color: #000000;
    padding: 0 0 10px 0;
}

section#about h2{
    font-family: 'Lato', sans-serif;
    color: #96c52f;
    font-size:40px;
    font-weight: bolder;
}

section#about-2 h2{
    font-family: 'Lato', sans-serif;
    color: #706f6f;
    font-size:40px;
    font-weight:bold;
    text-shadow:#ffffff;
}

section#about-the-app .image {
    float: left;
    margin-right: 25px;
    width: 365px;
}

section#about .content {
    float: right;
    color:#999999;
    text-align:center;
    margin-bottom:40px;
}

section#about-2 .about-content {
    color:#999999;
    text-align:center;
    margin-bottom:40px;    
}

section#about-2{
	background:url("../images/bg_noise.jpg");
	text-shadow: 0 1px #FFFFFF;	
	padding-bottom:40px;
}

.wrapper-about-block{
	width:960px;
}

.about-block{
	float:left;
	width:25%;
    height: auto;
	margin:0 10px;
	padding:25px;
	color:#999999;
	background: url("../images/bg-img-about-block.jpg") repeat-x center bottom #ffffff;
	position:relative;
}

#block2 p{
	display:block;
}

.about-block h3{
    font-family: 'Lato', sans-serif;
	font-size:20px;
	color:#95c11f;
}

.readmore{
	position:absolute;
	bottom:30px;
	width:83%;
}

.readmore a{
 	background: url("../images/bg-readmore-btn.jpg") repeat-x scroll 0 0 transparent;
    border: 1px solid #D8D8D8;
    color: #706F6F;
    display: block;
    font-size: 18px;
    height: 20px;
    padding: 10px;
    text-align: center;
    text-shadow: 0 1px #FFFFFF;
    text-transform:uppercase;
    font-weight:bold;
}

.about-block a:hover{
	background: url("../images/bg-readmore-btn-hover.jpg") repeat-x scroll 0 0 transparent;
	border:1px solid #95c613;
	text-shadow: 0 1px #779f0c;
	color:#ffffff;
	
}

section#awards {
    background:#FFF;
    color: #000000;
    padding: 0 0 50px 0;
}

section#awards h2{
    font-family: 'Lato', sans-serif;
    color: #96c52f;
    font-size:40px;
    font-weight:bold;
}

section#awards .content {
    color:#999999;
    text-align:center;
    margin-bottom:40px;
}

.awards-logos{
	float:left;
	width:33.3%;
}

section#the-game {
    background:#00adef;
    color: #000000;
    padding: 0 0 50px 0;
}

section#the-game h2{
    font-family: 'Lato', sans-serif;
	color:#ffffff;
	font-size:40px;
    font-weight:bold;
    margin-bottom:20px;
    text-shadow:0 3px #0394cb;
}

section#the-game h3{
    font-family: 'Lato', sans-serif;
	color:#ffffff;
	font-size:28px;
    font-weight:bold;
    text-transform: none;
    padding-bottom: 5px;
}

section#the-game .content {
    color:#ffffff;
    text-align:center;
    margin-bottom:40px;
    text-shadow:0 1px #0394cb;
}

section#the-game .content-registration{
	width:47%;
	float:left;
	text-align:left;
	padding:0 25px 20px 0;
	font-size:16px;
}

section#contact {
    background:url("../images/bg_contact.jpg");
    color: #000000;
    padding: 0 0 20px 0;
    height: 800px;
}

section#contact #slide-content {
    background: url("../images/bg-slide-content.png") repeat scroll left top transparent;
    color: #FFFFFF;
    height: auto;
    text-align: center;
    width: 100%;
    font-family: Arial, helvetica;
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    bottom: 30px;
}

section#contact h2 {
    font-family: 'Lato', sans-serif;
    color: #FFF;
    padding: 0 0 30px 0;
    font-size:28px;
    font-weight:bold;
    float:left;
    width:100%;
    text-align:left;
}

section#contact .content {
 	color: #FFFFFF;
    position: relative;
    float: left;
    margin-bottom: 10px;
    width: 25%;
    text-align: left; 
    line-height:140%;
}

section#contact .content strong, section#contact .content b {
	font-weight:bold;
    color:#96c52f;
}

.play_btn a{
	color:#96c52f;
	font-size:36px;
}

a.register_btn{
    background:url("../images/bg_btn-register.jpg");
    color: #706f6f;
    font-weight:bold;
    font-size:48px;
    text-transform:uppercase;
    text-shadow:0 3px #ffffff;
    padding: 15px;
}

a.register_btn:hover{
	background:url("../images/bg_btn-register_hover.jpg");
	color: #FFF;
	text-shadow:0 3px #779f0c;
}

section#register {
    background: url('../images/bg-registration_1.jpg') fixed center 50% no-repeat;
    background-size: cover;
}

section#register #slide-content{
	font-size:40px;
	color:#ffffff;
	font-weight:bold;
	height:auto;
    margin-top: 400px;
    text-align: center;
    background: url('../images/bg-slide-content.png') top left repeat;
    width: 100%;
    padding: 30px 0 50px;
    position: absolute;
    bottom: 30px;
}

#slide-content a img{
	margin-top:-40px;
}

section#registration h2{
    font-family: 'Lato', sans-serif;
    color: #706f6f;
    font-size:40px;
    font-weight:bold;
    text-shadow:#FFF;
}

section#registration .content {
    color:#999999;
    text-align:center;
    margin-bottom:30px;
}

section#registration{
	background:url("../images/bg_noise.jpg");
	text-shadow: 0 1px #FFFFFF;	
	padding-bottom:40px;
}

section#registration .registration-content{
	width:47%;
	float:left;
	text-align:left;
	padding:5px;
	font-size:16px;
	color:#999999;
	font-weight:bold;
}

.registration-content input{
	width:90%;
	height:25px;
	text-shadow:#FFF;
	margin-bottom:20px;
	-moz-box-shadow:0 1px 0 #fff;
	-webkit-box-shadow:0 1px 0 #fff;
	box-shadow: 0 1px 0 #fff;
	border:1px solid #d8d8d8;
	padding:10px;
}

.registration-content textarea{
	width:90%;
	text-shadow:#FFF;
	-moz-box-shadow:0 1px 0 #fff;
	-webkit-box-shadow:0 1px 0 #fff;
    margin-bottom:20px;
	box-shadow: 0 1px 0 #fff;
	border:1px solid #d8d8d8;
	padding:10px;
}

section#registration #btn-submit{
 	background: url("../images/bg-register-btn.jpg") repeat-x scroll 0 0 transparent;
    border: 1px solid #d8d8d8;
    color: #706f6f;
    display: block;
    font-size: 24px;
    font-weight: bold;
    height: 56px;
    padding: 15px;
    text-align: center;
    width: auto;
    text-shadow:0 2px #FFF;
    box-shadow: 0 1px 0 #fff;
    text-transform:uppercase;
    transition: background-color 0.3s ease-in 0s, color 0.3s ease-in 0s;
}


section#registration #btn-submit:hover{
 	background: url("../images/bg-register-btn_hover.jpg") repeat-x scroll 0 0 transparent;
    border: 1px solid #95C613;
    color: #FFFFFF;
    text-shadow:0 2px #779f0c;
}

section#footer{
	background:#ffffff;
	padding: 20px 0 40px 0;
}

section#footer .partners{
    float: right;
    position: relative;
    font-size: 11px;
}

section.background-image {
    height: 800px;
    background-size: 100% auto !important;
}

section#footer .content a{
	margin-right:30px;
    color: #bfd72f;
    font-weight: bold;
}

.align_left {
    float: left;
    margin-right: 25px;
}

.align_right {
    float: right;
    margin-left: 25px;
}

#editpage {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 6px;
    background: #db1174;
    color: #ffffff;
    display: block;
    font-weight: bold;
    z-index: 10000;
}

#editpage:hover {
    background: #ffffcc;
    color: #000000;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
    filter: alpha(opacity=80); }

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden; }

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle; }

.mfp-align-top .mfp-container:before {
    display: none; }

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto; }

.mfp-ajax-cur {
    cursor: progress; }

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out; }

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
    cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none; }

.mfp-loading.mfp-figure {
    display: none; }

.mfp-hide {
    display: none !important; }

.mfp-preloader {
    color: #cccccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044; }

.mfp-preloader a {
    color: #cccccc; }

.mfp-preloader a:hover {
    color: white; }

.mfp-s-ready .mfp-preloader {
    display: none; }

.mfp-s-error .mfp-content {
    display: none; }

button.mfp-close,
button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    padding: 0;
    z-index: 1046; }

button::-moz-focus-inner {
    padding: 0;
    border: 0; }

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: white;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace; }
.mfp-close:hover, .mfp-close:focus {
    opacity: 1; }
.mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
    color: #333333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: white;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%; }

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #cccccc;
    font-size: 12px;
    line-height: 18px; }

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

.mfp-arrow:active {
    margin-top: -54px; }

.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1; }

.mfp-arrow:before, .mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
.mfp-arrow:after,
.mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
.mfp-arrow:before,
.mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px; }

.mfp-arrow-left {
    left: 0; }
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    margin-left: 31px; }
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f; }

.mfp-arrow-right {
    right: 0; }
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
    border-left: 17px solid white;
    margin-left: 39px; }
.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
    border-left: 27px solid #3f3f3f; }

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px; }

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%; }

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: black; }

.mfp-iframe-holder .mfp-close {
    top: -40px; }

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444444; }

.mfp-figure {
    line-height: 0; }

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto; }

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-break: break-word;
    padding-right: 36px; }

.mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px; }

.mfp-image-holder .mfp-content {
    max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
     * Remove all paddings around the image on small screen
     */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0; }

    .mfp-img-mobile img.mfp-img {
        padding: 0; }

    /* The shadow behind the image */
    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0; }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box; }

    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0; }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px; }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0; }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px; } }
@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75); }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0; }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%; }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px; } }
.mfp-ie7 .mfp-img {
    padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
    padding: 0; }
.mfp-ie7 .mfp-content {
    padding-top: 44px; }
.mfp-ie7 .mfp-close {
    top: 0;
    right: 0;
    padding-top: 0; }

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

.small {
    font-size: 0.8em;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

