/*** ALL SIZES ***/

/* Test styling */

canvas {
  max-height: 200px;
  min-height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* End test */

/* GENERAL STYLING */

@font-face {
	font-family: 'Spirax', cursive;
	src: url(../fonts/Spirax-Regular.ttf);
}

body {
  background-color: #011820;
  background-image: url(../assets/images/water_background.png);
  background-repeat: no-repeat;
  padding-top: 20px;
}

.container-fluid {
  padding-right: 0px;
  padding-left: 0px;
}

/* HEADER */

.navbar-default {
  background-color: transparent;
  border-color: transparent;
}

.navbar-default .navbar-brand {
  color: #fff;
  font-family: Spirax;
}

.navbar-default .navbar-brand:hover {
	color: #edf2f1;
}

.navbar-default .navbar-brand:focus {
  color: rgba(255,255,255,.50);
}

.navbar-right {
  background-color: transparent;
}

.navbar-right li {
  background-color: transparent;
  border-bottom: .25rem solid transparent;
  outline: none;
	font-weight: bold;
}

.navbar-right li:hover,
.navbar-right li:focus {
	border-bottom-color: #fff;
}

.navbar-right .active {
  border-bottom-color: #fff;
  color: #fff;
}

.navbar-default .navbar-nav li a {
  outline: none;
  color: rgba(255,255,255,.70);
}

.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus {
	color: #fff;
}

/* Disable in mobile view bc causes scroll bar */
.navbar-nav li .dropdown-menu {
  margin-top: 1px;
  margin-right: -1px;
  z-index: 1001;
}

.navbar-nav li .dropdown-menu li a {
  color: #222b2b !important;
  background-color: #fff;
}

.navbar-nav li .dropdown-menu li a:hover {
  color: #489ba5 !important;
  background-color: #fff !important;
}

/* Prevents modal from causing page shift when opened */
.modal {
    overflow-y: auto;
}

.modal-open {
    overflow: auto;
}

.modal-open[style] {
    padding-right: 0px !important;
}

/* MAIN CONTENT */

#main-content {
  background-color: rgba(0,0,0,0.5);
  background-image: url(../assets/images/ship.jpg);
}

.cycle-slideshow img {
  position: relative;
  max-width: 100%;
}

.cover {
  background-color: rgba(0,0,0,0.5);
  position: absolute;
  z-index: 1000;
  margin-right: auto;
  margin-left: auto;
  left: 0;
  right: 0;
  border-radius: 10px;
  color: #fff;
}

.cover h1 {
  opacity: 1;
  color: white;
  font-family: Spirax;
  text-align: center;
}

.cover p {
  opacity: 1;
  color: white;
  font-family: "Calibri";
  text-align: justify;
}

.slide {
  background-color: #dae4e7;
  min-height: 200px;
  margin-right: 0px;
  padding: 0px;
  border-width: 0px;
  color: black;
  font-family: "Calibri";
  text-align: justify;
}

table {
  height: 200px;
}

/* Remove padding right for mobile and adjust image*/
.slide .slide-image-1 {
  background-image: url(../assets/images/shipbell_mobile.jpg);
  background-repeat: no-repeat;
  max-width: 100%;
  height: 200px;
}

.slide .slide-image-2 {
  background-image: url(../assets/images/admiral_mobile.jpg);
  background-repeat: no-repeat;
  max-width: 100%;
  height: 200px;
}

.slide .slide-image-3 {
  background-image: url(../assets/images/slideship_mobile.jpg);
  background-repeat: no-repeat;
  max-width: 100%;
  height: 200px;
}

.slide .col-sm-4 {
  margin-right: 0px;
}

.slide .col-sm-2 {
  padding: 0px;
}

/* Reduce to 40px height on mobile*/
.slide .col-sm-2 .btn-info {
  background-color: #309999;
  border: none;
  border-radius: 0px;
  width: 100%;
  vertical-align: middle;
}

