.search-and-social{
    display:block;
    width:160px;
    height:50px;
    overflow: hidden;
}

ul.social {
    list-style-type:none;
}

.search-and-social  a, .search-and-social input, .teal-social a, .social a, .mobile-social a{
    width: 28px;
    height: 28px;
    display:block;
    position: relative;
    list-style: none;
    z-index: 1;
    margin-top: 10px;
    float:left;
    box-sizing:border-box;
}

.search-and-social>.accessibility {
    height:28px;
    width:71px;
    background: url('../media_assets/essential_accessibility.png') no-repeat left top;
    margin-left:10px;
}

.search-and-social>.search{
    border: solid 1px #6c6c6c;
    background: url('../media_assets/searchicon-header.png') no-repeat right top;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor:pointer;
    padding:0 10px;
    line-height:26px;
}

.searchbar-large {
    display:table;
    width:100%;
    border-spacing:10px 0;
    margin:0 0 20px -10px;
}

.search-large{
    border: solid 1px #6c6c6c;
    background: url('../media_assets/searchicon-large.png') no-repeat left top;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor:pointer;
    padding: 10px 10px 10px 50px;
    height: 28px;
    font-size: 1.5625rem;
    box-sizing: border-box;
    width: 100%;
    height:50px;
    display: table-cell;
}

.search-large-submit{
    border: solid 1px #6c6c6c;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 10px 10px 10px 10px;
    font-size: 1.5625rem;
    margin-left: 10px;
    transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    text-decoration: none;
    display:table-cell;
    box-sizing: border-box;
    width:25%;
    height:50px;
    text-align:center;
}

.searchbar-mobile {
    padding-bottom:20px;
    border-spacing:10px 0;
    display:table;
    width:100%;
}

.search-mobile {
    height: 50px;
    border-radius: 2px;
    border: 0 none;
    padding: 10px;
    font-size: 1.5625rem;
    font-family: 'Varela Round', sans-serif;
    margin-right:10px;
    box-sizing: border-box;
    width: 100%;
    display: table-cell;
}

.main-header-nav a.search-mobile-submit {
    width: 25%;
    display: inline-block;
    box-sizing: border-box;
    height: 50px;
    text-align: center;
    background: #FFF;
    line-height: 50px;
    font-size: 1.5625rem;
    color: #666;
    border-radius: 2px;
    font-family: 'Varela Round', sans-serif;
    display: table-cell;
}

.search-and-social>.invert{
    background: url('../media_assets/inverticon-all.png') no-repeat left;
    margin-left:10px;
}

.search-and-social .social-icon, .social .social-icon{
    background-image: url('../media_assets/socialicons-all.png');
    margin-right:5px;
}

.twitter{background-position:0px 0px; margin-left:10px;}
.twitter:hover, .twitter:focus{background-position:0px 28px;}

.facebook{background-position:84px 0px;}
.facebook:hover, .facebook:focus{background-position:84px 28px;}

.youtube{background-position:56px 0px;}
.youtube:hover, .youtube:focus{background-position:56px 28px;}

.instagram{background-position:28px 0px;}
.instagram:hover, .instagram:focus{background-position:28px 28px;}

.search-and-social>.search-field-container{
    display: none;
    position: absolute;
    width: 180px;
    height: 50px;
    background-color: white;
    z-index: 10;
    margin-left: 33px;
}

.mobile-social .social-icon{
    background-image: url('../media_assets/socialicons-mobile.png');
    margin-right:5px;
}

.mobile-social li {
    float:left;
}

.twitter{background-position:0px 0px; margin-left:10px;}

.facebook{background-position:84px 0px;}

.youtube{background-position:56px 0px;}

.instagram{background-position:28px 0px;}


/******* TEAL POPSICLE SOCIAL ********* */

.teal-social{
    display: block;
    position: absolute;
    right: 0px;
    top: 16px;

    width:144px;
    height:50px;
    overflow: hidden;
    margin:0;
    padding:0;
    list-style-type:none;
}

.teal-social .social-icon{
    background-image: url('../media_assets/socialicons-all-whiteonteal.png');
    margin-right:5px;
}