/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/*{border:1px solid;}*/
html, body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}
main, #messages-card {
  height: 100%;
  padding-bottom: 0;
}
#messages-card-container {

  height: calc(100% - 50px);
  padding-bottom: 0;
}
#messages-card {
  margin-top: 15px;
}
.mdl-layout__header-row span {
  margin-left: 15px;
  margin-top: 17px;
}
.mdl-grid {
  max-width: 1024px;
  margin: auto;
}
.material-icons {
  font-size: 36px;
  top: 8px;
}
.mdl-layout__header-row {
  padding: 0;
  margin: 0 auto;
}
.mdl-card__supporting-text {
  width: auto;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}
#messages {
  overflow-y: auto;
  margin-bottom: 10px;
  height: calc(100% - 80px);
}
#message-filler {
  flex-grow: 1;
}
.message-container:first-of-type {
  border-top-width: 0;
}
.message-container {
  display: block;
  margin-top: 10px;
  border-top: 1px solid #f3f3f3;
  padding-top: 10px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.message-container.visible {
  opacity: 1;
}
.message-container .pic {
  background-image: url('/images/profile_placeholder.png');
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  background-size: 30px;
  border-radius: 20px;
}
.message-container .spacing {
  display: table-cell;
  vertical-align: top;
}
.message-container .message {
  display: table-cell;
  width: calc(100% - 40px);
  padding: 5px 0 5px 10px;
}
a {
    display: flex; 
        text-decoration: none;
  display: table-cell;
  
}
.message-container .answer {
  display: table-cell;
  width: calc(100% - 40px);
  padding: 5px 0 5px 10px;
}


.message-container .spacing2 {
     align-items: flex-end; 
    display: flex; 
    justify-content: space-between;
}

.message-container .name{
  display: table-cell;
  width: 100%;
  padding-left: 40px;
  color: #bbb;
  font-style: italic;
  font-size: 12px;
  box-sizing: border-box;
}.message-container .button{
  display: table-cell;
  width: 100%;
  color: #bbb;
  font-style: italic;
  font-size: 12px;
  box-sizing: border-box;
}
.message-container .time {
  display: table-cell;
  width: 100%;
  padding-left: 40px;
  color: #bbb;
  font-style: italic;
  font-size: 12px;
  box-sizing: border-box;
	text-align: end
}
.topic-container .konu {
        width: 90%;
		margin-top: 5px;
       display: inline-block;
        text-transform: none;
        text-decoration: none;
        font-weight: 500;
        background: rgb(3,155,229);
        color: white;
        border: 1px solid rgb(3,155,229);
        border-radius: 3px;
        font-size: 14px;
        box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
}
.fp-delete-post {
  margin-left: 5px;
  margin-bottom: 5px;
   display: table-cell;
 float: right;
  color: red;
  font-size: 24px;
}
.arrow_back {
  margin-left: 5px;
  margin-bottom: 5px;
   display: table-cell;
 float: white;
  color: red;
  font-size: 36px;
}
#message-form {
  display: flex;
  flex-direction: row;
  width: calc(100% - 48px);
  float: left;
}
#image-form {
  display: flex;
  flex-direction: row;
  width: 48px;
  float: right;
}
#message-form .mdl-textfield {
  width: calc(100% - 100px);
}
#message-form button, #image-form button {
  width: 100px;
  margin: 15px 0 0 10px;
}
.mdl-card {
  min-height: 0;
}
.mdl-card {
  background: linear-gradient(white, #f9f9f9);
  justify-content: space-between;
}
#menubar {
  position: absolute;
  display: flex;
  flex-direction: row;
  top: 22px;
  width: 100%;
  right: 0;
  padding-left: 10px;
  padding-right: 10px;
}
#user-container {
  position: relative;
  display: flex;
  flex-direction: row;
  top: 10px;
  width: 100%;
  right: 0;
  padding-left: 10px;
  justify-content: flex-end;
  padding-right: 10px;
  align:center;
}
#user-container2 {
  position: absolute;
  display: flex;
  width: 100%;
  right: 0;
}
#user-container #user-pic {
  top: -3px;
  position: relative;
  display: inline-block;
  background-image: url('/images/profile_placeholder.png');
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  background-size: 40px;
  border-radius: 20px;
}
#user-container #user-name {
  font-size: 16px;
  line-height: 36px;
  padding-right: 10px;
  padding-left: 20px;
}

  #user-container #icon {
    position:absolute;
	left:50px;
	top:-1px;
  }
  #user-container #title {
  font-size: 24px;
    position:absolute;
	left:100px;
	line-height:36px;
	
  }
  #user-container #backbutton {
    position:absolute;
	left:30px;
 	top:-1px;
 }
  #user-container #backbutton2 {
    position:absolute;
	left:30px;
 	top:-1px;
 }
#image-form #submitImage {
  width: auto;
  padding: 0 6px 0 1px;
  min-width: 0;
}
#image-form #submitImage .material-icons {
  top: -1px;
}
.message img {
  max-width: 300px;
  max-height: 200px;
}
.message-container img {
  max-width: 300px;
  max-height: 200px;
}
#mediaCapture {
  display: none;
}
@media screen and (max-width: 610px) {
  header {
    height: 113px;
    padding-bottom: 80px !important;
  }
  #user-container {
    top: 72px;
    background-color: rgb(3,155,229);
    height: 38px;
	widht: 610px;
    padding-top: 3px;
    padding-right: 2px;
  }
  #user-container #user-pic {
    top: 2px;
    width: 33px;
    height: 33px;
    background-size: 33px;
  }
  #user-container #icon {
    top: -72px;
  }
  #user-container #title {
    top: -72px;
  }
  #user-container #backbutton {
    top: -72px;
  }
  #user-container #backbutton2 {
    top: -72px;
  }
}
.mdl-textfield__label:after {
  background-color: #0288D1;
}
.mdl-textfield--floating-label.is-focused .mdl-textfield__label {
  color: #0288D1;
}
.mdl-button  {
  text-transform:none;
}
.mdl-button .material-icons {
  top: -1px;
  margin-right: 5px;
  vertical-align:middle;
}
#fp-theatre {
  display: none;
  background: rgba(0,0,0,0.8);
  padding: 30px;
  text-align: center;
  box-sizing: border-box;
  vertical-align: middle;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}