@font-face {
         font-family: 'SketchyTimesBols';
         src: url('fonts/SketchyTimesBold.ttf');
}

body{
	margin: 0 !important;
	font-size: 18px;
	font-family: 'Lato', sans-serif;
}


nav{
	background: #dddddd;
	padding: 15px 15px 20px 15px;
	color: #ffffff;
	widows: calc(100% - 36px);
	text-align: center;
	font-size: 1em;
}

header{
	width: calc(100% - 60px);
	padding: 30px 30px 52px 30px;
	background: #ffffff;
	text-align: center;
	position: relative;
}

#header_title{
	font-family: 'Russo One', sans-serif;
	font-size: 5em;
	text-shadow: 2px 2px 5px rgba(153, 153, 153, 1);
}

#header_description{
	font-size: 1.75em;
	letter-spacing: 6px;
	text-transform: uppercase;
}
.menu-item {
	text-transform: uppercase;
	display:inline-block;
	padding: 5px;
	font-size: 1em;
	height: 30px;
	min-width: 150px
}

.menu-item a {
	text-decoration: none;
	color: rgba(0, 0, 0, 0.71);
	font-weight: 900;
	min-width: 120px;
	padding: 10px;
	display: block;
	
}

.menu-item a:hover {

	color: rgb(255, 255, 255);
	background: #12d697;
}

main {
	background-image: url("img/tło2.png");
	width: calc(100% - 90px);
	margin: auto;
	padding: 45px;
	color: #ffffff;
}

main a{
	color: #000000;
	font-weight: bold;
	text-decoration: underline;
}

main a:hover{
	color: #12d697;
	text-decoration: none;
}

footer {
	color: rgb(5, 36, 105);
	font-size: 16px;
	text-align: center;
	border-width: 1px 0px 1px 0px;
	border-style: solid;
	border-color: rgb(18, 59, 152);
	text-transform: uppercase;
	font-weight: 900;
}

#content_title {
	text-transform: uppercase;
	font-size: 2.55em;
	font-family: 'Russo One', sans-serif;
	background: #ffffff;
	text-align: center;
	color: #000000;
	border: 3px solid #9b9494;
}

.article_content {
	padding: 2em;
}

.article_content a{
	color: #12d697;
}

.article_content a:hover{
	color: #12d697;
}

.yt_video {
	text-align: center;
	width: 100%;
	height: 30%;
}

.social {
	width: 50px;
	height: 50px;
	float: left;
	
}
.social a{
	color: #000000;
	width: 50px;
	height: 50px;
	display: block;
	text-decoration: none;
	margin-top: 15px;
}
.social a:hover{
	color: #ffffff;
}

#social_items {
	position: absolute;
	bottom: 0;
	right: 0;
}

#header_title a {
	color: #000000;
	text-decoration: none;
}

#header_title a:hover{
	color: #12d697;
}

#fb:hover, #tw:hover, #yt:hover, #mail:hover, #gplus:hover{
	cursor: pointer;
	transition: 0.3s;	
	background: #12d697;
}

.content{
	margin-top: 45px;
	background: #ffffff;
	color: #000000;
	width: calc(90% - 60px);
	padding: 30px;
	clear:both;
	margin-right: auto;
	margin-left: auto;
}

 td.upper_line { 
 border-top:solid 1px #000000; 
 }
 
table.fraction {  
	text-align: center; 
	vertical-align: middle;
	margin-top:0.5em; 
	margin-bottom:0.5em; 
	line-height: 2em; 
	border:1px solid #000; 
	padding: 15px;
}

#toutorial_links_title{
	font-size: 1.618em;
}

#toutorial_links{
	border-top: 2px dashed #000000;
	border-bottom: 2px dashed #000000; 
	width: 100%;
	text-align: center;
	margin-bottom: 30px;
	background: #000000;
	color: #ffffff !important;
}

#toutorial_links ul{ 
list-style-type: none;
padding-left: 0;
}

#toutorial_links a{
	    color: #ffffff;
    text-decoration: none;
    width: calc(100% - 30px);
    border: 1px solid #009688;
    padding: 15px;
    display: block;
}

#toutorial_links a:hover{
	background: #12d697;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}
.youtube{
	width: 480px;
	height: 280px;
}
#yt_video{
	text-align: center;
	width: 100%;
	height: 30%;
}

.lesson-topic {
    position: absolute;
    top: 0;
    left: 0;
	width: calc(100% - 30px);
    background: #dddddd;
    padding: 15px;
	font-size: 1em;
}

#tematy{
	text-align: center;
}

#tematy > a {
    display: inline-block;
    position: relative;
    width: 350px;
	border: 5px solid #000000;
	margin-left: 5px;
}

.zadanie{
	width: 100%;
	margin: 10px 0px;
}

.zadanie a{
	background: #000;
	color: #fff;
	text-decoration: none;
	padding: 10px 0px;
	text-align: center;
	border: 4px solid #ddd;
	width: calc(100% - 8px);
	display: block;
}

.zadanie a:hover{
	background: #fff;
}

#content_text img {
    width: 100%;
    max-width: 600px;
    margin: auto;
    display: block;
}

img.temat-img {
    width: 350px;
    height: 350px;
}

b {
    font-style: italic;
    color: #12d697;
}