/* =========================================================
   DAD HEADER
   ========================================================= */

.site-header {
    position: relative;
    height: 200px;
    background: url("../images/dad-header.png") no-repeat bottom left;
    border-bottom: 1px solid #000;
    border-right: 1px solid #fff;
    box-sizing: border-box;
}

.branding {
    position: absolute;
    left: 45px;
    top: 75px;
}

.branding .site-title {
    width: 81px;
    height: 25px;
    margin: 0;
    padding: 0;

    background: url("../images/dad-logo.svg") no-repeat;
    background-color: transparent;

    border: 0;
    overflow: hidden;

    text-indent: -9999px;
}


/* =========================================================
   MAIN MENU
   ========================================================= */

.ocm-main-menu {
    margin-top: 95px;
    width: 735px;
    float: right;
}

.main-menu-list {
    overflow: hidden;
    width: 480px;
    float: left;

    margin: 0;
    padding: 0;

    list-style: none;

    text-transform: uppercase;
    color: #fff;

    font-size: 12px;
    font-weight: 700;
}

.main-menu-list li {
    float: left;
    width: 50%;
    padding: 4px 0;
}

.main-menu-list a {
    color: #fff;
    padding: 1px 45px 0 15px;
}

.main-menu-list a:hover,
.main-menu-list li.current-menu-item a {
    background: #efff00;
    color: #000;
}


/* =========================================================
   SOCIAL / CONTACT
   ========================================================= */

.social-contact-list {
    margin: 0;
    padding: 0;

    list-style: none;

    text-transform: uppercase;
    color: #fff;

    font-size: 12px;
    font-weight: 700;
}

.social-contact-list li {
    padding: 4px 0;
}

.social-contact-list a {
    color: #fff;
    padding: 1px 45px 0 15px;
}

.social-contact-list a:hover {
    background: #efff00;
    color: #000;
}

.social-contact-list a.social-icon {
    background: transparent;
    padding: 0 0 0 7px;
}

.social-contact-list a.social-icon span {
    padding: 0 3px;
    transition: background .4s;
}

.social-contact-list a.social-icon span:hover {
    background: #efff00;
    color: #000;
}

.social-contact-list a.social-icon--instagram {
    font-size: 16px;
}


/* =========================================================
   SEARCH
   ========================================================= */

/* DAD search dropdown */
.site-search {
    position: relative;
    clear: both;
	display: none;
}

.site-search #search-icon {
    display: inline-block;
    color: #fff;
    font-size: 18px;
    padding: 2px 0 0 13px;
    text-decoration: none;
}

.site-search #search-icon:hover,
.site-search #search-icon.is--clicked {
    color: #000;
    background: #efff00;
}

/* Hide search form initially */
.site-search .searchform {
    display: none;
    position: absolute;
    top: 24px;
    left: 13px;
    width: 252px;
    padding: 12px;
    background: #efff00;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    z-index: 100000;
    box-sizing: border-box;
}

/* Show dropdown when active */
.site-search .search-form.is--visible {
    display: block;
}

/* Search input */
.site-search .search-form .search-field {
    display: block;
    width: 100%;
    height: 28px;
    margin: 0 0 7px;
    padding: 4px 6px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Search button */
.site-search .search-form .search-submit {
    display: inline-block;
    padding: 4px 10px;
    font-size: 14px;
    cursor: pointer;
}

/* Prevent Avada's default search layout inside this dropdown */
.site-search .search-form label {
    display: block;
    margin: 0;
}

.site-search .search-form .fusion-search-form-content {
    display: block;
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

@media screen and (max-width: 59.9375em) {

    /*
     * Off-canvas menu
     * Hidden to the left initially.
     */
    .ocm-main-menu {
        position: fixed !important;

        top: 0;
        left: 0;

        width: 80%;
        height: 100vh;

        margin: 0 !important;
        padding: 20px !important;

        background: #000 !important;

        z-index: 99999;

        box-sizing: border-box;

        overflow-x: hidden;
        overflow-y: auto;

        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);

        transition: transform .3s ease;
        -webkit-transition: -webkit-transform .3s ease;

        float: none !important;
    }


    /*
     * OPEN MENU
     *
     * JavaScript adds this class to <body>.
     */
    body.is_active-ocm .ocm-main-menu {
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }


    /*
     * Push the website content to the right
     * when the menu is open.
     */
    #wrapper {
        position: relative;
        left: 0;

        transition: left .3s ease;
        -webkit-transition: left .3s ease;
    }

    body.is_active-ocm #wrapper {
        left: 80%;
    }


    /*
     * Menu list on mobile
     */
    .main-menu-list {
        width: 100%;
        float: none;

        margin: 0;
        padding: 0;
    }

    .main-menu-list li {
        float: none;
        width: 100%;

        padding: 4px 0;
    }

    .main-menu-list a {
        display: inline-block;

        color: #fff;

        padding: 1px 15px 0 7px;
    }


    /*
     * Contact / social area
     */
    .social-contact-list {
        width: 100%;
        float: none;

        margin: 0;
        padding: 0;
    }

    .social-contact-list li {
        padding: 4px 0;
    }


    /*
     * Search
     */
    .site-search {
        clear: both;
        position: relative;

        margin-top: 10px;
    }

    .site-search a {
        padding-left: 7px;
    }

    .search-form {
        left: 10px;
    }


    /*
     * OPEN button
     */
    .ocm-open-btn {
        display: block !important;

        position: absolute;

        z-index: 100000;

        cursor: pointer;

        color: #fff;
    }

    .ocm-open-btn:hover {
        color: #efff00;
    }


    /*
     * CLOSE button
     */
    .ocm-close-btn {
        display: block !important;

        position: absolute;

        top: 10px;
        right: 20px;

        z-index: 100001;

        cursor: pointer;

        color: #fff;
    }

    .ocm-close-btn:hover {
        color: #efff00;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (min-width: 30em) {

    .site-header {
        height: 240px;
    }

    .branding {
        left: 70px;
        top: 115px;
    }

    .ocm-open-btn {
        top: 107px;
        left: 410px;
        right: auto;
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media screen and (min-width: 60em) {

    .site-header {
        height: 240px;
    }

    .branding {
        left: 70px;
        top: 115px;
    }

    /*
     * Desktop menu is always visible.
     */
    .ocm-main-menu {
        position: static !important;

        display: block !important;

        width: 735px;

        margin-top: 95px;

        float: right;

        transform: none !important;
        -webkit-transform: none !important;

        transition: none;
    }

    .main-menu-list {
        width: 480px;
        float: left;
    }

    .main-menu-list li {
        float: left;
        width: 50%;
    }

    /*
     * Hide mobile controls on desktop.
     */
    .ocm-open-btn,
    .ocm-close-btn {
        display: none !important;
    }
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media screen and (min-width: 75em) {

    .ocm-main-menu {
        margin-top: 75px;
    }
}