﻿html {
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
}

body {
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    padding-top: 50px;
    padding-bottom: 20px;
    overflow-x: hidden;
}

.menu-item {
    margin-right: 15px; /* Adjust the margin as needed */
}
    

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

a.lowestfooter {
    color: #3391f6; /*Highlight ;*/
    text-decoration: none;
    background-color: transparent;
}

    a.lowestfooter:hover {
        color: white;
        text-decoration: none;
        background-color: transparent;
    }

a.infofooter {
    color: #62aaf8; /*Highlight ;*/
    text-decoration: none;
    background-color: transparent;
}

    a.infofooter:hover {
        color: white;
        text-decoration: none;
        background-color: transparent;
    }


/*.navbar-custom {
    color: #FFFFFF;
    background-color: #CC3333;
}

.navbar-default{
    background-color: gray;
}*/


/*.banner {
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: 0;
    right: 0;
    height: auto;
    width: 100%;*/
    /*margin: 0px -1500px;
    padding: 1px 1500px 10px;*/
    /*background-color: #2c5c8f;
    color: white;*/
/*    margin-bottom: 20px;
    padding: 20px 0;*/
    /*clear: both;
}

.banner .container {
    margin: 0 !important;
    padding: 0px 40px !important;
}

.banner h1 {
    margin: 0 !important;
    padding: 0 !important;
}*/

.banner {
    position: absolute;
    left: 0;
    right: 0;
    height: auto;
    /*margin: 0px -1500px;
    padding: 1px 1500px 10px;*/
    background-color: #2c5c8f;
    color: white;
}

.screen-width {
    position: absolute;
    left: 0;
    right: 0;
}

.upmost-title {
    /*box-shadow: 0 2px 15px rgba(0,0,0,0.25);*/
    /*-moz-box-shadow: 0 2px 15px rgba(0,0,0,0.25);*/
    /*-webkit-box-shadow: 0 2px 15px rgba(0,0,0,0.25);*/
    /*border-bottom: 1px solid rgba(0,0,0,0.2);*/
    /*margin: 0px -1500px;*/
    padding: 0px 40px;
    color: gray;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    font-size: 14px;
}

.Horizontal-line {
    margin: 0px -1500px;
    padding: 0px 1500px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}


a.item-link:visited,
a.item-link:link {
    color: #111;
    text-decoration: none;
    padding: 2px 15px 10px;
    display: block;
    border: 0px none;
    border-radius: 15px;
}

a.item-link:hover {
    color: black;
    background-color: #ddd;
    text-decoration: none;
}


/*.navbar .dropdown-menu {
    color: #fff;
    background-color: #333;
}*/

/*------  Submenu on hover   --------------*/
.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.custom-navbar .navbar-nav .nav-item {
    margin-right: 10pt !important; /* Changed from 10px to 10pt and added !important */
}

.custom-navbar .navbar-nav .nav-link {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 991px) {
    .custom-navbar .navbar-nav .nav-item {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

.nav-tabs .dropdown-menu,
.nav-pills .dropdown-menu,
.navbar .dropdown-menu {
    margin-top: 10px;
    background-color: #999;
}

    .navbar .dropdown-menu > li > a {
        color: white;
    }

        .navbar .dropdown-menu > li > a:hover {
            color: black;
            background-color: #bbb;
        }

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0,0,0,0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}

.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}

/*------  End Submenu on hover   --------------*/


@-webkit-keyframes moveImage {
    0% {
        background-position-y: bottom;
    }

    100% {
        background-position-y: top;
    }
}

@-moz-keyframes moveImage {
    0% {
        background-position-y: bottom;
    }

    100% {
        background-position-y: top;
    }
}

@-ms-keyframes moveImage {
    0% {
        background-position-y: bottom;
    }

    100% {
        background-position-y: top;
    }
}

@-o-keyframes moveImage {
    0% {
        background-position-y: bottom;
    }

    100% {
        background-position-y: top;
    }
}

