/* 
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 */
}

.wpr-topbar {
    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 .wpr-topbar {
    margin-top: 0px; /* Changed from top to margin-top */
}
@media screen and (min-width : 320px) and (max-width : 558px) {
	.wpr-topbar {
		min-height: 100px !important;
	}
	#sidebar1 {
          top: 100px;
	}
}
@media screen and (min-width : 559px) and (max-width : 767px) {
	.wpr-topbar {
		min-height: 80px !important;
	}
}
@media screen and (min-width : 768px) and (max-width : 991px) {
	.wpr-topbar {
		min-height: 54px !important;
	}
}
@media screen and (max-width: 767px) {
    .wpr-topbar-content {
        display: block !important;
        padding: 0px 15px 14px 15px !important;
    }
}
@media screen and (min-width : 768px) and (max-width : 991px) {
  .wpr-topbar #wpr-theme-button, .wpr-topbar a#wpr-cta-button {
        width: 30% !important;
	   padding: 4px 10px !important;
  }
}

.admin-bar .wpr-topbar-content {
    top: 32px;
}

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

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

#wpr-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;
}

#wpr-cta-button:hover {
    background-color: #0056b3;
    text-decoration: none;
    color: #fff;
}
.wpr-topbar-content h3 {
    font-size: 14px !important;
    color: #fff;
    font-weight: 500 !important;
    font-family: "Open Sans", sans-serif !important;
}
.wpr-topbar{
	background-color:#5e2ced !important;
}
.wpr-topbar {
    background-color: #5e2ced !important;
    box-shadow: 0 -7px 13px rgba(0, 0, 0, 0.40), 0 3px 6px rgba(0, 0, 0, .60);
}
.wpr-topbar a#wpr-cta-button{
	border: 1px solid #f0b425;
}
.wpr-topbar-content {
    position: fixed;
    width: 100%;
    max-width: 100%;
    background-color: #0000ff !important;
    min-height: 50px;
    box-shadow: 0 -7px 13px rgba(0, 0, 0, 0.40), 0 3px 6px rgba(0, 0, 0, .60);
	top:0;
}
.wpr-topbar a#wpr-cta-button:hover {
    border: 1px solid #f0b425;
  	color:#fff !important;
    background: transparent !important;
}
.wpr-topbar #wpr-theme-button{
	border: 1px solid #ffffff !important;
}
.wpr-topbar #wpr-theme-button:hover{
	border: 1px solid #ffffff !important;
  	color: #fff !important;
  	background: transparent !important;
}
.wpr-topbar #wpr-theme-button,.wpr-topbar a#wpr-cta-button{
    padding: 4px 18px !important;
  	font-family: "Open Sans", sans-serif !important;
}

@media screen and (min-width: 992px) and (max-width: 1199px){
	
	.wpr-topbar #wpr-theme-button, .wpr-topbar a#wpr-cta-button {
		        padding: 4px 10px !important;
        width: 15%;
	}
	
	
}