@font-face {
  font-family: Baloo2;
  src: url(/layout/master/css/fonts/Baloo_2/Baloo2-Regular.ttf);
}

@font-face {
  font-family: Grandstander;
  src: url(/layout/master/css/fonts/Grandstander/Grandstander-VariableFont_wght.ttf);
}

@font-face {
  font-family: ArimaMadurai;
  src: url(/layout/master/css/fonts/Arima_Madurai/ArimaMadurai-ExtraBold.ttf);
}

body {
    padding: 0px; 
    margin: 0px; 
    color: black; 
    font-family: Verdana, Arial, Helvetica, sans-serif; 
    font-size: 20px; 
    background: #ddd;
}

.box {
  background-color: #fff;
  padding: 10px;
  border: solid 1px black;
  border-radius: 10px;
}

#logoline {
  background-color: navy;
  font-family: Grandstander; 
  color: white;
  font-size: 24px;
  padding: 10px;
  box-shadow: 20px 5px 5px 5px #aaa;
  -webkit-box-shadow: 20px 5px 5px 5px #aaa;
  -moz-box-shadow: 20px 5px 5px 5px #aaa;
}

#logoline a {
  font-size: 20px;
  color: white;
  text-decoration: none;
}

#logoline .glyphicons::before {
  color: #fff;
}

#footer {
  background-color: navy;
  color: white;
  padding:1px;
  font-size: 14px;
}

#footer a {
	color: white;
	text-decoration: none;
}

#mainnav {
  position: absolute;
  top: 50px;
  left: 0px;
  width: 300px;
  border: solid 1px navy;
  box-shadow: 0 0 25px 5px #ccc;
  background-color: #eee;
  z-index: 9999;
  display: none;
  line-height: 2em;
}

#mainnav h1 {
  display: none;
}

#mainnav ul {
  list-style-type: none;
}

#mainnav ul li {
  padding: 4px;
}

#mainnav ul li a {
  color: navy;
  text-decoration: none;
}

#content div.success {
    box-shadow: 0 2px 5px 0 #666666; 
    border-radius: 5px; 
    background-color: lightgreen; 
    margin: 10px; 
    border: solid 2px green; 
    padding: 20px; 
    width: auto; 
    color: black; 
    font-weight: bold;
}

#content div.error {
    box-shadow: 0 2px 5px 0 #666666; 
    border-radius: 5px; 
    background-color: salmon; 
    margin: 10px; 
    border: solid 2px red; 
    padding: 20px; 
    width: auto; 
    color: black; 
    font-weight: bold;
}

#content div.notice {
    box-shadow: 0 2px 5px 0 #666666; 
    border-radius: 5px; 
    background-color: #C7DDF4; 
    margin: 10px; 
    border: solid 2px #17A3D3; 
    padding: 20px; 
    width: auto; 
    color: black; 
    font-weight: bold;
}

#content div.code {
    box-shadow: 0 2px 5px 0 #666666; 
    border-radius: 5px; 
    margin: 10px; 
    border: solid 1px #17A3D3; 
    padding: 20px; 
    width: auto; 
    color: black; 
    font-weight: bold;
    font-family: Courier New, Courier, Times New Roman, Times, Arial;
}

#content div.code a {
	color: black;
	}

#content div.warning {
    box-shadow: 0 2px 5px 0 #666666; 
    border-radius: 5px; 
    background-color: #FFFF77; 
    margin: 10px; 
    border: solid 2px #FF0000; 
    padding: 20px; 
    width: auto; 
    color: black; 
    font-weight: bold;
}

#content div.voting {
background-color: #eee;
border: solid 1px black;
padding: 10px;
}

.clear{
    clear:both;
}

#content {
  padding: 10px;
  padding-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  min-height: 800px;
  font-family: Baloo2, Verdana, Arial;
}

#content h2 {
  font-size: 28px;
  border-bottom: solid 2px navy;
  line-height: 1.6em;
  font-family: Grandstander, Verdana, Arial;
}

#content h3 {
  font-size: 22px;
  border-bottom: solid 2px navy;
  line-height: 1.6em;
  font-family: Grandstander, Verdana, Arial;
}

#content h4 {
  font-size: 20px;
  font-weight: bold;
  border-bottom: solid 1px navy;
  line-height: 1.6em;
}

#content select {
  width: 98%;
  min-height: 30px;
  border: solid 1px navy;
}

