.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

* {
  box-sizing: border-box;
}

html, body {
    position: relative;
    height: 100%;
}

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

figure img{
  vertical-align: top;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}


hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

figure{
    margin: 0 !important;
    padding: 0 !important;
}

blockquote, q {
    quotes: none;
}

blockquote:before, 
blockquote:after,
q:before, 
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a:hover,
a:focus{
    text-decoration: none;
    outline: none;
}

a,
a:hover,
a:focus{
    color: rgb(252,255,195); 
}

.eslesmeModal{
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(40,40,40,.95);
    z-index: 500;
    padding: 15px 50px;
    flex-direction: column;
    flex: 1 0 auto;
    justify-content: space-around;
}

.its-a-match-logo{}

.its-a-match-logo figure{
    margin: 20px 0 15px !important;
}

.its-a-match-logo figure img{}

.its-a-match-logo .eslesmeText{
  color: rgb(255,255,255);
  font-size: 16px;
  text-align: center;
} 

.profilePictures{
  display: flex;
  justify-content: space-around;
}

.profilePictures figure{
    border-radius: 100%;
    overflow: hidden;
    border: 2px solid rgb(255,255,255);
    height: 100%;
    width: 36%;
}

.profilePictures figure img{
  width: 100%;
}

.innerButtons{}

.innerButtons a{
  color: rgb(255,255,255);
  text-decoration: none;
}

.innerButtons ul {
}

.innerButtons ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row;
    position: relative;
    height: 46px;
    border-radius: 6px;
    border: 1px solid rgb(255,255,255);
    margin-bottom: 10px;
    font-size: 16px;
    transition: all .2s ease-in-out;
    color: rgb(255,255,255);
}

.innerButtons ul a:last-child li {
  margin-top: 20px;
  border: none;
}

.innerButtons ul li i {
  font-size: 22px;
  color: rgb(255,255,255);
  margin-right: 12px;
}

.innerButtons ul li span {
}





.mainWrapper{
  position: relative;
  min-height: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
  background-image: url('../images/bg-texture.png');
  overflow: hidden;
}

.tinderSearch .mainContainer{
  position: relative;
}

/* mainNavigation */

.mainNavigation{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 45px;
    background: rgba(255,255,255,.8);
    padding: 0 15px;
    box-shadow: 0 2px 10px 0px rgb(220,220,220);
    border-bottom: 0px solid rgb(244,245,248);
}

.mainNavigation .navItem{}

.navItem.logo img{
  width: 70px;
}

.mainNavigation .navItem i{
  font-size: 32px;
  color: rgb(206,206,206);
}

.mainNavigation .navItem:first-child{
  width: 28px;
  height: 28px;
  background-color: rgb(206,206,206);
  border-radius: 36px;
  text-align: center;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.mainNavigation .navItem:first-child .person-icon{
  display: flex;
  background-color: rgb(255,255,255);
  height: 10px;
  width: 10px;
  border-radius: 30px;
  position: relative;
  top: 6px;
  justify-content: center;
}

.mainNavigation .navItem:first-child .person-icon::after{
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 18px;
  background-color: rgb(255,255,255);
  margin: 0 auto;
  top: 13px;
}

.mainNavigation .navItem i.ion-chatbubble-working{
}

.mainNavigation .navItem i.ion-chatbubble-working{
  color: rgb(206,206,206);
}

.mainNavigation .navItem i.ion-chatbubble-working::before{
  transform: scale(-1,1);
}

/* mainContent */

.mainContent{
  position: relative;
  padding: 20px;
}

.tinderSwiper{}

.tinderSwiper ul{
  overflow: hidden;
}

.tinderSwiper ul li{
  background-color: rgb(255,255,255);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(220,220,220);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 10px 0 rgb(230,230,230);
}

.tinderSwiper ul li figure{
  background-color: rgb(255,255,255);
  width: 100%;
  padding-top: 80.25% !important;
  position: relative;
  overflow: hidden;
}

.tinderSwiper ul li figure img{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  vertical-align: top;
}

.infoWrapper{
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 20px;
}

.infoWrapper .info{
  color: rgb(85,85,85);
  font-size: 24px;
}

.infoWrapper .name{}

.infoWrapper .age{}

.buttonGroupWrapper{
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
}

.buttonGroupWrapper ul.buttons{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.buttonGroupWrapper ul.buttons li{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255,255,255);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    box-shadow: 0 0 10px 0 rgb(230,230,230);
    border: 1px solid rgb(240,242,245);
    margin-right: 6px;
}

.buttonGroupWrapper ul.buttons li img{
  width: 26px;
}

.buttonGroupWrapper ul.buttons li:nth-child(2){
  width: 65px;
  height: 65px;
}

.buttonGroupWrapper ul.buttons li:nth-child(3){
  width: 60px;
  height: 60px;
}

.buttonGroupWrapper ul.buttons li:nth-child(4){
  width: 65px;
  height: 65px;
}

.buttonGroupWrapper ul.buttons li i{
  font-size: 40px;
}

/* Message Screen */

/* Navigation Bar */

.messageNavigation{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 55px;
  background: rgb(255,255,255);
  border-bottom: 1px solid rgb(239,239,239);
  padding: 0 15px;
  box-sizing: border-box;
}

.messageNavigation i{
  color: rgb(255,80,100);
}

.messageNavigation .left{
  display: flex;
  align-items: center;
}

.messageNavigation .left i{
  font-size: 22px;
}

.messageNavigation .middle{
  display: flex;
  align-items: center;
}

.messageNavigation .profilePicture{
  width: 36px;
  height: 36px;
  overflow: hidden;
  margin-right: 10px;
}

.messageNavigation .profilePicture img{
  width: 36px;
  height: 36px;
  border-radius: 36px;
}

.messageNavigation .identity .name{
  font-size: 17px;
  font-weight: 600;
}

.messageNavigation .right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.messageNavigation .right i{
  flex: 1 0 36px;
  font-size: 40px;
  text-align: center;
}

/* Main Container */

.tinderMessageContainer{
  position: relative;
  height: calc(100% - 55px);
  overflow-y: scroll;
}

.chatBoxWrap{
  height: calc(100% - 60px);
  overflow-y: scroll;
}

.chatContainer{
  padding: 5px 10px;
}

.messageWrapper{
  margin: 10px 0;
  float: left;
  width: 100%;
}

.messageLine{
  position: relative;
  padding-left: 40px;
}

.message{
  color: #000;
  clear: both;
  line-height: 18px;
  padding: 8px;
  position: relative;
  margin: 4px 0;
  max-width: 85%;
  word-wrap: break-word;
  z-index: 0;
}

.messageLine .message:last-child::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.message.received{
  float: left;
  background: rgb(230,230,230);
  border-radius: 15px;
  padding: 12px;
}

.messageLine .message.received:last-child{
  border-radius: 15px 15px 15px 0px;
}

.messageLine .message.received:last-child::after{
  bottom: -6px;
  left: 0px;
  border-width: 10px 10px 0 0;
  border-color: rgb(230,230,230) transparent transparent transparent;
}

.messageLine.received .profilePicture img{
  display: block;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 336px;
  background-color: rgb(40,40,40);
  overflow: hidden;
  background-size: 36px;
}

.message.sent{
  float: right;
  background: rgb(20,170,200);
  color: rgb(255,255,255);
  padding: 12px;
  border-radius: 15px;
}

.messageLine .message.sent:last-child{
  border-radius: 15px 15px 0 15px;
}

.messageLine .message.sent:last-child::after {
  border-width: 0 10px 10px 0;
  border-color: transparent rgb(20,170,200) transparent transparent;
  bottom: -6px;
  right: 0px;
}

.dateInfo{
  text-align: center;
  color: rgb(150,150,150);
  font-size: 12px;
  margin: 5px 0;
}

/* Chat Form */

.chatForm {
  position: fixed;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  height: 60px;
  border-top: 1px solid rgb(239,239,239);
  padding: 10px 65px;
  box-sizing: border-box;
  background-color: rgb(255,255,255);
  width: 100%;
}

.chatForm .chatInput {
  border: 0;
  flex: 1 1 auto;
  font-size: 16px;
  margin: 0;
  outline: none;
  min-width: 50px;
}

.chatForm input {
  height: 100%;
}

.gifButton{
  position: absolute;
  left: 10px;
  bottom: 12px;
  width: 40px;
  height: 34px;
  background-color: rgb(255,80,100);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255,255,255);
}

