img {
	width: 100%;
}

.bootstrap-touchspin-down, .bootstrap-touchspin-up {
	height: 40px;
	background-color: #f7f7f7;
}

.bootstrap-touchspin-down {
	border-right: 0;
}

.bootstrap-touchspin-postfix {
	border-left: 0;
}

.table > thead > tr > th {
	vertical-align: middle;
}

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modalloading {
	display:    none;
	position:   fixed;
	z-index:    1000;
	top:        0;
	left:       0;
	height:     100%;
	width:      100%;
	background: rgba( 0, 0, 0, .8 )
	url('../../img/ajax-loader.gif')
	50% 50%
	no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
	overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modalloading {
	display: block;
}

tr.tr-primary td {
	background-color: #428BCA !important;
	color: #fff;
}

tr.tr-success td {
	background-color: #5cb85c !important;
	color: #fff;
}

tr.tr-warning td {
	background-color: #F0AD4E !important;
	color: #fff;
}

tr.tr-danger td {
	background-color: #D9534F !important;
	color: #fff;
}

tr.tr-info td {
	background-color: #5BC0DE !important;
	color: #fff;
}

.table-dark thead tr th {
	background-color: #4e5154;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

.list-group.tabs {
    margin-bottom: 0;
}

.list-group.tabs .list-group-item {
    display: inline-block;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    background-color: #fff;
    color: #333;
}
.list-group.tabs .list-group-item:hover,
.list-group.tabs .list-group-item.active {
    background: #428bca;
    color: #fff;
}

.label.label-rounded {
	height: 23px;
	width: 23px;
	border-radius: 50%;
	display: inline-block;
}

#competitionsList.table-striped > tbody > tr > td:nth-child(5) {
	text-align: center;
}

#inputMatchesList tr td input {
	width: 20px;
}

#inputMatchesList input[type="number"]::-webkit-outer-spin-button,
#inputMatchesList input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
#inputMatchesList input[type="number"] {
	-moz-appearance: textfield;
}

.new-season-data {
	padding-left: 5px;
	padding-right: 5px;
}

.img-container {
	width: 100px;
	height: 100px;
	border: 1px solid #666;
	margin-bottom: 10px;
	overflow: hidden;
	position: relative;
}

.img-container img {
	position: absolute;
	left: 50%;
	top: 50%;
	height: 100%;
	width: auto;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 90px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 82px;
	width: 50%;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #2196F3;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(calc(100% - 8px));
	-ms-transform: translateX(calc(100% - 8px));
	transform: translateX(calc(100% - 8px));
}

label.label-trans-primary {
	color: #428BCA !important;
	background-color: transparent;
}

label.label-trans-success {
	color: #5cb85c !important;
	background-color: transparent;
}

label.label-trans-warning {
	color: #F0AD4E !important;
	background-color: transparent;
}

label.label-trans-danger {
	color: #D9534F !important;
	background-color: transparent;
}

label.label-trans-info {
	color: #5BC0DE !important;
	background-color: transparent;
}

.form-group.required label::after {
	content: '\002a';
	color: #D9534F;
	margin-left: 5px;
}

.has-error input {
	border-color: red;
}

.error-text {
	display: none;
}

.has-error .error-text {
	display: block;
	color: red;
	margin-bottom: 10px;
	font-size: 80%;
}

.has-error input {
	margin-bottom: 5px;
}

.has-error .styled-select {
	border-color: red;
	margin-bottom: 5px;
}

.clear-fix {
	clear: both;
}

.hide-outer-border .select2-container {
	border: 0;
	padding: 0;
}

form#edit-rule #cke_content {
	max-width: 745px;
	margin: auto;

}

.select2 {
	display: block;
}

.text-bold {
	font-weight: bold;
}

.m-0 { margin: 0 !important; }

.m-t-5 { margin-top: 5px !important; }
.m-t-10 { margin-top: 10px !important; }

.m-b-5 { margin-bottom: 5px !important; }
.m-b-10 { margin-bottom: 10px !important; }

