/*********************************************************************
 * General HTML tags
 */
*,*:before,*:after{
-webkit-box-sizing:border-box !important;
-moz-box-sizing:border-box !important;
-ms-box-sizing:border-box !important;
-o-box-sizing:border-box !important;
box-sizing:border-box !important;
}

html{
height:100%;
}

body{
height:100%;
margin:0;
padding:0;
line-height:1.5em;
font-family:Helvetica,Arial;
font-size:15px;
color:#282828;
background-color:#eeeeee;
}

h1,h2,h3,h4,h5,h6{
margin:0;
padding:0;
}

h1{
font-weight:bold;
font-size:24px;
line-height:1em;
}

a,a:link,a:active,a:visited{
background-color:inherit;
color:#18507C;
}

a:hover{
text-decoration:underline;
background-color:inherit;
color:#385C72;
}

img{
border:0px;
}

blockquote{
font-style:italic;
font-family:Georgia,Times,"Times New Roman",serif;
padding:2px 0;
border-style:solid;
border-color:#ccc;
border-width:0;
padding-left:20px;
padding-right:8px;
border-left-width:5px;
}

pre,code {
background:#eee; 
border:1px solid #ddd; 
}

pre{
font-size:14px; 
line-height:1.4em;
padding:1em;
border-left:4px solid #ddd; 
}
/*********************************************************************
 * For images placed in rich text editor
 */
.align_left{
float:left;
margin:0 1em 0.5em 0; 
position:relative;
top:0.5em;
max-width:50%; 
}

.align_right{
float:right;
margin:0 0 0.5em 1em;
max-width:50%; 
}

.align_center{
display:block;
margin:1em auto; 
position:relative;
top:0.5em;
}
/*********************************************************************
 * Header, Content, Sidebar
 */
#header{
display:block;
color-scheme:light dark;
background: #9d28a1;
background-repeat:no-repeat;
background-size:100% 100%;
box-shadow:0 5px 5px gray;
}

#header2{
display:block;
width:100%;
max-width:965px;
margin-left:auto;
margin-right:auto;
line-height:0;
position:relative;
vertical-align:middle;
}

#main{
width:100%;
max-width:965px;
display:table;
padding:20px 10px 0 10px;
margin-left:auto;
margin-right:auto;
}

.box{
display:block;
background-color:#ffffff;
padding:20px;
margin-bottom:10px;
border:1px solid #bbb;
border-radius:8px;
box-shadow:-3px 0 5px -5px #333,3px 0 5px -5px #333;
}

#content{
display:table-cell;
max-width:100%;
vertical-align:top;
}

#sidebar{
display:table-cell;
width:200px;
padding-left:10px;
}

#wrapper{
min-height:100%;
height:auto !important;
height:100%;
margin:0 auto -180px;
}

#footer,#push{
height:180px;
}
/*********************************************************************
 * Navigation
 */
#nav{
display:inline-block;
list-style:none;
padding:0;
height:60px;
line-height:60px;
position:absolute;
top:0;
bottom:0;
right:0;
margin:auto;
}

#nav li{
list-style:none;
}

#nav li a{
display:none;
}

#nav li ul{
list-style:none;
margin:0;
padding:0;
}

#nav li ul li{
float:left;
list-style:none;
}

#nav a,
#nav a:link,
#nav a:active,
#nav a:visited,
#nav a:hover{
text-decoration:none;
}

#nav li ul li a,
#nav li ul li a:link,
#nav li ul li a:active,
#nav li ul li a:visited,
#nav li ul li a:hover{
display:block;
color:#ffffff;
padding:0 15px;
line-height:60px;
font-family:Helvetica;
font-weight:bold;
font-size:18px;
}

#nav a:hover{
background:rgba(255,255,255,0.3);
}

#nav img{
vertical-align:middle;
}

#nav li ul li a img{
display:none;
margin-right:5px;
margin-bottom:5px;
opacity:.7;
color-scheme:light dark;
}
/*********************************************************************
 * Footer
 */
#footer{
font-size:small;
color:#ffffff;
padding:15px;
background-color:#566875;
background:radial-gradient(circle,rgba(56,68,75,1)0%,rgba(35,43,48,1)100%); 
}

#footer a{
text-decoration:none;
color:#ffffff;
}

#footer-table{
display:table;
width:965px;
margin-left:auto;
margin-right:auto;
}

#footer-row{
display:table-row;
}

#footer-cell1{
display:table-cell;
width:33%;
}

#footer-cell2{
display:table-cell;
padding-right:15px;
padding-left:15px;
width:33%;
}

#footer-cell3{
display:table-cell;
width:33%;
}

#footer hr{
border-top:solid 1px #666666;
}

#footer ul{
list-style:none;
margin:0;
padding:0;
margin-top:5px;
}

