/*
 Theme Name:   Lawyer Lite Child
 Description:  Some modifications on Lawyer Lite
 Author:       Adam Fodor
 Template:     lawyer-lite
 Version:      0.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         left-sidebar, right-sidebar, one-column, three-columns, four-columns, grid-layout, custom-colors, custom-background, custom-logo, custom-menu, custom-header, post-formats, editor-style, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, rtl-language-support, threaded-comments, blog, news, e-commerce
*/

#wpadminbar {
	background: #23282d8c !important;
}

a {
    color: black;
	transition-duration: 1s;
}

.fixed-header {
	z-index: 999 !important;
	display: block !important;
}

.banner-image {
	background-image: url("https://drfeketeaniko.hu/wp-content/uploads/2020/05/banner_full.jpg");
	height: 370px;
    background-position-y: top;
    background-position-x: center;
    background-size: cover;
}

.topbar {
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

#primary-site-navigation {
	margin-left: 200px;
}

@media screen and (max-width: 1090px) {
	#primary-site-navigation {
		margin-left: 130px;
	}
	.topbar-container {
		margin-left: 20px !important;
	}
}

@media screen and (max-width: 1000px) {
	.topbar-container {
		margin-left: 0 !important;
	}
}


@media screen and (max-width: 1000px) {
	.fixed-header .menu-color {
		background: #262626 !important;
	}
	#primary-site-navigation {
		margin-left: 0 !important;
	}
	.main-menu-navigation {
		overflow-y: hidden !important;
	}
	.primary-navigation li {
		margin-right: auto;
		margin-left: auto;
	}
	.primary-navigation ul li a {
		padding-bottom: 5px;
	}
	.topbar .logo {
		text-align: center;
	}
}

@media screen and (max-width: 1000px) {
	.menu-color{
		height: 0;
	}
}

.site-title > a > span {
	font-size: 16px;
}

.top-data {
	padding-left: 20px;
}

.top-text-email, .top-text-phone-number {
	font-size: 12px;
    font-weight: 600;
}

.contact {
	align-self: center;
}

@media screen and (min-width: 1383px) {
	.logo {
		flex-basis: 30%;
	}
	.contact {
		flex-basis: 70%;
		max-width: 70%;
	}
}

.row.topbar-section > .col-lg-3.col-md-6:last-child .row.top-data {
    border-right-style: none;
}
@media screen and (min-width: 576px) and (max-width: 991px) {
	.row.topbar-section > .col-lg-3.col-md-6 .row.top-data {
		border-right-style: none;
	}
	.row.top-data > .col-md-4.icon {
		text-align: right;
	}
	.row.top-data > .col-md-8{
		text-align: left;
	}
}

.topbar-container {
	margin-left: 40px;
}

@media screen and (max-width: 768px) {
	.wp-block-image .alignleft {
		width: 33%;
	}
}

.page-template-custom-front-page .menu-color, .menu-color {
    background: linear-gradient(104deg, #eee 83%, #30d5c8 83%) !important;
}

#menu-sidebar .current_page_item > a {
    color: #30d5c8;
    border-bottom: 3px solid; 
}

@media screen and (max-width: 576px){
	.wp-block-cover {
		min-height: 300px !important;
	}
	
	.wp-block-cover__inner-container p {
		font-size: 1.5em !important;
	}
}

.container > p {
    text-align: justify;
}

.full-body-picture figure {
    padding: 0;
    border: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    margin-top: 30px;
}

#sidebar aside {
    margin-bottom: 20% !important;
}

.our-services .page-box, #sidebar aside {
    background: white;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.blogbutton-small, .wpforms-container-full .wpforms-form button[type=submit] {
	border: 1px solid rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.65);
    border-radius: 4px;
}

#sidebar input[type="submit"],  #sidebar h3{
	border: 1px solid rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.65);
    border-radius: 4px;
}

.our-services .page-box {
    padding: 20px;
}

.our-services .page-box h2 {
	margin-bottom: 30px;
}

.our-services .page-box h2 a:hover {
	color: #30d5c8 !important;
}



.page-box-single {
	background-color: white !important;
	padding: 10px 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.more-link {
    display: none !important;
}

.wpforms-container-full {
	margin-left: unset !important;
    margin-right: unset !important;
    width: 50% !important;
    float: left !important;
    padding: 20px 20px 20px 0 !important;
}

.wpforms-container-full .wpforms-form .wpforms-field-medium {
	max-width: 100% !important;
}

.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background-color: #30d5c8 !important;
}

