﻿/*
Drone Aware - GR (c) by Dimitrios Simos

Drone Aware - GR is licensed under a
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

You should have received a copy of the license along with this
work. If not, see <http://creativecommons.org/licenses/by-nc-nd/4.0/>.
*/

body {
	text-shadow: none !important;
}

.header {
	position: fixed;
	top: 0px;
	width: 100%;
}

.footer {
	position: fixed;
	bottom: 0px;
	width: 100%;
	height: 1.7em;
}

.map_wrapper {
	padding: 0px;
	position: fixed;
	top: 5.3em;
	bottom: 1.7em;
	width: 100%;
}

@-moz-document url-prefix() {
	.map_wrapper { top: 5.45em; }
}

.map {
	height: 100%;
}

.ui-header .ui-title, .ui-footer .ui-title
{
	overflow: visible;
}

.header .ui-navbar li .ui-btn
{
	font-size: 0.6em;
	padding: 0.8em;
}

.ui-header .ui-btn-left, .ui-header .ui-btn-right {
	font-size: 0.8em;
}

/* 
 * Initialization text and image
 *
 * */
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: #fff;
}

.centered_absolute {
	position: absolute;
	text-align: center;
	top: 50%;
	left: 0;
	width: 100%;
	margin-top: -30px;
}

.ui-datebox-container {
	border-width: 0px;
}

.warning {
    background: #fff3a5;
    padding: 0.5em 1em;
    margin: 1em;
    border-radius: 5px;
}

/*
 * Banners
 */
.draw_banner {
	position: absolute;
	top: 0.5em;
	left: 0%;
	right: 0%;
	width: 10rem;
	margin: auto;
	padding-top: 0.5rem;
	z-index: 1000;
	text-align: center;
	height: 3rem;
	display:inline-block;
	background-color: Gold;
	background-image: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255,255,255,.5) 15px, rgba(255,255,255,.5) 30px);
	line-height: normal;
	color: black;
	pointer-events: none;
	border-radius: 10px;
	opacity: 0.8;
}

.ui-slider-handle
{
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

.ol-control:hover
{
	background-color: rgba(255,255,255,.4) !important;
}

.ol-control button
{
	background-color: rgba(0,60,136,.5) !important;
	outline: 0 !important;
	cursor: pointer;
}

.mytab {
    width: 16.66% !important;  /* 12.5% for 8 tabs wide */
    clear: none !important;  /* Prevent line break caused by ui-block-a */
}

.ol-scale-line
{
	bottom: 5em;
	right: 0.5em;
	left: auto;
}

/*
 * REMOVED FOR COMPATIBILITY WITH TOUCH DEVICES
.ol-control button:hover
{
	background-color: rgba(0,60,136,.7) !important;
}
*/
.prohibited_banner {
	position: absolute;
	bottom: 0.5em;
	width: 10rem;
	left: 0%;
	right: 0%;
	margin: auto;
	padding-top: 0.5rem;
	z-index: 1000;
	text-align: center;
	height: 3rem;
	display:inline-block;
	background-color: red;
	background-image: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255,255,255,.5) 15px, rgba(255,255,255,.5) 30px);
	line-height: normal;
	color: white;
/*	pointer-events: none;*/
	border-radius: 10px;
}

.warning_banner {
	position: absolute;
	bottom: 4.5em;
	width: 10rem;
	left: 0%;
	right: 0%;
	margin: auto;
	padding-top: 0.5rem;
	z-index: 1000;
	text-align: center;
	height: 3rem;
	display:inline-block;
	background-color: yellow;
	background-image: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255,255,255,.5) 15px, rgba(255,255,255,.5) 30px);
	line-height: normal;
	color: black;
/*	pointer-events: none;*/
	border-radius: 10px;
}

.checking_banner {
	position: absolute;
	top: 0%;
	bottom: 0%;
	left: 0%;
	right: 0%;
	margin: auto;
	width: 10em;
	height: 1.5em;
	z-index: 1000;
	background-color: grey;
	text-align: center;
	color: white;
	border-radius: 10px;
}

.geolocate-me {
	bottom: 0.5em;
	left: 0.5em;
}

.draw-modify-control {
	bottom: 0.5em;
	left: 0.5em;
}

.draw-select-shape-control {
	bottom: 2.5em;
	left: 0.5em;
}

.draw-clear-control {
	bottom: 0.5em;
	left: 2.5em;
}

.ol-touch .draw-clear-control {
	bottom: 0.5em;
	left: 3em;
}

#popup_info_container {
	font-size: 0.7em;
}

.scroll { 
	max-height: 50px; 
	overflow: auto;
/*	-webkit-overflow-scrolling: auto;
	overflow-x: hidden;*/
}

.none {
	display: none;
}

.ui-grid-c .ui-btn {
	padding-left: 0.3em;
	padding-right: 0.3em;
}

/*
 * Openlayers specific css
 */
.ol-rotate {
	top: 3em;
}
#popup_info_content
{
	overflow: auto;
}
.ol-popup {
        position: absolute;
        background-color: white;
        -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
        filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
        padding: 10px;
        border-radius: 10px;
        border: 1px solid #cccccc;
        bottom: 12px;
        left: -50px;
/*	min-width: 110px;*/
}
.ol-popup:after, .ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
/*	pointer-events: none; */
}
.ol-popup:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
}
.ol-popup:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
}
.ol-popup-closer {
        text-decoration: none;
        position: absolute;
        top: -20px;
        right: 8px;
}
.ol-popup-closer:after {
        content: "✖";
}

