/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * python github
 * 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. 
 * verohallinto, PL 6000, 00052, vero
 */

/* ==========================================================================
   Base styles: defaults
   ========================================================================== */
 font-size:100%; 
html {
    color: #00006a; /* #222; */
     font-size: 1.0em; 
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0px; /*0.2em 0;*/
}

/* ==========================================================================
   Author's custom styles  http://www.fotosearch.com/CSP019/k19810713/ http://www.fotosearch.com/CSP789/k17620506/
   ========================================================================== */

body {font: Candara; font-size: 1.05em; color: #00006a;     line-height: 1.23; } 
.page{
  background-image: url("background.png");
  
      /* Full height */
    height: 100%; 

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
header, section, footer
{  padding-top:10px; text-align:center; clear: both;  } 
nav {  padding-top:2.5%; text-align:center; clear: both; }
nav ul { margin:0; padding-top: 0.5%; padding-bottom:0.6%; text-align: center;  background: white; }
nav ul li {display:inline; margin:8px; font-size: 20px; }
navl ul li { padding-top:5px; padding-bottom:5px; list-style: none; margin-left: -40px;}
.content a{ color: #0000ba; text-decoration: none;}
nav a{ color: #39398a; text-decoration: none;}
navl a{ color: #39398a; text-decoration: none;}
footer a{ color: #39398a; text-decoration: none;}
.smol{
		display:none;
}
#menu-icon {

	/*display: none; /*hidden; */
	display:none;
	width: 42px; 
	height: 36px;
	background: #00cccc url(img/menu-icon.png) no-repeat center; /* #4C8FEC*/
    position: absolute;
	top: 25px;
	left: 86%; 
}
a:hover#menu-icon {

	background-color: #444;
	border-radius: 4px 4px 0 0;
}
.icon{
 float: right;
}
.logo2{
	width: 6.5%;
    position: absolute;
	top: 6.5%;
	left: 0px;	
}
.logo{
	width: 6.5%;
    position: absolute;
	top: 6.5%;
	left: 0px;		
}
.pg_hdg{ margin-top: 30px;}
.content{
    width: 100%;
    margin-left: 0%;
    margin-right: 0%;
	clear: right;
	overflow:hidden;
}
.wide_content{
    width: 100%;
    margin-left: 0%;
    margin-right: 0%;
	clear: right;
	overflow:hidden;
}
.cont_in{
	width: 85%;
}
textarea {
	width: 95%;
}

aside, main, article{
  float:left;  
}
aside{
  width: 15%;
  background: white; 
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: left;
  padding-left: 2%;
  padding-right: 2%;
  font-size: 1.1em;
  border-bottom:solid 1px black;
  border-right:solid 1px black;
  border-top:solid 1px black;
  }
  aside h2{
    font-size: 16px;
	margin-bottom: 15px;
	text-align: center;
  }
  aside h3{
    font-size: 16px;
    text-align: left;
	margin-bottom: -15px;
    margin-top: 20px;
  }
main{
  width: 100%; 
 margin: 0%;  
}
ls_main{
  width: 78%; float: left; padding: 1%; 
/*#0cc; /*#cce5ff; /*#ccccff; /*#e5e5ff; /*#1E90FF;*/
}
.etu_img{
  width: 40%;
  margin-left: 20%;
  margin-right: 20%;
}
article{
  width: 28.7%;  /*border: solid 1px #e6e3e8; /*#cecee5;/*#0cc; /*#cecee5; /*#766;  #1E90FF; */
  margin:1%; padding:1.2%; text-align:left; float: left; 
}

.leftal{
	margin-bottom: 3%;
	font-weight: bold;
}
.btn{
	margin-top: 5px;
	margin-bottom: 5px;
}
.label{
  float: left;
	width: 70px;  
}
.clr{
	clear: left;
}
.input{
	float: left;
    width: 76%;
	margin-bottom: 10px;
}
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 1.7;
}
.serv_art{
	width: 25%;	
	float: left;
	margin-left: 5%;
	
	
}
.mserv_art{/* the middle one */
	width: 25%;	
	float: left;
	margin-left: 3.5%;
	margin-top: 4%;
}
.rserv_art{
	width: 25%;	
	float: left;
	margin-left: 3.0%;
	margin-top: 4%;
}

.contact{
width: 8%;
float: left;
text-align: center;
margin-left: 19%;
}

.conts{
	width: 100%;	
	font-size: 1.0em;
}
.contact img{
  border: solid 2px purple;
  width: 100%;
}
.contacts_art{
	width:50%;
	height: 372px;
	margin-left: 25%;
	margin-right: 25%;
    font-size: 1.0em;
} 
.form{
	width: 44%;
	margin-left: 28%;
	margin-right: 28%;
	clear: left;
		font-size: 1.0em;
}
.feedback{
	width: 50%;
	font-size: 1.0em;
	text-align: center;
	margin-left: 25%;
	margin-right: 25%;
	margin-bottom: -10px;
	padding-top: 5px;
	color: purple;
}
article img{
  width: 98%;
/*  border: solid 1px  #2a7879; /*#0cc; */
}

.cleft{
	width: 19%;
	float: left;
	text-align: left;
	margin-left: 30%;
	border-right: solid 1px #fcfbfb;
	border-bottom: solid 1px #fcfbfb;
}
.cright{
	width: 15%;
	float: left;
	text-align: right;
	margin-right: 30%;
	border-left: solid 1px #fcfbfb;
	border-bottom: solid 1px #fcfbfb;
}

footer{
  clear: left;
  width: 100%;
  background: #b5c890; 
  height: 60px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 1.0em;
  padding-top:10px; padding-bottom:8px;
  
}
.fleft{
	width: 22%;
	float: left;
	margin-left: 19%;
	text-align: left;
}
.fmid{
	width: 24%;
	float: left;
	margin-left: 0%;
	text-align: center;
}
.fmid2{
	width: 32%;
	float: left;
	margin-left: 0%;
	text-align: center;
}
.fright{
	width: 16%;
	float: left;
	margin-left: 0%;
	text-align: right;
}
.fright2{
	width: 20%;
	float: left;
	margin-left: 0%;
	text-align: right;
}
/*MEDIA QUERY*/
@media only screen and (max-width : 1400px) { 
body{
	font: Candara; font-size: 1.05em; color: #00006a;     line-height: 1.20;
}
}
/*MEDIA QUERY*/
@media only screen and (max-width : 1300px) { 
body{
	font: Candara; font-size: 1.05em; color: #00006a;     line-height: 1.22; 
}
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 1.8;
}
.contact{
width: 15%;
float: left;
text-align: center;
margin-left: 13.75%;
	line-height: 1.65;
	font-size: 0.9em;
		margin-top: 10px;
}
.contact img{
  border: solid 2px purple;
  width: 50%;
}
.conts{
	width:100%;
	text-align: center;
	line-height: 1.65;
}
.btn{
	margin-top: 10px;
	margin-bottom: 15px;
}

}
/*MEDIA QUERY*/
@media only screen and (max-width : 1200px) { 
body{
	font: Candara; font-size: 1.05em; color: #00006a;     line-height: 1.145; 
}
.logo2{
	width: 6.5%;
    position: absolute;
	top: 6.3%;
	left: 0px;	
}
.logo{
	width: 6.5%;
    position: absolute;
	top: 6.3%;
	left: 0px;		
}
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 2.1;
}
.conts{
	width:100%;
	text-align: center;
	line-height: 1.5;
}
.btn{
	margin-top: 20px;
	margin-bottom: 30px;
}

}

/*MEDIA QUERY*/
@media only screen and (max-width : 1100px) { 
body{
	font: Candara; font-size: 1.05em; color: #00006a;     line-height: 1.12; 
}
.logo{
	width: 6.5%;
    position: absolute;
	top: 5.4%;
	left: 0px;	
}
.logo2{
	width: 6.5%;
    position: absolute;
	top: 5.4%;
	left: 0px;
}
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 2.0
}
.conts{
	width:100%;
	text-align: center;
	line-height: 1.8;
}
.btn{
	margin-top: 25px;
	margin-bottom: 35px;
}
.leftal{
	margin-bottom: 5%;
	font-weight: bold;
	margin-top: 5px;
}
}
/*MEDIA QUERY*/
@media only screen and (max-width : 1000px) { 
body {font: Candara; font-size:1.089em; color: #00006a; line-height: 1.10; }
.logo{
	width: 7%;
    position: absolute;
	top: 5.7%;
	left: 0px;
}
.logo2{
	width: 7%;
    position: absolute;
	top: 5%;
	left: 0px;
}
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 2.1
}
.conts{
	width:100%;
	text-align: center;
	line-height: 1.50;
}
}
/*MEDIA QUERY*/
@media only screen and (max-width : 900px) { 
body {font: Candara; font-size:1.089em; color: #00006a; line-height: 1.10; }
.logo{
	width: 7%;
    position: absolute;
	top: 5.4%;
	left: 0px;
}
.logo2{
	width: 7%;
    position: absolute;
	top: 5%;
	left: 0px;
}
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 2;
}
.conts{
	width:100%;
	text-align: center;
	line-height: 1.51;
}
}
@media only screen and (max-width : 800px) { 
body {font: Candara; font-size:1.089em; color: #00006a; line-height: 1.34; }
.logo{
	width: 8%;
    position: absolute;
	top: 4.6%;
	left: 0px;
}
.logo2{
	width: 8%;
    position: absolute;
	top: 5%;
	left: 0px;
}
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 1.85;
}
aside{
  width: 20%; 
  background: white; 
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: center-left;
  padding-left: 2%;
  padding-right: 2%;
  height: 10%; 
  font-size: 0.89em;
  border-bottom:solid 1px black;
  border-right:solid 1px black;
  border-top:solid 1px black;
  }
ls_main{
  width: 70%; float: left; padding: 1%; 
}  
.conts{
	width:100%;
	text-align: center;
	line-height: 1.48;
}
.btn{
	margin-top: 15px;
	margin-bottom: 25px;
}
.fleft{
	width: 35%;
	float: left;
	margin-left: 2%;
	font-size: 1.0em;
	text-align: left;

}
.fmid{
	width: 36%;
	float: left;
	margin-left: 0%;
	font-size: 1.0em;	
	text-align: center;

}
.fright{
    width: 25%;
    float: left;
    margin-right: 2%;
	font-size: 1.0em;
    text-align: right;

}

.fmid2{
	width: 36%;
	float: left;
	margin-left: 0%;
	font-size: 1.0em;	
	text-align: center;

}
.fright2 {
    width: 25%;
    float: left;
    margin-right: 2%;
	font-size: 1.0em;
    text-align: right;
}
}

