html { background:#fff; font-size: 16px; }
body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,blockquote,pre,form,input,button { margin:0; padding:0; }
.h1, .h2, .h3, h1, h2, h3 { /* cp from bootstrap */
  margin-top: 20px;
  margin-bottom: 10px;
}
p { margin:0.5em 0; }
ul { list-style:none; }
ol { padding-left:2em; }
img { border:none; }
a { color:#ee8833; text-decoration:none; }
a:hover { color: #ff9933; text-decoration: underline; }
pre {
  color:#222;
  padding:5px;
  background:#ede;
  margin:3px 0;
}
em {
  font-style:normal;
  font-weight:bold;
  font-size:1.1em;
}

/* input button */
textarea { border: 1px solid #80B0B0; }
input { border: 1px solid #80B0B0; }
input[type=submit] { border: 1px solid #80B0B0; background: #EEE; color: #080; padding:0 2px; border-radius: 3px; -moz-border-radius:3px; }
input[type=submit]:hover { border: 1px solid #80B0B0; background: #FFF; }
label { display: inline-block; margin:2px 0px; }
tr.even { background-color: #FAFAFA; }
tr.odd { background-color: #E0E0E0; }

.h2-lg {
  font-weight: 600;
  font-size: 44px;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.btn-primary {
  font-size: 1rem;
  color: #fff;
  border-radius: 5px;
  background: #ff9800;
  border-color: #ff9800;
}

.btn-primary:hover {
  background-color: #d96d00;
  border-color: #cc6600;
}

.btn-lg {
  line-height: 50px;
  height: 50px;
  padding: 0 43px;
}

#banners .carousel-indicators {
  margin-bottom: 50px;
}

.carousel-indicators [data-bs-target] {
  width: 50px;
  height: 6px;
  border-radius: 3px;
  background: #fff;
  opacity: 1;
  border: 0;
}

.carousel-indicators .active {
  background: #ff9800;
}

.error { color:red; }
.tip { color:#808080; font-size:12px; }
.clear { clear:both;}
.fleft { float:left; }
.fright { float:right; }
.cleft { clear:left; }
.center { text-align:center; }
.show { display:block; }
.hide { display:none; }
.errorlist { color: red; }
.ovhd { overflow:hidden; }
.bold { font-weight:bold; }
.label { color:#333; font-size:12px; font-style:normal; }
.block {
  padding:20px;
  border:1px solid #ddd;
  border-radius:3px;
}
/* article */
.article {
  font-size: 14px;
  line-height: 1.6;
}
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  margin: 1.2em 0 0.4em;
  color:#333;
  font-weight:bold;
}
.article h1 + p, .article h2 + p, .article h3 + p, .article h4 + p, .article h5 + p, .article h6 + p,
.article h1 + pre, .article h2 + pre, .article h3 + pre, .article h4 + pre, .article h5 + pre, .article h6 + pre,
.article h1 + ul, .article h2 + ul, .article h3 + ul, .article h4 + ul, .article h5 + ul, .article h6 + ul,
.article h1 + ol, .article h2 + ol, .article h3 + ol, .article h4 + ol, .article h5 + ol, .article h6 + ol {
  margin-top: 0;
}
.article p {
  margin:0.8em 0;
}
.article ul {
  list-style-type:disc;
  padding-left:2em;
}
.article ul,
.article ol {
  margin:0.5em 0;
}
.article code {
  font-size:12px;
  white-space: nowrap;
  padding: 1px 5px 0;
  background-color: #F8F8F8;
  border: 1px solid #dadada;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  margin: 0 2px;
}
.article pre {
  font-size:13px;
  padding:5px 10px;
  background:#f8f8f8;
  border:1px solid #ddd;
  border-radius:3px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  margin:1em 0;
}
.article pre code {
  white-space:pre-wrap;
  padding:0;
  margin:0;
  border:none;
}
.article a {
  font-weight:normal;
}
.article blockquote {
  color: #777;
  padding: 0 15px;
  border-left: 4px solid #DDD;
  margin: 10px 0;
}
.article table {
  margin:0.8em 0;
  width:auto;
}
.article tr:nth-child(2n) {
  background-color: #F8F8F8;
}
.article th,
.article td {
  padding:6px 13px;
  border:1px solid #ccc;
}
/* side nav */
.side-textnav-tabs,
.main-con {
  margin-top:10px;
}
.side-textnav-tabs .tab a {
  display:block;
  padding:10px 0;
  font-weight:normal;
  color:#999;
  border-bottom:1px solid #eee;
  margin-bottom:3px;
}
.side-textnav-tabs .tab-cur a,
.side-textnav-tabs .tab a:hover {
  color:#de3f1c;
  text-decoration:none;
}
.main-con .hd {
  padding: 9px 10px;
  background: #f2f2f2;
  border-radius: 2px;
  color: #333;
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 15px;
  margin-top:0;
}

/* container */

#header {
  height: 60px;
}

#main {
  margin-top: 60px;
}
#footer {
  color:#555;
  background:#f0f0f0;
  padding:15px 0 30px;
}

/* #header */
.nav .lang {
  padding-left:5px;
  padding-right:5px;
}
#banner {
  position:absolute;
  left:-54px;
  top:0;
  z-index:-2;
}

/* footer */
#footer .copyright { margin-top:13px; }
#footer a { font-weight:normal; color:#888; }
#footer h4 {
  font-size: 1.125rem;
  margin: 20px 0 10px;
}

/* popup dialog */
#basic-modal-content {display:none;}
#simplemodal-overlay {background-color:#000; cursor:wait;}
#simplemodal-container { background-color:#fff; border:3px solid #080; padding: 8px; }
#simplemodal-container code {background:#141414; border-left:3px solid #65B43D; color:#bbb; display:block; font-size:12px; margin-bottom:12px; padding:4px 6px 6px;}
#simplemodal-container a {color:#ddd;}
#simplemodal-container a.modalCloseImg {background:url(../img/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;}
#simplemodal-container h3 {color:#84b8d9;}

.navbar-default {
  background: rgba(255,255,255,0.98);
  border: none;
  border-radius: 0;
  box-shadow: rgba(0,0,0,0.098) 0px 0px 7px 0px;
}

/* home */
.top-banner-heading {
  font-size:40px;
  line-height:48px;
  margin-top:60px;
}

.top-banner-brief {
  font-size:24px;
  line-height:36px;
}

.top-banner {
  background: url('../img/home-top-banner-bg.jpg') center bottom no-repeat scroll;
  background-size: cover;
  padding: 50px 0;
}

.product-intro {
  font-size: 1.125rem;
  line-height: 2rem;
}

.top-banner .product-intro {
  margin: 20px 0 40px;
}

.segment {
  padding-top: 60px;
  padding-bottom: 60px;
}
.last-segment {
  padding-bottom: 140px;
}
.grey.segment {
  background: #fafafa;
}

.home-h2 {
  font-size: 40px;
  line-height: 1.375;
  font-weight: 600;
}

#features {
  padding: 80px 0 0;
}

.features-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 6px;
  background: #ff9800;
  border-radius: 3px;
  margin: 16px auto 30px;
}

.feature-title {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 32px;
}

#security {
  background: url('../img/home-security-bg.jpg') center bottom no-repeat scroll;
  background-size: cover;
  padding: 90px 0 120px;
}

.security-intro {
  font-size: 20px;
  line-height: 37px;
  margin: 32px 0 0;
}

.partner-benefits {
  list-style-type: disc;
  padding-left: 2em;
}
#customers {
  padding: 80px 0 100px; 
}
#customers .col-md {
  margin-top: 60px;
}
/*  product-private-server */
#product-private-server h2 {
  margin-top: 35px;
}
#product-private-server .sf-sidenav {
  margin-top: 30px;
}
.pricing .fa-check {
  color: green;
  display: inline-block;
  width: 100%;
  text-align: center;
}
#feature-list .fa-circle-question {
  color: #ff9600
}
ul.worktime {
  list-style: disc;
  margin:0.5em 0;
  padding-left:2em;
}
.seadrive-explain {
  color:#888;
}

