@font-face {
    font-family: 'goodtimes';
    src: url('/fonts/goodtimes.eot');
    src: url('/fonts/goodtimes.eot?#iefix') format('embedded-opentype'),
         url('/fonts/goodtimes.woff') format('woff'),
         url('/fonts/goodtimes.ttf') format('truetype'),
         url('/fonts/goodtimes.svg#goodtimes') format('svg');
}

@font-face {
    font-family: 'InfiniumGuardian';
    src: url('/fonts/InfiniumGuardian.eot');
    src: url('/fonts/InfiniumGuardian.eot?#iefix') format('embedded-opentype'),
         url('/fonts/InfiniumGuardian.woff') format('woff'),
         url('/fonts/InfiniumGuardian.ttf') format('truetype'),
         url('/fonts/InfiniumGuardian.svg#InfiniumGuardian') format('svg');
}

body {
  margin: 0px; 
  padding: 0px;
  font-family: verdana, arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
   /*
  background:
  linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
  linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
  linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
  linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
  linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
  linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
  background-color: #131313;
  background-size: 20px 20px;
  */
  background: #051620;
}

body img {
  max-width: 100%;
}

.clear {
  clear:both;
}

#top_nav {
  width: 100%;
  background: #000;
  padding: 10px 20px;
  border-bottom:solid 1px #204e6a;
  text-align:right;
  
  position:relative;
  z-index: 10;
  
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

#top_nav .user_role {
  color: #ccc;
}

#top_nav a {
  color: rgba(0,235,255, 1);
  padding-left: 12px;
  margin-left: 10px;
  border-left: solid 1px #204e6a;
}

#top_nav a:hover {
  color: #a0c3d5;
}

#top_nav ul,
#top_nav li {
  list-style-type:none;
  margin: 0px;
  padding: 0px;
}

#top_nav li {
  margin: 0px;
  padding: 0px;
  display:inline-block;
}
#eu-cookie-message {
	display: block;
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	border-top:  1px solid #204e6a;
	background-color: #000;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 20px;
	text-align: center;
	font-size: 12px;
}
#eu-cookie-message a.submit, 
#eu-cookie-message input[type="submit"] {
		display: inline-block;
		width: 200px;
}


.all_wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0px auto;
}

#all {
  width: 100%;
  max-width: 1000px;
  padding: 40px 40px 150px;
  margin: 0px auto;
  background-color: rgba(0,0,0,0.3)/*#111*/;
  color:  #a0c3d5;
  /*border-left:solid 2px #204e6a;
  border-right:solid 2px #204e6a; */
  height: 100%;
  
  box-shadow:0 0 17px #0074C2;
  -moz-box-shadow:0 0 17px #0074C2;
  -webkit-box-shadow:0 0 17px #0074C2;
  
  box-sizing: border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

#all.small {
  max-width: 600px;
}

header {
  text-align:center;
  background: url(/img/sterne.jpg) no-repeat center top transparent;
  background-size: 100%;
  border-bottom: solid 1px #204e6a;
  position:relative;
}

#logo {
  color: rgba(255,174,0,1);
  font-size: 40px;
  margin-bottom: 50px;
  font-family:InfiniumGuardian;
  text-shadow:0px 0px 25px rgba(255,174,0,0.7);
  line-height: 1.1;
}

article {
  margin: 40px 0px 100px;
}

#image {
  max-height: 300px;
  width:100%;
  border: 1px solid #666;
  overflow:hidden;
}

#image span {
  background-color: #fff;
  color: #666;
  font-size: 20px;
  display:inline-block;
  padding: 5px 10px;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  position:absolute;
}

#image img {
  width:100%;
}

article {
  padding: 0px 0px 40px;
}

section {
  margin: 20px 0px;
}

footer {
  border-top: 2px solid #204e6a;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 50px;
  padding-bottom: 30px;
  background: url(/img/footer_ship.png) no-repeat right 70% #000;
  color:#a0c3d5;

}

.copy {
  display:block;
  margin-top: 50px;
  color: #204e6a;
  clear:both;
}

#sitemap ul {
  margin: 0px;
  padding: 0px;
  list-style-type:none;
}
 ul.first > li {
  display:block;
  float:left;
  width: 20%;
 }

#sitemap a {
  color: #a0c3d5;
}

h1, h2 {     
  font-family: 'goodtimes', 'courier new', sans-serif;
  color: rgba(0,235,255, 0.8);
  margin: 10px 0px 5px;
  text-shadow: 0px 0px 50px #0074C2;
  line-height: 1.1;
}
h3, h4, h5 ,h6 {     
  font-family: 'goodtimes', 'courier new', sans-serif;
  color: rgba(255,255,255,0.8);
  margin: 10px 0px 5px;
  line-height: 1.1;
}

