@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto-Regular.ttf);
}

body,html{
    font-size:12px;
    font-family: 'Roboto', 'Helvetica', arial, sans-serif;
    -webkit-font-smoothing:antialiased;
    -moz-font-smoothing:antialiased;
    padding:0;
    margin:0;
}
body{
    position: relative;
}
p{
    font-size: 1.2em;
}
a:hover{
    text-decoration: none;
}
.main{
    min-height: 600px;
}
#portals .row{
    margin-bottom:30px;
}
#portals p{
    margin:0;
}
#portals h1{
    font-size:2.5em;
    margin:0.7em 0 0;
}

#logo{
    font-size: 2em;
    font-weight: bold;
    margin:0;
    padding:0;
    margin-right:0.4em;
    text-transform: capitalize;
    text-indent: -99999em;
    width:174px;
    height:45px;
    display: block;
    background:url('/images/logo-2.png') no-repeat left top;
    position: relative;
    left:-1px;
    top:-2px;
}
.header{
    position: relative;
    background:#111;
    padding: 0.3em 0;
    z-index: 1000;
}
.header a{
    color:#fff;
}
.header #search{
    margin-top: 0.7em;
    position: relative;
}
#result{
    position: absolute;
    left: -60px;
    top:35px;
    z-index: 999999;
    background:#fff;
    padding:0;
    width: 675px;
    border:1px #111 solid;
    display: none;
}
.search-wrapper{
    height: 180px;
}
.search-wrapper > div{
    border-right:1px #111 solid;
    float:left;
    width:25%;
    position: relative;
    height: 100%;
}
.search-wrapper > div > ul{
    list-style: none;
    padding:0 0 0.5em;
    margin:0;
    padding:1em;
}
.search-wrapper > div:last-child{
    border-right:0;
}
.search-wrapper span{
    font-weight: bold;
    padding-bottom: .5em;
    display: block;
    font-size:1.2em;
}
.search-wrapper li.result{
    padding: 5px 0 0 0;
}

.search-wrapper a{
    color:#777;
}
.sign-in,
.sign-out{
    display: inline-block;
    /*background:#ccc;
    color:#111!important;*/
    background: #111;
    color: #fff!important;
    font-weight: bold;
    padding:0.6em 2em !important;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
}
.sign-in:hover, .sign-out:hover{
    background-color:rgba(245,115,0,1) !important;
}
#moreResults{
    display: block;
    border-top:1px #111 solid;
    padding:0.7em;
    color:#777;
    text-align: center;
}
.header #search input[type="text"]{
    min-width: 180px;
    width: 60%;
}
.header .search_submit_button{
    color:#fff;
    font-weight: bold;
}
.header .search_submit_button:hover{
    color: rgba(245,115,0,1);
}
.header .floatright{
    margin-top:0.5em;
}
.header #logo,
.header #search{
    float:left;
}
input[type="submit"], .search_submit_button{
    background:transparent;
    text-transform: uppercase;
    color:#111;
    padding:0.6em 0.4em;
    border:0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    background: #ededed url(/images/search3.png) no-repeat 95% center;
    background-size: 15px 15px;
    border:solid 1px #ccc;
    padding:9px 10px 9px 10px;
    height: 10px;
    width:90%;
    margin: auto;
    -webkit-border-radius:10em;
    -mox-border-radius:10em;
    border-radius:10em;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .1s;
}

input[type="search"]:focus{
    outline:0;
    background-color:#fff;
    border-color:#F78F33;
    -webkit-box-shadow:0 0 5px rgba(109,207,246,.5);
    -moz-box-shadow:0 0 5px rgba(109,207,246,.5);
    box-shadow:0 0 5px rgba(109,207,246,.5);
}

