/*

File:	 custom.css

Description:	Custom styles for your theme


To properly utilize custom.css you will have to mention a CSS class and it's new properties/values. For 

instructions open the following article:

http://templatic.com/docs/using-custom-css-for-theme-customizations/


PS: Don't forget to activate custom.css in your theme settings area


ADD YOUR CODE AFTER THIS ENDING COMMENT TAG -----------> */ 

body {
	min-width: 960px;
}

.event_detail {
    padding: 5px 0 15px;
}

.two_fith, .three_fith {
	float: left;
	margin-right: 4%;
	position: relative;
}

.two_fith {
	width: 38%;
}

.three_fith {
	width: 58%;
}

.questions .question-required .atx,
.questions .license .atx
{
	color: red;
}


.questions label {
	width: 100%;
	font-size: 1.1em;
	margin-top: 10px;
}

.questions input[type="checkbox"]
{
	width: auto;
}

.questions input, .questions select{
	width: 100%;
	padding: 5px 10px;
	color: #666666;
}

.questions select {
	margin-top: 5px;
	padding-left: 25px;
}

.questions .license {
	display: none;
}

.check-question label {
	font-size: 1em;
}

.reglamento-link {
	margin: 5px 2px;
	display: inline-block;
	background-color: #F2F2F2;
	font-size: 13px;
	color: #A8A8A8;
	line-height: 30px;
	height: 30px;
	padding: 3px 12px;
	border-radius: 4px;
	overflow: hidden;
}

.reglamento-link:hover {
	text-decoration: none;
	background-color: #4B4B4B;
	color: #FFFFFF;
}

.reglamento-link:hover i {
  animation-duration: .2s;
  animation-name: totop;
  animation-timing-function:ease-out;
  -webkit-animation-duration: .2s;
  -webkit-animation-name: totop;
  -webkit-animation-timing-function:ease-out; /* Safari and Chrome */ 
}

.reglamento-link i {
  font-size: 20px;
  margin-left: 5px;
  position: relative;
  top: 3px;
}

/* Icon animation */
@keyframes totop {
  from {
  	color: #A8A8A8;
  }

  50% {
    top: -20px;
  }
  
  50.00001% {
  	top: 30px;
  }
  
  to {
  	top: 5px;
  	color: #FFFFFF;
  }
}

@-webkit-keyframes totop {
  from {
  	color: #A8A8A8;
  }

  50% {
    top: -20px;
  }
  
  50.00001% {
  	top: 30px;
  }
  
  to {
  	top: 5px;
  	color: #FFFFFF;
  }
}
/* Icon animation end */

#distance-selector {
	text-align: center;
    margin-top: 20px;
}

#distance-selector p {
	text-align: left;
}

#distance-selector .distance-box {
	width: 30%;
	text-align: center;
	display: inline-block;
	background: #ffffff;
	margin: 10px 8px;
	border-radius: 4px;
}

#distance-selector span.subtext {
	font-size: 0.8em;
}

h1, h2, h3, h4, h5, h6 {
	padding: 24px 0 12px;
}

#content .pos_navigation {
	margin: 0;
}

#content{
	width: 81%;
    min-width: 700px;
}

.calendar_tooltip {
	min-height: 243px;
}

.table tbody tr {
    line-height: 15px;
}

.event_detail p.video {
  background: url("images/icon_video.png") no-repeat scroll -13px -8px rgba(0, 0, 0, 0);
}

.event_detail p.trophy {
  background: url("images/trophy.png") no-repeat scroll -13px -8px rgba(0, 0, 0, 0);
}

#inscription-form input[type=text] {
    margin-top: 0;
    margin-bottom: 0;
}

#inscription-form .input-group {
    width: 100%;
}

#inscription-form .btn {
    margin-top: 0;
    margin-bottom: 0;
    padding: 6px 14px;
}

ul.dropdown-menu li {
    padding: 0;
}

#results-pdf-div {
    padding-left: 30px;
}

#results-tab-switcher .switcher {
    text-align: center; 
    border: 1px solid #f2f2f2;
    margin-bottom: 15px;
}

