/*
Theme Name: Chania Citizen Guide Theme
Theme URI: https://www.gxg.gr
Author: G-Squared
Author URI: https://www.gxg.gr/
Description: <strong>Perfomance custom theme for Chania Citizen Guide by Gsquared</strong>.
Version: 1.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: ccg
*/


:focus{outline: none;}

.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%; /* Image does not overflow the content area */
    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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
html,body{
	padding:0;
	margin:0;
}
body {
    font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	color: #424242;
	line-height: 1.5;
	overflow-x: hidden;
}
body.menu-is-active {
	overflow: hidden;
}
body.gamos-has-sidebar ,body.gamos-has-sidebar #navigation {
	background: #f4e1dd;
}
p{
	margin-top: 0;
	margin-bottom: 10px;
}
a{
	color: #0E3052;
	text-decoration: underline;
}
.gamos-has-sidebar a{
	color: #ac4365;
}
a:focus, a:active, button:focus, button:active, a::-moz-focus-inner, button::-moz-focus-inner {
	outline: none;
	box-shadow: none;
	border: 0;
}
a:hover {
	color: #000;
}


body.admin-bar {
	overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6{
	margin-top: 0px;
	margin-bottom: 15px;
}
h1{
	font-size: 28px;
}
img,svg {
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}
iframe{
	max-width: 100%;
}
.relativearticles-map-row iframe {
    width: 100% !important;
}
input, select, textarea {
    font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	padding: 8px 8px;
	max-width: 100%;
	box-sizing: border-box;
	color: #000;
	border: 1px solid #808285;
}
input[type="submit"] {
	padding: 10px 24px;
	background: #fff;
	color: #231f20;
	border: 1px solid #231f20;
	cursor: pointer;
}
button {
  
    font-family: 'Open Sans', sans-serif;
    border: none;
    cursor:pointer;
}

label {
	color: #231f20;
}
ul,ol{
	padding: 0;
	margin: 0;
}
.pagetextcol ul {
    margin-left: 50px;
}
#header .container:after , #top-bar .container:after {content: unset;}

#top-bar {
	background-color: #00274D;
	transition: opacity 150ms ease-in-out;
}
body.gamos-has-sidebar #top-bar {
	background: #ac4365;
}
#top-bar > .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#top-bar #f-weather { 
	color: #fff;
}
#top-bar svg {
	fill: #fff;
}
#top-bar .social {
	display: flex;
	align-items: center;
}
#top-bar .social a {
	padding: 0 5px;
}




 .logo-st0{fill:#F58220;}
 .logo-st1{fill:#FFFFFF;}
 .logo-st2{fill:#0E3052;}
 .logo-st3{fill:none;stroke:#0E3052;stroke-width:3.472;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
 .logo-st4{fill:#F58220;stroke:#02253A;stroke-width:3.3157;stroke-miterlimit:10;}

#main-wrap{
	/*padding: 25px 25px 0;*/
	transition: opacity 150ms ease-in-out;
}

#menu a[href="#"] {
	pointer-events:none;
}


.container {
	max-width: 1240px;
	margin: 0 auto;
}




/*#menu li {
	position: relative;
}*/
.has-sidebar:not(.search-no-results) #content{
	padding-top: 25px;
}




ul.menu {
	padding: 0;
	margin:0 ;
}
#header .menu {
	text-align: left;
	margin: 0;
	padding: 0;
}
#brand a {
	display: inline-block;
	padding: 0 15px;
}

#menu ul.menu li a {
	text-decoration: none;
	font-size: 15px;
	padding: 15px 15px;
	display: block;
	transition: all 200ms ease-in-out;
}
#menu ul.menu ul.sub-menu li a {
	font-size: 15px;
}

#responsive-toggle {
	border: none;
	background: none;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	min-width: 105px;
}
#responsive-toggle svg {
	width: 30px;
	height: auto;
}
.ham-open-text {
	height: 30px;
	display: flex;
	align-items: center;
}
.menu-main-container{
	transition: all 300ms ease-in-out;
	overflow: hidden;
}

