

/*------------------ general ------------------*/

  .moto-index-text h1,
  a {
    color: #676767  }

  table td a:hover,
  table td a {
    color: #000;
    text-decoration: none;
  }

  table thead {
    border-top: 5px solid white;
  }

  table tbody tr {
    cursor: pointer;
  }

  table tr.disabled {
    opacity: 0.2;
    font-weight: bold;
    pointer-events: none;
  }

  .hide {
    display: none;
  }

  .moto-toolbar-men {
    background-color: white;
  }

.text-black {
  color: black
}

.text-white {
  color: white
}


h1,
.g-title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1em;
}

h1.alt,
.g-title.alt {
  font-weight: 100;
}

h1.alt b,
.g-title.alt b {
  font-weight: 800;
}

.g-title.alt.alone {
    margin-bottom: 60px;
}

.g-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 1;
}

.g-subtitle {
  font-size: 1.5rem;
  margin-bottom: 60px;
  font-weight: 300;
  line-height: 1;
}

.g-subtitle.alt {
  margin-left: 20%;
  margin-right: 20%;
}

.g-subtitle.alone {
  margin-top: 80px;
  width: 100%;
}

.magin-bottom-1 {
  margin-bottom: 20px;
}

/*------------------ index------------------*/
/* .moto-index-sidebar-color,
.moto-index-sidebar-img {
  position: fixed;

  left: 0;
  top: 0;
  bottom:0;
} */

#moto-crew-index {
  padding-top: 100px;
  padding-bottom: 200px;
}

#moto-crew-index .card {
  position: relative;
  margin-top: 130px;
  min-width: 200px;
}

#moto-crew-index .card .card-img-top {
  position: absolute;
  top: -80px;
  right: 0;
}

#moto-crew-index .card img.card-img-top {
  width: 100%;
  max-width: 100px;
}

#moto-crew-index .card .card-text {
  font-size: 0.8em;
  line-height: 1.2em;
}

#moto-crew-index .row>div {
  max-width: inherit;
}


.moto-index-sidebar-img {
  background-image:  url('../_asset/moto_ride1.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  z-index: 1
}

.moto-index-sidebar-color {
  z-index:2;
  opacity: .77;
  background: #943bea;
  background: linear-gradient(to bottom, #007bff 0%, #0351a3 100%);
}

.moto-map-toolbar-log,
.moto-toolbar-log,
.moto-toolbar-men {
  display: flex;
  align-items: center;
}

.moto-toolbar span {
  flex-grow: 1;
  font-size: 20px;
}

.moto-toolbar span,
.moto-toolbar span a {
  color: #676767;
}

.moto-toolbar {
  border-bottom: 1px #676767 solid;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 3;
  margin: 0;
}

.moto-toolbar h2 {
  color: #ffffff;
  text-align: center;
  font-weight: 100;
  margin: 0px;
  flex-grow: 1;
  font-size: 24px;
}

.moto-toolbar h2 b{
  font-weight: 600;
}

.min-10{ min-height:10vh }.min-45{ min-height:45vh }.min-60{ min-height:60vh }.min-90{ min-height:90vh }.min-100{ min-height:100vh }/*------------------ Map------------------*/

.moto-toolbar.map {
  pointer-events: none;
}

.moto-toolbar.map a{
  pointer-events: all;
}

/* .moto-map-text h2 {
  font-size: 2.9rem;
  line-height: 1em;
  font-weight: 600;
  margin-top: 2.2em;
}
*/

.moto-map-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  margin-top: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  padding-right: 5px;
}

.moto-map-text .map-line h3:after {
  content: "";
  display: block;
  height: 1px;
  background-color: #676767;

  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
}

.moto-map-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  margin-top: 2.5rem;
}

.moto-map-text p {
  margin-bottom: 0.5rem;
}

.moto-toolbar-men.map span {
  font-size: 1rem;
}

.moto-head-rate {
margin-top: 50px;
margin-bottom: 50px;

}