.m-r-5 { margin-right: 5px !important; }
.m-r-10 { margin-right: 10px !important; }
.m-r-15 { margin-right: 15px !important; }
.m-r-20 { margin-right: 20px !important; }
.m-r-40 { margin-right: 40px !important; }

.m-l-5 { margin-left: 5px !important; }
.m-l-10 { margin-left: 10px !important; }
.m-l-15 { margin-left: 15px !important; }
.m-l-20 { margin-left: 20px !important; }
.m-l-40 { margin-left: 40px !important; }

ul.upload-images, ul.upload-trail {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.upload-images li, ul.upload-trail li {
	width: 150px;
	height: 150px;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
	position: relative;
}
ul.upload-images li img {
	width: 100%;
}
ul.upload-images li button {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(0, 0, 0, .45);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	color: #fff;
	font-size: 13pt;
	opacity: 0;
	transition: ease-in-out opacity 200ms;
}
ul.upload-images li:hover button {
	opacity: 1;
}
ul.upload-images li button#delete-photo {
	right: 5px;
}
ul.upload-images li button#cover-photo {
	right: 50px;
}
ul.upload-images li[data-cover="true"] button#cover-photo {
	color: #ffa900;
}

.dropzone.dz-clickable {
	width: 150px;
	height: 150px;
	border: 1px solid #ddd;
	border-radius: 3px;
	position: relative;
	padding: 0;
}
.dropzone.dz-clickable * {
	cursor: pointer;
}
.dropzone.dz-clickable .center {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	padding-top: 45px;
	z-index: 1;
}
.dropzone.dz-clickable i  {
	font-size: 22pt;
}
.dropzone.dz-clickable .dz-preview {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 2;
	margin: 0;
}
.dropzone .dz-preview .dz-image {
	height: 150px;
	width: 150px;
	border-radius: 3px;
}
.dropzone.dz-clickable .dz-preview img {
	width: 100%;
}
.dropzone.dz-clickable .dz-error-message {
	display: none;
}
.dropzone.dz-clickable .dz-details {
	display: none;
}
.dropzone .dz-message {
	display: none;
}

.g-maps {
	width: 100%;
	height: 350px;
	margin: 5px 0;
}

.opening-hours {
	max-width: 400px;
}
.opening-hours .form-control {
	padding: 5px 10px;
}

.dl-horizontal dt {
	text-align: left;
}

table.table-opening-hours tr td:nth-child(1) {
	font-weight: 500;
	vertical-align: top;
	width: 35%;
}
table.table-opening-hours tr td:nth-child(2) {
	padding-left: 5px;
	vertical-align: top;
}

label.inline {
	line-height: 35px;
}

.select2-container {
	display: block;
}

.table.table-weekdays td,
.table.table-weekdays th {
	width: 14.28%;
	text-align: center;
	padding: 4px;
}

.input-append > input, .input-prepend > input {
	display: inline-block;
	width: calc(100% - 50px);
}

.input-append span.add-on {
	display: inline-block;
	padding: 10px;
	padding-top: 8px;
	margin-left: -5px;
	width: 50px;
	font-size: 14px;
	font-weight: normal;
	line-height: 20px;
	text-align: center;
	text-shadow: 0 1px 0 #ffffff;
	background-color: #eeeeee;
	border: 1px solid #ccc;
}

ul.nav li.indent {
	margin-left: 10px;
}

/*span.label {*/
	/*width: 15px;*/
	/*height: 15px;*/
	/*padding: 0;*/
	/*display: inline-block;*/
	/*border-radius: 50%;*/
/*}*/

input[type="text"].form-control,
input[type="number"].form-control {
	padding-bottom: 11px;
}

.select2-container {
	width: 100% !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 40px;
}
.select2-container .select2-selection--single {
	height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 40px;
}

.input-placeholder {
	position: relative;
	bottom: 30px;
	left: 11px;
	color: rgba(0,0,0,.35);
}

.row.pictures {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	flex-wrap: wrap;
}
.row.pictures > [class*='col-'] {
	display: flex;
	flex-direction: column;
}