/* Reduce to 40px height on mobile*/
.slide .col-sm-2 .btn-info:hover {
  color: #021e1e;
}

/* Gallery only */

#view-area {
	min-height: 980px;
	background-color: rgba(0,0,0,0.5);
  border-radius: 10px;
}

/* Object selection panel */

#select-panel {
  background-color: transparent;
  text-align: center;
  margin-left: 0px;
  padding-left: 0px;
  padding-top: 10px;
}

#object_selector {
  text-align: center;
}

#object_selector ul {
  list-style: none; 
  margin-left: 0px;
  padding-left: 0px;
}

#object_selector li {
  display: inline-block;
  
  overflow: hidden;
  -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
  border-radius: 50%;
}

#object_selector li img {
    -webkit-transition: all 1.5s ease;
       -moz-transition: all 1.5s ease;
        -ms-transition: all 1.5s ease;
         -o-transition: all 1.5s ease;
            transition: all 1.5s ease;
}

#object_selector li:hover img {
    margin-top: -20px;
}

/* End object selection panel */

#view-panel {
  text-align: center;
}

.col-sm-1 {
  background-color: transparent;
  min-height: 100%;
  height: 100px;
  display: inline;
}

#model {
  background-color: transparent;
  min-height: 500px;
  margin: 0 auto;
  width: 80%;
  display: inline-block;
}

x3d {
  width: 100%;
  border: none;
}

#sound-button {
  float: left;
  text-align: right;
  font-size: 30px;
  width: 40px;
  padding-top: 20px;
}

#sound-button a {
  color: #fff;
}

/* Camera controls */

/* Adjust negative margin at smaller sizes */
#camera-button {
  float: right;
  margin-right: 0px !important;
  color: #fff;
}

#camera-button a {
  color: #fff;
}

#grid {
  width: 600px;
}

.grid-element {
  width: 200px;
  height: 200px;
  float: left;
}

div .col-md-4 {
  padding-left: 0px;
  padding-right: 0px;
}

.arrowbutton {
  padding-left: 10px;
  padding-right: 10px;
}

.glyphicon-facetime-video {
  padding-left: 7px;
}

/* End camera controls */

#modelcontrols-view {
  height: 40px;
}

#modelcontrols-view .col-sm-1 {
  max-height: 40px;
}

#modelcontrols-view .col-sm-10 {
  max-height: 40px;
}

#modelcontrols-panel {
  min-height: 40px;
  max-height: 40px;
}

#modelcontrols {
  width: 80%;
  margin: 0 auto;
  display: block;
}

#modelcontrols p {
  height: 100%;
}

/* Change to block for small mobile? */
#modelcontrols div .btn-primary {
  background-color: #309999;
  border: none;
  border-radius: 0px;
}

#modelcontrols div .btn-primary:hover {
  color: #021e1e;
}

#info-panel {
  height: 300px;
  background-color: transparent;
}

#info-panel .col-sm-10 {
  max-height: 300px;
}

#info-text {
  background-color: #dae4e7;
  min-height: 300px;
  margin: 0 auto;
  width: 80%;
  padding: 20px;
  margin-top: 0px;
  color: black;
  font-family: "Calibri";
  text-align: justify;
  font-size: 20px;
}

#info-text h1 {
  margin-top: 0px;
  border-bottom: 1px solid;
}

#info-text p {
  color: #2c302f;
}

/* End gallery only*/

/***** FOOTER STYLING *****/

.footer {
  background-color: #4c6267;
  margin-top: 30px;
  padding-right: 20px;
  padding-left: 20px;
  height: 50px;
  color: #FFF;
}

.footer .container .navbar-text {
  margin-bottom: 0;
}

.footer .pull-left {
  margin-bottom: 0px;
}

.footer .pull-right {
  margin-top: 10px;
  margin-bottom: 0px;
}

.fa {
  margin-left: 10px;
  color: #FFFFFF;
}