.floatright{
    float:right;
}
.footer{
    background:#f5f5f5;
}
.header .user-name,
.header .user-thumbnail,
.header .court-name,
.header .court-thumbnail{
    display: inline-block;
    vertical-align: middle;
    float:none;
}
.user-box,
.court-box,
.team-box,
.game-info{
    margin-top:2em;
}
.user-data,
.court-data,
.team-box,
.game-info{
    float:left;
}
.team-box,
.game-info{
    width:32%;
}
.team-box{
    font-weight: bold;
}
.team-data{
    padding-top: 40px;
}
.team-data .team-name{
    font-size: 14px;
    min-height: 40px;
}
.team-data .team-score{
    font-size: 30px;
}
.away-team{
    text-align: left;
}
.home-team{
    text-align: right;
}
.game-info{
    text-align: center;
}
.game-info ul{
    list-style-type: none;
}
.table.user-stat{
    float:right;
    width:20%;
    margin-top:0.8em;
}
.table.user-stat th,
.table.user-stat td{
    text-align: center;
    border-right:1px #111 solid;
}
.table.user-stat tbody tr:nth-child(odd) td{
    background:#fff;
}
.table.user-stat tbody tr td{
    background:#fff;
    line-height:2.4em;
    padding-left:1.9em;
    padding-right:1.9em;
}
.table.user-stat th{
    text-transform: uppercase;
    font-size:0.8em;
    padding:0.2em 0;
    color:#fff;
    background:#808080;
}
.header .user-name{
    font-size:1.2em;
    margin-left:0.3em;
    font-weight: bold;
}
.header .user-thumbnail{
    width:33px;
    border:3px #fff solid;
}
.header .user-info{
    margin-right:0.5em;
}
.header .help,
.header .mail{
    margin:0 0.5em;
}
.carrot{
    width:9px;
    height:5px;
    display: inline-block;
    vertical-align: middle;
    background:url('/images/arrow-1.png') no-repeat left top;
}
.header .help{
    font-size:1.2em;
    margin:0 1em;
}
.header .mail,
.header .help,
.header .user-info,
.header .divider{
    display: inline-block;
    vertical-align: middle;
}
.divider{
    width:1px;
    height:30px;
    border-right:1px #777 solid;
}
.user-thumbnail,
.court-thumbnail,
.team-thumbnail{
    -webkit-border-radius: 0.4em;
    -moz-border-radius: 0.4em;
    border-radius: 0.4em;
    display: inline-block;
    padding-top:27px;
    height:0;
    position: relative;
}


.footer{
    padding:1.4em 0;
}
.footer-links ul{
    border-top:1px #dbdbdb solid;
}
.footer-links,
.footer-links ul{
    list-style: none;
    padding:0;
    margin:0;
}
.footer-links{
    margin:2em 0;
}
.footer-links ul{
    margin:0.7em 0 0;
    padding:0.4em 0 0;
}
.footer-links ul li a{
    color:#111;
    font-weight: normal;
}
.footer-links > li{
    float:left;
    width:25%;
    font-weight: bold;
}
.social-links a img{
    width:30px;
    margin: 2px;
}
.social-links a{
    margin-right:0.4em;
}

