/*!/wp-content/themes/HeadKandy/style.css*//*
	Theme Name: Head Kandy
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

 @import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body, html {
	font-family: 'Montserrat', sans-serif;
	color:black;
	margin:0; padding:0;
	font-size:14px;
}
/* clear */
.clear { clear:both; }
img {
	max-width:100%;
	vertical-align:bottom;
}
p { line-height:150%; }
a {
	color:#319ca9;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
.relative { position:relative; }
h1 {
	font-weight:normal;
	font-size:28px;
	margin:0;
	padding:25px 0;
}
h2 { 
	font-weight:normal;
	color:#319ca9;
	font-size:22px;
	margin:0 0 25px 0; 
	padding:0;
}
h3 { font-weight:normal; }
.white * { color:white; }

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.page-wrapper { 
	width:100%;
}
.wrapper {
	max-width:1260px;
	width:95%;
	margin:0 auto;
	position:relative;
}
.page-container { 
	max-width:1300px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
#top { 
	width:100%;
	background:#d2d2d2;
}
#widget-hours { float:left; }
#widget-telephone { float:right; }
#widget-telephone a { color:black; }
#top p { font-size:13px; }

.header {
}
#appointment { 
	float:right;
	background: #2aaea9; /* Old browsers */
	background: -moz-linear-gradient(top, #2aaea9 0%, #3591a8 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #2aaea9 0%,#3591a8 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #2aaea9 0%,#3591a8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2aaea9', endColorstr='#3591a8',GradientType=0 ); /* IE6-9 */
	color:white;
	padding:12px 25px;
	margin:40px 25px 25px 0;
	font-size:16px;
}
#appointment:hover { 
	background:#3591A8;
	text-decoration:none;
}
#mysticky-nav.wrapfixed { background:white!important; opacity:1!important; }
#mysticky-nav.wrapfixed #top { display:none; }
#mysticky-nav.wrapfixed .logo-img { width:150px; height:auto; margin:10px auto; }
#mysticky-nav.wrapfixed img#loreal { width:75px; height:auto; margin:10px 0 10px 15px; }
#mysticky-nav.wrapfixed a#appointment { padding:5px 10px; margin:10px; font-size:13px; }
#mysticky-nav.wrapfixed .tel-no { margin:5px auto; }
#mysticky-nav.wrapfixed .tel-no img { width:18px; height:auto; }
#mysticky-nav.wrapfixed .tel-no h4 { font-size:18px; margin-top:5px; }

/* logo */
.logo { float:left; }
.logo-img { margin:30px 0; }
.logo-mob { display:none; }
img#loreal { float:right; margin:35px 0 25px 30px; width:150px; height:auto;  }
#widget-social { 
	float:right;
	width:15%;
	margin-top:8px;
}
.lsi-social-icons li a { padding:5px!important; }
/* nav */
nav { 
	width:100%;
	background:white;
	border-top:1px solid black;
	border-bottom:1px solid black;
	margin:0;
}
.nav ul { 
	margin:6px 0; padding:0;
	width:85%;
	float:left;
}
.nav ul li { 
	display:inline-block;
	margin:0;
	position:relative;
	list-style-type:none;
	text-transform:uppercase;
}
.nav ul li a { 
	padding:10px 20px;
	display:inline-block;
	color:black;
	font-weight:normal;;
}
.nav ul li:hover > ul { display:block; }
.nav ul li:last-child a { border-right:none; }
ul.sub-menu { 
	position:absolute;
	background:white;
	left:0;
	top:30px;
	min-width:220px;
	display:block;
	z-index:20000;
	text-align:left;
	display:none;
	padding:0;
	border:1px solid black;
}
ul.sub-menu ul { 
	display:none; 
	position:absolute; 
	left:100%; 
	top:-6px;
}
ul.sub-menu:hover > ul { display:block; }
ul.sub-menu li { 
	display:block;
	width:100%;
	margin:0;
}
ul.sub-menu li a { 
	display:block;
	border-top:0;
}
.nav ul li a:hover {
	background:black;
	color:white;
	text-decoration:none;
}
.nav ul li.menu-item-has-children > a:after {
 color: black;
 content: ' ▼';
 font-size: 10px;
 vertical-align: 1px;
}
.nav ul li ul.sub-menu li.menu-item-has-children > a:after {
 color: black;
 content: ' ►';
 font-size: 10px;
 vertical-align: 1px;
}

.tel-no { 
	float:right;
	margin-top:35px;
}
.tel-no img { margin:5px 10px 0 0; }
.tel-no img, .tel-no div { float:left; }
.tel-no h4 { font-size:40px; font-weight:300; margin:0;  }
.tel-no h4 a { color:black; }
.tel-no h4 a:hover { color:black; text-decoration:none; }
.tel-no h4, .tel-no p { text-align:center; }
.tel-no p { margin:0; }
.tel-no-app { float:right; }

