/*

Theme Name: Combomag Child

Theme URI: http://www.magpress.com/wordpress-themes/combomag.html

Description: Combomag for GanemosJerez

Version: 1.0

Author: Keyupp

Author URI: http://www.keyupp.com

Template: combomag

Text Domain:  combomag-child

*/

/*----- General -----*/
body { background-color: #f9f9f9; }

.generalButton{
	padding: 8px 10px;
	margin: 0 auto;
	border-radius: 2px;
	display: table;
	font-size: 14px;
	color: #fff !important;
	background: #363636 !important;
}

.generalButtonFull{
	width: 100%;
	display: block;
	text-align: center;
	margin-top: 5px;
}

a:link, a:visited {
    color: #00beb1;
    text-decoration: none;
}

a:hover {
    color: #363636;
}

input:focus {
	border: 1px solid #00beb1 !important;
}

.generalButton:hover{
	background: #00beb1 !important;
}

/*----- Header -----*/
#header { background-color: #f9f9f9;
	background: url(images/header.jpg) top left no-repeat;
	background-size: cover;
	padding: 20px 0 60px;
}

#header-top {
	margin: 0 auto !important;
    padding: 20px 10px 30px;
    float: none;
    width: 100%;
	max-width: 1240px;
	display: block;
	overflow: hidden;
}

#header #header-top #siteinfo img{
	max-width: 300px;
}

#header #header-top #siteinfo img:hover{
	-webkit-filter: contrast(150%);
	   -moz-filter: contrast(150%);
	    -ms-filter: contrast(150%);
	     -o-filter: contrast(150%);
			filter: contrast(150%);
	opacity: 0.5;
}

#header-right {
    margin-top: 13px;
}

@media only screen and (min-width:300px) and (max-width:770px){
	#header {
		background-position: top right;
		padding: 20px 0 40px;
	}
	#header-top {
		text-align: center;
		padding: 2% 1%;
	}
	
	#header-right .social-and-search{
		float: none;
		margin: 0 auto;	
		display: table;
	}
}

/*----- Redes Sociales -----*/
#socialbox p.rss {
    background: url(images/rss.png) no-repeat center center;
	background-size: cover;
}

#socialbox p.facebook {
    background: url(images/facebook.png) no-repeat center center;
	background-size: cover;
}

#socialbox p.twitter {
    background: url(images/twitter.png) no-repeat center center;
	background-size: cover;
}

#socialbox p:hover {
	-webkit-filter: contrast(150%);
	   -moz-filter: contrast(150%);
	    -ms-filter: contrast(150%);
	     -o-filter: contrast(150%);
			filter: contrast(150%);
	opacity: 0.5;
}

/*----- Buscador -----*/
#header-right .social-and-search form {
    padding-top: 0px;
    padding-left: 10px;
}

#header-right .social-and-search input[type="text"] {
    padding: 10px;
    border: 1px solid #e1e1e1;
	border-radius: 25px;
}

#header-right .social-and-search input[type='text']:focus {border: 1px solid #00beb1 !important;}


/*----- Menu de navegación -----*/
#main-navigation {
	background: #00beb1 !important;
	border-top: 5px solid #00beb1;
	border-bottom: 5px solid #00beb1;
}

.sf-menu {
    float: none !important;
	display: block;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto !important;
	padding: 0 10px !important;
	text-align: center;
}

.sf-menu li {
    float: none !important;
    display: inline-block;
}

.sf-menu a {
    border-right: none !important;
    font-weight: normal !important;
	letter-spacing: 0.5px;
	font-size: 14px !important;
	margin: 0 2px;
	padding-top: 0.9em !important;
	padding-bottom: 0.9em !important;
}

.sf-menu a:hover {
    background: #33cfc4 !important;
}

.sf-menu .current_page_item a, .sf-menu .current_menu_item a, .sf-menu .current-menu-item a, .sf-menu .current_page_item a:hover, .sf-menu .current_menu_item a:hover, .sf-menu .current-menu-item a:hover {
    background: #77dcd5 !important;
}

/*----- Subenu de navegación -----*/
.sf-menu ul.children, .sf-menu ul.sub-menu {
    background: #00beb1 none !important;
    box-shadow: none !important;
	padding: 0 !important;
	padding-left: 3px !important;
	margin-top: 3px;
}

