﻿.whatres {
    display: none;
    /*z-index: 10000000;
    height: 8px;*/
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: #fff;
    color: #333;
    font-family: 'Ubuntu', sans-serif;
    padding-top: 116px; /*for header*/
    margin-bottom: 200px; /*for footer*/
}


header {
    margin-bottom:15px;
}

.bg-dark {
    background-color: #231f20 !important;
}

.navbar {
    padding:10px 0;
}

.navbar-nav {
    font-size: 14px;
    margin-right: 15px;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: .7rem;
    padding-left: .7rem;
}

.nav-item > a {
    color: #fff !important;
}

    .navbar-nav > li:not(:first-child):before {
        content: " | ";
        color: #ee2a24;
        position: absolute;
        top: 7px;
        margin-left: -2px;
    }


.dropdown-menu {
    min-width: 160px;
    padding: 5px 0;
    margin: 17px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
    border-radius: 10px;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    background-color: #ee2a24;
}

.dropdown-item {
    color: #fff !important;
}
    .dropdown-item:focus, .dropdown-item:hover {
        color: #000 !important;
        text-decoration: none;
        background-color: transparent;
    }


.logo {
    float: left;
    padding: 0 12px;
}

    .logo img {
        width: 200px;
    }

.redbar {
    font-size: 14px;
    color: white;
    background: #EE2A24;
    padding: 2px 0 4px;
    margin: 0;
    width: 100%;
    z-index: 999;
}

    .redbar a {
        color: white;
    }

.strapline {
    text-align: right;
    padding-right: 15px;
    font-weight: bold;
}

    .strapline .fa {
        margin-right: 5px;
    }

    .strapline span {
        color: #000;
    }

    .strapline div {
        text-align: center;
        display: inline-block;
        padding: 0 15px;
    }


h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 35px;
}

h1 {
    font-weight: normal;
    color: #333;
    font-size: 35px;
    margin-bottom: 15px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p, ol, ul {
    font-size: 18px;
    margin: 0 0 15px;
}

    p.sm {
        font-size: 12px;
    }

hr {
    border-top: 1px solid #ccc;
}




/* Table */
.table .thead-dark th {
    background-color: #6c757d;
    border-color: #888;
}
.table-responsive > .table td {
    white-space: nowrap;
}





.bd-content > table > thead > tr > th,
.bd-content > table > thead > tr > td,
.bd-content > table > tbody > tr > th,
.bd-content > table > tbody > tr > td,
.bd-content > table > tfoot > tr > th,
.bd-content > table > tfoot > tr > td {
    padding: 0.3rem;
    vertical-align: top;
    border: 1px solid #dee2e6;
    background-color:#fff;
}

    .bd-content > table > thead > tr > th > p:last-child,
    .bd-content > table > thead > tr > td > p:last-child,
    .bd-content > table > tbody > tr > th > p:last-child,
    .bd-content > table > tbody > tr > td > p:last-child,
    .bd-content > table > tfoot > tr > th > p:last-child,
    .bd-content > table > tfoot > tr > td > p:last-child {
        margin-bottom: 0;
    }

.bd-content > table td:first-child > code {
    white-space: nowrap;
}


/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px 0px;
    background-color: #e5e3df;
}

    .footer p {
        margin: 0 0 5px;
    }

.footer-content {
    background-color: #e5e3df;
    padding-top: 15px;
}

.foot-logo img {
    width: 180px;
    margin-bottom: 15px;
}

.foot-copyright {
    font-size: 11px;
    text-align: right;
    color: #333;
}

.redbar-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}






