:root {
    --tp-white: #fefefe;
    --tp-black: #010101;
}

/* #strength-bar {
    background-color: #dcdcdc;
    height: 20px;
    width: 100%
    margin-top: -10px;
    margin-left: 0px;
} */
.sidebar-header {
    background: transparent;
    color: #f1f1e6 !important;
    padding: 1.5rem 1.5rem 0.375rem;
    /*font-size: 14px !important;*/
}

.sidebarhr {
    border-top: 1px solid #ccc !important;
    background-color: unset !important;
    margin: 0px;
    border-top-color: #ccc;
    border-top-style: solid;
}

.rounded-full {
    border-radius: 9999px;
}
.w-8 {
    width: 2rem;
}
.h-8 {
    height: 2rem;
}
.rounded-full {
    border-radius: 9999px;
}
img,
video {
    max-width: 100%;
    height: auto;
}

.logo {
    width: 180px;
    margin-left: -10px;
}

.about-list {
    font-size: 13px;
}

.user-avatar {
    width: 50px;
    border-radius: 50%;
    border: solid 1px #cfcfcf;
}

.device-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #7e7e7e;
    background-color: #cfcfcf;
    text-align: center;
    margin-right: 10px;
    padding-top: 8px;
}

.device-icon svg {
    width: 25px;
    height: 25px;
}

.full-width {
    width: 100% !important;
}

.pull-right {
    float: right !important;
}

.old {
    background-color: #fff3cd !important;
    /*color: #b31d28 !important;*/
    text-decoration: line-through !important;
}

.new {
    background-color: #cff4fc !important;
    /*color: #22863a !important;*/
}

/*
.btn-primary:hover{
    background-color: #333;
}
*/

.feather {
    margin-bottom: 2px !important;
}

.select2-container {
    width: 100% !important;
    padding: 0;
    margin-bottom: 5px;
}

.nav-tabs {
    border-bottom: 1px solid #eee !important;
}

.nav-tabs .nav-link.disabled {
    background-color: #e5e5e5 !important;
    border-color: #ddd !important;
    color: #999;
}

.ma-disabled {
    color: #999 !important;
    background-color: #e5e5e5 !important;
    cursor: not-allowed !important;
}

.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #212529;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem
        rgba(var(--bs-btn-focus-shadow-rgb), 0.5);
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_desc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:before {
    bottom: 1em;
    display: block;
    opacity: 0.3;
    position: absolute;
}

.loading-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    background-color: #000;
    opacity: 0.5 !important;
}

.card {
    border-radius: 2px !important;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16) !important;
}

/* ----------------- SIMON ADDED HERE ----------------- */

.bg-orange{
    background-color: #fd7e14;
}

.bottom {
    right: 0;
    z-index: 1000;
	box-sizing: border-box;
    padding: 15px 22px;
	margin-bottom: 25px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px); /* For Safari */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#sidebar{
	z-index: 4;
}

.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}



#status-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out;
}
#status-popup.hidden {
    display: none;
    opacity: 0;
}
#status-popup.success {
    background-color: #4CAF50; /* Green */
}
#status-popup.error {
    background-color: #f44336; /* Red */
}
#status-popup.warning {
    background-color: #ff9800; /* Orange */
}




#popUp {
    display: none; /* The key: ensures it's hidden by default */
    position: fixed;
    z-index: 1000; /* High z-index to ensure it is on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Semi-transparent overlay */
}

.pop-up-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Adjust width to your preference */
    text-align: center;
    border-radius: 8px;
}

