* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
}

*:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
}

html,
body {
  font-size: 18px;
  font-family: "PT Sans"; 
}

.button {
  display: inline-block;
  height: 40px;
  margin-top: 2em;
  padding: 0 15px;
  line-height: 40px;
  font-size: 14px;
  color: #FFFFFF;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  background-color: #FF1B2E; 
}

.button:after {
  content: '';
  display: table;
  width: 0;
  height: 0;
  clear: both; 
}

.button + .button {
  margin-left: 1em; 
}

.button:hover {
  background-color: #a31f28; 
}

header {
  width: 100%;
  padding-top: 2.64em;
  padding-bottom: 1.5em;
  text-align: center;
  background-color: #e1ebf5; 
}

header .title {
  color: #0083B4; 
}

header .text {
  font-size: 18px;
  color: #0083B4; 
}

header img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 3.64em 0; 
}

section .title {
  padding-bottom: 10px;
  border-bottom: 1px solid #d0d0d0; 
}

section:nth-child(even) {
  background-color: #F1F3F3; 
}

pre {
  white-space: pre-wrap;
  /* css-3 */
  white-space: -moz-pre-wrap;
  /* Mozilla, since 1999 */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */ 
}

pre.install {
  padding: 0.5em 1em;
  border-radius: 3px;
  color: #FFFFFF;
  background-color: #6A6A6A; 
}

.inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1em; 
}

.inner:after {
    content: '';
    display: table;
    width: 0;
    height: 0;
    clear: both; 
}

.inner .image-l,
.inner .image-r {
  width: 15%;
  float: left;
  text-align: center; 
}

.inner .image-l img,
.inner .image-r img {
  width: 100%; 
}

.inner .image-r {
  float: right; 
}

.inner .hljs {
  font-size: 14px;
  border-radius: 5px;
  background-color: #e3e7e7; 
}

.example .title {
  text-align: center;
  margin-bottom: 0.5em; 
}

.element {
  overflow: hidden;
  margin: 0 auto; 
}

.element.A1 {
  width: 100%;
}

.element.A2 {
  margin-top: 3em;
  width: 300px;
  height: 500px; 
}

.btn {
  width: 100px;
  margin: 1em auto;
  padding: 5px;
  color: #FFF;
  cursor: pointer;
  border: 1px solid #ca3078;
  border-radius: 3px;
  text-align: center;
  background-color: #FF2E3C; 
}

.title {
  margin: 0;
  color: #363636;
  font-size: 2.43em; 
}

.title.right {
  text-align: right; 
}

.title .fa {
  font-weight: bold;
}

.text-l ol li{
  line-height: 35px;
}

.text-r {
  margin-left: 25%; 
}

.text-c img{
  width: 15%;
}

.text-l {
  margin-right: 25%; 
}

.text-l .title {
    text-align: right; 
}

#simple-form {
  margin-left: 30%;
}

#simple-form .text-error {
  color: red;
  font-size: 12px;
  margin-left: 125px;
  margin-top: 3px;
}

#simple-form h4{
  margin-left: 18%;
}

#simple-form .form-actions{
  margin-left: 10%;
}

#simple-form select {
  display: inline-block;
  width: 182px;
}

.form-field {
  margin: 5px;
  margin-bottom: 15px;
}

.form-field .form-label{
  width: 100px;
  margin-right: 20px;
  display: inline-block;
}

.icon {
  display: inline-block;
  margin: 0.5em 0.5em 0 0;
  float: left;
  font-size: 20px;
  background-image: url("../images/icon.svg");
  background-repeat: no-repeat; 
}

.icon.icon-download {
  background-position: 0 0; 
}

.icon.icon-github {
  background-position: -16px 0; 
}

.rules {
  text-align: center;
  width: 100%;
  border: 1px solid #000;
  margin-top: 10px;
}

.rules tr {
  border-bottom: 1px solid #000;
}

.rules tr:nth-child(even) {
  background-color: #F1F1F1;
}

.rules td,th{
  border-right: 1px solid #000;
  line-height: 30px;
}

.rules th{
  background-color: #363636;
  color: #fff;
}

.inline-example{
  margin-bottom: 50px;
}

.inline-example .input-holder {
  height: 30px;
  display: inline-block;
  vertical-align: middle;
}

.inline-example .text-error {
  color: red;
  font-size: 12px;
  margin-left: 42px;
}

.menu-wrapper{
  margin-top: 40px;
  font-size: 20px;
}

.menu-wrapper.fix{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: #e1ebf5;
  margin-top: 0px;
}

.menu-wrapper .menu{
  list-style: none;
}

.menu li{
   display: inline-block;
   position: relative;
   vertical-align: middle;
}

.menu li:hover a:after{ 
  width: 93%;
  margin-left: 0;
}

.menu a{
  text-decoration: none;
  color : #00627F;
  margin-right: 10px;
}

.menu a:after{
  background-color: #ff1b2e;
  bottom: -2px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  width: 0;
  margin-left: 50%;
}

.menu .take-to-top {
  display: none;
}

.menu .take-to-top a:after {
  display: none;
}

.take-to-top.fix {
  display: inline-block;
}

.take-to-top-icon {
  width: 40px;
  height: 40px;
}

footer {
  width: 100%;
  height: 80px;
  border-top: 1px solid #D0D0D0;
}

footer .inner{
  margin-top: 20px;
}

footer .inner .author{
  float: left;
}

footer .inner .license{
  float: right;
}