.moto-facebook {
  text-align: center;
  color: white;
  border: 1px solid #3B5998;
  background-color: #3B5998;
  display: block;
  width: 100%;
  padding: 18px 0;
  border-radius: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.moto-facebook:hover {
  text-decoration: none;
  background-color: white;
  color: #3B5998
}

/*------------------ Map------------------*/

.moto-map-text {
  position: relative;
  z-index: 1;
  margin-top: 100px;
}

.map-line {
  position: relative;
}

.map-line span {
  background-color: white;
  padding-right: 10px;
  z-index: 1;
  position: relative;
}

.map-line-bk-icon {
    position: absolute;
    top: 0;
    left: -42px;
    font-size: 70px;
    z-index: -2;
    color: lightcoral;
}

#photos img{
  margin-top: 5px;
  margin-bottom: 5px;
  cursor: zoom-in;
}

#photos img:nth-child(1n+4) {
  display: none;
}

#photos .map-photo-click {
  position: absolute;
  bottom: -15px;
  left: 50%;
  font-size: 30px;
}

#photos #event-photos::after {
  content: " ";
  display: block;
  background: linear-gradient(to bottom,transparent, white);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  pointer-events: none;
}

#modal {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: white;
overflow-y: scroll;
display: none;
z-index: 4;
padding: 50px;
}

#modal img {
  max-width: 33%;
  padding: 5px;
  position: relative;
}

@media only screen and (max-width: 1600px){
  #modal img {
    max-width: 50%;
  }
}

@media only screen and (max-width: 769px){

  #photos img{
    max-width: 50%;
  }

  #photos img:nth-child(odd) {
    padding-right: 5px;
  }

  #photos img:nth-child(even) {
    padding-left: 5px;
  }

  #modal img {
    max-width: 100%;
    margin-bottom: 10px;
  }
}

.modal-up {
  position: absolute;
  height: 100vh;
  overflow: hidden;
  visibility: hidden;
}

#map-page-content {
  overflow-x: hidden;
}

