a {
   text-decoration: none;
}

body {
   margin: 0;
	padding: 0;
   padding-top: 5px;
	color: #888;
   background-color: #000;
   
/*background-image: -webkit-linear-gradient(left, #b2dcc6 49%, #333333 49%);*/
/*
   background-image: linear-gradient(to right, #b3b3b3,#b3b3b3 400px,#dfdfdf 400px,#dfdfdf 800px,#b3b3b3 800px);
   */
	font-family: "Lucida Sans Unicode";
   /*font-family: 'Lato', sans-serif;*/
}

/* header */

header {
   font-size: 0;
   line-height: 0;
   vertical-align: middle;
   background-size: 100%;
   background-position: 50% 50%;
   background-repeat: no-repeat;
}

header #image {
   display: block;
   height: 0;
   padding-top: 30%;
   margin-bottom: 5px;
}


/* Navigation */



nav dropdown {
  display: none;
}

menu {
  
   width: 98%;
   margin: auto;
   background: #f0f0f0;
   text-decoration: none;
      
}

menu ul {
    display: flex;
    
    flex-wrap: wrap;
    justify-content: flex-start;
    
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
}

menu ul li {
    flex: 0 1 auto;
    position: relative;
    transition: all linear 0.1s;	
    
    flex-grow: 1;
    text-align: center;
    border-left: 1px solid #fff;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
    text-decoration: none;
}

menu ul li .active {
  /* background: #c0c0c0;*/
   border-bottom: 4px solid #19bcc2;
 /*  border-left: 1px solid #c0c0c0;*/
 text-decoration: none;
}

menu ul li:hover {
    background: #d0d0d0;
    color: white;
    border-left: 1px solid #d0d0d0;
    text-decoration: none;
}

menu ul li a:hover {
   /* background: #d0d0d0;*/
    color: white;
   /* border-left: 1px solid #d0d0d0;*/
      /*border-bottom: 4px solid #19bcc2;*/
      text-decoration: none;
}

menu ul li:first-child {
    border-left: none;
    text-decoration: none;
}

menu ul li a {
   align-items: flex-start;
   display: flex;

   display: block;
   text-decoration: none;
   color: #616161;
   padding: 10px 0;
}




dropdown {

  display: inline-block; 
  text-decoration: none;
}



dropdown label, dropdown ul li {
   display: block;
   width: 95%;
   background: #ECF0F1;
   padding-top: 5px;
   padding-bottom: 5px;
   text-align: center;
   border-top: 1px solid #fff;
   border-bottom: 1px solid #ccc;
   text-decoration: none;

   /*white-space:nowrap;*/
}


dropdown ul li {
  border-top: 1px solid #fff;
  text-decoration: none;
}


dropdown ul li a {
color: #616161;
 /*  align-items: flex-start;
   display: flex;
*/
   display: block;
 /*  text-decoration: none;
   color: #616161;
 /*  padding: 10px 0;*/
 text-decoration: none;
}


dropdown label:hover, dropdown ul li:hover {
 /* background: #ECF0F1;*/
    border-left: 4px solid #19bcc2;
 /* color: white;*/
  cursor: pointer;
 /* border-top: 1px solid #d0d0d0;*/
 text-decoration: none;
}

dropdown label {
   border-top: none;
      color: #616161;
      background: #ECF0F1 url(icons.png) 10px 50%/40px 40px no-repeat;
 /* color: #1ABC9C;*/
 font-size: 24px;
  border-left: 4px solid #19bcc2;
  /*border-radius: 0 5px 0 0;*/
  position: relative;
  z-index: 12;
  text-decoration: none;
}

dropdown input {
  display: none;
  text-decoration: none;
}

dropdown input ~ ul {
  position: relative;
  visibility: hidden;
  opacity: 0;
   font-size: 24px;
  top: -20px;
  z-index: 11;
  text-decoration: none;
}


dropdown input:checked + label {
  /*background: #19bcc2;*/
  background: #19bcc2 url(icons2.png) 10px 50%/40px 40px no-repeat;
  color: white;
  text-decoration: none;
}

dropdown input:checked ~ ul {
  visibility: visible;
  opacity: 1;
  top: 0;
  text-decoration: none;
}


/* Dropdown colors per element */
/*
dropdown ul li:nth-child(1) {
  border-left: 4px solid #E74C3C;
}
dropdown ul li:nth-child(1) .fa {
  color: #E74C3C;
}
dropdown ul li:nth-child(1):hover {
  background: #E74C3C;
  color: white;
}
dropdown ul li:nth-child(1):hover .fa {
  color: white;
}

dropdown ul li:nth-child(2) {
  border-left: 4px solid #0072B5;
}
dropdown ul li:nth-child(2) .fa {
  color: #0072B5;
}
dropdown ul li:nth-child(2):hover {
  background: #0072B5;
  color: white;
}
dropdown ul li:nth-child(2):hover .fa {
  color: white;
}

dropdown ul li:nth-child(3) {
  border-left: 4px solid #2C3E50;
}
dropdown ul li:nth-child(3) .fa {
  color: #2C3E50;
}
dropdown ul li:nth-child(3):hover {
  background: #2C3E50;
  color: white;
}
dropdown ul li:nth-child(3):hover .fa {
  color: white;
}

dropdown ul li:nth-child(4) {
  border-left: 4px solid #1ABC9C;
}
dropdown ul li:nth-child(4) .fa {
  color: #1ABC9C;
}
dropdown ul li:nth-child(4):hover {
  background: #1ABC9C;
  color: white;
}
dropdown ul li:nth-child(4):hover .fa {
  color: white;
}
*/

