﻿@charset "utf-8";
header {
    position: relative;
}
#mainMenu {
    position: absolute;
    top: 10px;
    right: 10px;

}
#Banner {
    margin-bottom: .5rem;
    padding-right: 3rem;
    width: calc(100% - 7rem);
    height: auto;
}
#Banner p {
    height: auto;
}
#Banner h1 {
    height: auto;
    line-height: 120%;
    text-align: left;
    font-size: 1.15em;
}
.MyTxtArea p {
    padding-left: 0; 
    text-indent: 0;
}

@media screen and (max-width: 600px) {
    .MyQueryArea .right > * {
        height: auto;
        line-height: 120%;
    }
    .MyQueryArea .selectTab label {
    left: 4.25rem;
    }
    .MyQueryArea .right .MyInputField label {
    width: 100%;
    display: block;
    }
    .MyQueryArea .selectTab select {
    font-size: 1rem;
    }
    .MyQueryArea .right .MyInputField label {
        font-size: 1rem;
    }
    .MyQueryArea .right .MyInputField select {
        width: calc(100% - 1rem);
        margin-right: 1rem;
    }
    .MyQueryArea .right .btnQuery, .MyQueryArea .right .btnQuery i {
        width: calc(100% - 20px);
        margin-top: 0.5rem;
    }

}


@media screen and (max-width: 425px) {
    ul#SideNav li a {
        font-size: 1rem;
        height: auto;
        line-height: 110%;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    ul#SideNav li ul.secondNav li {
        text-indent: 0;
    }

    ul#SideNav li ul.secondNav li>a {
        max-width: 90%;
    }
    #Banner {
        width: calc(100% - 3rem);
    }
    #Banner p {
        background-image: url(../images/epa.png);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 1rem 1rem;
        padding-left: 1.25rem;
    }
    #Banner h1 {
        font-size: 1rem;
    }

}
@media screen and (max-width: 375px) {
    #Banner {
        max-width: calc(100% - 3rem);
    }
    #Banner {
        padding-right: 0;
    }
}