.gamos-has-sidebar .hamburger-inner, .gamos-has-sidebar .hamburger-inner::before, .gamos-has-sidebar .hamburger-inner::after {
    background-color: #ac4365;
}
.gamos-has-sidebar .hamburger span {
    color: #ac4365;
}
.brand-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.brand {
	padding-right: 20px;
}
@media (min-width: 768px) {
	.top-head {
		display: flex;
		justify-content: space-between;
		padding: 20px 0 10px;
		transition: opacity 150ms ease-in-out;
		align-items: center;
	}
	#mobile-close,#responsive-toggle{display: none;}

	#menu > .container::after {
		content:unset;
	}
	#menu > .container {
	    display: flex;
	    justify-content: space-between;
	}
	#menu ul.menu .sub-menu {
		opacity: 0;
		position: absolute;
		padding: 0;
		pointer-events: none;
		transition: opacity 200ms ease-in-out;
		left: 0;
		width: 250px;
	}
	#menu ul.menu > li > .sub-menu{
		background: #fff;
		border: 1px solid #ccc;
	}
	#menu ul.menu li:hover > .sub-menu {
		opacity: 1;
		pointer-events: all;
	}
	#menu ul.menu li .sub-menu a {
		padding: 6px 15px;
		border-bottom: 1px solid #ccc;
	}
	#menu ul.menu li {
		display: inline-block;
		margin-right: 15px;
		position: relative;
	}
	#menu ul.menu li a {
		color: #333;
	}
	#menu ul.menu > li > a {
	    position: relative;
	    text-transform: uppercase;
	    padding: 15px 5px;
	}
	#menu ul.menu .sub-menu li {
		width: 100%;
	}
	#menu ul.menu .sub-menu .sub-menu {
		left: 100%;
		z-index: 99;
		top: -1px;
		background: #fff;
		border: 1px solid #ccc;
		border-left: none;
	}
	#navigation {
		background-color: #fff;
		position: sticky;
		top: 0;
		z-index: 999;
	}
	.menu-is-sticky #navigation {
		border-bottom:1px solid #000;
	}
}
#top-header {
	padding: 0 15px;
}
@media (max-width: 767px) {
	#top-header {
		padding: 15px;
		position: sticky;
		top: 0;
		background: #fff;
		z-index: 998;
		box-sizing: border-box;
	}
	.menu-is-sticky .brand-wrap {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		box-sizing: border-box;
		padding: 15px;
		background: #fff;
		z-index: 998;
		height: 80px;
		box-shadow: 0px -3px 10px 0px #00274d;
	}
	#navigation {
		background-color: #fff;
		z-index: 999999;
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		transform: translateX(100%);
		transition: all 150ms ease-in-out;
	}
	#navigation .brand {
		padding: 15px !important;
		box-sizing: border-box;
	}
	.menu-is-active #navigation {
		transform: translateX(0%);
	}
	#mobile-close {
		display: block;
		margin-left: auto;
		margin-right: 15px;
		background: #0e3052;
		padding: 9px;
	}
	#mobile-close path:first-child {
		fill: #fff;
	}
	#navigation ul.menu li {
		list-style: none;
	}
	#top-header {
		position: static !important;
	}
	.brand svg {
		height: 100%;
		width: auto;
	}
	.ccg-banner {
		margin-top: 15px;
	}
	.menu-toggle {
		cursor: pointer;
		position: absolute;
		width: 100%;
		right: 0;
		top: 0;
		text-align: right;
	}
	.menu-toggle::after {
		content: '+';
		font-size: 24px;
		padding: 10px 20px;
	}
	ul.menu li {position: relative;}
	ul.menu .sub-menu {
		display: none;
		padding-left: 20px;
	}
	#menu ul.menu li a {
		padding: 6px 15px;
	}
	ul.menu .sub-menu.active {
		display: block;
	}
	.sub-menu.active ~ .menu-toggle::after {
		content: "-";
	}
}

@media (max-width: 1279px) {
	html #wpadminbar {
		display: none;
	}
	html.js_active, html[lang="el"] {
		margin-top: 0px !important;
	}
	#breadcrumbs {
		padding-top: 20px;
	}

	.gamos-has-sidebar #top-header {
		background: #f4e1dd;
	}
}
@media (min-width: 1280px) {
	.admin-bar #navigation {
		top: 32px;
	}
}


