﻿.starter {
    padding-bottom: 30px;
    padding-top:5px;
    margin-top:2px;
    background-color:#b5b5b5;
}

.pad {
    padding-top:50px;
    text-align:center;
}


.image{
    max-width:98%;display:inline-block;margin-right:8px;margin-bottom:16px;
}

.youtube {
    width: 20px;
    height: 20px;
}

.ylink {
    text-decoration: none;
}

.ylink:hover {
    text-decoration: none;
}
.blink {
    display:inline-block;margin:0 10px 10px 10px;color:black;
}

.gal1 {
 text-align: center;
    width:100%;
 } 

.gal1 div{
    display: inline-block;
    margin: 4px;
    max-width: 100%;
    width: 350px;
    height: auto;
    float: none;
    vertical-align:middle;
}
@media (max-width: 666px) {
    .gal1 div{
        width: 550px;
    }
}
.gal1 div img{
    max-width: 100%;
    max-height: 100%;
    vertical-align:top;
}






.img-modal {
    max-height: 90vh;
    margin:auto;
}


.modal{
 background-color: rgba(0,0,0,0.4);
}
.modal-body{
 padding: 0px;
}
.modal-open button.close{
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #000;
    opacity: 1;
    color: #fff;
    z-index: 999;
    right: -12px;
    top: -12px;
    border-radius: 50%;
    font-size: 15px;
    border: 2px solid #fff;
    line-height: 25px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
 box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
}
.modal-open button.close:focus{
 outline: none;
}
.modal-open button.close span{
 position: relative;
 top: 3px;
 font-weight: lighter;
 font-size:xx-large;
 color:white;
 text-shadow:none;
}



.aaa{
    position:absolute;
    top:0;
    height:100%;
    width:45%;
}
.aaa-left{
    left:0;
}
.aaa-right{
    right:0;
}

.bbb{
    position:absolute;
    font-size:xx-large;
    font-weight:bolder;
    color:white;
    visibility:hidden;
    top:40%;
}
.bbb-left{
    left:20px;
}
.bbb-right{
    right:20px;
}
.aaa:hover .bbb{
    visibility:visible;
}



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}
.marketing .col-lg-6 img {
  max-height: 300px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 20px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 1px;
  }
}

.loadingBox{width:100%;height:100%;text-align:center;opacity:0.85;background:#b0b0b0;}
.loading {
    display: inline-block;
    margin:100px;
    border-radius: 50%;
    width: 0;
    height: 0;
    box-sizing: border-box;
    border: 32px solid #fff;
    border-color: #fff transparent #fff transparent;
    -webkit-animation: loading 0.8s infinite linear;
    animation: loading 0.8s infinite linear;
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loading {
    0% {
    -webkit-transform: rotate(0);
        transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}