@media only screen and (max-width: 40em) {
    .h3 {
        font-size: 1.4em;
    }
    .row .row.collapse, .row .row {
        margin-bottom: 0;
    }
    .header {
        min-height: inherit;
    }
    .top-bar {
        margin-top: 0;
        background: #48744C !important;
        min-height: inherit;
    }
    .header.row #logo {
        font-size: 2.1em;
        height: 43px;
    }
    .top-bar .name h1 a {
        width: 54%;
    }
    .top-bar-section .dropdown li.title h5 a:before {
        content: "\00AB";
    }
    .top-bar .toggle-topbar.menu-icon a {
        color: #FFFFFF !important;
        padding: 0 2.5rem 0 0.9375rem;
    }

    .top-bar .toggle-topbar.menu-icon a::after {
        -webkit-box-shadow: 1px 0.625em 1px 1px #FFFFFF, 1px 16px 1px 1px #FFFFFF, 1px 22px 1px 1px #FFFFFF;
        box-shadow: 0 0.625em 0 1px #FFFFFF, 0 16px 0 1px #FFFFFF, 0 22px 0 1px #FFFFFF;
        right: 0.9375rem;
    }
    nav section.top-bar-section ul {
        padding-top: 0;
    }

    nav section.top-bar-section ul li {
        border-bottom:1px solid #ccc !important;
        border-top:1px solid #eee !important;
        background: #FFF !important;
    }
    nav section.top-bar-section ul li.active,
    nav section.top-bar-section ul li:hover {
        background: #48744C !important;

    }
    nav section.top-bar-section ul li a {
        padding-left:2em !important;
        color: #333 !important
    }
    .top-bar-section .dropdown li.title h5 a:hover,
    nav section.top-bar-section ul li.active > a,
    nav section.top-bar-section ul li > a:hover {
        color: #FFF !important;
    }
    .top-bar-section .dropdown {
        top: 0px !important;
    }
    .dropdown.subjects {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 0px;
        -moz-column-gap: 0px;
        column-gap: 0px;
    }
    .top-bar-section ul li.active > a {
        color: #FFF !important;
        font-weight: bold;
    }
    .top-bar .toggle-topbar.menu-icon {
        /*padding-top:10px;*/
        right:0;
    }
    .search-dashed-line input[type="text"] {
        margin-left:0;
    }

    .button.search {
        margin-left:0;
        border-left:none;
        width:100%;
    }
    .x-padding {
        padding-left:20px!important;
    }
    .text-right {
        text-align:left!important;
    }
    #footer p a {
        padding:0!important;
    }
    .mobilesearch{
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .mobile-search {
        width: 75% !important;
        padding: 0px;
        margin: 0 -0.9375rem;
    }
    .mobile-search .small-2 {
        text-align: center;
        padding: 0px;
    }
    .mobile-search img {
        padding: 13px 0;
        margin-left: 10px;
    }
    .mobile-search .small-10 {
        padding: 0;
    }
    .mobile-search input {
        padding: 5px 5px;
        margin-top: 1px;
        height: 33px;
        border-right: 0;
        margin-bottom: 0;
    }
    .mobile-search .button {
        background-color: #FFF;
        font-size: 1.2em !important;
        text-align: left;
        padding: 0px 0.5em;
        color: #48744C;
        height: 45px;
        margin-top: 1px;
        border-style: solid;
        border-width: 1px;
        border-color: #cccccc;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
        border-left: 0;
        cursor: pointer;
        border-radius: 0;
    }
    .content-area {
        padding-top: 0;
    }
    .search-res-right {
        width: 65%;
        float: right;
    }
}
