/**************************************
*	Base 
**************************************/
html {
	height: 100%;
	-webkit-font-smoothing: antialiased;
}

body {
    min-height: 100%;
    height: 100%;
    font-family: Lato !important;
    background-color: black;
}
body::after {
	content: "";
	background-image: url('/static/img/main-create-access.jpg');
	opacity: 0.4;
  	top: 0;
  	left: 0;
  	bottom: 0;
  	right: 0;
  	position: fixed;
  	z-index: -1;
  	background-repeat: no-repeat;
    background-size: cover; 
}

#main-header {
	box-shadow: 0px 2px 4px #666;
    position: relative;
    padding: 5px 0;
    background-color: #eee;
    color: steelblue;
}
#main-header h2 {
	font-size: 3em;
}

#conway-logo {
	position: relative;
	float: right;
    margin-top: 2px;
}
#conway-logo img {
	position: absolute;
    transform: rotate(-25deg);
    width: 64px;
    margin-left: -64px;
}

#main-header h1 {
	font-size: 2em;
	margin-bottom: 0px;
}

#sub-header {
	box-shadow: 0px 2px 4px #666;
    padding: 5px 0;
    background-color: steelblue;
}
#sub-header .text,
#sub-header .h1 {
	color: #EEE; 
	display: inline-block;
	font-size: 1.2em;
    top: 2px;
    position: relative;
   	margin-right: 20px;
   	margin-bottom: 4px;
}

@media (max-width: 575.98px) {
	
	#conway-logo img {
	    width: 48px;
	    margin-left: -48px;
	}

	#main-header h2 {
		font-size: 2em;
	}
	
}

/**************************************
*	Breadcrumb
**************************************/
.breadcrumb {
	color: #EEE;
	margin-bottom: 0.2rem;
}
.breadcrumb-item a h1 {
	font-size: 1em;
    display: inline;
    font-weight: bold;
}
.breadcrumb-item a {
	color: #EEE;
	text-decoration: none;
}
.breadcrumb-item a:hover {
	text-decoration: underline;
}
.breadcrumb-item.active {
    color: #EEE;
    font-weight: bold;
}
.breadcrumb-item+.breadcrumb-item::before {
    color: #EEE;
    font-weight: normal;
}

/**************************************
*	Body - Footer 
**************************************/
#main-footer {
	padding-top: 1em;
	background-color: steelblue;
	box-shadow: 0px -2px 4px #666;
	color: white;
}
#main-footer h3 {
	/*font-weight: bold;*/
	font-size: 1.2em;
}
#main-footer .footer-page-links ul {
	padding-left: 0;
}
#main-footer .footer-page-links ul li {
	list-style-type: none;
}
#main-footer a,
#main-footer .footer-page-links ul li a {
	color: white;
	text-decoration: none;
}
#main-footer a:hover,
#main-footer .footer-page-links ul li a:hover {
	text-decoration: underline;
}
#main-footer .footer-page-links ul li a i {
	margin-right: 15px;
	width: 15px;	
}
#main-footer .branding img {
	transform: rotate(-25deg);
    width: 20px;
    margin-right: 10px;

}
#main-footer .social i {
	font-size: 1.8em;
}
/**************************************
*	Body - Forms 
**************************************/
.form-horizontal ul {
	padding-left: 0;
}
.form-horizontal li {
	list-style: none;
}

.form-horizontal li label {
	font-size: 0.8em;
	margin-bottom: 0px;
	margin-left: 10px;
	color: #666;
	position: relative;
	z-index: 99;
}

.form-horizontal li	{
	margin-bottom: 5px;
}
.form-horizontal .nav.nav-tabs li	{
	margin-bottom: -1px;
}

