/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 13, 2019, 11:16:00 PM
    Author     : Halim
*/
/*---------------------------------
* general
----------------------------------*/
html, body {
    background: #DAE0E6;
    margin-bottom:30px;
    /*background: url("../img/4.png") repeat;*/
}

.col-centered{
    float: none;
    margin: 0 auto;
}

input.form-control, input.form-control:focus, 
textarea.form-control, textarea.form-control:focus, 
select.form-control, select.form-control:focus {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -moz-transition: none;
    -webkit-transition: none;
}

a:hover, a:focus{
    color: #333333;
    text-decoration: none;
}

/*---------------------------------
* header
----------------------------------*/

div.header{
    margin-top:10px;
    margin-bottom:10px;
}

div.header a{
    color: #474747;
}

div.header .pull-right{
    margin-top:30px;
}

div.header .pull-right .dropdown-toggle{
    cursor: pointer;font-size:1.4em;
}

div.header .pull-right a.dropdown-toggle:hover{
    color: #3281c1;
}

div.header h1 a:hover, div.header h1 a:focus{
    color: #3281c1;
}

/*---------------------------------
* body
----------------------------------*/

.body {
    margin-top:10px;
    margin-bottom:10px;
}

.input-post-box{
    background: #fff;
    height: 55px;
    padding-top:10px;
    border-radius:5px;
    margin-bottom:5px;
}

.post-box {
    background: #fff;
    margin-top: 15px;
    padding-bottom: 5px;
    border-radius:5px;
}

.post-box img{
    margin-bottom:20px; 
    margin-top:20px;
}

.a {
    color: #333333;
}

.a:hover, a:focus{
    color: #333333;
}

.post-box h3 {
    font-size:1.9em;
}

p.g{
    color: grey;
    font-size: 0.95em;
}

.create-post-box {
    background: #fff; 
    /*min-height: 300px;*/ 
    border-radius: 5px;
}

span.edit:hover, span.delete:hover, span.user:hover, span.comment:hover{
    color: #3281c1;
    cursor: pointer;
}

.highlight{
    background: yellow;
    color: #000;
}

div.iframe{
    margin-top:16px;
    margin-bottom:10px;
}

/*---------------------------------
* form
----------------------------------*/
textarea {
    resize:vertical;
}

.badge {
    /*  font-weight: normal;
      font-size: 0.8em;*/
}
.badge-primary{
    background-color: #017BFF;
}
.badge-danger{
    background-color: #b94a48;
}
.badge-warning{
    background-color: #c67605;
}
.badge-warning{
    background-color: #468847;
}
.badge-info{
    background-color: #3a87ad;
}
.badge-inverse {
    background-color: #333333;
}

em{
    color: red;
    margin-left: 4px;
    font-size: 1.2em;
    position: absolute;
    margin-top: 0px;
}

.multiselect-container {
    width: 100% !important;
}

/*---------------------------------
* comments
----------------------------------*/

.comments-box {
    /*min-height: 700px;*/ 
    background: #fff; 
    margin-top: 20px; 
    border-radius:5px; 
    padding-top: 15px; 
    padding-bottom: 40px;
}
.comments-box h4{
    font-size:1.1em;
}  

/* single comment */
.comment-box.sub-comment{
    font-size:0.95em;
    margin-top: 18px;
    margin-left:40px;
}

.comment-box {
    font-size:0.90em;
    margin-top: 12px;
}
.comment-box .top{
    background: #F2F3F5; 
    background: #ededed;
    border-radius:8px;
    padding: 10px;
}
.comment-box .top .head{
    font-weight: bold;
    margin-bottom:4px;
}
.comment-box .top .body{

}
.comment-box .bottom{
    padding-top: 5px;
    padding-left: 5px;
    font-size:0.9em;
}

/* form comment*/
.form-comment-box {
    margin-top: 15px;
}
.form-comment-box textarea{
    margin-bottom: 8px;
    font-size: 0.9em;
}

.form-reply-box{
    margin-top: 15px;
    margin-left: 40px;
}

.form-reply-box textarea{
    margin-bottom: 8px;
    font-size: 0.9em;
}

