#dialog a,
#dialog .title {
  color: #b24926;
}

#content a:hover {
  color: #333;
}

#banner-secondary p.intro {
  padding: 0;
  float: left;
  width: 50%;
}

#banner-secondary .download-box {
  border: 1px solid #aaa;
  background: #333;
  background: -webkit-linear-gradient(left, #333 0%, #444 100%);
  background: linear-gradient(to right, #333 0%, #444 100%);
  float: right;
  width: 40%;
  text-align: center;
  font-size: 20px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.ui-dialog {
  z-index: 9999 !important;
}

#banner-secondary .download-box h2 {
  color: #71d1ff;
  font-size: 26px;
}

#banner-secondary .download-box .button {
  float: none;
  display: block;
  margin-top: 15px;
}

#banner-secondary .download-box p {
  margin: 15px 0 5px;
}

#banner-secondary .download-option {
  width: 45%;
  float: left;
  font-size: 16px;
}

#banner-secondary .download-legacy {
  float: right;
}

#banner-secondary .download-option span {
  display: block;
  font-size: 14px;
  color: #71d1ff;
}

#content .dev-links {
  float: right;
  width: 30%;
  margin: -15px -25px .5em 1em;
  padding: 1em;
  border: 1px solid #666;
  border-width: 0 0 1px 1px;
  border-radius: 0 0 0 5px;
  box-shadow: -2px 2px 10px -2px #666;
}

#content .dev-links ul {
  margin: 0;
}

#content .dev-links li {
  padding: 0;
  margin: .25em 0 .25em 1em;
  background-image: none;
}

.demo-list {
  float: right;
  width: 25%;
}

.demo-list h2 {
  font-weight: normal;
  margin-bottom: 0;
}

#content .demo-list ul {
  width: 100%;
  border-top: 1px solid #ccc;
  margin: 0;
}

#content .demo-list li {
  border-bottom: 1px solid #ccc;
  margin: 0;
  padding: 0;
  background: #eee;
}

#content .demo-list .active {
  background: #fff;
}

#content .demo-list a {
  text-decoration: none;
  display: block;
  font-weight: bold;
  font-size: 13px;
  color: #3f3f3f;
  text-shadow: 1px 1px #fff;
  padding: 2% 4%;
}

.demo-frame {
  width: 70%;
  height: 420px;
}

.view-source a {
  cursor: pointer;
}

.view-source>div {
  overflow: hidden;
  display: none;
}

@media all and (max-width: 600px) {
  #banner-secondary p.intro,
  #banner-secondary .download-box {
    float: none;
    width: auto;
  }
  #banner-secondary .download-box {
    overflow: auto;
  }
  .ui-dialog {
    width: 80% !important;
  }
}

@media only screen and (max-width: 480px) {
  #content .dev-links {
    width: 55%;
    margin: -15px -29px .5em 1em;
    overflow: hidden;
  }
  .ui-dialog {
    width: 80% !important;
  }
  #dialog .cookie-popup .left {
    width: 100% !important;
  }
  #dialog .cookie-popup .right {
    width: 100% !important;
    margin-top: 5px;
  }
}

#dialog .ui-button {
  border: 1px solid #cccccc !important;
  background: #ededed !important;
  font-weight: normal !important;
  color: #2b2b2b !important;
}

.user-logged-in .ui-widget-header1 .ui-icon {
  background-image: indianred !important;
}
/*
.ui-button .ui-icon {
    background: url('close.png') center no-repeat !important;
    content: "\ea0f";
    font-size: 20px;
} */

#dialog.ui-dialog-content.ui-widget-content {
  overflow-x: hidden;
  padding: 0 20px 20px;
  height: 80% !important;
}

.ui-dialog.ui-widget.ui-widget-content {
  max-height: none;
  border: 1px solid #c5c5c5 !important;
}

.ui-widget-header1 {
  border: 1px solid #dddddd !important;
  background: #e9e9e9 !important;
  color: #333333 !important;
  font-weight: bold !important;
}

#dialog .cookie-popup {
  margin: 10px 0;
}

#dialog .cookie-popup>div {
  display: inline-block;
  vertical-align: top;
}

#dialog .cookie-popup .left {
  width: 70%;
}

#dialog .cookie-popup .right {
  width: 29%;
}

#dialog .cookie-popup .right>div {
  background: gray;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  padding: 6px 10px;
  text-align: center;
  text-decoration: none;
  width: auto;
}

#dialog .cookie-popup .right>div:hover {
  opacity: 1;
}

#dialog .cookie-popup .right .disabled {
  opacity: 0.5;
}

#dialog .cookie-popup .right .cookie-allow {
  background-color: #60849c;
}

#dialog .cookie-popup .right .cookie-denied {
  background-color: #e85215;
}

#dialog hr {
  width: 70%;
  border-top: 3px solid #d1ccb9;
  margin: 10px auto;
}

#dialog .cookie-popup>.title {
  width: 100%;
  font-size: 1.5rem;
  color: #666;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close {
  background: transparent !important;
}

body #sliding-popup.sliding-popup-bottom .popup-content #popup-buttons .disagrees-button,
body #sliding-popup.sliding-popup-bottom .popup-content #popup-buttons .disagrees-all-button {
  background: #2e3c45;
  border-radius: 20px;
  border-radius: 1.25rem;
  border: none;
  padding: 10px 20px;
  padding: .625rem 1.25rem;
  font-size: 13px;
  font-size: .8125rem;
  box-shadow: none;
  text-shadow: none;
  color: #fff;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -ms-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
}

body #sliding-popup.sliding-popup-bottom .popup-content #popup-buttons .disagrees-button:hover {
  background: #60849c;
}

#sliding-popup {
  border-top: 2px solid #e85215;
  background: #fff !important;
}

#sliding-popup #popup-text > * {
  color: #2c3a43 !important;
  font-size: .8125rem !important;
}

#sliding-popup #popup-text *,
#sliding-popup #popup-buttons * {
  font-weight: 100;
}

#sliding-popup #popup-text h1,
#sliding-popup #popup-text h2,
#sliding-popup #popup-text h3 {
  color: #e85215 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

#popup-text.eu-cookie-compliance-message {
    max-width: 50%;
}
#popup-buttons.eu-cookie-compliance-buttons {
    max-width: 50%
}