#searchq{
    background-color: transparent;
    border: 1px solid rgba(255,255,255,.3);
    border-right: 0px;
    border-radius:  3px  0px  0px 3px;
    height: 28px;
    line-height: 28px;
    color: white;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
    width: 295px;
}
#btn_search{
    margin-left: -6px;
    height: 28px;
    position: relative;
    top: -5px;
    width: 28px;
    background-color: transparent;
    border: 0;
    font-size: 0;
    background-image: url('../images/rwd-button-search-white.png');
}
#search-wrapper{
    float: right;
    margin-top: 5px;
    display: inline-block;
}

.mobile-menu-wrapper{
    position: absolute;
    right: 0;
    top: 0;
    background-color: #272727;
    width: 100%;
    max-width: 300px;
    z-index: 9999;
    height: 100vh;
    display: none;
    overflow-y: scroll;
    overflow-x: hidden;
}
.mobile-menu-wrapper li{
    list-style-type: none;
}

.mobile-sub-trigger {
    background: transparent;
    border: 0;
    color: rgb(255, 255, 255);
    display: block;
    padding: 12px 0;
}
.mobile-menu-wrapper > ul > li > a, .mobile-menu-wrapper li .ae-dropdown-toggle{
    color: white;
    padding: 14px 0 14px 18px;
    display: block;
    text-transform: uppercase;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-left: 15px;
}
.mobile-menu-wrapper > ul > li > a:hover, .mobile-menu-wrapper li .ae-dropdown-toggle:hover{
    text-decoration: none;
}
.mobile-menu-wrapper > ul > li:last-child> a, .mobile-menu-wrapper li:last-child .ae-dropdown-toggle{
    border-bottom: 0px;
}
.mobile-menu-wrapper > ul > li:first-child> a{
    border-top: 1px solid rgba(255,255,255,.1);
}

.mobile-menu-wrapper .ae-dropdown-menu{
    display: none;
}
.mobile-menu li{
    position: relative;
}
.mobile-menu > li > span:after, .mobile-menu > li:first-child > a:after{
    display: block;
    content: " ";
    width: 12px;
    height: 7px;
    background-image: url("/sites/stem/themes/custom/stem/images/down-chevron.png");
    position: absolute;
    top: 20px;
    right: 20px;
}
.mobile-menu > li:first-child > a:after{
    background-image: url("/sites/stem/themes/custom/stem/images/home-white.gif");
    width: 16px;
    height: 17px;
    top: 16px;
    right: 15px;
    transform: scale(.8);
    transform-origin: left top;
}
.mobile-menu-wrapper .divider{
    display: block;
    width: calc(100% + 30px) !important;
    height: 0px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-left: -15px;
}

.sub-expand.mobile-icon {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    margin-left: -10px;
    margin-right: 10px;
}
.mobile-sub-menu.sub-expand .divider {
    border-bottom: .5px dotted rgba(255,255,255,.7);
    height: 1px;
}

.mobile-sub-menu.sub-expand i.mobile-icon {
    display: none;
}

.mobile-menu-wrapper input[type=text]{
    margin-left: 15px;
    margin-top: 16px;
    margin-bottom: 20px;
    width: calc(100% - 30px);
    box-sizing: border-box;
    padding: 8px;
    border: 0px;
    border-radius: 2px;
    font-size: 11px;

}
.mobile-menu-close-btn{
    background: none;
    border: 0;
    padding: 0;
    color: #d7d7d7;
    line-height: 20px;
    vertical-align: middle;
    float: right;
    margin-top: 13px;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 14px;
}
.mobile-menu-close-btn img{
    margin-top: -3px;
}
.mobile-menu-wrapper li.menu-open .ae-dropdown-menu{
    display:block;
    box-shadow: inset 10px 13px 8px -9px rgba(0, 0, 0, .2);
    background-color: #3f3f3f;
}

.mobile-menu-wrapper .ae-dropdown-menu li{
    /*! background-color: #3f3f3f; */
    padding: 20px;
    padding-top: 0px;
    padding-bottom: 6px;
    color: white;
}

.mobile-menu-wrapper .ae-dropdown-menu li a{
    color: white;
    border-bottom: 1px dotted #fff;
    line-height: 45px;
    display: block;
}

.mobile-menu-wrapper li {
    width: 100% !important;
}
.mobile-menu-wrapper .mobile-sub-menu {
    background-color: #424242 !important;
    display: none;
    padding: 5px 22px !important;
}

.mobile-sub-menu.sub-expand {
    display: block;
    height: auto;
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.4s ease;
    visibility: visible;
    margin-bottom: 15px;
}

.mobile-sub-menu {
    height: 0;
    opacity: .1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease, .3s opacity ease;
    width: 100%;
    border-bottom: unset !important;
    margin-left: 5px !important;
    visibility: hidden;
}

