@import url(/libraries/css/font-awesome/font-awesome.min.css);

@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
    font-family: 'Open Sans';
	font-size:18px;
	color: #222222;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

footer {
    background-color: #990000;
    color: #ffffff;
    font-size: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer a {
    color: #f5f7b2;
}

footer a:hover {
    color: #ffffff;
}

footer #kjk-registrations {
    width: 44px;
    margin-right: 20px;
}

html {
    box-sizing: border-box;
}

.container {
    flex: 1;
    padding-bottom:20px
}


/* Navigation Bar */

@media (max-width: 990px) {
    .navbar-header {
        background-color: #990000;
    }

    .navbar-default .navbar-toggle {
        background-color: white;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: #990000;
    }

    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        background-color: #990000;
    }

    .navbar-default .navbar-toggle:hover .icon-bar, .navbar-default .navbar-toggle:focus .icon-bar {
        background-color:white;
    }

    .navbar-fixed-top .navbar-collapse {
        height: auto;
        max-height: none;
        background-color: white;
    }

    .navbar-default .navbar-nav > li > a {
        background-color: white;
        color: #990000;
        font-size: 24px;
        font-weight: bold;
    }

    .navbar-default .navbar-nav > li:hover > a {
        background-color: #990000;
        color: white;
    }

    .dropdown-content {
        list-style-type: none;
        margin: 0;
        display: none;
        padding-left: 20px;
    }

    .dropdown-link a {
        font-size: 18px;
        color: #990000;
        font-weight: 300;
    }
    
    .dropdown-link {
        border-bottom: 1px solid #990000;
        text-decoration-color: #00573f;
    }
    
    .dropdown-link:hover {
        background-color: #990000;
    }
    
    .dropdown-link a {
        padding: 5px;
    }
    
    .dropdown-link:hover a {
        color: white;
        text-decoration: none;
    }

    .eventTable {
        border: solid 3px #222222;
        width: 85%;
        margin: auto;
        margin-bottom: 20px;
    }
    
    .eventTable thead {
        display: none
    }
    
    .eventTable td {
        min-width: 100%;
        font-weight:normal;
        font-size:14px;
        color:#222222;
        border-top: 0px solid  #222222;
        padding: 5px 8px 5px 0px;
        display: block;
        font-size: 16px;
    }

    .eventTable td:nth-child(1) {
        font-weight: bold;
        font-size: 20px;
    }

    .eventTable tr {
        height: auto;
    }
    
    .eventTable tr:nth-child(2n) {
        background-color: #d6d6d6
    }
    
    .eventTable tr:nth-child(2n + 1) {
        background-color: #ffffff
    }

	.socialIcons {
		display: none;
	}
}

@media (min-width: 991px) {

    #topNav {
        background-color: #990000;
        border-bottom: 4px solid rgb(34, 34, 34);
        font-weight: 700;
        min-height: 50px;
        max-height: 75px;
        text-align: center;
    }
    
    #ulTopNav {
        text-align: center;
        display: inline-block;
        float: none;
    }

    .dropdown-content {
        display: none;
        background-color: white;
        font-size: 12px;
        list-style-type: none;
        text-align: start;
        margin: 0;
        padding: 0px;
        position: absolute;
        max-width: none;
    }
    
    .event-link {
        width: 320px;
    }
    
    .coach-link {
        width: 201px;
    }
    
    .dropdown:hover, .navbar-nav > li:hover > a.navLink {
        background-color: white;
        color: #990000;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
        cursor: pointer;
    }
    
    .dropdown-link a {
        font-size: 18px;
        color: #990000;
        font-weight: 300;
    }
    
    .dropdown-link {
        border-bottom: 1px solid #990000;
        text-decoration-color: #00573f;
    }
    
    .dropdown-link:hover {
        background-color: #990000;
    }
    
    .dropdown-link a {
        padding: 5px;
    }
    
    .dropdown-link:hover a {
        color: white;
        text-decoration: none;
    }
    
    .dropdown {
        height: 100%;
        color: rgb(34, 34, 34);
        display: block;
        float: left;
        font-family: "Open Sans";
        font-size: 20px;
        font-weight: 700;
        height: 71px;
        line-height: 28.5714px;
        position: relative;
        text-align: center;
        text-size-adjust: 100%;
        text-transform: uppercase;
    }

    .navbar-fixed-top {
        border-bottom: 0;
    }

    .navbar-nav > li > a.navLink {
        color: rgb(255, 255, 255);
        cursor: pointer;
        display: block;
        font-family: "Open Sans";
        font-size: 20px;
        font-weight: 700;
        height: 71px;
        line-height: 71px;
        padding-bottom: 0px;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 0px;
        position: relative;
        text-align: center;
        text-transform: uppercase;
    }

    .eventTable {
        max-width: 90%;
        width: 90%;
        margin: auto;
        border: solid 3px #222222;
    }
    
    .eventTable th {
        font-weight: bold;
        font-size:22px;
        color: white;
        background: #990000;
        text-transform:uppercase;
        border-top: 0px solid  #222222;
        vertical-align: top;
        padding: 4px 8px;
    }

    .eventTable td:last-child {
        text-align:end;
    }
    
    .eventTable td {
        font-weight:normal;
        font-size:18px;
        color:#222222;
        vertical-align:middle;
        border-top: 0px solid  #222222;
        vertical-align: top;
        padding: 4px 8px;
    }
    
    .eventTable tr:nth-child(2n) {
        background-color: #d6d6d6
    }
    
    .eventTable tr:nth-child(2n + 1) {
        background-color: #ffffff
    }

	.socialIcons {
		display: block;
	}
}

.btnEvent {
    background-color: #990000;
    border-color: #222222;
    border-radius: 0;
    color: #ffffff;
    position: relative;
	text-transform:uppercase;
	font-size:16px;
}

.btnEvent:hover, .btnEvent:focus {
    background-color: #ffffff;
    border-color: #222222;
    color: #990000;
}

.socialIcons {
    background-clip: border-box;
    background-color: rgb(255, 255, 255);
    background-image: none;
    background-origin: padding-box;
    background-origin: padding-box;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    box-sizing: border-box;
    color: rgb(34, 34, 34);
    font-family: "Open Sans";
    font-size: 18px;
    /*height: 220px; Fixed Height didn't work when < 4 icons */
    padding-bottom: 0px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
    position: fixed;
    right: 0px;
    text-size-adjust: 100%;
    top: 120px;
    width: 56px;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.socialIcons i {
    font-size: 30px;
    height: 50px;
    line-height: 50px;
    width: 52px;
    margin: auto;
    text-align: center;
    color: white;
    margin-top: 2px;
    margin-bottom:2px;
}

#facebook i {
    background-color: rgb(55,83,143);
}

#facebook i:hover {
    background-color: #203a71;
}

#twitter i {
    background-color: #5ca6d9;
}

#twitter i:hover {
    background-color: #3983b5;
}

#linkedin i {
    background-color: #0077b5;
}

#linkedin i:hover {
    background-color: #005d8d;
}

#youtube i {
    background-color: #f21f03;
}

#youtube i:hover {
    background-color: #c61700;
}

#instagram i {
    background-color: #2a5b83;
}

#instagram i:hover {
    background-color: #133d60;
}