h1 {
  font-size: 40px;
  margin: 50px 0px;
  color: rgba(0,235,255, 1);
}

h2 {
  font-size: 25px;
  margin: 30px 0px 25px;
  padding-bottom: 10px;
  text-shadow: 0px 0px 30px #0074C2;
  border-bottom: 2px solid #204e6a;
}

h2.filter_headline {
  margin: 50px 0px 25px; 
  border-bottom:none;
}

h3 {
  font-size: 20px;
  margin: 35px 0px 10px;
}

h4, h5, h6 {
  font-size: 20px;
}

a,
a:link,
a:active,
a:visited,
a:hover {
  text-decoration:none;
}

a {
  color: rgba(0,255,0,0.8);
  cursor: pointer;
}

a:hover {
  color: #666;
}

.not_a {
  text-decoration: line-through;
  font-weight: bold;
}

.table_wrapper {
  display:table;
  width:100%;
  margin-bottom: 10px;
}

.table_wrapper > section {
  display:table-cell;
  width: 50%;
}

ul {
  list-style-type: square;
  padding: 0px;
  margin: 0px 20px 10px 18px;
}

ul > li > ul {
  list-style-type:circle;
}

li {
  padding: 3px 0px 5px;
}

/* -- Login Form -- */
.login_form input {
  margin-bottom: 20px;
}

#login {
  width: 300px;
  padding: 20px 30px;
  margin: 40px auto 80px;
  background-color: #fefefe;
  
  box-shadow:0 0 17px rgba(0,0,0,1);
  -moz-box-shadow:0 0 17px rgba(0,0,0,1);
  -webkit-box-shadow:0 0 17px rgba(0,0,0,1);
  
  box-sizing: border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

.error {
  display:block;
  color: #fff;
  background-color: #cc0000;
  border: 1px solid #4A0000;
  text-shadow: 1px 1px 0px #4a0000;
  
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  
  margin: 10px 0px;
  padding: 10px 20px;
  
}
select, textarea,
input {
  background-color:rgba(0,0,0,0.4);
  
  border: 1px solid rgba(22,42,63,0.8);
  color: #355e78;
  width: 100%;
  padding: 10px 15px;
  display: block;
  margin-bottom: 3px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-transition: all 0.2s !important;
  -moz-transition: all 0.2s !important;
  -ms-transition: all 0.2s !important;
  -o-transition: all 0.2s !important;
  transition: all 0.2s !important;
  cursor: pointer;
}

select:focus, textarea:focus, input:focus {
  border: 1px solid #00b7ca;
  color: #42C6E7;
  
}

select option {
  background: #0a0a0a;
  padding: 2px;
}