/*.carousel{
    position: relative;
    width:100%;
    overflow: hidden;
}*/
/*.carousel-item{
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    z-index: 2;
    display: none;
}*/
/*.current-carousel-item{
    display: block;
    z-index: 9;
}*/
.carousel-item h1{
    margin:0;
}
.carousel-item-content{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.carousel-item-content h1,
.carousel-item-content p{
    background-color:rgba(0,0,0,.4)!important;
}
.carousel-item-wrapper{
    vertical-align: middle;
    display: table;
}
.carousel,
/*.carousel-item,*/
.carousel-item-wrapper{
    height: 500px;
}
.carousel-item-wrapper,
.carousel-item-content{
    width:100%;
}
.carousel-item{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.nav-right:hover,
.nav-left:hover{
    opacity: 1;
}
.nav-right,
.nav-left{
    position: absolute;
    width:51px;
    display: block;
    z-index: 10;
    height:70px;
    top:50%;
    margin-top:-35px;
    opacity: 0.5;
    cursor: pointer;
    -webkit-transition:opacity 0.3s ease-in-out;
    -moz-transition:opacity 0.3s ease-in-out;
    transition:opacity 0.3s ease-in-out;
}
.nav-left{
    left:10px;
    background:url('/images/arrow-3.png') no-repeat left top;
}
.nav-right{
    right:10px;
    background:url('/images/arrow-2.png') no-repeat left top;
}
.carousel-item,
.carousel p,
.carousel h1{
    color:#fff;
}
.slideshow .registerform input[type="submit"]{
    background:#111;
    background:rgba(245,115,0,0.8);
    color:#fff;
    text-align: center;
    padding:0.4em 0.6em 0.6em;
    position: relative;
    /*top:-2px;*/
    width:24%;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    text-transform: capitalize;
    font-size:1.3em;
}
.slideshow .registerform input[type="submit"]:hover{
    background:rgba(245,115,0,0.8);
}
.slideshow .registerform input[type="text"]{
    width:75%;
    padding:0.6em;
    font-size:1.2em;
    border:1px #ccc solid;
    color:#111;
}
.slideshow .registerform{
    width:100%;
    background: rgba(255,255,255,0.4);
    padding: 0.5em;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
}
.slideshow p{
    margin-top:0em;
    padding-top:0;
}
.slideshow h1{
    font-size:3.5em;
    margin: 0;
}

.slideshow .slick-prev {
    left: 10px;
    z-index: 999;
}

.slideshow .slick-next {
    right: 15px;
    z-index: 999;
}

.slideshow .slick-prev:before, .slideshow .slick-next:before {
    font-size: 36px;
}

.portal{
    display: block;
    height:200px;
    background-color:#ccc;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.portal-headline{
    padding-top: 30px;
    position: relative;
    display: block;
    text-align: center;
    font-size:1.8em;
    color:#000;
    font-weight: bold;
}

.portal-title{
    background:rgba(0,0,0,0.4);
    position: relative;
    display: block;
    text-align: center;
    top:44%;
    font-size:1.8em;
    color:#fff;
    font-weight: bold;
}
.portal-detail-wrap{
    position: relative;
    width:100%;
    height:100%;
    display: table;
    vertical-align: middle;
}
.portal-detail-wrap ul li{
    font-weight: bold;
    font-size:1.2em;
}
.portal-detail-wrap ul li a,
.portal-detail-wrap ul li a:visited{
    color: white;
}
.portal-detail-wrap ul li a:hover{
    color: silver;
}
.portal-detail-wrap ul{
    position: relative;
    display: table-cell;
    vertical-align: middle;
}
.portal-detail:hover{
    opacity: 1;
}
.portal-detail{
    background:rgba(245,115,0,0.8);
    position: absolute;
    opacity: 0;
    -webkit-transition:opacity 0.3s ease-in-out;
    -moz-transition:opacity 0.3s ease-in-out;
    transition:opacity 0.3s ease-in-out;
    width:100%;
    height:100%;
    left:0;
    top:0;
}
.portal-detail ul{
    list-style: none;
    padding:0;
    margin:0;
    text-align: center;
    color:#fff;
}
#homeRegister{
    display: block;
    padding:1em 0;
    //background:#111;
    background:rgba(245,115,0,0.8);
    color:#fff;
    text-align: center;
    font-size:1.4em;
}
#homeRegister:hover{
    background:rgba(245,115,0,0.8);
}
.user-box .user-thumbnail,
.court-box .court-thumbnail,
.team-box .team-thumbnail
{
    height:158px;
    /*background-size: contain;*/
    background-size: cover;
    float:left;
    background-repeat:no-repeat;
    background-position: center;
}
.user-box .user-thumbnail,
.court-box .court-thumbnail
{
    width:210px;
}
.team-box .team-thumbnail{
    width: inherit;
}

.team-box a {
    width: 100%;
}
/*
.court-box .court-thumbnail
{
    width:307px;
}
*/
.text-center{
    text-align: center;
}

.user-league-name,
.court-name{
    font-weight: bold;
    font-size: 2.5em;
    float:right;
}
.user-info,
.court-info{
    display: block;
    float:left;
    list-style: none;
    margin:0;
    padding:0;
    margin-right:3em;
    font-size:1.1em;
}
.user-info label,
.court-info label{
    display: inline-block;
    font-weight: bold;
    width:130px;
}

#table{
    background:#f9f9f9;
    padding-bottom:2em;
}
.nav a:first-child{
    margin-left:0;
}
.nav a{
    display: inline-block;
    color:#111;
    padding:0.5em 2.4em;
    font-size:1.26em;
    border:1px #111 solid;
    margin-left:-0.3em;
}
.nav a.current{
    //background:#666;
    background:rgba(245,115,0,0.8);
    color:#fff;
}
.toolbar h3{
    margin:0;
    font-size:1.5em;
}
.toolbar h3{
    float:left;
}
.toolbar select{
    float:right;
    position: relative;
    top:3px;
    color: #000;
}
.toolbar{
    margin-top:-1px;
    margin-bottom:-1px;
    background:#808080;
    color:#fff;
    border:1px #111 solid;
    padding:0.5em;
}
.table{
    position: relative;
    border-collapse: collapse;
    width:100%;
    border:1px #111 solid;
}
.table th,
.table td{
    padding:0.5em 0.8em;
}
.table tbody tr:nth-child(odd) td{
    background-color:#f2f2f2;
}
.table tbody tr:nth-child(even) td{
    background-color:#fff;
}
.table tbody td{
    font-size:1.1em;
}
.table th{
    text-align: left;
    border-bottom:1px #111 solid;
}