/* sidebar */
#widget-sidebar {
	border:1px solid black;
	margin-bottom:35px;
}
#widget-sidebar h3 { 
	background:black;
	color:white;
	text-align:center;
	margin:0;
	padding:12px;
}
#widget-sidebar .textwidget { padding:20px; }
#widget-sidebar .custom-html-widget { padding:0; }
#widget-sidebar .textwidget p { margin:0 0 9px 0; }
#widget-sidebar iframe { 
	width:100%;
	height:300px;
}

/* footer */
footer {
	width:100%;
	padding:40px 0;
	margin:0; 
}
footer p, footer a { color:black; }
#widget-footer1, #widget-footer2, #widget-footer3 { 
	float:left;
	width:30%;
	margin:0 5% 35px 0;
}
#widget-footer3 { margin-right:0; }
footer h3 { 
	text-transform:uppercase; 
	margin-bottom:10px;
	padding-bottom:10px;
	color:black;
	border-bottom:1px solid #319ca9;
	font-weight:normal;
	font-size:18px;
}
footer ul { 
	margin:0; 
	padding:0;
	list-style-type:none;
}
footer a:hover { 
	text-decoration:none;
	color:#319ca9;
}
.copyright { text-align:center; }

/*------------------------------------*\
    PAGES
\*------------------------------------*/
.vc_general.vc_btn3.vc_btn3-style-outline, .vc_general.vc_btn3.vc_btn3-style-outline-custom { border-width:1px; }
.vc_general.vc_btn3.vc_btn3-style-outline:hover, .vc_general.vc_btn3.vc_btn3-style-outline-custom:hover { border-width:1px; }
.wpb_content_element { margin-bottom:0!important; }
ul li, ol li { margin:0 0 10px 0; }
main { padding:0 25px; min-height:350px;  background:white; }

.list p { margin:5px 0; }
.cycle-slideshow * { text-align:center; }
.easy-t-cycle-pager span.cycle-pager-active { color:#1d9dd1; }
.testimonial-client, .testimonial-position { 
	font-style:normal; 
	font-weight:bold;
}
/*.contactform { 
	background:#319ba8;
	padding:20px 20px 0 20px;
}*/
.contactform input, .contactform textarea { 
	background:none!important;
	border-bottom:1px solid black!important;
	text-transform:uppercase;
	padding:10px 0!important;
	margin-bottom:20px!important;
}
input.wpcf7-form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	opacity:1!important; color:black!important;
}
input.wpcf7-form-control::-moz-placeholder { /* Firefox 19+ */
	opacity:1!important; color:black!important;
}
input.wpcf7-form-control:-ms-input-placeholder { /* IE 10+ */
	opacity:1!important; color:black!important;
}
input.wpcf7-form-control:-moz-placeholder { /* Firefox 18- */
	opacity:1!important; color:black!important;
}
.contactform input[type="submit"], input[type="submit"] { 
	display:block;
	background:black!important;
	color:white;
	text-align:center;
	padding:15px;
	width:100%;
	box-sizing:border-box;
	border:1px solid black!important;
	margin-top:10px;
}
.contactform input[type="submit"]:hover, input[type="submit"]:hover { 
	text-decoration:none;
	background:white!important;
	color:black;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select { 
	margin-bottom:10px; 
	background:#ebebeb;
	padding:10px; 
	border:none;
	width:100%; 
	height:auto;
	box-sizing:border-box;
}
.home-btn h3 a { 
	position:absolute;
	top:38%;
	left:15%; right:15%;
	padding:10px;
	cursor:pointer;
}
.home-btn.white h3 a { 
	background:white;
	color:black;
}
.home-btn.white h3 a:hover { 
	background:black;
	color:white;
	text-decoration:none;
}
.home-btn.black h3 a { 
	background:black;
	color:white;
}
.home-btn.black h3 a:hover { 
	background:white;
	color:black;
	text-decoration:none;
}
.easy-t-cycle-pager span.cycle-pager-active { color:#319ca9!important; }
.easy-t-cycle-pager span { width:12px!important; margin:0 4px!important; }
.tablepress tfoot th, .tablepress thead th { background:black!important; color:white!important; }
#tablepress-1_wrapper th.column-1, #tablepress-2_wrapper th.column-1, #tablepress-3_wrapper th.column-1, #tablepress-4_wrapper th.column-1, #tablepress-2_wrapper th.column-5 { width:80%; }
#tablepress-1_wrapper th.column-2, #tablepress-2_wrapper th.column-2, #tablepress-3_wrapper th.column-2, #tablepress-4_wrapper th.column-2, #tablepress-1_wrapper th.column-5 { width:20%; }

/* ====== POSTS ===== */ 
#posts-sidebar { 
	float:left;
	width:30%;
	margin-top:-25px;
}
.single #posts-sidebar { margin-top:15px; }
.post-container, .archive-container { 
	float:left;
	width:65%;
	margin-right:5%;
}
.post-container h1 { padding-bottom:10px; }
#news-sidebar { margin-bottom:35px; }
#news-sidebar h3 { 
	margin-bottom:10px;
	padding-bottom:10px;
	border-bottom:1px solid black;
}
#news-sidebar ul { list-style-type:none; margin:0; padding:0; }
#news-sidebar li a::before { content:"\00bb"; margin-right:5px; }
img.wp-post-image { margin-bottom:25px; }
form.search { position:relative; }
input.search-input { 
	width:100%;
	padding:10px;
	box-sizing: border-box;
}
button.search-submit { 
	text-indent:50000000;
	background:url('/wp-content/themes/HeadKandy/img/search.png');
	width:25px;
	height:25px;
	border:0;
	position:absolute;
	top:10px; right:10px;
}
aside { display:none; }

