
html{
}

body {
    padding: 0;
    margin: 0;
}
.container{
    padding:0;
    padding-right: 0px!important;
    padding-left: 0px!important;
}

@media (min-width: 1111px) {
    .container {
        max-width: 1280px;
    }
}

#menu-top {
    display: flex;
    justify-content: space-between;
    overflow: visible;
    max-height: none;
    background-color: #405084;
    text-transform: uppercase;
    width:inherit;
    height:45px; 
}



#menu-top li {
    width: auto;    
    display: block;
    float: left;
    line-height: 2em;
    color: white;
    font-size: 25px;
}

.awri-social-menu a {
    float: left;
    padding: 0px 10px;
    margin: 0 7px;
    font-size: 1.8vw;
}

#menu-top ol.awri-top-menu {
    width: auto;
    padding: 0;
    float: right;
    margin: 0.7em 50px 0 0;
}

#menu-top ol.awri-top-menu a:hover {
    color: white;
    text-decoration: underline;
}

li > a {
    color: white;
    font-size: .8rem;
    text-decoration: none;
}


input[type=search] {
    text-align: center;
    border: none;
}

#menu-item {
    border: none;
    border-top-color: initial;
    border-top-style: none;
    border-top-width: initial;
    border-right-color: initial;
    border-right-style: none;
    border-right-width: initial;
    border-bottom-color: initial;
    border-bottom-style: none;
    border-bottom-width: initial;
    border-left-color: initial;
    border-left-style: none;
    border-left-width: initial;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    transition: all 0.2s ease-in-out;
}

#menu-top ol.awri-top-menu li {
    color: #fff;
    font-size: .8rem;
    margin: 0 1em;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    background-color: white;
    width: 90%;
    min-height: 110%;
    padding: 0;
    margin: 0 auto;
    box-shadow: 1px 5px 5px 3px #888888;
}

.sidenav {
    margin: 0;
    padding: 0;
    width: 200px;
    background-color: #f1f1f1;
    position:absolute;
    margin-left: 15px;
}

.sidenav, #sidebar, #sidebar ul {
    border-radius: 10px;
}

.main {
    margin-left: 200px; /* Same as the width of the sidenav */
    padding: 1px 15px;
    min-height: 750px;
    padding-left: 25px;
}

.header {
    height: auto;
    position: relative;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}

.changeLog-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.5rem;
    color: #fff;
    background-color: #405084;
    border-radius: 5px;
    box-sizing: border-box;
    line-height: 60px;
    height: 60px;
    padding: 0;
    box-shadow: 0 4px 3px 1px rgba(0,0,0,0.25);
}

.history-link {
    display: flex;
    width:100px;
}

.history-link a {
    color: white;
    text-transform: initial;
    font-size: .7em;
    text-decoration: underline;
}

.div-spacer-adminButtons {
    height: 30px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.admin-button-box {
    width: 20%;
    height: 100px;
    min-width: 100px;
    margin: 20px 5px 20px 5px;
}

@media only screen and (max-width: 1000px) {
    .button-title {
        font-size: 0.7em;
    }
}

@media only screen and (max-width: 491px) {
    .admin-button-box {
        width:40%;
    }
}

.admin-button-a {
    text-decoration: none!important;
}

.button-title {
    color: white;
}

.block:hover {
    opacity: 0.7;
}

.block {
    height: 100%;
    width: 100%;
    text-align: center;
    border-radius: 100px;
    background-color: #a0a936;
    box-shadow: 0 4px 3px 1px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-field{
    width:170px;
    height:auto;
}

#changelog {
    width: 100%;
    margin: auto;
    grid-column-start: 1;
    grid-column-end: 3;
}

h1#logo {
    display: block;
    margin: 5px 0 17px 0;
    margin-left: 5%;
    width: 232px;
    height: 83px;
    float: left;
    clear: left;
}


h1#logo a {
    width: 250px;
    height: 95px;
    background: Transparent url(../image/new_logo.png);
    background-position: center;
    color: Transparent;
    text-shadow: none;
    padding-right: 10px;
    border: none;
    box-sizing: border-box;
    font-size: 14px;
    background-size: contain;
    background-repeat: no-repeat;
}


