#page {
    background: none repeat scroll 0 0 white;
    border: none;
    margin-bottom: 5px;
    margin-top: 0px;
}

#mynav {
    margin-bottom: 60px;
}

#header {
    border-top: none;
    margin: 0;
    padding: 0;
    height: 40px;
}

.breadcrumb {
    margin-bottom: 15px;
}

.search_left {
    width: 40%;
    float: left;
}

.float_left {
    float: left;
}

.w50 {
    width: 50%;
}

.clear {
    clear: both;
}

.statistic {
    margin-bottom: 10px;
    margin-left: -15px;
}

.statistic_tbl {
    text-align: center;
    border: solid 1px #ccc;
}

.statistic_tbl th {
    background: #2694E8;

    text-align: left;
    color: #fff;
}

.statistic_tbl td {
    text-align: left;
    border-bottom: solid 1px #ccc;
}

.search_left select {
    width: auto;
    min-width: 150px;
}

.left_content {
    float: left;
    width: 75%;
}

.right_content {
    float: left;
    width: 25%;
}

.alert {
    padding: 7px;
    margin-bottom: 12px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.login_area {
    margin: 0 auto;
    border-radius: 3px;
    max-width: 350px;
    padding: 5px;
}

#login-form {
    max-width: 350px;
    background-color: #FFFFFF;
    border: none !important;
    box-shadow: none;
}

#header {
    margin: 0;
    padding: 0;
    border-top: 3px solid #C9E0ED;
}

#sidebar {
    padding: 20px 0 20px 0;
}

#sidebar .portlet-title {
    /*display: none;*/
    background-color: #B7D6E7;
    padding: 10px;
}

#sidebar ul {
    float: left;
}

#sidebar ul li {
    list-style: none;
    /*float: left;*/
    /*display: inline;*/
    padding-left: 10px;
    padding-right: 10px;
}

#sidebar ul li a {
    /*float: left;*/
}

#footer {
    padding: 10px;
    font-size: 0.8em;
    text-align: center;
    border-top: 1px solid #C9E0ED;
    margin-top: 10px;
}

#function ul {
    float: right;
}

#function ul li {
    list-style: none;
    float: left;
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
}

#function ul li a {
    float: left;
}

#function ul li a.link-new {
    background: url(../images/new.png) no-repeat center left;
    height: 32px;
    padding-left: 25px;
    background-size: 20px 21px;
}

#function ul li span.link-new {
    height: 32px;
    padding-left: 30px;
    display: block;
    padding-top: 15px;
    cursor: pointer;
}

#function ul li a.link-new span {
    padding-top: 15px;
    display: block;
}

#function ul li a.link-manage {
    background: url(../images/list.png) no-repeat center left;
    height: 32px;
    padding-left: 30px;
    background-size: 30px 28px;
}

#function ul li a.link-manage span {
    padding-top: 15px;
    display: block;
}

#function ul li a.link-view {
    background: url(../images/view.png) no-repeat center left;
    height: 32px;
    padding-left: 30px;
    background-size: 22px 25px;
}

#function ul li a.link-view span {
    padding-top: 15px;
    display: block;
}

#function ul li a.link-update {
    background: url(../images/pencil.png) no-repeat center left;
    height: 32px;
    padding-left: 26px;
    background-size: 24px 24px;
}

#function ul li a.link-update span {
    padding-top: 15px;
    display: block;
}

#function ul li a.link-delete {
    background: url(../images/delete.png) no-repeat center left;
    height: 32px;
    padding-left: 26px;
    background-size: 21px 23px;
}

#function ul li a.link-delete span {
    padding-top: 15px;
    display: block;
}

