:root {
  --primary-color: #ff5f15;
  --ag-row-footer-bg: #eee;
  --ag-row-secon-bg: #ffe3ca;
  --ag-row-footer-color: #26355D;
}
body {
	-webkit-overflow-scrolling: touch;
}








#menu-menu li.facebook_i {
  display: flex;
  flex-wrap: wrap;
}
#menu-menu li.facebook_i .sub-menu {
  position: relative !important;
  width: 100% !important;
  left: 0 !important;
}
#menu-menu li.facebook_i.current_page_item ul {
  display: block;
}
#menu-menu li.facebook_i ul {
  display: none;
}
.campain_overview_mobile a.active,.article_effectiveness_mobile a.active,
#menu-menu li.facebook_i .sub-menu a.active {
  color: var(--primary-color) !important
}
#menu-menu li.facebook_i ul,
#menu-menu li.facebook_i li,
#menu-menu li.facebook_i .sub-menu a {
  opacity: 1 !important;
  visibility: visible !important;
  color:#000 !important;
  background-color: #fff;
  box-shadow: none;
  
}
#menu-menu a {
  transition: all 0.3s ease;
  border-radius: 5px;
}
#menu-menu a:hover {
  color: #fff !important;
  background-color: var(--primary-color);
}
#menu-menu li.facebook_i .sub-menu a {
  font-size: 14px;
  padding: 5px 10px 5px 20px ;
}
#menu-menu li.facebook_i .sub-menu a:hover {
  text-decoration: underline;
}
.et-vert-menu .et_pb_menu__menu>nav>ul>li a {
  opacity: 1 !important;
}
#menu-menu li.facebook_i .sub-menu li.menu-item:last-child {
  position: relative;
}
.popup-success {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

.cardr {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 8px 15px;
  margin: 0 10px;
  cursor: pointer;
}

input[type="datetime-local"] {
  font-size: 16px;
  padding: 10px;
  border: 2px solid #007bff;
  border-radius: 5px;
  width: 250px;
  background-color: #f9f9f9;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease;
}

input[type="datetime-local"]:focus {
  outline: none;
  border-color: #0056b3;
  background-color: #fff;
}

.cl-black {
  color: black;
}

.bg-black {
  background: black;
}

.mainiframe h1 {
  font-size: 2vw;
  color: black;
}

.mainiframe h2 {
  font-size: 1.5vw;
}

.mainiframe p,
span {
  font-size: 1em;
}

.card {
  color: #fff;
}

.cardtableCus .title {
  margin: 0;
  padding: 4px 4px 4px 15px;
  width: 100%;
}

.cardtableCus .title h3 {
  padding: 4px 0;
  color: #fff;
}

.cardtableCus .title input {
  border-radius: 5px;
  padding: 4px 10px;
}

.cardtableCus .dataTable {
  margin: unset;
}

.section {
  margin-top: 2.5vh;
}

.entry-content table:not(.variations) {
  margin: unset;
}

.dataTables_scrollBody tfoot {
  display: none;
}

.section .flex {
  padding: 0.5vw;
  justify-content: space-between;
}

.section input {
  border-radius: 1vw;
  border: none;
}

.sfooter p {
  font-size: 1em;
  padding: 0.1vh;
}

.iframe {
  width: 100%;
  max-width: 1200px;
  /* background-color: #ffffff;
  border-radius: 10px 10px 10px 10px; */
  overflow: hidden;
  margin: auto;
  /* margin-top: 20px;
  padding: 20px; */
}

h5.cl-black.vw2 {
  font-size: 2.5em;
  font-weight: 300;
}

h2.vw2.nameCam {
  color: #0866ff;
  font-size: 2em;
}

#timelikecard .card {
  border: 0;
  border-radius: 5px;
  background: #0966ff;
  color: #fff;
  padding: 8px 8px;
  margin: 0;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

#timelikecard input[type="text"] {
  height: 0;
  width: 0;
  padding: 0;
}

.litepicker .container__footer {
  margin: 0;
}

#timelikecard .card:after {
  content: "3";
  font-family: "ETmodules";
  right: 20px;
  position: absolute;
  font-size: 20px;
}

/* 
.flex > .card h2 {
  color: #fff;
} */