.dropdown-nomos > .sub-menu::before {
content: '';
background: #00274d;
position: absolute;
width: 1240px;
left: -135%;
height: 100%;
z-index: 0;
}
#menu ul.menu > li.dropdown-nomos > .sub-menu {
	width: 250%;
	left: -50%;
	background: #f5deb3;
	border: none;
}
@media (max-width: 767px) {
#menu ul.menu > li.dropdown-nomos > .sub-menu {width: 100% !important;}
}
.chania-svg a path {
	fill: #f58220;
	transition: all 150ms ease-in-out;
}
.chania-svg a:hover path {
	fill: #FFF;
}
.chania-dimos-text {
	position: absolute;
	bottom: 0;
	color: #fff;
}

/*
START GENERAL STYLE
*/
.clearfix::after {
	content: " ";
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}
.gamos-has-sidebar .page-content, .gamos-has-sidebar .article-content {
	background: #fff;
	padding: 20px;
	box-sizing: border-box;
}
@media(min-width: 768px){
	.gamos-has-sidebar .page-content, .gamos-has-sidebar .article-content {
		float: right;
		width: 70%;
	}
	.gamos-has-sidebar #sidebar {
		float: left;
		width: calc(30% - 30px);
	}
	.admin-bar.has-sidebar #sidebar {
		top: 87px;
	}
	.container:not(.not)::after {
	    content: "";
	    clear: both;
	    display: table;
	}
	
}
#sidebar ul {
	padding-left: 0px;
}
#sidebar h2 {
	font-size: 28px;
}
section.not-found{
	padding: 50px 15px;
}
@media (min-width: 960px) {
	#sidebar ul {
		padding-left: 15px;
	}
}
#sidebar li {
	list-style: none;
}
.gamos-has-sidebar #sidebar .menu a {
	text-decoration: none;
}
.gamos-has-sidebar #sidebar .menu a[href="#"]{
	pointer-events: none;
}
.gamos-has-sidebar #sidebar .menu > li {
	margin-bottom: 10px;
}
.gamos-has-sidebar #sidebar ul.menu > li > a{
	font-weight: bold
}

#sidebar .sub-menu li.current-menu-item a {
	font-weight: bold;
	text-decoration: underline;
}
#sidebar .widget_recent_entries ul li a {
	font-size: 16px;
	color: #00274d;
}
#sidebar .widget-title {
	font-size: 22px;
	font-weight: 400;
	background: #d8e3ea;
	color: #2B1B1A;
	padding: 6px;
}
#sidebar .post-date {
	display: block;
	font-style: italic;
	font-size: 12px;
}
@media (min-width: 1240px){
	#sidebar .hide-form-element-small{
		display: none;
	}
}
#sidebar li:hover .hide-form-element-small{
	display: block;
	
}
.gxg-iframe iframe {	/* iframe at "kataskeyi-istoselidon" page */
    height: 500px;
}
/*#ccg-ad {
    padding: 0 15px;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}*/
#ccg-search-ads,#ccg-ad {
	background: #f4f4f4;
	padding: 15px 0;
}

@media (min-width: 768px){
	#ccg-ad .ccg-ads-container {
		display: flex;
		justify-content: space-between;
		padding: 0 10px;
	}
	#ccg-ad img {
		max-height: 100%;
		width: 100%;
		object-fit: cover;
	}

	.ads {
		text-align: center;
		margin: 0 0;
	}

}
@media (min-width: 1024px) {
	#ccg-ad {
		min-height: 100px;
	}
	.ads-are-sticky #ccg-ad .ccg-ads-container {
		position: fixed;
		top: 54px;
		left: 0;
		z-index: 9;
		display: flex;
		padding: 10px;
		background: #fff;
		box-shadow: 5px 0px 5px 0px #808285;
		place-items: center;
		box-sizing: border-box;
		width: 100%;
	}
	.ads-are-sticky #ccg-ad img {
		max-height: 100px;
		width: auto;
		object-fit: cover;
	}
}
@media (min-width: 1280px) {
	.ads-are-sticky.admin-bar #ccg-ad .ccg-ads-container {
		top: calc(54px + 32px);
	}
}
@media (max-width: 767px) {
	.ccg-ads-container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 15px;
		padding: 0 15px;
	}
}
body:not(.ads-are-sticky) #ccg-ad .ads.big {
	display: none;
}

