html,
body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 18px;
	margin: 0;
	overflow: hidden;
  height: 100%;
}

body>div {
	height: 100%;
	overflow: hidden;
	-webkit-overflow-scrolling: auto;
}
/*
https://stackoverflow.com/questions/16637031/completely-disable-scrolling-of-webpage
To disable scrolling via pressing arrow keys on keyboard:
window.addEventListener("keydown", function(e) {
    // space, page up, page down and arrow keys:
    if([32, 33, 34, 37, 38, 39, 40].indexOf(e.keyCode) > -1) {
        e.preventDefault();
    }
}, false);
*/

/* fix re-com single dropdown container to be same height as everything else on navigation line*/
.chosen-container-single>.chosen-single {
    height: 31px;
    line-height: 31px;
}

/*
Override & copy styles from bootstrap 3.3.5 that re-com 2.1.0 still uses but are changed or removed in bs 4.0
*/
.btn {
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  /* bs 4.0 changes this to 1.5 from 4.0-alpha that has it at 1.25
  We need to match all nav buttons */
  line-height: 1.25;
}
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    padding: 6px 10px;
}

.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.navbar-main {
  margin-bottom: 10px;
  border-radius: 0px;
  background-color: #275645; /*#5cb85c;*/
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 6px;
  padding-right: 1rem;
  display: flex;
  justify-content: space-between;
}

/* Used when system is taking a screenshot/recording. Can be enabled with url param ?ui=clean */
nav.navbar-main-clean {
	padding-top: 0px;
	height: 0px;
	overflow: hidden;
}

.navbar-brand {
  float: none;
}
.nav .nav-item {
  float: left;
  margin-bottom: 10px;
  height: 34px;
  margin-left: 1rem;
}

.nav button {
	/*padding: 0 0;*/
}

.navbar-divider,
.nav .nav-item+.nav-item,
.nav .nav-link + .nav-link {
  margin-left: 1rem;
}

/* we are using bootstrap 4.0.0 but re-com is still with 3.3.x. Add a few styles from bootstrap 3.x (from re-com demo)
for compatibility */
.nav {
 padding-left:0;
 margin-bottom:0;
 list-style:none;
}
.nav>li {
 position:relative;
 display:block
}
.nav>li>a {
 position:relative;
 display:block;
 padding:10px 15px
}
.nav>li>a:focus,.nav>li>a:hover {
 text-decoration:none;
 background-color:#eee
}
.nav>li.disabled>a {
 color:#777
}
.nav>li.disabled>a:focus,.nav>li.disabled>a:hover {
 color:#777;
 text-decoration:none;
 cursor:not-allowed;
 background-color:transparent
}
.nav .open>a,.nav .open>a:focus,.nav .open>a:hover {
 background-color:#eee;
 border-color:#337ab7
}
.nav .nav-divider {
 height:1px;
 margin:9px 0;
 overflow:hidden;
 background-color:#e5e5e5
}
.nav>li>a>img {
 max-width:none
}

.nav-tabs {
 /*! border-bottom:1px solid #ddd; */
}
.nav-tabs>li {
 float:left;
 margin-bottom:-1px
}
.nav-tabs>li>a {
 margin-right:2px;
 line-height:1.42857143;
 border:1px solid transparent;
 border-radius:4px 4px 0 0
}
.nav-tabs>li>a:hover {
 border-color:#eee #eee #ddd
}
.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover {
 color:#555;
 cursor:default;
 background-color:#fff;
 border:1px solid #ddd;
 border-bottom-color:transparent
}

.fade.in {
    opacity: 1;
}



/*
@media (min-width: 34em) {
  .navbar-brand {
    float: left;
  }
  .navbar-nav .nav-item {
    float: left;
  }
  .navbar-divider,
  .navbar-nav .nav-item+.nav-item,
  .navbar-nav .nav-link + .nav-link {
    margin-left: 1rem;
  }
}
*/
.nav-link {
	color: lightgrey;
}
.nav-link:hover, .nav-link:active {
    color: white;
}

