body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333333;
    font-weight: 100;
    background-size: cover;
    margin: 0;
    padding: 0 0 200px 0;
}

h1, h2, h3, h4 {
    font-size: 1.1em;
    font-weight: 100;
}

h1, h2 {
    color: #2ca5dc;
    font-size: 1.5em;
}

a {
    color: #2ca5dc;
}

button {
    cursor: pointer;
}

.container {
    width: 1000px;
    margin: auto;
}

.background-light {
    background-color: #FFF;
}

.background-light .container {
}

.background-dark {
    background-color: #f2f5f7;
}

.background-dark .container {
}

.header {
    height: 50px;
    padding: 0.8em;
}

.header .logo {
    color: #333;
    font-size: 1.4em;
    cursor: pointer;
    margin: 0.2em;
}

.header .logo img {
    height: 60px;
    border-radius: 2px;
}

.header-menu {
    float: right;
}

.header-menu .item {
    float: left;
    margin-top: 26px;
    margin-right: 25px;
}

.header-menu button {
    background-color:  #2CA5DC;
    color: white;
    font-weight: 100;
    font-size: 22px;
    border: none;
    border-radius: 2px;
    padding: 0.4em 1em;
    position: relative;
}

.header-menu .counter {
    position: absolute;
    bottom: -8px;
    left: -8px;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #fd5050;
    font-size: 0.5em;
    box-sizing: border-box;
    padding: 3px 0;
}

.main {
    position: relative;
}

/*.heart-bg {
    position: relative;
}

.heart-bg::after {
    content: "";
    background: url(pink-heart.jpg);
    opacity: 0.3;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}*/

.main-header {
    margin: 2em 0 5em 0;
    text-align: center;
}

.main-header .colored {
    color: #2CA5DC;
}

.main-header h1 {
    color: #5d5d5d;
    font-size: 2em;
}

.inserat {
    position: relative;
    float: left;
    width: 23%;
    box-sizing: border-box;
    margin-right: calc(8%/3);
    height: 160px;
    background-color: #FFF;
    padding: 0.5em;
    margin-bottom: 20px;
    border: 1px #f7f6f6 solid;
    border-radius: 2px;
    cursor: pointer;
}

.inserat.add {
    border: 2px dashed #dadada;
    background-color: transparent;
    color: #dadada;
    cursor: pointer;
    text-align: center;
}

.inserat.add p {

}

.inserat .sticker {
    width: 32px;
    height: 32px;
    position: absolute;
    right: -12px;
    top: -12px;
}

.inserat.add .plus {
    font-size: 3em;
    text-align: center;
}

.inserat:nth-child(4n) {
    margin-right: 0;
}

.inserat p {
    margin: 0;
    min-height: 130px;
}

.inserat .date {
    color: #7b96a2;
    font-size: 0.7em;
    text-align: right;
}

.is-new {
    display: inline;
    padding: 0.1em 0.4em;
    margin: 0 0.4em;
    background-color: #f95e5e;
    border-radius: 2px;
    color: white;
}

.inserat .loading {
    display: none;
    height: 2px;
    background-color: #529bbf;
    margin: -0.5em -0.5em 0.5em -0.5em;
}

.i1 {
}

.i2 {
}

.i3 {
}


.page-navigation {
    margin-top: 17px;
}

.page-navigation-item {
    float: left;
    margin-right: 1.5em;
    color: #2ca5dc;
    cursor: pointer;
}

.add-container {
    margin-top: 3em;
    margin-bottom: 3em;
}

.location-chooser {
    padding: 1em 0;
    font-size: 1em;
}

.location-chooser h3 {
    display: inline;
}

.location-chooser h3 span {
    color: #2ca5dc;
    cursor: pointer;
}

.location-chooser a {
    margin-left: 30px;
}

.location-chooser input {
    margin-left: 2em;
}

input[type=text], input[type=date], input[type=email] {
    padding: 0.3em !important;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    border: 1px solid #DDD;
    width: 100%;
}

.location-chooser button, .advanced-search button {
    background-color: #2CA5DC;
    color: white;
    font-weight: 100;
    font-size: 22px;
    border: none;
    border-radius: 2px;
    padding: 0.2em 1em;
    vertical-align: top;
}

.location-chooser #PlacesAutocomplete__root {
    display: inline;
}

.location-chooser #PlacesAutocomplete__root input {
    width: inherit !important;
}

.fixed-search-bar {
    bottom: 0;
    left: 0;
    position: fixed;
    width: 100%;
    border-top: 1px solid #FFF;
}

.advanced-search-title {
    font-size: 1.2em;
    color: #5d5d5d;
    margin: 0.6em 0;
}

.advanced-search table {
    width: 100%;
}

.advanced-search button {
    margin: 1em 0;
}

.teased {
    width: 31%;
    float: left;
    margin-left: 3%;
}

.teased:first-child {
    margin-left: 0;
}

.teased h2 {
    text-align: center;
}

.teased .list-item {
    background-color: #f2f5f7;
    padding: 0.5em;
    margin: 0.7em 0;
}

.teased .list-item p {
    margin-top: 0;
}

.teased .list-item .date {
    color: #7b96a2;
    font-size: 0.7em;
    text-align: right;
}

