/* Media query for medium - large mobile devices */
@media screen and (max-width: 800px) {
    #loading-icon {
        padding: 0px !important;
    }

    #logourlimg{
        display: none;
        width: 35%;
    }
    
    div.input-group.pull-left.view-search.entitylist-search {
        margin: 10px 0px 0px -30px !important;
    }

    button.btn.btn-default.btn-entitylist-filter-submit {
        margin: 0px 0px 0px 0px;
        display: none;
    }
    
    div.pull-right.toolbar-actions {
        display: inline-flex;
        float: none !important;
        width: auto;
    }


    button#mobileFilters{
        display: inline-grid !important;
        color: #fff;
        background-color: var(--theme-button-color);
        font-weight: bold;
        font-size: 1em;
        text-decoration: none;
        padding: 16px 16px 32px 16px;
        text-align: center;
        vertical-align: baseline;
        font-family:  var(--theme-font-family);
    }

    #navList{
        display: none;
    }
    
    #navCard{
        height: 60px;
        width: 135px;
        font-size: 1em;
    }
    
    #navMap{
        height: 60px;
        width: 135px;
        font-size: 1em;
    }
}

.visible-sm-block.visible-md-block.visible-lg-block.visible-xs-block.navbar-brand{
    position: absolute !important;
}

ul.pagination li a {
    width: 53px !important;
}

/* Media query for larger screens */
@media screen and (max-width: 1200px) {

    .navbar-static-top .navbar-brand {
        padding-top: 18px !important;
    }
    
}

.navbar.navbar-inverse.navbar-static-top{
    background-color: var(--theme-primary1);
    padding-top: 10px;
    padding-bottom: 10px;
    height: 76px;

}



.under-header{
	background-color: var(--theme-secondary1);
	display: flex; 
	flex-wrap: wrap; 
	width:100%; 
	height: 4px; 
	padding: 4px; 
	border: none; 
	margin-left: 0px; 
	margin-right: 0px;
}

.container{
    width: 85%;
}

div.input-group.pull-left.view-search.entitylist-search {
    margin: 10px 75px 0px 0px;
}

.footer-bottom {
	background-color:var(--theme-primary1) !important; 
}

p.smallText{
    color: var(--theme-primary1) !important;
    filter: invert(1) grayscale(1) !important;
}

.footer-top{
	background-color: var(--theme-secondary1) !important; 
	display: flex !important; 
	flex-wrap: wrap !important; 
	width: 100% !important; 
	height: 4px !important; 
	padding: 4px !important; 
	border: none !important; 
	min-height: 8px !important;
	margin-left: 0px !important;
	margin-right: 0px !important;
}

.alert-warning {
    background-color: var(--theme-warning-color) !important;
    border-color: var(--theme-warning-color) !important;
}

form{
    margin-bottom: 0px;
}

table {
    line-height: 2.5;
    font-size: inherit;
}


tbody {
    background-color: #fff !important;
    margin: 0px 0px 0px 0px !important;
    padding: 0px 0px 0px 0px !important;
    font-family: var(--theme-font-family) !important;
    font-size: .889em !important;
    color: #000 !important;
}

button.btn.btn-default.action-btn{
    color: #fff;
    width: 200px;
    height: 55px;
    margin: 0px 10px 0px 0px;
    background-color: var(--theme-button-color);
    border-radius: 50px 50px 50px 50px;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
    padding: 16px 16px 32px 16px;
    text-align: center;
    vertical-align: baseline;
    border: none;
    font-family: var(--theme-font-family);
}

#unsubscribeBtn{
    background-color: transparent;
    font-weight: 700; 
    width: 120px; 
    border: 1px; 
    border-style: solid; 
    height: 52px; 
    border-radius: 50px;  
    font-size: .889em; 
    text-align: center; 
    vertical-align: baseline;
}

button.btn.btn-default.nav {
    background-color: #fff;
    padding: 0.5em 1em 0.5em 1em;
    border-radius: 50px 50px 50px 50px;
    border-color: var(--theme-button-color);
    margin: 0px 0px 15px 0px;
    font-family: var(--theme-font-family);
    font-size: .889em;
    font-weight: bold;
    color: var(--theme-button-color);
}

button.btn.btn-default.nav.active{
    background-color:  var(--theme-button-color);;
    color: #fff;
}