.fa:hover {
  color: #489ba5;
}

/****** MEDIA QUERY SPECIFIC STYLING ******/

/****************************** Custom, iPhone Retina ******************************/
/* Note, at sizes smaller than 320px above rules will apply */
@media only screen and (min-width: 0px) {

/* GENERAL STYLING */

body {
  padding-top: 5px;
}

/* HEADER */

.navbar-masthead {
  margin-bottom: 5px;
}

.navbar-default .navbar-brand {
  font-size: 18px;
}

/* Set to 0 in mobile view bc causes scroll bar */
.navbar-nav li .dropdown-menu {
  margin-top: 0px;
  margin-right: 0px;
}

.navbar-nav li .dropdown-menu li a {
  background-color: rgba(255,255,255,.50);
}

.navbar-right li {
  border-bottom: .25rem solid transparent;
  outline: none;
  font-weight: bold;
}

.navbar-right li:hover,
.navbar-right li:focus {
  border-bottom-color: transparent;
}

.navbar-right .active {
  border-bottom-color: transparent;
  color: #fff;
}

/* MAIN CONTENT */

/* Start cover */

.cover {
  top: 70px;
  width: 300px;
  height: 160px;
  padding: 10px;
}

.cover h1 {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 17px;
}

.cover p {
  font-size: 13px;
}

/* End cover */

.slide {
  margin-top: 20px;
  font-size: 16px;
}

/* Remove padding right for mobile and adjust image*/
.slide .slide-image-1 {
  background-image: url(../assets/images/shipbell_mobile.jpg);
}

.slide .slide-image-2 {
  background-image: url(../assets/images/admiral_mobile.jpg);
}

.slide .slide-image-3 {
  background-image: url(../assets/images/slideship_mobile.jpg);
}

.slide .col-sm-4 {
  padding-left: 0px;
  padding-right: 0px;
}

.slide .col-sm-6 {
  padding-right: 15px;
  max-height: 130px;
  padding-top: 10px;
}

td {
  vertical-align: text-top;
  vertical-align: top;
}

/* Reduce to 40px height on mobile*/
.slide .col-sm-2 .btn-info {
  height: 60px;
  font-size: 14px;
  line-height: 0px;
  padding-top: 20px;
}

td .slide-desc {
  padding: 0px !important;
  border-spacing: 0px !important;
}

/* GALLERY ONLY */

/* Object selector */

#view-area {
  min-height: 800px;
  max-height: 800px;
}

#select-panel {
  height: 100%;
  max-height: 60px;
}

#object_selector {
  margin-left: 0px;
  padding-left: 0px;
}

#object_selector li {
  width: 50px;
  height: 50px;
  margin-left: 5px;
  margin-right: 5px;
}

#object_selector li img {
  width: 80px;
  height: 80px;
}

/* Need to remove col-sm-1 to right */

#object-view {
  min-height: 300px;
  max-height: 300px;
  height: 300px;
}

#view-panel {
  min-height: 300px;
  max-height: 300px;
}

#sound-button {
  font-size: 16px;
  margin-left: -30px;
}

x3d {
  min-height: 300px;
  border: none;
}

/* For smallest size, remove negative margin */
.x3dom-canvas {
  min-height: 300px;
  margin-left: -5px;
}

#camera-button {
  margin-right: 0px;
  font-size: 20px;
  margin-left: -36px;
}

.btn-primary {
  font-size: 10px;
}

#info-text h1 {
  font-size: 16px;
  text-align: left;
}

#info-text p {
  font-size: 12px;
}

/* End object selector*/

/* END GALLERY ONLY*/

/* FOOTER */

.footer {
  background-color: #4c6267;
  margin-top: 30px;
  padding-right: 20px;
  padding-left: 20px;
  height: 50px;
  color: #FFF;
  font-size: 8px;
  padding-top: 6px;
}

.footer .container .navbar-text {
  margin-bottom: 0;
}

