/*
 * CallTech — Grav Theme Stylesheet
 * Converted from WordPress theme by Eire Studio
 * Version: 1.0
 */

:root {
	--color-brand: #FF5000;
	--color-link: #C81515;
}

/*****************************************************************
*	Reset														 *
******************************************************************/
/* http://meyerweb.com/eric/tools/css/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,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
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;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

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

/* remember to define visible focus styles!
:focus {
	outline: ?????;
} */

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}

del,
del * {
	text-decoration: line-through;
	color: #666;
}

table {
	border-collapse: collapse;
}

@font-face {
	font-family: 'sansationbold';
	src: url('../font/sansation-bold-webfont.woff2') format('woff2'),
		url('../font/sansation-bold-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

/*****************************************************************
*	Clearfix													 *
******************************************************************/
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

/*****************************************************************
*	Generic														 *
******************************************************************/
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


small {
	font-size: 12px;
}

strong {
	font-weight: 600;
}

a {
	color: var(--color-link);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	margin-bottom: 15px;
	line-height: 25px;
}

h1 {
	font-size: 20px;
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 14px;
}

h5 {
	font-size: 13px;
}

h6 {
	font-size: 12px;
}

.entry ul {
	margin-bottom: 8px;
}

.entry ul li {
	background: url(../images/grey_bullet.png) no-repeat 9px 9px;
	padding: 0px 0px 12px 32px;
	margin-left: 0px;
	line-height: 21px;
}

.entry ol {
	margin-bottom: 8px;
}

.entry ol li {
	padding: 0px 0px 12px 0px;
	margin-left: 32px;
	list-style: decimal outside;
	line-height: 21px;
}

p {
	font-size: 15px;
	margin-bottom: 16px;
	line-height: 23px;
}

a:hover {
	text-decoration: underline;
}

/*****************************************************************
*	General														 *
******************************************************************/
html,
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 300;
	color: #666;
	border-top: 4px solid var(--color-brand);
}

.wrapper {
	width: 960px;
	position: relative;
	margin: 0 auto;
}

/*****************************************************************
*	Header														 *
******************************************************************/
header .wrapper {
	height: 108px;
}

header {
	background: url(../images/header-bg.png) repeat-x;
	margin-bottom: 30px;
}

header a.logo img {
	width: 221px;
	height: 70px;
	display: block;
	float: left;
	margin-top: 25px;
}

header .phone {
	color: #fff;
	position: absolute;
	right: -1px;
	font-weight: bold;
	gap: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-brand);
	border-bottom-right-radius: 12px;
	border-bottom-left-radius: 12px;
	padding: 4px 15px 8px;
}

header .phone img {
	width: 18px;
}

/*****************************************************************
*	Primary Nav													 *
******************************************************************/
nav#primary {
	font: 18px 'sansationbold';
	position: absolute;
	top: 76px;
	right: 22px;
}

nav#primary li {
	display: inline;
	position: relative;
	float: left;
}

nav#primary>ul>li>a {
	display: block;
	height: 25px;
	float: left;
	margin-left: 25px;
	color: #000;
	text-decoration: none;
}

nav#primary>ul>li>a:hover {
	border-bottom: 5px solid var(--color-brand);
	text-decoration: none;
}


/* Dropdown */
nav#primary li>ul {
	position: absolute;
	top: 25px;
	left: 14px;
	z-index: 1000;
	display: none;
	font: 15px 'Open Sans';
	border-top: 5px solid var(--color-brand);
}

nav#primary li>ul>li {
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	background: #fff;
}

nav#primary li>ul a {
	float: none;
	display: block;
	color: #000;
	width: 180px;
	padding: 9px 18px;
	font-size: 14px;
	text-decoration: none;
}

nav#primary li>ul li:last-child {
	border-radius: 0px 0px 5px 5px;
}

nav#primary li:hover>ul {
	display: block;
}

nav#primary li>ul a:hover {
	background: #f5f5f5;
}

/*****************************************************************
*	Features: Home												 *
******************************************************************/
.features li {
	float: left;
	width: 300px;
	height: 250px;
	text-align: center;
	margin: 0px 29px 30px 0px;
	position: relative;
}

.features li img {
	display: block;
	margin-bottom: 20px;
}

.features li p {
	font-size: 14px;
}

.features li a.btn {
	bottom: 0px;
	left: 105px;
	position: absolute;
}

.features li:last-child {
	margin-right: 0;
}

/*****************************************************************
*	Slider + About												 *
******************************************************************/
.main {
	margin-bottom: 10px;
}

.flexslider {
	float: left;
	width: 960px;
	height: 300px;
	position: relative;
	z-index: 1;
	background: url(../images/slider-shadow.png) no-repeat center bottom;
}

.flexslider img {
	border-radius: 7px;
}

.flexslider p {
	background: #333;
	position: absolute;
	bottom: 30px;
	z-index: 100;
	padding: 12px 17px;
	color: #fff;
	border-radius: 0px 7px 7px 0px;
}

