:root {
    --main-blue-color: #5865A3;

    --dblue-color: #203D99;
    --dblue-color-hover: #112154;
  
    --blue-color: #3A78F2;
    --blue-color-hover: #2358EC;
  
    --light-purple-color: #a3b4f9;
    --light-purple-color-hover: #8599F6;
  
    --light-blue-color: #80bdff;
    --light-red-color: #eca5a5;
    --light-grey-color: #f6f7fb;
  
    --th-blue-color: #5865A3;
    --th-light-color: #eee;

    --blue-icon: invert(26%) sepia(9%) saturate(4367%) hue-rotate(168deg) brightness(96%) contrast(85%);

    --campaign-setup-height: 450px;
  }

#loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    opacity: 0.9;
    z-index: 1051;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pointer {
    cursor: pointer
}

#loader i {
    color: #FFFFFF;
}

.notification-holder {
    padding: 1rem;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: transparent;
    width: 330px;
    max-height: 260px;
    overflow-y: auto;
}

.notification-holder .alert {
    margin-bottom: 10px;
}

.notification-holder .alert:last-child {
    margin-bottom: 0;
}

.notification-holder .alert .date {
    font-size: 1rem;
}

.col-auto {
    padding-left: 15px;
    padding-right: 15px;
    float: left;
}

.campaign-manager.report-table {
    padding: 1rem;
}

#page-wrapper,
.sidebar {
    max-height: calc(100vh - 51px);
    overflow-y: auto;
    background-color: var(--light-grey-color);
}

td,th {
   vertical-align: middle !important;
}


.strong {
    font-weight: 700;
}

.bg-maincolor {
    background: #1F3763!important;
}

.bg-subcolor {
    background: #577198!important;
    color: white!important;
}

.bg-subcolor > select{
    color: black!important;
}

.bg-subcolor > th{
    background: #577198!important;
}

.color-white {
    color: #FFFFFF!important;
}

.color-red {
    color: #FF0000!important;
}

.color-black {
    color: black!important;
}

nav {
    background: #1F3763!important;
}

nav .navbar-brand {
    color: white!important;
}

.nav-tabs>li>a {
    cursor: pointer!important;
    font-size: 18px;
    font-weight: bold;
}

.nav-tabs>li>a.text-sm {
    font-size: 14px;
    font-weight: normal;
}

.navbar-top-links li a {
    color: white;
}

.sidebar .sidebar-search {
    padding: 15px 0 0;
    background-color: #FFFFFF;
}

.sidebar .sidebar-search .sidebar-profile .image-profile {
    width: 50%;
    margin: auto;
    padding-bottom: 15px;
}

.sidebar .sidebar-search .sidebar-profile .image-profile img {
    width: 100%;
}

.sidebar .sidebar-search .sidebar-profile .text-profile span {
    display: block;
    padding: 10px 15px;
    font-size: 1.1rem;
}

.sidebar .sidebar-search .sidebar-profile .text-profile span:first-child {
    border-top: 1px solid #e7e7e7;
}

.sidebar .sidebar-search .sidebar-profile .text-profile span:not(:last-child) {
    border-bottom: 1px solid #e7e7e7;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    content: unset!important;
}

table thead .icon-column {
    width: 9%!important;
}

table thead .created-date-column {
    width: 12%!important;
}

table thead .blast-number {
    width: 5%!important;
}

table thead .form-group {
    margin-bottom: 0!important;
}

table thead .form-group label {
    margin-bottom: 0!important;
}

table thead .form-group.inline-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 1rem;
    margin-right: 1rem;
}

table thead .form-group.inline-flex>* {
    display: inline-flex;
    align-items: center;
}

table thead .form-group.inline-flex>*>label {
    margin-right: 1rem;
}

table.table thead th {
    text-align: center;
    /* color: white!important; */
    border-top: 1.5px solid #DDD !important;
}

table tbody tr a {
    width: 20px;
    height: 20px;
    border: unset;
    display: inline-block;
}

