/*
Theme Name: Kentaur Panzió
Theme URI: http://kentaurpanzio.com/
Author: StarGeckos
Author URI: http://stargeckos.com/
Description: WordPress sablon a Kentaur Panzió hivatalos weboldalához.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kenp

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,400italic,300italic,600italic,700italic&subset=latin,latin-ext);

body
{
    background-color: #FCF7CF;
    font-family: 'Open Sans', sans-serif;
    color: #272727;
    font-weight: 300;
    font-size: 18px;
	line-height: 180%;
}

/**
 * UTILS
 */
 
.container
{
    width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media only screen and (max-width: 1139px) {
    .container
    {
        width: 100%;
    }
}

.clear
{
    clear: both;
}

.margin-top
{
	margin-top: 120px;
}

.row
{
	clear: both;
	width: 100%;
	margin: 12px 0;
	padding: 0;
}

.col2
{
	box-sizing: border-box;
	padding: 0 6px;
	float: left;
	width: 50%;
}

.col1
{
    box-sizing: border-box;
    padding: 0 6px;
    width: 100%;
}

@media only screen and (max-width:479px) {
	.col2
	{
		float: none;
		width: 100%;
		padding: 0;
	}
}

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

img.noshadow,
a.noshadow img,
.noshadow
{
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

/**
 * Head & navigation
 */

header
{
    background-color: #fff;
    height: 127px;
}

header ul.menu
{
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

header ul.menu li
{
    display: block;
    float: left;
    height: 127px;
    line-height: 127px;
    vertical-align: middle;
    text-align: center;
    min-width: 13.36%;
    box-sizing: border-box;
    
    font-size: 14px;
}

header ul.menu li a
{
    display: block;
    width: 100%;
    height: 100%;
    color: #272727;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
}

header ul.menu li a:hover
{
    color: #202020;
    background-color: #fafafa;
    border-bottom: 2px solid #707070;
}

header ul.menu li.current-menu-item a 
{
    border-bottom: 2px solid #707070;
    
}

.header-logo
{
    width: 19.81%;
    box-sizing: border-box;
    position: relative;
}

ul.menu .header-logo a:hover
{
    background-color: transparent;
    border: 0 none;
}

.header-logo img
{
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
}

.header-logo .widget_polylang
{
    position: absolute;
    top:0;
    left: 0;
    z-index: 200;
}

.header-logo .widget_polylang ul
{
    padding: 8px 32px;
    width: 228px;
}

.header-logo .widget_polylang ul li
{
    height: 12px;
    line-height: 12px;
    width: 52px;
    text-align: center;
}

.header-logo .widget_polylang ul li a
{
    font-size: 11px;
    line-height: 12px;
    height: 12px;
    text-transform: uppercase;
}

.header-logo .widget_polylang ul li a:hover,
.header-logo .widget_polylang ul li.current-lang a,
.mobile-menu-dropdown .widget_polylang ul li.current-lang a,
.mobile-menu-dropdown ul.mobile-menu li.current-menu-item a 
{
    text-decoration: underline;
}

.mobile-menu-button
{
    float: right;
}

.mobile-menu-button a
{
    display: block;
    width: 127px;
    height: 127px;
    text-align: center;
}

.mobile-menu-button a img
{
    width: 64px;
    height: 64px;
    padding: 28px 0 35px 0;
}

header.mobile-header .header-inner
{
	position: relative;
}

.mobile-menu-dropdown
{
	position: absolute;
	top: 127px;
	right: 0;
	max-width: 480px;
	min-width: 320px;
	background-color: #fff;
	z-index: 300;
	box-sizing: border-box;
	border: 1px dotted #d9d9d9;
	opacity: 0;
	transition: opacity 1s;
	display: none;
}

.mobile-menu-dropdown.active
{
	opacity: 1.0;
	display: block;
}

.mobile-menu-dropdown ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-menu-dropdown ul li a
{
	color: #272727;
	text-decoration: none;
}

.mobile-menu-dropdown .widget_polylang ul
{
	text-align: center;
}

.mobile-menu-dropdown .widget_polylang ul li
{
	display: inline-block;
	padding: 8px 32px;
}

.mobile-menu-dropdown .widget_polylang
{
	border-bottom: 1px dotted #d9d9d9;
}

.mobile-menu a
{
	width: 100%;
	line-height: 24px;
	vertical-align: middle;
	text-align: center;
	display: block;
	box-sizing: border-box;
	padding: 8px 10px;
}

header.desktop-header
{
    display: block;
}
header.mobile-header
{
    display: none;
}

@media only screen and (max-width: 1139px) {
	header.desktop-header
	{
	    display: none;
	}
	header.mobile-header
	{
	    display: block;
	}
}

@media only screen and (max-width: 480px) {
    header.mobile-header .header-logo img
    {
        width: 100%;
        max-width: 160px;
        height: auto;
    }
    header.mobile-header .header-logo
    {
        width: auto;
    }
}

/**
 * Slider (MetaSlider (Nivo Slider, default theme))
 */
 
.theme-default .nivo-controlNav a
{
    background-position: top !important;
    width: 60px !important;
    margin: 0 !important;
    height: 13px !important;
    background-image: url('./images/bullets.png') !important;
}

.theme-default .nivo-controlNav a.active
{
    background-position: bottom !important;
}

@media only screen and (max-width: 480px) {
    .slider-wrap
    {
        /*display: none;*/
    }
    .theme-default .nivo-controlNav a
    {
        background-image: url('./images/bullets-sm@2x.png') !important;
        background-size: cover !important;
        width: 25px !important;
        margin: 0 3px !important;
    }
}

a.nivo-prevNav,
a.nivo-nextNav
{
	background-size: cover !important;
	width: 107px !important;
	height: 176px !important;
	background-position: center center !important;
	top: 35% !important;
}

a.nivo-prevNav
{
	background-image: url('./images/gomb_balos@2x.png') !important;
	left: 0 !important;
}

a.nivo-nextNav
{
	background-image: url('./images/gomb_jobbos@2x.png') !important;
	right: 0 !important;
}

@media only screen and (max-width: 480px) {
	a.nivo-prevNav,
	a.nivo-nextNav
	{
		width: 54px !important;
		height: 88px !important;
		top: 12% !important;
		
	}
}

/* down arrow */

span.icon-downarrow
{
	background-size: cover;
	width: 35px;
	height: 19px;
	display: block;
	background-image: url('./images/lefele_nyil@2x.png');
	margin: 12px auto;
}

/**
 * Galéria archív
 */
.gallery-exc
{
    margin-bottom: 12px;
}

.gallery-exc a
{
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
}

.gallery-exc a img
{
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

.gallery-exc h2
{
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 22px;
    line-height: 72px;
    height: 72px;
    vertical-align: middle;
    box-sizing: border-box;
    display: block;
    text-align: center;
    margin:0;
    padding:0;
}

@media only screen and (max-width: 479px) {
    .gallery-exc a
    {
        margin-bottom: 12px;
    }
}


/**
 * Articles
 */
 
h1.article-title
{
	text-align: center;
	font-weight: 500;
	font-family: "Book Antiqua", Palatino, serif;
	text-transform: uppercase;
}

.article-content h2, .article-content h3
{
	font-weight: 400;
	font-family: "Book Antiqua",Palatino,serif;
}

.article-content img {
	max-width: 100%;
	height: auto;
	margin: 12px auto;
	box-sizing: border-box;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 4px 0px rgba(50, 50, 50, 0.3);
	-moz-box-shadow: 0px 0px 4px 0px rgba(50, 50, 50, 0.3);
	box-shadow: 0px 0px 4px 0px rgba(50, 50, 50, 0.3);
}
.article-content img.size-medium {
	max-width: 320px;
}
.article-content img.size-small, .article-content img.size-thumbnail {
	max-width: 160px;
}
.article-content img.alignleft, .article-content .wp-caption.alignleft {
	float: left;
	margin-left: 0;
	margin-right: 12px;
}
.article-content img.alignright, .article-content .wp-caption.alignright {
	float: right;
	margin-left: 12px;
	margin-right: 0;
}
.article-content img.aligncenter, .article-content .wp-caption.aligncenter {
	float: none;
	margin-left: auto;
	margin-right: auto;
	display: block;
}
.article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 {
	clear: both;
}
.article-content .wp-caption {
	border: 1px solid #efefef;
	padding: 8px;
	background-color: #f9f9f9;
	border-radius: 6px;
	-webkit-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.40);
	-moz-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.40);
	box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.40);
	margin: 12px;
	max-width: 96%;
}
.article-content .wp-caption img {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	margin: 0 0 12px 0;
	border: 1px solid #efefef;
}
.article-content .wp-caption p {
	margin: 0 12px 8px 12px;
}
.article-content a, .article-content a:visited, .article-content a:focus {
	color: #272727;
}
.article-content a
{
    text-decoration: underline;
}
.article-content a:hover {
	text-decoration: underline
}
.article-content iframe /* new wp4.0 youtube embed */
{
	margin: 12px auto;
	width: 90%;
	display: block;
}

.article-content p.aligncenter
{
    text-align: center;
}

.img-heading
{
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.img-heading img
{
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: block;
}

.img-heading .caption-wrap
{
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
}

.img-heading h2
{
    min-width: 450px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 22px;
    line-height: 72px;
    height: 72px;
    font-weight: 400;
    vertical-align: middle;
    margin: 0 auto;
    padding: 0 35px;
    box-sizing: border-box;
    display: inline-block;
}

.map-social
{
    width: 100%;
    text-align: center;
    border-top: 8px solid #A7A28E;
    clear: both;
}

.map-social .social-icon-wrap
{
    margin: 0 8px;
}

.map-social .social-icon-wrap:first-child,
.map-social .social-icon-wrap:nth-child(6)
{
    margin: 0 177px;
}

.map-social .social-icon-wrap.big
{
    height: 116px;
    background-image: url('./images/social-very-big.png');
}

.map-social .social-icon-wrap.big span.social-icon
{
    margin-top: 69px;
}

@media only screen and (max-width: 1139px) {
    .map-social
    {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .img-heading h2
    {
        width: 100%;
        padding: 0;
        min-width: 0;
        height: 30px;
        line-height: 30px;
    }
    
    h1.article-title
    {
        font-size: 1.3em;
    }
    
    div.responsive-map
    {
        margin: 0 8% !important;
        width: 84% !important;
        height: 300px;
    }
}

@media only screen and (max-width: 320px) {
    /*div.responsive-map
    {
        width: 320px !important;
        margin-left: -20px !important;
        height: 220px !important;
    }*/
    div.responsive-map
    {
        margin: 0 32px !important;
        width: 220px !important;
        height: 300px;
    }
}

/**
 * Endless slider
 */
 
.endless-slider-wrap
{
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 355px;
}

.endless-slider
{
    width: 10000px;
    transition: left 1s;
    position: absolute;
    left: 0;
}

.endless-slider a
{
    display: block;
    margin: 0;
    padding: 0;
    float: left;
    height: 355px;
    width: auto;
}

.endless-slider img
{
    height: 100%;
    width: auto;
    display: block;
}

.es-btn-left,
.es-btn-right
{
    position: absolute;
    top: 0;
    cursor: pointer;
    width: 60px;
    height: 355px;
    background: transparent center center no-repeat;
    background-size: cover;
}

.es-btn-left
{
    left: 0;
    background-image: url('./images/es-btn-left@2x.png');
}

.es-btn-right
{
    right: 0;
    background-image: url('./images/es-btn-right@2x.png');
}

@media only screen and (max-width: 767px) {
    .endless-slider a,
    .es-btn-left,
    .es-btn-right,
    .endless-slider-wrap
    {
        height: 290px;
    }
}

@media only screen and (max-width: 479px) {
    .endless-slider a,
    .es-btn-left,
    .es-btn-right,
    .endless-slider-wrap
    {
        height: 185px;
    }
}

/**
 * Social Icons
 */
 
span.social-icon
{
    width: 29px;
    height: 29px;
    background-position: top center;
    background-size: cover;
    display: block;
    padding: 0;
    margin: 8px 14px;
}

.social-icon-wrap.big span.social-icon
{
    margin-top: 37px;
}

span.social-icon:hover
{
    background-position: bottom center;
}

.social-icon-wrap
{
    width: 54px;
    float:left;
    display: block;
}

.social-icon-wrap.big
{
    height: 84px;
    background: url('./images/social-big.png') center center no-repeat transparent;
}

.social-icon-wrap.small
{
    height: 58px;
    background: url('./images/social-small.png') center center no-repeat transparent;
}

/**
 * CF7
 */
 
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"]
{
    width: 88%;
    box-sizing: border-box;
    background-color: transparent;
    border: 0 none;
    outline: medium none;
    border-bottom: 2px solid #666;
    text-align: center;
    margin: 12px 6%;
    padding: 12px;
    font-size: 18px;
}

.wpcf7-form textarea
{
    background-color: transparent;
    border: 2px solid rgb(102, 102, 102);
    width: 94%;
    margin: 48px 3%;
    box-sizing: border-box;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    height: 96px;
}

.wpcf7-form input[type=submit]
{
    margin: 0 auto 24px auto;
    background-color: #262626;
    color: #fff;
    padding: 18px 80px;
    border: 0 none;
    font-size: 22px;
    font-weight: 400;
}

.wpcf7-form .ajax-loader
{
    display: none;
}

/**
 * Footer
 */
 
footer
{
    background-color: #262626;
    color: #A7A28E;
    border-top: 8px solid #A7A28E;
    min-height: 127px;
    margin-top: 50px;
}

.footer-col
{
    float: left;
}

.footer-col.left,
.footer-col.right
{
    width: 25%;
}

.footer-col.center
{
    width: 50%;
}

.footer-social .social-icon-wrap
{
    margin: 0 8px;
}

.footer-social-wrap
{
    width: 100%;
}

.footer-social
{
    width: 210px;
    margin: 0 auto;
}

.footer-text
{
    margin: 16px 8px;
	font-size: 12px;
	font-weight: 400;
}

.footer-text a
{
	color: #A7A28E;
	text-decoration: underline;
}

.footer-text a hover
{
	font-weight: bold;	
}

.footer-col
{
    text-align: center;
}

.footer-col img
{
    margin-top: 16px;
}

.footer-second
{
	margin: 0;
	padding: 0 12px;
	text-align: center;
}

@media only screen and (max-width:899px) {
    .footer-col
    {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .footer-col.right
    {
        border-top: 8px solid #A7A28E;
    }
}