#results-tab-switcher .switcher a {
    display: block;
    padding: 10px 0;
}

#results-tab-switcher .current, #results-tab-switcher .switcher:hover {
    background: #f8f8f8;
}

#sidebar-primary {
    width: 19%;
    clear: none;
    margin-top: 10px;
}

#category-selector {
    margin-top: 20px;
}

#prices-table .num {
    text-align: right;
}

.no-padding {
    padding: 0;
}

.slider_content .search_box {
    background: none repeat scroll 0 0 #a0131c;
}

.slider_content .search_box input.submit {
    background: url("images/small_icons.png") repeat scroll 12px -2450px #600309;
}

.slider_content .search_box input.submit:hover {
    background: url("images/small_icons.png") repeat scroll 12px -2450px #900309;
}

div#menu-secondary .menu li a:hover, div#menu-secondary .menu li.current-menu-item > a, div#menu-secondary .menu li.current_page_item > a, div#menu-secondary .menu li:hover > a, div#menu-subsidiary .menu li a:hover, div#menu-subsidiary .menu li.current-menu-item > a, div#menu-subsidiary .menu li.current_page_item > a, div#menu-subsidiary .menu li:hover > a {
    color: #a0131c;
}

div#menu-secondary .menu li a:hover:before, div#menu-secondary .menu li:hover > a:before {
    background: none repeat scroll 0 0 #a0131c;
}

.indexlist div img.img {
    border-color: #a0131c;
    width: 140px;
    height: 195px;
}

#content .post a.post_img img, #content .event_search img {
    border-color: #a0131c;
}

.indexlist div.content span.date {
    color: #a0131c;
}

.eventlist div .content span.title a:hover {
    color: #a0131c;
}

.event_detail p {
    color: #a0131c;
}
.flexslider_wrap {
    height: 368px;
}

#content .eventgrid {
    margin-bottom:  20px;
    margin-left: 35px;
    text-align: center;
}

#content .eventgrid .post {
    width: 140px;
    text-align: center;
    padding: 4px;
    margin: 10px 0 10px 10px;
    border: 1px solid #ddd;
}

#content .eventgrid .event a {
    width: 100%;
}

#content .eventgrid .event .title a {
    width: 100%;
}

#content .eventgrid .event .title {
    text-align: left;
    font-size: 14px;
    line-height:24px;
    margin-bottom: 7px;
    height: 85px;
    display: block;
}

#content .eventgrid .event .content {
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

#content .eventgrid .event span.date,
#content .eventgrid .event span.ticket {
    color: #a0131c;    
    font-size: 10px;
    margin: 0;
}

#content .eventgrid .event a:hover {
    color: #222;
}

#content .eventgrid .event span.sport {
    background-position: -18px -2019px;
    color: #a0131c;
    display: block;
    margin: 0;
    padding-left: 18px;
    font-size: 10px;
}

.indexlist div a img:hover {
    opacity: 1;
}

.header_bg1 {
	background: #0A0A0A;
    display: block;
    top: 0;
    width: 100%;
    z-index: 9999;
    border-top: 5px solid #9f1d20;
}

.header_bg2 {
    margin-bottom: 10px;
}

div.flexslider .slides > li {
    border-radius: 0 !important;
}

#home-top .search-text {
	margin: 0;
	padding: 4px 7px;
    width: 180px;
}

#home-top .search-submit:hover {
    background: url("images/small_icons.png") repeat scroll -6px -2458px #490209;
}

.flex-direction-nav .flex-prev {
    border-radius: 4px 0 0 4px !important;
}

.flex-direction-nav .flex-next {
    border-radius: 0 4px 4px 0 !important;
}

#content .eventgrid p.empty {
    margin: 5px;
}

.footer_widget .column02 .widget {
    width: 100% !important;
}

.credit > a {
    color: #CCC
}

.copyright a:hover {
    color: #a0131c;
}

.menu ul, .menu ul li {
    text-align: center;
}

div#menu-secondary .menu li a, div#menu-subsidiary .menu li a {
    padding: 11px 20px 10px;
}