.pilot_flight_wrapper {
    /*background-color: #E6E6FA !important;*/
}

h2 {
    text-align: center;
}

#popup_info_closer {
		position: absolute;
		top: -20px;
		right: -10px;
}

.wide_margin { margin: 0 10% !important; }

.ui-datepicker { z-index: 999 !important; }

.simple, .simple th, .simple td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 10px;
}

.header_img_l {
	padding-top: 1px;
}
.header_img_r {
	padding-top: 1px;
	right: .5em !important;
}
.header_img_rr {
	padding-top: 0px;
	right: 3em !important;
}

.c_align {
	text-align: center;
}
.red {
	color: red;
}
.label_invalid 
{
	color: red;
}

.expired
{
	color: gray;
}

.signed_in_icon
{
	display: none;
	cursor: pointer;
}
.vatt
{
	vertical-align: text-top;
}
.sign_in_icon
{
	cursor: pointer;
}
.info_icon
{
	cursor: pointer;
}

.refresh_icon
{
	right: 3em !important;
	cursor: pointer;
}

.disabled_btn {
	
}

/*
.ui-focus {
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}
*/

.info {
    background: #D6EAF8;
    padding: 0.5em 1em;
    margin: 1em;
    border-radius: 5px;
}

.fr { float: right; }
.fl { float: left; }

.ol_date_slider_wrapper_div
{
	font-size: 0.6em;
	bottom: 1em;
	left: 8em;
	right: 8em;
}


.ol_date_slider .ui-rangeslider, .ol_date_slider .ui-rangeslider-sliders {
	margin: 0 20px !important;
}

.ol_date_slider_a.ui-slider-input {
	display : none !important;
}
.ol_date_slider_b.ui-slider-input {
	display : none !important;
}
/*
 * change the slider input width so as to appear nice in firefox
 */
input.ui-slider-input
{
	width: 50px;
}

.ui-slider-track
{
	margin: 0 15px 0 85px;
}

.ui-flipswitch .ui-btn.ui-flipswitch-on {
  text-indent: -3.5em;
}
.ui-flipswitch .ui-flipswitch-off {
  text-indent: 1em;
}

.allowed_flt_rect_label		{ border: medium solid rgb(0, 0, 250); }
.rejected_flt_rect_label 	{ border: medium solid rgb(250, 0, 0); 	background-color: #FA8072; }
.past_flt_rect_label 		{ border: medium solid rgb(100, 100, 100); }
.lim_rect_label 		{ border: medium solid #F7F3BD; 	background-color: #F7F3BD; }
.past_lim_rect_label 		{ border: medium solid #F7F3BD; }
.warning_rect_label 		{ border: medium solid #DDA0DD; 	background-color: #DDA0DD; }
.past_warning_rect_label	{ border: medium solid #DDA0DD; }
.permifrag_rect_label 		{ border: medium solid #66FF66; 	background-color: #66FF66; }

.TMA_rect_label 		{ border: medium solid rgb(153, 85, 160); }
.CTR_rect_label 		{ border: medium solid rgb(152, 143, 230); }
.ATZ_rect_label 		{ border: medium solid rgb(230, 98, 211); }
.LG_rect_label 			{ border: medium solid rgb(205, 133, 63); }

.rect_label
{
	width: 19%;
	height: 20px;
	margin-left: 5px;
	float: right;
}

.label_text
{
	float: left;
	width: 79%;
}
.label_container
{
    display: flex;
    align-items: center;
}

.note08
{
	font-size: 0.8em;
}

.note06
{
	font-size: 0.6em;
}

.flt_validity_icon
{
	cursor: pointer;
}

.flt_LG_warning_icon
{
	padding-left: 1px;
	padding-right: 1px;
}

.flt_HP_warning_icon
{
	padding-left: 1px;
	padding-right: 1px;
}
/*
.flt_prof_icon
{
	padding-left: 1px;
	padding-right: 1px;
}
*/
.header_logged_in_img
{
	cursor: pointer;
	padding-top: 1px;
	display: none;
}

.reload_btn
{
	cursor: pointer;
	margin-left: 0.5em;
	margin-bottom: -0.15em;
	display: none;
}

.reload_fl_btn
{
	cursor: pointer;
	margin-left: 0.5em;
	margin-bottom: -0.35em;
}

.reload_ll_btn
{
	cursor: pointer;
	margin-left: 0.5em;
	margin-bottom: -0.35em;
}

.reload_all_btn
{
	cursor: pointer;
	margin-left: 0.5em;
	margin-bottom: -0.35em;
}

#footer_text
{
	float: left;
	font-size: 0.6em;
	padding: 0.2em;
}
#footer_icon 
{
	float: right;
}

.stat_canvas_div
{
	position: relative;
	height: 300px;
}

#auth_comment_update_div {
	right: 0em;
	width: 33%;
}

.flt_auth_comment_icon
{
	padding-left: 1px;
	padding-right: 1px;
	vertical-align: text-bottom;
}

.pointer { cursor: pointer; }

@media only screen and (max-width: 1400px)
{
	.overflow_x {
		overflow-x: auto;
	}
}

/* The following media query aims to make all 
 * pages except the map_page look nicer in the eye. */
@media only screen and (min-width: 500px)
{
	.restrict_width {
		max-width: 500px !important;
                margin: 0 auto !important;
                position: relative !important;
	/*	background-color: #f9f9f9 !important;*/
	}

	#disclaimer_page {
		background-image:url('img/drone_lgmt.jpg');
		background-repeat:no-repeat;
		background-size:cover;
	}
}