h1#logo a, h1#logo #sitetagline {
    display: inline-block;
    float: left;
}

h1#logo #sitetagline {
    color: #020202;
    font-size: 1rem;
    font-weight: 400;
    width: 10em;
    height: 83px;
    margin-top: 1em;
}

h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

#bannershadow, #banner {
    height: 300px;
    width: 100%;
}

#bannershadow {
    background-image: url(../image/awri-banner-3-1280x300.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-bottom: 25px;

}

#bannershadow {
    clear: both;
    display: block;
    width: 100%;
    margin-top: 1em;
}

footer#website-main-footer {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    min-height: 50px;
}
#website-main-footer {
    margin-top: 4em;    
}

#footer {
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
}
#footer-content-container {
    border-top: 3px double #cbcbcb;
}

ul.awri-social-menu, ul.awri-social-menu {
    width: auto;
    padding: 0;
    margin: 0px;
    margin-left: 40px;
    min-width: 170px;
}

ul.awri-social-menu-footer, ul.awri-social-menu-footer {
    margin: -0.25rem;
    margin-left:50px;
    float: left;
    padding: 15px 0px;
}

footer#website-main-footer a {
    margin-top: 0.5em;
    color: #CFCFCF;
    text-decoration: none;
    text-transform: uppercase;
}



footer#website-main-footer a:hover {
    text-decoration: underline;    
}

ol#footer-links {

    margin: 1em 0 2em;
    float: right;
}

ol#footer-links, ol#footer-links li {
    list-style-type: none;
    display: inline;
    padding: 2px;
    color: #CFCFCF;
    font-size:0.8em;
}
ol#footer-links li a{
    padding-left: 5px;
}
ol#footer-links li + li::before {
    content: " | ";
}

.select-style select:focus {
    outline: none;
}

.btn {
    color: #fff;
    background-color: #405084;
}

.inputform {
    float: right;
    width: 100%;
}

#sidebar {
    /* don't forget to add all the previously mentioned styles here too */
    background: #405084;
    transition: all 0.3s;
    height: 100%;
    display:block;
    box-shadow: 4px 4px 3px 1px rgba(0,0,0,0.25);
}


#sidebar .sidebar-header {
    padding: 20px;
    background: #405084;
}

#sidebar ul.components {
    padding: 20px 0;
    background: #405084;
}

#sidebar ul p {
    background: #405084;
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    background: #405084;
    padding: 10px;
    margin: 0 5px;
    font-size: 1.1em;
    display: block;
    border-radius: 10px;
}

.components .logoutForSwitch{
    color: white!important;
}

.components .logoutForSwitch:hover{
    color: #7386D5!important;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
}

.components .loginForSwitch{
    color: white!important;
}

.components .loginForSwitch:hover{
    color: #7386D5!important;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
    text-decoration: none;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #405084;
    text-decoration: none;
}

.select2-selection__rendered {
    font-size:18px;
}

#countryMRL > tr > td{
    width: 50%;
}

.menuBtn {
    display: none;
}
#login {
    width: 50%;
    min-width: 300px;
    margin: auto;
}

#login > #logo {
    display: block;
    margin: 20px auto 20px auto;
    width: 232px;
    height: 83px;
    float: none;
    clear: left;
}

#login > #logo > #sitetagline{
    font-size:16px;
}


#loginform {
    width: 50%;
    min-width: 300px;
    margin: auto;
    box-shadow: 1px 1px 1px 1px #888888;
    padding: 25px;
}

thead.sorting > tr > th {
    cursor: pointer;
}

.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #405084;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    display:none;
}

.form-hidden {
    display:none
}

.form-title{
    text-align:right;
}

