/*
Free Html5 Responsive Templates
Author: Kimmy
Author URI: http://www.zerotheme.com/
*/
/* -------------------------------------------- */
/* ------------------Reset--------------------- */
a, abbr, acronym, address, applet, article, aside, audio, b, blockquote, big, body, center, canvas, caption, cite, code, command, datalist, dd, del, details, dfn, dl, div, dt, em, embed, fieldset, figcaption, figure, font, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, keygen, label, legend, li, meter, nav, object, ol, output, p, pre, progress, q, s, samp, section, small, span, source, strike, strong, sub, sup,  tdvideo, tt, u, ul, var {
	background: transparent;
	border: 0 none;
	font-size: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: top;
/*	text-align: center;*/
}
table, tbody, tfoot, thead, th, tr{
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
table, table td {
	padding: 0;
	/*	border: none; */
	border-collapse: collapse;
	font-size: 12px;
	/*text-align: center;*/
}
img {
	vertical-align: top;
}
embed {
	vertical-align: top;
}
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {
	display: block;
}
mark, rp, rt, ruby, summary, time {
	display: inline;
}
input, textarea {
	padding: 0;
	margin: 0;
	outline: 0;
}
iframe {
	border: 0;
	margin: 0;
	padding: 0;
}
input, textarea, select {
	margin: 0;
	padding: 0px;
}
/* -------------------------------------------- */
/* ------------------Font---------------------- */

/*Add your font at here*/

/* -------------------------------------------- */
/* ------------------Style--------------------- */
html, body {
	width: 100%;
	padding: 0;
	margin: 0;
}
body {
	background: #0CF;
	color: #474747;
	font: 12px/25px Arial, Helvetica, sans-serif;
}
a {
/*	color: #474747;*/
	text-decoration: none;
}
a:hover {
	color: #DA251D;
	text-decoration: none;
}
a.button {
	cursor: pointer;
	color: #ffffff;
	line-height: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	background: #3F3F3F;
	border: 1px solid #ffffff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
}
a.button {
	display: inline-block;
	text-decoration: none;
	padding: 6px 12px 6px 12px;
}
a.button:hover {
}
a:visited {
  color: purple;
}
.clear {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* -------------------------------------------- */
/* ------------------Header-------------------- */
header {
	background: #039;
	margin-bottom: 30px;
}
header .wrap-header {
	height: 130px;
}
header #logo {
	position: absolute;
	top: 2s0px;
	padding: 5px;
	width: 100%;
}
/* -------------------------------------------- */
/* ------------------Navigation---------------- */
nav {
}
nav .wrap-nav {
	position: absolute;
	top: 50px;
	left: 10px;
	height: 37px;
}
.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu ul li {
	position: relative;
	float: left;
/*	padding: 6px 5px 0px 5px;*/
	background: #333;
}
.menu ul li:hover {
	background-color: #DA251D;
}
.menu ul li a {
	font-size: 12px;
	line-height: 12px;
	color: #CCC;
	display: block;
/*	padding: 6px 10px;*/
/*	margin-bottom: 5px;*/
	z-index: 2;
	position: relative;
	font-weight: bold;
	text-transform: uppercase;
}
.menu ul li:hover a {
	color: #ffffff;
}
.minimenu {
	display: none;
}
.minimenu {
	position: relative;
	margin: 0px;
	background: #999;
}
.minimenu div {
	overflow: hidden;
	position: relative;
	font: 18px/40px 'PT Sans Narrow';
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
}
.minimenu select {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
	cursor: pointer;
}
/* -------------------------------------------- */
/* ------------------Content------------------- */
#content {
}
#content .wrap-content {
	background-color: #FFF;
	border: 10px solid #0FF;
	margin-top: 30px;
	padding: 10px;
}
.block {
	margin: 10px;
}
#main-content {
}
#main-content article {
	clear: both;
	margin: 10px 0px;
}
#main-content article .heading {
}
#main-content article .content {
}
#main-content article h2 {
	font-size: 22px;
	line-height: 25px;
}
#main-content article .info {
	font-style: italic;
}
#main-content article img {
	float: left;
	margin: 10px 10px 10px 0;
	padding: 5px;
	border: 1px solid #CCC;
}
#main-content article p {
	margin-bottom: 10px;
}
#main-content article .more {
	float: right;
	margin-bottom: 30px
}
#sidebar {
}
#sidebar .box {
	margin-bottom: 20px;
}
#sidebar .heading {
	padding: 5px;
	border-bottom: 3px double #333333;
}
#sidebar .heading h2 {
	font-size: 22px;
	font-weight: normal;
	display: inline;
	padding: 0 10px;
}
#sidebar .content {
	padding: 15px
}
#sidebar .content ul {
	font-size: 14px;
	list-style-type: circle;
	margin-left: 20px;
}
#sidebar .content ul li {
	border-bottom: 1px solid #E1E1E1;
	padding: 5px;
}
#sidebar .content .post {
	margin-bottom: 20px;
}
#sidebar .content .post h4 {
	font-size: 14px;
	font-weight: normal;
}
#sidebar .content .post img {
	float: left;
	padding: 5px;
	border: 1px solid #CCC;
	margin-right: 10px;
}
#sidebar .content .post p {
	color: #A3A3A3;
	font-style: italic;
}
#pagi {
	margin: 30px auto;
	padding: 0;
	list-style: none;
	width: 180px;
}
#pagi li {
	float: left;
	margin-right: 10px;
}
#pagi li a {
	display: block;
	text-decoration: none;
	color: #717171;
	font: bold 11px Arial, sans-serif;
	padding: 5px 8px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #ffffff;
}
#pagi li a.current, #pagi li a:hover {
	color: #ffffff;
	background: #DA251D;
}
/* -------------------------------------------- */
/* ------------------Footer-------------------- */
footer {
	background-color: #09F;
	margin-top: 30px;
}
footer .wrap-footer {
	padding: 10px 0px;
	color: #ffffff;
}
footer .box {
}
footer .heading {
	padding: 5px;
	border-bottom: 3px double #ffffff;
}
footer .heading h2 {
	font-size: 22px;
	font-weight: normal;
	display: inline;
	padding: 0 10px;
}
footer .content {
	padding: 15px
}
.copyright {
	text-align: center;
	margin-top: 20px;
	background: #039;
	padding: 10px 0px;
	color: #ffffff;
}
.copyright a {
	text-decoration: underline;
	color: #ffffff;
}
.H2_CENTER {
	font-size: 16px;
	text-align: center;
}
.H2_CENTER_BLUE {
	font-size: 16px;
	color:#09F !important; 
	text-decoration: underline !important;
	text-align: center !important;
}

/*       Text tolook like a button      */
.buttonStyle {
	border:solid 1px #666;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px; 
	background:-webkit-linear-gradient(90deg, #ddd, #fff);
	text-align:center;
	cursor:pointer;
}
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

input.visually-hidden:focus + label {
  outline: thin dotted;
}
/*       Modal stuff      */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    padding-top: 10px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
		text-align:center;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* TOOLTIP CSS */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* File upload overlay
/* Takes the contents of the 'value' element for the text for the button*/
.btn-file-upload{
     width: 147px;
     position:relative;
    font-size: 10px;
 }

.btn-file-upload:after{
    content:  attr(value);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;    
    width: 50%;
    background: #00aaff;
    color: white;
    border-radius: 2px;
    text-align: center;
    line-height: 2;
 }

/* File count & upload style specifically for Unpaids */
.btn-file-upload{
     width: 147px;
     position:relative;
    font-size: 10px;
 }

.btn-file-upload:after{
    content:  attr(value);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;    
    width: 50%;
    background: #00aaff;
    color: white;
    border-radius: 2px;
    text-align: center;
/*    font-size: 12px;*/
    line-height: 2;
 }