.footer .pull-left {
  margin-bottom: 0px;
}

.footer .pull-right {
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 8px;
}

.fa {
  margin-left: 10px;
  color: #FFFFFF;
}

}

/****************************** Small tablet ******************************/
@media only screen and (min-width: 481px) {

/* GALLERY ONLY */

#view-area {
  min-height: 840px;
}

/* Object selector */

#select-panel {
  height: 60px;
  max-height: 60px;
  min-height: 60px;
  margin-bottom: 10px;
}

#object_selector li {
  width: 50px;
  height: 50px;
  margin-left: 20px;
  margin-right: 20px;
}

#object_selector li img {
  width: 80px;
  height: 80px;
}

/* End object selector*/

#object-view {
  min-height: 400px;
  max-height: 400px;
  height: 400px;
}

#view-panel {
  min-height: 400px;
  max-height: 400px;
}

x3d {
  min-height: 400px;
  border: none;
}

.x3dom-canvas {
  min-height: 400px;
}

#camera-button {
  margin-right: 0px;
  padding-right: 10px;
}

.btn-primary {
  font-size: 12px;
}

#info-text h1 {
  font-size: 22px;
}

#info-text p {
  font-size: 16px;
}

/* END GALLERY ONLY*/

}

/****************************** Small Devices, Tablets ******************************/
@media only screen and (min-width: 974px) {

/* GENERAL STYLING */

body {
  padding-top: 10px;
}

/* HEADER */

.navbar-masthead {
  margin-bottom: 10px;
}

.navbar-default .navbar-brand {
  font-size: 40px;
}

/* Disable in mobile view bc causes scroll bar */
.navbar-nav li .dropdown-menu {
  margin-top: 1px;
  margin-right: -1px;
}

.navbar-nav li .dropdown-menu li a {
  background-color: #fff;
}

.navbar-right li {
  background-color: transparent;
  border-bottom: .25rem solid transparent;
  outline: none;
  font-weight: bold;
}

.navbar-right li:hover,
.navbar-right li:focus {
  border-bottom-color: #fff;
}

.navbar-right .active {
  border-bottom-color: #fff;
  color: #fff;
}

/* MAIN CONTENT */

/* Start cover */

.cover {
  top: 140px;
  width: 460px;
  height: 200px;
  padding: 10px;
}

.cover h1 {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 26px;
}

.cover p {
  font-size: 16px;
}

/* End cover */

.slide {
  margin-top: 20px;
  font-size: 18px;
}

/* Remove padding right for mobile and adjust image*/
.slide .slide-image-1 {
  background-image: url(../assets/images/shipbell.jpg);
}

.slide .slide-image-2 {
  background-image: url(../assets/images/admiral.jpg);
}

.slide .slide-image-3 {
  background-image: url(../assets/images/slideship.jpg);
}

.slide .col-sm-4 {
  padding-left: 0px;
  padding-right: 10px;
}

.slide .col-sm-6 {
  padding-right: 60px;
}

td {
  vertical-align: text-middle;
  vertical-align: middle;
}

/* Reduce to 40px height on mobile*/
.slide .col-sm-2 .btn-info {
  height: 200px;
  font-size: 16px;
  line-height: 200px;
  padding-top: 0px;
}

/* GALLERY ONLY */

#view-area {
  min-height: 960px;
}

/* Object selector */

#select-panel {
  height: 100px;
  max-height: 100px;
  min-height: 100px;
  margin-bottom: 0px;
}

#object_selector li {
  width: 80px;
  height: 80px;
  margin-left: 20px;
  margin-right: 20px;
}

#object_selector li img {
  width: 100px;
  height: 100px;
}

/* End object selector*/

#object-view {
  min-height: 500px;
}

#view-panel {
  min-height: 500px;
  max-height: 500px;
}

#sound-button {
  margin-left: 0px;
  font-size: 24px;
}

x3d {
  min-height: 500px;
  border: none;
}