.hideMenu{
    margin-bottom:10px;
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    #sidebar {
        display: none;
        right: 0.5em;
        border-radius: 12px;
        border: 1px solid #405084;
    }

        #sidebar > ul {
            border-radius: 10px;
            border: 1px solid #405084;
        }

    .main {
        margin-left: 0px; /* Same as the width of the sidenav */
        padding: 1px 10px;
        min-height: 400px;
    }

    .sidenav {
        z-index: 10;
        background-color: transparent;
        position: fixed;
        top: 0.5em;
        right: 0.5em;
    }

    .menuBtn {
        float: right;
        display: block;
        font-size: 48px;
        margin-left: 0px;
        width: 50px;
        height: 50px;
        color: white;
        background-color: #405084;
        border-radius: 12px;
        border: 1px solid #405084;
    }

        .menuBtn > i {
            margin-left: 3px;
            top: 0px;
            float: left;
        }

    #bannershadow, #banner {
        width: 100%;
        height: auto;
    }

    #bannershadow {
        background-image: url(../image/awri-banner-3-1280x300.jpg);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% auto;
        min-height: 100px;
        padding-bottom: 25px;
    }

    .header {
        height: auto
    }

    h1#logo {
        margin-bottom: 10px;
    }

    #menu-top {
        display: none;
    }

    footer#website-main-footer {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        min-height: 50px;
    }

    #website-main-footer {
        margin-top: 0em;
        padding-bottom: 7em;
    }

    #footer {
        box-sizing: border-box;
        position: fixed;
        bottom: 0;
    }

    .awri-social-menu a {
        padding: 0px 10px;
        margin-left: auto;
        font-size: 5vw;
    }

    #footer-content-container {
        position: center;
        border-top: 3px double #cbcbcb;
    }

    body {
        min-height: 100%;
    }

    ul.awri-social-menu, ul.awri-social-menu {
        width: 50%;
        padding: 0;
        margin: auto;
        float: unset;
    }

    ol#footer-links {
        margin-top: 0;
        text-align: center;
        list-style-position: inside;
    }

    ol#footer-links li {
        border-right: 0px solid #cbcbcb;
    }

}

.header > #menu-top > .awri-top-menu {
    margin-block-end: 0;
}
.header-dropdown-section {
    padding-left: 0px;
    height: 45px;
}

.left-header-container {
    display: flex;
}

/* .awri-top-menu > .nav-item.dropdown > .nav-link {
    padding: 0;
} */

.btn-space {
    margin-left: 5px;
    margin-right: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    margin-top: 6px;
    left: 0px;
    background-color: white;
    border-radius: .2rem;
    z-index: 1;
    width: 200px;
    padding-top: 5px;
}
.dropdown-content-container {
    background: #405084;
    display: block;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px 0px 5px 0px;
    border-radius: 6px;
}

#action-button {
    font-size: unset;
    padding: .375rem .75rem;
    background: #405084;
    color: white;
    border-radius: .2rem;
    cursor: pointer;
}

.chem-action-button {
    margin-left: 1rem;
}

.action-dropdown-item {
    text-align: left!important;
    padding: .375rem .75rem!important;
    font-size: 1rem!important;
    width:100%;
    transition-duration: 0s!important;
    -webkit-backface-visibility: hidden;
}
.action-dropdown-item:hover {
    transform: scaleX(.95);
    border-radius: 6px;
    color: #7386D5;
    background: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;

}

.table-row-1 {
    background: #f3f3f3;
}

.table-row-1 a {
    font-weight: bold;
    color: #003d8c;
}

.table-row-2 {
    display: table-cell;
    text-align: center;
    vertical-align: middle!important;
}

.rejected {
    background: #da7777;
}
.accepted {
    background: #9cb977;
}

.table-row-3 {
    background: #405084;
    text-align: center;
}

.table-row-3 a {
    color: white;
}


.table-spaced tr td {
    padding: .7rem;
}

.table-spaced {
    border-collapse: separate;
    border-spacing: 0px 4px;
}

.footer-social-icon {
    padding: 0px 10px;
    margin: 0 7px;
}

.footer-social-icon li {
    font-size: 25px!important;
}

.awri-social-menu-footer {
    margin-left: -20px!important;
}

.header-dropdown-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    font-weight: bold;
    font-size: 18px;
    padding-left: 10px;

}

/* Bug fix for header dropdown menu. Was not opening on first click (see common.js). */
.header-dropdown-menu {
    transform: translate3d(70px, 45px, 0px)!important;
}

