/*	################################################################

	Author: Carlos Alvarez
	URL: http://alvarez.is

	Project Name: SOLID - Bootstrap 3 Theme
	Version: 1.0
	URL: http://alvarez.is
	
################################################################# */ 
@import url(https://fonts.googleapis.com/css?family=Raleway:400,700,900);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700,900);
@import url(https://fonts.googleapis.com/css?family=Lato:400,900);
/*@import url("prettyPhoto.css") screen;
@import url("hoverex-all.css") screen;*/

/*	################################################################
	1. GENERAL STRUCTURES
################################################################# */
* {
	margin: 0;
	padding: 0px;
}

body {
	margin: 0; 
	height: 100%; 
	color: #ffffff;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	background-color: #0f0f10;
	overflow: unset;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
}

p { 
	padding: 0; 
	margin-bottom: 12px; 
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 14px; 
	line-height: 24px;
	color: #384452; 
	margin-top: 10px; 
}

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

a { 
	padding: 0;
	margin: 10px;
	text-decoration: none; 
	-webkit-transition: background-color .4s linear, color .4s linear;
	-moz-transition: background-color .4s linear, color .4s linear;
	-o-transition: background-color .4s linear, color .4s linear;
	-ms-transition: background-color .4s linear, color .4s linear;
	transition: background-color .4s linear, color .4s linear;
}
a:hover,
a:focus {
  text-decoration: none;
  color:#01b2fe;
}

::-moz-selection  {
	color: #fff;
	text-shadow:none;
	background:#2B2E31;
}
::selection {
	color: #fff;
	text-shadow:none;
	background:#2B2E31;
}

.centered {
	text-align: center
}

/*	################################################################
	BOOTSTRAP MODIFICATIONS & TWEAKS
################################################################# */
.navbar {
	min-height: 70px;
	padding-top: 10px;
	margin-bottom: 0px;
}

.navbar-brand {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
}

.navbar-header .navbar-brand {
	color: white;
}

.navbar-default .navbar-nav > li > a {
	color: white;
	font-weight: 700;
	font-size: 12px;
}

.navbar-default .navbar-nav > li > a:hover {
	color: #00b3fe;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #00b3fe;
	background-color: transparent;
}

.navbar-default {
	background-color: #384452;
	border-color: transparent;
}

.dropdown-menu {
	background: #101010;
}

.dropdown-menu > li > a,
.dropdown-menu > li > span {
	color: #007AFF;
	font-weight: 400;
	font-size: 14px;
    padding: 5px;
	cursor: pointer;
 	-webkit-user-select: none;  
 	-moz-user-select: none;    
 	-ms-user-select: none;      
 	user-select: none;
}
.dropdown-menu > li > a {
	display: flex;
	align-items: center;
	gap: 5px;
}
.btn-primary:hover {
    color: #fff;
    background-color: #0051a9 !important;
    border-color: #007AFF !important;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > span:hover {
	text-decoration: none;
	color:#01b2fe;
	background-color: transparent;
    border: none;
    outline: none;
}
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > span:focus,
.dropdown-menu > li > span:hover {
	background-color: transparent;
    border: none;
    outline: none;
}

.btn-theme {
  color: #fff;
  background-color: #384452;
  border-color: #384452;
  margin: 4px;
}
.btn-theme:hover,
.btn-theme:focus,
.btn-theme:active,
.btn-theme.active,
.open .dropdown-toggle.btn-theme {
  color: #fff;
  background-color: #00b3fe;
  border-color: #00b3fe;
}

.dmbutton:hover,
.dmbutton:active,
.dmbutton:focus{
	color: #ffffff;
	background-color: #222222;
	border-color: #ffffff;
}
.dmbutton {
	background:rgba(0, 0, 0, 0);
	border: 1px solid #ffffff;
	color: #ffffff;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	padding-top: 1.025rem;
	padding-right: 2.25rem;
	letter-spacing:0.85px;
	padding-bottom: 1.0875rem;
	padding-left: 2.25rem;
	font-size: 1.55rem;
	cursor: pointer;
	font-weight: normal;
	line-height: normal;
	margin: 0 0 1.25rem;
	text-decoration: none;
	text-align: center;
	display: inline-block;
	-webkit-transition: background-color 300ms ease-out;
	-moz-transition: background-color 300ms ease-out;
	transition: background-color 300ms ease-out;
	-webkit-appearance: none;
	font-weight: normal !important;
}

.mtb {
	margin-top: 80px;
	margin-bottom: 80px;
}

.mb {
	margin-bottom: 60px;
}

.mt {
	margin-top: 60px;
}

.hline {
	border-bottom: 2px solid #384452;
}

.hline-w {
	border-bottom: 2px solid #ffffff;
	margin-bottom: 25px;
}
/*	################################################################
	SITE WRAPS
################################################################# */
#headerwrap {
	background-color: #00b3fe;
	min-height: 550px;
	padding-top: 100px;
	padding-bottom: 0px;
	text-align: center;
}

#headerwrap h3, h5 {
	color: white;
	font-weight: 400;
}

