body { 
  background: #f4f4f4;
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

hr {
  border: 1px solid lightgray;
  margin: 20px 0 20px 0;
}

form {  
  font-size: 20px; 
}

input {  
  font-size: 20px;
  padding: 10px;
  border-radius: 5px;
  border: 2px solid black;
  border-radius: 5px;
  font-size: 20px; 
}

label {
  display: block;
  padding: 10px 0 10px 0;
  font-size: 20px; 
}

button {
  cursor: pointer;
  padding: 20px;
  border-radius: 5px;
  border: 0;
  background: deepskyblue;
  background: yellow;
  color: black;
  font-weight: bold;
  font-size: 20px; 
}

select {
  padding: 10px;
  border: 2px solid black;
  border-radius: 5px;
  font-size: 20px; 
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.bold {
  font-weight: bold;
}

[ng-click] {
  cursor: pointer;
}

.tiny-text {
  font-size: 14px;
}

.create-icon {
  top: 0;
  right: 0;
  display: block;
  position: absolute;
}

.success {
  color: blue;
}

.error {
  color: red;
}

.underline {
  margin-bottom: 10px;
  border-bottom: 2px solid lightgray;
}

.clear {
  clear: both;
}

#logo {
  margin-top: 15px;
  margin-bottom: 5px;
}

#logo img {
  min-height: 25px;
  max-height: 25px;
  vertical-align: middle;
}

.logo-icon {
  color: #00308F;
  vertical-align: middle;
  font-size: 30px;
}

.logo-heading {
  vertical-align: middle;
  font-size: 30px;
}

.logo-caption{
  font-size: 14px;
  font-weight: normal;
  text-align: right;
  margin-top: 5px;
  margin-bottom: 10px;
}




#heading {
  display: table;
  min-width: 100%;
  max-width: 100%;
  min-height: 100px;
  padding: 0 0 0 0;
  margin: 0;
  position: relative;
}
 


#top-menu { 
  min-width: 70%;
  max-width: 70%;
  padding: 0;
  margin: 0 auto;
  display: block;
  text-align: center;
}

#top-menu li { 
  color: black;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  min-width: 18%;
  max-width: 18%;
  padding: 30px 0 0 0;
  margin: 0;
  text-align: center;
}


#right-menu {
  position: absolute; 
  top: 20px;
  right: 0;
  min-width: 50%;
  font-size: 20px;
  text-align: right;
}

#right-menu li { 
  display: inline-block;
  padding: 0;
  margin: 0;
  margin-right: 5%;
}

#right-menu li  img.profile-default-icon {
  max-height: 30px;
  vertical-align: middle;
}



#top-search {
  padding: 0;
  text-align: center;
  right
}

#top-search #search {
  margin-top: 20px;
  width: 300px;
}


#top-search img.search-icon {
  max-height: 30px;
  vertical-align: middle;
}



#mobile-menu { 
  position: absolute;
  top: 0;
  right: 10px;
  display: none;
}

#mobile-menu img { 
  min-width:50px;
  max-width:50px;
}



#mobile-logo img {
  min-height: 25px;
  max-height: 25px;
  vertical-align: middle;
}


#footer {
  display: table;
  min-width: 100%;
  max-width: 100%;
  min-height: 100px;
  padding: 0 0 0 0;
  margin: 0;
}


img.footer-logo {
  min-height: 25px;
  max-height: 25px;
  vertical-align: middle;
}


.footer-logo-icon img {
  min-height: 25px;
  max-height: 25px;
  vertical-align: middle;
}



#logo {
  position: absolute;
  left: 10px;
  top: 0px;
  font-weight: bold;
  font-size: 24px;
  padding: 0px 20px 10px 20px;
}

#my-account-heading {
  position: absolute;
  right: 50px;
  top: 25px;
  font-size: 16px;
}

#my-account-heading li {
  list-style: none;
  display: inline-block;
  margin-right: 20px;
}