.leaflet-map {
	height: 400px !important;
    width: 40% !important;
    position: relative !important;
    margin: 50px !important;
    left: 10% !important;
}

@media screen and (max-width: 768px) {
	.leaflet-map {
		width: 100% !important;
		margin: 0px !important;
		left: 0 !important;
	}
	
	.wpforms-container-full {
		width: 100% !important;
		padding: 20px 0 20px 0 !important;
	}
}

.specialization-icon {
    background-image: url("https://drfeketeaniko.hu/wp-content/uploads/2020/05/piktogramok_new.png");
    height: 120px;
    width: 120px;
    background-size: 420px;
    background-repeat: no-repeat;
    background-color: white;
    border-radius: 5px;
    flex-shrink: 0;
	margin: auto;
}
.specialization-tarsasagi-jog {
    background-position-x: 20px;
    background-position-y: 15px;
}
.specialization-szerzodesek-joga {
    background-position-x: -97px;
    background-position-y: -110px;
}
.specialization-gazdasagi-jog {
    background-position-x: -210px;
    background-position-y: -230px;
}
.specialization-csaladi-jog {
    background-position-x: -187px;
    background-position-y: -302px;
    background-size: 370px;
}
.specialization-koveteles-ervenyesites {
	background-position-x: -340px;
    background-position-y: -345px;
}

.specialization-online-jogi-szolgaltatas {
    background-image: url("https://drfeketeaniko.hu/wp-content/uploads/2020/05/online_jogi_szolgaltatas.jpg");
    background-size: 60px;
    background-position: center;
}

.specialization-website {
    background-image: url("https://drfeketeaniko.hu/wp-content/uploads/globe-e1617359275411.png");
    background-size: 80px;
    background-position: center;
}
/*.specializations {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.specialization-section {
    display: flex;
    align-items: start;
    padding: 20px;
    border-bottom: 1px lightgrey solid;
}
.specialization-title {
    padding-top: 0;
}
.specialization-text {
    margin-left: 20px;
}*/

.specializations {
	display: flex;
    flex-wrap: wrap;
}

.specialization-section {
	display: flex;
    flex: 0 0 33.33%;
    padding: 20px;
}

@media screen and (min-width: 768px) and (max-width: 991px) {	
	.specialization-section {
		flex: 0 0 50%;
	}
}

@media screen and (max-width: 767px) {	
	.specialization-section {
		flex: 0 0 100%;
	}
}


.specialization-card {
    margin: auto;
    background: white;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-radius: 5px;
	flex-grow: 1;
    flex-shrink: 1;
	height: 100%;
    text-decoration: none !important;
}

.specialization-card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    cursor: pointer;
}

.specialization-card--opened {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.specialization-subcategories {
	display:none;
}
.specialization-card--opened .specialization-subcategories {
    display: block;
	position: absolute;
    margin-top: 35px;
    margin-left: 30px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.30), 0 1px 2px rgba(0,0,0,0.48);
    padding: 10px;
    border-radius: 0 4px 4px 4px;
    cursor: initial;
	min-width: 200px;
}

.specialization-subcategories:before {
    content: "\A";
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #34343438 transparent;
    position: absolute;
    top: -10px;
    left: 0px;
}

.specialization-subcategories > a {
    display: block;
	font-size: 16px;
    margin-bottom: 10px;
}

.specialization-text {
    text-align: center;
}

.specialization-subtitle {
		font-size: 14px;
}

.text-container {
	background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    padding: 20px;
    border-radius: 4px;
}

#scroll-top {
	z-index: 500 !important;
}

.wpforms-submit {
    background-color: white !important;
}

.page-box .wp-block-cover {
	height: 20% !important;
    margin-bottom: 20px !important;
}
.wp-block-cover, .wp-block-cover-image {
	align-items: flex-end !important;
}

table td {
    border: 1px solid black;
    padding: 3px;
}

table {
	margin-bottom: 20px;
}
.table-container {
    overflow-x: scroll;
}

#loader {
	border-top-color: #30d5c8;
}

#loader:before {
    border-top-color: grey;
}

#loader:after {
    border-top-color: white;
}

/*legutobbi cikkek*/
.widget_recent_entries > ul {
    max-height: 240px;
    overflow: auto;
}

.social-media i {
    font-size: 16px !important;
}

.social-media .social-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    padding-left: 10px;
    transition-duration: initial;
}