html {
    margin: 0;
    padding: 0;
}

head {
    margin: 0;
    padding: 0;
    /* border: solid 1px green; */
}

body {
	margin: 0;
	padding: 0;
	background: #DEDEDE;
	font-family: Arial, sans-serif;
    font-size: 14px;
}

h1, h3 {
    margin: 0;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-weight: bold;
    color: #333;
    padding: 0.3em 0 0.6em 0;
}

h1 { 
    font-size: 2.5em;
}

h2 {
    font-size: 1.75em;
}

h5 {
    font-size: 1.25em;
}

br, p, ul, ol, label {
    margin-top: 5px;
    margin-bottom: 0px;
    line-height: 100%;
    text-align: justify;
}

label {
    float: left;
    width: 95px;
    font-weight: bold;
    text-align: right;
    margin-right: 7px
}

iframe {
    border: 0px;
    margin: 0 0;
    padding: 0 0;
}

table {
    table-layout: auto;
    border: 0px;
}

a { 
	font-weight: bold;
	color: #324E64; 
}

a:hover { 
    text-decoration: none; 
}

a img {
    border: none;
}

img {
    border: 1px solid #000000;
}

img.left {
    float: left;
    margin: 0.5em;
}

img.borderless {
	margin: 0;
	padding: 0;
	border: 0;
}

a img.icon {
    float: left;
    padding: 0;
    margin-top: 0.2em;
    margin-left: -2.0em;
    height: auto;

    transition:         opacity 0.3s ease-in-out, width 1s, padding-left 1s;
    -moz-transition:    opacity 0.3s ease-in-out, width 1s, padding-left 1s;
    -webkit-transition: opacity 0.3s ease-in-out, width 1s, padding-left 1s;
}

a img.icon:hover {
    opacity: 0.7;
}


#account form input, #account form password, #account form textarea {
    border:1px solid #999999;
    border-bottom-color:#cccccc;
    border-right-color:#cccccc;
    padding:5px;
    color:#666666;
    font-family:Arial, Helvetica, sans-serif;
    font-size:1.0em;
}

#account form input.formbutton {
    background:#363F50 none repeat-x scroll bottom left;
    color:#ffffff;
    font-size:0.8em;
    padding:5px 5px;
    border:1px solid #2B3240;
    font-weight:bold;
    font-family:Verdana, Arial, Helvetica, sans-serif;
}

#formSearch
{
    display: block;
    float: right;
    margin-right: 1.0em;
    padding-top: 0.25em;
}

#formSearch input[type='text']
{
    width: 15em;
}

/********************************************************************/
/*   WRAPPER
/********************************************************************/
#wrapper {
    width: 100%;
    margin: 0 auto;
}

/********************************************************************/
/* POPUP
/********************************************************************/
#popup_hideshow {
    position: absolute;
    width: 100%;
    /* height: 100%; */
    z-index: 400;
    top: 0;
    left: 0;
}

#fade {
    background: #000; 
    position: fixed; 
    width: 100%;
    /* height: 100%; */
    filter:alpha(opacity=50);
    opacity: .50;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /*--IE 8 Transparency--*/
    left: 0;
    top: 0;
    z-index: 10;
}

.popup_border , .debug_popup_border{
    position: absolute;
    background: #3b3b3b;
    /*Top right bottom left */
    padding: 0.3em 0.3em 0.3em 0.3em;
    float: left;
    width: calc(100% - 3.6em);
    /* height: calc(100% - 3.6em); */
    position: fixed;
    top: 1.5em;
    left: 1.5em;
    margin: 0 0 0 0;
    z-index: 100;

}

.popup_border h2{
    text-shadow: 0.05em 0.05em 0.1em #000;
}

.popup_content , .debug_popup_content {
    float: left;
    /*Top right bottom left */
    margin: 1.9em 0 0 0;
    width: 100%;
    height: 0;
    /* height: calc(100% - 2.0em); */
    overflow:auto; 
    white-space: nowrap;
    background: #fbfbfb;
    padding: 0 0;
}

.popup_content img.cntrl , .debug_popup_content img.cntrl {
    position: absolute;
    width: 1.8em;
    height: 1.8em;
    right: 0.2em;
    top: 0.2em;
}

.popup_content iframe {
    text-align: center;
    width: calc(100% - 2px);
    height: 0;
    /* height: calc(100% - 2px - 0.2em); */
    /*border:1px solid red;*/
    margin: 0 0;
    padding: 0 0;
}

/********************************************************************/
/*         Page       
/********************************************************************/
#page {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ededed;
    /* border: 1px solid blue; */
}

/********************************************************************/
/* LOGO
/********************************************************************/
#logo {
	width: 1000px;
	height: 180px;
	margin: 0 auto;
	padding-left: 0px;
	background: url(images/img02.jpg) no-repeat left top;
}

#logo img {
	border: 0px;
	float: left;
	margin: 0px 0px 0 0;
}

/********************************************************************/
/* CONTENT WIDE
/********************************************************************/
#content_wide {
    display: block;
    margin: 0;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 20px;
    /* padding-bottom: 20px; */
    background-color: #FFFFFF;
    float: left;
    min-height: 500px;
    width: 94%;
}

/********************************************************************/
/* FOOTER
/********************************************************************/
#footer {
    background-color: #fff;
    display: inline-block;
    box-sizing: border-box;
    /* border: 5px solid red; */
	width: 100%;
	padding: 4em 19%;
	margin: 0;
}
#footer div {
    /* border: 5px solid black; */
    display: block;
    float: left;
    background-color: #fff;
}
#footer .width-20-percent {
    width: 20% !important;
}
#footer .width-30-percent {
    width: 30% !important;
}
#footer .width-33-percent {
    width: 33% !important;
}
#footer h3 {
    font-family: Arial, Helvetica, sans-serif; 
}
#footer p {
	padding: 0 0 1em 0;
	text-align: left;
	line-height: normal;
    font-weight: normal;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif; 
	font-size: 18px;
	color: #66665E;
}
#footer a { 
    padding: 0 0 1em 0;
    text-align: center;
    font-weight: normal;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif; 
    color:#16a; 
    font-size: 18px; 
    text-decoration: none; 
    /* margin-top: 0.5em; */
    transition:         color 0.5s ease-in-out;
    -moz-transition:    color 0.5s ease-in-out;
    -webkit-transition: color 0.5s ease-in-out;
}

#footer a:hover { 
    color:#3af; 
}