#function .operations {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1366px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .table-responsive > .table {
        margin-bottom: 0;
    }

    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: nowrap;
    }

    .table-responsive > .table-bordered {
        border: 0;
    }

    .table-responsive > .table-bordered > thead > tr > th:first-child,
    .table-responsive > .table-bordered > tbody > tr > th:first-child,
    .table-responsive > .table-bordered > tfoot > tr > th:first-child,
    .table-responsive > .table-bordered > thead > tr > td:first-child,
    .table-responsive > .table-bordered > tbody > tr > td:first-child,
    .table-responsive > .table-bordered > tfoot > tr > td:first-child {
        border-left: 0;
    }

    .table-responsive > .table-bordered > thead > tr > th:last-child,
    .table-responsive > .table-bordered > tbody > tr > th:last-child,
    .table-responsive > .table-bordered > tfoot > tr > th:last-child,
    .table-responsive > .table-bordered > thead > tr > td:last-child,
    .table-responsive > .table-bordered > tbody > tr > td:last-child,
    .table-responsive > .table-bordered > tfoot > tr > td:last-child {
        border-right: 0;
    }

    .table-responsive > .table-bordered > tbody > tr:last-child > th,
    .table-responsive > .table-bordered > tfoot > tr:last-child > th,
    .table-responsive > .table-bordered > tbody > tr:last-child > td,
    .table-responsive > .table-bordered > tfoot > tr:last-child > td {
        border-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .table-responsive > .table {
        margin-bottom: 0;
    }

    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: nowrap;
    }

    .table-responsive > .table-bordered {
        border: 0;
    }

    .table-responsive > .table-bordered > thead > tr > th:first-child,
    .table-responsive > .table-bordered > tbody > tr > th:first-child,
    .table-responsive > .table-bordered > tfoot > tr > th:first-child,
    .table-responsive > .table-bordered > thead > tr > td:first-child,
    .table-responsive > .table-bordered > tbody > tr > td:first-child,
    .table-responsive > .table-bordered > tfoot > tr > td:first-child {
        border-left: 0;
    }

    .table-responsive > .table-bordered > thead > tr > th:last-child,
    .table-responsive > .table-bordered > tbody > tr > th:last-child,
    .table-responsive > .table-bordered > tfoot > tr > th:last-child,
    .table-responsive > .table-bordered > thead > tr > td:last-child,
    .table-responsive > .table-bordered > tbody > tr > td:last-child,
    .table-responsive > .table-bordered > tfoot > tr > td:last-child {
        border-right: 0;
    }

    .table-responsive > .table-bordered > tbody > tr:last-child > th,
    .table-responsive > .table-bordered > tfoot > tr:last-child > th,
    .table-responsive > .table-bordered > tbody > tr:last-child > td,
    .table-responsive > .table-bordered > tfoot > tr:last-child > td {
        border-bottom: 0;
    }
}

/*Them do rong responsive cua menu len 1024px;*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        margin-bottom: 0px;
    }

    .navbar-fixed-top {
        position: relative;
    }

    #mynav {
        margin-bottom: 10px;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #fff !important;
    }
}

/*End them do rong man hinh */
@media (max-width: 1024px) {
    /*.navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }

    .navbar-nav .open .dropdown-menu > li > a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 5px 15px 5px 25px;
    }

    .navbar-nav .open .dropdown-menu > li > a {
        line-height: 20px;
    }

    .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-nav .open .dropdown-menu > li > a:focus {
        background-image: none;
    }*/
}

.navbar-brand {
    max-width: 155px;
    overflow: hidden;
}

@media (max-width: 400px) {
    .statistic .col-xs-6 {
        width: 100%;
    }

    table tr td label, #searchForm label {
        font-size: 12px;
    }

    ul.yiiPager {
        display: table !important;
    }
}

@media (min-width: 1366px) {
    .container {
        width: 1300px;
    }
}

@media (min-width: 1600px) {
    .container {
        width: 1560px;
    }
}

@media (min-width: 1900px) {
    .container {
        width: 1860px;
    }
}

@media (min-width: 2200px) {
    .container {
        width: 2160px;
    }
}

.col_sumary {
    font-weight: bold;
    color: white;
    background-color: #2694E8;
    text-align: center;
}

.txt_subinfo {
    color: #ffff00;
    font-size: 10px;
}

.group-admin-view {
    font-weight: bold;
    font-weight: bold;
    font-size: 17px;
    color: orange;
    margin-top: 10px;
}

.select2-container-multi ul.select2-choices {
    list-style-type: decimal !important;
}

.select2-container-multi .select2-choices .select2-search-choice {
    border-color: #F8FFF7;
    color: #000000;
    background-color: #CAE0F4;
}

.select2-container-multi .select2-choices .select2-search-choice {
    padding: 5px 8px 5px 17px;
    list-style: decimal;
}

.select2-search-choice-focus {
    background-color: orange !important;
    color: #ffffff !important;
}

.treeview .hitarea {
    margin-top: 2px !important;
}

tr.sub {
    margin-left: 10px;
    padding-left: 10px;
    background-color: #FFF3A5;
    font-style: italic;
}

.col_sumary2 {
    text-align: center;
    font-weight: bold;
}

.loadingmodal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8) url('../images/loading.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .loadingmodal {
    display: block;
}

a.view_detail_link {
    font-weight: normal;
}

.col_sumary2 {
    background-color: white;
}

tr.sub2 {
    background-color: none !important;
    font-style: italic;
}