select {
  background: url(/img/Down.png) no-repeat 98% center #0a0a0a;
  background-size: 10px 10px;
  cursor: pointer;
  
  -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
select:active,
select:focus {
  background-image: url(/img/Down_hover.png) #0a0a0a;
}

textarea {
  min-height: 180px;
}

a.submit,
input[type="submit"] {
  clear:both;
  margin-top: 20px;
  padding: 10px 60px 4px;
  background-color: rgba(0, 87, 152, 0.4);
  
  color: rgba(0,235,255, 1);
  display:inline-block;
  text-shadow: 0 1px rgba(0,0,0,0.75);
  
  border: 1px solid rgba(0, 87, 152, 0.5);
  /*box-shadow: 0px 1px 1px rgba(0,0,0,0.3), inset 0px 1px 3px rgba(255,255,255,0.1);
  -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.3), inset 0px 1px 3px rgba(255,255,255,0.1);
  -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.3), inset 0px 1px 3px rgba(255,255,255,0.1);*/
  
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  
  min-height: 25px;
}
a.submit:hover,
input[type="submit"]:hover {
  color: #fff;
  text-shadow: 0 1px rgba(0,0,0,0.75);
  background-color: rgba(0, 87, 152, 0.2);
  /*
  box-shadow: 0px 1px 1px rgba(0,0,0,0.3), inset 0px 1px 3px rgba(255,255,255,0.2);
  -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.3), inset 0px 1px 3px rgba(255,255,255,0.2);
  -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.3), inset 0px 1px 3px rgba(255,255,255,0.2);  */

}
a.submit:active,
input[type="submit"]:active {
  color: #fff;
  text-shadow: 0 1px rgba(0,0,0,0.75);
  background-color: rgba(0, 87, 152, 0.2);

}
::-webkit-input-placeholder { color:#204e6a; }
::-moz-placeholder { color:#204e6a; } /* firefox 19+ */
:-ms-input-placeholder { color:#204e6a; } /* ie */
input:-moz-placeholder { color: #204e6a; }



form.edit label {
    width: 200px;
    padding: 12px 20px 0px 0px;
    float:left;
    
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}

form.edit span {
  height: 40px;
}

form.edit select,
form.edit textarea,
form.edit input,
form.edit span.ship_id {
  display:inline-block;
  width: 70%;
}


form.edit .look_for_roles {
  margin-left: 200px;
  width:70%;
  margin-bottom: 20px;
  margin-top: 10px;
}

form.edit .look_for_roles ul {
  list-style-type:none;
  margin-left:0px;
}

form.edit .look_for_roles input {
  width: 20px;
  margin: 5px 0px;
}

form.edit .look_for_roles label {
  font-size: 12px;
  width: auto;
  margin: 2px 20px 2px 0px;
  padding: 0px;
  float:none;
  display:inline;
} 


/* -- Login Form End -- */

/* -- Ships -- */
.close {
    text-align: right;
    float: right;
}

.close a {
    display: inline-block;
    padding: 10px;
}

 .company_logo {
  max-width: 50%;
  max-height: 300px;
  border: solid 2px rgba(255,255,255,0.8);
 }

.ships {
    clear:both;
}

.ships:after {

}

.ships .ship_entry {
  float:left;
  width: 23%;
  display:block;
  margin-right:1.5%;
  margin-bottom: 1.5%;
  text-align:center;
  
  border:solid 1px #005B81;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  
  background-color: #000;
}
.ships .ship_entry:hover {
  background-color: #111;
  color: rgba(255,255,255,0.8);
}


.ships .ship_entry img {
   border-radius: 3px 3px 0px 0px;
  -moz-border-radius: 3px 3px 0px 0px;
  -webkit-border-radius: 3px 3px 0px 0px;
  
  min-width: auto;
  height: 110px;
  background: #111;
}

.ships .ship_entry:hover img {
  opacity: 0.3;
}

.ships .ship_entry span {
  padding: 10px 20px;
  text-align:center;
  display:block;
  height: 40px;

}

#ship_variants {
  border:solid 1px #051620;
  padding: 30px 40px;
  background: #111;
  border-radius: 3px;
  
  box-shadow:inset 0 0 17px #0074C2;
  -moz-box-shadow:inset 0 0 17px #0074C2;
  -webkit-box-shadow:inset 0 0 17px #0074C2;
}


.ship_variant {
  clear:both;
  border-top:solid 1px #204e6a;
  margin-top: 50px;
  padding-top: 20px;
}

#ship_variants > section:first-of-type {
  margin-top: 0px;
  border-top: none;
}
.ship_variant:first-child {
  border-top: none;
  margin-top: 0px;
  padding-top: 0px;
}

.description {
  width: 50%;
  display:inline-block;
  margin-top: 0px;
  padding-top: 0px;
}
.description_pic {
  float:right;
  border:solid 2px rgba(255,255,255,0.8);
  max-width: 40%;
}

.inline-link {
  clear:both;
}

.class *,
.roles * {
  display:inline-block;
  margin-right: 10px;
}

.roles .role_entry {
}

.gallery {
  margin: 30px 0px;
  padding: 20px;
  border: 1px solid #204e6a;
  
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.gallery .thumb {
  max-width: 22%;
  border:solid 2px rgba(255,255,255,0.8);
  margin-right: 1%; 
}


.video {
  position: relative; 
  padding-bottom:56.25%; 
  padding-top: 30px; 
  height: 0; 
  overflow: hidden; 
  max-width: 100%; 
  height: auto;
  margin: 40px 0px; 
} 
.video iframe,
.video object,
.video embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  }
  
  .ship_stats {
      display: none;
      //display: block;
  }
  
  #a_add_measurement {
      display: none;
  }
/* -- Ships End -- */


.active {
    border: #282828 solid 1px;
}

.button {
    margin: 1px 2px 1px 2px;
    background:rgba(0, 87, 152, 0.2);
}



/* -- Tags -- */

label {
  font-size: 16px;
  display:block;
  margin-bottom: 8px;

}

.tag {
  font-weight: normal;
  font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  padding: 8px 20px;
  margin-right:5px;
  margin-bottom: 8px;
  
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  background-color: #008cba;
  color: white; 
  
  border:none;
  
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.label.alert {
  background-color: #f04124;
  color: white; }

.success {
  background-color: #058F00;
  color: white;
  text-shadow: 1px 1px 0px #046B00;
  border: 1px solid #046B00; 
  padding: 10px 20px;  
  margin: 10px 0px;
  
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  
}
.label.secondary {
  background-color: #e7e7e7;
  color: #333333; }
  


.tags .tag,
#sub_filter .tag {
    color: #0cf;
    background-color: rgba(0,87,152,0.4);
}
  
.tags .tag:hover,
.tags .tag:active,
.tags .tag.active,
 
#sub_filter .tag:hover,
.tag:hover,
#sub_filter .tag:active,
.tag:active,
#sub_filter .tag.active,
.tag.active { 
  background-color:rgba(0, 173, 255, 0.3);
  color:#FFF;
  border:none;
}

#main_nav {
  background-color: #000;
  border-bottom: solid 1px #204e6a;
  font-size: 16px;
  padding-top: 8px;
  position:relative;
}  

#main_nav ul {
  padding: 0px;
  list-style-type:none;
}

#main_nav li {
  display: inline-block;
  margin: 0px;
  padding: 0px;
}
  
