/* Grid styles update
-------------------------------------------------------------------------------*/
@media screen and (max-width: 600px) {
    /*
     * Adaptive grid sizes
     * Only limited to maximum size / actual width is undefined
     */
    .apt-mob-1-6 {
        width: auto;
        max-width: 16.666%;
    }

    .apt-mob-2-6 {
        width: auto;
        max-width: 33.333%;
    }
}

/* Updated Logo
-------------------------------------------------------------------------------*/
.logo-cont {
    padding: 0 10px;
}

.logo {
    height: 30px;
    text-align: center;
}

.logo a {
    display: block;
}

/* Updated navigation
-------------------------------------------------------------------------------*/
#top-nav {
    padding: 10px 0;
}

#top-nav .action-buttons ul {
    margin-top: 1px;
}

#top-nav .action-buttons li {
    display: inline-block;
}

#top-nav .action-buttons a {
    display: block;
    margin: 0;
    padding: 0 5px;
    line-height: 15px;
}

.nav-action {
    float: right;
    padding: 0 10px;
}

/* Updated Mobile Navigation
-------------------------------------------------------------------------------*/
#mob-toggle {
    padding: 0 10px;
}

#mob-toggle a {
    display: block;
}

.mob-menu {
    display: block;
    line-height: 30px;
}

.mob-menu img {
    display: block;
    height: 30px;
    width: 30px;
}

/* Updated search form
-------------------------------------------------------------------------------*/
#searchbutton {
    display: block;
}

.search-trigger {
    display: block;
    height: 30px;
    padding: 0;
    position: absolute;
    top: 20px;
    right: 110px;
    width: 30px;
    background: url("../images/magnifying-glass.svg") no-repeat center center;
    background-size: 21px;
    border: none;
    cursor: pointer;
}

.is-active .search-trigger {
    background-image: url("../images/magnifying-glass-active.svg");
}

.searchform {
    padding: 15px 20px;
    position: absolute;
    top: 45px;
    right: 0;
    width: 100%;
    opacity: 0;
	display:none;
    -webkit-transition : opacity 500ms ease;
    transition : opacity 500ms ease;
}

.is-active .searchform {
    opacity: 1;
	display:block;
}

.searchform label {
    color: #999;
    font-weight: bold;
    line-height: 24px;
    text-transform: uppercase;
}

.search-panel {
    padding: 10px 20px 20px;
    border: 1px solid #eee;
    border-bottom: 3px solid #f3922b;
	background:#fff;
}

.search-form-field {
    border: 1px solid #eee;
}

.searchfield {
    float: left;
    padding: 0 9px;
    width: calc(100% - 32px);
    background: none;
    border: none;
    font-weight: 300;
    line-height: 30px;
}

.searchsubmit {
    float: right;
    height: 30px;
    width: 30px;
    background: transparent url('../images/chevron-right-search.svg') no-repeat center;
    background-size: 24px;
    border: 0 none;
}

@media all and (max-width : 280px) {

    .search-trigger {
        display: none;
    }

}

@media all and (min-width : 465px) {

    #top-nav .action-buttons ul {
        display: block;
        margin-top: 7px;
    }

    #top-nav .action-buttons a {
        display: block;
        margin: 0;
        padding: 0 5px;
        line-height: 20px;
    }

    .search-trigger {
        right: 160px;
    }

    .searchform {
        position: absolute;
        right: 130px;
        max-width: 320px;
        width: 100%;
    }
}

@media all and (min-width : 601px) {

    .nav-action {
        margin: 4px 0;
    }

    #top-nav .action-buttons ul {
        margin-top: 0;
    }

    #top-nav .action-buttons li {
        margin-left: 10px;
    }

    #top-nav .action-buttons a {
        display: block;
        margin: 0;
        padding: 0 5px;
        line-height: 20px;
    }

    .search-trigger {
        right: 198px;
    }

    .searchform {
        right: 168px;
    }

}

@media all and (max-width : 1200px) {

    .nav-docs {
        width: 0;
    }

}

@media all and (min-width : 1201px) {

    .logo {
        padding-top: 7px;
    }

    #searchbutton {
        float: right;
        margin-top: 2px;
        padding: 0 10px 20px;
        position: relative;
        width: auto;
    }

    .searchform {
        top: 25px;
        right: -20px;
        width: 320px;
    }

    .search-trigger {
        position: static;
    }

    .nav-action {
        margin: 5px 0 3px;
    }

}



