/* removes blue outline on .form-control element */
.form-control:focus, .form-control:active, .form-control:visited {
	outline: none !important;
	box-shadow: none !important;
}

/* removes blue outline on .btn element */
.btn:focus, .btn:active, .btn:visited {
	outline: none !important;
	box-shadow: none !important;
}

a {
	color: inherit;
}

a:link,
a:visited,
a:active,
a:hover {
    text-decoration: none;
    
    color: inherit;
}

.disable {
	pointer-events: none;
	
	background-color: #ece9e9 !important;
}


html {
    font-size: 16px;
}

body {
    margin: auto;
    padding: 0;
    
    background-color: #fff;
}

/************************************************ #top-login-bar ************************************/
#top-login-bar {
    background-color: #192f59;

    color: rgba(255, 255, 255, 0.65);

    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;

    padding: 0 4rem 0 6rem;

    height: 60px;
}

#top-login-bar div {
    display: flex;
    flex-flow: row nowrap;

    margin-right: 40px;

    display: flex;
    align-items: center;
}

#top-login-bar div span:first-child {
    margin-right: 0.6rem;
}

#top-login-bar div:last-child {
    flex: 1 0 50%;

    display: flex;
    justify-content: flex-end;

    margin-right: 0px;
}

#top-login-bar div:last-child ul {
    padding: 0;
    margin: 0;
    
    list-style: none;
    
    display: flex;
    align-items: center;
}

#top-login-bar div:last-child ul li {
    margin-left: 1.5rem;
}

#top-login-bar div:last-child ul li a {
    text-decoration: none;

    color: inherit; 

    transition: color 0.5s;
}

#top-login-bar div:last-child ul li a:hover {
    color: rgba(255, 255, 255, 1);
}

/************************************************ #top-navigation-bar ************************************/
#top-navigation-bar {
    color: rgba(0, 0, 0, 0.65);

    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;

    padding: 0rem 4rem 0rem 4rem;
    height: 60px;
    
    box-shadow: 0 2px 2px rgb(128, 128, 128, 0.15);
}

#top-navigation-bar > div {
    display: flex;
    flex-flow: row nowrap;

    align-items: stretch;

    padding: 1.6rem 0;
    /* height: 6rem; */
}

#top-navigation-bar > div:first-child {
    display: flex;
    align-items: center;
}

#top-navigation-bar > div:first-child span:nth-child(2) {
    display: none;
}

#top-navigation-bar > div:first-child span:first-child img {
    height: 40px;
    
    margin-right: 1rem;
}

#top-navigation-bar > div:first-child span:last-child {
    font-size: 1.5rem;
    font-weight: bold;
}

#top-navigation-bar > div:first-child span:last-child a {
    color: inherit;
}

#top-navigation-bar > div:last-child {
    flex: 1 0 50%;

    display: flex;
    justify-content: flex-end;
    
    padding: 0px;
}

#top-navigation-bar > div:last-child ul.l1 {
    padding: 0;
    margin: 0;
    
    list-style: none;
    
    display: flex;
}

#top-navigation-bar > div:last-child ul.l1 > li {
    margin-left: 1.5rem;

    display: flex;
    align-items: center;

    border-bottom: 5px solid transparent;

    transition: border-bottom-color 0.25;
}

#top-navigation-bar > div:last-child ul.l1 > li:hover {
    cursor: pointer;

    border-bottom: 5px solid #0d8e3a;
}

#top-navigation-bar > div:last-child ul.l1 > li > a {
    color: inherit; 

    font-weight: bold;

    height: 100%;

    display: flex;
    align-items: center;

    transition: color 0.25s;
}

#top-navigation-bar > div:last-child ul.l1 > li a:hover {
    color: #0d8e3a;
}

#top-navigation-bar ul.l1 > li {
    position: relative;
}

#top-navigation-bar ul.l2 {
    list-style: none;

    display: none;

    margin: 0;
    padding: 0;

    position: absolute;
    top: calc(100% + 5px);
    left: 0;

    background-color: rgba(236, 236, 236, 1);

    z-index: 1000;
    
    overflow: hidden;
    border-radius: 0.25rem;
    
    border: 1px solid #ccc;
}

#top-navigation-bar ul.l2.long-list {
    width: 452px;
}

#top-navigation-bar ul.l2 li {
    width: 200px;

    width: 150px;
}

#top-navigation-bar ul.l1 > li:hover ul.l2 {
    display: flex;
    flex-flow: row wrap;
}

#top-navigation-bar ul.l2 > li:hover {
    cursor: pointer;
    
    background-color: rgba(255, 255, 255, 0.95);
}

#top-navigation-bar ul.l2 > li:hover a {
    transition: color 0.25s;
    color: #0d8e3a;
}

#top-navigation-bar ul.l2 > li > a {
	display: block;
	
    padding: 1rem 1.5rem;

	
    color: rgba(0, 0, 0, 0.65); 
    
    text-align: center;
}

/******************************************* fix for sudy ***********************************/
#top-navigation-bar {
    align-items: stretch;
}

#top-navigation-bar ul.wp-menu {
    display: flex;
    
    height: 100%;

    margin: 0;

    padding: 0;
}

#top-navigation-bar ul.wp-menu > li {
    position: relative;

    margin-left: 1.5rem;

    display: flex;
    align-items: center;

    border-bottom: 5px solid transparent;
}

#top-navigation-bar ul.wp-menu > li.i3 > a {
    pointer-events: none;
}

#top-navigation-bar ul.wp-menu > li.i4 ul {
    width: 452px;
}

#top-navigation-bar ul.wp-menu .menu-text {
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}

#top-navigation-bar ul.wp-menu > li:hover {
    transition: border-bottom-color 0.25s;
    cursor: pointer;
    border-bottom: 5px solid #0d8e3a;
}

#top-navigation-bar ul.wp-menu li a:hover {
    color: #0d8e3a;
}

#top-navigation-bar ul.wp-menu > li:hover ul.sub-menu {
    display: flex;
    flex-flow: row wrap;
}

/**************** Note: temporary, subject to change any time from now on ************************/
#top-navigation-bar ul.wp-menu > li.i4 ul.sub-menu {
    display: none !important;
}
/**************** Note: temporary, subject to change any time from now on ************************/

#top-navigation-bar ul.sub-menu {
    list-style: none;
    display: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: rgba(236, 236, 236, 1);
    z-index: 1000;
    overflow: hidden;
    border-radius: 0.25rem;
    border: 1px solid #ccc;
}

#top-navigation-bar ul.sub-menu {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

#top-navigation-bar ul.sub-menu li {
    width: 150px;
}

#top-navigation-bar ul.sub-menu li:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.95);
}

#top-navigation-bar ul.sub-menu li a {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(0, 0, 0, 0.65);
    text-align: center;
}

#top-navigation-bar ul.sub-menu > li:hover a {
    color: #0d8e3a;
}

/************************************************ #mobile-nav-bar ************************************/
#mobile-navi-bar {
    display: none;
    
    align-items: center;
    
    height: 42px;
    
    padding: 0 2.5rem;

    border-bottom: 1px solid #e0e0e0;
}

#mobile-navi-bar > span:first-child {
    margin-right: 1rem;
}

#mobile-navi-bar > span:nth-child(2) {
    flex: 1 0 auto;
}