.seafile-docs-table .fa-check {
  color: green;
}
/* about page */
#about-us .nav-item {
  margin: 0 1px;
}

#about-us .nav-link {
  color: #888;
  text-decoration: none;
}

#about-us .nav-link.active,
#about-us .nav-link:focus,
#about-us .nav-link:hover {
  border-bottom: 2px solid #ff9600;
  color: #ff9600;
  margin-bottom: -1px;
}

.team-member {
  float:left;
  width:230px;
  margin:15px 0 30px;
}

.team-member .avatar {
  margin-bottom: 10px;
  border-radius: 1000px;
}

.team-member-name {
  font-size: 16px;
  color: #282828;
}
.team-member-title {
  color: #949494;
}
#about-us h2 {
  margin:50px 0 18px;
}
#about-us h3 {
  font-weight:bold;
  margin-top:1.3em;
}
#about-team h2,
#about-contact h2 {
  text-align:center;
  padding-bottom:20px;
  border-bottom:1px solid #ddd;
}

#team-members-nav [data-bs-target] {
  display:inline-block;
  width:14px;
  height:14px;
  background:#c8c8c8;
  border-radius:100%;
  margin:0 8px;
}

#team-members-nav [data-bs-target].active {
  background:#909090;
}

#about-contact .table td {
  border:none;
}
/* help pages */
.help-nav {
  min-height:440px;
  border-radius:3px;
}
.help-nav h2 {
  font-size:16px;
  font-weight:normal;
}
.help-nav h2.first {
  margin-top:5px;
}
.help-nav h2 a {
  color:#333;
  font-weight:normal;
}
.help-nav ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin:5px 0 15px;
}
.help-nav li {
  margin:1px 0;
}
.help-nav li a {
  font-size:1.1em;
  line-height:1.6;
  font-weight:normal;
  color:#666;
}
.help-nav a.cur {
  color:#f30;
}
.help-con {
  color:#333;
  min-height:420px;
}
.help-con img {
  max-width:100%;
  margin:3px 0 5px;
}
table.zh-states-table {
  width:89%;
}
.states-table thead {
  visibility:hidden;
}
.states-table tr:nth-child(2n) {
  background:#fff;
}
.states-table th,
.states-table td {
  border:0;
}
.states-table td {
  padding:8px 12px;
}
.states-table img {
  padding:0;
  border:0;
  margin:0;
}

