﻿body {
    padding-top: 50px;
    padding-bottom: 40px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-top:20px;
}
.noborder {
    border: none;
    outline: none;
    outline-offset: 0;
    background-color:none;
}
/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display: inline-block;
    content: "[";
    padding-right: 0.5em;
}

.btn-bracketed::after {
    display: inline-block;
    content: "]";
    padding-left: 0.5em;
}

/* Make .jpg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".jpg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 1024px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}



.well-prepoll {
    background-color: #d1eff6;
    border: 1px solid #1aa3bc;
}

.well-absentee {
    background-color: #fa9f9f;
    border: 1px solid #d58e8e;
}

.well > table {
    margin-bottom: 0px;
}


.modal-header-danger {
     padding: 9px 15px;
     border-bottom: 1px solid #eee;
     background-color: #a94442;
     -webkit-border-top-left-radius: 5px;
     -webkit-border-top-right-radius: 5px;
     -moz-border-radius-topleft: 5px;
     -moz-border-radius-topright: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
    color: white;
    text-decoration-color: white;
 }

.modal-header-danger .modal-title {
    color: white;
}

.modal-header-success {
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #28a745 !important;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: white;
    text-decoration-color: white;
}

    .modal-header-success .modal-title {
        color: white;
    }

    .modalcenter {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.modal-backdrop {
    opacity: 0.5 !important;
}