a.flex-prev,
a.flex-next {
	display: none;
	width: 25px;
	height: 25px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	text-indent: -9999px;
	background: url(../images/nex_prev.png) no-repeat;
	cursor: pointer;
}

a.flex-prev {
	left: 20px;
	background-position: left;
}

a.flex-next {
	right: 20px;
	background-position: right;
}

.flexslider li {
	z-index: 10;
	position: relative;
}

.flex-control-nav {
	display: none;
}

/*****************************************************************
*	Sidebar														 *
******************************************************************/
aside#primary {
	float: left;
	width: 220px;
	margin-right: 30px;
}

aside#primary a {
	color: #000;
}

aside#primary .widget-box {
	margin-bottom: 30px;
}

aside#primary .widget-box li:last-child a {
	padding-bottom: 12px;
	border-radius: 0px 0px 4px 4px;
	border-bottom: 1px solid #F2F2F2;
}

aside#primary .widget-box li.current-page-item a {
	background: #fff;
	border-left: 1px solid #F2F2F2;
	border-right: 1px solid #F2F2F2;
	text-decoration: underline;
}

aside#primary .widget-box li a {
	background: #F2F2F2;
	padding: 9px 17px 9px 17px;
	display: block;
	line-height: 22px;
	font-size: 14px;
}

aside#primary .widget-box .textwidget {
	background: #F2F2F2;
	padding: 17px 17px 5px 17px;
	border-radius: 0px 0px 4px 4px;
	border-bottom: 1px solid #F2F2F2;
}

aside#primary h4 {
	background: #dadada;
	height: 45px;
	line-height: 45px;
	text-indent: 17px;
	margin: 0;
	border-radius: 7px 7px 0px 0px;
}

aside#primary .content {
	background: #F2F2F2;
	border-radius: 0px 0px 7px 7px;
	padding: 17px;
}

/*****************************************************************
*	Content														 *
******************************************************************/
#content {
	overflow: hidden;
	margin-bottom: 12px;
	position: relative;
}

.video {
	float: right;
	margin: 0px 0px 20px 20px;
	width: 560px;
	min-height: 315px;
}

#content .entry .alignleft {
	margin: 0px 20px 0px 0px;
}

#content .entry .alignright {
	margin: 0px 0px 0px 20px;
}

#content .entry img {
	border-radius: 4px;
}

#content h1,
.contact-content h1 {
	border-bottom: 1px solid #ccc;
	padding-bottom: 20px;
}

/* Contact Page Template */
.contact-content {
	width: 960px;
	margin: 0 auto;
}

/* Shared layout: Partners + Meet the Team */
ul.partners,
ul.meet-the-team {
	margin: 0;
	list-style: none;
	padding: 0;
}

ul.partners li,
ul.meet-the-team li {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

ul.partners li:first-child,
ul.meet-the-team li:first-child {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}

ul.partners li>a,
ul.meet-the-team li a {
	flex-shrink: 0;
}

ul.partners li img,
ul.meet-the-team li img {
	display: block;
	height: auto;
}

ul.partners .partner-text,
ul.meet-the-team li .alignright {
	flex: 1;
	min-width: 0;
}

/* Partners-specific */
ul.partners li img {
	width: 200px;
}

ul.partners .partner-status {
	margin-bottom: 8px;
}

/* Meet the team-specific */
ul.meet-the-team li img {
	width: 180px;
	border-radius: 5px;
}


/* Image width utilities — use with derivatives[] for crisp HiDPI rendering */
.img-w-150 {
	width: clamp(75px, 40vw, 150px);
	height: auto;
}

.img-w-200 {
	width: clamp(100px, 40vw, 200px);
	height: auto;
}

.img-w-300 {
	width: clamp(150px, 40vw, 300px);
	height: auto;
}

.img-w-400 {
	width: clamp(200px, 40vw, 400px);
	height: auto;
}

.img-w-500 {
	width: clamp(250px, 40vw, 500px);
	height: auto;
}

.img-w-600 {
	width: clamp(300px, 40vw, 600px);
	height: auto;
}

.img-w-700 {
	width: clamp(350px, 40vw, 700px);
	height: auto;
}

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

/*****************************************************************
*	Media Queries												 *
******************************************************************/
/* ---- Mobile slide-in menu (WPRM-style) ---- */
.wprm-wrapper {
	display: none;
}

#wprmenu_bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 46px;
	background: var(--color-brand);
	z-index: 9998;
	display: flex;
	align-items: center;
	padding: 0 12px;
	cursor: pointer;
}

.hamburger {
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	display: inline-flex;
}

.hamburger-box {
	width: 40px;
	height: 20px;
	display: block;
	position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	width: 30px;
	height: 4px;
	background: #fff;
	border-radius: 4px;
	position: absolute;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger-inner::before {
	content: '';
	top: 10px;
}

.hamburger-inner::after {
	content: '';
	top: 20px;
}

.hamburger.is-active .hamburger-inner {
	top: 10px;
	transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::before {
	top: 0;
	opacity: 0;
}

.hamburger.is-active .hamburger-inner::after {
	top: 0;
	bottom: 0;
	transform: rotate(-90deg);
}

#wprm-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
}

#wprm-overlay.active {
	display: block;
}

