/* css reset */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, a, img, s, strong, u {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  background-repeat: no-repeat;
}

html {
  height: 100%;
  margin: 0;
  min-width: 1010px;
}
body {
  height: 100%;
  line-height: 1;
}
ul, ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: #333;
}

/* Wrappers */

#page-wrapper {
  min-width: 980px;
  padding-bottom: 195px;
  min-height: 100%;
  box-sizing: border-box;
}
.wrapper {
 width: 960px;
 padding: 0 25px;
 margin-left: auto;
 margin-right: auto;
}
.content {
  margin: 60px 0;
}

/* headers, texts, links, lists defaults section */

h1 {
  margin-bottom: 10px;
  font: normal 38px Rockwell;
}
h2 {
  padding: 10px 0 5px 0;
  color: #333;
  font: normal 38px Rockwell;
}
h3 {
  font: bold 21px/31px Arial;
}
h4 {
  font: bold 15px Arial;
  color: #404040;
}

.content a {
  font-weight: normal;
  font-size: 15px;
  line-height: 20px;
  font-family: Helvetica Light, Tahoma, sans-serif;
  text-decoration: underline;
  color: #0095fe;
}
.content a:hover {
  text-decoration: none;
  cursor: pointer;
}

.content p {
  margin-bottom: 15px;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  font-family: Helvetica Light, Tahoma, sans-serif;
  color: #444;
}
.content p strong {
  font-weight: bold;
}

.content ul, 
.content ol {
  margin-left: 40px;
}
.content ol li, 
.content ul li {
  margin-bottom: 10px;
  list-style-type: square;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  font-family: Helvetica Light, Tahoma, sans-serif;
  color: #444;
}

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

hr {
  border: none; 
  margin: 20px 0; 
  height: 1px; 
  background-color: #ddd;
}

/* Header */

#header {
  height: 120px;
  background: #282828;
}
#header .wrapper {
  box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  min-width: 1000px;
  height: inherit;
}
#header #top-logo {
  display: block;
  float: left;
  width: 163px;
  height: inherit;
  background-position: center;
  background-color: #282828;
}

/* Header menu items */

#nav {
  display: table;
  float: right;
  height: inherit;
}
#nav li {
  display: table-cell;
  padding-left: 25px;
  vertical-align: middle;
}
#nav a,
#nav span {
  display: block;
  padding: 10px 0;
  font-size: 19px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  color: #fff;
  text-decoration: none;
}
#nav a:hover {
  color: #5cc1d6;
  text-decoration: none !important;
}
#nav a.active {
  color: #5cc1d6 !important;
}
#nav .signup {
  padding-left: 43px;
  color: #a7cc45;
  background-repeat: no-repeat;
}
#nav ul {
  display: none;
  position: absolute;
  z-index: 10;
  margin: 0px 0 0 -40px;
  padding: 10px 25px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0px 0px 2px #bbb;
}
#nav ul:hover {
  display: block;
}
#nav ul li {
  display: block;
  padding: 0;
  margin: 0;
}
#nav ul li a {
  color: #282828;
}
#nav .nav-root {
  padding-right: 17px;
  background-position: right center;
}
#nav .nav-root:hover + ul {
  display: block;
}
#nav .sign-up {
  padding-left: 43px;
  color: #fff;
}
#nav .sign-up:hover {
  color: #a7cc45;
}

/* Footer styles */

#footer {
  min-width: 800px;
  margin-top: -195px;
  background-color: #282828;
}
#footer .wrapper {
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
#footer p,
#footer a {
  font: bold 12px Arial;
  color: #fff;
}
#footer p {
  margin-top: 18px;
}
#footer #backplate {
  height: 95px;
  padding: 25px 0;
  background-color: #e4e4e4;
}
#footer #backplate ul {
  float: right;
  margin: 0 0 0 40px;
}
#footer #backplate a {
  color: #777;
  display: block;
  font: normal 13px Arial;
  line-height: 19px;
  text-decoration: none;
}
#footer #backplate a:hover {
  text-decoration: underline;
}
#footer #copyright {
  height: 50px;
  float: left;
}
#footer #social-relations {
  height: 50px;
  float: right;
}
#footer #social-relations p {
  float: left;
  margin: 18px 10px 0 0;
}
#footer #social-relations img {
  float: left;
  margin: 7px 0 0 5px;
}
#footer #social-relations img:hover {
  opacity: 0.5;
}

/* Unified forms styles */

form .headline.icon {
  background-size: contain;
}

form .headline.icon h1 {
  margin-left: 60px;
}

form h1 {
}

form h2 {
  font-size: 23px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  margin-bottom: 15px;
}

form label {
  width: 240px;
  font-size: 16px;
  line-height: 19px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
}

form select {
  display: inline-block;
  width: 290px;
  height: 35px;
  margin: 0;
  padding-left: 10px;
  border-radius: 2px;
  border: 1px solid #e4e4e4;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
}

form textarea {
  width: 277px;
  height: 79px;
  margin: 0 10px 0 0;
  padding: 5px; 
  border: 1px solid #ddd; 
  font-size: 17px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  resize: vertical;
}

form input[type="text"], 
form input[type="password"] {
  display: inline-block;
  width: 290px;
  height: 35px;
  margin: 0 10px 0 0;
  padding: 1px 1px 1px 10px;
  border-radius: 2px;
  border: 1px solid #e4e4e4;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
}