/*MEDIA QUERY*/
@media only screen and (max-width : 700px) { 
body {font: Candara; font-size:1.089em; color: #00006a; line-height: 1.19;   }
.logo{
	width: 7%;
    position: absolute;
	top: 5.1%;
	left: 0px;
}
.logo2{
	width: 7%;
    position: absolute;
	top: 5%;
	left: 0px;
}
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 2.1;
} 
.conts{
	width:100%;
	text-align: center;
	line-height: 1.5;
}

.leftal{
	margin-bottom: 10%;
	font-weight: bold;
	margin-top: 10px;
}
.btn{
	margin-top: 20px;
	margin-bottom: 25px;
}
.big{
		display:none;
}
.smol{
		display:block;
}

.logo{
	width: 9%;
    position: absolute;
	top: 3.86%;
	left: 0px;
}
.logo2{
	width: 9%;
    position: absolute;
	top: 3.86%;
	left: 0px;
}
.top_art{
	width:80%;
	margin-left: 10%;
	margin-right: 10%;
	text-align: center;
	line-height: 1.5;
}
.etu_img{
  width: 66%;
  margin-left: 13%;
  margin-right: 13%;
}
aside{
  width: 20%; 
  background: white; 
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: center-left;
  padding-left: 2%;
  padding-right: 2%;
  height: 10%; 
  font-size: 0.89em;
  border-bottom:solid 1px black;
  border-right:solid 1px black;
  border-top:solid 1px black;
  }
ls_main{
  width: 70%; float: left; padding: 1%; 
}
.fleft{
	width: 35%;
	float: left;
	margin-left: 2%;
	font-size: 1.0em;
	text-align: left;

}
.fmid{
	width: 36%;
	float: left;
	margin-left: 0%;
	font-size: 1.0em;	
	text-align: center;

}
.fright{
    width: 25%;
    float: left;
    margin-right: 2%;
	font-size: 1.0em;
    text-align: right;

}

.fmid2{
	width: 36%;
	float: left;
	margin-left: 0%;
	font-size: 1.0em;	
	text-align: center;

}
.fright2 {
    width: 25%;
    float: left;
    margin-right: 2%;
	font-size: 1.0em;
    text-align: right;
}
}
/*MEDIA QUERY*/
@media only screen and (max-width : 650px) { 	
body {font: Candara; font-size:0.9em; color: #00006a; line-height: 1.0;  }
.top_art{
	width:70%;
	margin-left: 15%;
	margin-right: 15%;
	text-align: center;
	line-height: 1.7;
	margin-top: 5px;
}
.conts{
	margin-top: 9%;
	width:100%;
	text-align: center;
	line-height: 1.5;
}
.top_art img{
	margin-bottom: 10%;
}
.logo{
	width: 15%;
    position: absolute;
	top: 0%;
	left: 0%;
}
.logo2{
	width:18%;
    position: absolute;
	top: 0%;
	left: 0%;	
}
.icon{
 float: right;
 width: 25px;
 height: 25px;
}
#menu-icon {

		display:inline-block;
	
	width: 42px; 
	height: 36px;
	background: url(../img/menu-icon.png) no-repeat center; 
    position: absolute; 
	top: 1px;
	left: 85%;
}
a:hover#menu-icon {
	background-color: #edfefe;
	border-radius: 4px 4px 0 0;
	border: solid 1px #00cccc;
}