.pop-up-content p {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.close-btn {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
	margin-top: -12px;
}

.pop-up-actions button {
    margin: 5px;
}

.round{
	border-radius: 19px !important;
	margin-bottom: 0 !important;
}

.choices_inner{
    padding: 0.5rem;
}

.form-control::placeholder {
  opacity: 0.5 !important;
  font-style: italic;
  color: #999;
}

.date-placeholder::placeholder {

  font-style: italic; /* italic text */
  color: #999;        /* grey */
}


.card-body-flex{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.client-width{
    width: fit-content;
}

.content-box{
    display: none;
    /* margin-top: 20px; */
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 100%;
    width: 100%;
}

.content-box-show{
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 100%;
    width: 100%;
    /* padding: 20px; */
}

.brief-header-launch{
    width: 100%;
    background-color: #FFA500;
    padding: 7px;
    padding-left: 22px;
}

.brief-header-wordpress{
    width: 100%;
    background-color: #59B7FF;
    padding: 7px;
    padding-left: 22px;
}

.brief-header{
    width: 100%;
    padding: 7px;
    padding-left: 22px;
}

/* .brief-layout{
    padding: 17px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    column-gap: 5rem;
    column-gap: 2rem;
} */

.span-two{
    grid-column: span 2;
}

textarea {
  width: 300px;
  height: 150px;
  font-size: 16px;
  padding: 10px;
}

.thin-line{
    grid-column: span 2;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.brief-layout-footer-header {
    padding-top: 15px;
}

.brief-layout-footer-body {
    /* padding: 0px 17px; */
    display: flex;
    justify-content: space-between;
    column-gap: 5rem;
    column-gap: 2rem;
}

.brief-layout-footer-body-two {
    /* padding: 0px 17px; */
    width: 100%;
}

.wordpress-body{
    display: flex;
    justify-content: space-between;
    padding: 17px;
    gap: 2rem;
}

.col1-wordpress{
    width: 100%;
    height: 100%;
}
.col2-wordpress{
    width: 100%;
}

#popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
#popupContent {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    margin: 15% auto;
    text-align: center;
}

#date-briefed, #date, #launch_utm_date {
    outline: none;
    border: 0px solid;
    /* padding: 5px; */
    border-radius: 4px;
}

.choices{
    width: 100%;
    z-index: 100;
}

.form-selector .form-control{
    background-color: #f9f9f9;
}

.width textarea{
    height: 49px;
}

#setDateBtn,
#setTimeBtn,
.setTimeBtn {
    background-color: #005f75;
    transition: background-color 0.3s ease;
}

#setDateBtn:hover,
#setTimeBtn:hover,
.setTimeBtn:hover {
    background-color: #007a8c;
}

/* ----------------- SIMON ADDED HERE ----------------- */

.btn-txt {
    font-size: 11px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.nav-tabs .nav-link {
    background: #eee;
    border: 1px solid transparent;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
    margin-bottom: -1px;
    margin-right: 3px;
    border-bottom: #fff 0px solid;
}

.tab-content {
    border-left: #dee6ed 1px solid;
    border-right: #dee6ed 1px solid;
    border-bottom: #dee6ed 1px solid;
    border-top: #fff 0px solid;
    background-color: #fff;
    padding: 20px 20px 20px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: #fff;
    color: #333;
}

.mt-5 {
    margin-top: 2rem !important;
}

.shadowbox {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
    /*z-index: 200 !important;*/
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-header {
    line-height: 32px;
}

.content {
    padding: 1rem 2.5rem 1.5rem;
}

h3.card-header {
    font-size: 20px;
}

.sa > :not(caption) > * > * {
    padding: 0.2rem;
    border-color: #eee !important;
    text-align: left;
}

table {
    margin-bottom: 0px !important;
    font-size: 13px !important;
}

/* .card-header {
    background-color: rgba(0, 0, 0, .1);
} */

::-ms-input-placeholder {
    /* Edge 12-18 */
    font-size: 13px !important;
    color: #777 !important;
}

::placeholder {
    font-size: 13px !important;
    color: #777 !important;
}

.form-control,
label {
    -webkit-transition: color 1s, font-size 1s;
    -moz-transition: color 1s, font-size 1s;
    -o-transition: color 1s, font-size 1s;
    transition: color 1s, font-size 1s;
}

.fc-edit {
    background-color: #fff !important;
    border: #fff 1px solid !important;
    /*color:blue !important;*/
    padding-left: 0px !important;
    font-weight: bold;
    font-size: 18px !important;
    padding: 0rem !important;
    pointer-events: none;
}

.billing-small-label {
    color: #ccc !important;
    padding-left: 0px !important;
    font-size: 12px !important;
}

.config-small-label {
    color: #ccc !important;
    padding-left: 0px !important;
    font-size: 12px !important;
}

.sidebar-item.active .sidebar-link:hover,
.sidebar-item.active > .sidebar-link {
    color: #2edaff !important;
}

.sidebar-item:hover {
    background-color: #222;
}
.mbuttonz {
    width: 31%;
    margin: 2px;
    font-size: 10px;
}

.dteCCc {
    width: 300px;
    color: rgb(6, 29, 63);
    font-family: proxima-nova, sans-serif;
    font-size: 24px;
    line-height: 29px;
    margin-top: 17px !important;
}

.btn .feather {
    .btn .feather {
        height: 18px !important;
        width: 18px !important;
        margin: 1px;
        padding: 1px;
    }
}
.small,
small {
    font-size: 70%;
    color: #999;
}
thead tr th {
    border-bottom: 1px solid #333 !important;
}
tfoot tr th {
    border-top: 1px solid #333 !important;
}

th {
    text-transform: uppercase;
    font-size: 90%;
    opacity: 0.9;
    background-color: #f5f5f5 !important;
    color: #000 !important;
}
.alert {
    padding: 15px;
}
.fa-solid,
.fas,
.fa-brands {
    font-size: 18px !important;
    margin-right: 5px;
}
h3,
.h3 {
    /* margin-bottom: 0.5rem !important; */
    margin-top: 0.5rem !important;
}
.form-label {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    color: #ccc;
    margin-bottom: 0px;
}
.btn-sm {
    border-radius: 0.2rem !important;
}

a.btngroup-border-right {
    border-right-style: solid !important;
    border-right-width: 1px !important;
    border-right-color: #fff !important;
}

.dataTable > tbody > tr,
.dataTable > tbody > td {
    height: 42px !important;
}
.navbar {
    border-bottom: 0;
    box-shadow: 0 0 2rem 0 rgba(41, 48, 66, 0.3);
}

.column-adapt {
    display: flex;
    align-items: center;
    margin-top: -14px !important;
}
#health .feather {
    color: #999 !important;
    width: 20px;
    height: 20px;
    margin-top: -40px !important;
    stroke-width: 4;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 32px !important;
}

.select2-container--default.select2-container--open.select2-container--below
    .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below
    .select2-selection--multiple {
    height: 32px !important;
}

.select2-container .select2-selection--single {
    height: 32px !important;
}

body {
    color: var(--tp-black);
    background-color: var(--tp-white);
}

.tp_white {
    color: var(--tp-white);
}

.tp_black {
    color: var(--tp-black);
}

.stepper {
    margin-left: 20px;
    padding: 20px;
    display: flex;
    padding: 0;
    width: calc(100% - 30px);
    list-style: none;
    position: relative;

    &::before {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        content: "";
        width: calc(100% - 20px);
        background: #d4f1f4;
    }
}

.stepper__item {
    font-weight: bold;
    flex: 100%;
    padding: 20px 20px 20px 40px;
    background: #d4f1f4;
    margin: 0 0 0 -19px;
    clip-path: polygon(
        20px 50%,
        0% 0%,
        calc(100% - 20px) 0%,
        100% 50%,
        calc(100% - 20px) 100%,
        0% 100%
    );

    -webkit-clip-path: polygon(
        20px 50%,
        0% 0%,
        calc(100% - 20px) 0%,
        100% 50%,
        calc(100% - 20px) 100%,
        0% 100%
    );

    &.current {
        background: #05445e;
        color: #fff;
    }

    &.complete {
        background: #05445e;
    }

    &:first-child {
        padding: 20px;
        clip-path: polygon(
            0% 0%,
            calc(100% - 20px) 0%,
            100% 50%,
            calc(100% - 20px) 100%,
            0% 100%
        );
        -webkit-clip-path: polygon(
            0% 0%,
            calc(100% - 20px) 0%,
            100% 50%,
            calc(100% - 20px) 100%,
            0% 100%
        );
    }
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
}
#rules {
    font-size: 11px;
    color: red;
    line-height: 13px;
}



/* --- Media Query for Creating a Brief --- */

@media (max-width: 500px) {

    .card-body-flex{
        display: flex;
        flex-direction: column;
        /* justify-content: space-between; */
        /* gap: 25px; */
    }

    .width{
        width: 100%;
    }

    .wrap{
        flex-wrap: wrap;
    }

    .brief-layout-footer-body{
        display: none;
    }

    .container-fluid{
        padding: 0;
    }

    .container {
        padding: 0;
    }

    .brief-layout{
        display: block;
    }

    .content {
        padding: 20px;
    }

    .wordpress-body{
    display: flex;
    flex-direction: column;
    padding: 17px;
    gap: 2rem;
}
}

@media print {
	/* Existing print styles */

    body::before, body::after {
        display: none !important;
    }

    /* Hide the header and footer */
    @page {
        margin: 1cm;
        size: A4;
    }

    /* Webkit-specific properties to remove header/footer */
    body {
        -webkit-print-color-adjust: exact;
        /* color-adjust: exact; */
        print-color-adjust: exact;
		margin: 0 !important;
        padding: 0 !important;
    }

    /* Hide the text in the header and footer */
    body::before, body::after {
        display: none !important;
    }

	/* Force background colors to be printed */
    .brief-header-launch,
    .brief-header-wordpress {
        -webkit-print-color-adjust: exact;
        /* color-adjust: exact; */
        print-color-adjust: exact;
    }

    /* Target the main container of the content you want to print */
    .container {
        width: 100% !important; /* Force the container to 100% of the viewport width */
        max-width: 100% !important; /* Ensure it doesn't get limited by a max-width */
        padding: 0 !important; /* Remove any padding from the container */
        margin: 0 !important; /* Remove any margins from the container */
    }

    /* Adjust the card to fill the space if needed */
    .card {
        box-shadow: none !important; /* Remove the shadow for printing */
        border: none !important; /* Remove the border if you don't want it */
    }

    /* This will ensure the columns take up the whole width too */
    .col-md-5.width {
        width: 47% !important;
    }
	.col-md-3 {
        width: 100% !important; /* Forces the element to take up the full width */
        float: none !important; /* Prevents floating that might cause side-by-side placement */
        clear: both !important; /* Ensures the element starts on a new line */
    }
	.col-md-4 {
        width: 47% !important;
        float: none !important;
        clear: both !important;
    }
	.col-md-5 {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
	.col-md-6 {
        width: 47% !important;
        float: none !important;
        clear: both !important;
    }
	.col-md-12 {
        width: 100% !important; /* Forces the element to take up the full width */
        float: none !important; /* Prevents floating that might cause side-by-side placement */
        clear: both !important; /* Ensures the element starts on a new line */
    }
}

.parent .row {
	margin-right: 0px;
}

.bg-soft-gray {
    background-color: #818487 !important;
}