/*
Theme Name: WMD Theme
*/

/*html :where(img){height:inherit;max-width:none;}*/
body{
	margin:0;
}

header#theme-header {
  background: #fff;
    height: auto;
    padding-top: 0;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.container {
    max-width: 1170px;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.content-part-area {
  font-size: 16px;
  line-height: 24px;
 padding: 10px 0;
}
.content-part-area h1 {
          font-size: 36px; 
          font-weight: bold;
          text-align: center;
          line-height: 45px;
        }

.content-part-area h2 {
      font-size: 30px; 
      font-weight: bold; 
      line-height: 40px;
    }

     .content-part-area h3 {
      font-size: 25px; 
      font-weight: bold; 
      line-height: 35px;
    }

    .content-part-area h4 {
      font-size: 20px; 
      font-weight: bold; 
      line-height: 30px;
    }

   .content-part-area h5 {
      font-size: 18px; 
      font-weight: bold; 
      line-height: 28px;
    }
     .content-part-area h6 {
      font-size: 16px; 
      font-weight: bold; 
      line-height: 25px;
    }

.content-part-area p {
    font-size: 18px;
    margin: 0;
    margin-bottom: 25px;
    line-height:25px;
}

.content-part-area ol {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 15px;
}

.content-part-area ul {
    font-size: 18px;
    line-height: 30px;
    display: block;
    list-style: disc;
    margin-bottom: 15px;
}

.content-part-area table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-part-area table td {
    border: 1px solid #000;
    padding: 15px;
    font-size: 18px;
}
.content-part-area dl {
    font-size: 18px;
    margin: 20px;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.content-part-area dt {
    font-weight: bold;
    margin: 10px 0 5px;
    padding: 10px;
    background-color: #eee;
    border-bottom: 1px solid #ddd;
}
dd {
    margin-left: 1.5rem;
}
.content-part-area a {
    font-size: 16px;
}

li.menu-item-has-children:after {
    content: "\f078";
    font-family: "fontAwesome";
    color: #000000;
    font-size: 12px;
    top: 2px;
    font-weight: bold;
    right: -14px;
}

li.menu-item-has-children .sub-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 6px 30px;
    margin: 0;
    opacity: 0;
    background: #f8f8f8;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99;
    width: 170px;
}
li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

}
div#hamburger-menu {
    position: absolute;
    height: 25px;
    width: 25px;
    background: #414141;
    right: 20px;
    top: 11px;
    border: 1px solid #c4c2c2;
    border-radius: 8px;
    padding: 8px;
	display: none;
}
.bar {
    height: 1px;
    width: 100%;
    background: #fff;
    padding: 1px;
    margin: 4px 0;
}
.main-menu ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #000;
	padding: 0 15px;
}
.main-menu ul li {
    list-style: none;
    float: inline-start;
}
.main-menu > ul li a{
	padding: 0px 0px 0px 22px;
}
.sub-menu li a {
    padding: 0 !important;
}
.sub-menu li {
    padding: 6px 0;
}
p.footer-text {
    text-align: center;
}
p.footer-text a {
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
table.campaign-compact-table td {
    border: none;
}
.campaign-compact-table ul li {
    list-style: none;
}
.aligncenter {
    display: flex;
    margin: auto;
}

.menu-item-has-children .submenu-toggle {
    content: "\f078";
    font-family: "FontAwesome";
    color: #000000;
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 12px;
    cursor: pointer;
}
img.custom-logo {
    max-width: 250px;
    width: 100%;
    height: 80px;
}
center {
    padding-top: 33px;
}
@media (max-width: 768px) {
    .main-menu ul {
        display: none;
        flex-direction: column;
        background: #fff;
        max-width: 390px;
		width:97%;
        padding: 10px 0;
		position: absolute;
        left: 9px;
        top: 42px;
    }
	li.menu-item-has-children:after {
		display:none;
	}
	.menu-item-has-children .submenu-toggle {
    content: "\f078";
    font-family: "FontAwesome";
    color: #000000;
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 12px;
    cursor: pointer;
		padding: 3px;
        border-left: 2px solid #000;
        border-bottom: 2px solid #000;
        rotate: 315deg;
}
	nav#main-nav.menu-active .main-menu ul {
        display: flex;
        flex-direction: column;
    }
	
    div#hamburger-menu {
        display: block;
        cursor: pointer;
    }
	.main-menu ul li{
		position: relative;
		line-height:32px;
	}
	li.menu-item-has-children:after{
		position:absolute;
		right:4px;
	}
	li.menu-item-has-children .sub-menu{
		position: relative;
    	top: 0px;
  	  	max-width: 366px;
		width:95%;
    	visibility: visible;
    	opacity: 1;
		transform:none;
	}
	li.menu-item-has-children:hover .sub-menu {
		 transform: none;
	}
	

	

    nav#main-nav.menu-active .main-menu ul {
        display: flex;
    }


}