/*------------------ Map style------------------*/


  .g-day .map-line span,
  .g-day .moto-toolbar-men.map,
  .g-day .moto-map-text .map-line h3:after,
  .g-day {
    background-color: #ffffff;
  }

  .g-day .moto-map-text .map-line h3:after {
    background-color: #18263c;
  }

  .g-day #moto-map-google-frame:after {
    background: linear-gradient(to right,transparent, #ffffff);
  }

  .g-day .moto-toolbar.map {
    background-color: rgba(255,255,255,0.6);
  }

  .g-day .color-invert,
  .g-day .moto-toolbar h2,
  .g-day .moto-map-text p,
  .g-day .moto-toolbar span,
  .g-day .moto-toolbar span a,
  .g-day .moto-head-rate i,
  .g-day .gps {
    color: #676767;
  }

  .g-day .g-title,
  .g-day .g-subtitle,
  .g-day .moto-map-text h3 {
      color: #18263c;
  }

  .g-day .moto-head-rate .i-empty i {
    -webkit-text-fill-color: #ffffff;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #676767;
  }
  
  .g-night .map-line span,
  .g-night .moto-toolbar-men.map,
  .g-night .moto-map-text .map-line h3:after,
  .g-night {
    background-color: #18263c;
  }

  .g-night .moto-map-text .map-line h3:after {
    background-color: #cfc278;
  }

  .g-night #moto-map-google-frame:after {
    background: linear-gradient(to right,transparent, #18263c);
  }

  .g-night .moto-toolbar.map {
    background-color: rgba(24,38,60,0.3);
  }

  .g-night .color-invert,
  .g-night .moto-toolbar h2,
  .g-night .moto-map-text p,
  .g-night .moto-toolbar span,
  .g-night .moto-toolbar span a,
  .g-night .moto-head-rate i,
  .g-night .gps {
    color: #fbf5d4;
  }

  .g-night .g-title,
  .g-night .g-subtitle,
  .g-night .moto-map-text h3 {
      color: #cfc278;
  }

  .g-night .moto-head-rate .i-empty i {
    -webkit-text-fill-color: #18263c;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fbf5d4;
  }
  
  .g-retro .map-line span,
  .g-retro .moto-toolbar-men.map,
  .g-retro .moto-map-text .map-line h3:after,
  .g-retro {
    background-color: #ffffff;
  }

  .g-retro .moto-map-text .map-line h3:after {
    background-color: #18263c;
  }

  .g-retro #moto-map-google-frame:after {
    background: linear-gradient(to right,transparent, #ffffff);
  }

  .g-retro .moto-toolbar.map {
    background-color: rgba(255,255,255,0.6);
  }

  .g-retro .color-invert,
  .g-retro .moto-toolbar h2,
  .g-retro .moto-map-text p,
  .g-retro .moto-toolbar span,
  .g-retro .moto-toolbar span a,
  .g-retro .moto-head-rate i,
  .g-retro .gps {
    color: #676767;
  }

  .g-retro .g-title,
  .g-retro .g-subtitle,
  .g-retro .moto-map-text h3 {
      color: #18263c;
  }

  .g-retro .moto-head-rate .i-empty i {
    -webkit-text-fill-color: #ffffff;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #676767;
  }
  
  .g-night.g-mono .map-line span,
  .g-night.g-mono .moto-toolbar-men.map,
  .g-night.g-mono .moto-map-text .map-line h3:after,
  .g-night.g-mono {
    background-color: #000000;
  }

  .g-night.g-mono .moto-map-text .map-line h3:after {
    background-color: #3d3d3d;
  }

  .g-night.g-mono #moto-map-google-frame:after {
    background: linear-gradient(to right,transparent, #000000);
  }

  .g-night.g-mono .moto-toolbar.map {
    background-color: rgba(0,0,0,0.3);
  }

  .g-night.g-mono .color-invert,
  .g-night.g-mono .moto-toolbar h2,
  .g-night.g-mono .moto-map-text p,
  .g-night.g-mono .moto-toolbar span,
  .g-night.g-mono .moto-toolbar span a,
  .g-night.g-mono .moto-head-rate i,
  .g-night.g-mono .gps {
    color: #757575;
  }

  .g-night.g-mono .g-title,
  .g-night.g-mono .g-subtitle,
  .g-night.g-mono .moto-map-text h3 {
      color: #3d3d3d;
  }

  .g-night.g-mono .moto-head-rate .i-empty i {
    -webkit-text-fill-color: #000000;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #757575;
  }
  
  .g-zombie .map-line span,
  .g-zombie .moto-toolbar-men.map,
  .g-zombie .moto-map-text .map-line h3:after,
  .g-zombie {
    background-color: #3f3f3f;
  }

  .g-zombie .moto-map-text .map-line h3:after {
    background-color: #aa4140;
  }

  .g-zombie #moto-map-google-frame:after {
    background: linear-gradient(to right,transparent, #3f3f3f);
  }

  .g-zombie .moto-toolbar.map {
    background-color: rgba(63,63,63,0.3);
  }

  .g-zombie .color-invert,
  .g-zombie .moto-toolbar h2,
  .g-zombie .moto-map-text p,
  .g-zombie .moto-toolbar span,
  .g-zombie .moto-toolbar span a,
  .g-zombie .moto-head-rate i,
  .g-zombie .gps {
    color: #76706b;
  }

  .g-zombie .g-title,
  .g-zombie .g-subtitle,
  .g-zombie .moto-map-text h3 {
      color: #aa4140;
  }

  .g-zombie .moto-head-rate .i-empty i {
    -webkit-text-fill-color: #3f3f3f;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #76706b;
  }
  