div#menu-secondary .menu li.menu-item-home > a, div#menu-subsidiary .menu li.menu-item-home > a, .mega-menu ul.mega li.menu-item-home > a {
    height: 42px;
}

div#menu-secondary .menu li li a, div#menu-subsidiary .menu li li a {
    text-align: left;
}

#social-icons {
    margin-top: 23px;
}

#social-icons a:hover {
    opacity: 0.7;
}

.logo {
    width: 302px;
    height: 30px;
}

.entry h2.date,.entry-title a:hover, .archive #loop_archive .entry .bottom_line a:hover, .taxonomy #loop_taxonomy .entry .bottom_line a:hover, #content .event_search .entry .bottom_line span a:hover {
    color: #9F1D20 !important;
}

.entry h2.datea, .entry h2.entry-title {
    height: 60px;
}
.entry h2.entry-title a, .event_search h2.title a {
    position: relative; 
    top: 50%; 
    display: block; 
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.pagination .current, .comment-pagination .current, .bbp-pagination .current {
    border-color: #9F1D20;
    color: #9F1D20;
}

.loop-nav span.previous:hover, .loop-nav span.next:hover, .pagination .page-numbers:hover, .comment-pagination .page-numbers:hover, .bbp-pagination .page-numbers:hover, #content .pos_navigation .post_right a:hover, #content .pos_navigation .post_left a:hover {
    border-color: #9F1D20;
}

#categories-div {
    overflow: hidden;
}

#more-categories a {
    display: block;
    text-align: center; 
    padding: 5px;
    box-shadow: 0 -10px 10px -10px #888888;
}

div#menu-primary, #header, div#menu-secondary, .sidebar-after-header, #main, .sidebar-subsidiary, div#menu-subsidiary {
    width: 100%;
    float: none;
}

#footer {
    width: 100% !important;
}

#menu-primary div.widget, #menu-primary div.sub_event, #menu-primary div.menu {
    width: 100%;
    text-align: center;
}

div#menu-primary .menu li {
    margin-left: 0;
    padding: 0 5px;
    height: 37px;
    display: table;
}

div#menu-primary .menu > ul > li + li {
    border-left: 2px solid #969696;
}

div#menu-primary .menu li li a {
    border-style: none none solid;
    background: #0A0A0A;
}

.header_bg1 .menu-container {
    height: 49px;
}

#header {
    min-height: 49px;
}

.menu .primary_menu {
    margin: 0 auto;
    display: inline-block;
    padding: 4px 0;
}

div#menu-primary .menu li a {
    color: #969696;
    padding: 0 10px;
    line-height: 15px;
    display: table-cell;
    vertical-align: middle;
}

div#menu-primary .menu li a:hover, div#menu-primary .menu li.current-menu-item > a, div#menu-primary .menu li.current_page_item > a, div#menu-primary .menu li:hover > a {
    color: #FFFFFF;
}

.separator {
    border-bottom: 1px solid black;
    margin: 18px auto;
    width: 150px;
}

.footer-content {
    margin: 0 25px;
}

#footer {
    border-bottom: 5px solid #9f1d20;
    background-color: #0A0A0A;
}

.footer-wrap, .copyright {
    padding: 0;
}

#home-top {
    margin-left: -4px;
    width: 102%;
	display: table;
	border-collapse: separate;
	border-spacing: 4px 0;
	position: relative;
	margin-top:-31px;
}

.header-empty {
	display: table-cell;
	background-color: #9f1d20;
}

#home-top .bottom-slider-container {
	display: table-cell;
	width: 900px;
}

#home-top .bottom-slider-container .button {
	padding: 3.5px 20px;
	margin: 0;
	border-radius: 0;
}

#home-top .bottom-slider-container .search-submit {
    padding: 3.5px 14px;
}

#home-top .bottom-slider-container .search-submit:hover {
    background-image: none;
}

#home-top .bottom-slider-container .search-form {
	display: inline-block;
	margin: 0;
	background-color: #9f1d20;
}

.home-buttons {
	width: 170px;
}