/*download page*/
.software .col-md-5 {
  margin-top:40px;
  margin-bottom:40px;
}
.software h2 {
  margin-top:20px;
  line-height:1.8;
  font-weight:normal;
  font-size:1.4em;
  border-bottom: 1px solid #d8d8d8;
}
.software p,
.software ul {
  color:#666;
}

.software .txt {
  margin-left:20px;
}
.software ul {
  list-style-type:disc;
  padding-left:2em;
  margin:-10px 0 10px;
}
.software .download-op {
  font-size:15px;
}
#android-client-download-qr-code {
  margin-top: .25em;
}
.software .info {
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  color: #333;
  background: #eee;
  font-size: 14px;
}
.changelog {
  font-weight:normal;
  color:#666;
}
/*all pub-intro*/
#all-pub-intro {
  width:700px;
  min-height:400px;
}
#client-case {
  padding-left:120px;
  padding-right:160px;
  margin-bottom:15px;
}
#offer {
  padding-left:180px;
  padding-right:170px;
}
/*feedback*/
#feedback-hd {
  margin-bottom:20px;
}
/*recruit*/
.recruit {
  padding:25px 60px;
}
.recruit h2,
.recruit h3 {
  font-family: Times,"Times New Roman",serif;
}
/* our team */
#our-team li {
  margin:10px 0;
}
#our-team .member {
  display:inline-block;
  width:300px;
  padding: 20px 0;
  text-align:center;
}
#our-team .avatar {
  border-radius:3px;
}
#our-team .title {
  color:#999;
}
#our-team .mail {
  color:#bbb;
}
#our-team .mail:hover {
  text-decoration:none;
  color:#e83;
}
/* partners */
table.partners {
  margin-bottom:25px;
}
h3.partners {
  margin-top:36px;
  margin-bottom:10px;
}