@keyframes moveImage {
    0% {
        background-position-y: bottom;
    }

    100% {
        background-position-y: top;
    }
}

a.back-to-top {
    display: none;
    -moz-background-inline-policy: initial;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    position: fixed;
    z-index: 999;
    right: 25px;
    bottom: 10px;
    background: #0c3d70 /*#2c5c8f*/ url('../Resources/Icons/back-to-top-single.png') no-repeat center 43%;
    opacity: 0.7;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

a:hover.back-to-top {
    background-color: #000;
    -webkit-animation: moveImage 0.1s 0s 3 linear alternate;
    -moz-animation: moveImage 0.1s 0.1s infinite linear alternate;
    /*-ms-animation: moveImage 0.1s 0s 3 linear alternate;*/
    -o-animation: moveImage 0.1s 0s 3 linear alternate;
    animation: moveImage 0.1s 0s 3 linear alternate;
}


.navbar .brand {
    padding-top: 10px;
    padding-bottom: 10px;
    filter: none;
    border: none;
    background: none;
    box-shadow: none;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    background-color: white;
    /*color: gray;*/
}

.navbar {
    background: #fff;
    filter: none !important;
    /*box-shadow: 0 2px 15px rgba(0,0,0,0.25);*/
    /*-moz-box-shadow: 0 2px 15px rgba(0,0,0,0.25);*/
    /*-webkit-box-shadow: 0 2px 15px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(0,0,0,0.2);*/
}


    .navbar .navbar-nav > li > a,
    .navbar .nav > li > a,
    .navbar .nav-stacked > li > a {
        color: darkgray;
        font-size: 18px;
    }

        .navbar .navbar-nav > li > a:hover,
        .navbar .nav > li > a:hover,
        .navbar .nav li.active > a:hover,
        .navbar .nav-stacked > li > a:hover {
            color: #3b3c6a;
            background: none;
            background-color: transparent;
        }

        .navbar .navbar-nav > li > a:focus,
        .navbar .nav > li > a:focus,
        .navbar .nav-stacked > li > a:focus {
            color: #1b1c4a;
            background-color: transparent;
        }

    .navbar .nav li.active a,
    .navbar .dropdown li.active a {
        color: #2b2c5a;
        background-color: transparent;
    }


.navbar-footer .brand {
    background: none;
    filter: none;
    border: none;
    box-shadow: none;
    background-color: white;
    font-family: "Open Sans";
}

.navbar-footer .nav > li > a:focus,
.navbar-footer .nav > li > a:hover {
    background-color: transparent;
    color: white;
    text-decoration: underline;
}

.navbar-footer .nav > li > a {
    background-color: transparent;
    color: gray;
}


/*.navbar-footer .nav li.active a {
    color: red;
}*/

/*----------  Accordian  -----------------*/
#accordian {
    /*background: #004050;*/
    background-color: transparent;
    /*width: 170px;*/
    /*margin: 10px 0;*/
    color: gray;
    /*Some cool shadow and glow effect*/
    /*box-shadow: 
		0 5px 15px 1px rgba(0,0,0,0.6),
		0 0 200px 1px rgba(255,255,255,0.5);*/
}
    /*heading styles*/
    #accordian h3 {
        font-size: 14px;
        /*line-height: 34px;*/
        /*padding: 0 5px;*/
        cursor: pointer;
        /*fallback for browsers not supporting gradients*/
        background: white; /*#003040;*/
        /*background: linear-gradient(#003040,#002535);*/
        margin-top: 4px;
        padding-top: 0;
        margin-bottom: 2px;
        padding-bottom: 0;
    }
        /*heading hover effect*/
        #accordian h3:hover {
            color: grey; /*#3b3c6a;*/
            text-shadow: 0 0 1px rgba(255,255,255,0.7);
        }

        #accordian h3::selection {
            color: grey;
        }

        #accordian h3:active {
            color: black;
        }
        /*iconfont styles*/
        #accordian h3 span,
        #accordian h4 span {
            font-size: 12px;
            margin: 0;
        }
    /*list items*/
    #accordian li {
        list-style-type: none;
    }

    #accordian ul {
        margin: 0 3px;
        padding: 0 5px;
    }

        /*links*/
        /*#accordian  li  {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom:0;
    }*/

        #accordian ul ul li a,
        #accordian h4 {
            color: grey; /*white;*/
            text-decoration: none;
            font-size: 12px; /*11px;*/
            cursor: pointer;
            /*line-height: 27px;*/
            /*display: block;*/
            /*padding: 0 2px;*/
            /*transition for smooth hover animation*/
            transition: all 0.15s;
            margin: 1px 5px;
            padding-left: 10px;
            padding-right: 10px;
            /*margin-top: 1px;*/
            padding-top: 0;
            /*margin-bottom: 1px;*/
            padding-bottom: 0;
        }
            /*hover effect on links*/
            #accordian ul ul li a:hover,
            #accordian h4:hover {
                color: #3b3c6a;
                background-color: transparent; /*#003545;*/
                /*border-left: 5px solid lightgreen;*/
            }
        /*Lets hide the non active LIs by default*/
        #accordian ul ul {
            display: none;
        }

    #accordian li.hover a,
    #accordian li.active a {
        text-decoration: none;
    }

    #accordian li.active h3,
    #accordian li.active h4 {
        color: black;
    }