#container { 
  display: table;
  min-width:100%;
  height:auto;
  overflow:scroll;
  padding: 0;
}

 
#loading-small img, #line-graph-loading img, #table-loading img{
  min-width: 60px;
  max-width: 60px;
  margin: 50px 0 50px 0;
}

#main {
  margin-top: 10px;
  background: white;
  min-height:100vh;
  min-width: 68%;
  max-width: 68%;
  float: left;
  vertical-align: text-top;
  margin: 0;
  padding: 0 1% 0 1%;
}

#main-menu {
  display: block;
  padding: 1%;
  text-align: right;
  border-bottom: 2px solid lightgray;
}

#main-menu img {
  width: 15px;
  vertical-align: middle;
}

#main-dashboard {
  display: block;
  padding: 1%;
}


.form-error {
  padding: 20px 0 0 0;
  color: red;
}

.widden {

  min-width: 98% !important;
  background: none !important;
  padding: 0;
  margin: 0;

}

.create {
  position: absolute;
  font-size: 18px;
  top: 30px;
  right: 30px;
  color: dimgray;
}

button.cancel {
  background: lightgray;
  color: black;
}

/***************************** DIRECTIVE ****************************/

post {
  display: block;
  background: white;
  padding: 20px 20px 20px 20px;
  margin-bottom: 30px;
}

post .post-image-container {
  text-align: center;
}

post .post-image-container img {
  max-height: 350px;
}

post .post-bar {
  border-top: 1px dotted lightgray;
  padding: 10px 0 10px 0;
  margin-top: 20px;
  font-size: 16px !important;
  position: relative;
}

post .post-bar li {
  list-style: none;
  display: inline-block;
  margin-right: 10px;
}

post .post-bar li label {
  color: gray;
  display: inline-block;
  font-size: 16px !important;
}

post .post-bar .like-icon {
  position: absolute;
  top: 50%;
  right: 0;
}

post .post-bar .like-icon img {
  min-width: 30px;
  max-width: 30px;
}


post .left {
  display: inline-block;
  min-width: 6%;
  max-width: 6%;
  vertical-align: text-top;
  margin: 0;
  margin-right: 2%;
  padding: 0;
}

post .left img {
  min-width: 100%;
  max-width: 100%;
  vertical-align: text-top;
  padding: 0;
}

post .right .username {
  padding: 0;
  margin-bottom: 20px;
  text-align:left;
  font-size: 16px;
  font-weight: bold;
}


post .right {
  display: inline-block;
  min-width: 90%;
  max-width: 90%;
  margin: 0;
  vertical-align: text-top;
  padding: 0;
}


post .hide {
  display: none;
}

post .full {
  min-width: 100%;
  max-width: 100%;
}

post li {
  cursor: pointer;
}




/***************************** BROCHURE ****************************/
#brochure-container {
  padding: 1%;
  margin: 0 auto;
  min-width: 68%;
  max-width: 68%;
  border-radius: 10px; 
  font-size: 20px; 
  position: relative;
}

.homebanner {
  min-height: 500px;
  max-height: 500px;
}


.homebanner img {
  border: 2px solid red;
  border-radius: 10px;
  min-height: 500px;
  max-height: 500px;
  text-align: center;
}

#brochure-about-us h1, #brochure-how-it-works h1 {
  margin: 0 0 10px 0;
  padding: 0;
}

#brochure-about-us, #brochure-how-it-works {
  margin: 0 auto;
  min-width: 30%;
  max-width: 30%;
  text-align: center;
}

#brochure-about-us p , #brochure-how-it-works p {
  margin: 10px;
}



img.brochure-logo {
  min-height: 25px;
  max-height: 25px;
  vertical-align: middle;
}


.brochure-logo-icon img {
  min-height: 25px;
  max-height: 25px;
  vertical-align: middle;
}


/***************************** CAROUSEL ****************************/

.my-carousel {
  display: none;
  min-width: 100vw;
  max-width: 100vw;
  min-height: 300px;
  max-height: 300px;
  margin-bottom: 50px;
}

