:root{
	--primary-color : #7b1c3a;
	--dark-color : #000000;
	--gray-color: #f0f0f0;
}
html{
    min-height:105%!important;
    position:relative;
}

@media (max-width: 1030px) { 
    
    body{
        overflow-x:hidde;
    }
    .card {
      box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
      transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    }
    .card_body{
      background: #fff!important;
      padding: 15px;
    }

    #competitions_list .col-xs-12
    {
        max-width:100%!important;
    }

    .card_title
    {
        background:var(--primary-color);
        padding: 5px;
        margin:none;
        width:100%;
        text-align:center;

    }
    .card .col-xs-12
    {
        width:105%;
        margin-left:-2.5%;
    }

    .matchs_container .col-xs-12
    {
        width: 100%;
        margin:0;
    }

    .mobile_view
    {
        margin-top: 1em!important;
        padding-top: 2em!important;
    }

    .header-info
    {
            text-align:left;
            margin-left: none;
            padding-left: -20px;
            
    }

    .team_box
    {
            padding:1em 1em 0 0!important;
            margin:0!important;
            font-size: 18pt!important;
            padding-top: 0.5em;
    }

    .score_box
    {
            padding:0!important;
            margin:0!important;
           /* width: 15%;
            text-align: center!important;
            border-bottom: 1px solid silver;*/
    }
    

}

  

body{
    background-color:#fafafa;
    min-height:105%!important;
    padding-bottom:5em;
}

body *.not(h1).not(h2).not(h3).not(h4).not(h5).not(h6) {
    font-size: 10pt!important; 
}

.justified
{
    text-align:justify;
}



.main_title
{
    color : var(--primary-color);
    font-weight:bolder;
}

.title2
{
    padding-left:1em;
}


#profile_img
{
    display: inline-block;
    margin-top: 1em;
    margin-bottom: 1em;
    width: 150px;
    height: 150px;
    border: 1px solid silver;

    
}

.profile_img_list
{
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 1px solid silver;

}

.list_row td p{
    display:inline-block;
    margin-top: 15px;
}

.text-left.style {	
    text-align: justify;
}

.picture {	
    padding:0;
    margin-bottom: 20px;
}

.picture img {
    min-height:125px !important;  
    text-align:center !important;
}

.profile_row 
{
    margin-bottom: .5em;
}

.profile_img_container{
    text-align:center;
}

.profile_img_container a
{
    display: inline-block;
    text-align: center;
}

#profile_data_container .box *{
    font-size: 11pt !important;
}

.box{
    padding: 1em;
    background-color: #fafaf0;
}

.min-height4{
    min-height:4em;
}


input[type=checkbox].custom-checkbox {

    position:absolute; 
    z-index:-1000; 
    left:-1000px; 
    overflow: hidden; 
    clip: rect(0 0 0 0); 
    height:1px; 
    width:1px; 
    margin:-1px; 
    padding:0; 
    border:0;
}

input[type=checkbox].custom-checkbox + label.css-label {
   /* padding-left:21px;
   height:16px;  */
    padding-left:0px;
    height:25px;
    padding-top: 4px;
    display:inline-block;
    line-height:16px;
    background-repeat:no-repeat;
    background-position: 0 0;
    font-size:16px;
    vertical-align:middle;
    cursor:pointer;

}

input[type=checkbox].custom-checkbox:checked + label.css-label {
	background-position: 0 -16px;
}