#footer-search{
margin-top:10px;
width:100%;
max-width:300px;
padding-left:2px;
border:1px solid #C2C2C2;
-webkit-border-radius:5px;
-moz-border-radius:5px;
-ms-border-radius:5px;
-o-border-radius:5px;
border-radius:5px;
background-color:#ffffff;
}

#footer-search > div:nth-child(1){
display:table-cell;
width:100%;
}

#footer-search > div:nth-child(2){
display:table-cell;
}

#footer-search input[type="text"]{
width:100%;
-webkit-border-radius:0;
-moz-border-radius:0;
-ms-border-radius:0;
-o-border-radius:0;
border-radius:0;
-moz-box-shadow:none;
-webkit-box-shadow:none;
box-shadow:none;
border:0;
}

#footer-search input[type="submit"]{
width:38px;
outline:none;
cursor:pointer;
-webkit-border-radius:0;
-moz-border-radius:0;
-ms-border-radius:0;
-o-border-radius:0;
border-radius:0;
border:0;
background:transparent;
background-repeat:no-repeat;
background-position:center center;
background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAjBJREFUOI2Nz7FrGnEUB/D37qq5KnenBpIUVM6K9TLoIHQSYrcUMoSkpVM79j8ouLmJEjp26dCxVGjJbFO66RISOJK0SWrASLxqkJNT/Jnmd+fvOjUEyVG/03s83of3EKZSLBZ9giBIhJDLQqHgTM+ng/+KSqWSopRuIWJQEAR+Mpl4VVX9JIriVjweZ27APQCAarWa6vV6H9Pp9LdUKiUwxjjTNCc7OzvZTCbzHgBeuwEcAADHcW/n5+c/Ly8vtxDxmOf5H7Isn2az2Vqz2XzUarWyrhd0Oh1pd3c3lEgkzhHRRMQrALjmOO6aUuoQQuxms7kOAPU7LwgGgxLP8+Tg4OB0PB4fAkALAAxEHCHiaDweX5qmKbm+MBwOfy8tLYX29vY4Qsh9xpgIAAHGWIAxJi0uLqZ1XT9yBRYWFphhGF9WV1dfaZoWIoSIjDHZtu3AxcWFMhgMXnq93q9uAA8AoKpqDRFfiKL4dDgcXo9GI7Hdbj9uNBpvFEV5EI1Gn1iWdaJp2vk0gLebfD6fC4fDax6PJ6Truqbr+vdMJrPd7XZVQsiVIAibpVKp6grclWQyuSZJ0nYkEvHGYrE/Ho9no1wu3yD8/wDDMBp+v//QsqxNxticKIrPc7ncfq1WO5sJAADo9/unPp/v6DaysrKyX6/Xz2YCAABkWT6hlP6klG44jjPn9/ufKYryYWbANE1wHOcYEX9RStdt27YMw3g36/5NEBGi0WgiFos9BADuLzJE+rasZg7/AAAAAElFTkSuQmCC");
}
/*********************************************************************
 * Media queries for responsive layout
 */
@media screen and (max-width:1040px){
#footer-table{
width:100%;
}
}

@media screen and (max-width:850px){
h1,h2,h3{
font-size:medium;
}

#logo{
height:60px;
margin-left:10px;
}

#header2{
max-width:100%;
padding:0;
}

#nav li a{
display:block;
padding:0 15px;
}

#nav li ul{
z-index:100;
display:none;
position:absolute;
right:0;
left:auto;
background-color:#292929;
background:radial-gradient(circle,rgba(56,68,75,1)0%,rgba(35,43,48,1)100%);
}

#nav li:hover > ul{
display:inherit;
}

#nav li ul li{
white-space:nowrap;
float:none;
display:list-item;
position:relative;
border-top:solid 1px #666666;
}

#nav li ul li a,
#nav li ul li a:link,
#nav li ul li a:active,
#nav li ul li a:visited,
#nav li ul li a:hover{
padding-right:30px;
line-height:45px;
font-weight:normal;
font-size:medium;
}

#nav li ul li a img{
display:inline-block;
}
}

@media screen and (max-width:700px){
#content{
display:block;
width:100%;
}
#sidebar{
display:block;
width:100%;
padding-left:0;
}
}

@media screen and (max-width:600px){
.align_center{
width:100%;
}
}

@media screen and (max-width:550px){
#footer-cell1,#footer-cell2,#footer-cell3{
display:block;
padding-right:0;
padding-left:0;
width:100%;
}
#footer-cell1,
#footer-cell2{
padding-bottom:15px;
}
#wrapper{
margin:0 auto -400px;
}
#footer,#push{
height:400px;
}
}


/* Things added after template */

.logo-text {
    font-size: 36pt;
    color: white;
    padding: 10px;
}