#headerwrap h1 {
	color: white;
	margin-bottom: 25px;
}

#headerwrap .img-responsive {
	margin: 0 auto;
}

/* Services Wrap */
#service {
	margin-top: 100px;
	margin-bottom: 80px;
}

#service i {
	color: #00b3fe;
	font-size: 60px;
	padding: 15px;
}

/* Portfolio Wrap */
#portfoliowrap {
	padding-top: 60px;
	margin-bottom: 60px;
	display: block;
	text-align: center
}

#portfoliowrap h3 {
	margin-bottom: 25px;
}

.portfolio {
	padding:0 !important;
	margin:0 !important;
	display:block;
}

.portfolio-item .title:before {border-radius:0; display:none}
.portfolio-item p {margin:0px 0 30px;}
.portfolio-item h3 {margin:-10px 0 10px; font-size:16px; text-transform:uppercase;}

.tpl6 h3
{
	color:#fff;
	margin:0;
	padding:40px 5px 0;
	font-size:16px;
	text-transform:uppercase;
}
.tpl6 .dmbutton
{
	display:inline-block;
	margin:30px 5px 20px 5px;
	font-size:13px;
}

.tpl6 .bg
{
	height:100%;
	width:100%;
	background-color:#00b3fe;
	background-color:rgba(0,179,254,.9);
	text-align:center;
}

/* Testimonials Wrap */
#twrap {
	background: url(../img/t-back.jpg) no-repeat center top;
	margin-top: 0px;
	padding-top:60px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 450px;
	width: 100%;
	
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#twrap i {
	font-size: 50px;
	color: white;
	margin-bottom: 25px;
}

#twrap p {
	color: white;
	font-size: 15px;
	line-height: 30px;
}

/* clients logo */
#cwrap {
	background: #f7f7f7;
	margin-top: 0px;
	padding-top: 80px;
	padding-bottom: 100px;
}

#cwrap h3 {
	margin-bottom: 60px;
}

/* Footer */
#footerwrap {
	padding-top: 60px;
	padding-bottom: 60px;
	background: #384452;
}

#footerwrap p {
	color: #bfc9d3;
}

#footerwrap h4 {
	color: white;
}

#footerwrap i {
	font-size: 30px;
	color: #bfc9d3;
	padding-right: 25px;
}

#footerwrap i:hover {
	color: #00b3fe
}

/*	################################################################
	PAGE CONFIGURATIONS
################################################################# */
/* General Tweaks */
#blue {
	background: #00b3fe;
	margin-top: 60px;
	margin-bottom: 60px;
	padding-top: 25px;
	padding-bottom: 25px;
}

#blue h3 {
	color: white;
	margin-left: 15px;
}

.ctitle {
	color: #00b3fe;
	font-weight: 700;
	margin-bottom: 15px;
}

csmall {
	font-size: 12px;
	color: #b3b3b3;
}
csmall2 {
	font-size: 12px;
	color: #f39c12
}

.spacing {
	margin-top: 40px;
	margin-bottom: 40px;
}

.badge-theme {
	background: #00b3fe;
}

/* Contact Page */
#contactwrap {
	background: url(../img/contact.jpg) no-repeat center top;
	margin-top: -60px;
	padding-top:0px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 400px;
	width: 100%;
	
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Blog Page */
.popular-posts { 
	margin: 0px;
	padding-left: 0px;
	}
	
.popular-posts li {
	list-style: none; 
	margin-bottom: 20px; 
	min-height: 70px;
}
.popular-posts li a, 
.popular-posts li a:hover {
	color:#2f2f2f; 
	text-decoration: none;
}
	