@-moz-keyframes three-quarters-loader {
    0% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-webkit-keyframes three-quarters-loader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes three-quarters-loader {
    0% {
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.pitch{
    background-color: #238729;
    width: 590px;
    height: 380px;
    position: relative;
}
.pitch:after{
  content: "";
  border-left: 1px solid white;
  position: absolute;
  top :20px;
  left :295px;
  display:block;
  height:340px;
}

.pitch:before{
  content: "";
  border: 1px solid white;
  position: absolute;
  top :20px;
  left :20px;
  display:block;
  width: 550px;
  height:340px;
}

.center-circle{
    position: absolute;
    top: 145px;
    left: 250px;
    width: 90px;
    height: 90px;
    border: 1px solid white;
    border-radius: 50%;
}
.center-circle:after{
    position: absolute;
    top: 43px;
    left: 43px;
    width: 1px;
    height: 1px;
    background-color:white;
    content:"";
    border:1px solid white;
}

.penalty-area{
    position: absolute;
    height: 140px;
    width: 80px;
    top: 120px;
    border: 1px solid white;
}

.left .penalty-area{
    left: 20px;
    border-left: 0;
}

.right .penalty-area{
    right: 19px;
    border-right: 0;
}

.penalty-area:before{
    position: absolute;
    height: 70px;
    width: 35px;
    top: 35px;
    border: 1px solid white;
    content:"";
}
.left .penalty-area:before{
   left:0px;
  border-left:0;
}
.right .penalty-area:before{
   right:0px;
  border-right:0;
}

.penalty-area:after{
    position: absolute;
    height: 2px;
    width: 2px;
    top: 70px;
    background-color:white;
    content:"";
}
.left .penalty-area:after{
    right:15px;
}
.right .penalty-area:after{
    left:15px;
}

.rc-icon-regular {
    height:              24px;
    font-size:           24px;
    line-height:         24px;
}

.goal-pointer-area {
	  margin-left:     -3%;
	  margin-top:      -7%;
    position:        absolute;
}

.player-marker {
	position: absolute;
	margin-left: -20px;
	margin-top: -20px;
}

.player-marker-face {
	position: absolute;
	left:     12px;
	top:      6px;
	color:    sandybrown;
	font-size: 14px;
}

.player-marker-hair {
	position: absolute;
	left:     10px;
	top:      7px;
	color:    darkbrown;
	font-size: 20px;
}

.player-marker-number {
	position: absolute;
	left:     12px;
	top:      19px;
	color:    white;
	font-size: 14px;
	font-weight: bold;
	background-color: #565051;
	line-height: 0.9;
}

.posture-setter-container {
	position: absolute;
	width:     40px;
	height:    40px;
	font-size: 80px;
}

.posture-setter-marker {
	position: absolute;
	top:     -50px;
	left:    -20px;
	opacity:  0.6;
	color:    coral;
}


.play-find-name-filter {
  background: url("/assets/css/chosen-sprite.png") no-repeat 100% -20px, #ffffff;
  border: 1px solid #cccccc;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  margin: 1px 0;
  padding: 4px 20px 4px 4px;
  width: 100%;
}

.play-thumbnail {
/*
	width: auto;
	height: 6em;
	*/
	max-width: 100%;
	padding-right: 10px;
	/* make white bg transparent on chrome, ff, safari */
	mix-blend-mode: multiply;
}

.about-image {
	display: none;
}

.locale-dropdown {
	display: none;
}

.play-search-row-unselected {
	padding-top : 4px;
}

.play-search-row-selected {
	padding-top : 4px;
	background-color : #ecf6ff;
	border:2px solid lightblue;
}

.play-search-row p {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.privacy-policy-container {
	margin-left: 40px;
	margin-right: 40px;
}

.game-type-footer {
	padding-top: 6px;
	padding-right: 20px;
	display: flex;
	justify-content: center;
}

.calendar-date-unselected {
	flex: 1 0 auto;
	width: 100px;
}

.calendar-date-selected {
	flex: 1 0 auto;
	width: 100px;
	background-color : #ecf6ff;
	border:2px solid lightblue;
}

.calendar-element-unselected {
	float: left;
	width: 50px;
	height: 50px;
	padding-right: 2px;
}

.calendar-element-selected {
	/* background-color : #ecf6ff; */
	width: 100px;
	height: 100px;
	padding-right: 2px;
}

.boardcalendar-element {
	width: 100px;
	height: 100px;
	border-style: solid;
	border-color: lightgrey;
	border-width: 0px 1px 0px 1px;
	cursor: pointer;
}

.boardcalendar-element-selected {
	border-style: solid;
	border-color: lightblue;
	border-width: 1px 2px 1px 2px;
	cursor: default;
}

.boardcalendar-adjacent-day-button {
	height: 100px;
	padding-top: 38px;
	opacity: 0.6;
}

.calendar-play-thumbnail {
	width: 100%;
	mix-blend-mode: multiply;
}

.calendar-vertical {
	margin-left: 4px;
	min-width: 100px;
}

.calendar-vertical:after {
  content  : "";
  position : absolute;
  z-index  : 1;
  bottom   : 0;
  left     : 0;
  background-image : linear-gradient(to bottom,
                    rgba(255,255,255, 0),
                    rgba(255,255,255, 1) 90%);
  width    : 100%;
  height   : 10%;
}

.profile-header {
	background-color: lightslategrey;
	color: white;
	padding-left: 6px;
	padding-right: 6px;
	margin-bottom: 0px;
	padding: 0.3rem;
}

.collapsible-panel-button>i {
 font-size: 48px;
 line-height: 36px;
}

td.rc-box {
	padding: 2px;
}

/* center status pill texts on profile page */
div.small.badge-pill {
	text-align: center;
}

/* override default re-com css style for dropdown-single */
#locale>a.chosen-single {
	background-color: transparent;
	border: none;
}

/* re-com's default link color, light blue, is too light. Note that this link is in the markdown so other
bootstrap styles are not applied (like btn-lnk) */
div.about a {
	color: #014c8c;
}

.landscape-device-ad {
	display: none;
}

.portrait-device-ad {
	display: none;
}

@media (min-width: 450px) {
	.about-image {
		display: block;
		width: 40px;
		margin-right: 10px;
	}
	.locale-dropdown {
		display: block;
	}
	.landscape-device-ad {
		display: block;
	}
	.portrait-device-ad {
		display: none;
	}
}

@media (min-width: 580px) {
	.landscape-device-ad {
		display: block;
	}
	.portrait-device-ad {
		display: none;
	}
}

@media (max-width: 580px) {
	.landscape-device-ad {
		display: none;
	}
	.portrait-device-ad {
		display: block;
	}
}

/* oversize rc's default font styles */
.rc-icon-larger {
    height: 36px;
    font-size: 36px;
    line-height: 36px;
}

/* some of the popover contents don't stay on screen - this is an immediate remedy,
not a perfect solution */
.popover-content {
	max-width: 70vw;
	z-index: 999;
}
/* bs has annoying habit of fiddling with z-index */
.btn-group>.btn.active {
 z-index: inherit;
}

nav h1 {
	color: white;
}

@media only screen and (max-width: 600px) {
  div.example {
    display: none;
  }
}