* {

  box-sizing: border-box;
}

body {
  color: #414141; /* Dark grey*/
  background-color: #D6E9FE;
  margin:0px;
}
a:link,
a:visited {
  color: #000000;
  text-decoration: none;
}

h2 {
  padding: 5px 10px;
}
h2:hover {
  color: teal;
}

.menu-container {
  color: #fff;
  background-color: #5995DA;  /* Blue */
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.menu {
  width: 900px;
  display: flex;
  justify-content: space-between;
}

.links {
  display: flex;
  justify-content: flex-end;
}

.login {
  margin-left: 20px;
}
.header-container {
  color: #5995DA;
  background-color: #D6E9FE;
  display: flex;
  justify-content: center;
}


.header {
  width: 900px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.beaker {
  height:80%;
}

.main-menu-container {
  color: #000000;
  background-color: #b4d6fe;
  display: flex;
  justify-content: center;
  font-size: 18px;
  font-family: sans-serif;
  width: 100%;
/*  padding: 20px;*/
}

.main-menu {
  width: 900px;
  display:flex;
  margin: 0px;
  padding:0px;
  list-style-type: none;
/*  background-color: pink;*/
}

.main-menu > li {
  display: flex;
  flex: 1 1 auto;
  }


.main-menu-box {
  display:flex;
  flex: 1 1 auto;
  margin-right: 0px;
  padding: 10px;
  justify-content: center;
}

.active-box {
  background-color: #34567E;
  color: white;
}

a.active-box:link, a.active-box:visited {
  color: white;
  text-decoration: none;
}

.main-menu-box:hover {
  background-color: #34567E;
  color: white;
}

.heading {
  font-size: 20px;
  font-family: "Helvetica", "Arial", sans-serif;
  padding-left: 20px;
}
.heading > a {
  color:#5995DA;

}

.upload-section {
  display:flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.upload-area {
  display: flex;
  justify-content: space-space-between;
  background-color: #D6E9FE;

}

.gallery-upload, .gallery-multiupload {
  flex:1;
  padding:5px;
  background-color: #e6f1fe;
  margin: 5px 5px;
}
input[type=text] {
  width: 100%;
  padding: 8px 14px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 50%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.photo-grid-container {
  display: flex;
  justify-content: center;
}
.upload-info{
  display:flex;
  justify-content: center;
  flex-direction: column;
}

.text-container {
  display:flex;
  box-sizing:border-box;
}
.introtext {
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.login-status{
  text-align: center;
  font-size: 20px;
  background-color: #d1d1e0;
}

.button1, .submit-multi{
    color: #FFF;
    background-color: #88AAEE;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    /*border: 2px solid #5D6063;*/
    border-radius: 5px;


    box-sizing: border-box;

}

.photo-grid {
  /*width: 900px;*/
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  margin: 10px 50px;

}

.photo-grid-item{
  /*background-position: center;
  background-repeat: no-repeat;
  background-size: cover;*/
  /*flex-grow:1;*/
  /*padding: 20px;*/
  margin: 10px;
  /*background-color: white;*/

}

/*.photo-grid-item:last-child{
  flex-grow:10;
}*/

.photo-grid-item img{
  height: auto;
  width: 1080px;
  object-fit: cover;
  object-position: center;
}


.bigger-thumbs{
  display:flex;
  padding:.5rem;
  margin: 0px;
  height: auto;
  width: 100%;
  align-items: flex-end;
  justify-content:flex-start;
}

/*  .bigger-thumbs img{
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center;
  } */

.desc {
  /*height: 40px;*/
  position:absolute;
  padding: 5px;
  font-family: Ubuntu,Arial,Helvetica,sans-serif;
  font-size: 16px;
  background-color: rgba(0,0,0,.3);
  color: #f2f2f2;
  margin: 10px;
}



.beaker img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

/*.photo-grid-item h3 p {
  font-family: Catamaran;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  padding-top: 16px;
}*/

.goodmessage {
  color: green;
}

.social {
  align-self: flex-end;
  margin-bottom: 20px;
}

.flexcontainer {
  display:flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}


.form-box, .success-message {
  display:flex;
  justify-content: center;
  flex-direction: column;
}

.form-row {
    padding: 5px;
    display:flex;
    justify-content: center;
    flex-direction: row;
}


.footer-items {
  display: flex;
  justify-content: space-between;
}

.footer-item {
  background-color: #D6E9FE;
  flex:1;
}

.footer-two {
  display: flex;
  width:900px;
  background-color: #D6E9FE;
  flex: initial;
  justify-content: space-between;

}



.progressbar-box, .progressbar-box2, .loaderbox{
  display: flex;
  align-items: center;
  height: 255px;
}

.progressbar-box2 {
  background-image: url("../images/cactus.gif");
  background-size: cover;
  background-position: center;
  background-color: white;
  align-items: flex-end;
  padding: 10px;
}

#cactusbox {
  width:52px;
  height:52px;
  background: url("../images/upload-icon5.png") 0 0;
}
#cactusbox:hover {
  background: url("../images/upload-icon5.png") -52px 0;
}

#bar_blank, #bar_blank2 {
  border: solid 1px #000;
  height: 20px;
  width: 300px;
}

#bar_color, #bar_color2 {
  background-color: #006666;
  height: 20px;
  width: 0px;
}

#bar_blank, #hidden_iframe, #bar_blank2, #hidden_iframe2 {
  display: none;
}



#loader {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #3498db; /* Blue */
  border-bottom: 8px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  text-align: center;
}


@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*.signup {
  margin-left: auto;
}*/


.signup-form{
  width: 400px;
  display: flex;
  flex-direction: column;
}

@media (max-width:1000px){
  .header {
    height:80px;
  }
  .heading {
    font-size: 12px;
  }
  .beaker {
    width:40px;
  }
  .upload-area {
    width: 310px;
    flex-direction: column;
  }

  .photo-grid {
    /*width: 900px;*/
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    margin: 0px 0px;

  }

  .photo-grid-item{
    height: auto;
    width: 100%;
  }

  .photo-grid-item img{
    height: 300px;
    width: 400px;
    object-fit: cover;
    object-position: center;
  }

  .bigger-thumbs img{
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }


  .footer-two {
    display: flex;
    width:310px;
    background-color: #D6E9FE;
    flex: initial;
    justify-content: center;
  }
  .main-menu-container {
    background-color: #b4EEfe;
    font-size: 14px;

}

@media (max-aspect-ratio: 1/1) and (max-width: 1000px) {
/*  .photo-grid {
    flex-direction: row;
  }*/

  .photo-grid {
    /*width: 900px;*/
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    margin: 0px 0px;

  }

  .photo-grid-item{
    padding: 0px;
    margin: 0px;
    height: auto;
    width: 100%;
  }

  .photo-grid-item img{
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .main-menu-container {
    background-color: #b4EEfe;
    font-size: 14px;

  }
  .upload-area {
    width: 360px;
    flex-direction: column;
  }


  .footer-two {
    display: flex;
    width:320px;
    background-color: #D6E9FE;
    flex:initial;
    justify-content:space-between;
  }
}
