/* Global-View aka Desktop View */

@charset "utf-8";


body {
	        font-family:Arial,helvetica, sans-serif;
                font-size: 1.25em;
                background-color:#04245F;
		color: #000;
                margin:0;
	}



#header {
                background-image: url('../images/header_background.gif');
                background-repeat: repeat-x;
               }


#logo {
		text-align: center;
                background-color:#FFF;	
                width:100%;
               	}
			
			

#puzzle  {
		float:right;
}

.hp_intro  {
                font-size:1.5em;
	        margin:0;
		font-family: 'M PLUS Rounded 1c', sans-serif;
}
			
article{
		
		color:#FFF;
                padding: 0 0.85rem;
                margin-left:auto;
                margin-right:auto;
                width:90%;

             }

article h1{
                margin-bottom:0.5rem;
                margin-top:0.5rem;
}	

nav   {
     background-color:#B90C36;
     font-size: 1em;
     font-weight:bold;
}

nav ul {
  display:flex;
  list-style-type: none;
  justify-content:center;
  padding: 0;
  flex-wrap:wrap;
  overflow: hidden;
  margin:0;
}

nav li {
  float: left;
  }

nav li a {
  display: block;
  color: #FFF;
  text-align: center;
  padding: 1rem 3rem;
  text-decoration: none;
  }

nav li a:hover {
  background-color: #FFF;
  color:#04245F;
}

.page_title  {
   text-align:center;
}

#services  {
  width: 60%;
 margin: 0 auto;
 font-family: arial, Helvetica, sans-serif;
}

#services h1 {
    
  color:  #FFF;
  text-align:center;;
}


#services h3 {    
  color:  #FFF;
  text-align:center;
  background-color: #000;
  margin: 0;
  font-size:90%;
}

#services img  {
 width: 100%;
}

#left-top   {
  width: 40%;
  border: solid 1px #FFF;
  float:left;
  margin-bottom: 1em;
}

#right-top   {
  width: 40%;
  border: solid 1px #FFF;
  float:right;
  margin-bottom: 1em;
}

#left-bottom   {
  width: 40%;
  border: solid 1px #FFF;
  float:left;
  margin-bottom:1em;
 }

#right-bottom   {
  width: 40%;
  border: solid 1px #FFF;
  float:right;
  margin-bottom:1em;
 }

.services_photo  {
  text-align:center;
  margin:0;
}

article form  {
 font-size: 0.85em;
}

/*begin button CSS*/


#button-left-bottom   {
  width: 40%;
  float:left;
  margin-bottom:2em;
  text-align:center;
 }

#button-right-bottom   {
  width: 40%;
  float:right;
  margin-bottom:2em;
  text-align:center;
}


.button {
    border: 0;
    line-height: 2.5;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgba(220, 0, 0, 1);
    background-image: linear-gradient(to top left,
                                      rgba(0, 0, 0, .2),
                                      rgba(0, 0, 0, .2) 30%,
                                      rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, .6),
                inset -2px -2px 3px rgba(0, 0, 0, .6);
}

.button:hover {
    background-color: rgba(255, 0, 0, 1);
}

.button:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6),
                inset 2px 2px 3px rgba(0, 0, 0, .6);
}

/*end button CSS*/

.type  {
width: 36%;
float:left;
}

.def  {
width: 60%;
float:right;
padding-right: 1.0em;
}

.equip  {
background-color: #fff; 
border: 0.10em #B90C36 solid; 
color: #000;
}

.equip_heading  {
      text-align:center;
      margin:0;
}

/*USED WITH FRED*/
div p img {
    float:left;
    width:30%;
    padding-right:0.75em;
}

.project_heading {
    color:#FFD861;
    text-decoration:underline;
    padding-top: 1.5em;

}


/*IPAD VIEW*/

@media (max-width: 1030px) {

body    {
        background-image:none;
        }


#wrapper   {
width:100%;
}

#header {
          width:100%;
}

#logo img {
           width:100%;

}


.type img  {
            width:80%;
}

#puzzle  {
             width:60%;
             }
}

/*TABLET VIEW*/

@media (max-width: 768px) {

#wrapper   {
            width:100%;
            }

#header   {
          width:100%;
          }

#logo img {
           width:100%;
           }

#services h3 {    
  font-size:60%;
}

.button   {
          font-size:0.7rem;
          line-height:4;
}

}

/*PHONE VIEW*/

@media (max-width: 450px) {

#wrapper   {
            width:100%;
           }

#header {
          width:100%;
        }

#logo img {
           width:100%;
          }

nav   {
     background-color:#B90C36;
     text-align:center;
     font-size: 0.65rem;
     font-weight:bold;
  }



nav li {
  float: left;
  padding-right:1rem;
}

nav li a {
  display: block;
  color: #FFF;
  text-align: center;
  padding: .5rem .5rem;
  text-decoration: none;
  }

nav li a:hover {
  background-color: #fff;
  color:#04245F;
}

#puzzle {
             width:100%;
             }
.hp_intro  {
                font-size:0.75em;
	        margin:0;
		font-family: 'M PLUS Rounded 1c', sans-serif;
}

.type img  {
            width:250%;margin:auto;
}


#services  {
  width: 90%;
 margin: 0 auto;
 font-family: arial, Helvetica, sans-serif;
}

#services h3 {    
  font-size:50%;
}

/*begin button CSS*/


#button-left-bottom   {
       text-align:center;
       margin:auto;
 }

#button-right-bottom   {
       text-align:center;
       margin:auto;
}

.button   {
          font-size:0.8rem;
          line-height:1.2;
          width:100%;height:2rem;
}


.def   {width:85%;
       clear:both;
       }


}