form input[type="checkbox"],
form input[type="radio"] {
  float: left;
  margin: 2px 8px 0 3px;
}

form .label {
  float: left;
  margin: 8px 20px 0 0;
}

form .caption {
  display: inline-block; 
  box-sizing: border-box; 
  width: 90px; 
  margin: 9px 10px 0 10px; 
  font-size: 16px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  text-align: right; 
}

form .input select {
  float: left;
  margin: 0 10px 0 0;
}

form button, form a.button {
  display: inline-block;
  margin: 0px 0 10px 0; 
  padding: 10px 25px 10px 15px; 
  border-radius: 10px; 
  font: bold 14px Arial; 
  color: #fff; 
  background-color: #5cc1d6;
  background-position: right center;
  background-repeat: no-repeat; 
  border: none; 
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer; 
}

form button.blue, form a.blue { 
  background-color: #5cc1d6 !important; 
}

form button.green, form a.green { 
  background-color: #a6ce39 !important; 
}

form button:hover, form a.button:hover { 
  opacity: 0.8; 
}

form button:focus, form a.button:focus {
  opacity: 0.8;
  outline: none;
}

form .error, 
form .error input,
form .error select,
form .error textarea {
  border-color: #ff9999 !important;
}

form .error-msg {
  margin: 5px 0 8px 0;
  font-size: 14px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  text-indent: 115px;
  text-align: left;
  color: #ff0000 !important;
}

form label.error {
  float: left;
  width: 350px;
  margin: 8px 0 0 20px;
  font-weight: normal;
  font-size: 15px;
  font-family: Helvetica Light, Tahoma, sans-serif;
  color: #ff0000;
}

/* To do: Need remake, css optimizations for error messages */

.status-error-msg {
  font-size: 21px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  color: #ff0000 !important;
}

.status-process-msg {
    font-size: 21px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  color: #333333 !important;
}

.status-success-msg {
  font-size: 21px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  color: #008000 !important;
}

form .input {
  margin-bottom: 20px;
}

.input-container, 
.textarea-container {
  float: left;
}

form .input.checkbox  label { 
  float: none;
}
form .input.checkbox label.error {
  float: none;
  display: block;
  width: auto;
  margin: 10px 0 0 25px;
  font-size: 15px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
}

/* Error and success messages for page with forms */

.message {
  position: relative;
  margin-bottom: 40px;
  padding: 15px 35px 19px 35px;
  font-weight: normal;
  font-size: 16px;
  font-family: Arial, Tahoma, FreeSans, sans-serif;
}
.message-title {
  font-size: 19px;
  font-weight: bold;
  font-family: Helvetica Light, Tahoma, sans-serif;
}
.message-content {
  margin-top: 5px;
  line-height: 20px;
  font-size: 16px;
  font-weight: normal;
  font-family: Helvetica Light, Tahoma, sans-serif;
  text-align: justify;
}
.message-i {
  position: absolute;
  left: 18px;
  top: 20px;
  width: 36px;
  height: 36px;
}
.message-error {
  padding-left: 70px;
  color: #bb0000;
  background-color: #f2dede;
  border: 2px solid #D68F8F
}
.message-notice, 
.message-success {
  color: #00a01b;
  background-color: #e6ffea;
  border: 2px solid #d3f6d2;
}

/* Collapsible boxes and their controls */

#expand-switch {
  float: left;
  margin: 10px 0;
  padding-right: 17px;
  cursor: pointer;
}
#expand-switch a {
  font: bold 14px Arial;
  color: #008ce1;
  border-bottom: 1px dotted #008ce1;
  text-decoration: none;
}
#expand-switch a:hover {
  border-bottom: none;
  text-decoration: none !important;
}

/* sorted lists for legal pages documents */

.collapsible .block {
  display: none;
  box-sizing: border-box;
  background: #fafafa;
  margin-bottom: 20px;  
  padding: 1.5% 2% 1.5% 1.5%;  
}
.collapsible h2 {
  margin: 0;
  padding: 12px 0 8px 18px;
  font: normal 110% Arial;
  border-bottom: 1px #c9cacc dotted;
  cursor: pointer;
  color: #008ce1;
}
.collapsible h2 img {
  margin: -2px 2px 0 0;
}
.collapsible p {
  margin-left: 20px;
}
.collapsible ol li {
  list-style: decimal;
}
.collapsible ol.alphabeticall {
  margin-left: 0px;
}
.collapsible ol.alphabeticall li {
  list-style-type: lower-alpha;
}
.collapsible ol.alphabeticall li ol {
  margin-top: 10px;
  margin-left: 0;
}
.collapsible ol.alphabeticall li ol li {
  list-style-type: lower-roman;
}

/* misc: utility */

.clfx:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.hide {
  display: none;
}

#stakeholders-container { display: none; }

  #remove-stakeholder {
    display: none;
  }

  .remove-stakeholder {
    position: absolute;
    width: 18px;
    height: 18px;
    margin-top: 8px;
    margin-left: -2px;
    line-height: 15px;
    text-decoration: none;
    background-repeat: no-repeat;
  }

    .remove-stakeholder._inactive {
      display: none;
    }

  #add-stakeholder {
    margin: 0 0 0 260px;
    line-height: 15px;
    text-decoration: none;
    border-bottom: 1px dotted #0095fe;
  }

    #add-stakeholder._inactive {
      display: none;
    }