/* gutter */
.gutter-16 {
    margin-right: -8px;
    margin-left: -8px;
}

.gutter-16 [class*="col"]:not(.col-form-label),
.gutter-16 [class*="col-"]:not(.col-form-label) {
    padding-right: 8px;
    padding-left: 8px;
}

/* forms */
.form-group {
	position: relative
}

.form-control-label {
	-webkit-transition: top .2s ease-in-out, font-size .2s ease-in-out;
	left: 0;
	margin-left: 11px;
	line-height: 1;
	margin-bottom: 0;
	padding-left: 4px;
	padding-right: 4px;
	pointer-events: none;
	position: absolute;
	top: 15px;
	transition: top .2s ease-in-out, font-size .2s ease-in-out;
	color: #666666;
}
.form-control:-internal-autofill-selected + .form-control-label, 
.form-control:-webkit-autofill + .form-control-label {
	font-size: 10px;
	top: 8px;
}
.form-control.form-control-filled+.form-control-label {
	font-size: 10px;
	top: 8px;
}
.form-control.form-control-filled {
	padding-top: 27px;
}

input.form-control, select.form-control {
	height: 44px
}

.form-control {
	-webkit-transition: background-color .2s ease-in-out;
	background-color: #F2F2F2;
	border-color: #f2f2f2;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 400;
	transition: background-color .2s ease-in-out
}
.dark-theme .form-control {
	background-color: #f2f2f2;
	border-color: #f2f2f2;
}

.form-control.is-valid, .was-validated .form-control:valid {
	background-position: calc(-15px + 100%) 50%;
	background-size: 12px;
	border-color: #00a520
}

.form-control.is-invalid, .was-validated .form-control:invalid {
	background-position: calc(-15px + 100%) 50%;
	background-size: 12px;
	border-color: red
}

.form-control-filled, .form-control:focus {
	background-color: #f2f2f2;
	box-shadow: none
}

.custom-control .alert-danger,
.form-group .alert-danger {
	background: none;
	color: #F00000;
	padding: 5px 0;
	margin: 0;
	border: 0;
}

select.form-control {
	padding: 0 15px;
	line-height: 15px;
	height: 44px;
}
select.form-control.form-control-filled {
	padding-top: 6px;
	line-height: 44px;
}

/* RULES */
.row-rule .select2-container,
#detail-universe .select2-container{
	width: 100%!important;
}
.tr-rule-detail  .select2-container--disabled,
.modal .select2-container--disabled {
	background: #e9ecef
}

/*
.select2-container {
	height: 44px;
	padding: 8px;
	line-height: 15px;
	font-size: 12px;
	color: #666666;
	background-color: #F2F2F2;
	border: 0;
	border-radius: 0;
}
*/

.select2-container--default .select2-selection--single {
	height: 44px;
	padding: 8px;
	line-height: 15px;
	font-size: 12px;
	color: #666666;
	background-color: #F2F2F2;
	border: 0;
	border-radius: 3px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #666666;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	width: 44px;
	height: 44px;
	top: 0;
	right: 0;
}

.select2-dropdown,
.select2-container--default .select2-results > .select2-results__options {
	color: #666666;
	background-color: #F2F2F2;
	box-shadow: 0px 3px 6px #00000029;
	/* border: 1px solid #D9D9D9; */
	border-radius: 3px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: #212529;
	
}

.select2-container--default .select2-selection--multiple {
	background: #F2F2F2;
	border: 0;
}
.select2-container--open .select2-selection--single {
	background: #D9D9D9;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
	border: 0;
	background: #D9D9D9;
}

.select2-container--focus {
	background: #D9D9D9;
	border: 0;
	border-radius: 3px;
}
#select2-f_leagues-results .select2-multi-opt .select2-results__option {
  padding-right: 20px;
  vertical-align: middle;
}
#select2-f_leagues-results .select2-results__option:before {
  content: "";
  display: inline-block;
  position: relative;
  top: -2px;
  height: 16px;
  width: 16px;
  border-radius: 3px;
  background-color: #fff;
  margin-right: 5px;
  vertical-align: middle;
}
#select2-f_leagues-results .select2-results__option[aria-selected=true]:before {
  font-family: 'fidelisbet';
  content: "\e90c";
  color: #002342;
  font-size: 9px;
  display: inline-block;
  padding-left: 3px;
  line-height: 13px;
  box-shadow: none;
}
#select2-f_leagues-results  .select2-results__option[aria-selected=true] {
	background: none;
}

/* modal */
.modal-content {
	border-radius: 0;
	border-color: #E5E8EB;
    box-shadow: 0px 0px 6px #00000029;	
}
.modal-content .close {
	font-size: 0;
	height: 44px;
    width: 44px;
	margin-bottom: -44px;
	opacity: 1;
	position: relative;
	top: -7px;
    right: -17px;
	z-index: 2;
}
.modal-content .close::after {
	content: "\e90d";
	color: #002342;
	font-family: 'fidelisbet' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 13px;
}
.modal-header {
	padding: 13px 0;
	color: #fff;
	border-radius: 0;
	border: 0;
	background: #012342;
}
.modal-header .close::after {
	color: #fff;
}
.modal-header h4 {
	width: 100%;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}
