/**
    Page layout -fondo de pagina
**/

body {
    background-color: #F0FFFF;
	background-image: url();
 	background-attachment: fixed;
   	background-size: 40% 60%;
	background-repeat: no-repeat;  
	background-position: center bottom;
      
}
/**
    cabecera foto y colores
**/
.page {
    max-width: auto;
    margin-left: auto;
    margin-right: auto;
	background-color: #76E6FF;
	background: url('fondo7.jpg') no-repeat;
  	background-size: cover;
	width: auto;
  	height: 250px;
	
}
.container {
    max-width: auto;
    padding: 10px 65px 10px 65px;
}



/**
    Header / nav bar
**/

#header a {
    text-decoration: none;
}

#header {
    text-align: center;
}

#header-inner {
    background-color: transparent;
    border-bottom: 4px transparent rgba(234, 234, 234, 1);
    max-width: auto;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 65px 10px 65px;
}

#header-logo {
    float: left;
}

#header-menu {
    float: right;
}

@media (max-width: 800px) {
    #header-logo {
        display: none;
    }
}

/**Pill overrides**/

#menu-main .active a {
    color: #ffffff;
}

#menu-main :not(.active) a:hover, #menu-main :not(.active) form:hover {
    background-color: rgba(234, 234, 234, 0.75);
}

#menu-main a {
    padding: 7px 15px;
    margin: 5px 5px;
    border-radius: 4px;
}

#menu-main button {
    background: none;
    border: none;
    width: 80px;
    height: 40px;
    font: inherit;
    cursor: pointer;
    color: #428BCA;
    margin: 2px 0 0 0;
}
/*botones del menu desafios*/
#categories-menu a {
    display: block;
    text-decoration: none;
    padding: 5px 5px;
}

#categories-menu li {
    border: 0px solid #B70304;
    border-radius: 6px;
    cursor: pointer url(sticker.png);
    float: left;
    margin: 5px 10px;
    text-align: center;
}

#categories-menu li.active {
    background: #1EC4E8;
}

#categories-menu li.active a {
    color: black;
}

#categories-menu li.disabled {
    border-color: #76E6FF;
}

#categories-menu li.disabled a {
    color: black;
}

#categories-menu {
    overflow: auto;
}


/*color de tablas*/
tbody tr:nth-child(even) {
  background-color: #75FFF7;
 font-family: "Garamond, serif";
}


/**
    Logo
**/

#header-logo a {
    overflow: auto;
}

#site-logo {
    display: inline-block;
}

#site-logo object {
    width: 36px;
    height: 36px;
}

#footer-logo {
    display: inline-block;
}

#footer-logo object {
    width: 24px;
    height: 24px;
}

#site-logo-text {
    color: #000;
    display: inline-block;
    font-family: Georgia, Serif;
    line-height: 40px;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: top;
}

#visualise-competition {
    width: 1000px;
    height: 700px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .masthead,
    .marketing,
    .footer {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Main marketing message and sign up button */
.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

/**
    Sign in form
**/

.form-signin {
    max-width: 1100px;
    padding: 0 15px 15px 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="text"] {
    margin-bottom: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.form-signin input[type="email"] {
    margin-bottom: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.form-signin select {
    margin-bottom: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/**
    Challenges page
**/

#categories-menu li {
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

#category-description {
    padding: 10px 0 0 10px;
    margin-bottom: 10px;
}

.category-tab-content {
    padding: 20px;
    background: #fff;
    border: 1px solid rgb(221, 221, 221);
    border-top: none;

}

.challenge-container {
    margin-bottom: 20px;
}

.challenge-container h1 {
    font-size: 15pt;
}

.challenge-description {
    padding: 10px;
    margin-bottom: 10px;
}

.challenge-metadata ul {
    list-style-type: none;
    padding-left: 25px;
}

.challenge-metadata ul li span.glyphicon {
    margin-right: 5px;
}

.challenge-submit-metadata .glyphicon {
    padding-top: 10px;
    padding-right: 5px;
}

.challenge-submit-metadata p {
    margin: 0;
}

.flag-input {
    margin-bottom: 10px;
}

.page-header {
    padding-bottom: 5px;
    margin: 10px 0 10px;
    border-bottom: 1px solid #eeeeee;
}

.no-padding-or-margin {
    padding:0;
    margin:0;
}

.alert h1, h2, h3 {
    padding:0;
    margin:0;
}

.discreet-inline {
    padding:0;
    margin:0;
    display:inline;
}

.small-icon {
    width: 16px;
    height: 16px;
}

.bbcode_spoiler {
    color: black;
    background-color: black;
}

.bbcode_columns {
    width: 100%;
}

.bbcode_column {
    padding: 10px;
}

/** Score table - tabla de puntuciones**/
.team-table {
    max-width: 600px;
   	position:relative;
	margin:auto;
 }

.team-table .team-name {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
font-size: 20px;
}

.challenge-table .team-name {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
	font-size: 15px;
}

.glyphicon {
    opacity: transparent;
}

pre {
    font-size: 8pt;
    overflow: auto;
    line-height: 100%;
}

.inline-pre {
    display: inline;
    padding: 2px;
}

.center {
    text-align: center;
}

.red {
    color: red;
}

/** Messages / modal dialogs **/

.modal.challenge-attempt .modal-header {
    background: no-repeat 50% 3px;
    background-size: 70px;
    border-radius: 6px 6px 0 0;
    border-bottom: 2px solid;
    color: white;
    min-height: 70px;
}

.modal.challenge-attempt.incorrect .modal-header {
    background-image: url('../img/padlock_white.svg');
    border-bottom-color: #C14444;
    background-color: #E75353;
}

.modal.challenge-attempt.correct .modal-header {
    background-image: url('../img/flag_white.svg');
    border-bottom-color: #47ac41;
    background-color: #a8d68e;
}

.modal.challenge-attempt button {
    float: right;
}

.modal.challenge-attempt p {
    float: left;
}

.modal.challenge-attempt .modal-body {
    overflow: auto;
}