label.css-label {
	background-image:url(../images/checkbox_bg.png);

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.card {
  border-radius: 2px;
  padding:none;
  margin: .7em;
  background-color:#fff!important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.card_body{
  background: #fff;
  padding: 1em;
}


.card_title
{
	background:var(--primary-color);
	padding: 0.5em;
	margin:none;
	width:100%;
	text-align:center;

}
.card-stats {
  grid-area: stats;
  display: grid;
  /*grid-template-columns: 1fr 1fr 1fr;*/
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  background: rgb(0, 0, 0);
}
.card-stats .stat {
  padding:10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
}
.card-stats .border {
  border-left: 1px solid rgb(172, 26, 87);
  border-right: 1px solid rgb(172, 26, 87);
}
.card-stats .value{
  font-size:22px;
  font-weight: 500;
}
.card-stats .value sup{
  font-size:12px;
}
.card-stats .type{
  font-size:11px;
  font-weight: 300;
  text-transform: uppercase;
}



.activity_card
{
	margin-bottom: 2em;
}

.card_info
{
	color: #232323!important;
	margin-top: 10px;
	padding-right : 10px;
	padding-left:10px;
}

.datepicker_height
{
	height: 2em!important;
	padding-top: 0.2em;
	padding-bottom:0.2em;
}

@media only screen and (min-width: 1024px) {
	.small_card_side_img
	{
		height: 7.8em;
		width:120%;
		margin:0;
		padding:0;

	}
	.small_card_title{
		font-size: 1em;
	}	



	.small_card_right
	{
		position:relative;
		height: 8em;;
	}

	.card_timetable
	{
		position: absolute;
		bottom:0;
		left:20;
		vertical-align:bottom;
	}
	.small_card_body
	{
		height: 8em !important;
	
	}


}

a.card {
	display: block;
}

a.card:hover{
	background-color: #f0f0f0;
}


.card_picture img
{
    width:100%;
	margin-bottom: 0.1em;
    height:12em;
	max-height: 12em;
    object-fit:cover;
}

.card_picture img.image
{
    width:100%;
}

.card_picture img.no-image
{
    width:auto;
    border-bottom:1px solid #ccc;
}

.card_icon 
{
	display: inline-block;
	width: 20%;
}

.card_title .title_text
{
	color: white;
	font-weight: bolder;
}

.card_title small{
	color: #a2a2a2;
}



.card_side_img
{
	height:100%;
	width: 100%;

}
.card_side_btn
{
	display: inline-block;
	width:120%;
	height:200%;

}

.final_price
{
	font-size : 2em;
	color: green;
}

.white_title
{
	color:white;
}


.card_link
{
	outline:none!important;
	background-color:red;
}
.card_link:hover * .card_body
{
	background-color:#dedfe0
}

/*-------------------------------------------------------------
REGISTER
*/

.register_row
{
	margin-bottom: 1em;
	font-size: large;
}

.register_row col-md-3
{
	font-weight: bolder;
}



/*--------------------------------------------------------------
RESERVATIONS 
---------------------------------------------------------------*/

.reservation_details{

	padding: 1em;
}

.reservation_details .row
{
	font-size: large;
	margin-bottom: 0.5em;
	border-bottom: 1px solid #f0f0f0;

}

/*------------------------------------------------------------
TABLE
--------------------------------------------------------------*/

tr:nth-child(even) {background: #eee}

.table_head{
	background:var(--primary-color);
	color: white;
}


.row{
}

.clickable{
    cursor: pointer;   
}

.clickable .glyphicon
{
	margin-top: -30px !important;
   padding: 0 10px;;

}

.card_clickable .glyphicon
{
	position:absolute;
	top:1em;
	right:2em;
	padding:0!important;
	color:white;
	font-size:1.1em;
}
.panel-heading *
{
	padding:0!important;
}

.panel-heading.card_title *
{
	margin:0!important;
}

.panel-heading.card_title {
	margin:0!important;
	position:relative;
	padding:7px !important;
	padding-left:15px!important

}
.panel-heading span {
	margin-top: -20px;
	font-size: 15px;
}


.padding_small
{
	padding: 0.1em!important;
}

.no_padding
{
	padding:0!important
}

.no_padding_bottom
{
	padding-bottom:0!important;
}

.small_padding_left
{
    padding-left:5px!important
}


.no_margin
{
	margin:0!important
}

.form_table
{
	margin-top:1em;
	width 100%;
}
.form_table .form_row 
{
	border-spacing: 10px;
   border-collapse: separate;


	margin-right: 1em;
	border: 3px solid #fafafa;
	background-color: #e9e9e9;
}

.form_td
{
	min-height: 5em;
	width: 24.5%;
}

.form_td div 
{
	margin-top: 3em;
	margin-left:0.5em;
}

.vertical_txt
{
	transform: rotate(240deg);
	transform-origin: left top 0;
}

table.bordered *{
	border: 1px solid silver
}

td h5 { font-size: xx-small}
td h4 { font-size: x-small }
td h3 { font-size: small}
td h2 { font-size: medium}

.hours{
/*	background-color: #F7E8F1; */
	display: inline-block;
	width: 46%;
	margin: .4em;
	padding: .2em .2em .2em .2em;
	text-align: center;
}

.silver_table_head
{
	position: relative;
	height: 40px;
	line-height: 40px;
	background: #E9E9E9;
	background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #e9e9e9));
	background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
	background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
	background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
	background: linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
	text-shadow: 0 1px 0 #fff;
	border-radius: 5px 5px 0 0;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1),inset 0 1px 0 white,inset 0 -1px 0 rgba(255,255,255,0.7);
	border-bottom: 1px solid #bababa;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
	border: 1px solid #D5D5D5;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	-webkit-background-clip: padding-box;
}


.header-info 
{
    background-color: #3aa0be;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-right: 0.5em;
    text-align:right;
	margin-bottom:0.3em;
	color:white;
}

.tlabel 
{
    font-weight: bolder;
    font-size: 1.1em;
    padding-right: 0.1em 0.3em 0.1em 0.3em;
}


/* ************* 
 * COMPETICIONES 
 * **************************/
.score_box
{
	background-color:#f89406;
    color:white;
    font-size: 3em!important;
    font-weight:bolder;
    text-align:center;
	margin-left: 2px;
}
.team_box
{
    font-weight: bold;
    font-size: 15pt!important;
    padding-top: 0.25em;
    margin-top: 0.5em;
	display:inline-block;
}



.match_row
{
    width:98%;
    margin:auto;
    background-color: white;
    padding-bottom: 0.2em;
    margin-top: 1em;
    border: 1px solid silver;
}

.match_row *{
    font-size:11pt;
}

.hidden
{
    display:none;
}


.ranking_table * td, .ranking_table * th{
    font-size: 11pt;
    padding: .4em;
    text-align: left;
}



 /* ---- CUP ---*/


.cup_team_box
{
    font-weight: bolder;
    padding-top: 0.5em;
	display: inline-block;
    vertical-align:top;
	width : 40%;
}


.cup_elimination_box
{
	min-height: 200px;
	width : 100%;
	margin: auto;
	overflow : hidden;
	font-size: 0.9em;
	border: 1px solid silver;



}

.cup_stage_wrapper
{
		/*width: 100%;*/
		overflow-x: auto;
        padding-bottom:2em;
}

.cup_stage_brackets
{
    width :auto;
    overflow-x:auto;
}

.cup_score_box
{
    background-color:#f89406;
    color:white;
    font-size: 1.8em;
    font-weight:bolder;
    text-align:center;
    padding-top: 0.2em;
    min-height: 1.8em;
	display: inline-block;
	width: 7%;
	border-bottom: 1px solid #e9e9e9 
}

.cup_match_date_label
{
	display: inline-block;
	width :14%;
	margin-right: 5px;
	margin-left: 0!important;
}

.cup_match_date_text
{
	display : inline-block;
	width: 30%;
}

.cup_match_place_label
{
	display:inline-block;
	width: 11%;

	margin-left: 0!important;
}

.cup_match_place_text
{
	display: inline-block;
	width: 74%;
}



.cup_team_box_small
{
	display: inline-block;
    vertical-align:top;
	width : 38%;
}




.cup_score_box_small
{
	background-color:none;
	color:#0f0f0f;
	font-size:1.4em;
	text-align:center;
	display: inline-block;
	width : 10%;
}

.cup_match_row
{
	background-color:#f0f0f0;
	padding: 0.5em;
	width:96%;
	margin: auto;
	margin-top:0.4em;
}


.cup_matchs_container
{
	overflow-y: none;
}

.stage_column
{
	width:30em;
	display:inline-block;
	vertical-align: top;
	margin-right:0.4em;
}


.no_margin_left:
{
		margin-left:0;
}

.pagination-block
{
    margin-top: 0.5em;
	display:block;
}

.pagination-block ul li 
{
	display: inline-block;
	list-style:none;
}

.pagination-block ul li.active a 
{
	background-color:#5bc0de;
	color: white;
}

.match_daytime
{
	font-size: 1.3em;
	font-weight: bolder;
		
}

footer {
    background-color: #FFF;
    border-top: 1px solid #EEE;
    min-height: 39px;
    padding-top:5px;
    position: absolute;
    left:0;
    bottom: 0;
    width: 100%;
    text-shadow: 2px 2px #eee;
    margin-top:10em!important;
    padding-bottom: 10px;

}

footer * p
{
    font-size:small;
    color: gray;
    margin:0;
    text-align:left;
}

.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
}
.container, .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.bg-dark { background-color:var(--dark-color) !important; }
.bg-gray { background-color:var(--gray-color) !important;}


