/* *** button styles *********************************************** */


/* small buttons */

a.button,
a.button:link,
a.button:visited,
a.button:hover,
input.button,
input.buttonsmall,
input.button_disabled,
div.has_popup_button {
  background-color: #edeae4;
  border-top: 1px solid #edeae4;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  border-left: 1px solid #edeae4;
  padding: 3px;
  color: #000;
  text-decoration: none;
  margin: 0;
}

input.button_disabled {
  color: #ddd;
  background-color: #eee;
}

input.ok,
a.ok {
  background-color: #E5FFCC !important;
}

input.amend,
a.amend {
  background-color: #FFFFCC !important;
}

input.reject,
a.reject {
  background-color: #FFDFDF !important;
}

div.has_popup_button {
  background-color: #fff;
  width: 105px;
  margin: 0;
  cursor: pointer;
}


/* larger menu buttons - standard and compact */

a.menu-button-box,
a.menu-button-box-compact {
  background-color: #EFF4F8;
  border-top: 1px solid #ececec;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  border-left: 1px solid #ececec;
  ;
  width: 150px;
  padding: 9px 14px 17px 14px;
  vertical-align: top;
  margin: 15px 15px 15px 0;
  float: left;
  color: #757575;
}

a.menu-button-box {
  min-height: 115px;
  height: 115px;
}

a.menu-button-box-compact {
  min-height: 120px;
  height: 180px;
}


/* reduce bottom margin in IE */

* html a.menu-button-box,
* html a.menu-button-box-compact {
  margin-bottom: 0;
}

a.menu-button-box,
a.menu-button-box-compact {
  text-decoration: none;
  display: block;
}

a.menu-button-box span.button-title,
a.menu-button-box-compact span.button-title {
  font-size: 20px;
  font-weight: normal;
  color: #005854;
}

a.menu-button-box span.button-description,
a.menu-button-box-compact span.button-description {
  font-size: 11px;
  margin-top: 10px;
}

a.menu-button-box:hover,
a.menu-button-box-compact:hover {
  background-color: #99BDBD;
  border-top: 1px solid #99BDBD;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  border-left: 1px solid #99BDBD;
}


/* All other styles */

.accessibility {
  display: none;
  /* Hides from IE 5 Mac */
  /* \*/
  display: inline;
  position: absolute;
  left: -999em;
  /* */
}

.accessibility hr {
  width: 100px;
  /* Fixes a display issue in IE */
}


/* Search form
----------------------------------------------------------------------------- */

#search-form {
  width: 727px;
  color: #000000;
  border: 1px solid #757575;
  padding: 10px;
}

.hidden #search-form form {
  display: none;
}

#search-form h4 {
  font-size: 14px;
  margin: 2px 0px 5px 0px;
  color: #000000;
}

.shown #search-form #toggle-form-button {
  float: right;
  padding: 0px 39px 10px 0px;
  background: url(/images/nav/hide_search_form.gif) no-repeat top left;
}

.hidden #search-form #toggle-form-button {
  float: right;
  padding: 0px 39px 13px 0px;
  background: url(/images/nav/show_search_form.gif) no-repeat top left;
}

#search-form .long {
  width: 177px;
}

#search-form .short {
  /*width: 108px;*/
  width: 235px;
}

#search-form .price {
  padding-left: 18px
}

#search-form .search-text {
  padding-left: 17px
}

#search-form .text-box {
  width: 231px;
}

#search-form .line1 {
  clear: both;
}

#search-form .line2 {
  padding: 10px 0px 23px 0px;
}

#search-form .directory-line {
  padding: 10px 0px 23px 163px;
}

#search-form .form-footer {
  padding: 0px 0px 25px 0px;
  font-size: 11px;
}

#search-form .options {
  padding-top: 6px;
}

#search-form a:link,
#search-form a:visited {
  color: #000000;
  text-decoration: underline;
}

#search-form a:hover {
  color: #000000;
  text-decoration: none;
}

#search-form .button {
  float: right;
  margin-right: 7px;
}


/* Wide table

----------------------------------------------------------------------------- */

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

.wide {
  width: 717px;
  /*	margin: 30px 0px 35px 0px;*/
  margin: 30px 0px 0px 0px;
}

.pagination {
  margin-top: 35px;
}

.wide th {
  text-align: left;
  vertical-align: top;
  padding: 0px 15px 8px 5px;
}

.wide td {
  border-top: solid 1px #ECECEC;
  padding: 5px 15px 5px 5px;
}

.wide .two-lines td {
  padding-bottom: 0px;
}

.wide .no-border td {
  border-top: none;
  padding: 0px 15px 5px 5px;
}

table .nowrap {
  white-space: nowrap;
  padding-left: 5px;
}

table .new {
  color: #FF9900;
}

table .right {
  text-align: right;
}

.right {
  text-align: right;
}

.red {
  color: #B00F14;
}