input.submit-btn.btn.btn-primary.form-action-container-left {
    margin: 0px;
    border-top: 0px;
    float: right;
    color: #fff;
    width: 100px;
    height: 10px;
    margin: 0px;
    background-color: var(--theme-primary1);
    border-radius: 5px;
    font-weight: bold;
    font-size: .889em;
    text-decoration: none;
    padding: 16px 16px 32px 16px;
    text-align: center;
    vertical-align: baseline;
    border: none;
    font-family: var(--theme-font-family);
}


.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover{
    background-color: var(--theme-secondary1) !important;
}


.divider-vertical{
    display: none !important;
}

a[aria-label='Home']{
    display: none !important
}


a[aria-label] {
    font-weight: var(--theme-table-header-font-weight);
    color: var(--theme-table-header-color);
    font-size: 1em;
}

.view-grid.has-pagination {
    height: 100%;
}

/*Go to https://codepen.io/sosuke/pen/Pjoqqp for the filter settings if the theme colors change*/
.icon-theme-color-primary2{
    filter: invert(87%) sepia(19%) saturate(116%) hue-rotate(82deg) brightness(90%) contrast(83%) !important;
}

/*Go to https://codepen.io/sosuke/pen/Pjoqqp for the filter settings if the theme colors change*/
.icon-white-color{
    filter: invert(90%) sepia(64%) saturate(1%) hue-rotate(115deg) brightness(105%) contrast(100%) !important; 
}

label.entitylist-filter-option-group-label.h4{
    display:table-cell;
    font-size: 1em;
    position: left;
    font-weight: bold;
    color: #000;
    font-family:  var(--theme-font-family);
    padding-bottom: 10px;
}

input[placeholder*="Search by"]{
    margin-left: -75px;
} 

.input-group.pull-left.view-search.entitylist-search {
    display: inline-flex;
}

input.query.form-control {
    height: 35px;
}

.fa-arrow-up {
    display: inline !important;
}

/*MAP VIEW   invert(42%); sepia(14%) saturate(505%) hue-rotate(83deg) brightness(89%) contrast(86%);*/
.infoBox{
    background: rgb(255, 255, 255);
    padding: 10px;
    position: absolute;
    top: auto !important;
    width: max-content;
    height: auto !important;
    border-bottom-color: var(--theme-card-color);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-style: solid;
    border-bottom-width: 4px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top-style: none;
    border-top-width: 0px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 5px 0px;
    box-sizing: border-box;
    color: #000;
    font-family: var(--theme-font-family);
    min-height: 200px;
    padding-top: 40px;
    text-decoration-color: rgb(20, 20, 20);
    text-decoration-line: none;
    text-decoration-style: solid;
    text-decoration-thickness: auto;
        
}

.map-li{
    list-style: none;
    padding-left: 1.5em;
    padding-right: 1.5em;
    font-size: 1.1em; 
    text-align:left;

}

.map-img{
    width: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.map-btn{
    z-index: 50000000; 
    position: relative;
}

div[data-option="Development Application"]{
    background-color: #e6194B;
}

div[data-option="Modification of Development Application"]{
    background-color: #f58231;
}

div[data-option="Review of Development Application"]{
    background-color: #ffe119;
}

div[data-option="Modification of Development Application"]{
    background-color: #f58231;
}
div[data-option="Complying Development Certificate"]{
    background-color: #bfef45;
}
div[data-option="Construction Certificate"]{
    background-color: #3cb44b;
}
div[data-option="Occupation Certificate"]{
    background-color: #42d4f4;
}
div[data-option="Subdivision Certificate"]{
    background-color: #4363d8;
}
div[data-option="Subdivision Works Certificate"]{
    background-color: #911eb4;
}
div[data-option="Principal Certifier Appointment"]{
    background-color: #f032e6;
}
div[data-option="Building Information Certificate"]{
    background-color: #aaffc3;
}
div[data-option="Section 68"]{
    background-color: #800000;
}
div[data-option="Section 138"]{
    background-color: #469990;
}
div[data-option="Section 306"]{
    background-color: #a9a9a9;
}

/* END MAP VIEW*/


/* CARD VIEW */

.card-li{
    list-style: none;
    font-size: 1.1em; 
    text-align:left;
}

.card-img{
    width: 25px;
    margin-right: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: -10px;
}


a.application-grid-tile:hover {
    text-decoration: underline;
    background-color: var(--theme-card-color);
}

/* END CARD VIEW */


/* APP DETAILS PAGE */
tr[data-entity="at_applicationdocuments"]:hover{
    background-color: var(--theme-row-hover-color) !important;
}

tr[data-entity="at_applicationtasks"]:hover{
    background-color: var(--theme-row-hover-color) !important;
}

.tertiary{
    background-color: var(--theme-tertiary1) !important;
}


/*Go to https://codepen.io/jumarjuaton/full/mdJYWYq for the filter settings if the theme colors change = #B6A0FB*/
.nav-img{
    filter: invert(16%) sepia(33%) saturate(5260%) hue-rotate(201deg) brightness(96%) contrast(105%);
}

.nav-img-active{
    filter: none !important;
}

textarea#at_description{
    min-height: 13.5rem;
    padding-right: 50px;
    outline: 0px;
}