tr.sub2 .txt_subinfo {
    color: #000000
}

.txtcenter {
    text-align: center;
}

.monthreport tr td:first-child {
    min-width: 140px;
}

.statistic_tbl_errors {
    max-height: 250px;
    overflow: auto;
    display: block;
    border: none;
    max-width: 259px;
}

tr.sub_1 {
    background-color: oldlace;
}

.sub_1 td:first-child {
    text-indent: 10px;
    font-weight: bold;
}

.sub_2 td:first-child {
    text-indent: 20px;
    font-style: italic
}

.sub_1 td.col_sumary {
    background-color: antiquewhite;
    color: black;
}

.txtsucess {
    color: blue;
    font-size: 10px;
}

.txtunsucess {
    color: red;
    font-size: 10px;
}

li.nav-header {
    color: #999;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

li.nav-header a {
    font-weight: bold !important;
}

/*init form control*/

form input, form select, form textarea {
    max-width: 100%;

    display: block;
    height: 28px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

form input[type=checkbox], input[type=radio] {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

form select {
    height: 32px;
}

.filters input, .form-control {
    height: 28px;
}

form textarea {
    min-height: 100px
}

.grid-view {
    padding-top: 10px;
}

.grid-view .table > caption + thead > tr:first-child > th, .grid-view .table > colgroup + thead > tr:first-child > th, .grid-view .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {

    padding-top: 10px;
}

.grid-view .table > caption + thead > tr:first-child > th, .grid-view .table > colgroup + thead > tr:first-child > th, .grid-view .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {

    background-color: #1b6eed;
}

.grid-view .table tr th a, .grid-view .table tr th {
    color: #ffffff !important;
    text-transform: capitalize;
}

.grid-view .table tr th:last-child {
    min-width: 60px;
}

#content {
    padding: 0 15px;
}

#content h1 {
    font-size: 30px;
    margin-top: 10px;
}

.grid-view .button-column {
    width: 80px;

}

.grid-view .button-column {
    width: 80px;
}

.navbar-inverse .navbar-brand, .navbar-inverse .navbar-brand a {

    color: #F09806;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

img.image_upload {
    max-width: 200px;
}

input[type=file] {
    padding-bottom: 27px
}

img.preview_thumb {
    display: none;
}

li.banner_filters_li {
    list-style: none;
}

li.banner_filters_li input[type=checkbox] {
    float: left;
    margin: -4px 5px 0px 25px;
    clear: both
}

.list_cate_choose label.parent_title {
    clear: both;
}

.treeview ul li {
    clear: both;
}

.treeview ul li, .treeview ul li.last {
    display: table;
    clear: both;
}

.treeview input[type=checkbox] {
    float: left
}

ul.treeview li.last input {
    margin-left: 0px !important;
}

ul.treeview ul li.last {
    padding-left: 16px !important;
}

ul.treeview input {
    height: 18px;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

img.image_upload {
    max-width: 200px;
}

ul.top_menu_dropdown {
    margin-right: 40px;
}

@media (max-width: 768px) {
    ul.top_menu_dropdown {
        margin-bottom: 70px;
        float: left !important;
    }
}

div.no_bg .table-striped > tbody > tr:nth-child(odd) > td, div.no_bg .table-striped > tbody > tr:nth-child(odd) > th {
    background: none !important;
}

/*vIDEO CONLUMN CSS*/
table .glyphicon {
    padding-left: 4px;
}

.panel .panel-heading .glyphicon {
    margin-right: 8px;
}

.panel-body {
    padding: 15px;
}

.panel-body table tr td {
    padding-left: 15px
}

.panel-body .table {
    margin-bottom: 0px;
}

.panel-body table tr:first-child td {
    border: none;
}

.panel-body table tr:first-child.old th {
    border: none;
}

.table > tbody > tr:first-child > th {
    border: none;
}

@media (min-width: 1366px) {
    .container {
        width: 1300px;
    }
}

@media (min-width: 1600px) {
    .container {
        width: 1560px;
    }
}

@media (min-width: 1900px) {
    .container {
        width: 1860px;
    }
}

@media (min-width: 2200px) {
    .container {
        width: 2160px;
    }
}

.preview_table tr td:last-child {
    min-width: 230px;
}

.progress {
    height: 20px;
    margin-bottom: 10px;
}

.panel-button .panel-heading {
    padding: 10px 0 10px 4px
}

.quickview_img {
    margin-bottom: 10px;
}

.quickview_text {
    margin-bottom: 10px;
}

.quickview_text span {
    word-wrap: break-word;
    font-weight: bold;
}

.group_btn {
    float: right;
    margin: 0px 30px 5px 0px;
}

.thumbnail_area {
    /*background-color: #FFFBED;*/
    padding: 8px;
}

.avatar-view {
    width: 75% !important;
}

.avatar-view img {
    height: 228px !important;
}

.no_pad {
    padding: 0;
}

.space_20 {
    width: 100%;
    height: 20px;
    clear: both;
}

.line {
    border-top: 1px solid #C9E0ED;
    width: 100%;
    height: 1px;
    margin: 15px 0;
}

.user_detail .detail-view tbody > tr > th, #script_detail .detail-view tbody > tr > th {
    text-align: left;
    width: 25%;
}

#script_detail {
    font-size: 14px;
}

#campaign_script .sub_table_script tbody > tr > th {
    background: #E5F1F4;
    width: 25%;
    font-size: 1em;
    text-transform: capitalize;
    vertical-align: middle;
}