/* features page */
.feature-heading {
  color:#4d4c4c;
}
.feature-brief {
  color:#7a7b7c;
}
@media (min-width:768px) {
  .mobile-client-segment {
    padding-bottom:0;
  }
}
@media (min-width:768px) and (max-width:991px) {
  .feature-share-img {
    padding-top:45px;
  }
}
.feature-colored-segment {
  background:#fdf6e5;
}

.feature-icon-segment {
  padding-top:0;
}

.first-feature-icon-segment {
  padding-top:60px;
}
.feature-list {
  padding-left:2em;
  list-style-type:disc;
  margin:1em 0;
}

/* support page */
.doc-item {
  height: 220px;
  max-width: 480px;
  padding: 5em 2em 2em;
  border: 2px solid transparent;
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.doc-item-hover {
  border-color: #f09f3f;
  background: #fffbf8;
  cursor: pointer;
}

/* seafile docs home page */
#dtable-top-banner,
#seafile-docs-top-banner {
  background: url('../img/seafile-docs-banner-bg.png') center bottom no-repeat scroll, url('../img/bg01@2.jpg') center bottom no-repeat scroll;
  background-size: 42%, auto;
  padding-bottom: 23.82%;
  color: #b36101;
}
.sf-docs-reg-btn,
.sf-docs-reg-btn:focus {
  background: #fdfdff;
  color: #d78354;
  border: 1px solid #fffcf2;
  border-radius: 45px;
  box-shadow: 0 1px 4px #d3bf9e;
  font-size: 1.2em;
  margin: 0 .3em;
}
.sf-docs-reg-btn:hover {
  color: #fdfdff;
  background: #d78354;
  border-color: #d78354;
}
.docs-feature {
  padding: 3em 0;
  align-items: center;
}
.docs-feature:nth-of-type(even) {
  background:#fafafa;
}
.docs-feature-image {
  max-width: 80%;
}
.docs-feature-brief {
  padding-left: 1.5em;
  list-style: disc;
  margin-top: 1em;
}

/* Overwrite bootstrap style
 */
.nav .btn {
  display:inline-block;
  padding:6px 12px;
  margin-left:15px;
  margin-right:5px;
}
.btn-yellow {
  border: 1px solid #ff9600;
  background: none;
  color: #ff9600;
}
.btn-yellow:hover {
  background: #ff9600;
  color: #fff;
}
.table td {
  border-bottom:1px solid #ddd;
}

/*******************************
Divider
 *******************************/

.ui.divider {
  margin: 1rem 0rem;
  line-height: 1;
  height: 0em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.85);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*--------------
Basic
---------------*/