@media screen and (min-width: 568px) and (max-width: 767px) {
	.has-sidebar.post-type-archive-listing #loop-wrap, .has-sidebar.tax-listing-category #loop-wrap, .has-sidebar.tax-listing-county #loop-wrap, .has-sidebar.search-results #loop-wrap {
	    padding-right: 15px;
	    padding-left: 15px;
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	    grid-gap: 15px;
	}
	.ccg-listing{
		margin-bottom: 0;
	}
}
/*display: grid;

grid-template-columns: 1fr 1fr;

text-align: center;

grid-gap: 20px;

max-width: 600px;

margin: 0 auto;*/


#ccg-search-form {
	max-width: 580px;
	margin: 0 auto 5px;
	padding: 0 15px;
	box-sizing: border-box;
}
#ccg-search-form .form-row.main{
	display: flex;
	justify-content: space-around;
}
#ccg-search-form .hidden-fields{display: none;}
#ccg-search-form input,#ccg-search-form select, #ccg-search-form button{
	border-radius: 30px;
}
#ccg-search-form input,#ccg-search-form select{
width:100%;}



#form-search-name {
	flex: 1;
	/*border-radius: 30px;*/
}
.form-row {
	margin-bottom: 15px !important;
}
.ccg-search-submit {
	border: 1px solid #00274D;
	background: #00274D;
	color: #fff;
	cursor: pointer;
	margin-left: -57px;
	padding: 10px 22px;
}
.form-links {
	display: flex;
	justify-content: space-around;
}
.form-links p {
	cursor: pointer;
	line-height: 14px;
	margin-bottom: 0px;
	display: flex;
	line-height: 1.2;
	flex: 1;
	align-items: center;
}
.form-links svg {
	vertical-align: middle;
	margin-right: 8px;
}
.ccg-title {
	position: relative;
	z-index: 1;
	text-align: center;
	color: #424242;
	font-size: 30px;
	line-height: 32px;
	margin-top: 35px;
	margin-bottom: 35px;
}

/*.ccg-title::after {
	content: '';
	width: 3em;
	height: 3em;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	border: 1px solid #f18220;
	z-index: -1;
}*/
@media (min-width: 1280px){
	.admin-bar #fixed-subcategories {padding-top: 32px;}
}

#fixed-subcategories {
	position: fixed;
	background: #fff;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	flex-wrap: wrap;
	overflow: auto;
	z-index: 999;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}
#fixed-subcategories .char-col {
	margin-right: 25px;
}
#fixed-subcategories .char-col h5 {
	color: #2e50a9;
	font-size: 25px;
	border-bottom: 1px solid #2e50a9;
	position: sticky;
	top: 0;
	background: #fff;
}
.char-col a {
	font-size: 14px;
	margin-bottom: 6px;
	display: inline-block;
}
/*#close-sub-cat{
	position: fixed;
	top: 35px;
	right: 35px;
	color: red;
	cursor: pointer;
	z-index: 100;
}*/
#close-sub-cat {
    position: fixed;
    top: 45px;
    right: 25px;
    color: red;
    cursor: pointer;
    z-index: 100;
    font-size: 35px;
    font-weight: 600;
    /* border: 1px solid #2e50b1; */
    /* border-radius: 50%; */
    padding: 0 12px;
}
.similar-articles-head {
	margin-bottom: 35px;
}
/* START ads sidebar */
.sidebarpage-row img {
    display: block;
    margin: 0 auto !important;
}
.sidebarpage-row {
    padding-top: 50px;
    padding-bottom: 50px;
}
.sidebarpage-row h1 {
    font-size: 24px;
    /*text-align: left !important;*/
}
/* END ads sidebar */
/* START gxg iframe */
.gxg-iframe .gxg-close-full {
   display: none;
}
.gxg-iframe.active .gxg-close-full {
   display: block;
}