.more_comment,.more_sub_comment{
    font-size:0.88em;
    margin-left: 1px;
    margin-top:8px;
}

.more_sub_comment {
    margin-left: 41px;
}

/*---------------------------------
* title_and_btns
----------------------------------*/
.title_and_btns .btn-danger .fa{
    display: none;
}

.mg-left {
    margin-left:10px
}

.note-icon-video {
    color: red !important;
}
.note-icon-link {
    color: blue !important;
}

/*---------------------------------
* 
----------------------------------*/
.post-box.level:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 25px 0;
    right: 0;
    top: 0;
    position: absolute;
}
.post-box.level.level3:after {
    border-color: transparent #FFA500 transparent transparent;
}
.post-box.level.level4:after {
    border-color: transparent #FF4500 transparent transparent;
}
.post-box.level.level5:after {
    border-color: transparent #FF0000 transparent transparent;
}

/*---------------------------------
* login
----------------------------------*/

.login-box {
    margin-top:190px;
}
.login-box h1{
    text-align: center;color:#666;
}

/*---------------------------------
* login
----------------------------------*/
.totop {
    position: fixed;
    bottom: 30px;
    /*right: 30px;*/
    cursor: pointer;
    display: none;
    background: #3577ad;
    color: #fff;
    border-radius: 25px;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    font-size: 16px;
    /*opacity: 0.6;*/
}
.totop:hover {
    background: #286090;
    opacity: 1;
}  

@media (min-width: 768px) {
    .totop {
        margin-left: 1020px;
    }
}    

/*------------------------------------
 sweetAlert
------------------------------------*/

.swal-footer{
    text-align: center;
}
.swal-modal .swal-text{
    text-align: center;
}

/*------------------------------------
 popover
------------------------------------*/

.popover-title {
    font-size: 1em;
}
.popover-content {
    font-size:0.9em;
}

/*------------------------------------
 load posts animation
------------------------------------*/

@-webkit-keyframes placeHolderShimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

@keyframes placeHolderShimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.content-placeholder {
    display: inline-block;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: placeHolderShimmer;
    animation-name: placeHolderShimmer;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: -webkit-gradient(linear, left top, right top, color-stop(8%, #eeeeee), color-stop(18%, #dddddd), color-stop(33%, #eeeeee));
    background: -webkit-linear-gradient(left, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    -webkit-background-size: 800px 104px;
    background-size: 800px 104px;
    height: inherit;
    position: relative;
}

/*---------------------------------
* responsive
----------------------------------*/

.btn-phone  {
    display: none;
}

@media (max-width: 767px) {
    
    h1.blog-title {
        font-size:1.9em;
    }
    
    .btn-phone  {
        display: inline-block;
    }
    .btn-desktop  {
        display: none;
    }
    
    .login-box {
        margin-top:80px;
    }

    div.header{
        margin-top:0px;
        margin-bottom:2px;
    }

    .post-box {
        padding-top: 1px;
        padding-bottom: 1px;
    }
    .post-box img {
        width: 100%;
    }

    .create-post-box {
        padding-top: 1px;
        padding-bottom: 1px;
    }

    .mb {
        margin-bottom: 15px;
    }

    .totop {
        bottom: 20px;
        right: 20px;
        opacity: 0.6;
    }

    /*---------------------------------
    * title_and_btns
    ----------------------------------*/
    .title_and_btns .btn-danger .fa{
        display: inline-block;
    }
    .title_and_btns .btn-danger span{
        display: none;
    }
    .title_and_btns .btn-primary span, .title_and_btns .btn-info span, .title_and_btns .btn-success span{
        display: none;
    }

    .mg-left {
        margin-left:6px
    } 
}

/*
 iphone 6s plus
*/
@media (max-width: 414px) {
    .login-box {
        margin-top:60px;
    }
}

/*
 iphone 6s
*/
@media (max-width: 375px) {
    .login-box {
        margin-top:40px;
    }
}

/*
 galaxy s7
*/
@media (max-width: 360px) {
    .login-box {
        margin-top:40px;
    }
}

/*
 iphone 5se
*/
@media (max-width: 320px) {
    .login-box {
        margin-top:30px;
    }
}