/* ----------------- LOGO images -----------------*/
.logo-image {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    /*border: 1px solid rgba(0,0,0,1.0);*/
}

/* ----------------- For Carousel Image -----------------*/
.ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 25%; /* % of width,defines aspect ratio of the cropped image*/
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* ----------------- Site header settings -----------------*/
.site-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 10px 20px !important;
}

/* RTL Support for site header */
[dir="rtl"] .site-header {
    flex-direction: row-reverse !important;
}

/* Responsive behavior for site header */
@media (max-width: 767px) {
    .site-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    [dir="rtl"] .site-header {
        flex-direction: column !important;
    }
}
/* ----------------- Head-container -----------------*/
.head-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.background-image {
    width: 100%;
    height: auto;
}


@media only screen and (max-width : 480px) {
    .site-header {
        padding: 10px 0px;
    }
}

/* Add 10pt gap between top menu items - FINAL WORKING SOLUTION */
#navbarNav li {
    margin-right: 10pt !important;
}

#navbarNav .nav li {
    margin-right: 10pt !important;
}

.custom-navbar li {
    margin-right: 10pt !important;
}

/* Remove margin from last item */
#navbarNav li:last-child,
#navbarNav .nav li:last-child,
.custom-navbar li:last-child {
    margin-right: 0 !important;
}

/* RTL Support */
.navbar-nav.pull-right > li {
    margin-right: 0 !important;
    margin-left: 10pt !important;
}

/* Fix hamburger menu */
.navbar-toggler {
    border: none !important;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Side Menu Fixes */
.nav-pills.nav-stacked {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.nav-pills.nav-stacked li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 5px !important;
}

.nav-pills.nav-stacked li a {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 8px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    color: #333 !important;
    text-decoration: none !important;
    background-color: #f8f9fa !important;
}

.nav-pills.nav-stacked li a:hover {
    background-color: #e9ecef !important;
    color: #000 !important;
}

.nav-pills.nav-stacked li.active a {
    background-color: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
}

/* RTL Support for side menu */
[dir="rtl"] .nav-pills.nav-stacked li a {
    text-align: right !important;
}

/* Banner responsive fixes */
/*@media (max-width: 767px) {
    .banner {
        padding: 15px 0 !important;
    }
    
    .banner .container {
        padding: 10px 20px !important;
    }
    
    .banner h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }
}*/

/* Ensure content after banner has proper spacing */
/* Replace the current rule with this more robust one */
/*.banner ~ .container:not(.banner .container) {
    margin-top: 40px;
}*/

/* Remove margins from breadcrumb container */
/*.banner + .container {
    margin: 0 !important;
}*/