.gxg-iframe .gxg-open-full {
    display: inline-block;
}
.gxg-iframe.active .gxg-open-full {
   display: none;
}
.gxg-iframe.active  iframe{
   max-width: 100%;
   position: fixed;
   top: 215px;/*170px*/
   left: 0;
   width: 100%;
   height: calc(100% - 170px);
   z-index: 99998888;
}
.gxg-open-full, .gxg-close-full {
    padding: 10px 24px;
    background: #eee;
    color: #231f20;
    border: 1px solid #231f20;
    cursor: pointer;
    text-decoration: none;
}
.gxg-close-full {
    position: fixed;
    top: 88px;
    right: 30px;
}
.admin-bar .gxg-close-full {
    top: 120px;
}
.fullscrbtn {
    margin-bottom: 35px;
    margin-top: 0;
}
/* END gxg iframe */





/* 
END GENERAL STYLE
*/

/*
START CONTACT FORMS
*/
.column.one.clearfix {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea {
    width: 100%;
}

/*
END CONTACT FORMS
*/



/*
START COMMON LOOP
*/

.pagination {
	margin: 30px 0;
	text-align: center;
}
.pagination a, .pagination span {
	padding: 2px 10px;
	border: 1px solid #00274d;
	margin: 0 5px;
	color: #00274d;
	text-decoration: none;
}

.page-numbers.current {
	background: #00274d;
	cursor: default;
	color: #fff;
}
.prev.page-numbers{
	margin-right: 10px;
	border: none;
}

.next.page-numbers{
	margin-left: 10px;
	border: none;
}

.pagination ul li.active a {
	border: 1px solid;
	display: block;
	padding: 0 6.6px;
	pointer-events: none;
}
/*END COMMON LOOP*/

/*start ap form*/
.ap-pro-front-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 20px;
}
.ap-pro-form-field input[type="text"], .ap-pro-form-field textarea, .ap-pro-form-field select {
	-webkit-box-shadow: unset;
	-moz-box-shadow: unset;
	box-shadow: unset;
	border: 1px solid #000;
}
.ap-form-agreement-wrap {
    margin: 10px 0;
    grid-column: span 2;
}
/*end ap form*/

/*START LOOP LISTING PAGE*/
#breadcrumbs {
	font-size: 14px;
	color: #424242;
	margin-left: 15px;
}
#breadcrumbs a {
	color: #424242;
}
.breadcrumb_last {
	font-weight: 800;
}
.has-sidebar.post-type-archive-listing #loop-wrap, .has-sidebar.tax-listing-category #loop-wrap, .has-sidebar.tax-listing-county #loop-wrap, .has-sidebar.search-results #loop-wrap {
	padding-right: 15px;
	padding-left: 15px;
}
@media (min-width: 768px) {
	.has-sidebar.post-type-archive-listing #content, .has-sidebar.tax-listing-category #content, .has-sidebar.tax-listing-county #content, .has-sidebar.search-results #content {
		float: left;
	}
	.has-sidebar.post-type-archive-listing #sidebar, .has-sidebar.tax-listing-category #sidebar, .has-sidebar.tax-listing-county #sidebar, .has-sidebar.search-results #sidebar {
		float: right;
		position: sticky;
	}
	.listings-sidebar-loop p {margin: 0;}
}
@media (min-width: 1200px) {
	.has-sidebar.post-type-archive-listing #content, .has-sidebar.tax-listing-category #content, .has-sidebar.tax-listing-county #content, .has-sidebar.search-results #content {
		width: 800px;
		padding-top: 0;
	}
	.admin-bar.has-sidebar.post-type-archive-listing #sidebar, 
	.admin-bar.has-sidebar.tax-listing-category #sidebar, 
	.admin-bar.has-sidebar.tax-listing-county #sidebar, 
	.admin-bar.has-sidebar.search-results #sidebar {
		top: 207px;
	}
	.has-sidebar.post-type-archive-listing #sidebar, .has-sidebar.tax-listing-category #sidebar, .has-sidebar.tax-listing-county #sidebar, .has-sidebar.search-results #sidebar {
		padding: 0px;
		top: 175px;
		width: calc(100% - 800px);
	}
	#listing-loop-map {
		height: calc(100vh - 175px);
	}
	.admin-bar #listing-loop-map {
		height: calc(100vh - 207px);
	}
}
@media screen and (min-width: 768px) and (max-width: 1199px){
	.has-sidebar.post-type-archive-listing #content, .has-sidebar.tax-listing-category #content, .has-sidebar.tax-listing-county #content, .has-sidebar.search-results #content {
		width: 50%;
		padding-top: 0;
	}
	.has-sidebar.post-type-archive-listing #sidebar, .has-sidebar.tax-listing-category #sidebar, .has-sidebar.tax-listing-county #sidebar, .has-sidebar.search-results #sidebar {
		padding: 0px;
		top: 86px;
		width: 50%;
	}
	#listing-loop-map {
		height: calc(100vh - 86px);
	}
}
@media (max-width: 1199px){
	.ccg-listing {
		flex-direction: column;
	}
}
.archive-container h1 {
	margin: 15px;
	line-height: 1.1;
}
@media (min-width: 768px) {
	#mob-listing-map {
		display: none;
	}
}
@media (max-width: 767px) {
	#mob-listing-map {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 99999;
		background: #00274d;
		padding: 11px;
		color: #fff;
		font-size: 18px;
	}
	#listing-loop-map {
		position: fixed !important;
		top: 0;
		left: 0;
		width: 100%;
		height: calc(100% - 35px);
		z-index: 9999;
		opacity: 0;
		transform: translateY(100%);
		transition: all 250ms ease-in-out;
		pointer-events: none;
	}
	#listing-loop-map.open {
		opacity: 1;
		transform: translateY(0px);
		pointer-events: all;
	}
}

