/*!
 * Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
	background-color:#9a1e39;
}

@media all and (-ms-high-contrast:none)
     {
#wrapper {
    padding-left: 0;
    -webkit-transition:none;
    -moz-transition:none;
    -o-transition:none;
    transition:none;
} /* IE10 */
     }

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
	overflow-x: hidden;
	background-image:url(../img/menub.jpg);
	background-repeat:no-repeat;
    background: #9a1e39;
	border-right:#CCC 1px solid;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
	padding:0;
	box-sizing:border-box;
	background:#FFF;
}

background: url(../img/2017-2.jpg) center center / cover no-repeat fixed;

#page-content-wrapper2 {
    width: 100%;
    position: absolute;
    padding: 0px;
	box-sizing:border-box;
	background:#9a1e39;
}

background: url(../img/2017-2.jpg) center center / cover no-repeat fixed;

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

#wrapper.toggled #page-content-wrapper2 {
    position: absolute;
    margin-right: -250px;
}


/* Sidebar Styles */

.sidebar-nav {
    position:;
    top: 0;
	height:auto;
    width: 250px;
    margin: 0;
    padding-right:30px;
	padding-left:45px;
    list-style: none;
	float:left;
}

.sidebar-nav li {
    text-indent: 0px;
    line-height: 45px;
}

.sidebar-nav li a {
    display:block;
    text-decoration: none;
    color: #fff;
	position: relative;
	background-image: linear-gradient(to right, rgba(0,0,0,0) 50%, rgba(255,255,255,1) 50%);
	background-position: 0 0;
	background-size: 200% auto;
	transition: 1.5s;
}

.sidebar-nav li a:hover {
}

.sidebar-nav li a::after{
  position: absolute;
  bottom: -2px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #860e28;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .8s;
}

.sidebar-nav li a:hover::after {
  transform: scale(1, 1);
}

 sasaa::after {

}



.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 14px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #000;
    background: none;
}

/* Sidebar Styles */

.sidebar-nav-sns {
    position:;
    bottom:0;
    width: 250px;
    margin: 0;
    padding-right:30px;
	padding-left:0px;
	padding-top:25%;
    list-style: none;
	text-align:center;
	float:left;
	font-size:32px;
}

.sidebar-nav-sns li {
    text-indent: 20px;
    line-height: 40px;
    display: inline;
}

.sidebar-nav-sns li a {
    display: inline;
    text-decoration: none;
    color: #fff;
}

.sidebar-nav-sns li a:hover {
    text-decoration: none;
    color: #f1f1f1;
}

.sidebar-nav-sns li a:active,
.sidebar-nav-sns li a:focus {
    text-decoration: none;
}

.headb{
	background:#CCC;
	width:100%;
	height:30px;
	margin:0px;}

.headb p{
	font-size:12px;
	color:#333;
	text-align:left;
	padding:4px 0 4px 0;
	margin:0;}

.sifooter{
	position:absolute;
	bottom:0;
	background:#333;
	width:100%;
	max-height:100%;
	padding-top:0px;
	margin-top:0px;
	float:left;
	}

.sifooter p{
	font-size:12px;
	color:#fff;
	text-align:center;
	padding:9px 0 8px 0;
	margin:0;
	}

@media(min-width:991px) {
    #wrapper {
        padding-left: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 0px;
        position: relative;
    }

    #page-content-wrapper2 {
        padding: 0px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }

    #wrapper.toggled #page-content-wrapper2 {
        position: relative;
        margin-right: 0;
    }
}

@media(max-width:990px) {

.sifooter{
	bottom:0;
	width:100%;
	max-height:100%;
	padding:0 0px 50px 0px;
	margin:0px 0px 0px 0px;}

.sifooter p{
	font-size:12px;
	color:#fff;
	text-align:center;
	padding:10px;
	margin:0;}
}

@media screen and (max-width: 767px) {
.space{
	float:left;
	margin-top:30px;
	padding-top:30px;}	

.s-top{
	padding-left:15px;
	padding-right:15px;
	text-align:left;}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 100px;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators li {
  position: relative;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators li::before {
  position: absolute;
  top: -10px;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 10px;
  content: "";
}

.carousel-indicators li::after {
  position: absolute;
  bottom: -10px;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 10px;
  content: "";
}

.carousel-indicators .active {
  background-color: #fff;
}

.sidebar-nav-sns {
    position:;
    bottom:0;
    margin: 0;
    padding-right:30px;
	padding-left:0px;
	padding-top:30px;
    list-style: none;
	text-align:center;
	float:left;
	font-size:32px;
}


}

.scrolltop a{
  position: absolute;
  bottom:30px;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  font-size:14px;
  transition: opacity .3s;
  margin-left: -22px;
}

.scrolltop a:hover {
  opacity: .5;
}

#scrolltop{
  z-index:9999;
  bottom:0;
	}

#scrolltop a {
  padding-top: 70px;
}

#scrolltop a span {
  position: absolute;
  z-index:9999;
  bottom: 10%;
  width: 24px;
  height: 24px;
  margin-left: 10px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
  -webkit-animation: sdb 1.5s infinite;
  animation: sdb 1.5s infinite;
  box-sizing: border-box;
}

@-webkit-keyframes sdb {
  0% {
    -webkit-transform: rotateY(0) rotateZ(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotateY(720deg) rotateZ(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: rotateY(0) rotateZ(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotateY(720deg) rotateZ(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