.content {
}

.chats {
    display: none;
    margin-top: 2em;
    min-height: 500px;
    position: relative;
}

.chats table td {
    vertical-align: top;
}

.chats table td:first-child {
    border-right: 1px solid #dadada;
}

.chat-list {
}

.chat-list-item {
    margin: 1em 1em 1em 0;
    padding-left: 0.8em;
    border-left: 2px solid #dadada;
}

.chat-list-item.new {
    border-left: 2px solid #2ca5dc;
}

.chat-list-item:first-child {
    padding-top: 0;
}

.chat-list-item p {
    margin-bottom: 0.3em;
}

.chat-list-item .date {
    color: #7b96a2;
    font-size: 0.7em;
    text-align: right;
}

.chat-protocol {
}

.chat-protocol .chat-message {
    padding: 1em;
    margin: 0 1em 2em 1em;
    border-radius: 2px;

}

.chat-message.her {
    text-align: right;
    border: 1px solid #dadada;
}

.chat-message.him {
    border: 1px solid #2CA5DC;
}

.chat-message .date {
    color: #7b96a2;
    font-size: 0.7em;
}

.input-area {
    margin: 2em 1em 1em 1em;
}

textarea {
    padding: 1em;
    font-size: 16px;
    width: 100%;
    height: 150px;
    margin-bottom: 1.2em;
    border: 1px dashed #2CA5DC;
}

button {
    background-color: #2CA5DC;
    color: white;
    font-weight: 100;
    font-size: 22px;
    border: none;
    border-radius: 2px;
    padding: 0.2em 1em;
    vertical-align: top;
}

.detail-view {
    margin-top: 3em;
}

.detail-view table td {
    vertical-align: top;
}

.detail-view table td:nth-child(2) {
    text-align: right;
}

.big-text {
    color: #5d5d5d;
    font-size: 1.8em;
    margin-top: 0;
}

.detail-view button {
    background-color: #2CA5DC;
    color: white;
    font-weight: 100;
    font-size: 22px;
    border: none;
    border-radius: 2px;
    padding: 0.2em 1em;
    vertical-align: top;
    margin-bottom: 0.5em;
}

.detail-view .info {
    color: #7b96a2;
    font-size: 0.8em;
    margin: 1em 0;
    text-align: right;
}

.detail-view .sticker {
    width: 32px;
    height: 32px;
    float: left;
}

.close-container {
    height: 59px;
    color: #5d5d5d;
}

.close-container .close-icon {
    float: right;
    width: 22px;
    font-size: 3em;
    transform: rotate(45deg);
    cursor: pointer;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

.add-item {
    /* display: none; */
    margin-top: 3em;
}

.add-item table {
    width: 100%;
}

.add-item h3 {
    margin-bottom: 0;
}

.add-item table td {
    vertical-align: top;
}

.add-item button {
    margin: 2em 0;
}

.add-item input {
    width: 100%;
    padding: 10px;
}

.hover {
    border-color: #2ca5dc;
}

.add-item .emojis {
    margin-top: 2em;
}

.add-item .emojis img {
    width: 32px;
    cursor: pointer;
}

.add-item .emojis .sticker {
    margin-right: 0.5em;
    padding: 0.3em;
    border: 1px solid transparent;
    float: left;
    border-radius: 2px;
}

.add-item .emojis .sticker.selected {
    border-color: #2ca5dc;
}

.error {
    color: orange;
    font-size: 0.7em;
}

.hide-desktop {
    display: none;
}

.modal-container {
    z-index: 1000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0, 0.2);
}

.modal {
    margin: 4% auto;
    width: 900px;
    background-color: #FFF;
    padding: 20px;
    position: relative;
    max-height: 86%;
    overflow: scroll;
    box-sizing: border-box;
}

.modal-content {
    width: 99%;
}

.support-claim {
    font-size: 0.8em;
    color: #AAAAAA;
}

@media (max-width: 999px) {
    html {
        width: 100%;
    }

    .hide-desktop {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    body {
        font-size: 14px;
    }

    .container {
        width: 100%;
        padding: 4%;
        box-sizing: border-box;
    }

    .header {

    }

    .main-header h1 {
        font-size: 1.6em;
    }

    .inserat {
        width: 48%;
        margin-right: 4%;
    }

    .inserat:nth-child(2n) {
        margin-right: 0;
    }

    .teased {
        float: none;
        width: 100%;
        margin-left: 0;
    }

    .location-chooser {
        padding: 0;
    }

    .location-chooser input {
        margin-left: 0;
        margin-top: 0.9em;
        margin-right: 0.3em;
    }

    .location-chooser button {
        margin-top: 0.5em;
    }

    .location-chooser .advanced-search-link {
        display: block;
        margin-left: 0;
        margin-top: 0.5em;
    }

    .add-item {
        margin-top: 0;
    }

    .add-item tbody {
        width: 100%;
    }

    .detail-view table td {
        display: inline-block;
        width: 100%;
        text-align: left;
    }

    .detail-view .info, deta {
        text-align: left;
    }

    .modal {
        width: 100%;
        margin: 0;
        height: 100%;
    }
}