.search-wrapper:after,
.clear,
#result:after,
.toolbar:after,
.user-box:after,
.footer-links:after,
.header:after,
.container:after,
.row:after{
    clear:both;
    content:'';
    display: block;
    height:0;
}

.button{
    display: block;
    background:#ccc;
    color:#111!important;
    font-weight: bold;
    padding:0.6em 1em;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    text-align: center;

}

.fb-login-button {
    display: block;
    color:#111!important;
    font-weight: bold;
    padding:0.6em 1em;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    text-align: center;
    width: 100%;
}

.login-content{
    width: 300px;
    margin: 0 auto;
    min-height: 300px;
}
.register-form input[type="text"],
.register-form input[type="password"],
.login-form input[type="text"],
.login-form input[type="password"],
.password-form input[type="text"]{
    padding:0.6em;
    font-size:1.2em;
    border:1px #ccc solid;
    color:#111;
}
.login-username, .login-password{
    padding: 5px;
}
.registerForm,
.login-form,
.password-form{
    margin-top: 50px;
    width:100%;
    background: rgba(255,255,255,0.4);
    padding: 0.5em;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
}

.remember, .forgot{
    padding-left: 70px;
    padding-bottom: 10px;

}
.login-form .signup,
.password-form{
    text-align: center;
}
.password-form input[type='text'],
.password-form .button{
    width: 30%;
    text-align: center;
    margin: 10px auto;
}
.left{
    float: left!important;
}
.right{
    float: right!important;
}
.bold{
    font-weight: bold;
}

.register-form .reg-right{
    font-size: 16px;
    line-height: 1.2em;
    text-align: right;
    width: 45%;
    float: left;
    padding-right: 1%;
    margin-top: 10px;
}
.register-form .reg-left{
    text-align: left;
    width: 45%;
    display: inline-block;
}

#captchaHolder{
    text-align: center;
    font-size: 16px;
    line-height: 1.2em;
}
#registerButton{
    width: 30%;
    margin: 10px auto;
    padding: 1em;
}
#content_area_user_title{
    text-align: center;
}
#admin-nav{
    list-style:none;
    font-weight:bold;
    float:left; /* Clear floats */
    color: #fff;
    margin: 0;
    /* Bring the admin-nav above everything else--uncomment if needed.
    position:relative;
    z-index:5;
    */
}
#admin-nav li{
    float:left;
    margin-right:10px;
    position:relative;
}
#admin-nav a{
    display:block;
    padding:5px;
    color:#fff;
    background:#333;
    text-decoration:none;
    z-index: 999;
}
#admin-nav a:hover{
    color:#fff;
    background:gray;
    text-decoration:none;
}

/*--- DROPDOWN ---*/
#admin-nav ul{
    background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
    list-style:none;
    position:absolute;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
#admin-nav ul li{
    //    padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float:none;
}
#admin-nav ul a{
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#admin-nav li:hover ul{ /* Display the dropdown on hover */
    left:-40px; /* Bring back on-screen when needed */
    z-index: 999;
}
#admin-nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    background:gray;
    text-decoration:none;
}
#admin-nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration:none;
}
#admin-nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    background:#333;
}

#error{
    color: red;
    right: 0;
    margin-right: 30px;
    position: absolute;
    top: 10px;
    background: white;
}
#thanks{
    text-align: center;
    padding-bottom: 200px;
}
#loader {
    display:none;
    position:fixed;
    z-index:1000;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background: rgba( 255, 255, 255, .8 ) url('/images/ajax-loader.gif') 50% 50% no-repeat;
}

.article-container{
    min-height: 800px;
}

.article{
    padding: 16px;
    border-bottom: 1px solid #000;
}
.article-full{
    padding: 16px;
}
.article h3, .article-full h3{
    font-size: 30px;
    margin-bottom: 0;
}
.article-full h3{
    margin-top: 1rem;
}
.article h3 a, .article h3 a:hover, .article h3 a:visited{
    color: #000;
}
.article .small, .article-full .small{
    font-size: 10px;
}
.article-full .small a, .article-full .small a:hover, .article-full .small a:visited{
    color: #000;
}
.article .synopsis{
    font-size: 16px;
    margin: 16px;
}
.article-full .content{
    margin-top: 16px;
    font-size: 16px;
}

/*Nav*/
.navbar {
    min-height: auto !important;
}

.navbar-default {
    background-color: #111;
    border-color: #111;
    margin: 0px;
}
