.adjusted-font{
    font-size: 20px;    
}
.adjusted-font-large{
    font-size:30px;
}

.adjusted-font-small{
    font-size:16px
}

.adjusted-font-esmall{
  font-size:14px;
}
.adjusted-font-eesmall{
  font-size:13px;
}

.top-icon{
  color:black;
  padding:5px;
  font-weight: lighter;
}

.top-icon:hover{
  color: red;
}
.top-icon:focus{
  color: black;
}

.adjusted-container{
    padding-top:80px;
    padding-bottom:10vh;
    align-self:center;
    width:35vw;
}

.flex-centered{
  width: 100%;
  display:flex;
  justify-content: center;
  align-items: center;
}

.header-top{
  position: fixed; 
  height: 50px; 
  top: 0; 
  left: 0; 
  right: 0; 
  background-color: var(--bg);
  z-index: 2; 
  padding: 1%; 
  padding-left: 1%;
  border: solid grey;
  border-width: 0px 0px 2px 0px; 
  display: flex;
  align-items: center;
}

.right-container{
  position:fixed;
  right:2vh;
  top:14vh;
  width:20%;
}

.square-div{
  position:relative;
  width: 24%;
  padding-bottom:24%;
  margin:0.5%;
  cursor:pointer;
}
.square-div>div{
  position: absolute;
  top:0;left:0;right:0;bottom:0;
}

@media only screen and (max-width:1100px){
    .adjusted-container{
      width:75vw;
    }
}

@media only screen and (max-width:500px){
  .adjusted-font{
      font-size:16px;
      color:'red';
  }
  .adjusted-font-large{
      font-size:27px;
  }
  .adjusted-font-small{
      font-size:14px;
  }
  .adjusted-font-esmall{
    font-size:12px;
  }
  .adjusted-font-eesmall{
    font-size:11px;
  }
  .adjusted-container{
    width:95vw;
  }
  .square-div{
    position:relative;
    width: 32.3%;
    padding-bottom:32.3%;
    margin:0.5%;
    cursor:pointer;
  }
}

.overlay{
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg);
  top: 0;
  left: 0
}

.transparent-overlay{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(70, 28, 225, 0.385);
  top: 0;
  left: 0
}

.card-4-3{
    padding-bottom: 75%;
    position: relative;
    margin-bottom:15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card-content{
    flex: 5;
    border-bottom: solid 2px gray;
    text-align: justify; 
    margin: 0;
    padding:10px;
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow-y: scroll;
}

.card-footer{
    flex: 1;
    padding:10;
}

.card-4-3 > div{
    position: absolute;
    top: 0; 
    right: 0; 
    left: 0; 
    bottom: 0; 
    display: flex;
    flex-direction: column;
    border: solid 2px gray;
}



/* Custom Scrollbar */
/* width */
::-webkit-scrollbar {
  width: 4px;
}
  
/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 2px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
::-webkit-scrollbar:hover{
  width:10px;
}


/* Sliders */
.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: #d3d3d3;
  outline: none;
  /* opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s; */
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius:10px;
  background: black;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius:10px;
  background: black;
  cursor: pointer;
}

.blacknwhitebtn{
  font-family: inherit;
  background-color:transparent;
  padding: 5px 10px 5px 10px;
  border:solid  2px var(--text-color);
  color:var(--text-color);
  margin:5px;
  cursor: pointer;
}
.blacknwhitebtn:hover{
  background-color:#000;
  color:white;
}

.blacknwhitebtn:active{
  background-color: grey;
}

.whitenblackbtn{
  background-color:transparent;
  padding: 5px 10px 5px 10px;
  border:solid  2px white;
  color:white;
  margin:5px;
  cursor: pointer;
}

.whitenblackbtn:hover{
  background-color:white;
  color:black;
}
.whitenblackbtn:active{
  background-color: grey;
}

/* Used in activity indicator */
.loader {
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid black; /* Black */
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 2s linear infinite;
}

