﻿body {
    padding-top: 80px;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 150px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    /*max-width: 280px;*/
    /*margin-left: 10px;
    margin-right: 20px;*/
   /*max-width: calc(100% - 30px);*/
}

#AdGrid-Container {
    position: relative;
}

#loading-gif {
    text-align: center;
}

.grid-cell {
    border: 1px solid;
    line-height: 80px;
    height: 80px;
    position: relative;
    text-align: center;
}

.grid-cell-text {
    color: white;
    position: relative;
}

.grid-cell-selected {
    background-color: #0094ff;
    display: inline-block;
    line-height: 80px;
    height: 80px;
    width: 100%;
    left: 0;
    position: absolute;
    top: 0;
}

.nav-btn-link {
    color: #777;
    padding-top: 15px;
    padding-bottom: 15px;
    text-decoration: none;
}

.nav-btn-link:hover {
    color: #333;
    text-decoration: none;
}



@media (min-width: 768px) {
    .carousel-caption {
        z-index: 10 !important;
    }
}

.navbar-nav > li > a {
    padding-top: 25px !important;
}

    .dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #555;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.form-horizontal .form-group {
    margin-right: 15px !important;
    margin-left: 15px !important;
}


.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    font-weight: bold;
    /*height: 300px;*/
    width: 100%;
    overflow: hidden;
    /*padding: 2.5rem 0;*/
    color: #fff;
    text-align: center;
    background-color: #333745;
    border-top: .05rem solid #e5e5e5;
    margin-top: 120px;
}

.footer-nav {
    background: #e8e8e8;
    padding: 7px 0;
    text-align: center;
    line-height: 12px;
}

.footer-nav-link {
    color: #686868;
    display: inline-block;
    font-size: 12px;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px #aaa solid;
    text-decoration: none;
}

    .footer-nav-link:hover {
        color: #000;
        text-decoration: none;
    }

.footer-bottom-nav {
    margin-bottom: 25px;
}

.footer-bottom-nav-link {
    color: #CACACA;
    display: inline-block;
    font-size: 14px;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px #aaa solid;
    font-weight: lighter;
    text-decoration: none;
}

    .footer-bottom-nav-link:hover {
        color: #FFF;
        text-decoration: none;
    }

#footer-bottom-nav-link-last {
    border: none;
}

#acm-logo-footer {
    margin: 5px 0 5px;
}

.acm-copy {
    font-weight: lighter;
    font-size: 11px;
    color: #cacaca;
}

.blog-footer p:last-child {
    margin-bottom: 0;
}






span.twitter-typeahead {
  width: 100%;
}
.input-group span.twitter-typeahead {
  display: block !important;
}
.input-group span.twitter-typeahead .tt-dropdown-menu {
  top: 32px !important;
}
.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
  top: 44px !important;
}
.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
  top: 28px !important;
}



.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

.tt-menu {    /* used to be tt-dropdown-menu in older versions */
  width: 422px;
  margin-top: 4px;
  padding: 4px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
  line-height: 24px;
}

.tt-suggestion.tt-cursor,.tt-suggestion:hover {
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion p {
  margin: 0;
}


.ui-datepicker {
    z-index:2 !important;
}



.input-group {
    display: flex !important;
    min-width: 100% !important;
}

.input-group-addon {
    flex-basis: 40px !important;
    display: flex !important;
    align-items: center !important; /* Aligning items vertically center */
    justify-content: center !important; /* Aligning items horizontally center */
}

#pdfImage {
    height: -webkit-fill-available;
    width: 100%;
}

.fg-ad-selection {
    margin-right: 10px !important;
    margin-left: 10px !important;
}

#dropzoneForm {
    width: 100%;
    height: 215px;
}
.bg-blue {
    background-color: #f2f2f2;
    box-shadow: 0 3px 8px 0 rgba(0,0,0,0.2),0 3px 8px 0 rgba(0,0,0,0.19) !important;
}

.card-block {
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#previewImage {
    box-shadow: 0 3px 8px 0 rgba(0,0,0,0.2),0 3px 8px 0 rgba(0,0,0,0.19) !important;
}

#fileinfo {
    font-size: 11px;
    color: gray;
    margin-left: 5px;
    margin-top: 5px;
}

/* Style the Image Used to Trigger the Modal */
#previewImage {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #previewImage:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 85px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}


/* Select2 Dropdown site specific styling */
#preview {
    position: absolute;
    border: 3px solid #ccc;
    background: #333;
    padding: 5px;
    display: none;
    color: #fff;
    box-shadow: 4px 4px 3px rgba(103, 115, 130, 1);
}

.img-thumbnail {
    width: 73px;
    padding: 0px;
    border: 0px !important;
    border-radius: 0px !important;
}

.img-thumbnail-spread {
    width: 146px;
    padding: 0px;
    border: 0px !important;
    border-radius: 0px !important;
}

