/*
 * General styling of the EPN portal
 */

@import url(portal-positional.css);

/* To allow older browsers to render html5 tags correctly */
header, section, footer, aside, nav, main, article, figure
{
    display: block;
}

/* These div classes will allow <div> elements to be used
   like invisible tables for page layout */
div.layout
{
    display: table;
}
div.layoutrow
{
    display: table-row;
}

div.layoutcell
{
    display: table-cell;
    white-space: nowrap;
    /* padding-right: 20px; */
}

/* container for a floating info/form box. Floats them
   toward the left, and repositions based on the size
   of the browser window */
/*
div.movingcell
{
    display: table-cell;
    padding-right: 20px;
    padding-bottom: 20px;
    float: left;
} */

div.movingcell
{
    display: inline-block;
    padding-right: 20px;
    padding-bottom: 20px;
    text-align: center;
    vertical-align: top;
}


#registration-fields-div
{
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}


/* This creates a semi-consistent size for all floating info/form boxes elements */
div.portalui-info-box
{
    text-align: left;   /* To keep form inheriting center */
    padding-left: 5px;
    min-width: 350px;
}

/* Add to info boxes that we want to take up the entire page width */
div.portalui-info-box-full-width
{
    width: 100%;
}

div.layoutheader
{
    display: table-caption;
    text-align: center;
}

div.layoutrow-group
{
    display: table-row-group;
}

div.layoutfooter-group
{
    display: table-footer-group;
}

#headerTitle
{
    /* changes by S.Tompkins */
    /* font-weight: 700; */
    font-weight: 100;
    padding-left: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
}

body
{
    /* changes by S.Tompkins */
    /* font-family: 'Droid Sans', sans-serif; */
    /* background-color: #d0d0d0; */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: rgb(88, 88, 85);
    background-color: rgb(255, 255, 255);
    /* background-color: #bababa; */
    /* background-image: url("../images/clear_squares_left_white_page.png");
    background-repeat: repeat-y; */
}

div.separator
{
    /* changes by S.Tompkins */
    /* background-color: #00456a; */
    /* height: 5px; */
    background-color: rgb(230, 228, 221); width: 99%; margin-left:5px; margin-bottom: 10px; margin-right:5px;
    clear:both;margin-top: 5px;
    height: 1px;

}

/* Make the logout button on the header display inline rather than on another line */
form#logout
{
    display: inline;
}

span.left
{
    float:left;
}

span.right
{
    float:right;
}

fieldset.login-fields
{
    /* changes by S.Tompkins */
    /* background-color: #00456a; */
    background-color: #97AEC0;
    border: rgb(88, 88, 85);
    color: white;
}

div.login-cell
{
    /* changes by S.Tompkins */
    /* padding-left: 10px; */
    padding-left: 5px;
    padding-bottom: 5px;
}
/* New div by S.Tompkins */
div.login-cell-text
{
    color:white;
}


div.form-cell
{
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 4px;
}

/* Defines an unordered list with no decorators (bullets) */
ul.no-decorators
{
    list-style-type: none;
}

/* Reduce the size of the jquery-ui buttons.  They are WAY too big by default */
/* NOTE: I regenerated and manually edited theme to be 0.9em on font. */
/*.ui-button, .ui-button-text, .ui-tabs-nav
{
    font-size: 80%;
} */

/* Reduce the font size for class portalui-reduce-font*/
/* .portalui-reduce-font
{
    font-size: 80%;
} */

.portalui-info-border
{
    border: 2px solid #aaaaaa;
}

.portalui-layoutcell-label
{
    font-weight: bold;
    vertical-align: middle;
}

/* Center the edit buttons on partner display page  */
/* Button width = 20% of the cell, so a margin of   */
/* 40% means the halfway point of the button is at  */
/* 50%, which is perfectly centered in the cell     */
.portalui-edit-button
{
    /* width: 20%;
    margin-left: 40%; */
    margin-top: 5px;
    margin-bottom: 2px;
}

.portalui-error-text
{
    color: red;
}

.portalui-black-text
{
    color: black;
}

.portalui-red-field-text
{
    color: red;
}

.portalui-required-field-text
{
    color: red;
}

span.portalui-error-box
{
    color: white;
    background-color: darkred;
}

.portalui-required-flag
{
    width: 2%;
}

/* Reduce padding in div elements with class input cell.  Use in partner registration */
div.inputcell
{
    padding-right: 2px;
}

/* This makes the django-rendered text input elements use 95% of its space */
div[id$="-input-cell"] input[type="text"]:first-child, input[type="password"]:first-child, input[type="email"]:first-child
{
    width: 95%;
}

/* Make static association list take up the whole box */
select[id$="-static_association"], select[id$="-member_affiliation"]
{
    width: 100%
}

div.norightpadding
{
    padding-right: 0px;
}

.portalui-center-text
{
    text-align: center;
}

.portalui-left-text
{
    text-align: left;
}

/* Reduce the width of input fields marked with these acxwidth classes, or input elements that are
   childred of span tags marked with them. */
input.acxwidth1, span.acxwidth1 input
{
    width: 1%;
}
input.acxwidth10, span.acxwidth10 input
{
    width: 10%;
}

