/* Mobile menu */

#mobilemenubutt {
    background-image: url(../images/eianz-mmbutt.png);
    margin: 40px 0 0 8px !important;
    padding-right: 30px;
    background-position: 87% 50%;
    line-height: 30px;
}

#mainNavbg .container_12 {
    padding: 0;
}

#mobilemenu {
    clear: both;
    width: 100%;
    background: #F3F5FA;
    z-index: 999;
    border-bottom: 1px solid #005172;
}

#mobilemenu {
    background: #fff;
       -moz-box-shadow: 0 25px 25px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 25px 25px rgba(0,0,0,0.5);
            box-shadow: 0 25px 25px rgba(0,0,0,0.5);
}

#mobilewelcome {
    background: #5e9cb4;
    padding: 10px 6% 10px;
    color: #fff;
}

#mobilewelcome .button {
    font-weight: 400;
    padding-right: 15px;
    margin: 0;
    position: relative;
    bottom: 2px;
}

#mobileNav li#mobileaccmenu form a {
    display: inline-block;
    background: none;
    padding: 0;
}

#mobileNav, #mobileNav ul {
    padding: 0;
}

#mobileNav li {
    padding: 0;
    list-style: none;
}

#mobileNav li a {
    display: block;
    font-size: 12px;
    background: #fff;
    color: #a4a7aa;
    border-top: 1px solid #eee;
    text-transform: uppercase;
    padding: 12px 4%;
    text-decoration: none;
    font-family: Century Gothic,Arial,sans-serif;
    font-weight: bold;
}

#mobileNav li.menuIsParent > a {
    background-image: url(../images/eianz-mm-d.png);
    background-repeat: no-repeat;
    background-position: right 4% top 50%;
}

#mobileNav li.menuIsParent.on > a {
    background-image: url(../images/eianz-mm-r.png);
}

#mobileNav ul {
    padding: 0 0 10px;
}

#mobileNav li li a {
    color: #091c27;
    padding: 5px 4%;
    border: 0 !important;
}

#mobileNav li.on > a {
    color: #258278;
}

#mobileNav li.on li.on li a {
    padding: 3px 6% 3px 9%;
}

#mobileNav li.on li.on li a:hover {
    background-color: #fff;
}

#mobileNav li.on li a:hover {
    background-color: #fff;
}

#mobileNav li.on li.on li.on li a {
    padding: 3px 6% 3px 12%;
}

#mobileNav li.on li.on li.on li.on li a {
    padding: 3px 6% 3px 15%;
}

#mobilemenu form input {
    margin: 10px 0 0;
    padding: 8px;
}

#mobilemenu .searchform {
    padding: 0;
    float: none;
    border-top: 1px solid #eee;
}

#mobilemenu .searchform input {
    width: 70%;
    margin: 0;
    float: left;
    padding: 14px 4%;
    border: 0 !important;
    color: #a4a7aa;
    font-size: 12px;
            box-shadow: none;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
}

#mobilemenu .searchform button {
    background: url(../images/eianz-icon-mag.png) no-repeat 50% 50% #fff !important;
    padding: 17px 0;
    width: 20px;
    height: 27px;
    float: right;
    margin: 5px 3%;
    border: 0;
            box-shadow: none;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
}

#mobilemenu .searchform button:after {
    display: none;
}

.mobilething, #mobilemenubutt, #mobsearch {
    display: none;
}

.container_12 {
    max-width: 1210px;
    width: auto !important;
    width: 1210px;
    padding: 0 2%;
}

@media only screen and (min-width: 1198px) {
    #mobilemenu {
        display: none !important;
    }
}

