/*
Copyright 2017 Phil Hayward <phayward@clearwateranalytics.com>.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/* 
    Created on : Feb 2, 2017, 12:18:43 PM
    Author     : Phil Hayward <phayward@clearwateranalytics.com>
*/

html, body {
    margin: 0px;
    padding:0px;
    font-family: Verdana, Geneva, sans-serif;
    height:100%;
    overflow-y: hidden;
}

#sumo-content-container {
    padding-left:20px;
    padding-right:20px;
    position:relative;
    z-index: 10;
    height:100%;
    overflow-y: auto;
}

#landing-content h1 {
    font-size:40pt;
    margin-bottom: 0.25em;
}

#landing-content ul {
    list-style:none;
}

#landing-content li {
    font-size:20pt;
    margin-bottom:10px;
}

#landing-content .column {
    display:inline-block;
    vertical-align: top;
    min-width: 320px;
}

#landing-content .column.l1 {
    width: 49%;
}

#landing-content .column.l2 {
    width: 100%;
}
body {
    background: url('images/sumo-06.jpg');
    background-attachment: fixed;
    background-size: cover;
    position:fixed;
    top:0px;
    left:0px;
}

body > .overlay {
    position: fixed;
    top: 0px;
    left:0px;
    width:100%;
    height:100%;
    background:#FFF;
    opacity: 0.7;
    z-index:5;
}

.scale-to-fit {
    max-height: 100%;
    max-width: 100%;
}

div.bracket-column {
	display:inline-block;
	vertical-align:top;
}

div.bracket-entry {
	padding:0px;
	margin-top:4px;
	padding:0px 16px;
	line-height: 16px;
	background-color:white;
	border:1px solid darkgray;
}

div.bracket-entry span {
	background-color:white;
	padding:4px;
	padding-bottom:0px;
	display:inline-block;
	height:18px;
}

div.bracket-column-0 div.bracket-entry {
	padding:0px 16px;
	margin-top:4px;
	margin-bottom:6px;
}

div.bracket-column-1 div.bracket-entry {
	padding:4px 16px;
	margin-top:16px;
	margin-bottom:30px;
}

div.bracket-column-2 div.bracket-entry {
	padding:24px 16px;
	margin-top:28px;
	margin-bottom: 52px;
}

div.bracket-column-3 div.bracket-entry {
	padding:56px 16px;
	margin-top:58px;
	margin-bottom:90px;
}

div.bracket-column-4 div.bracket-entry {
	padding:120px 16px;
	margin-top:122px;
	margin-bottom:244px;
}

div.bracket-column-5 div.bracket-entry {
	padding:248px 16px;
	margin-top:250px;
	margin-bottom:500px;
}

div.bracket-column-6 div.bracket-entry {
	padding:504px 16px;
	margin-top:508px;
	margin-bottom:1016px;
}

div.bracket-column-7 div.bracket-entry {
	padding:1020px 16px;
	margin-top:1022px;
	margin-bottom:2044px;
}

div.bracket-column-8 div.bracket-entry {
	padding:2048px 16px;
	margin-top:2050px;
	margin-bottom:4100px;
}

.winCount {
	font-size:8pt !important;
	color:#aaa;
	padding-right: 0px !important;
}

.smallLink {
	font-size:10px;
	color:#ccc;
	cursor: pointer;
}

div#admin-code {
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	padding:5px 10px;
	background:#f8f8ff;
}

div#admin-code div {
	position:absolute;
	top:35px;
	left:10px;
	right:10px;
	bottom:10px;
}

div#admin-code div textarea {
	width:100%;
	height:100%;
}

.full-screen-editor {
	z-index:15;
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:#fff;
	overflow-y:auto;
	box-sizing: border-box;
	padding:5px;
}

.editor-flex-container {
	overflow: hidden;
	height:100%;
	width:100%;	
	flex:1 1 auto;
}

.editor-flex-container, .full-screen-editor, #editContainer {
	display:-webkit-flex;
	display:flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;	
}

.can-grow {
	-webkit-flex-grow:1;
	-ms-flex-grow:1;
	flex-grow:1;
	min-height:300px;
}

.fixed-size {
	-webkit-flex: none !important;
	-ms-flex: none !important;
	flex: none !important;
}

.full-screen-editor iframe {
	width:100%;
	height:100%;
	border:0px;
}

.ace_editor {
	height:100%;
}

#simulator .section {
    display:inline-block;
    margin-left:10px;
    vertical-align: top;
}