/* 

style.css for TKO Indy

design by Andrew A. Swan (except where noted)

*/

/* first, we reset all spacing to fix top/side margins */
* {
margin: 0em;
padding: 0em;
}


/* for "sticky footer" */
html {
/*position: relative;*/
height: 100%;
}
#footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
}


/*---restyled standard elements---*/
body {
font-family: 'Lato', sans-serif;
/* some code here to make sure the background image always covers the
 * entire background on various browsers - especially iOS Safari*/
background: black url('../images/bg1.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
text-align: center;
height: 100%;
}
a {
color: #FFE9B5;
text-decoration: none;
}
a:hover {
color: red;
}
h1 {
font-family: 'Hammersmith One', sans-serif;
}
p a {
color: #FFE9B5;;
}
p a:hover {
text-decoration: none;
color: red;
}
noscript {
min-height: 1em;
padding: .4em;
line-height: 1em;
background-color: red;
border: inset .2em red;
display: inline-block;
}
blockquote {
color: #D6D6D6;
font-style: italic;
font-weight: bold;
padding-left: 1em;
}


/* special formatting elements */
.center {
text-align: center;
}
.left {
text-align: left;
}
.grey {
color: grey;
}
.orange {
color: orange;
}
.uberbold {
font-weight: 900;
color: #F9FFB9;
}
.disclaimerbold {
font-weight: 900;
color: #FF5559;
}
.fightheadline_1 {
font-size: 200%;
color: orange;
}
.fightheadline_2 {
font-size: 200%;
color: #FF5800;
}
.fightheadline_3 {
font-size: 200%;
color: #FFD300;
}
.fightheadline_4 {
font-size: 200%;
color: white;
}
.subheading {
color: black;
background: white;
padding: .5em;
border: 1px solid black;
}
div.button {
color: white;
background: black;
padding: .5em;
}
    div.button a{
    color: white;
    }
    div.button a:hover{
    color: red;
    }
div.clear {
clear: both;
}
div.spacerpt5 {
height: .5em;
}
div.spacer1 {
height: 1em;
}
div.spacer2 {
height: 5em;
}
.smaller {
font-size: 80%;
}
.bold {
font-weight: bold;
}
table.paypal {
    margin-left:auto; 
    margin-right:auto;
  }
.pictureframe_1 {
border: inset 1vw #564200;
width: 200px;
height: 303px;
margin: 0 auto 0 auto;
}
    .pictureframe_1 img {
    width: 100%;
    height: 100%;
    }
.pictureframe_2 {
border: inset 1vw #564200;
width: 139px;
height: 335px;
margin: 0 auto 0 auto;
}
    .pictureframe_2 img {
    width: 100%;
    height: 100%;
    }
.fightcardbox {
background: black;
border: 1px solid white;
width:40%;
padding: 1em;
margin: auto;
}


/* forms styling */

.registration_frame input {
width: 100%;
min-height: 2em;
}


/* all the other elements */

#titlebox {
width: 100%;
height: 15%;
background-color: black;
padding-top: 1%;
padding-bottom: 1%;
}
#title_left {
float: left;
width: 33%;
height: 100%;
}
#title_right {
float: right;
width: 33%;
height: 100%;
}
#title_center {
display: inline-block;
background: black url('../images/tko_transparent_bg_logo.png') no-repeat top center;
background-size: contain;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
width: 33%;
height: 100%;
}
#menubox {
width: 100%;
background-color: #590200;
min-height: 3%;
line-height: 2em;
font-size: 1em;
font-weight: bold;
border-style: solid;
border-width: .2em 0em;
border-color: #320000;
}
    #menubox li {
    display: inline-block;
    padding: 0em 1em;
    color: white;
    }
    #menubox li a {
    color: #FFE9B5;
    text-shadow: .1em .2em black;
    }
    #menubox li a:hover {
    color: white;
    text-shadow: .1em .2em #505050;
    }
