/* MASTER-HEADER LOOK (DONT EDIT)- BEGIN */
body {
  margin: 0px auto;
  float: none;
}
.sidebar {
  grid-area: sidebar;
}
.sidebar2 {
  grid-area: sidebar2;
}
.sidebar3 {
  grid-area: sidebar3;
}
.content {
  grid-area: content;
  position: relative;
}
.content2 {
  grid-area: content2;
  position: relative;
}
.content3 {
  grid-area: content3;
  position: relative;
}
.logo {
  grid-area:logo;
}
.iconlinks {
  grid-area:iconlinks;
}
.header {
  grid-area: header;
}
.footer {
  grid-area: footer;
}

@media (min-width: 900px) {
.wrapper {
        margin: 0px 50px;
		display: grid;
        grid-gap: 10px;
		grid-template-columns: auto;
		grid-template-rows: auto;
        grid-template-areas:

        "logo iconlinks iconlinks"
        "header header header"
		"sidebar content  content"
        "sidebar2 content2 content2"
        "sidebar3 content3 content3"
		"footer  footer  footer"
         "footer  footer  footer";
		background-color: #FCFCFC;
		color: #444;
    min-width: 993px;
}
}
.box {
  background-color:;
  color: #fff;
  border-radius: 10px;
  padding: 25px;
  font-size: 150%;
}


@media (min-width: 5em) {
.max3dgrid img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #fff;
  position: relative;
  max-width: 45%;
  min-height: 25%;
  border-radius: 5px;
}
}






.iconlinks ul {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    list-style: none;
    float:right;
  }
.iconlinks img {
  width: 40px;
  height: 40px;
}
.iconlinks first:hover first {
 display: block;
  background: url ("https://s13.postimg.org/gcurru49z/icon_Facebook3hover.png");
}
.iconlinks ul li {
  float:left;
  margin:5px 5px;
  line-height:50px;
  list-style:none;
  text-align: center;
  background-size: 101%;
}
.iconlinks ul li a {
  display:block;
  float: left;
  list-style: none;
  color:#fff;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
}
.iconlinks ul li ul li {
  display: none;
}
.iconlinks ul li:hover ul li {
  display:block;
  opacity: .7;
}




.logo {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 0px;
  font-size: 150%;
}

.header {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 0px;
  font-size: 150%;
  margin: 0px 25px;
  width: 608px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.sidebar{
  margin-top:70px;
  color: #00a9e5;
  background-color: #635f5f;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.content{
  margin-top:70px;
  background-color: #635f5f;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.team_ruomai img{
  border-radius: 50px;
}
.lignese_corp img{
  border-radius: 50px;
}
.team_sledge img{
  border-radius: 50px;
}
.Ships_Vehicles img{
  border-radius: 50px;
}
.locations img{
  border-radius: 50px;
}


/*New Gallery-BEGIN*/
#portfolio {
    margin: 1rem 0;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    -webkit-column-width: 33.33333333333333%;
    -moz-column-width: 33.33333333333333%;
    column-width: 33.33333333333333%;
}
.tile {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;

}
.tile:hover {

}

.scale-anm {
  transform: scale(1);
}


p{
  padding:10px;
  border-bottom: 1px #ccc dotted;
  text-decoration: none;
  font-family: lato;
  text-transform:uppercase;
  font-size: 12px;
  color: #333;
  display:block;
  float:left;
}

p:hover {
  cursor:pointer;
  background: #333;
  color:#eee;
transform: skew(-40deg, 0deg);}

.tile img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;

}

.btn {
    font-family: Lato;
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    padding: .5rem 1rem;
    margin: 5px;
    height: auto;
    border: 1px solid;
    vertical-align: middle;
    -webkit-appearance: none;
    color: #fff;
    background-color: rgba(0, 0, 0, 0);
}

.btn:hover {
  text-decoration: none;
}

.btn:focus {
  outline: none;
  border-color: var(--darken-2);
  box-shadow: 0 0 0 3px var(--darken-3);
}

::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/*New Gallery-END*/

/*gallerybuttons-BEGIN*/
.btn {
    z-index: 10;
    position: relative;
    white-space: nowrap;
    transition: all 0.225s;
    transition-delay: 0.45s;
    letter-spacing: 2px;
  }

  .icon {


           &:before, &:after {
             transition-delay: 0s;
             width: 30px;
             opacity: 1;
           }
           &:before {
             left: 0;
           }
           &:after {
             right: 0;
           }

           span {
             &:before, &:after {
               height: 30px;
               transition-delay: 0.45s;
             }
           }
         }
         .icon2 {
           transform: skew(-40deg, 0deg) scaleX(0.2);
           background: transparent;
           transition-delay: 0s;
           opacity: 0;
         }
       }