.flex>.bg-tin-nhan {
  background: rgb(253 107 34);
  background-image: url("/wp-content/uploads/2024/10/impressions.svg");
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-position: right -20% bottom -30%;
  background-size: 46%;
}

.flex>.bg-post-comments {
  background: rgb(86 49 251);
  background-image: url(/wp-content/uploads/2024/10/impressions.svg);
  background-blend-mode: screen;
  background-repeat: no-repeat;
  background-position: right -20% bottom -30%;
  background-size: 46%;
}

.flex>.bg-tong-khach-hang {
  background: rgb(252 163 33);
  background-image: url(/wp-content/uploads/2024/10/engagement.svg);
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  background-position: right -10% bottom -60%;
  background-size: 34%;
}

.flex>.bg-amount-spent {
  background: rgb(32 185 253);
  background-image: url(/wp-content/uploads/2024/10/cpc.svg);
  background-blend-mode: color-dodge;
  background-repeat: no-repeat;
  background-position: right -10% bottom -60%;
  background-size: 34%;
  background-blend-mode: saturation;
}

.flex>.bg-con-lai {
  background: rgb(9 102 255);
  background-image: url(/wp-content/uploads/2024/10/cpc.svg);
  background-blend-mode: color-burn;
  background-repeat: no-repeat;
  background-position: right -10% bottom -60%;
  background-size: 34%;
}

.flex .bg-impressions {
  background: rgb(237 255 239);
  color: #55a55e;
}

.flex .card h2.impressions {
  color: #55a55e;
}

.flex .bg-reach {
  background: #ecfbff;
  color: #3b7f92;
}

.flex .card h2.reach {
  color: #3b7f92;
}

.flex .bg-page-engagement {
  background: #f4f2ff;
  color: #5f5498;
}

.flex .card h2.page_engagement {
  color: #5f5498;
}

.flex .bg-views-all {
  background: #fff2ec;
  color: #9b715d;
}

.flex .card h2.views {
  color: #9b715d;
}

.flex .bg-likes-all {
  background: #e3e9f9;
  color: #5631fb;
}

.flex .card h2.likes {
  color: #5631fb;
}

.flex .bg-avg-view-all {
  background: #fff0e5;
  color: #fc7937;
}

.flex .card h2.avg-view {
  color: #fc7937;
}

.custom_FB_ns_da_trien_khai,
.custom_GG_ns_da_trien_khai {
  font-size: clamp(0.5rem, 1vw + 0.5rem, 1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iframe-statistic {
  padding: 16px;
  border-radius: 10px;
  background-color: #fff;
  margin-bottom: 16px;
}

.iframe-chart {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.iframe-chart__title h3,
.iframe-table__title h3 {
  padding: 16px;
  margin-bottom: 16px;
  border-bottom: #efebeb solid 1px;
  color: #000;
  font-size: 1.3rem;
}

.iframe-chart__title.bg-clicks-all.col-6 {
  margin: 0;
  padding: 0;
}

.section.iframe-chart .flex {
  padding: 10px 16px 20px
}

.iframe-table {
  border-radius: 10px;
  background-color: #fff;
  margin-bottom: 16px;
}

#CampainTable_time_aggrid,
#CampainTable_aggrid,
#PostTable_aggrid,
#PostTable_time_aggrid,
#CustomerTable_time_aggrid,
#CustomerTable_aggrid {
  padding: 0 16px 16px;
}
#CampainTable_time_aggrid .ag-header-row.ag-header-row-column {
    background-color: #fff0e5;
    color: #fc7937;
}
#CampainTable_time_aggrid .ag-header .ag-header-cell-resize:after {
    background-color: #ffdabf;
}
#CampainTable_time_aggrid .ag-side-buttons {background-color: #fff0e5;}
#CampainTable_time_aggrid .ag-row-hover {
    background: #fff0e5;
}