.ui.divider:not(.vertical):not(.horizontal) {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/*--------------
Horizontal
---------------*/

.ui.horizontal.divider {
  position: relative;
  height: auto;
  margin: '';
  overflow: hidden;
  line-height: 1;
  text-align: center;
}
.ui.horizontal.divider:before,
.ui.horizontal.divider:after {
  position: absolute;
  content: '';
  z-index: 3;
  width: 50%;
  top: 50%;
  height: 0px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.ui.horizontal.divider:before {
  margin-left: -webkit-calc(-50% -  1em );
  margin-left: calc(-50% -  1em );
}
.ui.horizontal.divider:after {
  margin-left: 1em;
}

/*--------------
Vertical
---------------*/

.ui.vertical.divider {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin: 0rem;
  padding: 0em;
  width: auto;
  height: 50%;
  line-height: 0em;
  text-align: center;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.ui.vertical.divider:before,
.ui.vertical.divider:after {
  position: absolute;
  left: 50%;
  content: '';
  z-index: 3;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  width: 0%;
  height: -webkit-calc(100% -  1rem );
  height: calc(100% -  1rem );
}
.ui.vertical.divider:before {
  top: -100%;
}
.ui.vertical.divider:after {
  top: auto;
  bottom: 0px;
}


/*--------------
Inverted
---------------*/

.ui.divider.inverted,
.ui.vertical.inverted.divider,
.ui.horizontal.inverted.divider {
  color: #ffffff;
}
.ui.divider.inverted,
.ui.divider.inverted:after,
.ui.divider.inverted:before {
  border-top-color: rgba(0, 0, 0, 0.15) !important;
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
  border-left-color: rgba(0, 0, 0, 0.15) !important;
  border-right-color: rgba(255, 255, 255, 0.15) !important;
}

/*--------------
Fitted
---------------*/

.ui.fitted.divider {
  margin: 0em;
}
/* Inside grid */
@media only screen and (max-width: 767px) {
  .ui.vertical.divider,
  .ui.vertical.divider {
    position: relative;
    margin: 1rem 0rem;
    left: 50%;
    height: auto;
    overflow: hidden;
    line-height: 1;
    text-align: center;
  }
  .ui.vertical.divider:before,
  .ui.vertical.divider:before,
  .ui.vertical.divider:after,
  .ui.vertical.divider:after {
    position: absolute;
    left: auto;
    content: '';
    z-index: 3;
    width: 50%;
    top: 50%;
    height: 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .ui.vertical.divider:before {
    margin-left: -51%;
  }
  .ui.vertical.divider:after {
    margin-left: 1em;
  }
}
/*--------------
Clearing
---------------*/

.ui.clearing.divider {
  clear: both;
}
/*--------------
Sizes
---------------*/

.ui.divider {
  font-size: 1rem;
}

.header-container {
  background: url('../img/banner/yellow-background.jpg');
  background-size: auto 100%;
  background-position: center center;
  height: 150px;
  padding-top:50px;
  margin-bottom: 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse {
  margin: .5rem -1.5rem 0;
  padding: 0 1.5rem;
}

.top-nav .nav-link {
  border-bottom: 1px solid #dee2e6;
}
@media (min-width: 768px) { 
  .top-nav .nav-item {
    margin-left: 14px;
  }

  .top-nav .nav-link {
    border: none;
  }
}

.top-nav .nav-link {
  color: #333;
  text-decoration: none;
}

.top-nav .cur-lang {
  color: #666;
}

.top-nav .nav-link[aria-expanded="true"],
.top-nav .nav-link.active,
.top-nav .nav-link:hover {
  color: #ff9800;
}

.up-down-toggle::after {
  display: inline-block;
  content: '';
  vertical-align: initial;
  border: none; /* overwrite styles from bootstrap */
  border-style: solid;
  border-width: 0 2px 2px 0;
}

.up-down-toggle[aria-expanded="false"]::after {
  transform: rotate(45deg);
}

.up-down-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.dropdown-toggle::after {
  padding: 2px;
}

.dropdown-toggle[aria-expanded="false"]::after {
  margin: 0 0 3px 6px;
}

.dropdown-toggle[aria-expanded="true"]::after {
  margin: 0 0 0 6px;
}

.nav-link-collapse-toggle::after {
  padding: 3px;
  margin-left: auto;
}

/* about us */
.about-us-top-banner {
  background: url('../img/about-us/about-us-banner.jpg') center bottom no-repeat scroll;
  background-size: cover;
  height: 260px;
}

.about-us-banner-heading {
  color: #333;
  font-size: 3.375rem;
  font-weight: 600;
}

.about-us-section {
  padding: 80px 0 100px;
  font-size: 1.125rem;
  line-height: 30px;
  color: #333;
}

.about-us-section-heading {
  font-size: 2.5rem;
  font-weight: 600;
}

.heading-with-deco::after {
  content: '';
  display: block;
  width: 50px;
  height: 6px;
  background: #ff9800;
  border-radius: 3px;
  margin: 16px auto 50px;
}

.member-item {
  border-radius: 6px;
  box-shadow: 3px 3px 20px rgba(0,0,0, 0.08);
  margin-top: 40px;
}

.member-item-text {
  padding: 40px;
  font-size: .875rem;
  line-height: 1.5;
}

.contact-item-heading {
  font-size: 1.125rem;
  color: #333;
  margin-left: 10px;
  font-weight: 400;
}

.contact-item-content {
  font-size: .875rem;
  line-height: 1.5;
  color: #333;
  margin: 13px 0 0 38px;
  font-weight: 500;
}