#at_councilreferencenumber_label::after{
    display: none;
}

#at_caseid_label::after{
    display: none;
}


#at_applicationtype_label::after{
    display: none;
}

#at_primaryapplicant_label::after{
    display: none;
}

#at_primaryaddress_label::after{
    display: none;
}


/* END APP DETAILS PAGE */

#privateModeText{
    display:none;
}

body{
    width: 100%;
}

div#mainContent{
    background: #e9e9e9;
}

nav.navbar-right.menu-bar {
    display: block; 
}

.wrapper-body {background: #e9e9e9;}

div.one {float: left; width: 8.33333333%;}
div.two { float: left; width: 16.66666667%;}
div.three { float: left; width: 25%;}
div.four { float: left; width: 33.33333333%;}
div.five { float: left; width: 41.66666667%;}
div.six { float: left; width: 50%;}
div.seven { float: left; width: 58.33333333%;}
div.eight { float: left; width: 66.66666667%;}
div.nine { float: left; width: 75%;}
div.ten { float: left; width: 83.33333333%;}
div.eleven { float: left; width: 91.66666667%;}
div.twelve { float: left; width: 100%;}
.padding1 { padding: 1px;}
.padding5 { padding: 5px;}
.padding10 { padding: 10px;}
.padding15 { padding: 15px;}
.padding20 { padding: 20px;}
.padding25 { padding: 25px;}
.padding30 { padding: 30px;}

.center {text-align: center;}
.left {text-align: left;}
.right {text-align: right;}

.clickable { cursor: pointer; font-weight: bold;}
.clickable:hover { background: var(--primary-color); color: #FFF;}

.applicationContainer {background: #d6d6d6; padding: 20px;}
div.tab {border-radius: 10px 10px 0px 0px;}
div.tab.active {background: #d6d6d6;}
div.tab.active.clickable  {cursor: default; }
div.tab.active.clickable:hover  {background: #d6d6d6; color: #000;}

div#showGrid, div#showMap {font-size: 26px; font-weight: bold; text-align: center;}
.applicationTileWrapper {width: 100%; height: 90%; display: block; float: left;}
.applicationTile {
    margin: 10px;
    height: 100%;
    display: block;
    text-align: left;
	background: #FFF;
	border-radius: 5px;
    -webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    -moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}
.applicationTile h2 {text-align: center;}
.applicationTile:hover {background: var(--primary-color); color: #FFF;}
.applicationTile:hover a {color: #FFF !important; text-decoration: none !important;}
.applicationTile:hover h2 {color: #FFF;}
a.application-grid-tile {display: block; overflow-y: auto; padding: 20px;}


/* Media query for mobile devices */
@media screen and (max-width: 800px) {

    .reveal-modal {
    width: 90% !important;
    left: 40% !important;
}

}


/*############### MAPS ##################*/
div#google-map {position: relative; height: 650px; overflow: hidden; min-height: 50px;}

ul.google-map-tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}
ul.google-map-tabs li {
	margin: 0;
	padding: 0;
}
ul.google-map-tabs li a {
	display: block;
	padding: 8px;
	font-weight: bold;
	cursor: pointer;
}
ul.google-map-tabs li a:hover, ul.google-map-tabs li a:focus {
	background-color: var(--primary-color) !important;
	color: #FFF !important;
	text-decoration: none !important;
}
ul.google-map-tabs li a.active {
	background: var(--secondary-color) !important;
	color: #FFF !important;
}
ul.google-map-tabs li.keyboard a {
	width: 0px;
	font-size: 0;
	padding: 0;
}
ul.google-map-tabs li.keyboard a:focus {
	width: auto !important;
	font-size: 14px;
	padding: 19px;
	text-decoration: none;
}

h3.form-subgrid-heading {
    margin: 5px !important;
}

div#loading-icon {
    display: flex;
    justify-content: center;
    padding: 5rem;
}

.spinner-border {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.entitylist {
    padding-bottom: 1rem;
    border: none;
}


.crmEntityFormView .form-control.readonly, .crmEntityFormView .form-control[readonly][disabled], .form-readonly .form-control {
    overflow: overlay;
}