*,*:before,*:after { padding: 0; margin: 0; outline: 0; box-sizing: border-box; }
html,body { width: 100% !important;overflow-x: hidden;padding: 0;margin: 0; }
body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-smoothing: antialiased; -webkit-text-size-adjust: none; -ms-text-size-adjust: none; text-size-adjust: none; }
img { height: auto; max-width: 100%; display: inline-block; }
a,input[type="file"],input[type="image"],label[for] { cursor: pointer; }
a[href^="tel"],textarea[disabled],select[disabled] { cursor: default; }
input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="month"],input[type="week"],input[type="email"],input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],input[type="color"],textarea,a[href^="tel"] { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button { display: none; -webkit-appearance: none; }
textarea { resize: none; -webkit-overflow-scrolling: touch; overflow-scrolling: touch; }
button,input,optgroup,select,textarea { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-smoothing: antialiased; }
nav ul,nav ol { list-style: none outside none; }
p {margin: 0;}
a:hover {text-decoration: none;}
.no-margin {margin: 0;}
.no-padding {padding: 0;}
.clearfix:after {
    clear: both;
    content: "";
    display: block;
}


.home-image>div {
     margin-bottom: 5px;
}
.article-image>div, .home-image>div {
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 25%;
    padding: 0;
}
.article-text {
    padding: 25px 0;
}
/*.article-text img {*/
/*    width: 50% !important;*/
/*    height: auto !important;*/
/*    padding: 15px 0;*/
/*    display: block;*/
/*}*/
.article-text .videoEmbed {
    width: 50% !important;
    height: auto !important;
}
.article-text .videoEmbed>iframe {
    width: 100% !important;
}
.article-text .page-text>div>iframe  {
    width: 50%;
    padding: 15px 0;
}
.album {
    margin-top: 20px;
}
.pagination {
    display: block;
}
.pagination .text-center>a {
    padding: 10px 20px;
    background-color: #337ab7;
    border-color: #337ab7;
    margin: 0 5px;
    color: #fff;
    font-size: 17px;
    text-transform: capitalize;
    border-radius: 10px;
    text-decoration: none;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}
.pagination a:hover {
    background: #1e4b71;;
    text-decoration: none;
}
.gallery_product  {
    margin: 15px 0;
}
.album .gallery_product img,
.album .gallery_product iframe {
    /*max-height: 240px; */
    width: 100%;
    text-align: center;
    margin: auto;
    display: block;
}
.home-text-left img,
.home-text-right img {
    width: 100%;
}
.home-text-left .col-md-8 {
    padding: 0 15px 15px 30px;
}
.home-text-right .col-md-8 {
    padding: 0 30px 15px 15px;
}
.row.home-text-left,
.row.home-text-right {
    display: table;
    border-bottom: 1px solid #337ab7;
}
.row.home-text-left [class*="col-"],
.row.home-text-right [class*="col-"] {
    float: none;
    display: table-cell;
    vertical-align: top;
}
.row .more {
    padding: 10px 20px;
    background-color: #337ab7;
    border-color: #337ab7;
    margin: 0 5px;
    color: #fff;
    font-size: 17px;
    text-transform: capitalize;
    border-radius: 10px;
    text-decoration: none;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}
.row.home-text-left .more {
    position: absolute;
    bottom: 5%;
    right: 15px;
}
.row.home-text-right .more {
    position: absolute;
    bottom: 5%;
    left: 15px;
}
.row.page>div {
    display: inline-block;
    text-align: center;
    float: none;
}
.row.page>div ul {
    float: none !important;
    display: inline-block;
    text-align: center;
}
.login-page {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    position: relative;
}
.login-page .form-signin {
    background: rgba(255, 255, 255, 0.50);
    border-radius: 10%;
    padding: 25px;
    width: 100%;
    left: 0;
    right: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.login-page .container-fluid {
    height: 100%;
    min-height: 100%;
    padding: 0;
}
.login-page .container-fluid img {
    position: absolute;
    left: 0;
    right: 0;
}
.login-page .btn-primary {
    color: #fff;
    background-color: #8f643a;
    border-color: #8e683a;
}
html{
  height: 100%;
}
body {
  min-height: 100%;
}
.banner {
    position: relative;
}
.banner > img{
    width: 100%;
    height: auto;
}
.banner > .content{
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: auto;
}
@media screen and (max-width: 991px) {
    .container {
        width: 95%;
    }
    .row.home-text-left,
    .row.home-text-right {
        display: block;
    }
    .row.home-text-left [class*="col-"],
    .row.home-text-right [class*="col-"] {
        float: left;
        display: inline-block;
    }
    .row.home-text-left .more, .row.home-text-right .more {
        position: inherit;
        padding-right: 15px;
        padding-bottom: 5px;
        left: 0;
        right: 0;
        margin-top: 20px;
        margin-bottom: 10px;
        display: block;
        text-align: center;
    }
}
@media screen and (max-width: 768px) {
    .row.home-text-left,
    .row.home-text-right {
        display: block;
    }
    .row.home-text-left [class*="col-"],
    .row.home-text-right [class*="col-"] {
        float: none;
        display: block;
    }
    .home-image>div {
       height: 300px;
       margin-right: -5%;
       margin-left: -5%;
       width: 110%;
    }
    .article-image>div, .home-image>div {
        height: 300px;
    }
    .article-text img, .article-text .page-text>div>iframe {
        width: 100% !important;
    }
    .pagination .text-center>a{
        display: block;
        width: 100%;
        margin: 15px 0;
    }
    .album .gallery_product img,
    .album .gallery_product iframe {
        max-height: auto;
        width:auto;
    }
    .home-text-left img, .home-text-right img {
        width: inherit;
        margin: auto;
    }
    .home-text-left .col-md-8 {
        padding: 0;
    }
    .home-text-right .col-md-8 {
        padding: 0;
    }

}

@media screen and (max-width: 1000px) {
    .article-text img, .article-text .page-text>div>iframe,
    .album .gallery_product img, .album .gallery_product iframe {
        display: block; max-width: 100% !important; height: auto !important; float: none !important; margin: 15px auto !important;
    }
}
@media screen and (max-width: 440px) {
    .article-text img, .article-text .page-text>div>iframe,
    .album .gallery_product img, .album .gallery_product iframe {
        width: 100% !important;
        height: auto;
    }
    .h1, h1, .h2, h2 {
        font-size: 27px;
    }
}

/** add for timemachine button **/
/*.navbar-brand { float: none; }
.navbar-brand>img { display: inline-block; }
.navbar-brand {  display: inline; } */