/* Ess Grid Posts */ 
.vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_title h4 { font-size:20px; margin:10px 0!important; }
.vc_gitem_row .vc_btn3.vc_btn3-color-juicy-pink, .vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat { 
	width:100%;
	display:block;
	border-radius:0;
	background:#f9f9f9!important;
	text-transform:uppercase;
	color:black!important;
	border:1px solid black;
}
.vc_gitem_row .vc_btn3.vc_btn3-color-juicy-pink:hover, .vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat:hover, a.view-article:hover, a.page-numbers:hover  { 
	background:black!important;
	color:white!important;
	text-decoration:none;
}

/* Archive */
.archive-container article { 
	float:left;
	width:47.5%;
	background:#f9f9f9;
	margin-bottom:25px;
}
.archive-container article h2 a { 
	color:black;
	font-size:20px;
}
.archive-container article h2 { margin:20px 0 0 0; }
.archive-container article h2, .archive-container article p { 
	padding:0 10px;
}
.archive-container article p { margin-bottom:10px; }
.archive-container article:nth-child(odd) { 
	margin-right:5%;
}
a.view-article {
	width:100%;
	display:block;
	border-radius:0;
	background:#f9f9f9;
	text-transform:uppercase;
	color:black;
	border:1px solid black;
	text-align:center;
	padding:10px;
	margin:15px 0;
}
img.attachment-post-thumbnail { 
	height:300px;
	width:auto;
	overflow:hidden;
	object-fit: cover;
	margin:0;
}
a.page-numbers, .page-numbers.current { 
	color:black;
	padding:5px;
	border:1px solid black;
}
.page-numbers.current { 
	background:black; color:white; 
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media screen and (max-width:1320px) { 
	#appointment { padding:10px 12px; font-size:13px; margin-top:32px; }
	.tel-no { margin-top:35px; }
	.tel-no h4 { font-size:26px; }
	.tel-no img { width:20px; height:auto; }
	.logo-img { width:200px; height:auto; }
	img#loreal { width:100px; height:auto; margin-top:35px; }
}
@media screen and (max-width:1000px) { 
	.vc_col-sm-8, .vc_col-sm-4 { width:100%!important; }
	#widget-sidebar { float:left; width:49%; height:350px; }
	#widget-sidebar:nth-child(1) { margin-right:2%; }
}
@media screen and (max-width:1100px) { 
	.vc_col-sm-3 { width:50%!important; } /* Contact page */ 
}
@media screen and (max-width:960px) {
	.nav ul li a { padding:10px 15px; }
	.home-btn h3 a { top:30%; }
	
}
@media screen and (max-width:820px) { 
	#posts-sidebar, .post-container, .archive-container { width:100%; margin:0 0 25px 0; }
}
@media screen and (max-width:850px) {
	nav { display:none; }
	#widget-telephone { float:left; }
	#widget-footer1, #widget-footer2, #widget-footer3 { width:100%; }
	.page-container { width:100%; }
	.logo { display:none; }
	.logo-mob { display:block; }
	.logo-mob img { width:400px; height:auto; margin:25px auto; display:block;  }
	a#appointment { display:block; margin: 0 auto 25px auto; padding:10px 15px; float:none; clear:both; text-align:center; max-width:285px; }
	.tel-no { float:none; display:block; margin:0 auto 5px auto; width:245px; height:40px;  }
	#mysticky-nav.wrapfixed .tel-no { display:none; }
	#mysticky-nav.wrapfixed a#appointment { margin:10px auto; }
	.tel-no-app { float:none; width:100%; clear:both; }
	img#loreal { display:none; }
	footer .wrapper { max-width:90%; }
	#mysticky-nav.wrapfixed .logo-img { width:200px; height:auto; margin:10px auto; }
	header { border-bottom:1px solid black; }
}

@media screen and (max-width:767px) {
	.home-btn h3 a { top:38%; font-size:22px; }
	
}
@media screen and (max-width:650px) { 
	#widget-sidebar { float:left; width:100%; height:auto; }
	#widget-sidebar:nth-child(1) { margin-right:0; }
	#widget-hours p { max-width:70%; font-size:11px; }
}
@media screen and (max-width:550px) { 
	.archive-container article { width:100%; margin:0 0 25px 0!important; }
	.logo-mob img { max-width:90%; height:auto; }
}
@media screen and (max-width:469px) {
	.home-btn h3 a { top:30%; font-size:18px; }
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}