/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
 
.weex-root,
.weex-root * {
  color: initial;
  cursor: initial;
  direction: initial;
  /* In chrome, there's a chance that user set the miximum font-size to 
  a abnormal smaller size. But actually the smaller size is never working
  if this font / font-size default value is set to initial. Perhaps a bug
  for chrome. */
  font: initial;
  font-size: initial;
  font-family: initial;
  font-style: initial;
  font-variant: initial;
  font-weight: initial;
  line-height: initial;
  text-align: initial;
  text-indent: initial;
  visibility: initial;
  white-space: initial;
  word-spacing: initial;
  font-family: BlinkMacSystemFont, 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.weex-root,
.weex-root *,
.weex-root *::before,
.weex-root *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
      -ms-text-size-adjust: none;
          text-size-adjust: none;
}

.weex-root a,
.weex-root button,
.weex-root [role="button"],
.weex-root input,
.weex-root label,
.weex-root select,
.weex-root textarea {
      touch-action: manipulation;
}

.weex-root p,
.weex-root ol,
.weex-root ul,
.weex-root dl,
.weex-root figure {
  margin: 0;
  padding: 0;
}

.weex-root li {
  list-style: none;
}

.weex-root figure {
  margin: 0;
}

.weex-root textarea {
  resize: none;
}

/* show no scroll bar. */
::-webkit-scrollbar {
  display: none;
}

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
 
.weex-root * {
  border-width: 0;
  border-color: inherit;
  border-style: solid;
}

div.weex-root {
  min-height: 100%;
}

/**
 * slider will overflow in horizontal axis, which will cause container
 * horizontally expanding. below styles will prevent this from happening.
 */
.weex-root {
  width: 100%;
  overflow-x: hidden;
}

.weex-root figure {
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.weex-flex-ct {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.weex-ct {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
          flex-direction: column;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
          flex-grow: 0;
  -webkit-flex-basis: auto;
          flex-basis: auto;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
          align-items: stretch;
  -webkit-align-content: flex-start;
          align-content: flex-start;
  border: 0 solid black;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.weex-ct.horizontal {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
          flex-direction: row;
}

.weex-el {
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
          flex-grow: 0;
  -webkit-flex-basis: auto;
          flex-basis: auto;
  border: 0 solid black;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.weex-text {
  display: -webkit-box;
  display: -moz-box;
  -webkit-box-orient: vertical;
  position: relative;
  white-space: pre-wrap;  /* not using 'pre': support auto line feed. */
  font-size: 0.4266666666666667rem;
  word-wrap: break-word;
  overflow: hidden; /* it'll be clipped if the height is not high enough. */
}

.weex-image {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;
}

.weex-a {
  text-decoration: none;
}

.weex-ios-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  z-index: 9999;
  top: 0;
}

.weex-fixed {
  position: fixed;
  z-index: 1;
}

.weex-sticky {
  position: fixed;
  top: 0;
  z-index: 9999;
}

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

.weex-switch {
  border: 0.013333rem solid #dfdfdf;
  cursor: pointer;
  vertical-align: middle;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  background-clip: content-box;
  color: #64bd63;
  width: 1.333333rem;
  height: 0.8rem;
  background-color: white;
  border-color: #dfdfdf;
  -webkit-box-shadow: #dfdfdf 0 0 0 0 inset;
          box-shadow: #dfdfdf 0 0 0 0 inset;
  border-radius: 0.8rem;
  -webkit-transition: border 0.4s, background-color 1.2s, -webkit-box-shadow 0.4s;
  transition: border 0.4s, background-color 1.2s, -webkit-box-shadow 0.4s;
  transition: border 0.4s, box-shadow 0.4s, background-color 1.2s;
  transition: border 0.4s, box-shadow 0.4s, background-color 1.2s, -webkit-box-shadow 0.4s;
}

.weex-switch-checked {
  background-color: #64bd63;
  border-color: #64bd63;
  -webkit-box-shadow: #64bd63 0 0 0 0.533333rem inset;
          box-shadow: #64bd63 0 0 0 0.533333rem inset;
}

.weex-switch-checked.weex-switch-disabled {
  opacity: 0.3
}

.weex-switch-disabled {
  background-color: #EEEEEE;
}

.weex-switch-inner {
  width: 0.8rem;
  height: 0.8rem;
  background: #fff;
  border-radius: 100%;
  -webkit-box-shadow: 0 0.013333rem 0.04rem rgba(0, 0, 0, 0.4);
          box-shadow: 0 0.013333rem 0.04rem rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: background-color 0.4s, left 0.2s;
  transition: background-color 0.4s, left 0.2s;
}

.weex-switch-checked > .weex-switch-inner {
  left: 0.533333rem;
}

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

body > .weex-list,
body > .weex-scroller,
body > .weex-waterfall {
  max-height: 100%;
}

.weex-list-wrapper,
.weex-scroller-wrapper,
.weex-waterfall-wrapper {
  -webkit-overflow-scrolling: touch;
}

.weex-list-wrapper,
.weex-waterfall-wrapper {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
}

.weex-list-inner,
.weex-scroller-inner,
.weex-waterfall-inner {
  -webkit-overflow-scrolling: touch;
}

.weex-waterfall-inner-columns {
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-box-orient: horizontal;
}

.weex-scroller-wrapper.weex-scroller-vertical {
  overflow-x: hidden;
  overflow-y: scroll;
}

.weex-scroller-wrapper.weex-scroller-horizontal {
  overflow-x: scroll;
  overflow-y: hidden;
}

.weex-scroller-wrapper.weex-scroller-disabled {
  overflow-x: hidden;
  overflow-y: hidden;
}

.weex-scroller-horizontal .weex-scroller-inner {
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-box-orient: horizontal;
  height: 100%;
}

.weex-cell {
  width: 100%;
}

.weex-refresh,
.weex-loading {
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
 
.weex-slider-wrapper {
  overflow: hidden;
}

.weex-slider-inner {
  width: 100%;
  height: 100%;
  overflow: visible;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
          flex-direction: row;
}

.weex-slider-cell {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background: transparent !important;
  overflow: hidden;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
}

.neighbor-cell {
  overflow: visible !important;
}

nav.weex-indicator {
  position: absolute;
  z-index: 10;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
          flex-direction: row;
  margin: 0;
  padding: 0;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-transform: translate(-10rem, 0px);
          transform: translate(-10rem, 0px)
}

div.weex-indicator-inner {
  -webkit-transform: translate(10rem, 0px);
          transform: translate(10rem, 0px);
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
          flex-direction: row;
}

.weex-indicator-item {
  display: inline-block;
  position: relative;
  border-radius: 50%;
  width: 0.266667rem;
  height: 0.266667rem;
  background-color: #BBBBBB;
}
.weex-indicator-item + .weex-indicator-item {
  margin-left: 0.133333rem;
}

.weex-indicator-item-active {
  background-color: blue;
}
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
.weex-textarea {
  font-size: 0.426667rem
}
.weex-textarea:focus {
  outline: none;
}

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
.weex-web {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
