@import url('controls/forms.css');
@import url('controls/text.css');
@import url('controls/buttons.css');

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background-color: #E3E5E8;
}

body::-webkit-scrollbar-thumb {
    background-color: #A3A8B5;
    border-radius: 5px;
}

*, 
::after, 
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.container {
	width: 100%;
}

.clearfix {
	clear: both;
}

.clearfix:before,
.clearfix:after {
	clear: both;
	content: "";
	display: table;
}

* {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	outline: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
}

a:visited {
	color: inherit; 
}

a:focus {
	outline: none;
}

.transition {
	transition: all .2s ease-in;
	-webkit-backface-visibility: hidden; /* Safari */
	backface-visibility: hidden;
}

/* Sticky footer */
#wrapper {
	position: relative;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
	overflow: hidden;
} 

#wrapper > .main-container {
    flex: 1 0 auto;
}

iframe, 
#servicesIframe {
	padding: 0;
	border: none;
	width: 100%;
}

.blog #main article {
	clear: both;
}
.blog .alignleft img {
	max-width: 320px;
	height: auto;
}
.single .alignleft img {
	max-width: 450px;
}

hr {
	margin: 20px 0;
}

.pics:hover img {
	box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}

code {
	font-family: Consolas, Monaco, Courier, monospace;
	background: #fff;
}

.alignleft {
	margin-right: 1em;
	float: left;
}

.alignright {
	margin-left: 1em;
	float: right;
}

.aligncenter {
	display: block;
	margin: 1em auto;
}

video {
	max-width: 100%;
	height: auto;
}

html.iframe,
body.iframe {
	height: auto;
	margin: 0px;
	background: transparent;
}

a:hover,
a:focus {
	color: #6a6a6a;
	text-decoration: underline;
}

.showcase a {
	text-decoration: none;
}

ul,
ol {
	padding: 0;
	margin: 0 0 10px 50px;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;;
}

.center,
.text-center{
	text-align: center;
}

.relative {position: relative;}

.wp-prev-next ul li:last-child {
	float: right;
}

.wp-prev-next ul li {
	display: inline-block;
	vertical-align: middle;
}

.wp-prev-next ul {
	margin: 0;
	list-style: none;
}

/* chat widget - below modal or menu when it is open */
body.menu-open iframe[src*="reminders.com/embed/chat"], 
body.modal-open iframe[src*="reminders.com/embed/chat"],
body.menu-open iframe[src*="qore.com/embed/chat"], 
body.modal-open iframe[src*="qore.com/embed/chat"] {
    z-index: 9 !important;
}

@media only screen and (max-width: 1025px) {
	body.menu-open,
	body.modal-open {
		overflow: hidden;
	}
}

@media only screen and (max-width: 767px) {
	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin: 0 auto 15px;
	}
}