#CampainTable_aggrid .ag-header-row.ag-header-row-column {
    background-color: #f4f2ff;
    color: #5f5498;
}
#CampainTable_aggrid .ag-header .ag-header-cell-resize:after {
    background-color: #dfdaff;
}
#CampainTable_aggrid .ag-side-buttons {background-color: #f4f2ff;}
#CampainTable_aggrid .ag-row-hover {
    background: #f4f2ff;
}
#PostTable_time_aggrid .ag-header-row.ag-header-row-column,#PostTable_time_aggrid .ag-header-row.ag-header-row-column-group ,#PostTable_time_aggrid  .ag-header-cell.ag-column-first.ag-header-span-height.ag-header-span-total.ag-header-cell-sortable.ag-focus-managed{
    background-color: #fff0e5;
    color: #fc7937;
}
#PostTable_time_aggrid .ag-header .ag-header-cell-resize:after {
    background-color: #ffdabf;
}
#PostTable_time_aggrid .ag-side-buttons {background-color: #fff0e5;}
#PostTable_time_aggrid .ag-row-hover {
    background: #fff0e5;
}
#PostTable_aggrid .ag-header-row.ag-header-row-column,#PostTable_aggrid .ag-header-row.ag-header-row-column-group ,#PostTable_aggrid  .ag-header-cell.ag-column-first.ag-header-span-height.ag-header-span-total.ag-header-cell-sortable.ag-focus-managed{
    background-color: #eef5ef;
    color: #3f7b45;
}
#PostTable_aggrid .ag-header .ag-header-cell-resize:after {
    background-color: #d9f0db;
}
#PostTable_aggrid .ag-side-buttons {background-color: #eef5ef;}
#PostTable_aggrid .ag-row-hover {
    background: #eef5ef;
}


.ag-header-cell, .ag-header-group-cell {
    padding: 0 10px !important;
}
.ag-header-row.ag-header-row-column-group,
.ag-header-row.ag-header-row-column,
.ag-header-cell.ag-column-first.ag-header-span-height.ag-header-span-total.ag-header-cell-sortable.ag-focus-managed {
  background-color: #e5e9ee;
  color: #333;
}

.ag-header .ag-header-viewport .ag-header-row-column-group,
.ag-header .ag-header-viewport .ag-header-row-column {
  background: #e5e9ee;
  color: #333;
}

.ag-header .ag-header-cell-resize:after {
  background-color: #ccd2dc;
  height: 90%;
  width: 1px;
  top: 5%;
}

.ag-column-select-header-filter-wrapper .ag-input-field-input.ag-text-field-input {
  padding-left: 24px;
}

.iframe-demographic__item {

  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 16px !important;
}

.iframe-demographic__item .iframe-table__title h3 {
  text-align: left
}

.iframe-demographic__canvas canvas {
  width: 420px !important;
  height: 420px !important;
  object-fit: cover;
  margin: 0 auto;
}


.ag-row-footer {
    background-color: var(--ag-row-footer-bg);
    color:  var(--ag-row-footer-color);
    font-weight: bold;
}
#PostTable_time_aggrid a,
#PostTable_aggrid a {
    color: var(--ag-row-footer-color);
    /*font-weight: bold;*/
}
#PostTable_time_aggrid a:hover,
#PostTable_aggrid a:hover {
  text-decoration: underline;
}
#CampainTable_time_aggrid,
#CampainTable_aggrid,
#PostTable_aggrid,
#PostTable_time_aggrid,
#CustomerTable_time_aggrid {
  height: 500px;
}


.ag-paging-page-summary-panel {
  display: none;
}





