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

.ot-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 .ot-topbar {
    margin-top: 0px; /* Changed from top to margin-top */
}

@media screen and (max-width: 767px) {
    .ot-topbar-content {
        display: block !important;
        padding: 0px 15px 14px 15px !important;
    }
}
@media screen and (min-width : 768px) and (max-width : 991px) {
  .ot-topbar #ot-theme-button, .ot-topbar a#ot-cta-button {
        padding: 4px 20px !important;
        width: 23% !important;
  }
}



.ot-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;
}

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

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

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