.my-slide {
  width: 20vw;
  min-width: 20vw;
  max-width: 20vw;
  margin-right: 1vw;
  min-height: 300px;
  max-height: 300px;
  overflow-y: hidden;
}

.my-slide img {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}


/***************************** USER ****************************/

#user-register-form, #user-login-form {
  margin: 0 auto;
  display: table;
  text-align: center;
  padding: 50px;
  border: 2px solid grey;
}

h2.user-form-header  {
  font-size: 22px !important;
  margin: 30px 0 30px 0;
} 

#user-create-profile {
  margin: 0 auto;
  display: table;
  text-align: center;
  padding: 50px;
  border: 2px solid grey;
}

#user-settings {
  margin: 0 auto;
  display: table;
  text-align: center;
  padding: 50px;
}

#user-settings-menu li { 
  list-style: none;
  margin-bottom: 20px;
  font-size: 20px;
}

#user-settings .profile-image { 
  min-height: 300px;
  max-height: 300px;
}
 
#cropper-container img {
  min-height: 300px;
  max-height: 300px;
}

#user-settings .profile-image { 
  min-height: 300px;
  max-height: 300px;
}

#user-settings #userbio textarea { 
  min-width: 50vw;
  width: 50vw;
  max-width: 50vw;
  min-height: 200px;
  max-height: 200px;
}

#user-settings #userbio .links { 
  text-align:left;
}

#user-settings #userbio .links div { 
  margin-bottom: 10px;
}

#user-settings #userbio .links li { 
  list-style: none;
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 2px dotted lightgray;
  padding: 10px 0 10px 0;
}

#user-settings #userbio .links li:last-child { 
  border-bottom: none;
}

#user-settings #userbio .links li label { 
  display: inline-block;
  min-width: 40px;
  max-width: 40px;
  margin-right: 10px;
}


/***************************** PROFILE ****************************/

#user-profile { 
  min-width: 50%;
  max-width: 50%;
  margin: 0 auto;
}

#user-profile-top { 
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  border-bottom: 3px dotted lightgray;
}

#user-profile-top-left { 
  display: inline-block;
  margin-right: 10px;
  min-width: 20%;
  max-width: 20%;
  vertical-align: text-top;
}

#user-profile-top-right { 
  display: inline-block;
  margin-right: 10px;
  min-width: 70%;
  max-width: 70%;
  text-align: left;
  vertical-align: text-top;
}

#user-profile-image img  { 
  min-width: 100%;
  max-width: 100%;
}

#user-profile-top-right h2 { 
  margin-top: 0;
}

#user-profile-top-right .links { 
  list-style: none;
  padding: 20px 0 10px 0;
}

#user-profile-top-right .links a { 
  color: blue;
}

#user-profile-top-right .links img { 
  min-height: 20px;
  max-height: 20px;
  vertical-align: middle;
}


#user-textarea-popup {
  min-width: 50vw;
  max-width: 50vw;
  text-align: center;
  padding: 1vw;
}

#user-textarea-popup textarea {
  min-width: 100%;
  min-height: 200px;
  max-height: 200px;
  margin-bottom: 20px;
  font-size: 16px;
  padding: 20px;
}

#user-textarea-popup input {
  display: none;
}

#user-textarea-popup {
  text-align: right;
}


#user-textarea-popup li {
  list-style: none; 
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  cursor: pointer;
}

#user-textarea-popup li:last-child {
  margin-right: 0;
}

#user-textarea-popup li img {
  min-height: 50px;
  max-height: 50px;
}



#user-profile-subscribers {
  padding: 30px 0 0 0;
}

#user-profile-subscribers li { 
  list-style: none;
  font-size: 18px;
  display: inline-block;
  margin-right: 10px;
}

#user-profile-subscribers li button { 
  font-size: 18px;
  padding: 10px;
  border-radius: 5px;
  font-weight: normal;
}

#user-profile-subscribers button.subscribed { 
}

#user-profile-subscribers button.unsubscribed { 
  background: lightgray;
  color: black;
}