@media (max-width: 1200px) {
    .whatres {
        background-color: red;
    }

    .logo img {
        width: 160px;
        margin-top: 6px;
        margin-bottom: 7px;
    }

    .navbar-nav {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .whatres {
        background-color: blue;
    }

    body {
        padding-top: 87px !important;
        margin-bottom: 265px; /*for footer*/
    }

    .navbar-nav {
        font-size: 12px;
        margin-right: 15px;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: .3rem;
        padding-left: .3rem;
    }

    .strapline {
        display: none;
    }

    .footer p.small {
        font-size: 66%;
    }
}

@media (max-width: 720px) {
    .whatres {
        background-color: green;
    }

    body {
        padding-top: 73px !important;
    }

    .logo {
        margin: 0 0 0 15px;
    }

    .navbar {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .navbar-nav {
        font-size: 15px;
        background-color: #ee2a24;
        margin-right: 0px;
        margin-top: 4px;
    }

        .navbar-nav > li:not(:first-child):before {
            content: "";
        }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-left: 15px;
    }

    .navbar-toggler {
        margin-right:15px;
    }

    .dropdown-menu {
        min-width: 160px;
        padding: 5px 0;
        margin: 0;
        list-style: none;
        font-size: 14px;

        border: 1px solid #ccc;
        border: 1px solid rgba(0,0,0,.15);
        background-clip: padding-box;
        border-radius: 10px;
        border-top-right-radius: 0 !important;
        border-top-left-radius: 0 !important;
    }
    
    h1 {
        font-size: 35px;
    }

    .foot-copyright {
        font-size: 10px;
        text-align: center;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .whatres {
        background-color: purple;
    }

    body {
        margin-bottom: 430px;
    }


    h1, .h1, h2, .h2, h3, .h3 {
        line-height: 30px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    p, ol, ul {
        font-size: 14px;
    }

}

@media (max-width: 328px) {

}

.white-area {
    background-color: #e0f3fd;
    border-radius: 10px;
    color: #4F4F4F;
    padding: 20px 20px 20px 20px;
    overflow: auto;
    margin-bottom: 20px;
    border: 1px solid #CCC;
}


.no-value {
    color: #d0cccc;
}

.fieldGroupCol {
    background-color: #EE2A24;
    margin-bottom: 10px;
}

.fieldGroupCol h3 {
    margin: 0;
    padding: 8px;
    color: #fff;
}

#CPH_Content_rblExportBy input {
    margin-right: 8px;
}

#ContentPlaceHolder1_rblDateRange input {
    margin-right: 8px;
}

.searchButtons {
    margin-top: 62px;
}

.searchButtons .btn:first-child{
    margin-right: 25px;
}

table#CPH_Content_gvForms {
    display: table;
}

.leadsSummary table.table{
    text-align: center;
}

.leadsSummary table.table a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.leadsSummary .novalue{
    color: lightgrey;
}

.leadsSummaryTotal {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#txtCountDatePeriod{
    width: 50%;
    margin-left: 10px;
    display: inline-block;
}

.leadsSummary{
    margin-bottom: 20px;
}

.leadsSummary table.yearsummary thead th {
    border-bottom-width: 2px;
    width: 5% !important;
    vertical-align: middle;
}


.leadsSummary table.yearsummary tr.previousyear {
    color: lightgrey;
}

.cb-mr > input {
    margin-right: 8px;
    transform: scale(1.5);
}

.drpdwn-shortcuts {
    cursor: pointer;
}

.drpdwn-shortcuts:hover{
    text-decoration:underline !important;
}

#CPH_Content_rblDateRange input {
    margin-right: 8px;
}

.admin-feedback {
    padding: 10px;
}

.wrap-footer ul li.icon-social {
    justify-content: space-between;
}

.wrap-footer ul li {
    display: flex;
}

ul.social {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.social li a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 19px;
    text-align: center;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: #fff;
    color: #7f7f7f
}

ul.social li a:hover {
    background-color: #e31837;
    color: #fff
}

.social-media a {
    margin: 0 0 0 5px;
    padding: 5px 8px;
    text-align: center;
    display: inline-block;
    opacity: .95;
    color: #73879c
}

.social-media a:hover {
    color: #fff
}

.social-media i {
    margin: 0 !important
}

.social-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(1.2);
    display: block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-position: center;
}

.social-icon.facebook {
    background-image: url(/i/socialicons/grey/facebook.svg);
}

.social-icon.x {
    background-image: url(/i/socialicons/grey/x.svg);
}

.social-icon.instagram {
    background-image: url(/i/socialicons/grey/instagram.svg);
}

.social-icon.youtube {
    background-image: url(/i/socialicons/grey/youtube.svg);
}

.social-icon.linkedin {
    background-image: url(/i/socialicons/grey/linkedin.svg);
}

li.icon-social a:hover .social-icon.facebook {
    background-image: url(/i/socialicons/white/facebook.svg);
}

li.icon-social a:hover .social-icon.x {
    background-image: url(/i/socialicons/white/x.svg);
}

li.icon-social a:hover .social-icon.instagram {
    background-image: url(/i/socialicons/white/instagram.svg);
}

li.icon-social a:hover .social-icon.youtube {
    background-image: url(/i/socialicons/white/youtube.svg);
}

li.icon-social a:hover .social-icon.linkedin {
    background-image: url(/i/socialicons/white/linkedin.svg);
}