#textframe {
width: 60%;
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
padding: 2em 5em;
text-align: left;
background-color: #181818;
color: white;
border-left: .2em solid #2B2B2B;
border-right: .2em solid #2B2B2B;
}
.textframe_divider {
height: .2em;
background-color: #2B2B2B;
}
.textbox_title {
text-align: center;
text-shadow: .1em .2em black;
}
/* Slideshow frames */
.slideshow_frame {
border: .2em inset #484848;
position: relative;
}
/* For overlay text in slideshow frames - note the viewport units for 
 * type size - it keeps the fonts from scaling */
.slideshow_title_left {
position: absolute; 
bottom: 20%; 
left: 3em; 
width: 50%;
font-size: 1.3vw;
}
.slideshow_title_right {
position: absolute; 
bottom: 20%; 
right: 3em; 
width: 50%;
font-size: 1.3vw;
text-align: right;
}

.taekwondo_picture_box {
width: 100%;
background-color: #0A0A0D;
text-align: center;
border: .2em #292929 solid;
}
.taekwondo_page_title_box {
background-color: #0A0A0D;
text-align: center;
padding: 1em 2em;
border: .2em #292929 solid;
margin-left: auto;
margin-right: auto;
}

.class_register_button {
text-align: center;
font-size: 1.5em;
min-height: 1.5em;
width: 33%;
padding: .3em;
background: orange;
border: .2em outset orange;
margin-left: auto;
margin-right: auto;
}
    .class_register_button a {
    color: white;
    text-shadow: .1em .1em black;
    }
    .class_register_button a:hover {
    color: black;
    text-shadow: .1em .1em #FFFFFF;
    }
.fight_register_button {
text-align: center;
font-size: 1.5em;
min-height: 1.5em;
width: 33%;
padding: .3em;
background: red;
border: .2em outset red;
margin-left: auto;
margin-right: auto;
}
    .fight_register_button a {
    color: white;
    text-shadow: .1em .1em black;
    }
    .fight_register_button a:hover {
    color: black;
    text-shadow: .1em .1em #FFFFFF;
    }
.registration_frame {
}
.snf_register_button {
text-align: center;
font-size: 1.5em;
min-height: 1.5em;
width: 100%;
padding: .3em;
margin-left: 0em;
margin-right: 0em;
margin-bottom: .5em;
background: red;
border: .2em outset red;
}
    .snf_register_button a {
    color: white;
    text-shadow: .1em .1em black;
    }
    .snf_register_button a:hover {
    color: black;
    text-shadow: .1em .1em #FFFFFF;
    }
.facebook_button {
text-align: center;
font-size: 1.5em;
min-height: 1.5em;
width: 33%;
padding: .3em;
margin-left: auto;
margin-right: auto;
}
    .facebook_register_button a {
    color: white;
    }
    .facebook_register_button a:hover {
    color: black;
    }
#footer {
background-color: #590200;
min-height: 1em;
line-height: 1em;
font-size: .9em;
padding: .5em;
color: white;
border-top: .2em solid #2E0100;
}
#footer ul {
margin: 0em;
}
#footer li {
padding: 0em 1em;
display: inline;
}
#footer li a {
color: #FFFEA6;
}

/* resizing elements for Youtube embeds, copied from https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
    text-align: center;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* resizing for mobile devices and small screens */
@media screen and (max-width: 768px) {
    div.titlebox {
    width: 100%;
    max-height: 40%;
    text-align: center;
    }
    #menubox {
    width: 100%;
    color: white;
    }
        #menubox li {
        position: relative;
        padding: 1em 1em 1em 1em;
        display: block;
        font-size: 1.5em;
        list-style-type: none;
        }
    #textframe {
    width: 75%;
    /*height: 100%;*/
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    padding: 3em 5em;
    text-align: left;
    }
    #footer {
    height: 3em;
    line-height: 1em;
    }
}