input.acxwidth20, span.acxwidth20 input
{
    width: 20%;
}

input.acxwidth25, span.acxwidth25 input
{
    width: 25%;
}

/*
 * Use a monospace font for transaction XML view
 */
textarea.xmlview
{
    font-family: monospace;
    white-space: pre;
}

/*
 * Hide widgets of some jquery-ui elements, or
 * any element marked with the portalui-invisible-element class
 */
.no-close, .ui-dialog-titlebar-close, .portalui-invisible-element
{
    display: none;
}

/*
 * Make an element invisible, but still take up space.
 */
.portalui-hidden-element
{
    visibility: hidden;
}

/* Ultra-shitty Internet Explorer was making these different
   widths, while Firefox and Chrome made them the same (as they should).
   I had to manually specify a size to fix this! */
input#username, input#password
{
    width: 100%;
}

.portalui-white-background
{
    background-color: white;
}

.grey-background
{
   /* color changed by S.Tompkins */
   /* background-color: #d0d0d0; */
    background-color: rgb(208, 208, 208);
}

/* Cross-browser way to perform word-wrap within a div element */
.wordwrap {
   white-space: pre-line;      /* CSS3 */
   white-space: -moz-pre-wrap; /* Firefox */
   white-space: -pre-wrap;     /* Opera <7 */
   white-space: -o-pre-wrap;   /* Opera 7 */
   word-wrap: break-word;      /* IE */
}

.portalui-clear
{
    clear:both;
}

/* Buttons on the General tab */
.portalui-menu-button
{
/*    width: 100%; */
}

/*
#registration-fields-div
{
    margin: 0 auto;
    width: 800px;
}
*/

.select-overflow
{
    height: 150px;
}

/* Start new CSS added by S.Tompkins */
h1
{
    color: rgb(88, 88, 85); line-height: 22px; font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: normal; margin-top: 50px; margin-bottom: 10px; margin-left: 4px;
}
h2
{
    color: rgb(88, 88, 85); line-height: 22px; font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: normal; margin-top: 20px; margin-bottom: 10px; margin-left: 4px;
}
div.hdr_layout
{
    display: table; width:100%; border: 0px; height: 30px; padding-left: 0px;
}
div.hdr_layoutrow
{
    display: table-row; padding-top: 10px;
}
div.hdr_layoutcell_left
{
    display: table-row; /*background-image:url(../images/left_nav.png);*/
}
div.hdr_layoutcell_right
{
    display: table-row;
}
div.hdr_layoutcell_center
{
    display: table-row; /*background-image:url(../images/ctr_nav.png);*/
}
div.log_layout
{
    display: table; width:370px; padding: 0px;
}

.epicglobalnavlegal
{
    color: rgb(68, 68, 68); padding-right: 0px; padding-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; text-decoration: none;
}
.epicglobalnavlegal a:link
{
    color: rgb(86, 160, 211); text-decoration: underline;
}
.epicglobalnavlegal a:visited
{
    color: rgb(86, 160, 211); text-decoration: underline;
}
.epicglobalnavlegal a:hover
{
    color: rgb(86, 160, 211); text-decoration: underline;
}	
.epicglobalnav
{
    color: rgb(88, 85, 85); padding-right: 4px; padding-left: 4px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; text-decoration: none;
}
.epicglobalnav a:link
{
    color: rgb(88, 85, 85); text-decoration: none;
}
.epicglobalnav a:visited
{
    color: rgb(88, 85, 85); text-decoration: none;
}
.epicglobalnav a:hover
{
    color: rgb(88, 85, 85); text-decoration: underline;
}	
/***** CSS FOR header and nav START *****/

header {
    height:150px;
    width:100%;
    /*background-image:url();*/
    background-repeat:no-repeat;
    background-position: left;
}

#headerlogo {
    float: left;
}
nav {
    clear:both;
    box-sizing: border-box;
    height:30px;
    width:100%;
    padding:0 150px 0 0;
    margin:0 0 80px 0;
    /* The following assures nav color gradient background on all browsers */
    background: #ffffff; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhla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J1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjkwJSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjkwJSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left,  #ffffff 0%, #E0DDD5 15%, #E0DDD5 85%, #E0DDD5 85%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(15%,#E0DDD5), color-stop(80%,#E0DDD5), color-stop(80%,#E0DDD5), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #ffffff 0%,#E0DDD5 15%,#E0DDD5 85%,#E0DDD5 85%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #ffffff 0%,#E0DDD5 15%,#E0DDD5 85%,#E0DDD5 85%,#ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #ffffff 0%,#E0DDD5 15%,#E0DDD5 85%,#E0DDD5 85%,#ffffff 100%); /* IE10+ */
    background: linear-gradient(to right,  #ffffff 0%,#E0DDD5 15%,#E0DDD5 85%,#E0DDD5 85%,#ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-8 */
}
nav ul {
    list-style-type: none;
    float:right;
    margin:0;
    padding-top:7px;
}
nav li {
    display:inline-block;
    float:left;
    padding-left:20px;
}

nav a {
    text-decoration: none;
    color:rgb(88, 88, 85);
    font-size: 12px;
}
/* **** CSS Header and Nav END **** */
/* End new CSS added by S.Tompkins */