#mg-wprm-wrap {
	position: fixed;
	top: 46px;
	left: -400px;
	width: 400px;
	height: 100%;
	background: #000;
	z-index: 10000;
	overflow-y: auto;
	transition: left 0.3s ease;
}

#mg-wprm-wrap.cbp-spmenu-open {
	left: 0;
}

#wprmenu_menu_ul {
	list-style: none;
	padding: 0;
}

#wprmenu_menu_ul>li>a,
#wprmenu_menu_ul>li>a.wprmenu_parent_item {
	display: block;
	color: #fff;
	padding: 14px 50px 14px 20px;
	text-decoration: none;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 15px;
	text-transform: uppercase;
	cursor: pointer;
}

#wprmenu_menu_ul>li>a:hover {
	background: #000;
	text-decoration: none;
}

#wprmenu_menu_ul .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

#wprmenu_menu_ul .sub-menu li a {
	display: block;
	color: #fff;
	padding: 12px 20px;
	margin: 0 10px;
	text-decoration: none;
	font-size: 15px;
	text-transform: uppercase;
}

#wprmenu_menu_ul .sub-menu li a:hover {
	color: #fff;
	text-decoration: none;
}

li.menu-item.current-menu-ancestor,
#wprmenu_menu_ul .current-menu-item {
	background: var(--color-brand);
}

#wprmenu_menu_ul li.menu-item.current-menu-ancestor.wprmenu_parent_item_li {
	background: #000;
}

#wprmenu_menu_ul .current-menu-item>a:hover,
#wprmenu_menu_ul .current-menu-ancestor>a:hover {
	background: var(--color-brand);
}

.wprmenu_parent_item_li {
	position: relative;
}

.wprmenu_icon {
	position: absolute;
	right: 0;
	top: 0;
	width: 44px;
	height: 44px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 13px;
	user-select: none;
}

.wprmenu_icon::after {
	content: '▶';
}

.wprmenu_icon.wprmenu_par_opened::after {
	content: '▼';
}

@media screen and (max-width: 960px) {

	html {
		padding-top: 42px !important;
	}

	.wprm-wrapper {
		display: block;
	}

	nav#primary {
		display: none;
	}

	.wrapper {
		width: auto;
		padding: 0px 15px 15px 15px;
	}

	header {
		margin: 0px 0px 8px 0px;
	}

	header .phone {
		position: relative;
		margin: 0 auto 15px auto;
		float: none;
		width: fit-content;
	}

	header .phone a {
		color: #fff;
		text-decoration: none;
	}

	header .wrapper {
		height: auto !important;
	}

	header a.logo img {
		margin: 0 auto;
		float: none;
		height: auto !important;
	}

	.main {
		margin-bottom: 15px;
	}

	.flexslider {
		width: auto;
		background: none;
		height: auto;
		float: none;
		margin-bottom: 0px;
	}

	.flexslider p {
		display: none;
	}

	.flex-direction-nav {
		display: none;
	}

	.flexslider img {
		height: auto;
	}

	.video {
		float: none;
		width: auto;
		min-height: inherit;
		margin: 0px 0px 20px 0px;
	}

	/* Contact page mobile: stack content first, sidebar below */
	body.contact {
		display: flex;
		flex-direction: column;
	}

	body.contact header#main-header {
		order: 1;
	}

	body.contact .contact-content {
		order: 2;
		width: auto;
		margin-left: 0;
		margin-right: 0;
		padding: 0 15px 15px 15px;
	}

	body.contact .contact-wrapper {
		float: none;
		width: 100%;
		box-sizing: border-box;
		margin-left: 0;
		margin-right: 0;
		margin-top: 30px;
		padding: 0 15px 15px 15px;
		order: 3;
	}

	ul.partners li,
	ul.meet-the-team li {
		flex-direction: column;
	}

	.features li {
		margin: 0;
		width: 100%;
		height: auto;
	}

	.features li img {
		width: 100%;
	}

	.features li a.btn {
		position: relative;
		margin: 0 auto 15px auto;
		left: auto;
		bottom: auto;
	}

	aside#primary {
		float: none;
		width: auto;
		margin-right: 0;
		margin-bottom: 30px;
	}

	img,
	video,
	iframe {
		max-width: 100%;
	}
}


/*****************************************************************
*	Grav-specific overrides                                       *
******************************************************************/

/* Pagination */
.pagination {
	margin: 20px 0;
	text-align: center;
}

.pagination a,
.pagination span.current {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-decoration: none;
	color: var(--color-link);
}

.pagination span.current {
	background: var(--color-brand);
	color: #fff;
	border-color: var(--color-brand);
}

.pagination a:hover {
	background: #f5f5f5;
	text-decoration: none;
}
