/* header */

header {
    background: #f4f4f4;
    width: 100%;
    height:85px;
}

/* IF not responsive */
body {
    min-width: 1450px;
}

.header-right {
    flex-grow: 1;
    padding: 12px 20px 12px 10px;    
}

.container {
    width: 1200px;
    max-width: 1200px;
}

.logo {
    background: #dedede;
    height: 85px;
    padding: 15px;
    width: 100px;
    text-align: center;
}

.logo img {
    width: 42px;
}

.card1. img {
    width: 115px;
	height:115px;
	
}

.enc-logo img {
    padding-right: 20px;
}

.enc-logo-alt {
max-width:404px;
}

.log {
    display: inherit;    
}

/* end header */

/*.wrapper {
    margin-top: 40px;
    min-height: calc(100vh - 450px);
}*/

.wrapper {
   margin-top: 86px;
    min-height: calc(100vh - 437px);
}

/* NAVIGATION */

.main_nav {
    background: #005480;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 1010;
    min-width: 1450px;
    min-height: 50px;
}
    
    .main_nav a {
        color: #fff !important;
        text-decoration: none !important;
        padding: 12px 20px;
        display: block;
        text-align: center;
        font-size: .875rem;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
        font-weight:bold;
    }
    
    .main_nav a:hover,
    .dropdown_menu li.current a {
        background: #1a293e;
    }

    .main_nav .sub a:hover {      
        background: rgba(0, 0, 0, 0.1);
    }
    
    .main_nav {
        position: relative;
    }
    
    .main_nav ul {
        display: block;
    }
    
    .main_nav li {
        display: block;
        float: left;
    }
    
    .main_nav ul li span {
        padding-left: px;
    }

    .main_nav li {
    display: block;
    float: left;
}

.main_nav .drop_menu > li.current a {
    position: relative;
}

.main_nav .drop_menu > li.current > a:after {
    position: absolute;
    content: "";
    display: block;
    top: 100%;
    left: 50%;
    margin-left: -7px;
    margin-top: -6px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #f4f4f4;
}

.drop_menu {
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 0;
}

    .drop_menu ul {
    position: absolute;
    left: -9999px;
    top: -9999px;
    list-style-type: none;
}

.drop_menu ul li, .dashboard .drop_menu ul li {
    width: auto;
}

.drop_menu li.current ul, .dashboard .drop_menu li ul {
    left: 0;
    top: 100%;
    background: #fff;
    padding: 0px;
    width: 100%;
    /* min-width: 380px; */
    z-index: 1000;
    /* margin: 0 auto; */
    background: #f4f4f4;
}

.drop_menu li.current ul {
    padding-left: 85px;
}

.drop_menu > li.current ul li a, .dashboard .drop_menu > ul li a {
    padding: 10px 20px 8px;
    /* color: #fff; */
    text-transform: capitalize;
    font-size: 13px;
    line-height: 2;
    color: #505050 !important;
    border-bottom: 3px solid transparent;
}

.main_nav .drop_menu > li {
    border-right: 1px solid #1b293e;
}

.main_nav .drop_menu > li:last-of-type {
    border-right-color: transparent;
}

.main_nav .drop_menu > li.current {
    background: #1B293E;
}

li.current-home {
    background: #1B293E;
}
.drop_menu > li.current .current, .drop_menu > li.current ul li a:hover {
    background: none;
    border-bottom-color: #F58024;
}


/*Own style created to avoid cutting the top of the main content with the new menu design - Armando Vega*/
.menuMarginNewDesign
{
    margin-bottom:50px;
}

/* Own style created to avoid having the sub-menu list items wrap */
.driversub {
    min-width: 1450px;
}

/* END NAVIGATION */

/*--------- Media Queries --------*/

@media (max-width: 1254.99px) {
    .enc-logo img {
        max-width: 404px;
    }
}

@media (max-width: 575.98px) {
	.wrapper {
    margin-top: 45px;
    min-height: calc(100vh - 450px);
}

    header, .logo {
        height: 50px;
    }
    
    .logo {
        padding: 8px 0;
        width: 40px;
    }
    
    .logo img {
        width: 30px;
    }
    
    .header-right {
        margin-left: 0;
        padding: 5px 10px;
        height: 50px
    }

    .enc-logo img {
        max-width: 170px;
    }

}


/* New styles for removing Bootstrap */
/* NORMALIZE */

body {
    margin: 0;
}

*, ::after, ::before {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

.clearfix::after {
    display: block;
    content: "";
    clear: both;
}

/* NEW NEW */

header *, .main_nav {
    box-sizing: border-box;
}

.align-items-center {
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.justify-content-between {
    -webkit-box-pack: justify !important;
    -webkit-justify-content: space-between !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}

.d-flex {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
}


header, .main_nav {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";    
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #292b2c;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 3px 1.5rem;
    clear: both;
    font-weight: 400;
    color: #292b2c;
    text-align: inherit;
    white-space: nowrap;
    background: 0 0;
    border: 0;
    white-space: nowrap;
    font-size: .938em;
    padding: .75rem 1.5rem;
    position: relative;
    text-decoration: none;
}

    .dropdown-item:hover {
        background-color: #f7f7f9;
    }

    .dropdown-item > a {
        text-decoration: underline;
    }

a.dropdown-item:last-of-type {
    border-top: 1px solid #eceeef;
}

.user-profile-values h3 {
    margin-top: 0;
}

.text-center {
    text-align: center !important;
}

.col-12 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.main_nav a {
    padding: 15px 20px;
}

.show > .dropdown-menu {
    display: block;
}

.dropdown-menu {
    z-index: 2000;
}

.dropdown-menu-right {
    right: -10px;
    left: auto;
}

.main_nav ul {
    display: block;
    margin-top: 0;
}
