/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

header.carousel {
    /*height: 50%;*/ /*	ส่วนนี้ของรูปสไลด์ ของเดิมเป็น 50 %*/
	height: 50%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

/* Base styles (regardless of theme) */
 .bs-callout {
 margin: 20px 0;
 padding: 15px 30px 15px 15px;
 border-left: 5px solid #eee;
 }
 .bs-callout h4 {
 margin-top: 0;
 }
 .bs-callout p:last-child {
 margin-bottom: 0;
 }
 .bs-callout code,
 .bs-callout .highlight {
 background-color: #fff;
 }

/* Themes for different contexts */
 .bs-callout-danger {
 background-color: #fcf2f2;
 border-color: #d9534f;
 }
 .bs-callout-warning {
 background-color: #fefbed;
 border-color: #f0ad4e;
 }
 .bs-callout-info {
 background-color: #f0f7fd;
 border-color: #5bc0de;
 }

/*
Reference: http://avexdesigns.com/responsive-youtube-embed/
*/

.vid {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.vid iframe,
.vid object,
.vid embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}