@font-face {
    font-family: "Sansation_Regular";
    src: url("../fonts/Sansation_Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: "Sansation_Regular";
    src: url("../fonts/Sansation_Italic.ttf");
    font-style: italic;
}
@font-face 
{ 
    font-family: "Sansation_Regular"; 
    src: url('../fonts/Sansation_Regular.ttf');
}

@font-face 
{ 
    font-family: font_2; 
    src: url('../fonts/font_2.otf'); 
}

html, body
{
	height: 100%;
	width: 100%;
	padding: 0px;
	margin: 0px;
	font-size: 20px;
	background: #f2f2f2;
    font-family: "Sansation_Regular";
}

#header, .header
{
	height: 80% !important;
}
#header img, .header img
{
	height: 100%;
	padding-top: 10%;
	transition: all 0.5s;
}
#header img:hover, .header img:hover
{
	-moz-transform:rotate(20deg);
	-webkit-transform:rotate(20deg);
	-o-transform:rotate(20deg);
	transform:rotate(20deg);
}
#search_input
{
	width: calc(100% - 50px);
	line-height: 70px;
	display: none;
}
#search_input input
{
	width: 100%;
	height: 50%;
	text-align: center;
	background: #fff;
	border: none;
	border-radius: 5px;
	padding: 5px;
}
#search_input input:focus
{
	box-shadow: 0 0 0 1px rgba(0,0,0,0.1) inset;
	outline-width: 0;
}
#search
{
	float: right;
	height: 30%;
	top: 35%;
	position: relative;
}
#search img
{
	height: 100%;
	cursor: pointer;
}
.simple_nav
{
	height: 50px;
	width: 100%;
	padding: 0px;
	font-size: 20px;
}
.simple_nav ul, .simple_nav .ul
{
	list-style-type: none;
	height: 100%;
	width: 70%;
	margin: 0px auto;
	padding: 0px;
}
.simple_nav ul li, .simple_nav .ul .li
{
	padding-left: 0px;
	float: left;
	margin-right: 50px;
	margin-left: 0px;
	height: 100%;
}
nav ul li a, #main_nav .ul .li a
{
	color: #c7c6c6;
	text-decoration: none;
	font-size: 15px;
	line-height: 60px;
	transition: all 0.2s ease-in-out;
}

#main_nav_container 
{
    height: 70px;
    background: gray;
}

nav ul li a:active, #main_nav .ul .li a:active, .button, button, .button_normal
{
	outline: none;
}
.simple_nav ul .right_li, .simple_nav ul .register, .simple_nav ul .logout, .simple_nav ul .account
{
	float: right;
	margin-left: 20px;
	margin-right: 0px;
}

nav ul li a:hover, nav ul .active a, nav ul .active, nav ul .active:hover
{
	color: #717171;
}

nav ul .text
{
	margin-right: 0px;
}

nav ul .text a
{
	color: #484848;
}
nav ul .text a:hover
{
	color: #484848;
}

#main_nav
{
	background: #f2f2f2;
	background: rgba(255,255,255,0.95);
	position: fixed;
	width: 100%;
	padding: 0px;
	height: 70px;
	min-width: 200px;
	z-index: 5;
	box-shadow: 0px 3px 10px 3px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
#main_nav ul li a, #main_nav .ul .li a
{
	font-size: 20px;
	line-height: 70px;
}
#main_nav ul .account a img
{
	vertical-align: middle;
	height: 40%;
}
#main_nav ul .right_li a, #main_nav ul .register a,  #main_nav ul .logout a, #main_nav ul .account a
{
	font-size: 14px;
	width: 100%;
	height: 100%;
	padding: 7px;
}
#main_nav ul .logout
{
	margin: 0px;
	color: #c7c6c6;
}
#main_nav ul .account
{
	max-width: 200px;
	overflow: hidden;
	text-overflow: "...";
	color: #c7c6c6;
	white-space: nowrap;
	text-align: right;
}
#main_nav ul .register span
{
	height: 20px;
	width: 100%;
	padding: 0px;
}

#main_nav #main_nav_min
{
	display: none;
}

#min_menu_entries
{
	display: none;
	height: auto;
	width: 100%;
}
#min_menu_entries li
{
	width: 100%;
	display: block;
	background: white;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	margin: 0px;
	padding: 0px;
	height: 35px;
	text-align:center;
}
#min_menu_entries li a
{
	line-height: 35px !important;
}

#main_nav_min #menu img
{
	height: 100%;
	cursor: pointer;
}
#main_nav_min #menu
{
	height: 30%;
	top: 35%;
	position: relative;
	margin-right: 10px;
}

#title
{
	padding: 20px;
	margin: 0px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #1173ad;
	
}
#title #title_head
{
    padding: 0px;
    margin: 0px;
    display: inline-block;
}
#title #time

#title h1, #title h2
{
	padding: 0px;
	margin: 0px;
	font-weight: bold;
    /*font-family: font_2; */
}
h1
{
	font-size: 28px;
    margin: 0px;
}
h2
{
	font-size: 16px;
    color: #d1d1d1;
    left: 0px;
    display: block;
    text-align: left;
}
#title nav
{
	width: 70%;
	margin: 0px auto;
}
#content_wrapper, .row
{
	background: #f2f2f2;
	/*background: white;*/
	width: 100%;
	min-width: 200px;
	margin: 0px auto;
	/*box-shadow: inset 0px 5px 5px -2px rgba(200,200,200,0.5);*/
}
.sort_nav 
{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    flex-wrap: wrap;
	justify-content: space-between;
	
	width: 70%;
	margin: 0px auto;
	overflow: hidden;
	min-height: 20px;
}
.sort_nav ul
{
	padding: 15px 0px 0px 0px;
	margin: 0;
	list-style: none;
	border-top: 1px solid rgba(0,0,0,0.1);
	margin-left: -10px;
	margin-bottom: 10px;
}

.sort_nav ul li
{
	float: left;
	margin-left: 10px;
}
.sort_nav ul li a
{
	line-height: 30px;
}
#content_wrapper .main, .row .main
{
	font-size: 17px;
	padding: 0px;
	width: 70%;
	margin: 0px auto;
	background: white;
	box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);
	border-radius: 2px;
	color: #484848;
	min-height: 200px;
}
#content_wrapper .main #top_image
{
	height: 300px;
	width: 100%;
	overflow: hidden;
	position: relative;
	z-index: 1;
}
#content_wrapper .main #top_image img
{
	position: absolute;
    top:-100%; left:0; right: 0; bottom:-100%;
    margin: auto;
	width: 100%;
}
#content_wrapper .main .content
{
	/*margin: 20px;*/
	padding: 20px;
}
#content_wrapper .main a:link, #content_wrapper .main a:visited
{
	color: #838282;
	text-decoration: none;	
	transition: all 0.2s ease-in-out;
}

#content_wrapper .main a:hover
{
	color: #505050;
	text-decoration: underline;
}

#content_wrapper .content .form_group
{
	margin-bottom: 10px;
}

#content_wrapper .content .form_group label
{
	font-weight: bold;
	font-size: 15px;
}
#content_wrapper .content .form_group input, #content_wrapper .content .form_group textarea
{
	width: calc(100% - 10px);
	display: inline-block;
	border: 1px solid rgb(204, 204, 204);
	border-radius: 5px;
	padding: 5px;
	background: white;
}
#content_wrapper .content .form_group input:focus, #content_wrapper .content .form_group textarea:focus
{
	box-shadow: 0px 0px 8px rgba(18, 150, 188, 0.6);
}
#content_wrapper .content .form_group textarea
{
	height: 200px;
}
#content_wrapper .content .form_group input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px #ffffff inset;
    -webkit-text-fill-color: #333;
}

