/*
Red color: #e74c3c

/* ---------------------------- */
/* Basic Setup */
/* ---------------------------- */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
html,
body {
    background-color: #fff;
    color: #555555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.clearfix {zoom: 1}
.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/* ---------------------------- */
/* Reusable components */
/* ---------------------------- */


.row {
    max-width: 1140px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.box {
    padding: 1%;
}

/* -----HEADINGS -----*/

h1,
h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
    
    word-spacing: 3px;
}

h1 {
    margin: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 240%;
    letter-spacing: 1px;
}
h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h2:after   {
    display: block;
    height: 2px;
    background-color: #e74c3c;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

h3 {
    font-size: 110%;
    margin-bottom: 15px;
    height: 40px;
}


/* ------- PARAGRAPHS ------*/
.long-copy {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    
}
.box p {
    font-size: 90%;
    line-height: 145%;    
}

/* ------- ICONS ------*/
.icon-big {
    font-size: 300%;
    display: block;
    color:  #e74c3c;
    margin-bottom: 10px;
}
.icon-small {
    color: #e74c3c;
    display: inline-block;
    width: 30px;
    text-align: center;
    font-size: 120%;
    
    /* secrets to alight text and icons*/
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
    margin-right: 10px;
    
    
    
}


/* -------LINKS ------*/

a:link,
a:visited {
    color: #e74c3c;
    text-decoration: none;
    padding: 1px;
    border-bottom: 1px solid #e74c3c;
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
    
}
a:hover,
a:active {
    color: #333333;
    border-bottom: 1px solid transparent;
    
}



/* -------BUTTONS ------*/

.btn:link,
.btn:visited, 
input[type="submit"] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    -webkit-transition: background-color 0.2s, border 0.2s, color 0.1s;
    transition: background-color 0.2s, border 0.2s, color 0.1s;
}

.btn-full:link,
.btn-full:visited, 
input[type="submit"] {
    background-color: #e74c3c;
    border: 1px solid #e74c3c;
    color: #fff;
    margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.btn:hover,
.btn:active,
input[type="submit"]:hover,
input[type="submit"]:active {
    background-color: #d14536;
}

.btn-full:hover,
.btn-full:active    {
    background-color: #d14536;
    border: 1px solid #e74c3c;
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #e74c3c;
    color: #fff;
}

/* ---------------------------- */
/* Header */
/* ---------------------------- */

header {
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(0, 0, 0, 0.8)),to(rgba(0, 0, 0, 0.8))),url(img/hero.jpeg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0.8)),url(img/hero.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
}

.header-results {
    
    height: 50px;
    background-image: none;
}

.hero-text-box {
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.logo {
    height: 100px;
    width: auto;
    float: left;
    margin-top: 20px;
}

.logo-black{ 
    display: none;
    height: 50px;
    width: auto;
    float: left;
    margin: 5px 0;

    
}

/* Main-navi */

.main-nav {
    float: right;
    list-style: none;
    margin-top: 55px;
    
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #e74c3c;
}

/* mobile navi */
.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}

/* sticky navi */
.sticky {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 2px #f0f0f0;
    z-index: 9999; 
}



.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #555;
}

.sticky .logo { display: none; }
.sticky .logo-black {display: block; }

.sticky .main-nav {

    margin-top: 18px;
    
}

/* ---------------------------- */
/* SERVICES */
/* ---------------------------- */
.section-services .long-copy {
    margin-bottom: 30px;
}

/* ---------------------------- */
/* EVENTS */
/* ---------------------------- */
.section-events {
    padding: 0;
}

.events-showcase {
    list-style: none;
    width: 100%;
    
}

.events-showcase li {
    display: block;
    float: left;
    width: 33.33%;
}

.event-photo {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #000;
}

.event-photo img {
    opacity: 0.6;
    width: 100%;
    height: auto;
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
    -webkit-transition: opacity 0.4s, -webkit-transform 0.5s;
    transition: opacity 0.4s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.4s;
    transition: transform 0.5s, opacity 0.4s, -webkit-transform 0.5s;
    
}

.event-photo img:hover {
    opacity: 1;
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    
}