/* r3 */
@media screen and (max-width: 549px) {
	
	
	
	
	
	
	.header-mobile-remake  .mobile_menu_bar {
		transform: translateY(0) !important;
	}
	.header-mobile-remake  .opened .mobile_menu_bar {
		    transform: translateY(24%) !important;
	}
	.header-mobile-remake  .et_mobile_nav_menu {
		min-height: 46px !important
	}
	.header-mobile-remake #mobile_menu3 {
		top: 110%;
	}
	.header-mobile-remake .et_pb_text_0_tb_header {
		z-index: 3;
		width: fit-content;
		right: 14%;
	}
	.header-mobile-remake .et_pb_menu_1_tb_header {
		z-index: 2
	}
	.header-mobile-remake .et_pb_menu_2_tb_header {
		z-index: 1;
		position: absolute;
		top: 0;
		width: 100%;
	}
	p.mobile-menu-avatar {
		margin-right: 0 !important
	}
	#mobile_menu3 li a {
		display: flex;
		align-items: center;
	}
	#mobile_menu3 li a:before {
		filter: none
	}
	#mobile_menu3 li.current_page_item a,
	#mobile_menu3 li.current_page_item a:before {
		color: #fff !important;
		filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7498%) hue-rotate(172deg) brightness(114%) contrast(101%);
	}
	#mobile_menu3 .facebook_mobile.facebook_i a {
		position: relative;
	}
	#mobile_menu3 .facebook_mobile.facebook_i a:after {
		content: "\f054";
		font-weight: 900;
		font-family: 'Font Awesome 5 free';
		position: absolute;
		right: 20px;
		transition: 0.3s all ease;
	}
	#mobile_menu3 .facebook_mobile.facebook_i .sub-menu a:before,
	#mobile_menu3 .facebook_mobile.facebook_i .sub-menu a:after {
		content: none;
	}
	#mobile_menu3 .facebook_mobile.facebook_i.open a:after {
		transform: rotate(90deg)
	}
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	.chosen_user {
		margin-top: 20px;
	}
	ul>li.logout_i a:before {
		content: "\f2f5";
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		height: 25px;
	}
	.account_i:before {
		content: none !important
	}
	#mobile_menu2   .facebook_mobile.current-menu-parent a:before {
		filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(271deg) brightness(104%) contrast(102%);
	}
	#mobile_menu2   .facebook_mobile.current-menu-parent .sub-menu a {
		background: transparent;
		color: #000 !important;
	}
	#mobile_menu2   .facebook_mobile.current-menu-parent .sub-menu a.active {
		color: var(--primary-color) !important;
	}
	#mobile_menu2   .facebook_mobile.current-menu-parent a {
		background: var(--primary-color);
		color: #fff !important;
		opacity: 1;
		border-radius: 4px;
	}
	#mobile_menu2 .facebook_mobile.open a:after {
		transform: rotate(90deg);
	}
	#mobile_menu2 .facebook_mobile .sub-menu a:before {
		content: none
	}
	#mobile_menu2 .facebook_mobile .sub-menu a:after {
		content: none
	}
	#mobile_menu2 .facebook_mobile a:after {
		content: "\f054";
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		display: inline-block;
		margin-left: 5px; 
		right: 15px;
		position: absolute;
	}
	#mobile_menu2 .facebook_mobile a {
		background: transparent
	}
  .facebook_mobile .sub-menu .facebook_i a {
    color: #fff !important
  }
  /* footer li.menu-item, */
  footer .sub-menu li.menu-item {
    width: 100% !important;
  }
  .et_pb_menu .et_mobile_menu li ul.sub-menu {
      display: none !important;
  }
  .et_pb_menu .et_mobile_menu li.open ul.sub-menu {
    display: block !important;
  }
  .facebook_mobile {
    position: relative;
  }
/*   .facebook_mobile .sub-menu li a {
    font-size: 14px !important;
    text-align: left;
    padding-left: 23px;
  } */

/*   html .facebook_mobile .sub-menu {
    display: none !important;
    overflow: hidden;
    padding-left: 0 !important;
    position: absolute;
    top: -145px;
    left: 0;
  } */
    


    /* .facebook_mobile>a::before {
      content: "📊";
      position: absolute;
      left: 0;
      margin-right: 8px;
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s ease;
      display: inline-block;
    } 
   ul>li.facebook_i .campain_overview_mobile a:before,
    ul>li.facebook_i .article_effectiveness_mobile a:before {
      background: transparent;
      
    }
    ul.sub-menu>li.facebook_i  a:before {
      left: 0;
      width: 16px;
      height: 16px;
      top: 25%;
    }

    .campain_overview_mobile>a::before {
      content: "🗺️";
      position: absolute;
      left: 0;
      margin-right: 8px;
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s ease;
      display: inline-block;
    }
  

    .article_effectiveness_mobile>a::before {
      content: "✍️";

      position: absolute;
      left: 0;
      margin-right: 8px;
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s ease;
      display: inline-block;
    }
 */

  /* .facebook_mobile>a, */
  .sub-menu li a {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    min-width: 200px;
    padding: 5px 0;
  }


  .facebook_mobile.open>a::before,
  .facebook_mobile.open .sub-menu li a::before,
  .facebook_mobile.open>a,
  .facebook_mobile.open .sub-menu li a {
    opacity: 1;
    transform: translateX(0);
    display: inline-block !important;
    
  }
  .facebook_mobile.open .sub-menu li {
    background: transparent;
  }



}