table tbody tr a.download-button {
    background: url('../images/download_icon.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    filter: var(--blue-icon);
}

table tbody tr input.download-button {
    background: url('../images/download_icon.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    width: 20px;
    height: 20px;
    border: 0px solid black;
    filter: var(--blue-icon);
}

table tbody tr input.download-button:focus {
    outline: none;
}

table tbody tr a.delete-button, div a.delete-button {
    background: url('../images/remove_icon.svg');
    background-size: 17.5px;
    background-repeat: no-repeat;
    filter: var(--blue-icon);
}

table tbody tr a.edit-button {
    background: url('../images/edit_icon.svg');
    background-size: 20px;
    filter: var(--blue-icon);
}

table tbody tr a.report-button {
    background: url('../images/report_icon.svg');
    background-size: 20px;
    filter: var(--blue-icon);
}

table tbody tr input.report-button {
    background: url('../images/report_icon.svg');
    background-repeat: no-repeat;
    background-position: center center;
    width: 20px;
    height: 20px;
    border: 0px solid black; 
    background-size: 20px;
    filter: var(--blue-icon);
}



table tbody tr input.report-button:focus {
    outline: none;
}

table tbody tr .refresh-sms {
    background: url('../images/refresh_sms.svg');
    background-repeat: no-repeat;
    background-position: center center;
    width: 12px;
    height: 14px;
    border: 0px solid black; 
    background-size: 14px 12px;
    /* filter: var(--blue-icon); */
}

table tbody tr .refresh-sms:focus{
    outline: none;
}

table tbody tr a.setup-button {
    background: url('../images/setup_icon.svg');
    filter: var(--blue-icon);
    background-size: 20px;
}

table tbody tr a.view-button {
    background: url('../images/view_icon.svg');
    width: 24px!important;
    height: 21px!important;
    filter: var(--blue-icon);
    background-size: 24px 21px;

}
table tbody tr a.more-button {
    background: url('../images/more_icon.svg');
    filter: var(--blue-icon);
    background-size: 20px;
}
table tbody tr a.select-button {
    background: url('../images/select_icon.svg');
    filter: var(--blue-icon);
    background-size: 20px;
}
.view-btn {
    background: url('../images/view_icon.svg');
    width: 24px!important;
    height: 21px!important;
    display: block;
    filter: var(--blue-icon);
    background-size: 24px 21px;
}

table tbody tr a.mail-button {
    background: url('../images/mail_icon.svg');
    background-repeat: no-repeat;
    background-position: center center;
    filter: var(--blue-icon);
    background-size: 20px;
}

table.no-padding td,
table.no-padding th {
    padding: 8px 1px;
    white-space: normal!important;
    text-align: center;
}

table.no-padding th {
    font-size: 11px;
}

table.complicated {
    min-width: 1020px;
}

table.complicated>thead>tr>th {
    vertical-align: middle!important;
}

table {
    border: 0!important;
}

table.no-padding .blast-details {
    text-align: left;
    padding-left: 3rem;
    position: relative;
}

table.no-padding .blast-details .icon-trigger {
    position: absolute;
    left: 1rem;
    bottom: 2rem;
    cursor: pointer;
}

table .icon-column a {
    cursor: pointer;
}

table tbody .secondary-row.hidden {
    display: none;
}

table.dataTable td.dataTables_empty {
    text-align: left!important;
}

table.user-management-table thead select.form-control {
    height: unset!important;
    font-size: 1rem!important;
}

table.user-management-table {
    font-size: 1.3rem;
}

table.user-management-table .id-status-column {
    width: 8%!important;
}

table.user-management-table .user-status button {
    padding: 0px 5px;
    font-size: 1rem;
}

table.user-management-table .full-date-column {
    width: 10%!important;
}

table.user-management-table .date-column {
    width: 9%!important;
}

table.user-management-table .email-phone-column {
    width: 11%!important;
}

table.department-management-table .number-only-column {
    width: 5%!important;
}

table.config-management-table .key-column {
    width: 25%!important;
}

table.config-management-table .value-column {
    position: relative;
}

table.config-management-table .value-column>div {
    position: absolute;
    overflow-y: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 18px;
}

.report-table-record table {
    margin-bottom: 0!important;
}

.mt-1 {
    margin-top: 1rem;
}

.mr-1 {
    margin-right: 1rem!important;
}

.mb-1 {
    margin-bottom: 1rem!important;
}

.mt-2 {
    margin-top: 2rem;
}

.mr-2 {
    margin-right: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mr-3 {
    margin-right: 3rem;
}

.mb-3 {
    margin-bottom: 3rem;
}
.mr-auto{
    margin-right: auto;
}

.campaign-id {
    font-size: 1.4rem;
}

.campaign-text {
    padding: .5rem 1rem;
    font-size: 1.4rem;
    display: inline-block;
    background-color: #337ab7;
    border-color: #337ab7;
    color: #FFFFFF!important;
    border-radius: .25rem;
    cursor: pointer;
}

.campaign-text:hover {
    text-decoration: none;
}

.grid {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.grid .item {
    float: left;
    margin-right: 2rem;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.display-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-inline-flex-children>* {
    display: inline-flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.panel-heading a {
    position: relative;
}

.panel-heading a[aria-expanded="true"]:before {
    font: normal normal normal 14px/1 FontAwesome;
    color: #FF0000;
    content: "\f077";
    position: absolute;
    right: 0;
}

.panel-heading a[aria-expanded="false"]:before {
    font: normal normal normal 14px/1 FontAwesome;
    color: #FF0000;
    content: "\f078";
    position: absolute;
    right: 0;
}

.two-set-datepicker>* {
    display: inline-flex;
}

.two-set-datepicker>.input-group {
    width: 25rem;
}

.two-set-datepicker>label {
    padding: 0 10px;
}

.two-set-datepicker>.input-group>.input-group-addon {
    padding: 6px 18px;
}

.two-set-datepicker>.input-group>.input-group-addon>.glyphicon {
    top: 2px;
    right: 6px;
}

.row.bordered {
    padding: 1rem 0;
    border: 1px solid darkgray;
    margin: 0 0 2rem 0!important;
}

.form-group.bordered {
    padding: 1rem 1.5rem;
    border: 1px solid darkgray;
}

.form-group.inline-group {
    display: inline-flex;
    align-items: center;
}

.form-group.inline-group>* {
    margin-right: 2rem;
}

.form-group.inline-group .input-group {
    display: flex;
}

.form-group.inline-group .input-group .input-group-addon,
.input-group-btn {
    width: auto;
}

.blast-mode-title>span {
    font-size: 2.2rem;
    display: inline-block;
    padding: 1rem;
}


/* BOOTSTRAP DATEPICKER OVERWRITE */

.bootstrap-datetimepicker-widget .picker-switch td span {
    line-height: unset!important;
    height: unset!important;
    width: 50%!important;
    padding: 5px;
    border: 1px solid darkgray;
    box-shadow: 0px 0px 5px darkgray;
    background-color: #337ab7;
    color: #FFFFFF!important;
}

.bootstrap-datetimepicker-widget a[data-action] {
    width: 100%!important;
    height: unset!important;
}

.bootstrap-datetimepicker-widget table td span:hover {
    background: #4f93ce!important;
}

.bootstrap-datetimepicker-widget table td {
    height: unset!important;
    line-height: unset!important;
}

.bootstrap-datetimepicker-widget table td span {
    height: 45px!important;
    line-height: 45px!important;
}

.bootstrap-datetimepicker-widget table .header-title>* {
    padding-top: 1rem;
    font-weight: bold;
    text-align: center;
}

.subscription-download button {
    padding: 4px 6px;
}

.subscription-download [type='checkbox'] {
    margin: 0;
    margin-right: 1rem;
}

.subscription-download .download-icon {
    padding: 10px;
    background: url('../images/download_icon.svg');
    background-repeat: no-repeat;
    background-position: center center;
    filter: var(--blue-icon);
    background-size: 20px;
}

.table-hover>tbody>tr.active {
    background-color: #f5f5f5;
}

.no-padding {
    padding: 0
}

.float-right {
    float: right;
}

hr {
    border-color: #ddd!important;
}

.cursor-pointer {
    cursor: pointer;
}

.form-group.inline-group .input-group-addon {
    display: block;
}

#subscription .nav-pills li {
    border: 1px solid #ddd;
    border-radius:5px;
}

/* #subscription .nav-pills>li+li {
    margin-left: -1px;
} */

/* #subscription .nav-pills li:first-child, #subscription .nav-pills li:first-child a {
    border-radius:5px 0 0 5px;
}

#subscription .nav-pills li:last-child, #subscription .nav-pills li:last-child a {
    border-radius: 0 5px 5px 0;
}

#subscription .nav-pills li:not(:first-child):not(:last-child), #subscription .nav-pills li:not(:first-child):not(:last-child) a {
    border-radius: 0;
} */

/* Step Nav */
.step-nav > li {
    float: left;
    /* font-size: 18px; */
    border-bottom: 2px solid #999;
  }

  .step-nav > li.active {
    border-bottom: 2px solid #337ab7;
  }
  
  .step-nav > li + li {
    margin-left: 2px;
  }
  
  .step-nav > li > a {
    border-radius: 5px;
    cursor: default;
    color: #999;
  }
  
  .step-nav > li > a,
  .step-nav > li > a:hover,
  .step-nav > li > a:focus {
    background-color: transparent;
  }
  
  .step-nav > li > a > .badge {
    margin-left: 3px;
    margin-right: 5px;
    padding: 4.5px;
    border-radius: 20px;
    width: 25px;
    height: 25px;
    font-size: 12px;
    background-color: #fff;
    border: 2px solid #999;
    color: #999;
  }
  
  /* active */
  .step-nav > li.active > a,
  .step-nav > li.active > a:hover,
  .step-nav > li.active > a:focus {
    color: #337ab7;
    background-color: transparent;
  }
  
  .step-nav > .active > a > .badge {
    color: #ffffff;
    background-color: #337ab7;
    border: 2px solid #337ab7;
  }
  

  .errorMessage {
      color: #FF0000;
  }

  .bg-secondary-color{
      background-color: #F5F5F5;
      color: #337ab7 !important;
  }

  .highlighted{
    background-color: #c7d6ec;
    border-radius: 4px;
    padding: 10px 20px;
    color: #1F3763;
    margin-left: 10px;
  }

  .big-text{
      font-size:18px;
  }

/*multiselect dropdown*/
  .multiselect {
    text-align: left;
  }
  .open>.dropdown-menu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  /* .open>.dropdown-menu>li {
    width: 20%; 
  }  */

.accordian-h-btn {
    height: 300px;
    background-color: var(--dblue-color);
    color: #fff;
    margin-right: 1rem;
    border-radius: 4px;
    width: 100%;
}

.accordian-h-btn:active .accordian-h-btn.active, .accordian-h-btn:hover {
    height: 300px;
    background-color: var(--dblue-color-hover);
}

.accordian-h{
    margin-left: -2.5rem;
    height: 300px;
}

/* .animate-width {
    -moz-transition:all ease 0.8s;
    -o-transition:all ease 0.8s;
    transition:all ease 0.8s;
    -webkit-transition:all ease 0.8s;
    transition:all ease 0.8s;
    height: 300px;
    opacity:0;
    width: 0;
}

.animate-width.show{
    opacity:1;
    width: 75%;
} */

/* Steps */

.clearfix:after {
    clear: both;
    content: "";
    display: block;
    height: 0;
}

/* Breadcrups CSS */

.arrow-steps .step {
	font-size: 14px;
	text-align: center;
	color: #fff;
	cursor: default;
	margin: 0 3px;
	padding: 5px 10px 10px 30px;
    width: 4.5%;
    height: var(--campaign-setup-height);
	float: left;
	position: relative;
    background-color: var(--dblue-color);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
    user-select: none;
}

.arrow-steps .content{
    background-color: #fff;
    text-align: left;
    color: #666;
    /* overflow: hidden; */
}

.animate-width {
    -moz-transition:all ease 0.8s;
    -o-transition:all ease 0.8s;
    transition:all ease 0.8s;
    -webkit-transition:all ease 0.8s;
    transition:all ease 0.8s;
    opacity:0;
    width: 0;
    margin-left: -50px;
}

.arrow-steps .content.show{
    width: 68%;
    opacity: 1;
    margin-left: 0;
}

.arrow-steps .step:after,
.arrow-steps .step:before {
	content: " ";
	position: absolute;
	top: 0;
	right: -29px;
	width: 0;
	height: 0;
	border-top:  calc(var(--campaign-setup-height) / 2) solid transparent;
	border-bottom: calc(var(--campaign-setup-height) / 2) solid transparent;
	border-left: 30px solid var(--dblue-color);	
    z-index: 2;
}

.arrow-steps .step:hover:after,
.arrow-steps .step.active:after
 {
	border-left: 30px solid var(--dblue-color-hover);
}

.arrow-steps .step.content:after,
.arrow-steps .step.content:before {
	border-left: 30px solid #fff;
}

.arrow-steps .step:before {
	right: auto;
	left: 0;
	border-left: 30px solid var(--light-grey-color);	
	z-index: 0;
}

.arrow-steps .step:first-child:before {
	border: none;
}

.arrow-steps .step:first-child {
	border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.arrow-steps .step .arrow-steps-title {
    position: absolute;
    left: 12%;
    top: 50%;
    -ms-transform: translateY(-50%) rotate(-90deg);
    -webkit-transform: translateY(-50%) rotate(-90deg);
    transform: translateY(-50%) rotate(-90deg);
    z-index: 999;
    font-size: 18px;
    width: 100px;
}

.arrow-steps .step:first-child .arrow-steps-title {
    left: -5%;
}

.arrow-steps .step.done .arrow-steps-title:before {
	opacity: 1;
	-webkit-transition: opacity 0.3s ease 0.5s;
	-moz-transition: opacity 0.3s ease 0.5s;
	-ms-transition: opacity 0.3s ease 0.5s;
	transition: opacity 0.3s ease 0.5s;
}

.arrow-steps .step.current:after {
	border-left: 30px solid var(--dblue-color);	
}

.step.click{
    cursor: pointer;
}

.step.click:hover, .step.active{
    background-color: var(--dblue-color-hover);
}

/* test blast|real blast */
.btn-toggle {
    margin: 0 8rem;
    padding: 0;
    position: relative;
    border: none;
    height: 1.5rem;
    width: 3rem;
    border-radius: 1.5rem;
    background: #bdc1c8;
    color: #333;
}

.btn-toggle.active:before {
    opacity: 0.5;
}
.btn-toggle.active:after {
    opacity: 1;
}

.btn-toggle:before, .btn-toggle:after {
    line-height: 1.4rem;
    width: 7.5rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    transition: opacity 0.25s;
    font-size: 16px;
}

.toggle-blast:before {
    content: 'Test Blast';
    left: -8.5rem;
}
.toggle-blast:after {
    content: 'Real Blast';
    right: -8.5rem;
    opacity: 0.5;
}

.btn-toggle > .handle {
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 1.125rem;
    background: #fff;
    transition: left 0.25s;
}
.btn-toggle.active {
    background-color: #29b5a8;
}
.btn-toggle.active > .handle {
    left: 1.6875rem;
    transition: left 0.25s;
}
.btn-toggle.active {
    transition: background-color 0.25s;
}

.toggle-on-off{
    height: 2rem;
    width: 5rem;
    margin: 0 1rem 0 0;
}
.toggle-on-off > .handle{
    width: 1.518rem;
    height: 1.518rem;
}
.toggle-on-off.active > .handle {
    left: 3.2rem;
}
.toggle-on-off:before, .toggle-on-off:after {
    width: 2rem;
    font-size: 11px;
}
.toggle-on-off:before {
    content: 'OFF';
    left: 2.2rem;
    line-height: 2rem;
    color: #fff;
}
.toggle-on-off:after {
    content: 'ON';
    right: 2.3rem;
    line-height: 2rem;
    color: #fff;
    opacity: 0;
}
.toggle-on-off.active:before {
    opacity: 0;
}
.toggle-on-off.active:after {
    opacity: 1;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: none;
}
.label-warning-2 {
    background-color: #7ee477
}
iframe {
    width: 100%;
    height: 250px;
    border: 1px solid #ccc;
}
.bt-box{
    margin-bottom: 30px;
    color: inherit;
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 6px 12px;
    width: 100%;
    max-height: 140px;
}
.q-table{
    margin: 0.2em 0;
    min-width: 250px;
}
.q-table th{
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    color: #aaa;
    padding: 2px 0;
}
.q-table td{
    font-weight: 600;
    text-align: center;
    padding: 2px 0;
}

.label-whatsapp{
    background-color: #c4c4c4;
    /* padding: .5em .8em !important; */
    font-size: 80% !important;
    /* border-radius: 1em !important; */
}

.disabledTab{
    pointer-events: none;
}

.disabledTab > a{
    color: #8a8a8a;
}

.activeBtn{
    border: 3px solid #15b0b9;
    background-color: #15b0b9;
    color: #fff !important;
}

.short-input-filter{
    max-width: 250px;
    float: right;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.tableFixHead{     
    overflow: auto;
    height: 45vh;
    width: 100%;
}
.tableFixHead thead th {
    position: sticky; 
    top: 0; 
    z-index: 1; 
}

.blast-no-postmaster-tab{
    background-color: rgb(255, 239, 160) ;
    padding: 8px 12px;
    border-radius: 4px;
    margin: -8px -15px -8px -8px;
    color: #cab33f;
}
.blast-disabled-tab{
    padding: 8px 12px;
    border-radius: 4px;
    margin: -8px -15px -8px -8px;
    background-color: rgb(230, 210, 234) !important;
    color: rgb(169, 146, 174) !important;
}
