/*
Theme Name: HamdanCPA
Description: Custom Theme for HamdanCPA
Author: WebLeeDev
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body{
	font-family: "Montserrat", sans-serif;
	font-weight:500;
	color:#000;
	font-size:18px;
}
a{
	color:#000;
}
hr{
	opacity:1;
}
/* Ensure the outer container stretches the full width of the screen */
.wp-block-columns.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* Optional: Prevent unwanted horizontal scrolling on the page */
body {
    overflow-x: hidden;
}

@media only screen and (min-width:1200px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1230px;
    }
}

#header{
	padding:30px 0;
}
.logo{
	width:276px;
}
.header-contact{
	position:absolute;
	right:0;
	top:0;
	font-size:13px;
}

/* Menu */
@media only screen and (min-width:1200px) {
    .navbar-expand-xl {
        flex-wrap: wrap;
    }
}

.menu-bar{
	position:relative;
}
.navbar{
	padding:0;
	position: absolute;
    right: 0;
    bottom: 0;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-link{
	font-size:17px;
	padding:4px 20px;
	color:#000;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item:last-child a{
	background:#1a3d60;
	color:#fff;
	text-transform:uppercase;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item{
	position:relative;
	margin:0;
	padding:0;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item.current-menu-item{
	font-weight:700;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item.menu-item-has-children{
	background-image:url(images/menu-arrow.png);
	background-repeat:no-repeat;
	background-position:right;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul{
	display:none;
	position:absolute;
	top:30px;
	left:0;
	padding:20px;
	background:#fff;
	list-style: none;
	margin:0;
	min-width:250px;
	z-index:10;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item:hover > ul{
	display:block;
}
.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul:last-child a{
	background:none;
	text-transform:none;
	color:#000;
}
h4.footer-widget-title{
	text-transform:uppercase;
	margin-bottom:20px;
}
#footer{
	font-size:20px;
}
#footer .main-footer{
	padding-top:80px;
	padding-bottom:60px;
}
#footer ul{
	list-style:none;
	margin:0;
	padding:0;
	column-count: 2;
}
#footer ul li{
	margin-bottom:20px;
}
#footer a{
	text-decoration:none;
}
.credits{
	color:#8a8b88;
	padding-top:30px;
	padding-bottom:30px;
	border-top:1px solid #91928f;
}
.credits a{
	color:#8a8b88;
}
.credits .legal{
	text-align:right;
}
.wpautoterms-footer{
	display:none !important;
}

.service-select .wp-block-group{
	border-top:10px solid transparent;
}
.service-select .wp-block-group:hover{
	border-top:10px solid #6095b9;
}

.custom-list {
  list-style: none; /* Removes default black bullets */
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 45px;
  margin-bottom: 35px;
}
.custom-list li small{
	font-size:.8em;
}

/* Creates the blue dot */
.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 17px;
  height: 17px;
  background-color: #6095b9;
  border-radius: 50%;
  z-index: 2;
}

/* Creates the vertical grey line */
.custom-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 8px; /* Centers line under the 10px dot */
  top: 16px;
  width: 1px;
  height: calc(100% + 30px);
  background-color: #8a8b88;
  z-index: 1;
}

/* EASY TABS */
.wp-block-easy-tabs-block-tabs.has-active-etb-border.home-tabs .wp-block-easy-tabs-block-tab-button.etb-active-tab{
	border-left:none !important;
	border-right:none !important;
	border-bottom:none !important;
	border-top:4px solid #a0ccf0 !important;
}
.wp-block-easy-tabs-block-tabs.has-hover-etb-border.home-tabs .wp-block-easy-tabs-block-tab-button:hover:not(.etb-active-tab):not([data-etb-active-tab]){
	border-left:none !important;
	border-right:none !important;
	border-bottom:none !important;
	border-top:4px solid #a0ccf0 !important;
}
.home-tabs .wp-block-image.has-custom-border img{
	border-radius:0 !important;
}
.home-tabs .wp-block-easy-tabs-block-tab-contents{
	padding:80px !important;
}
.home-tabs .tabbed-text{
	border: 6px solid #274c77;
    width:80%;
	padding: 70px 0 70px 35px !important;
}
.home-tabs .tabbed-text h3{
	background:#fff;
	width:115%;
	padding:20px 0;
}

.wp-block-easy-tabs-block-tabs.has-active-etb-bg-color.industry-tabs .wp-block-easy-tabs-block-tab-button.etb-active-tab{
	background:#1a3d60 !important;
}
.wp-block-easy-tabs-block-tabs.has-active-etb-bg-color.industry-tabs .wp-block-easy-tabs-block-tab-button.etb-active-tab h4{
	color:#fff !important;
}
.faq-tabs .wp-block-easy-tabs-block-tab-contents{
	background-color:transparent !important;
}
.wp-block-easy-tabs-block-tabs.has-hover-etb-bg-color.faq-tabs .wp-block-easy-tabs-block-tab-button:hover:not(.etb-active-tab):not([data-etb-active-tab]){
	background:#dbeefd !important;
}
.wp-block-easy-tabs-block-tabs.has-active-etb-border.faq-tabs .wp-block-easy-tabs-block-tab-button.etb-active-tab{
	background:#dbeefd !important;
	border-color:#8cb3ce !important;
}
.wp-block-easy-tabs-block-tabs.has-hover-etb-bg-color.faq-tabs .wp-block-easy-tabs-block-tab-button:hover:not(.etb-active-tab):not([data-etb-active-tab]) p, .wp-block-easy-tabs-block-tabs.has-active-etb-border.faq-tabs .wp-block-easy-tabs-block-tab-button.etb-active-tab p{
	color:#000 !important;
}