/*gallerybuttons-END*/


.sidebar2{
  margin-top:70px;
  color: #00a9e5;
}


.Spring{
  border-bottom: 1px solid #ccc !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(204, 204, 204);
}
.Fall{
  border-bottom: 1px solid #ccc !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(204, 204, 204);
}
.Summer{
  border-bottom: 1px solid #ccc !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(204, 204, 204);
}
.Winter{
  border-bottom: 1px solid #ccc !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(204, 204, 204);
}

.content2{
  margin-top:70px;
color: #00a9e5;
padding-right: 0px;
border-radius: 0px;
border-bottom: 1px solid #ccc !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(204, 204, 204);
}





.Panel {
  min-width: 717px;
  box-shadow: 10px 10px 5px #888888;
  text-align:center;
}


.pagination {
  display:inline-block;
  margin-left:150px;
  margin-top:15px;
}
.pagination a {
  text-decoration: none;
  color: black;
  margin: 1px;
  padding: 6px 12px;
  border: 1px solid #343538;
  border-radius: 15px;
  background: #fff;
}
.pagination a:hover {
  background: grey;
  color:blue;
}
.pagination .active {
  background: gold;
  color: silver;
}


.sidebar3{
  margin-top:70px;
  color: #00a9e5;
}
.content3{
  margin-top:70px;
  color: #00a9e5;
  padding-left: 100px;
  background-color: #343538;
  border-bottom: 1px solid #ccc !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(204, 204, 204);
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
/* End of Modal Content */




.header ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
.header ul li {
  float:left;
  width: 150px;
  height: 40px;
  margin-right:2px;
  background-color: #343538;
  line-height:40px;
  list-style:none;
  text-align: center;
}
.header ul li a {
  display:block;
  float: center;
  list-style: none;
  color:#fff;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
}
.header ul li ul li {
  display: none;
}
.header ul li:hover ul li {
  display:block;
  opacity: .7;
}
.header ul li a:hover {background-color: #00a9e5;
}
.logo{
  background-color:#FCFCFC;
}
.header,.footer {
  background-color: #FCFCFC;
}


.topleft {
  position: absolute;
  top: 0;
  left: 0;
}
.topright {
  position: absolute;
  top: 0;
  right: 0;
}
.bottomleft {
  position: absolute;
  bottom: 0;
  left: 0;
}
.bottomright {
  position: absolute;
  bottom: 0;
  right: 0;
}


/* FLEX BEGIN */
.flex_container {
  display: flex;
  flex-wrap: nowrap;
  background-color: #01aae6;
width: 600px;
}

.flex_container .fox {
  background-color: #f1f1f1;
  width: 150%;
  margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
}

.flex_container2 {
  display: flex;
  flex-wrap: nowrap;
  background-color: #01aae6;
width: 600px;
}

.flex_container2 .fox2 {
  background-color: #f1f1f1;
  width: 150%;
  margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
}
/* FLEX END */



/* Parallax BEGIN */
.MainContainer {
  perspective: 1px;
  transform-style: preserve-3d;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
}
.ParallaxContainer {
  display: flex;
  flex: 1 0 auto;
  position: relative;
  height: 100vh;
  transform: translateZ(-1px) scale(2);
  z-index: -1;
}
.ContentContainer {
  display: block;
  position: relative;
  background-color: white;
  z-index: 1;
}
/* Parallax END */





/* FOOTER BEGIN */
.footer {
  position: relative;
  margin-left: 3px;
  color: #fff;
  border-radius: 25px;
  padding: 50px;
  font-size: 150%;
  grid-column: 1/4;
  grid-row: 9/50;
  background-color: black;
  background-size: 1290px;
  font-size: 1.5vw;
  }
.footer ul {
  margin-left: 25px;
  padding: 0px;
  list-style: none;
  display: inline-block;
  color: white;
  font-size: 1.5vw;
 }
.foot ul li{
  float:left;
  width: 150px;
  height: 40px;
  margin-right:2px;
  background-color: #343538;
  line-height:40px;
  list-style:none;
  text-align: center;
  font-size: 1.5vw;
}
.foot-nav ul li a{
  display:inline-block;
  float: center;
  list-style: none;
  color:#fff;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.5vw;
}
.footer-nav ul li:hover ul li {
  display:block;
  opacity: .7;
  font-size: 1.5vw;
}
.footer ul li a:hover {background-color: #00a9e5;
  font-size: 1.5vw;
}
.footworld {
  display: block;
  width: 100%;
  height: auto;
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.7;
  border-radius: 25px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -moz-transform:scale(0);
  transition: .7s ease;
}
.footer:hover .overlay {
  transform: scale(1)
}
/* FOOTER END */
