table {
    width:100%;
}
.product-name a, .article-name a {
    font-size: 16px;
}

.btn {
    text-shadow: none;
}

.aside-first-block ul {
    margin: 0;
}

.lft-img-margin {
    margin: 5px 20px 5px 0;
}

img {
    max-width: 100%;
}

.footer img {
    display: inherit;
}

/* comment block*/
.comment-item {
    margin: 5px 0 25px;
}

.comment-head .date {
    color: #999;
    font-weight: lighter;
}

.comment-head .name {
    font-weight: bold;
}

/* end comment block*/

/* theme setting block*/
.themeSetting-wrapper {
    left: -250px;
    position: absolute;
    z-index: 999;
    top: 0px;
}

    .themeSetting-wrapper table > tbody > tr > td {
        padding: 2px;
    }

.themeSetting {
    width: 250px;
    border: 1px solid #4A4742;
    background-color: #4A4742;
    top: 145px;
    padding: 5px;
    position: absolute;
    z-index: 999;
}

    .themeSetting label {
        color: white;
        font-size: 12px;
    }

    .themeSetting h3 {
        font-size: 18px;
        color: white;
    }

    .themeSetting .patternImg {
        background-color: white;
        border: solid skyblue #4A4742;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

        .themeSetting .patternImg img {
            cursor: pointer;
            width: 42px;
            height: 42px;
            border: 1px solid;
            margin-bottom: 2px;
            float: left;
            margin-right: 4px;
        }

            .themeSetting .patternImg img.selected {
                cursor: pointer;
                width: 42px;
                height: 42px;
                border: 1px solid red;
            }

            .themeSetting .patternImg img:hover {
                border: 1px solid red;
                width: 42px;
                height: 42px;
            }

.opener {
    background: none repeat scroll 0 0 #4A4742;
    cursor: pointer;
    height: 24px;
    left: 250px;
    position: absolute;
    width: 24px;
    top: 145px;
    z-index: 1000;
}

.opener-active {
    background: none repeat scroll 0 0 #4A4742;
    cursor: pointer;
    height: 24px;
    position: absolute;
    width: 24px;
    top: 145px;
    z-index: 1000;
}

.themeSetting .table th, .table td {
    padding: 2px;
}

.themeSetting .k-dropzone {
    padding: 5px 0px 0px 5px;
}

.themeSetting .patternImg .image-icon {
    cursor: pointer;
    width: 46px;
    height: 46px;
    padding-right: 6px;
}

    .themeSetting .patternImg .image-icon .removeBackgroundImage {
        position: relative;
        top: -45px;
        left: -9999px;
        color: green;
    }
/* end theme setting block*/

.panel-body .carousel{
    padding-bottom: 30px;
}
.carousel-indicators {
    position: absolute;
    bottom: 5px;
    z-index: 5;
    list-style: none;
}

    .carousel-indicators li {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 1px;
        text-indent: -999px;
        cursor: pointer;
        border: 1px solid #ddd;
        border-radius: 10px;
        background-color: #ddd;
    }

    .carousel-indicators .active {
        background-color: #fff;
    }
/*Type: Fade */
.carousel.carousel-fade .item {
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.carousel.carousel-fade .active.item {
    opacity: 1;
}

.carousel.carousel-fade .active.left,
.carousel.carousel-fade .active.right {
    left: 0;
    z-index: 2;
    opacity: 0;
    filter: alpha(opacity=0);
}

.carousel.carousel-fade .next,
.carousel.carousel-fade .prev {
    left: 0;
    z-index: 1;
}

.carousel.carousel-fade .carousel-control {
    z-index: 3;
}

/*Type: FlipInX */
 .carousel.carousel-flipInX .item {
    left: 0;
}

.carousel.carousel-flipInX .active.item {
    opacity: 1;
}

.carousel.carousel-flipInX .active.left,
.carousel.carousel-flipInX .active.right {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    animation-name: flipInX;
}

.carousel.carousel-flipInX .next,
.carousel.carousel-flipInX .prev {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    animation-name: flipInX;
}

.carousel.carousel-flipInX .carousel-control {
    z-index: 3;
}

@keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}


/*Type: FlipInY */
.carousel.carousel-flipInY .item {
  left: 0;
}

.carousel.carousel-flipInY .active.item {
  opacity: 1;
}

.carousel.carousel-flipInY .active.left,
.carousel.carousel-flipInY .active.right {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
}

.carousel.carousel-flipInY .next,
.carousel.carousel-flipInY .prev {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
}

.carousel.carousel-flipInY .carousel-control {
  z-index: 3;
}

@keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.carousel-control.left, .carousel-control.right {
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* animation for setting icon */

.stop {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
}

.spin {
    -moz-animation: spin 1s infinite linear;
    -webkit-animation: spin 1s infinite linear;
}

.spin-off {
    -moz-animation: spinoff 1s infinite linear;
    -webkit-animation: spinoff 1s infinite linear;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-moz-keyframes spinoff {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(-360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spinoff {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-360deg);
    }
}
/* end animation */

.tip .icon {
    background: url("/content/images/tip-medallion.png") no-repeat scroll 0 0 transparent;
    display: inline-block;
    height: 39px;
    width: 40px;
    float: left;
}

.tip .content {
    border: 1px dashed #ccc;
    min-height: 40px;
}

.tip text {
    min-height: 40px;
}

.strikethrough {
    text-decoration: line-through;
}

.muted {
    color: #AEA79F;
}

.input-xxlarge {
    width: 530px !important;
}

.input-xlarge {
    width: 270px !important;
}

.input-large {
    width: 210px !important;
}

.input-medium {
    width: 150px !important;
}

.input-small {
    width: 90px;
}

.input-mini {
    width: 60px !important;
}

/*album */
.albumDetail .albumDetailItem{
    height: 185px;
}
.albumDetail  .albumDetailItem a img{
    height: 160px;
}
.errormessage {
    color: red;
}
.sendWaiting {
    width: 50px;
}

.modal-dialog .modal-body {
    padding: 5px;
}
.modal-dialog .modal-footer {
    padding: 5px 20px;
    margin-top: 0px;
}
.modal-dialog .modal-header {
    padding-top: 5px;
    padding-bottom: 5px;
}
.clearboth {
    clear: both;
}
.img-overlay {
    max-height: 30%;
    max-width: 30%;
    position: absolute;
    right: 3px;
    top: 0;
    border: 0px !important;
}
.success {
    color: green;
    font-weight:bold;
}

.carousel .slide-overlay {
    position: absolute;
    width: 100%;
    color:#ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.carousel .slide-overlay.Right {
    left: auto !important;
}
.carousel .slide-overlay.Left {
    right: auto !important;
}
.carousel .slide-overlay.Center {
    right: auto !important;
    top: 50%!important;
    left: 50%!important;
    transform: translate(-50%, -50%);
}
    .carousel .slide-overlay p,.carousel .slide-overlay td,.carousel .slide-overlay div{
        color:white;
    }
    .carousel .slide-overlay a:hover,.carousel .slide-overlay a span:hover {
       text-decoration:none;
       color:#0dbae8;
    }
.flex-direction-nav a{
    line-height:normal;
}

.albumDetail .row {
    margin-right: 0;
    margin-left: 0;
}

.container .albumDetail .row {
    margin-left: -15px;
    margin-right: -15px;
}

.albumDetail .thumbnail .img-responsive {
    margin: 0 auto;
}

.albumDetail .thumbnail .img-album {
    margin: 0 auto;
    filter: brightness(70%);
}

.albumModel {
    position:relative;
    overflow: hidden;
    height: 520px;
    margin-bottom: 5px;
}
  
.albumModel__thumnail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    right: 15px;
    overflow: hidden;
}
  
.albumModel__name {
  position: absolute;
  text-align: center;
  width: 67%;
    top: 35%;
    left: 50%;
    color: #fff;
    font-size:20px;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    padding: 4px;
    line-height: 28px;
    background-color: transparent;
    font-family: Courier New, monospace;	
}

.albumModel .button_view{
    position: absolute;
    text-decoration: none;
    background-color: transparent;
    color: #fff;
    top: 45%;
    left: 50%;
    padding: 3px 6px 2px 6px;
    border: 0.5px solid;
    box-shadow: 0.5px 0.5px;
    transform: translate(-50%, -50%);
}
  
.albumModel__thumnail .thumbnail {
    border: none;
    margin: 0;
    padding: 0;
}
  
.albumModel__thumnail .thumbnail>img, .albumModel__thumnail .thumbnail a>img{
    max-width: initial;
    height: 520px;
    width: 380px;
}

/*****************************************************
 * generic styling for ALS elements: outer container
 ******************************************************/
.als-container {
	position: relative;
	width: 100%;
	margin: 0px auto;
}

.als-viewport {
	position: relative;
	overflow: hidden;
	margin: 0px auto;
}

.als-wrapper {
	position: relative;
	list-style: none;
}

.als-item {
	position: relative;
	display: block;
	text-align: center;
	cursor: pointer;
	float: left;
}

.als-prev, .als-next {
	position: absolute;
	cursor: pointer;
	clear: both;
}
.facebook-wraper{
    overflow:hidden;
}
.facebook-wraper:not(.BOTTOM_LEFT, .BOTTOM_RIGHT) .fb-likebox-widget .fb_iframe_widget, 
.facebook-wraper:not(.BOTTOM_LEFT, .BOTTOM_RIGHT) .fb-likebox-widget .fb_iframe_widget span,
.facebook-wraper:not(.BOTTOM_LEFT, .BOTTOM_RIGHT) .fb-likebox-widget .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img{
    width:100%;
}
.articles-compact .short-description{
    font-size:11px;
    text-align:left;
    color:black;
    font-weight:normal;
}
.articles-compact .article-item-title{
    font-weight:bold;
    color:black;
    font-size:12px;
}
a{
    color:inherit;
}
.navbar-toggle {
    background-color: #5fb611;
}
.navbar-toggle .icon-bar {
    background-color: #fff;
}
.go-to-top {
    background: rgba(0, 0, 0, 0) url("../img/top.png") no-repeat scroll 0 0;
    bottom: 10px;
    cursor: pointer;
    height: 62px;
    position: fixed;
    right: 15px;
    text-indent: -99999px;
    width: 58px;
    z-index:9999;
}
.facebook-wraper.BOTTOM_LEFT {
    position: fixed;
    bottom: 0;
    z-index: 999;
    left: 5px;
    max-width:100%;
}

.facebook-wraper.BOTTOM_RIGHT {
    position: fixed;
    bottom: 0;
    right: 5px;
    z-index: 999;
    max-width: 100%;
}
    .facebook-wraper.BOTTOM_LEFT .panel, .facebook-wraper.BOTTOM_RIGHT .panel{
        margin-bottom:0px;
    }

    .facebook-wraper.BOTTOM_LEFT .panel-title, .facebook-wraper.BOTTOM_RIGHT .panel-title {
        font-size: 15px;
        color: white;
        padding-left: 0;
        padding-right: 5px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .facebook-wraper.BOTTOM_LEFT .headline, .facebook-wraper.BOTTOM_RIGHT .headline {
        height: 30px;
        padding: 6px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .facebook-wraper.BOTTOM_LEFT .panel-body, .facebook-wraper.BOTTOM_RIGHT .panel-body {
        padding: 0px;
    }

    .facebook-wraper .faceControl {
        cursor: pointer;
        width: 10px;
    }

    .facebook-wraper .panel-title {
        background: transparent;
    }
.BOTTOM_LEFT.mini-facebook-wraper .panel-body, .BOTTOM_RIGHT.mini-facebook-wraper .panel-body {
    display: none;
}

.facebook-wraper .panel-primary > .panel-heading {
    color: #ffffff;
    background-color: #337ab7;
    border-color: #337ab7;
}

.widget--overflow {
    overflow: hidden;
}

#inform-dialog .modal-body {
    padding: 15px;
}

.large-paging {
    display: flex;
    justify-content: center;
}

.large-paging .pagination .prev-page a,
.large-paging .pagination .next-page a {
    line-height: 12px;
}

.large-paging .pagination .prev-page a:before {
    content: "\e079";
    font-size: 10px;
    color: #262626;
    font-family: 'Glyphicons Halflings';
}

.large-paging .pagination .next-page a:before {
    content: "\e080";
    font-size: 10px;
    color: #262626;
    font-family: 'Glyphicons Halflings';
}

.large-paging > .pagination > li > a {
    font-size: 10px;
    padding: 6px 8px;
}
.contact-map iframe {
    max-width: 100%;
}

/*****************************************************
 * generic styling for RSS box
 ******************************************************/

.rss-wrapper .articleScroll {
    overflow: scroll;
    max-height: 320px;
}
.rss-wrapper .articleScroll .als-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.rss-wrapper .als-item > a {
    display: block;
}
.rss-wrapper .als-item ul, .als-item br {
    display: none;
}
.rss-wrapper .als-item .item-date {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #ccc;
}
.rss-wrapper .als-item .short-description {
    color: #222;
}
.rss-wrapper .als-item .short-description a {
    display: block;
    width: 35%;
    text-align: center;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    float: left;
}
.rss-wrapper .als-item .short-description a:first-child {
    display: none;
}
.rss-wrapper .als-item .short-description a > img {
    width: 100%;
    height: auto;
}
.rss-wrapper .als-item .short-description > img {
    width: 35%;
    height: auto;
    float: left;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}
.rss-wrapper .als-item .short-description > p {
    float: left;
    width: 63%;
    margin-top: 0;
}
.rss-wrapper .als-item .article-item-title {
    font-weight: bold;
}

.rss-wrapper .als-item {
    display: block;
    border-bottom: 1px #ddd solid;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: left;
    width: 100%;
}


@media (min-width: 768px) {
    .large-paging .pagination .prev-page a,
    .large-paging .pagination .next-page a {
        line-height: 18px;
    }

    .large-paging .pagination .prev-page a:before {
        content: "Trang trước";
        font-size: 13px;
        font-family: inherit;
    }

    .large-paging .pagination .next-page a:before {
        content: "Trang sau";
        font-size: 13px;
        font-family: inherit;
    }

    .large-paging > .pagination > li > a {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* count-down-wrapper */
.count-down-wrapper {
    position: absolute;
    bottom: 5px;
    left: 5px;
    z-index: 5;
    margin: 0;
	font-weight: 100;
	text-align: center;
    font-size: 30px;
    background: rgba(0,0,0, 0.5);
    border-radius: 3px;
    color: #fff;
}

.count-down-wrapper > div{
	padding: 10px;
	border-radius: 3px;
	display: inline-block;
}

.count-down-wrapper div > span{
	padding: 15px;
    border-radius: 3px;
    border: 1px solid #000;
    background-color: #202020;
	display: inline-block;
}

.count-down-wrapper .smalltext{
	padding-top: 5px;
	font-size: 16px;
}

/* show animation for text on richtext */
span.animated {
    display: inline-block;
}

iframe{
    max-width:100%;
}

.userContact.container{
    max-width: 100%;
}

.actions .navbar-right {
    display: none;
}

.facebook-wraper.ABSOLUTE .panel {
    background: none;
    border: none;
}

.flexslider.flexsliderDisplay .flex-viewport .slides li .flex-description {
    display: none;
}

.flexslider.flexsliderDisplay {
    margin: 0 0 10px;
}