.nav_cont{ border-top: solid 2px #00cccc; border-bottom:  solid 2px #00cccc; width: 80%; height: 8px; margin-left: 10%;}
  nav{margin-top: -15px; margin-bottom: -5px;}
  nav:hover ul {
		display: block;
	}
	  nav ul{
		display: none;
	  }
nav ul, nav:active ul  { 

	   /* display: none;  */
		position: absolute;
		padding: 20px;
		border: 3px solid #00cccc;
		left: 60%;
		top: 25px;
		width: 120px;
		border-radius: 4px 0 4px 4px;
        background: #edfefe; 
		color: #360033;
	}

	nav ul li {
	    display: block;
		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;

	}
    li ul{
    display:none;
}

li:hover ul{
    display:block;
}
.wide_content{
    width: 100%;
    margin-left: 0%;
    margin-right: 0%;
	margin-top: 10%;
	clear: right;
	overflow:hidden;
}
aside{
  width: 28%; 
  background: white; 
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: center-left;
  padding-left: 2%;
  padding-right: 2%;
  height: 10%; 
  font-size: 0.9em;
  border-bottom:solid 1px black;
  border-right:solid 1px black;
  border-top:solid 1px black;
  }
ls_main{
  width: 64%; float: left; padding: 1%; 
}
.serv_art{
	    width: 80%;
		margin-left: 10%;
		margin-right: 10%;
		text-align: center;
		padding-top: 25px;
}
.mserv_art{/* the middle one */
		width: 80%;
		margin-left: 10%;
		margin-right: 10%;
		text-align: center;
		padding-top: 25px;

}
.rserv_art{
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
	text-align: center;
}
.contact{
width: 30%;
float: left;
text-align: center;
margin-left: 2.5%;
	line-height: 1.65;
	font-size: 0.9em;
}
.contact img{
  border: solid 2px purple;
  width: 60%;
}
.leftal{
	margin-bottom: 8%;
	font-weight: bold;
	margin-top: 10%;
}
.form{
	width: 74%;
	margin-left: 13%;
	margin-right: 13%;
	clear: left;
	margin-bottom: 15px;
}

.btn{
	margin-top: 3%;
	margin-bottom: 8%;
}

footer{
  clear: left;
  width: 100%;
  background: #b5c890;  */
  height: 60px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 0.82em;
  padding-top:10px; padding-bottom:8px;
  line-height: 1.4;
}
}
/*MEDIA QUERY*/
@media only screen and (max-width : 580px) { 
.btn{
	margin-top: 7%;
	margin-bottom: 10%;
}
}
/*MEDIA QUERY*/
@media only screen and (max-width : 495px) { 
.btn{
	margin-top: 9%;
	margin-bottom: 20%;
}
}
@media only screen and (max-width : 450px) { 
.btn{
	margin-top: 15%;
	margin-bottom: 25%;
}
}
@media only screen and (max-width : 400px) { 
.btn{
	margin-top: 16%;
	margin-bottom: 25%;
}
}