.mobile-sub-menu li {
    margin: 0;
    padding: 0 !important;
    border-left: none;
    white-space: normal !important;
}

.mobile-sub-menu li a {
    line-height: 18px !important;
    font-size: 14px;
    display: block;
    min-height: 0 !important;
    margin: 10px 0;
    font-weight: 300;
    color: rgba(255, 255, 255, .85);
}

.mobile-menu-wrapper .mobile-sub-menu li a {
    line-height: 40px;
    padding: 0 !important;
    text-decoration: none;
}

.mobile-menu-wrapper .mobile-sub-menu li.divider {
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-menu-wrapper .mobile-sub-menu li.divider:first-child {
    display: none;
}



.mobile-menu-wrapper .ae-dropdown-menu {
    background-color: #424242 !important;
}
.mobile-menu-wrapper .ae-dropdown-menu li a:hover{
    color: white !important;;
}
.mobile-menu-wrapper .ae-dropdown-menu li:last-child a{
    border-bottom: 0px solid transparent;
}

.mobile-menu > li.menu-open > span::after{
    transform: rotate(180deg);
}
.mobile-nav-icon{
    background-image: url('../images/nav-icon-white.png');
    border: 0;
    height: 40px;
    width: 75px;
    background-color:transparent;
    float: right;
    display: none;
}

.btn-mobile-search{
    background-image: url('../images/icon-search.png') !important;
    width: 40px;
    height: 32px;
    background-color: transparent;
    border: 0px solid transparent;
    float: right;
    margin-top: -52px;
    margin-right: 15px;
    position: relative;
    z-index: 2;
    font-size: 0px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 0;
    border-radius: 0px 0px 0px 0px;

}

.btn-mobile-search:hover{
    background-color: rgba(0,0,0,.4);
}
#mobile-menu-area-footer.mobile-menu-wrapper{
    position: static;
    top: initial;
    width: 100%;
    max-width: none;
}
#mobile-menu-area-footer .mobile-menu-close-btn{
    display: none;
}

.mobile-menu-wrapper-open{
    display: block;
}

.mobile-menu-wrapper .focus-control {
    padding: 0 0 0 15px !important;
}
@media screen and (max-width: 1023px) {
    .mobile-nav-icon{
        display: inline-block;
    }

    #mobile-menu-area-footer{
        display: block;
    }
}

.mobile-menu-wrapper ul.ae-navbar-nav {
    position: relative !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    font-weight: 200 !important;
    display: block !important;
}

.mobile-menu-wrapper ul.ae-navbar-nav a {
    color: #fff;
    width: 100%;
    border-bottom: 0 !important;
    min-height: 46.93px;
    height: auto;
    white-space: normal;
}

.mobile-menu-wrapper input[type="text"] {
    margin-bottom: 0 !important;

}

.mobile-icon {
    font-size: 16px !important; padding-right: 4px;
    transform: rotate(0deg);
}

.mobile-icon.fa-link, .mobile-icon.fa-home {
    font-size: 14px !important;
    padding-right: 2px !important;
}

.second-mobile-link a .mobile-icon{
    margin-right: 6px;
}

.second-mobile-link {
    padding-bottom: 0 !important;
}

.arrow-sub {
    padding-right: 10px;
    font-size: 20px !important;
}

.mobile-menu-wrapper .search-tool-box input {
    background: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    float: none;
    width: 90%;
    margin-bottom: 12px;
    height: 30px;
    font-size: 12px !important;
}

.mobile-menu-wrapper #search_btn_search2 {
    background: url('/application/themes/sociology/images/rwd-button-search-white.png') no-repeat right;
    border: 0;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    float: right;
    height: 28px;
    margin: 0 auto;
    position: absolute;
    right: 22px;
    text-indent: -9999px;
    text-transform: capitalize;
    top: 17px;
    width: 34px;
}

.has-tabbed .mobile-menu-wrapper .search-tool-box input:focus,
.has-tabbed .mobile-menu-wrapper #search_btn_search2:focus {
    outline: 2px dotted green;
}

.browser-firefox .mobile-menu-wrapper .search-tool-box input:focus {
    outline: 2px dotted #ffffff;
}

.mobile-menu-wrapper .search-tool-box {
    margin-bottom: 12px !important;
}

.mobile-menu-dark-screen {
    background-color: transparent;
    transition: .5s background-color linear;
}

.mobile-menu-dark-screen.mobile-menu-open {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,0,.9);
    transition: .5s background-color linear;
}

.has-tabbed .mobile-menu-wrapper button:focus,
.has-tabbed .mobile-menu-wrapper a:focus { outline: 2px dotted #ffffff; }