.sf-menu ul li a{
	padding: 16px 1.25em !important;
	color: #77dcd5;
}

.sf-menu li li, .sf-menu li li li {
    border-bottom:0px solid #00beb1 !important;
}

/*----- Contenido -----*/
.container-wrap {
    margin: 2em 0;
    padding: 2em 0 ;
}

footer .innerwrap, header .innerwrap, #bodywrap, .innerwrap-custom-header, #main-navigation .innerwrap {
    max-width: 1240px;
	padding: 0 10px;
}

/*----- Menu de navegación en Movil -----*/

#mobile-nav {
   background: url(images/menu.png) no-repeat 94% 10px;
   height: 50px;
   overflow: hidden;
   width: calc(100% - 60px);
   margin: 0 10px 3px;
	-webkit-border-radius: 30px;
   -moz-border-radius: 30px;
   border-radius: 30px;
   background-color: #33cfc4;
   padding: 0 20px;
}

#mobile-nav select {
   background: transparent;
   border: none;
   height: 50px;
   padding: 5px;
   width: 120%;
   color: #fff;
   text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 0.5px;
}

#mobile-nav select options{
	width: 80%;
	font-size: 16px;
	text-align: center;
	padding: 5px;
}

/*----- Pages -----*/
.content{
	border: 1px solid #f9f9f9 !important;
}

#post-entry article.post-single, #commentpost, #post-navigator-single {
    padding: 50px !important;
    width: calc(100% - 100px) !important;	
}

@media only screen and (min-width:300px) and (max-width:770px){
	#post-entry article.post-single, #commentpost, #post-navigator-single {
    	padding: 10px !important;
    	width: calc(100% - 20px) !important;
	}
}

/*----- Listado del Home -----*/

#post-entry article.home-post {
	overflow: hidden;
	height: auto !important;
    border: 1px solid #f9f9f9;
	background: #e1e1e1;
	background: -moz-linear-gradient(top, #e1e1e1 1%, #f9f9f9 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #e1e1e1), color-stop(100%, #f9f9f9));
	background: -webkit-linear-gradient(top, #e1e1e1 1%, #f9f9f9 100%);
	background: -o-linear-gradient(top, #e1e1e1 1%, #f9f9f9 100%);
	background: -ms-linear-gradient(top, #e1e1e1 1%, #f9f9f9 100%);
	background: linear-gradient(to bottom, #e1e1e1 1%, #f9f9f9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e1e1e1', endColorstr='#f9f9f9',GradientType=0 );	
}

#post-entry article.home-post div.post-meta {
    margin-bottom: 10px;
}

#post-entry article.home-post .article-blk, #post-entry article.home-post.has_no_thumb .article-blk {
    display: table;
    padding: 20px 26px !important;
	padding-bottom: 40px !important;
	margin: -40px 7% 0;
	width: 80%;
	height: 100%;
    float: left;
	border-top-left-radius: 5px;
    background: #fff;
	background: -moz-linear-gradient(top, #fff 30%, #f9f9f9 90%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #fff), color-stop(90%, #f9f9f9));
	background: -webkit-linear-gradient(top, #fff 30%, #f9f9f9 90%);
	background: -o-linear-gradient(top, #fff 30%, #f9f9f9 90%);
	background: -ms-linear-gradient(top, #fff 30%, #f9f9f9 90%);
	background: linear-gradient(to bottom, #fff 30%, #f9f9f9 90%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f9f9f9',GradientType=0 );
	z-index: 10;
	position: relative;
	/*width: 100% !important;
	padding: 0 !important;*/
}

#post-entry div.post-thumb img {
    border: 0px none;
    float: left;
    height: auto;
    max-width: none;
	object-fit: cover;	
	width: 100%;
	margin-top: 0% !important;
	margin-left: 0% !important;
	z-index: 5;
	position: relative;
	-webkit-transition: .6s ease-in-out; 
	   -moz-transition: .6s ease-in-out; 
	     -o-transition: .6s ease-in-out;
	        transition: .6s ease-in-out;
}

#post-entry div.post-thumb img:hover {
	object-fit: cover;
	width: 110%;	
	margin-top: -5% !important;
	margin-left: -5% !important;
	-webkit-filter: contrast(150%);
	   -moz-filter: contrast(150%);
	    -ms-filter: contrast(150%);
	     -o-filter: contrast(150%);
			filter: contrast(150%);
	opacity: 0.5;
	-webkit-transition: .2s ease-in-out; 
	   -moz-transition: .2s ease-in-out; 
	     -o-transition: .2s ease-in-out;
	        transition: .2s ease-in-out;
}

#post-entry article h1.post-title a:hover,#post-entry article h2.post-title a:hover{
	text-decoration: none;
	color: #00beb1;
}

#post-entry article .post-meta span {
	margin-right: 5px;
	font-size: 12px;
}

#post-entry article .post-meta .post-category a {
    color: #fff !important;
	text-transform: uppercase;
	background: #00beb1 !important;
	padding: 1px 4px;
	border-radius: 1px;
	font-size: 10px;
}

#post-entry article .post-meta a:hover {
	-webkit-filter: contrast(150%);
	   -moz-filter: contrast(150%);
	    -ms-filter: contrast(150%);
	     -o-filter: contrast(150%);
			filter: contrast(150%);
	opacity: 0.5;
}

/*----- Relacionados -----*/
#post-related {
    padding: 30px 20px 20px !important;
	width: calc(100% - 140px) !important;
    margin: 50px !important;
	background: #f9f9f9;
	position: relative;
}