.btn-xs { line-height:0.8em; font-size: 0.8em}

.form-check-label {padding-left:10%; padding-top:5px; }

.form-check {
    margin-top: 2em;
    border: 1px solid #ccc;
    border-radius: 5px;
    height:2.5em;
}


span.register-label {
    font-weight:bolder;
    font-size:0.8em;
    display:block;
    width:100%;
    border-bottom:1px solid #ccc;
}
span.register-info {
    display:block;
    width:100%;
}

label.col-form-label {
    font-weight:bolder;
    font-size:0.8em;
    display:block;
    width:100%;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {margin-top:0.5em}


.text-light.bg-warning {
    color: white!important;
    
    -webkit-text-fill-color: white; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: gray;
}

.fa.small{
    font-size: x-small!important;
}


small.badge {
    font-size: small!important;
    padding: 2pt;
}


td.period_1, td.period_3, td.period_5, td.period_7{
    background-color: #fff 
}

td.period_2, td.period_4, td.period_6, td.period_8{
    background-color: darkgray!important;
    color:white;
}
td.period{
    max-width:2em!important;
}

/* group-edit */

.group-edit-team-box{
	display: inline-block;
	width: 98%;
	margin: auto;
	padding: 0.5em;
	margin:0.2em;
	background-color: #ddd;
	font-weight: bolder;
}


/* race*/
.race-edit-box{
    padding: 0.5em;
    background-color: #e5e5e5;
    

}



/* -----  Bootstrap overwrite */
.btn.btn-primary{
    background-color: var(--primary-color);
    border-color:#002e7f;

}

.btn.btn-primary:hover{
    background-color: #003fab;
    border-color:#003fab;

}

.nav-item *
{
    font-size: 11pt!important;
    
}



.nav-item 
{
    border-right: 1px solid rgba(215,215,217,.2);
    padding-left: 10px;
    padding-right:10px;
}

.nav-link{

    color: rgba(255,255,255, .6) !important; 
}
.nav-link:hover{
    color: rgba(255,255,255, .8) !important; 

}

.nav-link.active{
    color: rgba(255,255,255, 1) !important; 

}



h1 small, h2 small , h3 small, 
h4 small, h5 small, h6 small{
    font-size: medium;
    color : gray;
}

h3 small.badge
{
    font-size: medium;
}


.card_title h5.title_text{
    font-size: medium!important;
    border-bottom: 1px solid rgba(21215,215,217,.1);

    padding-bottom: 10px;
;
}
h4.title_text{
    font-size:small!important;
    text-align: left;
    color:silver;
}
.breadcrumb
{
    background-color: #f2f2f2;
}

.newscontent blockquote{
    font-style:italic!important;
    border-left: 3px solid silver !important;
    padding-left: 1em;

}

.newscontent .videoframe{
    display: inline-block;
    margin: auto;
}

.nav-pill  a.nav-link{
	color: #003fab!important;
}

.nav-pill  a.nav-link.active{
	color: white!important;
}



