/* Cherry pick from Bootstrap 4.0 */
html {
  box-sizing: border-box;
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
@-ms-viewport {
  width: device-width;
}
body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.5;
  color: #212529;
  background-color: #fefaf9;
}
#s1 {
  background-image: url('../img/background-sm.jpg'); /* 360 x 640 */
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#s2 {
  background-repeat: no-repeat;
  background-position: center 40px;
  background-image: url('../img/reiki-chinese-sm.png'); /* 284 x 505 oppure ridotto 200 x 356 */
}
@media (min-width: 992px) {
  body {
    background-image: url('../img/background-lg.jpg'); /* 1920 x 1080 */
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  #s1, #s2 {
    background-image: none;
  }
}
a {
  color: #9d4822;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
a:hover {
  color: #9d4822;
}
@media (min-width: 992px) {
  a {
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
  }
  a:hover {
    color: #666;
  }
  a.unstyled {
    color: #212529;
    border: 0;
  }
  #social-icons a {
    border: 0;
  }
}
#social-icons {
  padding-top: 8px;
}
#social-icons a {
  padding: 4px;
  border-radius: 50%;
  color: #fff;
  background: #9d4822;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
#logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
#scroll-down {
  display: block;
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: 80px;
  margin: 0 auto 0 -40px;
  text-align: center;
  font-size: 32px;
  line-height: 32px;
}
#rei, #ki {
  display: none;
}
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
#content {
  padding-top: 40px;
}
.col-lg-2, .col-lg-5, .col-lg-10 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
#contacts {
  margin-top: 10px;
  line-height: 2;
}
#contacts:before {
  content: "";
  position: relative;
  bottom: 10px;
  display: block;
  width: 20px;
  height: 2px;
  background: none repeat scroll 0 0 #9d4822;
}
#tel-abbr {
  display: none;
}
@media (min-width: 992px) {
  .container {
    max-width: 1140px;
    padding-right: 20px;
    padding-left: 60px;
  }
  #logo {
    width: 340px;
    margin: 60px 0 120px 0;
  }
  #scroll-down {
    display: none;
  }
  #main {
    position: relative;
    min-height: 354px;
    padding-left: 354px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: url('../img/reiki-chinese-lg.png'); /* 236 x 418 */
    background-size: 200px 354px;
  }
  #rei, #ki {
    display: block;
    position: absolute;
    font-size: 16px;
  }
  #rei span, #ki span {
    display: block;
  }
  #rei {
    top: 60px;
    left: 170px;
  }
  #ki {
    top: 205px;
    left: 170px;
  }
  #content {
    padding-top: 20px;
    margin-bottom: 80px;
  }
  .col-lg-2 {
    -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-lg-5 {
    -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-lg-10 {
/*
    -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
    max-width: 83.333333%;
*/
    -ms-flex: 0 0 90%;
        flex: 0 0 90%;
    max-width: 90%;
  }
  .col-lg-2#social-icons {
    padding-left: 0;
    text-align: right;
  }
  #contacts {
    margin-top: 0;
    line-height: inherit;
  }
  #contacts:before {
    content: none;
  }
  #tel-abbr {
    display: inline;
  }
}