#post-related .feat-cat-meta {
    margin: 0px 3.5% 0.4em 0px;
	line-height: 1.5;
}

#post-related h2, #post-related-inline h2 {
    font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

#post-related h4, #post-related-inline h4, .sharebox-wrap h4 {
    font-size: 1.5em;
    margin: 0 0 0.5em;
    padding: 8px 18px 8px 25px;
    color: #fff;
    float: left;
    width: auto !important;
    border-bottom: none;
	position: absolute;
	top: -18px;
	left: -10px;
	background: #00beb1; 
	border-radius: 1px;
}

#post-related img.alignleft {
    width: 100% !important;
}

#post-related div:nth-child(4) {
    margin-right: 0 !important;
}

@media only screen and (min-width:300px) and (max-width:770px){
	#post-related {
		width: calc(100% - 40px) !important;
		margin: 50px 0px 30px !important;
	}	
	#post-related img.alignleft {
		margin-right: 0px !important;
	}
	
}

@media only screen and (min-width:300px) and (max-width:520px){
	#post-related .feat-cat-meta {
		width: 100% !important;
		margin-bottom: 20px;
	}
}

.post-single .pm-bottom span.post-time {
    font-size: 17px !important;
	padding-top: 20px;
	display: table;
}

/*----- Comentarios -----*/
#commentform {
    width: 99%;
}

ol.commentlist li {
    border: 2px solid #00beb1;
    box-shadow: none;
}

ol.commentlist li div.reply a {
    padding: 3px 6px;
    color: #fff !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-shadow: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: none;
    background: #00beb1 !important;
	font-size: 12px;
}

ol.commentlist li div.reply a:hover {
    border: none;
	-webkit-filter: contrast(120%);
	   -moz-filter: contrast(120%);
	    -ms-filter: contrast(120%);
	     -o-filter: contrast(120%);
			filter: contrast(120%);
	opacity: 0.8;
}

#commentform input[type="text"]:focus, #commentform textarea#comment:focus {border: 1px solid #00beb1 !important;}


/*----- Tags -----*/
span.post-tags a {
    background-color: #00beb1;
    padding: 5px 10px;
    border: none;
    display: inline;
    margin-left: 5px;
	margin-bottom: 5px;
    border-radius: 2px;
	color: #fff !important;
	display: inline-block;
}

#mpbreadcrumbs a:hover {
    color: #00beb1 !important;
}

/*----- Pagination -----*/
.wp-pagenavi a {
	width: 20px;
	height: 20px;
	text-align: center;
    padding: 0.5em 1.125em;
    border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    background: #f1f1f1 !important;
    border: none !important;
	display: inline-block;
	padding: 10px;
}

.wp-pagenavi .current {
    border: none !important;
    width: 20px;
	height: 20px;
    position: relative;
    border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
	display: inline-block;
	padding: 10px;
}