#user-profile-subscribers li.subscriber-count { 
  font-size: 18px;
  font-weight: normal;
}

/***************************** BROCHURE ****************************/

.brochure-social-image {
  margin-top: 50px;
  text-align: center;

}

.brochure-social-image img.profile-image {
  max-width: 300px;
  border-radius: 10px;
  border: 5px solid black;
}

.brochure-social-image .verified-icon {
  padding: 30px;
}

.brochure-social-image .verified-icon img  {
  max-width: 30px;
  vertical-align: middle;
}


/***************************** SEARCH ****************************/

.page-divider {
  border: 0;
  border-top: 2px solid #d4d4d4;
}

#search-container {
  min-width: 50%;
  max-width: 50%;
  margin: 0 auto;
}

#search-tabs {
  margin-bottom: 30px;
}

#search-tabs li {
  display: inline-block;
  list-style: none;
  background: red;
  padding: 10px;
  color: white;
  margin-right: 20px;
  border-radius: 5px;
  cursor: pointer;
}


#search-feed-list {
  min-width: 100%;
  padding: 20px 0 20px 0;
  margin-top: 20px;
}

#search-feed-list li {
  list-style: none; 
}

#search-people-list {
  min-width: 100%;
  padding: 20px 0 20px 0;
  margin-top: 20px;
}

#search-people-list li {
  list-style: none; 
  padding: 20px;
  background: white;
}


#search-people-list li {
  list-style: none; 
  padding: 5px;
  background: white;
  position: relative;
  padding: 10px;
}

#search-people-list li .left {
  display: inline-block;
  margin-right: 10px;
  min-width: 10%;
  max-width: 10%;
  vertical-align: text-top;
}

#search-people-list li .right {
  display: inline-block;
  margin-bottom: 20px;
  text-align:left;
  min-width: 88%;
  max-width: 88%;
  vertical-align: text-top;
}

#search-people-list li .user-profile-image {
  vertical-align: text-top;
  padding: 0;
}

#search-people-list li .user-profile-image img  { 
  min-width: 100%;
  max-width: 100%;
  vertical-align: text-top;
}


#search-people-list li .right .username {
  font-size: 18px;
  font-weight: bold;
  border-bottom: 2px solid lightgray;
  vertical-align: middle;
  padding: 10px 0 10px 0;
  margin-bottom: 10px;
}

#search-people-list li .right .subscribe {
  font-size: 16px;
  font-weight: normal;
  color: dimgray;
  vertical-align: middle;
}

#search-people-list li .right .subscribe button {
  font-size: 10px;
  padding: 5px;
  border-radius: 3px;
  font-weight: normal;
}

#search-people-list li .right .details {
  font-size: 14px;
  vertical-align: middle;
}


#search-communities-list {
  min-width: 100%;
  padding: 20px 0 20px 0;
  margin-top: 20px;
}

#search-communities-list li {
  list-style: none; 
}


/***************************** FEED ****************************/

#feed-container {
  min-width: 50%;
  max-width: 50%;
  margin: 0 auto;
}


#feed-post-box textarea {
  min-width: 100%;
  padding: 2%;
  margin-bottom: 20px;
  min-height: 100px !important;
  max-height: 100px !important;
  display: block;
  font-size: 20px;
}


.feed-post-nav-links {
  text-align: right;
}


.feed-post-nav-links li {
  list-style: none; 
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.feed-post-nav-links li:last-child {
  margin-right: 0;
}

.feed-post-nav-links li img {
  min-height: 50px;
  max-height: 50px;
}


#feed-list {
  min-width: 100%;
  padding: 10px 0 10px 0;
  margin-top: 10px;
}

#feed-list li {
  list-style: none; 
}




/***************************** MOBILE ****************************/

#mobile-menu-open {
  display: none;
  min-width: 80%;
  min-height: 100vh;
  position: absolute;
  background: white;
  z-index: 100;
  top: 0;
  padding: 10%;
}