.small-loader{
  border: 3px solid grey; /* Light grey */
  border-top: 3px solid black; /* Black */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Used in the login and registration pages */
.input-style{
  font-family: inherit;
  border: solid #aaa;
  border-width: 0px 0px 2px 0px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-size:16px;
}

.input-style:focus{
  outline:none;
  border: solid #000;
  border-width: 0px 0px 2px 0px;
}

.error-list{
  color:red;
}

.swipee-like{
  position: absolute;
  align-self: center;
  font-size:30px;
  z-index: 2;
  color:green;
}

.swipee-cross{
  align-self: center;
  position: absolute;
  font-size:30px;
  z-index:2;
  color:red;
}


/* Models */
/* ImageUploadModel */
.image-upload-model{
  position:fixed;
  display:flex;
  z-index: 4;
  top:0;
  left:0;
  right:0;
  bottom:0;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-color: var(--bg);
}

/* Menu for OneByOne Image View */
.menu-bottom{
  position: fixed;
  display: flex;
  bottom:0px;
  left:0px;
  right:0px;
  z-index: 5;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  background-color:rgba(145, 145, 145, 0.638);
  color:white;
}

.menu-top{
  position: fixed;
  display: flex;
  top:0px;
  left:0px;
  right:0px;
  z-index: 5;
  padding:0px 5px 0px 5px;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  background-color:rgba(0, 0, 0, 0.1);
  color: white;
  text-shadow: 1px 1px 1px #000000;
}

.menu-button{
  background-color: var(--bg);
  color:black;
}

.image-view-left{
  z-index: 5;
  position: fixed;
  color:black;
  border:none;
  cursor:pointer;
  margin:5px;
  top: 50%;
  left: 0%;
}

.image-view-right{
  z-index: 5;
  color:black;
  border:none;
  cursor:pointer;
  position: fixed;
  margin:5px;
  top: 50%;
  right: 0%;
}

.menu-bottom-button{
  background-color: var(--bg);
  color:black;
  border:none;
  cursor:pointer;
  margin:10px;
  padding:10px;
  border-radius: 5px;
  text-align: center;
}

.menu-button:hover,.menu-bottom-button:hover{
  background-color:black;
  color:white;
}

.custom-input-field {
  width: 0.1px;
	height: 0.1px;
  opacity: 0;
  overflow: hidden;
  background-color: red;
	position: absolute;
  z-index: -1;
}

/* ImageView Model */
.image-view-model{
  position:fixed;
  display:flex;
  z-index: 4;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color: var(--bg);
}


.back-line{
  color:black;
  padding:0px;
}

.wall-photo-container{
  width: 100%; 
  display: flex; 
  flex-wrap: wrap;
}

.post-footer-btn{
  text-align: center;
  color:black;
}

.post-footer-btn:hover{
  color:goldenrod;
}

.options-model{
  position:fixed;
  display:flex;
  z-index: 4;
  top:0;
  left:0;
  right:0;
  bottom:0;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-color: rgba(0, 0, 0, 0.9);
}

.underlined-textbox{
  border:solid #ddd;
  border-width: 0px 0px 2px 0px;
  text-align:center;
  width:31%;
}

.underlined-textbox:focus{
  outline:none;
  border:solid black;
  border-width: 0px 0px 2px 0px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}


/* Related to Chat */
.message-container{
  position: fixed;
  display: flex;
  top: 50px;
  bottom: 50px;
  left: 0px;
  right: 0px;
  padding-top: 1vh;
  padding-left: 1%;
  padding-right: 1%;
  flex-direction: column;
  border: solid black;
  border-width: 0px 2px 0px 2px;
  overflow-y: scroll;
  scroll-behavior: auto;
  z-index: 90;
  background-color: var(--bg);
}

.chatroom-footer{
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  display: flex;
  z-index:100;
  flex-direction: row;
  border: solid 2px black;
  background-color: var(--bg);
  padding: 5px;
}

.message-outer-left{
  width: 100%;
  margin-bottom: 3px;
  display:flex;
  flex-direction: row;
}

.message-outer-right{
  width:100%;
  margin-bottom:3px;
  display:flex;
  flex-direction: row-reverse;
}

.message-inner-left{
  align-self: flex-start;
  max-width: 70%;
  background-color: black;
  border: transparent;
  color: white;
  word-wrap: break-word;
  white-space: pre-wrap;
  font-weight: 200;
}

.message-inner-right{
  max-width: 70%;
  background-color: var(--bg);
  border: solid 2px black;
  color: black;
  word-wrap: break-word;
  white-space:pre-wrap;
}

.message-img{
  max-width: 100%;
  border: solid 2px black;
  object-fit: cover;
}

.message-avatar{
  width: 30px; 
  height: 30px; 
  border-radius: 15px; 
  object-fit: cover; 
  align-self: flex-end;
}

.chat-text-input{
  width: 100%;
  line-height: 18px;
  font-size:16px;
  padding: 7px;
}

.chat-text-input:focus{
  outline:none;
  background-color:white;
  color:black;
}

.date-divider{
  width: 100%;
  padding: 5px; 
  font-size:14px;
  text-align: center;
}

.message-option-button{
  border:none;
  color:#ddd;
  background:none;
}

.message-option-button:hover{
  color:red;
}
.message-option-button:focus{
  outline:none;
  font-size:20px;
}
.message-footer-button{
  background: none; 
  border: none;
}
.message-footer-button:hover{
  color:red;
}
.message-footer-button:focus{
  outline:none;
  font-size:20px;
}

.message-image-upload{
  position:fixed;
  z-index: 1000;
  bottom:0;
  left:0;
  right:0;
  height:100;
  padding:10px;
  display: flex;
  border: solid 2px black;
  background-color: var(--bg);
}

/* Generated using gradient-animator.com */
.message-typing-indicator {
  background: linear-gradient(270deg, #000000, #ffffff);
  background-size: 400% 400%;

  -webkit-animation: AnimationName 2s linear infinite;
  -moz-animation: AnimationName 2s linear infinite;
  -o-animation: AnimationName 2s linear infinite;
  animation: AnimationName 2s linear infinite;
}

@-webkit-keyframes AnimationName {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@-o-keyframes AnimationName {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@keyframes AnimationName {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