/*------------------ layout------------------*/
  
  .moto-index-text {
    padding-top: 100px;
    /* padding-bottom: 100px; */
    margin-left: 400px;
  }

  .moto-toolbar-log.page,
  .moto-toolbar-men.map,
  .moto-toolbar-log.index {
    width: 400px;
    flex-grow: 0;
    flex-basis: 400px;
  }

  .moto-index-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 400px;
    min-height: 40vh;
  }

  .moto-index-sidebar .moto-index-sidebar-color,
  .moto-index-sidebar .moto-index-sidebar-img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
  }

  /*------------------ footer ------------------*/

  footer,
  footer .border-top {
    padding-top: 20px;
    color: #989191;
    margin-bottom: 10px;
    position: relative;
  }

  footer {
    margin-top: 150px;
  }

  footer ul {
    padding-left: 0;
  }

  footer ul li {
    list-style-type: none;
  }

  footer li,
  footer p {
    font-size: 0.8rem;
    font-weight: 100;
  }

  footer li {
    margin-bottom: 0.5rem;
  }
  footer p {
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  footer h6 {
    font-weight: 100;
  }

  footer b {
    font-weight: 600;
  }


footer .footer-img  {
  position: absolute;
  height: 70px;
  overflow: hidden;
  top: -70px;
  width: 100%;
  opacity: 0.2;
}

footer .footer-img img {
  width: 100px;
}
/* ---------------------------------------------------*/
.moto-map-text {
  margin-left: calc(100vw - 400px);
}

.moto-map-text img {
  max-width: 100%;
}


.moto-index-text.page {
  padding-left: 18px;
  padding-right: 18px}
/* .moto-index-sidebar-color,
.moto-index-sidebar-img,
.moto-index-sidebar,
.moto-toolbar-log.page,
.moto-toolbar-log.index,
.moto-toolbar-men.map,
.moto-map-text {
  width: 400px;
  flex-grow: 0;
  flex-basis: 400px;
} */

#moto-map-google-frame {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 400px;
}

#moto-map-google-frame:after {
    content: "";

    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 70%;
    pointer-events: none;
}

#moto-map-google-canvis {
  width: 100%;
  height: 100%
}

#direction:not(.show) {
  display: none;
}

/*------------------ Media Q------------------*/

@media only screen and (max-width: 769px) {

  .moto-index-text {
    padding-top: 18px;
    margin-left: 0;
    overflow: hidden;
  }

  .moto-toolbar-men {
   display: none;
 }

 .moto-index-sidebar {
   position: relative;
   width: 100vw;
   left: -15px;
 }

 .moto-index-sidebar .moto-index-sidebar-img {
   background-position: bottom center;
 }

 .moto-toolbar-log.index {
   flex-basis: 100%;
 }


 #moto-map-google-frame {
  position: relative;
  left: -15px;
  right: 0;
  width: 100vw;
 }

 #moto-map-google-frame:after {
   background: linear-gradient(to bottom,transparent, white)!important;
     top: 80%;
     right: 0;
     bottom: 0;
     left: 0;
 }

 #moto-map-google-canvis {
   height: 80vh;
 }

.moto-map-text {
  margin-left: 0;
}
.moto-map-text h1 {
  margin-top: 50px;
}



  /*

  .moto-index-sidebar-color,
  .moto-index-sidebar-img {
    height: 200px;

  }

  .moto-index-text {
    padding-top: 50px;
    margin-top: 200px;
  }

  .moto-toolbar,
  .moto-index-sidebar-color, .moto-index-sidebar-img,
  .moto-index-sidebar {
    position: absolute;
  }

  .main.map {
    flex-direction: column;
  }
  .main.map .moto-map-text{
    margin-top: 80vh;
    background-color: white;
  }

  #moto-map-google-frame {
    right: 0;
    bottom: 20vh;
  }

  .moto-index-sidebar-color,
  .moto-index-sidebar-img,
  .moto-index-sidebar,
  .moto-toolbar-log.page,
  .moto-toolbar-log.index,
  .moto-toolbar-men.map,
  .moto-map-text {
    width:  100%;
    flex-grow: 1;
    flex-basis: 1;

  } */
}