.green {
  color: #15A79C;
}

.red-back {
  background-color: #FFDFDF;
}

.deepred {
  color: #8F0000;
}

.corporate a.highlight:link,
.corporate a.highlight:visited,
.corporate a.highlight:hover {
  color: #274583;
}

.general a.highlight:link,
.general a.highlight:visited,
.general a.highlight:hover {
  color: #8F1D5B;
}

.wide .button {
  text-align: right;
  padding-right: 5px;
}

.wide .highlighted-business:hover {
  background-color: #FFF7CF;
}

.wide .input {
  border: 1px solid #699C9D;
  margin-bottom: 5px;
  margin-top: 5px;
  background-color: #f6f6f6;
}


/********** Contact form ***********************/

#signup-form {
  float: right;
  width: 230px;
  border-left: 1px solid #D2E2E4;
  padding-left: 20px;
}

#contact-form {
  float: left;
}

#contact-form table th {
  width: 130px;
}

#contact-form.main {
  width:50%;
}

#contact-form.main input[type="text"],
#contact-form.main input[type="password"],
#contact-form.main textarea {
  box-sizing:border-box;
  width:100%;
}


/* Need to give signup table a width because it now stretches across 2 columns */

#contact-form .signup-table {
  width: 500px;
}

#contact-form label {
  font-weight: bold;
  padding: 0px;
  padding-right: 10px;
}

#contact-form .radio {
  padding: 10px;
}

#contact-form input[type=text],
#contact-form input[type=password] {
  min-height:32px;

  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-indent:7px;

}

#contact-form .input {
  width: 240px;
  border: 1px solid #dedede;
  background-color: #f6f6f6;
}

#contact-form .input-med {
  width: 200px;
  border: 1px solid #dedede;
  background-color: #f6f6f6;
}

#contact-form .input-small {
  width: 140px;
  border: 1px solid #dedede;
  background-color: #f6f6f6;
}

#contact-form textarea {
  border: 1px solid #CCCCCC;
}

#contact-form .fee {
  width: 3px;
  float: left;
}

#contact-form .password {
  background-color: #E2E2E2;
}

#contact-form .checkbox {
  border: 1px solid #CCCCCC;
  margin-bottom: 2px;
}

#contact-form select,
.select-box {
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 13px;
  color: #004742;
}

#contact-form .select-box {
  background-color: #98BCBC;
}

#contact-form .file {
  height: 20px;
}

#contact-form.wider-title th {
  width:200px;
}

#contact-form span.field-with-errors input,
form span.field-with-errors select,
form span.field-with-errors textarea {
  background-color: #FFCCCC;
}

form span.field-with-errors > a.select-box {
  border:2px solid #f99;
}



#contact-form .short {
  width: 60px;
  border: 1px solid #CCCCCC;
  margin-bottom: 5px;
  margin-top: 5px;
}

#sidebar {
  float: left;
  padding: 0px 10px 0px 10px;
  margin-left: 20px;
  border-left: 1px solid #CCC;
  /*width: 400px;*/
}

#sidebar .contact {
  padding: 2px 100px 2px 10px;
}

#sidebar .contact:hover {
  background-color: #FFF7CF;
}


/********* Members area styles *******/

div#member_main {
  width: 100%
}

div#member_main h3 {
  margin-bottom: 5px;
}

div#member_main p {
  margin: 3px 0 5px 0;
}

div#member_main .info-panel {
  background-color: #F9FDFF;
  border: 1px solid #97BBB7;
  padding: 7px;
  margin-bottom: 20px;
}


/* Need to give the middle box h3 tag a bit of top padding because of IE problems */

div#member_main .middle-box {
  padding-top: 10px;
}

div#member_main .info-panel .actions {
  float: right;
  padding-left: 10px;
  border-left: 1px solid #97BBB7;
}

div#member_main .info-panel .actions form {
  margin: 5px 0 3px 0;
}

div#member_main .member-contacts .person img {
  float:left;
  margin-right:5px;
}

div#member_main .member-contacts .person {
  overflow:hidden;
  padding: 7px 0 3px 5px;
  background-color: #E2ECEE;
  margin-bottom: 3px;
}

div#member_main .member-contacts .person strong {
  vertical-align:middle;
}

div#member_main .member-contacts .person.no-finance-contact {
  font-weight:700;
  background:#15a79c;
  color:#FFF;
  padding:7px 5px;
}

div#member_main .member-contacts .person .actions {
  float: right;
  vertical-align: bottom;
  margin-right: 10px;
  width: 55px;
}

div#member_main .member-contacts .person .actions.no-image {
  padding-top: 4px;
}

div#member_main .member-contacts .person {
  vertical-align: middle;
}


/* For the key on the right hand side of this page */

.eauc-contact-key h4 {
  font-weight: bold;
  margin-bottom: 5px;
}