/*MEDIA QUERY*/
@media only screen and (max-width : 330px) { 

.logo{
	width: 19%;
    position: absolute;
	top: 0%;
	left: 0%;
}
.logo2{
	width: 27%;
    position: absolute;
	top: 0%;
	left: 0%;
}
.icon{
 float: right;
 width: 25px;
 height: 25px;
}
#menu-icon {

		display:inline-block;
	
	width: 42px; 
	height: 36px;
	background: url(../img/menu-icon.png) no-repeat center; 
    position: absolute; 
	top: 1px;
	left: 80%;
}
nav ul, nav:active ul  { 
		position: absolute;
		padding: 20px;
		border: 3px solid #00cccc;
		left: 30%;
		top: 30px;
		width: 120px;
		border-radius: 4px 0 4px 4px;
        background: #edfefe; /*#fff;*/
		color: #360033;
	}
aside{
  width: 40%; 
  background: white;
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: center-left;
  padding-left: 2%;
  padding-right: 2%;
  height: 10%; 
  font-size: 0.9em;
  border-bottom:solid 1px black;
  border-right:solid 1px black;
  border-top:solid 1px black;
  }
ls_main{
  width: 53%; float: left; padding: 1%; 
}
.serv_art{
	    width: 96%;
		margin-left: 2%;
		margin-right: 2%;
		text-align: center;
		padding-top: 25px;
}
.mserv_art{/* the middle one */
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
		text-align: center;
		padding-top: 25px;

}
.rserv_art{
	width: 90%;
	margin-left: 5%;
	margin-right: 5%;
	text-align: center;
}
.btn{
	margin-top: 16%;
	margin-bottom: 35%;
}	
footer{
  clear: left;
  width: 100%;
  background: #b5c890;
  height: 60px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 0.63em;
  padding-top:20px; 
  padding-bottom:8px;
}	

}
@media only screen and (max-width : 230px) { 
body {font: Candara; font-size:0.9em; color: #00006a; line-height: 0.8; }
.logo{
	width: 19%;
    position: absolute;
	top: 0%;
	left: 0%;
}
.logo2{
	width: 30%;
    position: absolute;
	top: 0%;
	left: 0%;
}
.icon{
 float: right;
 width: 25px;
 height: 25px;
}
#menu-icon {

		display:inline-block;
	
	width: 42px; 
	height: 36px;
	background: url(../img/menu-icon.png) no-repeat center; 
    position: absolute; 
	top: 1px;
	left: 80%;
}
nav ul, nav:active ul  { 
		position: absolute;
		padding: 20px;
		border: 3px solid #00cccc;
		left: 30%;
		top: 30px;
		width: 120px;
		border-radius: 4px 0 4px 4px;
        background: #edfefe;
		color: #360033;
	}
footer{
  clear: left;
  width: 100%;
  background: #b5c890; 
  height: 60px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 0.5em;
  padding-top:10px; padding-bottom:8px;
}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}