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

/* 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%;
}

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;
}
.ellipsis {
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ps_box {
    background-color: #f9ff3f;
    padding: 0px 5px;
}
.pay_box .pay_method{
    padding: 15px;
}
.pay_box .nav>li>a {
    padding: 0px;
}
.pay_box .nav-tabs>li.active>a,.pay_box .nav-tabs>li.active>a:focus,.pay_box .nav-tabs>li.active>a:hover {
    color: #fff;
    cursor: default;
    background-color: #585858;
    border: 1px solid #585858;
    border-bottom-color: transparent;
}
.pay_box .nav-tabs>li.active>a>input,.pay_box .nav-tabs>li.active>a:focus>input,.pay_box .nav-tabs>li.active>a:hover>input {
    color: #fff;
    cursor: default;
    background-color: #585858;
    border: 1px solid #585858;
    border-bottom-color: transparent;
}
.pay_box .nav>li>a:focus>input,.pay_box .nav>li>a:hover>input {
    text-decoration: none;
    background-color: #eee;
    border: 1px solid #eee;
    color: #000;
}
.pay_box .nav-tabs>li>a>input {
    background-color: #fff;
    border: 1px solid #fff;
    padding: 10px 15px;
}
.pay_box .nav-tabs {
    border-bottom: 3px solid #585858;
}
.language_img{
    padding: 10px 14px;
	text-align: center;
}
body[style*="40px"] .navbar-inverse {
    top: 40px;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

/* Do not fold */

.img-portfolio h4>strong,.img-portfolio .text_p {
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
   padding: 0px;
   display: block;
}
.news_box .news_text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
	overflow: hidden;
	position: relative;
	padding-top: 30px;
}
.news_box h4 small {
    display: block;
	position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Responsive Styles */
@media (min-width: 768px){
.language_img {
    position: absolute !important;
    right: 15px;
    top: 2px;
}

}

@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%;
    }
}