.popular-posts li img {
	float: left; 
	margin-right: 20px;
	}
	
.popular-posts li em {
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	color: #b3b3b3
	}

.popular-posts p {
	line-height: normal;
	margin-bottom: auto;
}	

.share i {
	padding-right: 15px;
	font-size: 18px;
}

hr {
    background: #CCC;
}

/*	################################################################
	NAV MENU
################################################################# */
.dropdown-submenu {
	position: relative;
}
.navbar {
	min-height: 50px;
	margin-top: 0;
}
.navbar-nav > li > a {
    margin: 0px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
	border-radius: 3px;
	margin-right: 5px;
}
.navbar-nav > li > a:hover {
    background-color: #2e6da4;
}
.navbar-toggler {
	float: right;
	margin-right: 20px;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.dropdown-submenu:hover > .dropdown-menu {
	display: block;
}
.dropdown-menu {
	margin: 0;
}

.CodeMirror-selected {
	background: #007AFF;
	color: #ffffff;
}
.cm-s-neat .CodeMirror-matchingbracket {
	outline: none;
	color: inherit !important;
}
div.CodeMirror span.CodeMirror-matchingbracket {
	color: inherit;
}

.btn-primary {
	color: #fff;
	background-color: #007AFF;
	border-color: #007AFF;
}
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
	color: #fff;
	background-color: #0051a9;
	border-color: #007AFF;
}