.gm-style-iw-d a {
	color: #000;
	text-align: center;
	text-decoration: none;
	line-height: 20px;
	padding: 10px;
	box-sizing: border-box;
	display: inline-block;
	width: 330px;
	max-width: 100%;
}
.gm-style-iw-d a h4 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	margin: 10px 0;
}
.gm-ui-hover-effect {
	transform: scale(2);
	top: 0 !important;
	right: 0 !important;
}
.ccg-listing {
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
	margin-bottom: 20px;
	border-top:1px solid #00000029;
	
}
.listing-image {
	padding: 20px;
}
.listing-image img {
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}
.ccg-listing {
	display: flex;
	justify-content: space-between;
}
.ccg-listing .listing-details {
	flex: 1;
	padding: 15px;
	background-color: #f4f4f4;
	width: 100%;
	box-sizing: border-box;
}
.ccg-listing .listing-title h2 {
	margin-bottom: 0;
	font-weight: 400;
	cursor: default;
}
.custom-breadcrumb.listing-categories {
	margin-bottom: 10px;
}
.custom-breadcrumb.listing-categories .breadcrumb {
	font-size: 13px;
}
.custom-breadcrumb.listing-categories a {
	font-weight: 300;
	font-size: inherit;
}
.listing-details a {
	text-decoration: none;
}
.listing-title a {
	font-size: 20px;
	font-weight: 400;
	display: block;
	line-height: 1.3;
}
.meta-data {
	font-size: 14px;
}
.meta-data svg {
	width: 1.8em;
	margin-right: 3px;
}
.meta-data p {
	margin: 0 0 5px;
}
.meta-data .address span {
	padding: 0 5px;
	display: inline-block;
}
.map-btn svg {
	width: 1em;
	margin-left: 0.3em;
}
.hidden-field {
	background: #00274d;
	padding: 2px 7px;
	color: #fff;
	cursor: pointer;
}
.ccg-listing .listing-title h2, .hidden-field:not(.shown) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.map-btn {
	padding: 5px;
}
.hidden-field a{
	color: #fff;
}

/*END LOOP LISTING PAGE*/



/*START SINGLE LISTING */
.single-listing #breadcrumbs {
	max-width: 1240px;
	margin: 10px auto 0;
}
.single-details {
	display: flex;
	justify-content: space-between;
	margin-bottom: 35px;
}
.single-details .wrap {
	position: sticky;
	top: 100px;
	z-index: 2;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}