#content_wrapper .content .form_group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0px 0px 8px rgba(18, 150, 188, 0.6),0 0 0 50px #ffffff inset !important;
    -webkit-text-fill-color: #333;
} 

form .save
{
	margin-top: 20px;
	background: none;
	padding: 0px;
}
form .save input[type=submit], .button, button, #main_nav ul .register a, .button_normal
{
	color: white !important;
	background: #1296bc;
	background: linear-gradient(#1296bc, #1070ab);
	border-radius: 5px;
	cursor: pointer;
	border: none;
}
form .save input[type=submit], .button
{
	width: auto;
	height: auto;
	padding: 5px 10px;
}
form .save input[type=submit]:hover, .button:hover,  #main_nav ul .register a:hover
{
	background: #0d708c;
	background: linear-gradient(#0d708c, #0b5b72);
	text-decoration: none !important;
	color: white !important;
}

.button
{
	display: inline-block;
	padding: 20px 40px;
	margin: 20px auto;
}

button, .button_normal
{
	padding: 5px 10px;
	font-size: 15px;
	line-height: 20px;
	background: #f3f3f3;
	background: linear-gradient(to bottom, #ffffff, #f3f3f3);
	border: 1px solid rgba(0,0,0,0.1);
	color: #484848 !important;
	margin-bottom: 5px;
	text-decoration: none;
}

button:hover, .active button, .button_normal:hover
{
	background: #f3f3f3;
}

table
{
	width: 100%;
	border-top: 1px solid rgba(0,0,0,0.1);
	border-left: 1px solid rgba(0,0,0,0.1);
	font-size: 14px;
}
table td, table th
{
	border-right: 1px solid rgba(0,0,0,0.1);
	border-bottom: 1px solid rgba(0,0,0,0.1);
	text-align: center;
}

.message_warn, .message_success
{
	border: 1px solid rgba(0,0,0,0.1);
	margin-bottom: 20px;
	padding: 15px;
	text-align: center;
	border-radius: 5px;
}
.message_success
{
	background: #d9edf7;
	color: #1296bc;
}
.message_warn
{
	background: #f2dede;
	color: #c04240;
}

footer
{
	width: 100%;
	margin: 0px auto;
	min-width: 200px;
}

@media (max-width:1024px) 
{
	.simple_nav ul, .simple_nav .ul
	{
		width: 90%;
	}
	#content_wrapper .main, .row .main
	{
		width: 90%;
	}
	#content_wrapper .sort_nav
	{
		width: 90%;
	}
	#content_wrapper .main #top_image
	{
		height: 200px;
	}
	#main_nav ul .account
	{
		max-width: 120px;
	}
}
@media (max-width:750px) 
{
	#main_nav li, .simple_nav li, #main_nav .li
	{
		margin-right: 10px;
	}
	h1
	{
		font-size: 25px;
	}
	#main_nav .right_li, #main_nav .register, #main_nav .account, #main_nav .logout
	{
		margin-right: 0px;
		margin-left: 10px;
	}
}
@media (max-width:550px) 
{
	.simple_nav ul, .simple_nav .ul
	{
		width: 99%;
	}
	#content_wrapper .main, .row .main
	{
		width: 99%;
	}
	#content_wrapper .sort_nav
	{
		width: 99%;
	}
	#content_wrapper .main .content
	{
		padding: 10px;
	}
	#title
	{
		padding: 10px;
	}
	#main_nav .register
	{
		display: none;
	}
	#main_nav .logout
	{
		display: none;
	}
	#content_wrapper .main #top_image
	{
		height: 100px;
	}
}
@media (max-width:450px) 
{
	#main_nav ul li a
	{
		font-size: 15px;
	}
	#search
	{
		height: 30%;
		top: 35%;
	}
	#main_nav ul .account
	{
		max-width: 50px;
	}
}
@media (max-width:330px) 
{
	#main_nav #main_nav_full
	{
		display: none;
	}
	#main_nav #main_nav_min
	{
		display: block;
	}
	#search_form_min
	{
		display: block !important;
	}
}
@media  (orientation:landscape) 
{
    #main_nav_container
    {
        height: 50px;   
    }
	#main_nav
	{
		height: 50px;
	}
	#main_nav ul li a, #main_nav .ul .li a
	{
		font-size: 17px;
		line-height: 50px;
	}
	#main_nav ul .right_li a, #main_nav ul .register a, #main_nav ul .logout a, #main_nav ul .account a
	{
		font-size: 14px;
		padding: 7px;
	}
	#search
	{
		height: 40%;
		top: 30%;
	}
	#main_nav_min #menu
	{
		height: 40%;
		top: 30%;
	}
	#search_input
	{
		line-height: 50px;
	}
}

@media print 
{
	html, body
	{
		background: white;
	}
	nav, button, .button_normal
	{
		display: none !important;
	}
	#title
	{
		background: none;
		padding: 0px;
		color: black;
		box-shadow: none;
	}
	#title h1, #title h2, #title time
	{
		font-family: Sansation_Regular;
		color: black;
	}
	.comment_entry
	{
		display: none;
	}
	#content_wrapper
	{
		background: white;
	}
	#content_wrapper .main
	{
		width: 100%;
		box-shadow: none;
	}
	.blog_picture
	{
		width: 30% !important;
	}
}