﻿/*This is the css customisation for MasterView MVC*/


#page-wrapper {
    min-height: 800px !important;
}

#wrapper {
    background: white;
    box-shadow: 0 -30px 30px -4px #999;
}

.table.table-striped tbody > tr:hover {
    background: #D8F7F7;
}

#map_canvas {
    border: solid 1px black;
}

#map_canvas_print {
    height: 400px;
    width: 550px;
}

#map_container:not(.homepage) {
    padding: 3%;
}

.container-fluid {
    margin-bottom: 30px;
}

#printIcon {
    float: right;
    font-size: 15px;
    padding: 0px !important;
    min-height: 0px !important;
    background-color: transparent !important;
}

.navbar-top-links li a {
    min-height: 0;
}

.nav.navbar-top-links.navbar-right a {
    padding: 0;
    margin: 10px;
    min-height: 0 !important;
}

.form-btns {
    float: right;
    padding-top: 15px;
}

#scrollableContent {
    overflow-x: scroll;
    overflow-y: scroll;
    height: 400px;
}

pre.prettyprint {
    background-color: #fee9cc;
}

pre.prettyprint {
    padding: 16px 20px;
    margin: 10px 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    max-width: 100%;
}

/*Application.cshtml page*/
/*Expanded accordion*/
#application .ui-accordion-header.ui-accordion-header-active.ui-state-active {
    background: #00e195;
}

/*Hovered accordion*/
#application .ui-accordion-header.ui-state-hover.ui-accordion-header-active,
#application .ui-accordion-header.ui-state-hover.ui-state-default {
    background: #84ccb4;
    border: 1px solid black;
}

/*Collapsed accordion*/
#application .ui-accordion-header.ui-state-active,
#application .ui-accordion-header.ui-state-default {
    background: #a6ffe1;
}

#application .ui-corner-bottom {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

#application .ui-corner-top {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

#application .ui-accordion-content,
#application .ui-accordion-header.ui-state-default {
    margin-bottom: 5px;
}

    /* No padding for ordered lists like related applications*/
    #application .ui-accordion-content.ui-widget-content ol {
        padding-left: 0px;
    }

#application {
    padding-bottom: 20px;
}

    #application .btn {
        color: #fff;
    }

.icon-wrap {
    display: none;
}

.ui-accordion-content a {
    color: blue;
}

.ui-icon {
    position: absolute;
}

.ui-accordion-header a {
    padding-left: 5px;
}

#application h3 {
    font-weight: bold;
}


/*Applications.cshtml page*/

/*This fix is required for proper placing of the 'Processing...' notification*/
.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 40px;
    margin-left: -50%;
    margin-top: -25px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.2em;
}

.header:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

.headerSortUp:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

.headerSortDown:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}




/*_GoogleMaps_ApplicationDetailsPage.cshtml page*/

/*This css is required for enabling the use of percentage height on the google maps*/
.container-fluid, #page-wrapper, #wrapper, #application {
    /*height: 100%;*/
}

#map_canvas .ui-accordion-content {
    /*max-width: 600px;*/
    /*max-height: 200px;*/
    /*height: 100%;*/
}

#application .glyphicon {
    font-size: smaller;
}


/* This frame encloses the google maps so that the parent elements don't need to have 100% height. */
.iframe-rwd {
    position: relative;
    padding-bottom: 40%;
    height: 0;
    overflow: hidden;
}


/*_GoogleMaps_HomePage.cshtml page*/

.homepage .iframe-rwd {
    padding-bottom: 50%;
    margin-right: 10%;
}

/* Hides the printable map container */
#map_canvas_print_container {
    opacity: 0;
    position: fixed;
}


/*About.cshtml*/
#appEnquiry {
    font-weight: bold;
    text-decoration: underline;
}

#civicaInfo {
    margin-top: 35%;
}



/*Disclaimer.cshtml page*/
#btns {
    margin-bottom: 10px;
}



/*Index.cshtml page*/
#gmapsLabel {
    margin-bottom: 20px;
    margin-top: 20px;
}


/* _AdvancedSearch.cshtml page */
.col-sm-10.form-input {
    padding-left: 0;
    padding-right: 0;
}

.popover {
    width: 200px;
}





/* Otherwise the search and per page used a bold font set by bootstrap */
.dataTables_paginate.paging_full_numbers {
    padding-top: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: inline-block;
    padding-left: 0;
}

    .paginate_button,
    .dataTables_paginate.paging_full_numbers span span /*For ... within span tag in the pagination block*/ {
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #337ab7;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
    }

        .paginate_button.current {
            z-index: 2;
            color: #fff;
            cursor: default;
            background-color: #337ab7;
            border-color: #337ab7;
        }

        .paginate_button.first {
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .paginate_button.last {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .paginate_button.disabled {
            background-color: transparent;
            color: #bfbfbf;
        }





/* Admin page */
#admin-logout {
    float: right;
}
    #admin-logout span {
        padding-right: 5px;
    }

#admin-login td {
    padding-bottom: 5px;
}


/*OleExplorer page*/
#dataTableContainer {
    margin-top: 20px;
}

div#error {
    white-space: pre-wrap;
}


/*FileDump page*/
#log pre, #config pre {
    margin: 15px;
}

.tab-pane pre {
    margin: 10px;
}

.tab-pane.active {    
    padding-top: 10px;
}


/* Hides the main map and puts the printable map in print template */
@media print {
    #map_canvas_print_container {
        opacity: 1;
        position: relative;
    }

    #map_canvas, #googlemaps, #map_container.ui-accordion-content.ui-helper-reset.ui-widget-content.ui-corner-bottom {
        display: none !important;
    }

    #wrapper {
        margin-left: 5% !important;
        margin-right: 5% !important;
        width: 90% !important;
    }

    .page-header h2 {
        display: block !important;
    }

    .page-header {
        padding-bottom: 0px !important;
        margin-top: 90px !important;
    }

    #page-wrapper {
        margin: 0px !important;
        border-color: #FFFFFF;
    }
}





/* For desktops */
@media only screen and (min-device-width: 1025px) {

    /* The padding will stuff up the datatables responsiveness so don't enable it on mobile and tablets */
    #applicationsTable tr td {
        padding: 10px;
    }

    #applicationsTable tr th {
        padding: 20px;
    }

    td {
        padding-right: 10px;
    }

    #page-wrapper {
        min-height: 1000px !important;
    }
}


/* For tablets */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    #gmapsLabel span {
        font-size: 15px !important;
        padding: 7px !important;
    }
}

/* For mobile phones */
@media only screen and (max-device-width: 767px) {
    #gmapsLabel span {
        font-size: 10px !important;
        padding: 4px !important;
    }

    #wrapper {
        margin-left: 0px !important;
        margin-right: 0px !important;
        width: 100% !important;
        box-shadow: 0 -30px 30px -4px #FFF;
    }

    #page-wrapper {
        padding-bottom: 10px !important;
    }

    .container-fluid, #page-wrapper {
        margin-bottom: 5px !important;
    }

    #applicationsTable_processing img {
        width: 100px !important;
        height: 100px !important;
    }

    .navbar.navbar-static-top {
        z-index: 0;
    }

    .homepage .iframe-rwd {
        padding-bottom: 100% !important;
        margin-right: 0px !important;
    }

    div#application .iframe-rwd {
        padding-bottom: 80%;
    }

    .icon-wrap span {
        color: #005599;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 11px;
    }

    .icon-wrap {
        display: block !important;
    }

    .iframe-rwd {
        padding-bottom: 100%;
    }
}