.eauc-contact-key img {
  vertical-align: absmiddle;
}

.eauc-contact-key p {
  margin: 0 0 0 18px;
}


/* For the key describing what each contact us during the sign up process */

.sign-up-key {
  padding: 5px 10px 5px 10px;
  background-color: rgb(235, 242, 245);
  border-top: 6px solid #15a79c;
}

.sign-up-key h4 {
  font-weight: bold;
  margin-bottom: 5px;
}

.sign-up-key img {
  vertical-align: absmiddle;
}

.sign-up-key p {
  color: #004742;
}


/********* Steps boxes ***************/

.step_boxes {
  padding-bottom: 80px;
}

.step_box {
  float: left;
  width: 24%;
  height: 60px;
  padding: 5px;
  margin-right:1%;
  border: none;
  background: #f9f9f9; /* Old browsers */
  background: -moz-linear-gradient(top, #f9f9f9 0%, #e9e9e9 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #f9f9f9 0%,#e9e9e9 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #f9f9f9 0%,#e9e9e9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#e9e9e9',GradientType=0 ); /* IE6-9 */
    -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.15); 
  border-radius:3px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

}

.step_box:last-child {
  margin-right:0;
}

.step_box .step_title {
  padding: 0;
  margin: 0;
  color: #144446;
  font-size: 14px;
  width: 100%;
}

.step_box.active .step_title {
  color:#FFF;
}

.step_box .step_description {
  padding: 0;
  margin: 0;
  font-size: 12px;
}

.step_box.active {
  font-weight:700;
  text-shadow: 0 1px rgba(103,43,6,.75);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: #15a79c;
  padding:5px;
  color: #FFF;
}


.step_box_active .step_description {
  padding: 0;
  margin: 0;
  font-size: 10px;
}


/* *** message box styles ************************************* */

div#message_success,
div#message_failure,
div#message_warning {
  padding: 20px 20px 20px 80px;
  margin: 1em 0 2em;
  border-radius:20px;
}


/* pass height to IE - it treats it somewhat like min-height */

* html #message_success,
* html #message_failure,
* html #message_warning {
  height: 50px;
}

div#message_success {
  background: #EAFEE2 url(../nav/green_tick.gif) no-repeat 15px center;
  border: 1px solid #BAFEA3;
}

div#message_failure {
  background: #fcc url(../nav/error.gif) no-repeat 15px center;
  border: 1px solid #f99;
}

div#message_warning {
  background: #FFFABF url(../nav/warning.gif) no-repeat 15px center;
  border: 1px solid #FFE900;
}

div#message_failure ul {
  margin-left: 0;
  padding-left: 1.2em;
  margin-top: 0.7em;
  list-style-type: square;
}

#institution-check {
  padding-bottom: 10px;
}

.or {
  text-align: center;
  background: url(../nav/dotted_line.gif) no-repeat center center;
  font-size: 24px;
}

.member_stats_nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.member_stats_nav li {
  display: inline-block;
}

.member_stats_nav li a {
    padding: 10px;
    border: solid 1px #cacaca;
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
}

.member_contact_stats_container .dataTable table {
  width: 100%;
}

.member_contact_stats_container .dataTable table thead tr th {
  background-color: #15a79c;
  color: #fff;
  padding: 10px;
}

.member_contact_stats_container .dataTable table thead tr td {
  padding: 10px;
}

.member_contact_stats_container .dataTable table tr:nth-child(even) td {
  background-color: #f1f1f1;
}

.member_contact_stats_container .loggedInChartContainer canvas{
  height: 300px !important;
  margin-bottom: 40px;
}

.member_stats_nav a.active {
  background-color: #15a79c;
  color: #fff !important;
}

.searchFormContainer input {
  padding: 5px;
  margin-left: 10px;
  margin-right: 20px;
}

.searchFormContainer input[type="submit"] {
  margin-left: 0;
  background-color: #15a79c;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.searchFormContainer {
  margin-top: -10px;
}

.memberConnectSearchFormContainerRow {
  margin-bottom: 10px;
}

.memberConnectSearchFormContainerRow > label {
  font-size: 16px;
  float: left;
  margin-top: 5px;
  margin-right: 10px;
}

.memberConnectSearchFormContainerRow .SumoSelect {
    width: 50%;
}

.memberSearchResultTable thead {
  background-color: #15a79c;
  color: #fff;
}

.memberSearchResultTable th, .memberSearchResultTable td {
  padding: 5px;
} 

.memberSearchResultTable tr:nth-child(even) td {
  background-color: #f1f1f1;
}

.searchPagination {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  height: 39px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.searchPagination li {
  display: inline-block;
}

.searchPagination li a {
    padding: 5px;
    font-size: 16px;
    border: solid 1px #d0d0d0;
    margin-right: 10px;
    display: inline-block;
}

.searchPagination li a.active {
  background-color: #15a79c;
  color: #fff;
}