.animate {
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -ms-transition: all .3s;
  transition: all .3s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Chrome and Safari */
  -moz-backface-visibility: hidden;
  /* Firefox */
  -ms-backface-visibility: hidden;
  /* Internet Explorer */
} 


/* content */
main {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   
   font: 10pt normal Arial, sans-serif;

 /*  height: auto;*/
   
  /*margin: 80px auto 0 auto;*/
 /*  text-align: center;*/
   /*width: 660px;*/
 /*  clear: both;*/
      
}

main p {
   font-size:18px;
   /*margin-right: 15px;*/
   line-height: 1.5;
   
   /*text-align: center;*/
   color: #616161;
	/*clear: both;*/
   
}


h3 {
	/*14px via YUI Fonts CSS foundation*/
	font-size:150%;  
}
h1,h2,h3 {
	margin-bottom:0.3em;
   /*margin-top:1em 0;*/
}
h1,h2,h3,h4,h5,h6,strong {
	font-weight:bold; 
}

main .box {

    
    display: flex;
    
  /*  justify-content: flex-start;*/
    
   /* flex-direction: row;*/
   /* list-style: none;*/
   /* margin: 0;
    padding: 0;*/
   /* overflow: hidden;*/


    border: 2px solid #fff;
    cursor: pointer;
    height: 182px;
    float: left;
    margin: 5px 5px 5px 5px;
    position: relative;
    overflow: hidden;
    width: 320px;
    -webkit-box-shadow: 1px 1px 1px 1px #ccc;
    -moz-box-shadow: 1px 1px 1px 1px #ccc;
    box-shadow: 1px 1px 1px 1px #ccc;
}

main .box p {
   font-size:18px;
   margin-right: 15px;
   line-height: 1.5;
   color: #fff;
}
 
main .box img {
    /*position: absolute;*/
    left: 0;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}

main .box .caption {
    background-color: rgba(0,0,0,0.8);
    position: absolute;
    color: #fff;
    z-index: 10;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    left: 0;
}

main .about {
   width: 95%;
}

main .contact {
   width: auto;
   max-width: 600px;
}

.form-group {
   margin-bottom: 8px;
}
#feedbackForm {
   font-size: 12px;
}







/* footer */
footer {
    padding-top: 25px; 
    /*padding: 0;*/
   /* padding-top: 10%;*/
   text-align: center;
   color: #616161;
	clear: both;

}





/* big screen */
@media (min-width: 500px) {
   header {
      width: 100%;
      margin: auto;
      background-image: url(logo.png);
      width: 500px;
   }
      *{
      padding: 0;
      /*margin: 0;*/
      margin: auto;
      
          /*  width: 100%;*/
   /*   box-sizing: border-box;*/
   }
   
   main {
      margin-top: 40px; 
      /*margin: auto;*/
      padding: 0;
      width: 100%;
   }

/* footer on small screen */
   /*
   footer {
      width: 500px;
      margin: auto;
   }*/


main .box .details {
    width: 320px;
    height: 300px;
    bottom: -280px;
    text-align: left;
    padding: 15px;

}


main .box:hover .details {
    -moz-transform: translateY(-25%);
    -o-transform: translateY(-25%);
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
}


}

/* small screen */
@media (max-width: 499px) {
   header {
      width: 99%;
      display: inline-block;
      background-image: url(logo2.png); 
   }
   

   
   main {
   	margin-top: -120px; 
      /*width: 100%;
      margin: auto;*/
      
      padding: 0;
      /*margin: 0;*/
      width: 95%;
     /* margin: auto;*/
      box-sizing: border-box;
      
   }
   
   
   main .box {
/*
    display: flex;

    border: 2px solid #fff;
    cursor: pointer;
    height: 182px;
    float: left;*/
    
  /*  width: 95%;*/
   /* position: relative;
    overflow: hidden;*/
   /* width: 300px;*/
}


main .box .details {
    width: 320px;
    height: 300px;
    bottom: -170px;
    text-align: left;
    padding: 15px;
    
}


   *{
      padding: 0;
      margin: 0;
      width: 100%;
      margin: auto;
      box-sizing: border-box;
   }
   
   nav menu {
      display: none; 
   }
   
   nav dropdown {
      display: inline-block;
   }
}

@media (min-width: 700px) {
   menu {
      width: 680px;
   }
   
   main {
      width: 700px;
   }
}