.modal-header .close {
    position: absolute;
    right: 0;
    padding: 0;
    margin: 0;
    width: 44px;
    height: 44px;
    top: 0;
    color: #fff;
    opacity: 1;
    font-size: 0;
    font-weight: 200;
	text-shadow: none;
}
.modal-footer .btn + .btn {
	margin-left: 12px;
}
.modal-footer .btn:last-child {
	margin-right: 0;
}

/* tabs */
.nav-tabs {
	padding: 0 15px 1px;
	text-align: center;
	justify-content: center;
    align-items: center;
    border-bottom: 1px solid #002342;
}
.nav-item {
	width: 120px;
	margin: 0 4px;
}
.nav-tabs .nav-link {
	padding: 0;
	line-height: 42px;
	font-size: 12px;
	font-weight: 500;
	color: #666666;
	background: #E5E8EB;
	border-radius: 3px 3px 0 0; 
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	color: #fff;
	background: #012342;
}
.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active {
	border-color: #012342;
}
.tab-content {
	padding: 30px 0;
}

/* tabs - pill */
.nav-pills {
	text-align: center;
	justify-content: center;
    align-items: center;
}
.nav-pills .nav-item {
	width: 102px;
	margin: 0;
	background-color: #F2F2F2;
}
.nav-pills .nav-item:first-child {
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}
.nav-pills .nav-item:last-child {
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
	background-color: #002342;
}
.nav-pills .nav-link {
	color: #666666;
	border-radius: 3px;
	padding: 6px 0;
}
.nav-pills + .tab-content {
	padding-bottom: 15px;
}

#overlay-loader {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 99998;
	background-color: rgba(0,35,66,0.5);
}
#global-loader {
	display: none;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #002342;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99999;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* market stats */
.col-top-left-active {
	border-top: 1px solid #002342!important;
	border-left: 1px solid #002342!important;
	border-top-left-radius: 5px;
}
.col-top-right-active {
	border-top: 1px solid #002342!important;
	border-right: 1px solid #002342!important;
	border-top-right-radius: 5px;
}
.col-left-active {
	border-left: 1px solid #002342!important;
}
tr:last-child .col-left-active {
	border-bottom: 1px solid #002342!important;
}
.col-right-active {
	border-right: 1px solid #002342!important;
}
tr:last-child .col-right-active {
	border-bottom: 1px solid #002342!important;
}

/* - error page - */
.error-page-wrapper {
	font-size: 14px;
	color: #002342;
	padding-top: 30px;
}
.error-page-wrapper .display-1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 30px;
}
.error-page-wrapper .icon-deflated {
	font-size: 93px;
}
.error-page-wrapper .help-links {
	margin-top: 30px;
	margin-bottom: 140px;
}
.error-page-wrapper .help-links ul {
	font-size: 12px;
	padding-left: 0;
	margin-top: 10px;
    list-style-type: none;
}
.error-page-wrapper .help-links a {
	display: inline-block;
	color: #012342;
	text-decoration: underline;
    padding-top: 6px;
    padding-bottom: 6px;
}
.error-page-wrapper .help-links a:hover {
	opacity: .5;
}

/* - help page - */
.help-page-intro {
	font-size: 14px;
	margin-bottom: 45px;
}
.help-faq-accordion {
	margin-bottom: 60px;
}
.help-card {
	border-bottom: 1px solid #012342;
}
.help-card-title {
	font-size: 14px;
	margin-top: 20px;
	margin-bottom: 15px;
}
.help-card-text {
	color: #666666;
	font-size: 13px;
}
.help-card-text::after {
	content: "";
	display: block;
	height: 30px;
}
.help-card-link {
	padding: 0;
    margin: auto;
    text-align: center;
    display: block;
    height: 20px;
    margin-top: -5px;
    margin-bottom: -10px;
}
.help-card-link:focus,
.help-card-link:hover {
	box-shadow: none;
}
.help-card-link .icon-more,
.help-card-link .icon-less {
	font-size: 20px;
}
.help-card-link[aria-expanded="true"] .icon-more,
.help-card-link .icon-less {
	display: none;
}
.help-card-link[aria-expanded="true"] .icon-less {
	display: block;
}
.help-telegram-block {
	text-align: center;
	margin-bottom: 60px;
}
.help-telegram-block,
.help-telegram-block:hover {
	color: #29AAED;
}
.help-telegram-block:hover {
	opacity: .7;
	text-decoration: none;
}
.help-telegram-block .icon-telegram {
	font-size: 20px;
	line-height: 44px;
    padding-right: 4px;
    height: 44px;
    width: 44px;
    border-radius: 100%;
	margin: 0 auto 10px;
    background-color: #29AAED;
}
.help-contact-form-intro {
	font-size: 14px;
    margin-bottom: 20px;
    font-weight: 700;
}
.help-contact-form textarea {
	height: 130px;
}
