/*
Theme Name: khotai
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body {min-height: 100vh;background: #333;}
#main {
    min-height: calc(100vh - 400px);
}
.video-title {
	background: red;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    font-size: 25px;
    font-weight: bold;
}
a {
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
}
#wide-nav .container > .flex-col {flex: 1;}
#wide-nav .search-field {
    height: 40px;
    background: #ffffff0f;
    border: 1px solid #00000045;
    padding: 0 20px;
}
.seoviet_form {
    margin: 0;
}
.seoviet_form input {
    border: none;
    border-radius: 7px;
}
.seoviet_form input[type="submit"] {
    background: #ff9835;
    height: 40px;
    line-height: 42px;
    text-transform: initial;
    font-weight: normal;
    width: 200px;
    margin: 0 auto;
    display: block;
}
input[type=email], input[type=search], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=text], textarea {border-radius: 7px;box-shadow: unset;}
form {margin-bottom: 0;}
.white a, .white label, .white .heading-font, .white h1, .white h2, .white h3, .white h4, .white h5, .white h6, .hover-white:hover p, .hover-white:hover h1, .hover-white:hover h2, .hover-white:hover h3, .hover-white:hover h4, .hover-white:hover h5, .hover-white:hover h6, .hover-white:hover a, .white span, .white div, .white p {color: #333 !important;}
.block-box {padding: 0 20px 20px;border-radius: 7px;}
.account-sidebar {padding: 0 0 10px 0;overflow: hidden;}
.account-sidebar .account-details {
    background: #fbd201;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
.wp-media-buttons .insert-media {background: #4caf50;border: none;}
.search-form {width: auto !important;}
#wide-nav .search-form {width: 100% !important;}
.media-selection .count {color: #4caf50}
.account-sidebar .avatar {
    border-radius: 50%;
}
.account-sidebar .avatar img {}
.account-sidebar .username {
    margin: 0;
    padding: 10px 0 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}
#account-menu {
    margin: 0;
    list-style: none;
    border-top: 1px solid white;
}
#account-menu .menu-item {
    margin: 0;
}
#account-menu > .menu-item i.icon {
    width: 18px;
    margin-right: 10px;
    height: 18px;
}
#account-menu > .menu-item i.icon svg {
    width: 18px;
    height: 18px;
}
#account-menu > .menu-item a {
    display: flex;
    padding: 7px 15px;
    border-bottom: 1px solid #ececec;
    align-items: center;
    font-size: 14px;
}
#account-menu > .menu-item:last-child > a {border:none;margin:0;}
#account-menu > .menu-item > a {
    font-size: 16px;
}
#account-menu > .menu-item:hover > a, #account-menu > .menu-item.active > a {
    background: #4caf50;
    color: white !important;
}
#account-menu > .menu-item:hover > a span, #account-menu > .menu-item.active > a span {color: white !important;}
#account-menu .sub-menu {
    margin:0;
    list-style: none;
    display: none;
}
#account-menu .sub-menu .menu-item:hover > a, #account-menu .sub-menu .menu-item.active > a {
    background: #ebebeb;
}
#account-menu .active .sub-menu {display: block;}
button, .button {
    background: #4caf50;
    color: white;
    font-weight: normal;
    border-radius: 7px;
    margin-bottom: 0;
}
.block-content table {
    border-left: 1px solid #ebebeb;
    border-top: 1px solid #ebebeb;
}
.block-content table th, .block-content table td {
    border-right: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 8px;
    color: #333;
}
.block-content table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.block-content table th {white-space: nowrap;text-transform: initial;background: #fbd201;font-weight: normal;font-size: 14px;font-weight: bold;}
.block-content .post-date {font-size: 14px;}
.block-content table a {color: #009fe6 !important;}
.block-content table a:hover {color: #4caf50 !important;}
.block-content .button-action {
    width: 26px;
    height: 26px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #4caf50;
    border-radius: 5px;
    color: white !important;
}
.block-content .button-action.button-delete {
    background: #e60013;
}
.block-content .button-action:hover {
    color: #fbd201 !important;
}
.media-frame-title h1 {
    color: #333;
}
.media-frame-content {top: 86px;border-top: 2px solid #4caf50;}
.media-frame-tab-panel .media-menu-item {
    height: 36px;
    padding: 0 20px;
    border-radius: 7px 7px 0 0;
    margin-right: 3px;
    outline: none;
    color: #333;
    border:none;
    background: #ebebeb;
}
.media-frame-tab-panel .media-menu-item.active {
    background: #4caf50 !important;
    color: white;
    border: none !important;
    margin-top: 0 !important;
}
.media-frame-tab-panel .media-menu-item:focus {box-shadow: unset;}
.media-toolbar .media-button {background: #4caf50;border:1px solid #4caf50;}
.media-sidebar .setting .name {
    max-width: 70px;
    padding-top: 0 !important;
}
.media-sidebar p, .media-sidebar span {color: #333;}
#formKeyword .form-row {
    display: flex;
    margin-bottom: 15px;
    justify-content: space-between;
}
#formKeyword .form-row .col-6 {
    width: calc(50% - 10px);
}
#formKeyword .form-row label {
    font-weight: normal;
    display: block;
    white-space: nowrap;
    width: 100px;
    line-height: 35px;
}
.postbox {
    position: relative;
    min-width: 255px;
    background: #fff;
    margin-bottom: 20px;
}
.keyword-panel-body .postbox .postbox-header {
    margin: 0;
    padding: 10px;
    font-size: 16px;
    border-bottom: 1px solid #ebebeb;
    background: #4caf50;
    color: white !important;
    font-weight: bold;
}
.keyword-panel-body .postbox .box-upload {
    padding: 10px;
    border: 1px solid #ebebeb;
    border-top: none;
}
.keyword-panel-body .postbox .button-upload {
    display: block;
    font-size: 14px;
    text-decoration: underline;
    color: red !important;
}
.keyword-panel-body .postbox .button-remove {
    margin-top: 10px;
    color: red !important;
    font-size: 14px;
    text-decoration: underline;
}
.keyword-panel-body .postbox .box-upload img {
    max-width: 100%;
    margin-bottom: 10px;
}
select {
    height: 40px;
    border-radius: 7px;
    box-shadow: unset;
}
.loading {
    color: rgb(255,255,255,.1);
    position: relative;
}
.loading svg {opacity: .1;}
.loading:after {
    -webkit-animation: loading 500ms infinite linear;
    animation: loading 500ms infinite linear;
    border: 2px solid #fff;
    border-radius: 32px;
    border-right-color: transparent!important;
    border-top-color: transparent!important;
    content: "";
    display: block;
    height: 16px;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: -8px;
    position: absolute;
    width: 16px
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.entry-header .entry-image img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    width: 500px;
}
#password-form {
    position: relative;
    margin: 0 0 15px;
    overflow: hidden;
    border-radius: 10px;
}
.error-message {
    padding-bottom: 15px;
    color: red;
    font-size: 25px;
    font-weight: bold;
}
#textCode {
    padding-right: 200px;
    margin: 0;
    height: 50px;
}
#passSubmit {
    position: absolute;
    z-index: 1;
    width: 180px;
    height: 100%;
    text-align: center;
    line-height: 50px;
    background: #d70314;
    right: 0;
    top: 0;
    text-transform: uppercase;
    font-weight: bold;
}
.list_cat {
    list-style: none;
    margin: 0 0 20px;
    padding: 10px;
    background: #ebebeb;
    border-radius: 7px;
}
.list_cat > li {
    border-bottom: 1px dashed #b9b9b9;
    margin-bottom: 7px;
    padding-bottom: 7px;
}
.list_cat > li:last-child {margin:0;padding:0;border:none;}
.list_cat .children {
    margin: 10px 0 10px 20px;
    list-style: none;
}
.list_cat input {
    margin: 0 3px 0 0;
    vertical-align: -1px;
}
.list_cat label {
    font-weight: normal;
    margin: 0;
}
.single-post article.post {
    padding: 20px 20px 10px 20px;
    border: 1px solid #434343;
}
.blog-wrapper {padding-top: 0;}

@media only screen and (max-width: 580px){
    .single-post article.post {border: none;padding: 20px 0 0;margin: 0;}
    #passSubmit {width: 100px;}
    #list-keyword tbody tr:first-child, .block-content table th, .block-content table td {display: none;}
    .block-content table th:first-child, .block-content table th:last-child, .block-content table td:first-child, .block-content table td:last-child {display: table-cell;}
    .block-content table th:first-child, .block-content table td:first-child {width: auto !important;}
    .block-content table th:last-child, .block-content table td:last-child {width: 75px;}
    .page-wrapper {padding: 0;}
    img.size-full.alignnone {margin-bottom: 0px;}
    .entry-content.single-page {padding-bottom: 0;}
}
.readmore-expand {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 25px;
}
.readmore-expand-btn {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #fff;
}
.readmore-expand-btn:before {
    height: 55px;
    margin-top: -45px;
    content: "";
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff00', endColorstr='#ffffff',GradientType=0 );
    display: block;
}
.readmore-expand-btn a {
    color: #1e73be;
    display: block;
}
.readmore-expand-btn a:after {
    content: '';
    width: 0;
    right: 0;
    border-top: 6px solid #1e73be;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}
.readmore-expand-hide:before {
    display: none;
}
.readmore-expand-hide a:after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1e73be;
}