#mobile-menu-open li {
  display: block;
  list-style: none;
  font-size: 24px;
  margin-bottom: 20px;
}

 
@media only screen and (max-width: 600px) {

  .modal {
    text-align: center;
  }

  .modal input {
    max-width: 100%;
  }

  .modal button {
    font-size: 18px;
    padding: 10px;
  }

  #heading {
    min-height: 150px;
    max-height: 150px;
    border-bottom: 0;
    min-width: 100vw;
    max-width: 100vw;
    padding: 0;
  }

  #footer {
    border-top: 1px solid black;
    min-width: 90%;
    padding: 5% 5% 0 5%;
    display: block;
  }

  #top-menu, #right-menu {
    display: none;
  }

  #top-search {
    position: absolute;
    top: 50px;
    text-align: center;
    min-width: 100%;
  }

  #mobile-menu {
    top: 10px;
    display: block;
    margin-top: 10px;
  }

  #mobile-menu img {
    min-width: 30px;
    max-width: 30px;
  }

  #logo {
    top: 10px;
    margin: 0;
    padding: 0;
  }

  #logo img {
    min-height: 30px;
    max-height: 30px;
  }

  .logo-icon {
    color: #00308F;
    vertical-align: middle;
    font-size: 40px;
  }

  .logo-heading {
    font-size: 24px;
  }

  #main {
    min-width: 100vw;
    max-width: 100vw;
    padding: 0;
  }

  #main-dashboard {
    min-width: 100vw;
    max-width: 100vw;
    padding: 0;
  }

  /***************************** BROCHURE ****************************/

  #brochure-container {
    margin-top: 10px;
    min-width: 90%;
  }

  #brochure-container h1 {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #brochure-about-us {
    min-width: 80vw;
    max-height: 50vh;
    overflow-x: scroll;
  }

  /***************************** CAROUSEL ****************************/

  .my-carousel {
    margin-top: 30px;
    min-height: 200px;
    max-height: 200px; 
    margin-bottom: 10px;
  }

  .my-slide {
    width: 50vw;
    min-width: 50vw;
    max-width: 50vw;
   }

 
  /***************************** USER ****************************/

  #mobile-menu-open img.profile-default-icon {
    min-width: 50px;
    max-width: 50px;
  }


  #user-register-form, #user-login-form {
    margin: 0 auto;
    text-align: center;
    padding: 5%;
    border: 0;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
    min-width: 80%;
    max-width: 80%;
    text-align: center !important;
  }

  h2.user-form-header  {
    font-size: 18px !important;
    font-weight: bold;
    margin: 30px 0 20px 0;
  } 

  #user-register-form label, #user-login-form label {
    font-weight: bold;
  }

  #user-create-profile {
    margin: 0 auto;
    display: table;
    text-align: center;
    padding: 50px;
    border: 2px solid grey;
  }

  #user-profile {
    min-width: 94%;
    max-width: 94%;
    padding: 3%;
  }


  /***************************** BROCHURE ****************************/

  .homebanner {
    min-height: auto;
    max-height: auto;
    max-width: 70%;
    max-width: 70%;
  }


  .homebanner img {
    border: 2px solid red;
    border-radius: 10px;
    min-height: auto;
    max-height: auto;
    max-width: 100%;
    max-width: 100%;
    text-align: center;
  }

  /***************************** FEED ****************************/

  #feed-container {
    min-width: 90%;
    max-width: 90%;
    padding: 3%;
    margin: 0 auto;
  }

  #feed-list {
    min-width: 90%;
    max-width: 90%;
    padding: 3%;
    margin: 0 auto;
  }

  /***************************** SEARCH CONTAINER ****************************/

  #search-container {
    min-width: 90%;
    max-width: 90%;
    padding: 3%;
    margin: 0 auto;
  }

  /***************************** POST ****************************/

  post .post-image-container {
    text-align: center;
    max-height: 300px;
    overflow-y: hidden;
  }

  post .post-image-container img {
    min-width: 100%;
  }

}