#main_nav .tag {
    background-color: transparent; /*rgba(0, 87, 152, 0.4) */
    color: #a0c3d5; 
/*    border: 1px solid #a0c3d5;*/
}

#main_nav .tag.active,
#main_nav .tag:hover,
#main_nav .tag:active {
  background-color: transparent;
  /*border: 1px solid rgba(0,235,255, 1);*/
  color: rgba(0,235,255, 1);
}
 
#main_nav .tag::before {
 display:inline-block;
 margin-right: 5px; 
 content: " ";
 width: 9px;
 height: 9px;
 border: 2px solid #a0c3d5;
 border-radius: 9px;
 -moz-border-radius: 9px;
 -webkit-border-radius: 9px;
 box-shadow: 0px 0px 10px #a0c3d5;
}
#main_nav .tag.active::before,
#main_nav .tag:hover::before {
 display:inline-block;
 margin-right: 5px; 
 content: " ";
 width: 9px;
 height: 9px;
 border: 2px solid rgba(0,235,255, 1);
 border-radius: 9px;
 -moz-border-radius: 9px;
 -webkit-border-radius: 9px;
 box-shadow: 0px 0px 10px #0074C2;
}
 
 
table {
  width: 100%;
  max-width: 100%;
  border-bottom: 1px solid #204e6a;
  border-collapse: collapse;
} 



table th, td {
   padding-left: 10px;
   padding-top: 5px;
   padding-bottom: 5px;
   border-top: 1px solid #204e6a;
   text-align:left;
   
}

table th {
  font-weight:normal;
  font-size: 18px;
  border-top:none;
}

table th:first-child,
table td:first-child {
  padding-left: 0px;
}
 


@media only screen and (max-width: 480px) {
  .table_wrapper > section {
    display:block;
    width:100%;
  }
  #all {
    padding: 40px 10px;
  }
  
  #ship_variants {
    padding: 20px 10px;
  }

  #main_filter .tag {
    display:block;
    width: 100%;
    text-align:left;
  }
  
  #sub_filter .tag {
    display:block;
    width: 100%;
  }
  .description_pic,
  .description {
    width: 100%;
    float:none;
    max-width: 100%;
  }
  

  h1 {
    font-size: 20px;
  }
  
  h2 {
    font-size: 18px;
  }

  h2 {
    text-align:left;
  }

  #image {
    height: 180px;
  }
  
  .ships .ship_entry {
    float:none;
    width: 100%;
  }
  
  footer span {
    display:block;
  }
}

.hide {
    display: none;
}

.reveal {
    opacity: 50%px;
    width: 100%;
    height: 100%;
}

.reveal_img {
    border: solid 2px rgba(255,255,255,0.8);
}

#submit {
    display: none;
}

/* -- Admin Panel -- */

.table {
  display:table;
  width: 100%;
}

.table > .table_cell {
  display:table-cell;
  width: 46%;
  padding-left: 4%;
}

.table .table_cell:first-child {
  padding-left: 0px; 
} 

.have_it {

}

#pw_change_submit {
    display: none;
}
/* -- Admin Panel End -- */

/* -- Roster -- */

#roster .ships .have_it {
  float:left;
}

#filter_by_search label {
  width: 200px;
  padding: 12px 20px 0px 0px;
  float:left;
    
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
} 

#filter_by_search input {
  max-width: 460px;
  display:inline-block;
 
}

.owner {
  border-top: solid 1px #204e6a;
  background: #204e6a;
}

#roster .ship_entry.active,
#roster .ship_entrsy:hover {
  background-color:#000;
  color: #a0c3d5;
}

#roster .ship_entry:hover img {
  opacity: 1;
}



/* -- Roster End -- */


/* Welcome Page */

.phase > div {
  clear:both;
  margin: 0px 0px 50px;
}

.phase h2 {
  margin-left: 186px;
}

.in_work {
  float:left; 
  margin-right: 20px;
  padding: 30px;
  border: 2px solid #204e6a;
  text-align:center;
  background: rgba(0,0,0,0.3);
}

.in_work .number {
  display:block;
  padding: 30px 20px;

  margin-bottom: 10px;
  border: 20px solid #fff;
  border-radius: 100px;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;

}


.done .number {
  border-color: #49f839;

}

.progress .number {
  border-color: #ccc;
}

/* Welcome Page End */