html, body {
    height: 100%;
}

body {
    padding-top: 10px;
/* Required padding for .navbar-fixed-top. Remove if using
   .navbar-static-top. Change if height of navigation changes. */
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

header.carousel {
    height: 60%;
    width: 80%;
    margin: auto;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
    width: 900px;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
/* To remvove the back ground pic for carousel */
.carousel-control.left, .carousel-control.right {
    background-image: none
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
    display: block;
    /*max-width: 100%; */
    width: auto;
    height: auto;
    max-height: 400px;
}

/* Customize navbar */

.navbar-custom {
    margin-top: 10px;
    background-color:#000E2F;
    color:#d1d1d1;
    border-radius:0;
    height: auto;
}

.navbar-custom .navbar-nav > li > a {
    color:#d1d1d1;
}

.navbar-custom .navbar-nav > .active > a {
    color: #ffffff;
    background-color:#ffffff;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus,
.navbar-custom .navbar-nav > .open >a {
    text-decoration: none;
    background-color: transparent;
    color: #ffffff;
}

.navbar-custom .navbar-brand {
    color:#d1d1d1;
}
.navbar-custom .navbar-toggle {
    background-color:#eeeeee;
}
.navbar-custom .icon-bar {
    background-color:#000E2F;
}
.navbar-custom .navbar-collapse {
    background: transparent;
    /*replace with desired color*/
}

/* 404 Page Styles */
.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */
.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

@media(max-width: 400px) {
    .carousel-inner > .item > img,
    .carousel-inner > .item > a > img {
    display: block;
    /*max-width: 100%; */
    width: auto;
    height: 250px;
    }
}

@media (max-width: 991px) {
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
    color: #FFFFFF;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #000E2F;
    background-color: #FFFFFF;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #555;
    background-color: transparent;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #ccc;
    background-color: transparent;
  }
}
.navbar-custom .navbar-link {
  color: #777;
}
.navbar-custom .navbar-link:hover {
  color: #333;
}
.navbar-custom .btn-link {
  color: #777;
}
.navbar-custom .btn-link:hover,
.navbar-custom .btn-link:focus {
  color: #333;
}
.navbar-custom .btn-link[disabled]:hover,
fieldset[disabled] .navbar-default .btn-link:hover,
.navbar-default .btn-link[disabled]:focus,
fieldset[disabled] .navbar-default .btn-link:focus {
  color: #ccc;
}

.post-date{
  display: block;
  margin-top: -.5rem;
  margin-bottom: 1rem;
  color: #9a9a9a;
}

.dropdown-submenu{ position: relative; }

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-custom .navbar-header {
        float: none;
    }
    .navbar-custom .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-custom .navbar-toggle {
        display: block;
    }
    .navbar-custom .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-custom .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-custom .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-custom .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
	margin-bottom: 7.5px;
	margin-left: -30px;
    }
    .navbar-custom .navbar-nav>li {
        float: none;
    }
    .navbar-custom .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-custom .collapse.in{
        display:block !important;
    }
    .navbar-custom .navbar-nav .open .dropdown-menu {
	position: static;
	margin-left: 5px;
	float: none;
	width: auto;
	margin-top: 0;
	background-color: transparent;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
    }
}


/* Card and Button for Election page*/

.card-e {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    text-align: center;
}

.title-e {
    color: grey;
    font-size: 18px;
}

.btn-radio {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000E2F;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

.btn-radio:hover {
		  opacity: 0.7;
		  }

.btn-radio.active {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: lightblue;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

.img-radio {
    opacity: 0.5;
    margin-bottom: 5px;
}

.btn-radio-static {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000E2F;
    text-align: center;
    width: 100%;
    font-size: 18px;
}

/* Login Profile */ 

.custom-select {
    width: 100%;
}


/* nextgen */

ul.ul-fluid {
    margin-left:-15px;
}

.form-checkbox-custom {
    font-weight: normal !important;
    margin-bottom:0px;
}

/* upload file */

.file-input {
    position: relative;
    overflow: hidden;
    margin: 0px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.file-input input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
.file-input-title {
    margin-left:2px;
}

/*
input:required {
    border-color: #800000;
    border-width: 3px;
}

select:required {
    border-color: #800000;
    border-width: 3px;
}
*/