/* ---------------------------- */
/* ADDRESS */
/* ---------------------------- */

.address {
    font-size: 120%;
    margin: 0 13%;
}

/* ---------------------------- */
/* RESULTS */
/* ---------------------------- */

.section-results {
    background-color: #d3d3d3;
    
}

.section-results a {
    display: inline-block;
    font-size: 105%;
    margin-bottom: 1px;
}

.result {
    background-color: #d3d3d3;
}

.event-logo {
    border-radius: 5%;
    
}
.logo-box {
    text-align: right;
    width: 30%;
}
.result-date {
    
}

table {
  height: 40%;
  left: 10%;
  font-size: 18px;
  margin: 20px auto;
  overflow-y: scroll;
  position: static;
  width: 80%;
}

thead th {
  background: #88CCF1;
  color: #FFF;
  font-weight: 100;
  letter-spacing: 2px;
  text-transform: uppercase;
}

tr {
  background: #f4f7f8;
  border-bottom: 1px solid #FFF;
  margin-bottom: 5px;
}

th, td {
  font-weight: 400;
  padding: 15px;
  text-align: left;
  width: 33.3333%;
}

.ktown td {
    width: auto;
}

/* ---------------------------- */
/* FORM */
/* ---------------------------- */

.section-form {
     background-color: #f4f4f4;
}

.section-form .long-copy {
    margin-bottom: 30px;
}

.contact-form {
    width: 60%;
    margin: 0 auto;
    ;
    
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
    
}


textarea {
    height: 100px;
}

input[type="checkbox"] {
    margin: 10px 5px 10px 0;
    
}

*:focus {outline: none;}

.form-messages {
    width: 50%;
    text-align: center;
    margin: 0 auto;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 20px;
    color: #333;
}

.success {background-color: rgba(46, 204, 113, 0.5);}

.error {background-color: rgba(231, 76, 60, 0.5)}

/* ---------------------------- */
/* Footer */
/* ---------------------------- */
footer {
    background-color: #333333;
    padding: 20px;
    font-size: 80%;
}


footer a:hover,
footer a:active,
footer a:link,
footer a:visited {
    border-bottom: none;
}

footer a:hover,
footer a:active {
    color: #888;
}



.social-links {
    list-style: none;
    float:right;
    
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
    margin: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
    text-decoration: none;
    border: 0;
    color: #888;
    
}

.footer-nav li a:hover,
.footer-nav li a:active, {
    color: #ededed;
}

.social-links li a:link,
.social-links li a:visited {
    font-size: 150% 
}

.ion-social-facebook
.ion-social-twitter
.ion-social-googleplus
.ion-social-instagram
.ion-android-mail
.ion-android-call{
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.ion-social-facebook:hover {
    color: #3b5998;
}
.ion-social-twitter:hover {
    color: #55acee;
}
.ion-social-googleplus:hover {
    color: #dd4b39;
}
.ion-social-instagram:hover {
    color: #e95950;
}
.ion-android-mail:hover {
    color: #EA4335;
}
.ion-android-call:hover {
    color: #34A853;
}

footer p {
    color: #888;
    font-size: 90%;
    text-align: center;
    margin-top: 20px;
}

/* ---------------------------- */
/* Animations */
/* ---------------------------- */

.js--wp-1,
.js--wp-2,
.js--wp-3{
    opacity: 0;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.js--wp-4 {-webkit-animation-duration: 1s;animation-duration: 1s}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated {
    opacity: 1;
} 

/* --- Vertical Spacing Tweaks (Add to style.css) --- */

/* 1. Remove large margins from the individual result blocks */
.section-results .result {
    margin-bottom: 10px !important; /* Keep a minimal space below the year's table */
}

/* 2. Target the generic grid row itself, forcing it tighter on this page */
.section-results .row {
    margin-bottom: 0px !important;
}

/* 3. Tighten the space between the Year Heading (h2) and the table directly beneath it */
.section-results h2 {
    margin-top: 5px;   /* Minimal space above the heading */
    margin-bottom: 5px; /* Minimal space between heading and table */
}

/* 4. Ensure there is no stray padding hiding in the generic row */
.result .row {
    padding-bottom: 0px !important;
}