.single .ccg-listing {
	flex-direction: column;
	margin-bottom: 0;
	box-shadow: unset;
}
.single-details > .column:first-child {
	flex: 1;
	margin-right: 25px;
}
@media (max-width: 959px) {
	.single-details {
		flex-direction: column-reverse;
	}
}
.single-content {
	max-width: 680px;
	padding: 20px 0;
	box-sizing: border-box;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.custom-breadcrumb.listing-categories, .listing-details a,.meta-data p {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.share {
	display: flex;
	text-align: center;
}
.share a {
	display: flex;
	color: #fff;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	align-items: center;
	padding: 0px 15px 10px;
	text-decoration: none;
	flex: 1;
}
.share svg {
	vertical-align: middle;
	display: inline-block;
}
.share a span {
	vertical-align: middle;
	display: inline-block;
	font-size: 13px;
}
.single-contact {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.photo-gallery.btn {
	background: #00274d;
	color: #fff;
	text-decoration: none;
	padding: 15px;
	text-align: center;
	margin-top: 15px;
}
.fancybox-container {
	z-index: 999999;
}
.contact-form{
	max-width: 100%;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
}
.single-contact .contact-form > p {
	background: #ddd;
	padding: 20px;
	font-size: 18px;
	line-height: 18px;
	margin-bottom: 0px;
}
.single-contact .wpcf7 .row {
	width: 680px;
	background: #f4f4f4;
	padding: 40px 20px;
	box-sizing: border-box;
}
.single-contact .column {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}
.single-contact .column:last-child{
	margin-bottom: 0px
}
.single-contact .column label{
	flex: 1;
}
.single-contact .column .wpcf7-form-control-wrap {
	position: relative;
	flex: 3;
}
.single-contact .column .wpcf7-form-control-wrap input, .single-contact .column .wpcf7-form-control-wrap textarea {
	width: 100%;
	background: transparent;
}
.single-contact .column .wpcf7-form-control-wrap input {
	border: none;
	border-bottom: 3px solid #424242;
}
#single-map h3 {
	text-align: center;
	font-size: 24px;
	background: #42709c;
	margin: 0;
	color: #fff;
	padding: 20px;
}
#single-gethere-btn {
	width: 336px;
	padding: 15px 0;
	font-size: 18px;
	background: #00274d;
	color: #fff;
	margin-top: 10px;
}
/*END SINGLE LISTING */




/*START LOOP POST LOOP*/

.category .archive-container.clearfix, .blog .archive-container.clearfix {
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}
.category .archive-container h1, .blog .archive-container h1 {
	margin: 0 0 15px;
}
@media (min-width: 768px) {
	.category #loop-wrap, .blog #loop-wrap {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-gap: 15px;
	}
}
.single-post-link {
	text-decoration: none;
	color: #424242;
}
.single-post-link h2 {
	line-height: 1.1;
	margin-top: 15px;
}
.single-post-img-wrap img {
	height: 200px;
	object-fit: cover;
}
.single-post-link .excerpt {
	max-height: 147px;
	padding-right: 17px;
	overflow: hidden;
}
.single-post-link:hover .excerpt {
	overflow: auto;
	padding-right: 0;
}
/*END LOOP POST LOOP*/

/*START SINGLE POST*/
.single-post #content{
	padding: 0 15px;
}
@media (min-width: 768px) {
	.single-post:not(.gamos-has-sidebar) .article-content {
		float: right;
		width: 70%;
	}
	.single-post:not(.gamos-has-sidebar) #sidebar {
		float: left;
		width: calc(30% - 30px);
	}
}
.single-post:not(.gamos-has-sidebar) .single-post-sidebar .cat-item.cat-item-145{display: none;}

.article-content > header {
	margin-bottom: 20px;
}
.gamos-has-sidebar h1,
.gamos-has-sidebar h2,
.gamos-has-sidebar h3,
.gamos-has-sidebar h4{
	color: #ac4365;
}

/*END SINGLE POST*/

/*START CUSTOM PAGES STYLE*/