.wp-block-accordion-item.is-open{
	background:#d6dde1;
	padding-top: 10px !important;
    padding-bottom: 20px !important;
}
.wp-block-accordion-item{
	margin-top:0;
	border-bottom:1px solid #d6dde1;
}
.wp-block-accordion-item.is-open .wp-block-accordion-panel{
	margin-top:0;
}
.wp-block-accordion-heading__toggle-icon{
	font-size:30px;
	color:#666;
}

/* CF7 */
form.wpcf7-form{
	font-size:14px;
}
form.wpcf7-form input, form.wpcf7-form textarea, form.wpcf7-form select{
	width:100%;
	max-width:100%
}
form.wpcf7-form select{
	padding:2px;
}
form.wpcf7-form textarea{
	height:110px;
}
form.wpcf7-form input[type=submit]{
	width:auto;
	font-weight:700;
	background:none;
	border:2px solid #6095b9;
	padding:7px 43px;
	font-size:11px;
	margin-top:30px;
}

/* Images */

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%;
	height: auto;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right:7px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #ebebeb;
	line-height: 18px;
	margin-bottom: 3px;
	max-width: 630px !important;
	padding: 3px 13px 4px 3px;
	text-align: center;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
.wp-caption img {
	margin: 5px;
}
.wp-caption p.wp-caption-text {
	color: #555;
	font-size: .875em;
	margin: 0;
	
}
.wp-smiley {
	margin: 0;
}

.bypostauthor{
}
.feedback{
	text-align:right;
	padding:0 20px 10px 0;
	clear:both;
}

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}
.top-footer .gallery-item{
	float: none;
	display: inline-block;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail,
.gallery-columns-4.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item {
	text-align: center;
}



.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.gallery img {
	border: 10px solid transparent;
	max-width: 100%;
height: auto;
}

#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

/* Comments */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
}
.reply a:hover,
a.comment-edit-link:hover {
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}

/* Comments form */
input[type=submit] {
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	font-weight: bold;
}
#respond label {
	font-size: 12px;
	width:7%;
}
#respond input {
	margin: 20px 5px;
}
#respond textarea {
	width: 99%;
}
#respond .form-allowed-tags {
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}
#advert{
	width:640px;
	margin-left:-40px;
}
#advert ul{
	list-style:none;
}
/* =Widget Areas
-------------------------------------------------------------- */

.textwidget{
width:100%;
}
.widget-area ul {
	list-style: none;
	margin: 0;
	padding-left:0;
}
.widget-area ul ul {
	margin: 0;
	padding-left:10px;
}
.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 100%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin: 0;
	padding:0;
	list-style:none;
}
.widget-container ul{
margin:0;
padding:0;
}
.widget-container ul li{
list-style:none;
}
.widget-container a,
.widget-container a:link,
.widget-container a:visited {
	text-decoration: none;
}
.widget-container a:active,
.widget-container a:hover {
	text-decoration: none;
}
.widget-area a,
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: none;
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #999;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
	text-shadow:none;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
}
#wp-calendar tbody td {
	border: 1px solid #333;
	padding: 3px 0 2px;
	text-align: center;
	font-size:12px;
}

#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #CC0000;
}
.widget_rss a.rsswidget:hover {
	color: #FF0000;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}

/* RESPONSIVE */
img{
	max-width:100%;
	height:auto;
}
.navbar-toggler{
	border:1px solid #ddd;
	margin-top:30px;
}
.navbar-toggler:focus{
	box-shadow:none;
}
.hamburger {
    width: 100%;
    text-align: right;
}

@media only screen and (max-width:1200px) {
	.navbar{
		position:absolute;
		right:0;
		top:0;
		z-index: 1;
    	width: 100%;
	}
	.navbar-collapse{
		background:#fff;
		padding:30px;
	}
	.navbar-nav .join-btn{
		margin-bottom:20px;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item{
		padding:2px 0;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-link{
		text-align:left;
		padding-left:0;
		padding-right:0;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item.header-btn .nav-link{
		background:none;
		padding-left:0;
		padding-right:0;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul{
		display:block;
		padding: 10px 20px;
	    position: relative;
	    top: 0;
	    left: 0;
	    background: none;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item.header-btn > ul{
		right:0;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul > li > a{
		font-size:18px;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item > ul > li > ul{
		padding:0 20px;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item.menu-item-has-children{
		background:none;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item:last-child a {
	    width: auto;
	    float: left;
	    padding: 5px 10px;
	}
	.main-menu .navbar-expand-xl .navbar-nav .nav-item ul:last-child li a{
		padding:0;
	}
}

@media only screen and (max-width:1058px) {
	.about-columns{
		background:none !important;
	}
	.wp-container-content-cc05384b{
		flex-basis:100% !important;
		padding:50px 70px !important;
	}
}

@media only screen and (max-width:767px) {
	.header-contact{
		right:unset;
		top:unset;
		left:0;
		bottom:-40px;
	}
	.credits .legal {
	    text-align: left;
	}
}

@media only screen and (max-width:610px) {
	.home-tabs .wp-block-easy-tabs-block-tab-contents {
		padding: 30px !important;
	}
	.home-tabs .tabbed-text {
		border: none;
		width: 100%;
		padding: 0 !important;
	}
	.home-tabs .tabbed-text h3 {
		width: 100%;
		padding: 0;
	}
}

@media only screen and (max-width:460px) {
	.wp-container-content-cc05384b{
		padding:30px !important;
	}
}