.x3dom-canvas {
  min-height: 500px;
  margin-right: -30px;
}

#camera-button {
  font-size: 20px;
  margin-right: -12px !important;
  padding-right: 0px;
}

.btn-primary {
  font-size: 12px;
}

/* END GALLERY ONLY*/

/* FOOTER */

.footer {
  background-color: #4c6267;
  margin-top: 30px;
  padding-right: 20px;
  padding-left: 20px;
  height: 50px;
  color: #FFF;
  font-size: 12px;

}

.footer .container .navbar-text {
  margin-bottom: 0;
}

.footer .pull-left {
  margin-bottom: 0px;
}

.footer .pull-right {
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 10px;
}

}

/****************************** Large Devices, Wide Screens ******************************/
@media only screen and (min-width: 1200px) {

/* GENERAL STYLING */

body {
  padding-top: 20px;
}

/* HEADER */

.navbar-masthead {
  margin-bottom: 20px;
}

.navbar-default .navbar-brand {
  font-size: 50px;
}

/* Disable in mobile view bc causes scroll bar */
.navbar-nav li .dropdown-menu {
  margin-top: 1px;
  margin-right: -1px;
}

.navbar-nav li .dropdown-menu li a {
  background-color: #fff;
}

.navbar-right li {
  background-color: transparent;
  border-bottom: .25rem solid transparent;
  outline: none;
  font-weight: bold;
}

.navbar-right li:hover,
.navbar-right li:focus {
  border-bottom-color: #fff;
}

.navbar-right .active {
  border-bottom-color: #fff;
  color: #fff;
}

/* MAIN CONTENT */

/* Start cover */

.cover {
  top: 240px;
  width: 540px;
  height: 260px;
  padding: 20px;
}

.cover h1 {
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 26px;
}

.cover p {
  font-size: 18px;
}

/* End cover */

.slide {
  margin-top: 20px;
  font-size: 20px;
}

/* Remove padding right for mobile and adjust image*/
.slide .slide-image-1 {
  background-image: url(../assets/images/shipbell.jpg);
}

.slide .slide-image-2 {
  background-image: url(../assets/images/admiral.jpg);
}

.slide .slide-image-3 {
  background-image: url(../assets/images/slideship.jpg);
}

.slide .col-sm-4 {
  padding-left: 0px;
  padding-right: 10px;
}

.slide .col-sm-6 {
  padding-right: 60px;
}

td {
  vertical-align: text-middle;
  vertical-align: middle;
}

/* Reduce to 40px height on mobile*/
.slide .col-sm-2 .btn-info {
  height: 200px;
  font-size: 20px;
  line-height: 200px;
  padding-top: 0px;
}

/* GALLERY ONLY */

#view-area {
  min-height: 980px;
}

/* Object selector */

#select-panel {
  height: 120px;
  max-height: 120px;
  min-height: 120px;
}

#select-panel {
  min-height: 100px;
  background-color: transparent;
  text-align: center;
  margin-left: 0px;
  padding-left: 0px;
  padding-top: 10px;
}

#object_selector li {
  width: 100px;
  height: 100px;
  margin-left: 20px;
  margin-right: 20px;
}

#object_selector li img {
  width: 120px;
  height: 120px;
}

/* End object selector*/

#object-view {
  min-height: 500px;
}

#view-panel {
  min-height: 500px;
  max-height: 500px;
}

#camera-button {
  font-size: 20px;
  margin-right: -36px;
}

.btn-primary {
  font-size: 16px;
}

/* END GALLERY ONLY */

/* FOOTER */

.footer {
  background-color: #4c6267;
  margin-top: 30px;
  padding-right: 20px;
  padding-left: 20px;
  height: 50px;
  color: #FFF;
  font-size: 12px;
}

.footer .container .navbar-text {
  margin-bottom: 0;
}

.footer .pull-left {
  margin-bottom: 0px;
}

.footer .pull-right {
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 10px;
}

}