.img-thumbnail:hover {
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.19) !important;
}

.img-thumbnail-spread:hover {
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.19) !important;
}


.dropdown-image {
    float: left;
    height: 112px;
}

.dropdown-image-selected {
    box-shadow: 0 8px 18px 0 rgba(0, 0, 0, 0.2), 0 8px 18px 0 rgba(0, 0, 0, 0.19) !important;
}

.dropdown-image-notselected {
    color: white;
}

.dropdown-image-text {
    margin-left: 85px;
    height: 112px;
}

.dropdown-image-text-spread {
    margin-left: 158px;
    height: 112px;
}

.admodulename {
    font-size: 16pt;
    font-weight: bolder;
}

.select2-selection__arrow {
    height: 34px !important;
}

.select2-results__group {
    font-size: 16px !important;
    color: #2b2b2b !important;
}

.select2-container--bootstrap .select2-results > .select2-results__options {
    max-height: 600px !important;
    overflow-y: auto;
}

.select2-results {
    max-height: 600px !important;
}

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

.select2-results__option--highlighted {
    background-color: rgb(233, 233, 233) !important;
    color: black !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 4px !important;
}


.loginlogo {
    width: 100%;
    text-align: center;
}

.logintext {
    width: 100%;
    text-align: center;
    color: #aba9a9;
    text-decoration: none; /* no underline */
    padding-top: 10px;
}

    .loginlink a {
        color: #FFFFFF;
        text-decoration: none;
    }

.adedhead {
    margin-top: 15px;
    /*margin-bottom: 30px;*/
    font-weight: 900;
    font-style: normal;
    text-align: center;
    width: 100%;
    color: #545454;
    font-size: 48px;
}
.adedcontent {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.section-space {
    margin:20px;
    padding-top: 160px;
}

.index-category {
    margin-top: 0px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    text-align: center;
    width: 220px;
    color: #aba9a9;
    font-size: 14pt;
}

.index-category-text {
    margin-top: 15px;
    color: #aba9a9;
    text-decoration: none; /* no underline */
}
.index-category a {
    color: #FFFFFF;
    text-decoration: none;
}

.drop-shadow-create {
    float: left;
}
    .drop-shadow-create:hover img {
        filter: drop-shadow(10px 10px 10px gray);
    }
    .drop-shadow-create:hover span {
        color: #2b2b2b;
    }
    .drop-shadow-create-thumb:hover img {
        filter: drop-shadow(4px 4px 4px gray);
    }

.drop-shadow-read {
    float: left;
}
    .drop-shadow-read:hover img {
        filter: drop-shadow(10px 10px 10px gray);
    }
    .drop-shadow-read:hover span {
        color: #2b2b2b;
    }
    .drop-shadow-read-thumb:hover img {
        filter: drop-shadow(4px 4px 4px gray);
    }

.drop-shadow-update {
    float: left;
}
    .drop-shadow-update:hover img {
        filter: drop-shadow(10px 10px 10px gray);
    }
    .drop-shadow-update:hover span {
        color: #2b2b2b;
    }
    .drop-shadow-update-thumb:hover img {
        filter: drop-shadow(4px 4px 4px gray);
    }

.drop-shadow-delete {
    float: left;
}
    .drop-shadow-delete:hover img {
        filter: drop-shadow(10px 10px 10px gray);
    }
    .drop-shadow-delete:hover span {
        color: #2b2b2b;
    }
    .drop-shadow-delete-thumb:hover img {
        filter: drop-shadow(4px 4px 4px gray);
    }

.drop-shadow-createonetime {
    float: left;
}
    .drop-shadow-createonetime:hover img {
        filter: drop-shadow(10px 10px 10px gray);
    }
    .drop-shadow-createonetime:hover span {
        color: #2b2b2b;
    }
    .drop-shadow-createonetime-thumb:hover img {
        filter: drop-shadow(4px 4px 4px gray);
    }

.drop-shadow-listonetime {
    float: left;
}

    .drop-shadow-listonetime:hover img {
        filter: drop-shadow(10px 10px 10px gray);
    }

    .drop-shadow-listonetime:hover span {
        color: #2b2b2b;
    }

.drop-shadow-listonetime-thumb:hover img {
    filter: drop-shadow(4px 4px 4px gray);
}

.table-adselection {
    font-size: 13px !important;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2),0 2px 3px 0 rgba(0,0,0,0.19) !important;
    width: 100%;
}
.table-header {
    background-color: #f2f2f2;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2),0 2px 3px 0 rgba(0,0,0,0.19) !important;
}

.dropdownbutton {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 4px !important;
}

.tbbutton {
    width: 170px !important;
}

.tbdropdownbutton {
    width: 140px !important;
}

.pagination {
    margin-top: -35px !important;
    margin-bottom: 5px !important;
}