/*----- Sidebar -----*/
.widget-area {
    padding: 0;
}

.widget-area aside {
    border: 1px solid #f9f9f9;
    border-top: none;
	width: 100%;
}

#right-sidebar h3.widget-title {
    font-size: 1.3em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
	padding: 2.6% 4%;
	border: 1px solid #00beb1;
    background-color: #00beb1;
}

.widget-area aside ul li.cat-item {
    width: auto;
	margin-right: 8px;
}

.widget-area aside ul li.cat-item a{
	font-size: 14px;
}

.widget-area aside ul li.cat-item:nth-child(even) a{
	font-weight: bold !important;
}

#right-sidebar aside a:hover img {
	-webkit-filter: contrast(120%);
	   -moz-filter: contrast(120%);
	    -ms-filter: contrast(120%);
	     -o-filter: contrast(120%);
			filter: contrast(120%);
	opacity: 0.8;
	-webkit-transition: .2s ease-in-out; 
	   -moz-transition: .2s ease-in-out; 
	     -o-transition: .2s ease-in-out;
	        transition: .2s ease-in-out;
}

.featured-cat-posts .has_no_thumb .feat-post-meta {
    margin: 0 0 0 60px;
}

/*----- Home icons -----*/
.home-icons{
	width: 100%;
	display: block;
	overflow: hidden;
	background-color: #00beb1;
	
}

.home-icons-content{
	max-width: 1240px;
	padding: 30px 10px;
	margin: 0 auto;
	color: #fff;
	text-align: center;
	font-size: 12px;
}

.home-icons-content ul{
	padding: 0;
	list-style: none;
	margin: 0 !important;
	display: block;
	overflow: hidden;
	clear: both;
}

.home-icons-content ul li{
	width: 31.3%;
	margin: 1.5%;
	float:left;
}

.home-icons-content ul li:first-child{
	margin-left: 0;
}

.home-icons-content ul li:last-child{
	margin-right: 0;
}

.home-icons-content ul li h3{
	font-size: 16px;
	text-transform: uppercase;
	margin: 5px 0;
	font-weight: bold;
}

.home-icons-content ul li a{
	font-size: 14px;
	text-transform: uppercase;
	color: #00beb1;
	background: #fff;
	padding: 4px 8px;
	border-radius: 2px;
}

.home-icons-content ul li a:hover{
	background: #77dcd5;
}

@media only screen and (min-width:300px) and (max-width:770px){
	.home-icons-content{
		padding: 40px 10px;
	}
	
	.home-icons-content ul li{
		width: 100%;
		margin: 30px 0;
		float:none;
	}
	
	.home-icons-content ul li:first-child{
		margin-top: 0;
	}

	.home-icons-content ul li:last-child{
		margin-bottom: 0;
	}
}

/*----- Footer -----*/
.fbottom {
    width: 100%;
    padding: 20px 0 !important;
}

div.fbox.last {
    background: none !important;
	padding: 0 !important;
}

/*----- Xtras (Plugins) -----*/
.simcal-day-has-events .simcal-day-label {
    background: #00beb1 !important;
}

/*----- Formularios -----*/
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea{
	display: block;
	overflow: hidden;
	clear: both;
	padding: 8px 10px;
	border:1px solid #ccc;
	border-radius: 2px;
	font-size: 16px;
	width: 100%;
}
.wpcf7 textarea{
	min-height: 300px; 
}

.wpcf7 input[type="submit"]{
	padding: 8px 15px;
	border-radius: 2px;
	display: table;
	font-size: 14px;
	color: #fff !important;
	background: #363636 !important;
	border:none;
}

.wpcf7 input[type="submit"]:hover{
	background: #00beb1 !important;	
}








       .grid-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
        }
        
        .grid-item {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .grid-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .item-content {
            padding: 20px;
        }
        
        .item-number {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 60px;
            width: 60px;
            background: #3498db;
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            border-radius: 50%;
            margin: 0 auto 15px;
        }
        
        .grid-item h3 {
            text-align: center;
            margin-bottom: 15px;
            color: #2c3e50;
        }
        
        .grid-item p {
            color: #7f8c8d;
            text-align: center;
            line-height: 1.6;
        }