#campaign_script .sub_table_script tbody > tr > td {
    background: #F8F8F8;
    width: 80%;
    font-size: 1em;
}

#campaign_script .modal-dialog {
    width: 70%;
}

.grid-view, .grid-view input, .grid-view select, .grid-view button {
    font-size: 12px;
}

.btn {
    padding: 4px 12px;
}

#script_detail .tab-content {
    height: 330px;
    overflow: auto;
}

#list_scripts_agency .grid-view tbody > tr > td > img, #script_detail .tab-content .sub_table_script tbody > tr > td > img {
    width: 90px;
    height: 60px;
}

.message {
    width: 100%;
    height: auto

;
    display: none;
}

.message_users, .result_message, .message_campaign, .message_script,.msg_change_status {
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

#list_scripts_agency .grid-view .table tr th {
    color: #000 !important;
    text-align: left;
}

#list_campaign_ajax .grid-view .table > thead > tr > th {
    background-color: #9C0;
}

.color_blue {
    color: #0063AF;
}

.color_red {
    color: #E30513;
}

.glyphicon-thumbs-up {
    /*color: #277cbe;*/
    font-size: 14px;
}

.glyphicon-time {
    /*color: #f2b03f;*/
    font-size: 14px;
}

.glyphicon-edit {
    /*color: #999;*/
    font-size: 14px;
}

.glyphicon-remove, .glyphicon-refresh {
    /*color: #e13b3b;*/
    font-size: 14px;
}

. glyphicon-ok {
    /*color: #277cbe;*/
    font-size: 14px;
}

.glyphicon-ok-sign {
    /*color: #5cb85c;*/
    font-size: 14px;
}
/*css contact page*/
.line2 {
    border-top: 1px solid #C9E0ED;
    width: 100%;
    height: 1px;
    margin-bottom: 15px;
}
.new_contact{
    font-weight: bold;
}
.old_contact{
    background-color: #f5f5f5;
}
.list_contact a{
    color: #000;
}
.list_contact a:hover, .list_contact a:hover{
    text-decoration: none;
}
.list_contact .list-view{
    margin-top: -5px;
    padding-top: 0;
}
.row_contact{
    border-top: 1px solid #ddd;
    width: 100%;
    padding: 3px 10px;
    height: 45px;
    overflow: hidden;
    display: block;
    line-height: 20px;
}
.subject_contact{
    font-size: 12px;
}
.detail_contact h4{
    margin-top: 0;
}
.detail_contact .detail-view th{
    width: 30%;
    text-align: left;
}
.detail_contact .detail-view th,.detail_contact .detail-view td{
    padding: 3px 10px;
}
.contact_site .tabs-left > .nav-tabs .active > a, .contact_site .tabs-left > .nav-tabs .active > a:hover, .contact_site .tabs-left > .nav-tabs .active > a:focus,
.contact_site .nav-tabs>li.active>a, .contact_site .nav-tabs>li.active>a:hover, .contact_site .nav-tabs>li.active>a:focus,
.tabs-left > .nav-tabs
{
    border: none;
}
.contact_site  .tabs-left > .nav-tabs .active > a,.contact_site .nav-tabs>li.active>a, .contact_site .nav-tabs>li.active>a:hover,.contact_site .nav-tabs>li.active>a:visited,.contact_site .nav-tabs>li.active>a:active,.contact_site .nav-tabs>li.active>a:focus{
    color: #E30513;
    font-weight: bold;
}
.contact_site .title_contact{
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
}
/*css contact page*/
.hasDatepicker {
    float: left;
    border-radius: 0;
}
.input-group-addon {height: 27px;}
.well{padding:10px;display: table;width: 100%;}