/* CROUSAL-STARTS */
#sg-carousel .mobile_show{ display: none; }
#sg-carousel .desktop_show{ display: block ; }
#sg-carousel {
    position: relative;
   /* height: 450px;*/
}
#sg-carousel .carousel-inner .item {
  /*  height: 450px;*/
}
.carousel-caption{    top: 16%;}
.carousel-caption h1 {
    font-size: 6em;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
#sg-carousel .carousel-control.left {
    top: 35%;
}
#sg-carousel .carousel-control.right {
    top: 35%;
}
.uppr-txt {
    text-transform: uppercase;
    color: #fff;
    font-size: 35px;
}
#sg-carousel .carousel-control.left,
#sg-carousel .carousel-control.right {
    background-image: none;
    background-repeat: no-repeat;
    opacity: 0;
    text-shadow: none;
    transition: all 0.8s ease 0s;
}
.carousel-control {
    bottom: 0;
    color: #fff;
    font-size: 20px;
    left: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    top: 0;
    width: auto;
    transition: all 0.8s ease 0s;
}
.carousel-inner {
  /*  box-shadow: 2px 6px 21px;*/
}
.fa-angle-right,
.fa-angle-left {
    font-size: 80px;
}
#sg-carousel:hover .carousel-control.left {
    left: 38px;
    transition: all .2s ease 0;
}
#sg-carousel:hover .carousel-control.right {
    right: 38px;
    transition: all .2s ease 0;
}
#sg-carousel:hover .carousel-control.left,
#sg-carousel:hover .carousel-control.right {
    opacity: 1;
}
.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive,
.thumbnail a > img,
.thumbnail > img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}
.item.active img {
    transition: transform 5000ms linear 0s;
    transform: scale(1.05, 1.05);
}
.carousel-fade .carousel-inner .active {
    opacity: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-control {
    z-index: 2;
    font-size: 80px;
}
.carousel-caption {
       left: 10%;
    padding-bottom: 5%;
    right: 10%;
    text-align: left;
}
.h1sub{
    -webkit-text-fill-color: #000000;
    display: block;
}
.carousel-caption h1 {
    font-size: 60px;
    font-weight: bold;
    letter-spacing: -4px;
    -webkit-text-stroke: 2px #FFFFFF;
    -webkit-text-fill-color: #E42228;
    text-shadow: 3px 0 #fff;
    line-height: 60px;
}
.carousel-caption > p {
  font-size: 20px;
    color: #000;
    padding-top: 12px;
}
.carousel-caption > a {
    text-transform: uppercase;
    color: #fff;
    background: #041132;
    padding: 6px 12px;
}
.button--tamaya {
    border: 2px solid #40a304 !important;
    border-radius: 5px;
    color: #7986cb;
    min-width: 180px;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.button--border-thick {
    border: 3px solid;
}
.button {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    color: inherit;
    display: block;
    float: left;
    max-width: 250px;
    min-width: 199px;
    padding: 1em 7em;
    position: relative;
    vertical-align: middle;
    z-index: 1;
}
.button--tamaya::before {
    padding-top: 1em;
    top: 0;
}
.button--tamaya::before,
.button--tamaya::after {
    background: #40a304;
    color: #fff;
    content: attr(data-text);
    height: 50%;
    left: 0;
    overflow: hidden;
    position: absolute;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1) 0s;
    width: 100%;
}
.button--tamaya::after {
    bottom: 0;
    line-height: 0;
}
.button--tamaya:hover::before {
    transform: translate3d(0px, -100%, 0px);
}
.button--tamaya:hover::after {
    transform: translate3d(0px, 100%, 0px);
    color: #40a304;
}
.button--tamaya:hover {
    color: #40a304;
    font-weight: 600;
}
.carousel-indicators li {
    background-color: #b3b5b9;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    margin: 1px;
    text-indent: -999px;
    width: 12px;
    border: 0;
}
.carousel-indicators .active {
    background-color: #041132;
    height: 12px;
    margin: 0;
    width: 12px;
    border: 0;
}
#sg-carousel h1 {
    animation-delay: 1s;
	/*width: 50%;
    margin-bottom:25px;
    width: 65%;*/
}
#sg-carousel p {
    animation-delay: 2s;
}
#sg-carousel button {
    animation-delay: 3s;
	margin-top:25px;
}

.carousel-fade .carousel-inner .item{
    transition-property: opacity;
}
 
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right{
    opacity: 0;
}

.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right{
    opacity: 1;
}

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right{
    left: 0;
    transform: translate3d(0, 0, 0);
} 

.carousel-control {
    z-index: 2;
}


@media all and (transform-3d),
(-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 450px){
    .carousel-caption > p{
        font-size: 16px;
    padding-top: 10px;
    }
    .carousel-caption {
       left: 4%;
   }
    #sg-carousel .mobile_show{ display: block; }
    #sg-carousel .desktop_show{ display: none; }
    .carousel-caption {
        top: 30%;
    }
    #sg-carousel .carousel-control.left {
        top: 35%;
    }
    #sg-carousel .carousel-control.right {
        top: 35%;
    }
    #sg-carousel:hover .carousel-control.left {
        left: 1%;
    }
    #sg-carousel:hover .carousel-control.right {
        right:  1%;
    }
    #sg-carousel h1 {
        width: 100%;
    }
    .carousel-caption h1 {
        font-size: 45px;
    }
    .carousel-caption h1{
        line-height: 42px;
        letter-spacing: -2px;
        -webkit-text-stroke: 1px #FFFFFF;
        text-shadow: 1px 0 #fff;
    }
    .h1sub {
        font-size: 34px;
    }

}

@media (max-width: 380px){
   
    .carousel-caption {
        top: 26%;
    }
    #sg-carousel {
        position: relative;
       /* height: 500px;*/
    }
    #sg-carousel .carousel-inner .item {
      /*  height: 500px;*/
    }
    .carousel-caption h1 {
        font-size: 40px;
    }
    .carousel-caption > p{
        padding-top: 5px;
    }
    .h1sub {
        font-size: 35px;
        line-height: 30px;
    }
}
@media (max-width: 320px){
   #sg-carousel {
        position: relative;
        /*height: 420px;*/
    }
    #sg-carousel .carousel-inner .item {
       /* height: 420px;*/
    }
    .carousel-caption h1 {
        font-size: 33px;
    }

    .carousel-caption > p{
        padding-top: 5px;
    }
    .h1sub {
        font-size: 28px;
        line-height: 22px;
    }
}