.form-horizontal li .form-control {
	border: none;
	padding: 0;
	height: inherit;
	padding: 20px 10px 10px 10px;
	box-shadow: 1px 1px 2px gray;
	margin-top: -20px;
	margin-bottom: 10px;
	display: inline-block;
	background-color: #eff3f8 !important;
}
.form-horizontal li .form-control:after {
	content: "*";
}
.form-horizontal li select.form-control {
	box-shadow: 1px 1px 2px gray;
	height: auto !important;
}
.form-horizontal li div.tagsinput span.label	{
	float: left;
	margin-top: 6px;
    padding: 4px 8px;
    margin-right: 5px;
}
.form-horizontal li div.tagsinput span.label a	{
	color: white;
}
.form-horizontal li select.form-control {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form-horizontal li select.form-control {
	background: url('/static/img/icons/arrow-down.png') no-repeat right white;
	background-size: 24px;
    background-position-x: 98%;
    padding-top: 24px;
}


.form-control.bootstrap-select .btn.btn-default	{
	border-color: transparent;
	border: none;
	padding: 0;
}

ul.errorlist {
	float: right;
	line-height: initial;
	font-size: 0.8em;
	padding: 0;
	margin-bottom: -20px;
	padding-top: 5px;
	margin-right: 5px;
	font-weight: bold;
	position: relative;
}


ul.errorlist li {
	color: #D85C2B;
	padding: 0;
}

.form-horizontal .form-group .btn {
	width: 100%;
}

.form-horizontal .form-control-checkbox {
	float: right;
	margin-top: 4px;
}

.form-horizontal input[type=number] {
	text-align: right;
	/*padding-right: 20px;*/
}


.form-horizontal input[type=checkbox] {
	position: relative;
    top: 2px;
    margin-left: 10px;
    transform: scale(1.5);
}

/**************************************
*	Body - Blog 
**************************************/
.card {
	margin-bottom: 10px;
}
.blog-post-item .card.page-card:hover {
    box-shadow: 0 0 4px #444;
    transition: box-shadow 0.2s ease-in-out;
}
.blog-post-item .card.page-card .card-body {
    color: var(--bs-body-color);
}
.blog-post-item .card .card-header-image    {
    width: 100%;
    height: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0px -2px 4px white;
}

.blog-post.card {
	margin-bottom: 10px;
}
.blog-post.card .share-links span {
	color: #333;
	display: block;
}
.blog-post.card h2.post-excerpt {
	position: relative;
	font-size: 1.8em;
    text-align: justify;
    padding: 1em 0;
}

.blog-post.card blockquote {
    position: relative;
    padding: 2em 3.5em;
    margin: 2.5em 0;
    border-left-width: 5px;
    border-radius: 3px;
    background-color: #FAFAFA;
    width: 100%;
    font-weight: 300;
    font-size: 1.4em;
}
.blog-post.card blockquote:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 14rem;
    height: 0.3rem;
    margin: auto;
    background-color: steelblue;
}
.blog-post.card  blockquote p {
    margin-bottom: 0;
    font-size: 1.6em;
}
@media (max-width: 767.98px) {
    .blog-post.card  blockquote {
        padding: 1rem 1rem 1rem 1rem;
        font-size: 0.8em;
    }
}


.blog-post.card .share-links a {
	display: inline-block;
 	font-size: 2em;
 	width: 1em;
 	color: #333;
	opacity: 0.5;
	transition: opacity 0.15s linear;
 	text-decoration: none;
}
.blog-post.card .share-links a:hover {
	opacity: 1;
}

#other-entries {
	padding-left: 0;
}
#other-entries li {
	list-style-type: none;
}
#other-entries li a {
	color: black;
	text-decoration: none;
	text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    white-space: nowrap;
}
#other-entries li a:hover {
	text-decoration: underline;
}
#other-entries li a i {
	margin-right: 15px;
	width: 15px;	
}

div.post-body img {
	max-width: 100%;
    margin: auto;
    display: flex;
    padding: 1em;
    
    --b: 2px; /* border thickness */
  	--c: #0000 90deg, steelblue 0; /* define the color here */
	background:
    	conic-gradient(from 90deg  at top    var(--b) left  var(--b), var(--c)) 0 0,
    	conic-gradient(from 180deg at top    var(--b) right var(--b), var(--c)) 100% 0,
    	conic-gradient(from 0deg   at bottom var(--b) left  var(--b), var(--c)) 0 100%,
    	conic-gradient(from -90deg at bottom var(--b) right var(--b), var(--c)) 100% 100%,
    	aliceblue;
 	background-size: 10px 10px; /* adjust border length here */
 	background-repeat: no-repeat;
}


/** Mobile **/
@media (max-width: 575.98px) {
	
	.form-horizontal ul.errorlist {
		display: block;
	    float: none;
	    margin-bottom: 0px;
	}
	
}

/** Custom Bootstrap **/
:root{
	  --bs-primary-rgb: 70,130,180;
}

.btn.btn-light	{
	border: 1px solid #6c757d;
	background: transparent;
    color: #0d6efd;
}
.btn.btn-light:hover	{
	background: #f8f9fa;
}
.btn.icon i {
	margin-left: 10px;
    float: right;
    top: 3px;
    position: relative;
}
.btn-primary {
    background-color: steelblue;
    border-color: steelblue;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important;
}
.btn-primary:hover {
    background-color: #386890;
    border-color: #2D5373;
}