.header-dropdown-menu {
    background: #405084!important;
    border-radius: 10px!important;
    border: none!important;
}

.header-dropdown-menu a {
    color: white;
}
.header-dropdown-menu a:hover {
    color: #7386D5;
    background: white;
    transform: scale(.95);
    border-radius: 10px;
}

#ExportTable tr:nth-child(odd), 
#TargetTable tr:nth-child(odd),
#ManufacturersTable tr:nth-child(odd),
#ActiveConstituentsTable tr:nth-child(odd),
table[name="ActiveCountryMRL"] tr:nth-child(odd), 
#ModeOfActionTable tr:nth-child(odd),
#ActivityGroupTable tr:nth-child(odd),
#ProductsTable tr:nth-child(odd) {
    background: #f3f3f3;
    vertical-align: middle !important;
}
#ExportTable td {
    vertical-align: middle;
}
#ProductsTable th,
#ExportTable th, 
#TargetTable th,
#ManufacturersTable th,
#ActiveConstituentsTable th,
table[name="ActiveCountryMRL"] th,
#ModeOfActionTable th,
#ActivityGroupTable th {
    background: white;
}

.avcare-info-div {
    overflow: hidden;
}

.readmore-button {
    color: white;
    background: #405084;
    border-radius: 9px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.main {
    position: relative;
}

table[name="ActivityGroupTable"] {
    position: relative;

}

.popup-overlay {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.4;
    z-index: 98;
    top: 0;
}
.popup-container {
    position: fixed;
    display: none;
    height: 100%;
    z-index: 99;
    left: 15% !important;
    top: 30% !important;
}

.popup-container > div {
    border-radius: 20px;
    position: relative;
    left: 20%;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f3f3;
    z-index: 2;
}


.popup {
    position: relative;
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.popup-text {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.popup-button {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup-ok-button {
    width: 100px;
    background: #405084;
    color: white;
    border: none;
    border-radius: 10px;
}

#navbarDropdown {
    display: flex;
    line-height: 1;
    padding-left: 10px;
}

.select2-container--default.select2-selection--single {
    height: 37px;
    display: flex;
    align-items: center;
}

.row {
    align-items: center;
}

.compartment {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
}

.compartment-main {
    width: 70%;
    height: 100%;
}

.compartment-block {
    display: block;
}

.form-group label.compartment-label {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.heading-compartment, .country-name {
    font-weight: bold;
}

.heading-compartment.mrl-code-field {
    width: 40%;
}

.form-control.compartment-field {
    width: 15%;
}

.form-control.compartment-textbox {
    width: 50%;
}

.form-control.compartment-select {
    width: 40%;
}

.compartment-label.form-title {
    margin-bottom: 10px;
}

.heading-compartment {
    display: flex;
    justify-content: center;
    width: 15%;
}

.country-name-block {
    width: 20%;
    margin-right: 20px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.top-row {
    margin-top: 50px;
    height: 100px;
}

#country-name-heading {
    width: 100%;
}

.submit-button-container {
    justify-content: center;
    width: 70%;
}

.applyAllPending, .submit-button-container .btn {
    background: #a0a936;
    border-color: #a0a936;
}

.country-form-header {
    font-weight: bold;
}

.check-box {
    height: 16px;
}

#changeLog-history {
    text-decoration: none;
}

#changeLog-history:hover {
    text-decoration: underline;
    color: white;
}

.pagination a {
    height: 100%;
}

.items-per-page {
    display: flex;
    align-items: baseline;
}

.items-per-page span {
    min-width: 120px;
}

.bottom-of-page-row {
    display: flex;
    justify-content: space-between;
}

.emailList-header {
    float: right;
    padding-bottom: 10px;
}


ul[id^=select2-ManufacturerContact-] > li {
    display: none;
}

.editablePendingMRL{
    border: solid 1px;
    background-color: white;
    border-color: #ced4da;
}

.applyAllPendingonActCon{

}

.ActiveConstituentActionBtn{
    margin-left: 13px;
}

#GrowingSeasonActive,#GrowingSeasonProducts{
    overflow-x: hidden !important;
}