/* RESET */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,
em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,
menu,nav,output,ruby,section,summary,time,mark,audio,video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display: block;
}

ol,ul {
	list-style: none;
}

blockquote,q {
	quotes: none;
}

blockquote:before,blockquote:after,q:before,q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* END RESET */

/* Safari fix */
input::-webkit-contacts-auto-fill-button {
	visibility: hidden;
	display: none !important;
	pointer-events: none;
	position: absolute;
	right: 0;
}

.hidden {
	display: none;
}

body {
	position: absolute;
	min-width: 1140px;
	min-height: 100%;
	width: 100vw;
	height: fit-content;
	margin: 0 0;
	top: 0;
	left: 0;
	font-size: 18px;
	font-family: "Century Gothic", sans-serif !important;
	background-color: #f0f0f0;
	line-height: 1;
}

#main-container {
	margin: 0 auto;
	min-height: 641px;
	height: 100%;
	width: 100%;
}

.btn:focus {
	outline: none;
}

h3 {
	font-weight: bold;
	font-size: 150%;
	margin-bottom: 20px;
	color: #01adff;
}

.logo-image {
	background-image: url('../img/logos/insure-me-now-direct-logo.png');
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

#page-login {
	border: solid thick red;
	position: relative;
	display: block;
	background-color: #ffffff;
	border: solid 1px #cecece;
	width: 600px;
	height: 350px;
	padding: 20px;
	margin: auto;
	top: 30vh;
	box-shadow: 2px 2px #808080;
	border-radius: 10px;

}

#login-container {
	position: relative;
	display: inline-block;
	width: 60%;
	text-align: center;
}

#login-container label {
	text-align: right;
}

#login-container h3 {
	position: relative;
	left: 30px;
}

#page-login .logo-image {
	position: relative;
	display: inline-block;
	margin-bottom: 20%;
	background-size: 205px 39px;
	height: 39px;
	width: 205px;
}

#page-main {
	width: 100%;
	height: 100%;
}

#header {
	background-color: #ffffff !important;
	width: 100%;
	height: 10%;
}

#header .navbar-nav {
	position: relative;
    float: none;
	margin:0 auto;
	top: 10px;
    display: block;
	text-align: center;
}

#header .navbar-nav > li {
    display: inline-block;
    float:none;
}

#header .nav-link {
	font-size: 14px;
}

#header .nav-item.admin,#header .nav-item.agent {
	border-right: solid 1px #cecece;
	padding-right: 7px;
}

#header .logo-image {
	position: relative;
	display: block;
	width: 205px;
	height: 39px;
	background-size: 205px 39px;
	left: 100px;
	cursor: pointer;
}

#header .nav a.active {
	font-weight: bold;
}

#header #agent-name {
	position: relative;
	font-size: 28px;
	font-weight: bold;
	color: #01adff;
	right: 100px;
	cursor: pointer;
}

#page-loading {
	background-color: #f0f0f0;
	z-index: 1;
}

#page-loading h4 {
    position: relative;
    color: rgba(0, 0, 0, .3);
	font-size: 28px;
	text-decoration: none;
}

#page-loading h4:before {
    content: attr(data-text);
    position: absolute;
    overflow: hidden;
    max-width: 7em;
    white-space: nowrap;
    color: #01adff;
    animation: loading 1s linear;
}

@keyframes loading {
    0% {
        max-width: 0;
    }
}

.page {
	display: none;
	position: relative;
	text-align: center;
	width: 100%;
	height: 90%;
}

.page .form-horizontal {
	text-align: left;
	width: 80%;
	margin: 0 auto;
}

.page .form-horizontal label {
	text-align: right;
}

.page .form-horizontal input[type='checkbox'] {
	position: relative;
	top: 12px;
}

.page .form-horizontal button {
	margin-top: 20px;
	font-size: 16px;
}

.page h3 {
	margin: 20px auto 40px;
	padding-right: 25px;
}

.page h4 {
	margin: 40px auto 20px auto;
	color: black;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
}

.page .form-row a, .page .form-row button {
	margin: 10px auto;
}

.page table {
	width: 40%;
	margin: auto auto 20px;
}

.page table tr td:last-of-type {
	display: flex;
	flex: 1;
	justify-content: stretch;
	padding-left: 45%;
}

.page table .agents-edit {
	margin-right: 40%;
}

.page .btn.img {
	position: relative;
	top: -15px;
	left: 15px;
}

#dialog-image #tmp-agent-image, #upload-image {
	display: none;
}

#dialog-image .croppie-container {
	margin-top: 25px;
}

a, a:visited {
	color: #01adff;
}

#config-services div.states {
	display: grid;
	grid-template-columns: repeat(17, 1fr);
}

#config-services div.states button {
	font-size: 12px;
	outline: none !important;
	box-shadow: none;
	padding: 3px 7px;
	margin: 1px 1px 1px 1px;
	border-radius: 0;
	background-color: white;
	font-weight: 100;
	border: 1px solid #01adff;
	color: #01adff;
	background-color: #f0f0f0;
}

#config-services div.states button.selected {
	background-color: #01adff;
	border: 1px solid #01adff;
	color: white;
}

#config-services div.states button.disabled {
	background-color: #ced4da;
	border: 1px solid #ced4da;
	color: white;
}

#config-services #save-warning {
	display: none;
	position: relative;
	height: 18px;
	width: 12%;
	left: -11%;
	align-self: flex-end;
	line-height: 1;
	padding-top: 8px;
	font-size: 11px;
}

.agents-delete, .agents-delete:visited {
	color: red;
}

#delete-agent {
	font-weight: bold;
}

button.danger {
    background-color: #ff0000;
    color: white;
}

button.danger:hover {
    background-color: #e00000;
    color: white;
}

.ui-widget-overlay {
	background-color: #000000;
	opacity: 0.5;
}

.ui-dialog-title {
	padding-bottom: 5px;
}

/** IE 11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	#login-container {
		top: -45%;
	}

	.logo-image {
		top: 35%;
	}
}