@media (min-width: 768px) {
	.church-row .ngg-galleryoverview {
		display: grid !important;
		grid-template-columns: repeat(5,1fr);
		grid-gap: 5px;
		max-width: 100%;
	}
	.church-row .ngg-navigation {
		grid-column: span 5;
	}
	.church-row .ngg-gallery-thumbnail span {
		min-height: 57px;
	}
	.sidebarpage-row > .vc_col-sm-4 {
		position: sticky;
		top: 69px;
	}
	.admin-bar .sidebarpage-row > .vc_col-sm-4 {
		top: 101px;
	}
}
/*END CUSTOM PAGES STYLE*/



/* 
START FOOTER
*/

#Footer {
	transition: opacity 500ms ease-in-out;
	position: relative;
	color: #231f20;
	background-color: #f4f4f4;
	border-top: 2px solid #00274d;
	font-size: 14px;
	padding: 35px 15px;
}




@media (min-width: 768px){
	#Footer > .container {
		display: flex;
		padding: 35px 0px 0px;
		justify-content: space-between;
	}
	#Footer .container > div {
		margin-right: 40px;
	}
}
@media (max-width: 767px) {
	#text-3 > .textwidget {
		display: flex;
		flex-direction: column-reverse;
	}
	#text-3 a img.alignright {
		float: none;
		margin: 0;
	}
	#Footer .container > div {
		margin-bottom: 15px;
	}
}
#footer-sidebar3 {
	flex: 1;
}
#Footer .widget-title {
	margin-bottom: 25px;
	color: #d8b2ab;
	font-weight: 100;
	text-transform: uppercase;
	font-size: 26px;
}
#Footer .menu {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#Footer .menu li {
	margin-bottom: 0;
	display: inline-block;
}
#Footer ul.menu > li > a {
	text-transform: initial;
	font-weight: 400;
	line-height: 1;
	padding: 4px 0;
	font-size: 14px;
}
#copywrite {
	text-align: center;
}
#back-to-top {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    font-size: 22px;
    padding: 0;
    cursor: pointer
}

/* 
END FOOTER
*/





























@media all and (min-width: 600px) {

	.fancybox-custom-layout .fancybox-bg {
		background: #fcfaf9;
		/*background: #000;*/
	}

	.fancybox-custom-layout.fancybox-is-open .fancybox-bg {
		opacity: 1;
	}

	.fancybox-custom-layout .fancybox-caption {
		background: #fff;
		bottom: 0;
		color: #6c6f73;
		left: auto;
		padding: 30px 20px;
		right: 44px;
		top: 0;
		width: 256px;
	}

	.fancybox-custom-layout .fancybox-caption h3 {
		color: #444;
		font-size: 21px;
		line-height: 1.3;
		margin-bottom: 24px;
	}

	.fancybox-custom-layout .fancybox-caption a {
		color: #444;
	}

	.fancybox-custom-layout .fancybox-caption::before {
		display: none;
	}

	.fancybox-custom-layout .fancybox-stage {
		right: 330px;
	}

	.fancybox-custom-layout .fancybox-toolbar {
		background: transparent;
		bottom: 0;
		left: auto;
		right: 0;
		top: 0;
		width: 44px;
	}

	.fancybox-custom-layout .fancybox-button {
		background: transparent;
		color: #000;
	}

	.fancybox-custom-layout .fancybox-navigation .fancybox-button div {
		padding: 6px;
		background: #fcfaf9;
		border-radius: 50%;
		transition: opacity .2s;
		box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
		opacity: .7;
	}

	.fancybox-custom-layout .fancybox-navigation .fancybox-button:not([disabled]):hover div {
		opacity: 1;
	}

	.fancybox-custom-layout .fancybox-navigation .fancybox-button[disabled] {
		color: #999;
	}

	.fancybox-custom-layout .fancybox-navigation .fancybox-button:not([disabled]) {
		color: #424242;
	}

	.fancybox-custom-layout .fancybox-button--arrow_right {
		right: 334px !important;
	}
	.fancybox-navigation .fancybox-button--arrow_right{
		right: 300px !important;
	}
}



.ccg-banner {text-align: center;
}
.ccg-banner img {
	width: 700px;
	/*height: 100px;*/
}

.ult_tabcontent.ult-responsive {height:100%!important}