.chatForm button{
  position: absolute;
  right: 5px;
  bottom: 12px;
  color: rgb(170,170,170);
  border: 0;
  background-color: transparent;
  padding: 7px 10px;
  font-size: 16px;

}

/* Media Queries */
@media (max-width: 359px) {

  .buttonGroupWrapper ul.buttons li {
    width: 35px;
    height: 35px;
  }

  .buttonGroupWrapper ul.buttons li img {
    width: 20px;
  }

  .buttonGroupWrapper ul.buttons li:nth-child(2),
  .buttonGroupWrapper ul.buttons li:nth-child(4){
      width: 50px;
      height: 50px;
  }

  .buttonGroupWrapper ul.buttons li:nth-child(3) {
      width: 45px;
      height: 45px;
  }

  .buttonGroupWrapper {
    bottom: -40px;
  }

}

@media (max-width: 500px) {}

@media (min-width: 501px) and (max-width: 766px) {}

@media (min-width: 501px) and (max-width: 991px) {}

@media (max-width: 767px) {}

@media (min-width: 768px) and (max-width: 991px) {}

@media (max-width: 991px) {}

@media (min-width:1200px){
    .colClear .col-lg-1:nth-child(12n+1){clear:left;}
    .colClear .col-lg-2:nth-child(6n+1){clear:left;}
    .colClear .col-lg-3:nth-child(4n+1){clear:left;}
    .colClear .col-lg-4:nth-child(3n+1){clear:left;}
    .colClear .col-lg-6:nth-child(odd){clear:left;}
}

@media (min-width:992px) and (max-width:1199px){
    .colClear .col-md-1:nth-child(12n+1){clear:left;}
    .colClear .col-md-2:nth-child(6n+1){clear:left;}
    .colClear .col-md-3:nth-child(4n+1){clear:left;}
    .colClear .col-md-4:nth-child(3n+1){clear:left;}
    .colClear .col-md-6:nth-child(odd){clear:left;}
}

@media (min-width:768px) and (max-width:991px){
    .colClear .col-sm-1:nth-child(12n+1){clear:left;}
    .colClear .col-sm-2:nth-child(6n+1){clear:left;}
    .colClear .col-sm-3:nth-child(4n+1){clear:left;}
    .colClear .col-sm-4:nth-child(3n+1){clear:left;}
    .colClear .col-sm-6:nth-child(odd){clear:left;}
}

@media (max-width:767px){
    .colClear .col-xs-1:nth-child(12n+1){clear:left;}
    .colClear .col-xs-2:nth-child(6n+1){clear:left;}
    .colClear .col-xs-3:nth-child(4n+1){clear:left;}
    .colClear .col-xs-4:nth-child(3n+1){clear:left;}
    .colClear .col-xs-6:nth-child(odd){clear:left;}
}