.home-buttons i {
	font-size: 1.2em;
	vertical-align: middle;
}

#lateral-navigation {
    margin-top: 10px;
}

#lateral-navigation, .sticky-wrapper {
    display: inline-block;
    width: 200px;
    vertical-align: top;
    position: absolute;
    z-index: 9999;
}

#lateral-navigation ul {
    margin: 0 0 0 6px;
    border-radius: 3px;
    background: #f8f8f8;
}

#post-content {
    display: inline-block;
    margin-left: 215px;
    vertical-align: top;
}

#lateral-navigation li {
    line-height: 35px;
    padding: 0;
    border: 1px solid #f2f2f2;
}

#lateral-navigation a {
    display: block;
    line-height: 35px;
    padding-left: 20px;
    color: #969696;
}

#lateral-navigation a:hover {
    background: #9f1d20;
    text-decoration: none;
    color: #FFF;
}

#lateral-slider .slides li {
    text-align: center;
}

#lateral-slider {
    margin: 0 auto;
    width: 200px;
    min-height: 801px;
}

.sidebar .widget .thumbnail {
    float: none;
    margin: 0;
    display: inline;
}

.search-menu-text {
    margin: 6px 0 0 !important;
    padding: 5px;
    display: none;
}

.search-menu-text:focus {
    border: 1px solid rgba(128, 128, 128, 0.4) !important;
}

.footer_bg2 {
    background-color: #FFFFFF;
}

.footer_bg2 {
    background-image: url('http://emesports.es/wp-content/uploads/2015/04/cinta-eme.png'); 
    background-repeat: repeat-x; 
    height: 21px; 
    width: 100%; 
    margin-bottom: 5px;
}

.footer_widget {
    padding: 21px 0 0;
}

#footer-logos {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

#sidebar-primary .widget .advertisements {
    text-align: center;
}

#sidebar-primary .widget {
    margin-bottom: 10px;
}

.indexlist .event a.text-anchor {
    display: block;
    height: 90px;
    overflow: hidden;
}

.image-overlay {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.5s;
}

.image-overlay img{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: auto !important;
}

.indexlist .event:hover .image-overlay {
    opacity: 1;
}

div#menu-primary .menu li a img {
    opacity: 0.85;
}

div#menu-primary .menu li a:hover img {
    opacity: 1;
}

#footer img {
    vertical-align: middle;
}

th, td {
    padding: 10px 20px;
}

div#menu-secondary, .sidebar-after-header, #main, .sidebar-subsidiary, div#menu-subsidiary, #footer {
    width: 900px;
    margin: 0 auto;
}

div#menu-primary, #header {
    width: 100%;
}

body.home #main {
    width: 100%;
}

body.singular-event #main {
    width: 100%;
}

#content .post a.post_img img, #content .event_search img {
    width: 140px;
}

.archive #loop_archive .post a.post_img, .taxonomy #loop_taxonomy .post a.post_img, #content .event_search .event a {
    width: 140px;
}

.indexlist div p, #content .event_search .entry p {
    padding: 0;
}

.event_search h2 a {
    width: 100% !important;
}

.taxonomy-sortoption select {
    width: 127px;
}

.event_search .entry h2.title {
    height: 60px;
}

#content .eventgrid .event span.ticket {
	display: block;
}

#pdf-results {
	margin-bottom: 10px;
	margin-top: 15px;
}

#results .pdf-button {
	background-color: #f2f2f2;
    border-radius: 4px;
    color: #a8a8a8;
    padding: 12px;
	font-size: 16px;
	margin-right: 5px;
}

#results .pdf-button:hover {
	background-color: #4b4b4b;
    color: #ffffff;
}

#user_login, #user_fname, #contact_frm #your-name, #user_email, #contact_frm #your-email, #contact_frm #your-message, #your-subject {
	background: none;
    padding: 6px;
    box-shadow: none;
}

#contact_frm #your-message {
  width: 90%;
  height: 100px;
}

#contact_frm #your-message.has-error {
    border-color: #A94442;
}

.contact-left {
	border-right: 1px solid #808080;
	width: 47% !important;
	margin-bottom: 20px; 
}