.katex {
	font: 400 1.21em Helvetica Neue,Helvetica,Arial,sans-serif;
}
.katex .katex-expression {
	font-family: mathfont-z;
}
.katex .katex-html {
	float: right;
}
.expression-actions {
	visibility: hidden;
	opacity: 0;
	height: 0;
	width: 100%;
	-webkit-transition: all .5s ease-in;
	-moz-transition: all .5s ease-in;
	-o-transition: all .5s ease-in;
	transition: all .5s ease-in;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.expression-actions.active {
	visibility: visible;
	height: 30px;
	width: auto;
	opacity: 1;
	padding: 10px;
	background-color: #151517;
	border-bottom: 1px solid rgb(68, 68, 68);
}

.navbar-collapse {
	-webkit-box-shadow: inset 0 1px 0 transparent;
	box-shadow: inset 0 1px 0 transparent;
}

@media (max-width: 767px) {
	.primary-menu {	
		width: calc(100vw - 30px);
	}
	.primary-menu .navbar {
		min-height: 30px;
	}
	.navbar.rased {
		position: absolute;
		background-color: rgba(0, 0, 0, 0.9);
		z-index: 100;
		width: 100%;
		margin-left: -15px;
		height: 100%;
		overflow: scroll;
	}
	.primary-menu .dropdown {
		display: inline-block;
	}
	.navbar-collapse {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.navbar.rased .navbar-toggler {
		margin-right: 35px;
	}
	.dropdown-menu {
		float: unset;
		width: 100%;
	}
	.dropdown-menu.dropdown-xs-right-menu {
		left: auto;
		right: 0;
	}
	.dropdown-menu > li > a,
	.dropdown-menu > li > span {
		margin: 3px 10px;
	}
	.dropdown-menu > li > span.modal-toggle {
		margin: 0;
		display: flex;
		align-items: center;
		gap: 5px;
	}
	.tooltip,
	.tooltip .tooltip-inner {
		-webkit-touch-callout: none; /* iOS Safari */
		-webkit-user-select: none; /* Safari */
		-khtml-user-select: none; /* Konqueror HTML */
		-moz-user-select: none; /* Old versions of Firefox  */
		-ms-user-select: none; /* Internet Explorer/Edge */
		user-select: none;
	}
}
@media (min-width: 768px) {
	.primary-menu {
		margin-top: 30px;
	}
	.navbar .navbar-collapse .dropdown {
		display: inline-block;
		margin-right: 5px;
	}
	.navbar-expand-md .navbar-toggler {
		display: none;
	}
	.dropdown-submenu .dropdown-menu {
		top: 0;
		left: 100%;
		margin-top: -1px;
	}
}
/***************** Responsive Keyboard & Menu *******************/
.dropdown-full-menu .dropdown-backdrop {
	display: none;
}
.dropdown-menu a.dropdown-close-btn {
	position: absolute;
	top: 0;
	right: 20px;
	z-index: 1010;
	display: none;
}
.dropdown-menu button.btn-modal-toggle {
	display: none;
}
.dropdown .dropdown-menu li {
	position: relative;
    padding-top: 5px;
}
.dropdown-submenu > button.dropdown-toggle {
	display: none;
}
.dropdown-menu > li > span.modal-toggle {
	color: white;
}
@media (max-width: 340px) {
	#navbarCollapse .dropdown .btn-sm {
		padding: 5px 7px;
	}
}
@media (max-width: 320px) {
	.dropdown-menu a.dropdown-close-btn {
		display: block;
	}
	#keyboard .dropup {
		display: none;
	}
	#navbarCollapse .dropdown .btn-sm {
		padding: 5px 5px;
	}
	.visible-iphone5 {
		display: block!important;
	}
	.fullwidth-menu-iphone5 {
		position: fixed;
		top: 0px;
		left: 0px;
		height: 100vh;
		background: rgba(0, 0, 0, 0.8);
		overflow-y: scroll;
	}
	.fullwidth-menu-iphone5 .dropdown-submenu {
		margin-bottom: 3px;
	}
	.fullwidth-menu-iphone5 .dropdown-submenu:nth-child(2) {
		margin-top: 30px;
	}
	.fullwidth-menu-iphone5 .dropdown-submenu .btn-sm {
		width: 100%;
	}
	.fullwidth-menu-iphone5 .dropdown-submenu:hover > .dropdown-menu {
		display: none;
	}
	.fullwidth-menu-iphone5 .dropdown-submenu.open >.dropdown-menu {
		display: block;
	}
	.fullwidth-menu-iphone5 .dropdown-submenu > a.dropdown-toggle {
		display: none;
	}
	.fullwidth-menu-iphone5 .dropdown-submenu > button.dropdown-toggle {
		display: block;
	}
	.fullwidth-menu-iphone5 .dropdown-submenu .dropdown-menu {
		position: relative;
	}
}
@media (max-height: 668px) {
	.kbContainer .kbRow .kbKeyContainer .kbKey,
	.kbContainer .kbRow .kbKeyContainer .kbAlt .kbAltKey {
		height: 32px;
		line-height: 32px;
		font-size: 18px;
	}
	.kbContainer .kbRow {
		height: 34px;
	}
	#keyboard .cell {
		height: 174px;
	}
	.CodeMirror-line {
		padding: 15px!important;
	}
	#text-input {
		height: 60px!important;
	}
	.CodeMirror-wrap pre.CodeMirror-line {
		font-size: 18px;
	}
	.CodeMirror-cursor {
		height: 28px !important;
		margin-top: 12px !important;
	}
}
@media (max-height: 568px) {
	.kbContainer .kbRow .kbKeyContainer .kbKey,
	.kbContainer .kbRow .kbKeyContainer .kbAlt .kbAltKey {
		height: 28px;
		line-height: 28px;
		font-size: 16px;
	}
	.kbContainer .kbRow {
		height: 30px;
	}
	#keyboard .cell {
		height: 154px;
	}
	.CodeMirror-line {
		padding: 10px!important;
	}
	#text-input {
		height: 50px!important;
	}
	.CodeMirror-wrap pre.CodeMirror-line {
		font-size: 16px;
	}
	.CodeMirror-cursor {
		height: 26px !important;
		margin-top: 8px !important;
	}
}
/***************** Responsive Keyboard & Menu *******************/
/*****************  Calculate Modal *******************/
#calcModal .modal-header {
	background-color: #0f0f10;
	color: #007AFF;
	padding: 10px;
}
#calcModal .modal-header .modal-header-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
#calcModal .modal-body {
	color: #ffffff;
	background-color: #1f2022;
	text-align: center;
	font-size: 18px;
	max-height: calc(100vh - 100px);
	overflow: scroll;
}
#calcModal .modal-body .example-title {
	font-size: 26px;
	color: #007AFF;
}
#calcModal .modal-body .example-mark {
	color: #007AFF;
	margin-top: 10px;
}
#calcModal .modal-body .example-action {
	cursor: pointer;
	margin-bottom: 20px;
}
/*****************  Calculate Modal *******************/