/* Custom */
:root { --primary:#0046ad }

.modal-header { color: #ffffff; background-color: #0046ad }

.gradient {background-image: linear-gradient(180deg,#0046ad 0%,#ccdaef 100%)!important;}
.gradient-rev {background-image: linear-gradient(180deg,#ccdaef 0%,#0046ad 100%)!important;}
.gradient-lt {background-image: linear-gradient(180deg,#CCDAEF 0%,#F2F6FB 100%) !important;}

h5 {font-weight: 600; font-family: Arial, Helvetica, sans-serif; font-size: 1rem;}
h6 {font-size: 0.9rem;}

table {border-collapse: unset; /*border-spacing:revert;*/}
.logo-img {width: 107px;padding-top:1px;}
.bg-primary {background-color:#0046ad!important;}
.breadcrumbs {padding: 0;}
.nve-content {font-size: 12px;}
.video-border {border: solid 1px; border-color: #0046ad; border-radius: 4px;}
.col-bg-light {border-radius: 4px; background-color:#f2f6fb}
.col-bg-dark {border-radius: 4px; background-color:#0046ad}
.video95 {width: 95%; padding:5px;}
ul li a.active { color: #0046ad !important; background: #CCDAEF; text-decoration: underline !important; }

.nav-tabs .nav-link.active { color: #000 !important; text-decoration: none !important; }

@media all and (min-width: 768px) {
	.navbar{ padding-top: 0; padding-bottom: 0; }
	.navbar .has-megamenu{position:static!important;}
	.navbar .megamenu{left:10%; right:10%; /*width:100%;*/ padding:20px;  }
	/*.navbar .nav-link{ padding-top:1rem; padding-bottom:1rem;  }
	.navbar .nav-item:hover{ color: #000;  }*/
}

@media (max-width: 768px) {
	.navbar .nav-link.dropdown-toggle::after {
		/*display: block;*/
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
	}
}

.navbar .megamenu .nav-link {padding:2px;}
.navbar-dark .navbar-brand:hover {color: #343a40;}
.title {margin-bottom:0;font-weight:700;}

/*#datasheet-dd .dropdown-toggle::after {position:revert;transform: none;}*/
#datasheet-dd .btn-sm {color:#000;background-color:#f4f4f4;line-height:1;}
#datasheet-dd .btn-sm:hover, #datasheet-dd.show .btn-sm {color:#fff;background-color:#000;}		
#datasheet-dd .dropdown-menu {position: absolute;font-size:.75rem;line-height:0.5;min-width: 325px;}

.btn { transition: color 1s ease-in-out,background-color 0.5s ease-in-out,border-color 0.5s ease-in-out,box-shadow 0.5s ease-in-out;}

/*#main_nav .btn {color: #fff; background-color: #0046ad;}
#main_nav .btn:hover, #main_nav .show .btn {color:#000;background-color:#f4f4f4;}*/

#main_nav .nav-item /*{background-image: linear-gradient(180deg,#0046ad 0%,#ccdaef 100%)!important;}*/ {background-color: #0046ad;}
#main_nav .nav-item .nav-link {color: #fff;}
#main_nav .nav-item .nav-link:hover, #main_nav .nav-item.show .nav-link {color:#000;background-color:#fff;/*#CCDAEF;*/}
#main_nav .dropdown-menu {font-size:.75rem;line-height:0.5;min-width: max-content;}

#main_nav .search-open {color:#fff;}
#main_nav .search-open:hover {color:#000;}
#main_nav .search-close {color:#000;}
/*.col-megamenu, .col-megamenu.title{line-height:0.5;}*/

.form-control:focus,
.form-control:active {
    border-color: #000;
    outline: 0;
    box-shadow: inset 0 0 0;
}

#searchForm {
     /*z-index: 2210;
    right: 0; */
}

/* Footer 2024 */
footer {  
 background: #0046AD;  
  color: white;  
  /*margin-top:100px;  */
}  
footer a {  
  color: #fff;  
  font-size: 14px;  
  transition-duration: 0.2s;  
}  
footer a:hover {  
  color: #000; /*#FA944B;  */
  text-decoration: none;  
}  
.copy {  
  font-size: 12px;  
  padding: 10px;  
  border-top: 1px solid #FFFFFF;  
}  
.footer-middle {  
  padding-top: 2em;  
  color: white;
}  /* End Footer 2024 */

footer .fa:hover {opacity: 0.7;}

.fa-twitter-square {color: #3aaae1;}
.fa-linkedin-square {color: #007bb5;}
.fa-youtube-square {color: #bb0000;}

.social:hover {
	 -webkit-transform: scale(1.1);
	 -moz-transform: scale(1.1);
	 -o-transform: scale(1.1);
     transform: scale(1.1);
 }
 .social {
	 /*-webkit-transform: scale(0.8);
	  Browser Variations: 
	-moz-transform: scale(0.8);
	-o-transform: scale(0.8);*/
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
    transition-duration: 0.5s;
	padding:4px;
 }
/*---*/
 
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
	padding: 5px;
}

a[data-toggle="collapse"] {
    position: relative;
}

#sidebar .dropdown-toggle::after {
    /*display: block;*/
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/* Shrinking the sidebar from 250px to 80px and center aligining its content*/
#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

/* Toggling the sidebar header content, hide the big heading [h3] and showing the small heading [strong] and vice versa*/
#sidebar .sidebar-header strong {
    /*display: none;*/
}
#sidebar.active .sidebar-header h3 {
    display: none;
}
#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
}

#sidebar.active ul li a i {
    margin-right:  0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

/* Same dropdown links padding*/
#sidebar.active ul ul a {
    padding: 10px !important;
}

/* Changing the arrow position to bottom center position, 
   translateX(50%) works with right: 50% 
   to accurately  center the arrow */
#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

/*
    ADDITIONAL DEMO STYLE, NOT IMPORTANT TO MAKE THINGS WORK BUT TO MAKE IT A BIT NICER :)
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


body {
    /*font-family: 'Poppins', sans-serif;*/
	font-family: Arial, Helvetica, sans-serif;
    background: #F2F6FB /*#fafafa*/;
}

/*p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}*/

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.5s;
}

#sidebar {
    /* don't forget to add all the previously mentioned styles here too */
    background: #0046ad;
    color: #fff;
    transition: all 0.3s;
	min-width: 220px;
	/*margin: 15px 5px;*/
	font-size: 0.8em;
	padding-bottom: 20vh;
}

#sidebar .sidebar-header {
    padding: 10px;
    background: #ccdaef;
	color: #000;
	border: 1px solid #0046ad;
	border-bottom-width: 0;
}

#sidebar ul.components {
    /*padding: 20px 0;
    border-bottom: 1px solid #47748b;*/
	margin: 1px;
}

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

#sidebar ul li a {
    padding: 5px;
    font-size: 1.1em;
    display: block;
	border-bottom: 1px solid #fff;
}
#sidebar ul li a:hover {
    color: #fff;
    background: #000;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #000;
    background: #fff;
}
#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    color: #0046ad;
    background: #f3f6fd;
}

/* Media Query */
@media (max-width: 768px) {
    /* 80px and its content aligned to centre. Pushing it off the screen with the
       negative left margin
    
    #sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }*/


    /* Reappearing the sidebar on toggle button click */
    #sidebar {
        margin-left: 0; 
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        /*margin-left: -80px !important;*/
    }


    /* Toggling the sidebar header content, 
       hide the big heading [h3] and showing the small heading [strong] and vice versa
    
    #sidebar .sidebar-header strong {
        display: none;
    }*/
    #sidebar .sidebar-header h3 {
        display: none;
    }
    #sidebar .sidebar-header strong {
        display: block;
    }

    /* Downsize the navigation links font size */
    #sidebar ul li a {
        padding: 20px 10px;
        text-align: center;
        font-size: 0.85em;
    }

    #sidebar ul li a i {
        margin-right:  0;
        display: block;
        font-size: 1.8em;
        margin-bottom: 5px;
    }

    /* Adjust the dropdown links padding*/
    #sidebar ul ul a {
        padding: 10px !important;
    }

    /* Changing the arrow position to bottom center position, 
      translateX(50%) works with right: 50% 
      to accurately  center the arrow */
    #sidebar .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
}