#content textarea {
  width: 98%;
  height: auto;
  min-height: 200px;
  border: solid 1px navy;
  resize: none;
  border-radius: 5px;
}

#content textarea.singleline {
  resize: none;
  scrollbars: none;
  min-height: 20px;
  white-space: nowrap;
  overflow-x: hidden;
}

#content input {
  width: 98%;
  height: 30px;
  border: solid 1px navy;
  border-radius: 5px;
}

#content button {
  width: 98%;
  height: 30px;
  border: solid 1px navy;
  border-left-width: 5px;
  border-radius: 5px;
}

#content input[type='checkbox'] {
  width: 20px;
  height: 20px;
  border: solid 1px navy;
  border-radius: 5px;
}

#content input:hover, textarea:hover {
  background-color: #eee;
}

#content p {
  /*font-size: 20px;*/
  line-height: 1.6em;
}

#content p.short {
	width: 300px;
	float: left;
	min-width: 300px; 
	max-width: 300px; 
	margin: 10px;
}

#content p.button {
  color: black;
  font-weight: normal;
  background-color: #eee;
  border: solid 1px black;
  padding: 10px;
  display: block;
  text-decoration: none;
  box-shadow: 2px 2px 2px 2px #aaa;
  -webkit-box-shadow: 2px 2px 2px 2px #aaa;
  -moz-box-shadow: 2px 2px 2px 2px #aaa;
  border-radius: 5px;
  border-left-width: 5px;
}

#content p.button span {
	/* font-size: 16px; */
	}

#content p.button a {
	color: navy;
	font-weight: bold;
	/* font-size: 16px; */
}

#content p.button span a {
	color: navy;
	font-weight: bold;
	/*font-size: 12px;*/
}

#content p a {
  color: navy;
  text-decoration: none;
}

#content p a.button {
  color: navy;
  font-weight: bold;
  background-color: #eee;
  border: solid 1px black;
  padding: 10px;
  display: block;
  text-decoration: none;
  box-shadow: 2px 2px 2px 2px #aaa;
  -webkit-box-shadow: 2px 2px 2px 2px #aaa;
  -moz-box-shadow: 2px 2px 2px 2px #aaa;
  border-left-width: 5px;
  border-radius: 5px;
}

#content p a.button:hover {
  box-shadow: 1px 1px 1px 1px #aaa;
  -webkit-box-shadow: 1px 1px 1px 1px #aaa;
  -moz-box-shadow: 1px 1px 1px 1px #aaa;
}

ul.linklist {
    margin: 0px;
    padding: 0px;
}
ul.linklist li {
    list-style-type: none;
    list-style-position: outside;
    line-height: 30px;
}

ul.linklist li a {
    text-decoration: none;
    color: black;
    background-color: #eee;
    padding: 5px;
    display: block;
    margin: 5px;
    border: solid 1px black;
}

a.editlink {
  float: right;
  font-size: 20px;
  text-decoration: none;
  color: navy;
}

div.module_nav {
  border-bottom: solid 2px navy;
}

#module_nav {
	line-height: 2em;
	border-bottom: solid 1px #dedede; 
	padding:5px 0;
}

#module_nav a {
  margin-left: 20px; 
  text-decoration: none; 
  color: #285FAC;
}

#module_nav a:hover {
  margin-left: 20px; 
  text-decoration: none; 
  color: #285FAC; 
  border-bottom: solid 3px #00AADD;
}

div.module_nav a {
  border-left: solid 1px navy;
  border-right: solid 1px navy;
  border-top: solid 1px navy;
  background-color: #eee;
  padding: 3px 4px 0 4px;
  text-decoration: none;
  color: navy;
}



table.list-table tr th {
  text-align: left;
  font-weight: bold;
  color: navy;
  border-bottom: solid 2px navy;
}

table.list-table tr td {
  text-align: left;
  font-weight: normal;
  color: black;
  border: solid 1px #eee;
  margin: 0px;
  padding: 2px;
}

table.list-table tr td a {
  color: navy;
  text-decoration: none;
}


#squares {}
#squares div.item {float: left; width: 80px; height: 80px; overflow: hidden; text-align: center; border: solid 1px navy; margin: 5px; padding: 5px;} 

#squares div.item a {width: 140px; height: 70px; font-size: 50px; text-align: center; text-decoration: none; color: navy;}

body {background-repeat: repeat; background-attachment: fixed; background-position: top;  background-size: 100%;}

@media (orientation: portrait) 
{
body {background-size: cover;}
}