#contact_frm {
	margin: 0;
}

#contact_frm .form_row:first-of-type {
	margin-top: 10px;
}

#menu-primary-logo {
	text-align: center;
	margin: 5px 5px 0 5px;
}

#menu-primary-logo a:hover {
	text-decoration: none;
}

ul.flex-direction-nav {
	bottom: 35px;
}

.social-media {
	font-size: 3em;
	line-height: 1.6em;
	margin: 0 auto;
	text-align: center;
	width: 200px;
	color: #FFF;
}

.social-media h3 {
    border-bottom-color: #9f1d20;
    color: #9f1d20;
}

.social-media a{
	color: #555555;
	margin-right: 10px;
}

.social-media a:hover {
	text-decoration: none;
}

.social-media i.icon {
	transition: 0.5s;
}
 
.social-media .icon-twitter:hover {
	color: #00aced;
}

.social-media .icon-facebook-official:hover {
	color: #3b5998;
}

.social-media .icon-instagram:hover {
	color: #517fa4;
}

.social-media .icon-flickr:hover {
	color: #ff0084;
}

.social-media .icon-dribbble:hover {
	color: #ea4c89;
}

.social-media .icon-google-plus:hover {
	color: #bb4b39;
}

.social-media .icon-linkedin:hover {
	color: #007bb6;
}

.social-media .icon-pinterest:hover {
	color: #cb2027;
}

.social-media .icon-skype:hover {
	color: #12A5F4;
}

.social-media .icon-youtube:hover {
	color: #b31217;
}

.social-media .icon-tumblr:hover {
	color: #32506d;
}

.small-font {
	font-size: 0.8em;
}

.thumbs-yes {
	color: #2ecc71;
	display: block;
    text-align: center;
    width: 100%;
}

.thumbs-no {
	color: #f1c40f;
	display: block;
    text-align: center;
    width: 100%;
}

.event_detail p.limit {
    background: url("images/icon_ticket.png") no-repeat scroll -13px -8px rgba(0, 0, 0, 0);
}

.page-button, .page-numbers.next, .page-numbers.prev {
  box-sizing: border-box;
  display: inline-block;
  min-width: 1.5em;
  padding: 0.5em 1em;
  margin-left: 2px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  *cursor: hand;
  color: #333333 !important;
  border: 1px solid transparent;
}

.page-numbers.next, .page-numbers.prev {
    background: none;
    border-radius: 0;
    box-shadow: none;
    font-weight: bold;
    line-height: 15px;
}

.page-button.current, .page-button.current:hover, .page-numbers.next:hover, .page-numbers.prev:hover {
  color: #333333 !important;
  border: 1px solid #cacaca;
  background-color: gainsboro;
  line-height: 15px;
}

.page-button.disabled:hover, .page-button.disabled:active {
  cursor: default;
  color: #666 !important;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}

.page-button:hover, .page-numbers.next:hover {
  color: white !important;
  background-color: #4b4b4b;
  line-height: 15px;
}
.page-button:active, .page-numbers.next:active {
  outline: none;
  background-color: #4b4b4b;
  line-height: 15px;
  box-shadow: inset 0 0 3px #111;
}

.taxonomy-category .hfeed .hentry, .singular-post .hfeed .hentry {
    margin-left: 0;
}

.loop-entries li .featured-image-link {
    width: auto;
}

#content .avatar, .top_line .category a {
    color: #9f1d20;
}

.entry-summary {
    color: #5f686e;
}

.fa-sup, .icon-sup {
    font-size: 70%;
    position: relative;
    top: -3px;
    left: 3px;
}

#home-top .bottom-slider-container .piece {
    width: 222px;
}

.menu-item:last-child a {
    border-bottom: none !important;
}

.input-group-addon i:before {
    vertical-align: middle;
}

.event_detail p.main-info-block {
    background: none;
    padding: 0;
    height: 56px;
}

.event_detail p.main-info-block .icon {
    float: left;
    font-size: 1.7em;
    height: 100%;
    line-height: 1.9em;
    margin-right: 15px;
}