@media only screen and (max-width: 1198px) {
    .container_12 {
        padding: 0 3%;
    }

    #logodiv {
        width: 150px;
    }

    #logolink {
        margin: 20px 0 16px;
    }

    #mainNav {
        display: none;
    }

    #headercontent {
        display: none;
    }

    #headsearch input {
        width: 50%;
    }

    #headright .button {
        line-height: 30px;
    }

    #headright, #mobilemenubutt {
        margin-top: 35px !important;
    }

    #mobilemenubutt {
        display: block;
    }

    .whitebox, #wevalue, #footbg {
        margin: 20px 0 0;
    }

    #mainNav li a {
        padding: 0 12px;
    }

    h1 {
        font-size: 35px;
        line-height: 37px;
    }

    #wevalue .button {
        padding: 8px 55px 8px 18px;
    }

    #eventsbg .sbBanner .slideoverlay {
        bottom: 80px;
    }

    #followeianz h2 {
        font-size: 20px;
    }

    #followeianz h2 {
        font-size: 20px;
    }

    #followeianz .button {
        width: auto;
        height: 28px;
    }

    #followeianz .button span {
        display: none;
    }

    #followeianz .button img {
        margin: 8px 0 !important;
    }

    li#copyli {
        float: none;
        margin: 0 0 20px;
    }

    #aolink {
        position: absolute;
        top: 45px;
        right: 3%;
    }
}

@media only screen and (max-width: 980px) {
    #mainBar > .padmeleft {
        padding: 25px 5%;
    }

    #welcome .grid_6 {
        width: 63%;
    }

    #welcome .recordDetail {
        background-position: right -110px top 0;
    }

    #eventsbg .sbBanner .slideoverlay h1 {
        font-size: 33px;
        line-height: 37px;
    }

    #widebannerbg .slideoverlay, #eventsbg .slideoverlay {
        left: 3%;
        width: 88%;
    }
}

@media only screen and (max-width: 920px) {
    #cdnav {
        background-size: 60% auto;
        background-position: right 25%;
        height: auto;
    }

    #cdnav .cdarea {
        display: none !important;
    }
}

@media only screen and (max-width: 830px) {
    #widebannerbg .sbBanner .slideoverlay, #eventsbg .sbBanner .slideoverlay {
        left: 4%;
        width: 92%;
        padding: 0 0 50px 0;
    }

     #widebannerbg .sbBanner .slideoverlay{
         padding:15px;
         left:0;
         bottom:0;
     }

    .nothome #widebannerbg #slideoverlay {
        bottom: 30px;
    }

    #slidenav {
        display: none;
    }

    .sbBanner p {
        width: auto;
    }

    #sideBar {
        display: none;
    }

    #mainBar {
        display: block;
        width: 100%;
        float: none;
    }

    #eventsbg .sbBanner, #homeevents {
        width: 100%;
    }

    #homeevents .padme {
        padding: 0 3%;
    }

    .comm2eventdetailleft, .comm2eventdetailright {
        float: none;
        width: 100%;
        margin: 0;
    }

    .comm2eventdetailright {
        width: 90%;
        text-align: left;
    }

    #eventslider ul.cycle-slideshow, #eventslidenav,
    #homenews .frontNewsListItem:last-child {
        display: none;
    }

    #eventslider {
        height: auto !important;
        overflow: visible;
        background: none;
        margin: 10px 0 30px;
    }

    #eventsbg .sbBanner .slideoverlay {
        bottom: 30px;
    }

    #mobilehozlist, #homenews ul {
        display: block !important;
        width: 105%;
    }

    #mobilehozlist li.listItem, #homenews .frontNewsListItem {
        float: left;
        width: 30%;
        margin: 0 3% 0 0;
    }

    #homenews .padme .padme {
        padding: 20px 0 0;
    }

    #homenews .frontNewsListItem h4 {
        min-height: 0;
    }

    #wevalue p.left {
        width: 60%;
    }
}

@media only screen and (max-width: 768px) and (orientation:portrait) {
}

