/* Dropdown Button */
#myDropdown {
  background-image: url('../img/logo.png');
  background-position-x: right;
  background-position-y: bottom; 
  background-repeat: no-repeat;
  z-index: 999;
}
.dropbtn {
  background-color: #f8e9fe;
  color: #333;
  height: 37px;
  line-height: 37px;
  padding: 0 75px 0 38px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  position: relative;
  text-align: left;
}
.dropbtn:before{
  content: "";
  position: absolute;
  width: 5px;
  height: 18px;
  background:url('../img/ico_bullets.png') center no-repeat;
  top:9px;
  left: 17px;
}
.dropbtn:after{
  content: "";
  position: absolute;
  width: 11px;
  height: 7px;
  background:url('../img/ico_arrow.png') center no-repeat;
  top:17px;
  right: 17px;
}

.user-dropbtn{
  /*width: 120px;*/
  background: none;
  border:0;
  height: 25px;
  line-height: 25px;
}
.user-dropbtn:before{
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  background:url('../img/ico_human.png') center no-repeat;
  top:3px;
  left: 5px;
}
.user-dropbtn.logged:after{
  content: "";
  position: absolute;
  width: 11px;
  height: 7px;
  background:url('../img/ico_arrow.png') center no-repeat;
  top:10px;
  right: 10px;
}

.user-dropbtn .btext { 
  margin-left: 24px; 
  margin-right: 5px;
  display: block;
}
.user-dropbtn.logged .btext { 
  margin-right: 24px;
  text-transform: capitalize; 
}

/* Dropdown button on hover & focus .dropbtn:focus*/
.dropbtn:hover  {
  background-color: #ae45de; 
}

.on {
background-color: #ae45de !important;
}

.dropbtn  {
background-color: #f8e9fe;
}

.off:hover {
background-color: #ae45de;
}

.off:focus {
background-color: #f8e9fe;
}


/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content,.profile-content{
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2;
}
.dropdown-content{
  background: #fff;
  top:39px;
}
.profile-content{
  min-width: 200px;
}
/* Links inside the dropdown */
.dropdown-content a,.profile-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover,.profile-content a:hover {background-color: #ddd}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/* main menu */
.menucol{
  width: 250px;
  float: left;
  border-right: 1px solid #ddd;
  background-color: #f4f4f4; 
  padding: 20px 0; 
}
.menucol ul.main_menu li.active a { color:#621076 !important;  }
.desc-col{
  width: calc(100% - 251px);
  float: left;
  padding: 30px;
  padding-bottom: 0;
}
ul.main_menu,ul.sub_main_menu{
  list-style: none;
  margin-bottom: 0;
}
ul.main_menu li a{
  padding: 5px 15px 5px 30px;
  display: block;
  line-height: 20px;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  background-color: #f4f4f4;
}
ul.main_menu li a:hover{
  background-color: #f4f4f4;
  color: #621076 !important;
}

.detail_menu{
  display: none;
}
.show{
  display: block;
}
.subrow {
    margin-left: -15px;
}
.sub_menu{
  padding: 30px 0 20px;
}
ul.sub_main_menu li{
  margin: 3px 0;
}
ul.sub_main_menu li a{
  background: #f4f4f4;
  line-height: 25px;
  padding: 5px 15px;
  font-size: 14px;
}
ul.sub_main_menu li a:hover{
  background: #d5abe9;
}

.desc_menu, .desc_menu h3, .desc_menu p{
    font-size: 14px;
    line-height: 25px;
    color: inherit;
}

.desc_menu a {
  padding: 0;
}
.desc_menu a:hover {
  background: none;
}

.desc_menu h3 {
  font-size: 18px;
}

.desc_menu img{
  float: left;
  margin-right:30px;
}

@media (max-width:991px) {
  .desc-col {
    width: calc(100% - 198px);
    padding: 15px;
  }
  .menucol {
    width: 198px;
  }
  .sub_menu {
    padding: 15px 0 15px;
  }
  .desc_menu img {
    float: none;
    width: 100%;
  }
  .desc_menu h3 {
    margin-top: 2rem;
  }
  .sub_menu {
    padding: 0;
    overflow-y: scroll;
    max-height: 350px;
  }
}

@media (max-width: 767px) {
  .categorybox{
    margin-top: 20px;
  }
  .dropdown{
    width: 100%;
  }
  .dropbtn {
    width: 100%;
  }
  .dropdown-content,.menucol {
    width: 100%;
  }
  .profile-content {
    right: 0;
    min-width: 135px;
  }
  .profile-content a {
    text-align: right;
  }
}

@media (min-width: 768px) and (max-width:1199px){
    .dropbtn { padding: 0 65px 0 38px; }
}