﻿/*Mobile mode*/
@media only screen and (max-width:760px) {

    .site-title {
        text-align: center;
    }

    #search {
        display: none;
    }

    #login {
        text-align: center;
        width: 100%;
        margin: 0 !important;
    }

    #telephoneNumber {
        text-align: center;
        width: 500px;
    }

       #menuInteract {
        padding-left: 40px !important;
        display: block !important;
        width: 100%;
        cursor: pointer;
    }


    #menuContainer {
        display: none;
    }

    .float-left {
    float: none;
    }

    #menu {
        text-align: left;
    }


    .welcomeBanner .externalLogo {
        position: initial;
    }


    .welcomeBanner.internal {
    margin-bottom: 35px;
    }

    .welcomeBanner.home {
    margin-bottom: 35px !important;
    }

        .welcomeBanner.external {
    margin-bottom: -135px !important;
    }

    .welcomeBanner .internal {
    margin-bottom: 35px;
    }

    .welcomeBanner .home {
    margin-bottom: 35px !important;
    }

        .welcomeBanner .external {
    margin-bottom: -135px !important;
    }

    .RssFeeds {
        width: 93%;
    }

    .rssFeed {
    margin: 10px;
    }

    #loginForm {
        width: initial;
    margin: initial;
    }

    .logonoffButton {
        padding: 8px;
    }

    .button {
    padding: 8px;
    }

    body {
        overflow-x: hidden;
    }

    .siteMap {
        width: 100%;
    }
}


@media only screen and (max-width:1100px) {
     .welcomeBanner {
        visibility: hidden;
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 615px) {

    .logonoffButton {
        display: initial;
    }

}

@media only screen and (max-width: 850px) {
  ul#menu {
        border-radius: 10px;
        padding: 0px;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }

            ul#menu li a {
          line-height: 3;
          padding: 10px;
                border: none;
            }

  #login {
    margin-top: -100px;
    }

  .welcomeBanner {
        visibility: hidden;
    margin-bottom: -50px;
    }

    .options-left {
        width:100% !important;
    }

    .options-right {
        float: none !important;
        width: 50% !important;
    }
}

@media only screen and (min-width:460px) {
#menuInteract {
        display: none !important;
}

    ul#menu li {
        display: inline-block;
    }
}

/*Home screen, on tablet*/
@media screen and (max-width:640px) {
    .RssFeeds {
   /*display:none;*/
    }

    .SummaryTable {
    width: 90%;
    }
}

/*Tablet mode*/
@media only screen and (min-width: 460px) and (max-width: 850px) {

        .site-title {
        z-index: -1;
    }

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* main layout
    ----------------------------------------------------------*/

    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }


    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        margin: 0 auto;
    }

    footer {
        margin: 0 auto;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0 auto;
        }


    /*Search Bar

        ----------------------------------------------------------*/
    #search {
        width: 25%;
        margin-top: 13px;
        position: fixed;
        top: 0;
        left: 73%;
    }

    #query {
        width: 15vw;
        min-width: 95px;
    }

    #submit {
        height: 35px;
        width: 37px;
    }

    .siteMap {
        width: 75vw;
    }
}