@media only screen and (max-width: 768px) {
    #widebannerbg .slideoverlay h1, #widebannerbg .slideoverlay h1 a,
    #eventsbg .slideoverlay h1, #eventsbg .slideoverlay h1 a {
        font-size: 25px;
        line-height: 27px;
    }

    #widebannerbg .slideoverlay, #eventsbg .slideoverlay {
        bottom: 0px;
    }

    button, .button, input[type="button"], input[type="submit"], input[type="reset"], input.SubmitButton, input.signup, input.myMembershipMenuButtonOn, input.myMembershipMenuButtonOff, input#signupButton, input.quickRenew, .buy_button, .button, #viewProduct a, .advancedSearch a.basicSearch, a.page_on.hide {
        font-size: 11px;
    }

    .logoprevnext {
        display: none;
    }

    #logosliderbg h4 {
        margin: 0 6% 10px;
    }

    #foot div.left, #foot div.right {
        float: none;
    }

    .sbBanner p {
        display: none;
    }

    #shortcuts li{
        display:block;
        width:100%;
        max-width:350px;
        margin:0px auto 30px auto;
        position:relative;
    }

    #shortcuts li:nth-child(2){
        margin:0px auto 30px auto;
    }

        #shortcuts li:nth-child(3){
        margin:0px auto 10px auto;
    }


    #shortcuts img{
        width:100%;
    }
}

@media only screen and (max-width: 640px) {
    .container_12 {
        padding: 0;
    }

    #head, #homeevents .padme, #homenews .padme {
        padding: 0 4%;
    }

    #logodiv {
        width: 110px;
    }

    #logolink {
    }

    .whitebox {
        border-left: 0;
        border-right: 0;
    }

    #welcome {
        border: 0;
        margin: 0;
    }

    #welcome .padme, #followeianz .padme, #logosliderbg .padme {
        padding: 30px 5%;
    }

    #headright {
        display: none;
    }

    #mobilemenubutt {
        margin-top: 27px !important;
    }

    #widebannerbg .slideoverlay, #eventsbg .slideoverlay {
        padding: 0 0 20px;
    }

    .sbBanner .credbox {
        right: auto;
        left: 0;
        bottom: -10px;
    }

    #welcome .recordDetail {
        background: none !important;
    }

    #wevalue {
        font-size: 20px;
        line-height: 27px;
        text-align: center;
    }

    #wevalue p, #welcome .grid_6 {
        width: auto !important;
        float: none;
    }

    #wevalue .button {
        margin: 5px 0 0 !important;
    }

    #wevalue .padme, #foot {
        padding: 50px 5% 30px;
    }

    #aolink {
        position: static;
    }

    #eventsbg .sbBanner .listItem > img {
        min-width: 600px;
    }

    #mobilehozlist, #homenews ul {
        width: 100%;
    }

    #mobilehozlist li.listItem, #homenews .frontNewsListItem,
    #mcevents.newseventslist li.listItem, #mcnews.newseventslist li.listItem {
        float: none;
        width: 100%;
        margin: 0;
    }

    #followeianz h2, #followeianz p {
        float: none !important;
    }

    #cdbg {
        padding: 60px 0 60px 3%;
    }

    #footbg {
        margin: 30px 0 0;
    }

    #mobsearch {
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    .sbBanner {
        overflow-x: hidden;
    }
}

@media only screen and (max-width: 580px) {
    #upcomingEvents, #eventsCalendar {
        float: none;
        width: 100%;
    }

    #comm2timeline, .rhcol, .grid_2.rhcol {
        float: none !important;
        width: 97% !important;
        display: block;
        padding: 0 2.7% 20px 0;
    }
}

@media only screen and (max-width: 300px) {
}

#news-social{
    display:block;
    height:500px;
    position:relative;
    width: 100.0%;
    padding: 0;
    border: 0;
    background: transparent;
}

#homenews .grid_3{
 width:100%!important;   
}

#social-feed{
    width: 33%;
    height:500px;
    margin: 0;
    padding: 44px 15px;
}