/* 
This file contains the CSS styles for the top bar plugin, defining the layout, colors, and fonts used in the top bar. 
*/

body {
    margin: 0;
}

/* Add a wrapper for WordPress content */
body.admin-bar {
    margin-top: 0;
}

#page, #masthead, .site {
    position: relative;
    z-index: 1; /* Ensure content stays below topbar */
}
#masthead{
	z-index:99;
}
.bwt-topbar-plugin {
    position: relative; /* Changed from fixed to relative */
    width: 100%;
    color: #fff;
    z-index: 999999; /* Increase z-index to ensure it's above WP admin bar */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
	 
}

/* Admin bar adjustment */
.admin-bar .bwt-topbar-plugin {
    margin-top: 0px; /* Changed from top to margin-top */
}
@media screen and (min-width : 768px) and (max-width : 1920px) {
	.bwt-topbar-plugin {
		   position: fixed !important;
	}
	
}
@media screen and (max-width: 767px) {
    .bwt-topbar-plugin-content {
        display: block !important;
        padding: 0px 15px 14px 15px !important;
		font-size: 15px;
    }
}
@media screen and (min-width : 768px) and (max-width : 991px) {
  .bwt-topbar-plugin #bwt-theme-button, .bwt-topbar-plugin a#bwt-cta-button {
      padding: 4px 20px !important;
      width: 20% !important;
  }
}



.bwt-topbar-plugin-content {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  	gap:20px;
    align-items: center;
    padding: 0 20px;
    text-align: center;
}

.bwt-topbar-plugin h1 {
    font-size: 24px;
    margin: 0;
    flex: 1;
    text-align: center;
    padding: 0;
}

#bwt-cta-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    right: 20px;
}

#bwt-cta-button:hover {
    background-color: #0056b3;
    text-decoration: none;
    color: #fff;
}
.bwt-topbar-plugin-content h3 {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}
.bwt-topbar-plugin{
	background-color:#5e2ced !important;
}
.bwt-topbar-plugin {
    background-color: #5e2ced !important;
    box-shadow: 0 -7px 13px rgba(0, 0, 0, 0.40), 0 3px 6px rgba(0, 0, 0, .60);
}
.bwt-topbar-plugin a#bwt-cta-button{
	border: 1px solid #f0b425;
}
.bwt-topbar-plugin a#bwt-cta-button:hover {
    border: 1px solid #f0b425;
  	color:#fff !important;
    background: transparent !important;
}
.bwt-topbar-plugin #bwt-theme-button{
	border: 1px solid #ffffff !important;
}
.bwt-topbar-plugin #bwt-theme-button:hover{
	border: 1px solid #ffffff !important;
  	color: #fff !important;
  	background: transparent !important;
}
.bwt-topbar-plugin #bwt-theme-button,.bwt-topbar-plugin a#bwt-cta-button{
    padding: 4px 20px !important;
}

/* new */
.bwt-topbar-plugin #bwt-theme-button, .bwt-topbar-plugin a#bwt-cta-button{
	white-space: nowrap !important;
}

/* new end */

@media screen and (min-width: 768px) and (max-width: 1023px) {
.bwt-topbar-plugin-content {
    width: 100%;
    margin: 0 auto;
    gap: 8px;
    padding: 0 8px;
}
}