html {
    box-sizing: border-box;
}
*, :after, :before, select {
    box-sizing: inherit
}
body {
    margin: 0;
    padding: 0;
    font-family: Helvetica,Arial,sans-serif,Tahoma,Verdana;
   /* font-family: 'Roboto', sans-serif;*/
    font-size: 16px;
    color: #555;
    /* background: #F3F5F8;*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
header {
    background: #fff;
    /*background: #3C3B37;*/
    box-shadow: 2px 2px 11px 0 rgba(50, 50, 50, .6)
}
.container {
    max-width: 962px;
    margin-left: auto;
    padding: 0 12px
}
#logo, .container {
    margin-right: auto
}
#logo {
    flex: 0 1 187px;
    padding-right: 6px
}
#logo img {
    width: 100%
}
a {
    color: #039be5;
    text-decoration: none;
}
a:hover {
    text-decoration: underline
}

.subtitle, h1, h2, h3 {
    padding: 0;
    margin: 0
}

h1, h2, h3, .subtitle {
    color: #d3047c;
    font-weight: 400
}
h1 {
    font-size: 36px
}
h2 {
    font-size: 26px;
    padding-bottom: 12px
}
.subtitle {
    padding: 0 0 12px
}

.subtitle, h3 {
    font-size: 24px;
    padding-bottom: 12px;
}
.lang-sel {
    /* color: #9ea8b8;*/
    margin-right: 15px;
}
/*.lang-sel:hover {
    color: #fff;
}*/

.button, a {
    outline: 0
}
.button.fb, .button.fb:active, header {
    position: relative
}
img {
    border: none
}
#tarskereso-oldal {
    background: #FFFFFF;
    color: #333;
    padding: 20px;
    text-align: center
}
#tarskereso-oldal p {
    color: #000;
    font-size: 18px;
    /*  font-weight: 300*/
}
#sign-up {
    background: #fff;
    border: 1px solid #efefef;
    padding: 15px;
    border-radius: 10px;
    
}
/*#signup .subtitle {
    color: #d3047c
}*/
form {
    padding: 0;
    margin: 0
}
/*******************************************************/

#signform {
    /*  display:grid;
    grid-gap:12px;
    grid-template-columns: repeat(auto-fit minmax(200px, 70%));
    grid-template-rows:auto;*/
    max-width: 300px;
    margin: 0 auto;
}
#signform .button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}
input[type=email], input[type=password], input[type=text] {
    border: 1px solid #c4c7cc;
    background-color: #fff;
    font-size: 16px;
    padding: 8px;
    /*  -webkit-box-flex: 1;
    -ms-flex: 1 1 270px;
    flex: 1 1 270px;*/
    width: 100%;
    border-radius: 5px;
    display: block;
    margin-bottom: 15px;
}
label, .label {
    display: block;
    margin-bottom: 3px;
}
.form-field {
    margin-bottom: 15px;
}
.form-select {
    display: flex
}
select {
    font-size: 16px;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #c4c7cc;
    flex: 1 auto;
    border-radius: 5px;
}
input[type=radio] {
    margin-top: -1px;
    vertical-align: middle;
    font-size: 16px
}
#bday_month {
    margin: 0 1%
}
/*.form-row {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    margin-bottom: 12px
}
.form-row>label, .label {
    padding: 4px 0;
    flex: 1 0 120px;
   /* font-weight: 300
}
.form-row>.label+*, .form-row>label+* {
     flex: 1 0 267px
}*/

.form-field label {
    font-size: 16px;
    line-height: 34px;
    margin-right: 12px;
    display: inline-block;
}
#footer-menu a, .button {
    white-space: nowrap;
    line-height: 24px
}
.button {
    border: none;
    display: inline-block;
    border-radius: 26px;
    padding: 6px 18px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none!important;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    background-color: #E30276;
}
.button:hover {
    background-color: #ff5bb0;
}
#footer a, .location a, .user-faces a {
    text-decoration: none
}

.location a {
    font-size:14px;
}
.button.green {
    background-color: #008800;
    /* #77a809;*/
}
.button.green:hover {
    background-color: #89c403;
}
.button.fb {
    background-color: #4267b2;
    /* #637aad;*/
    padding: 11px 24px 12px 50px;
    font-weight: 700
}
.button.fb:hover {
    background-color: #5972a7
}
.button.fb:active {
    top: 1px
}
.button.fb:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    width: 39px;
    content: '';
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAfCAQAAAC1p96yAAABs0lEQVR42u3Vu0vDcBAH8GtCfYFuii+kdhcXtfhXFHHVRbfqIoggKDhJh1JdHAq666RQ6mChBQXRpdYXCoI2TaP4QkNrXm1+MempkFKbxNnvQUgOPgR+IXegxwUU0OB2VLRuXIghMykmCEM4jbVVOcKIicwkWiozIV8SVXMWVT6/GQMKgBYSiJ2FlMQ40ABuwji35QsDboNzmkWUt0K8sCGFpZXCOr8js9glHPJcLaoWpfTjYmwAGsBInbcnv6lhWBtcSJ2PgClKyDZXXp9noSLSim3Ox6L9Blmiwo27rfsde53QLEbs8zWoN3ik6XRUuiAKUUrvqmibS0EoJ9Up35Ci0SF62ebyMvLjXkQY21xZRX7mNbWJBecX+EB+SpjhfciPWj70Z70C7LR4YPn2pXYD4ZmDOW38liU/8cAvufYLKUse7YGvaC4zf5pXXiz5nf92iPU9Due6EYUbHwZZH+s77BO2nZx8CPmVx9R2/t3/eTXOOeXmWcf8ieOkxTnvnOOct9gyUrAqxy0zDtT3jkuqWcKRXEV9yHPI013k/qfLqVkxiTuu9oalgcIf1rirtmE/AWJ5V67Ffv+KAAAAAElFTkSuQmCC) 50% no-repeat
}
/* #tarsat-keresnek {
    background: #fff;
   background: #3F4752;
    color: #9ea8b8
}
*/

#korulnezek {
    padding: 12px;
    text-align: center
}
#korulnezek h3 {
    padding-bottom: 16px;
}
.user-faces a:hover img {
    transform: scale(1.1)
}
#tarsat-keresnek img {
    width: 100%;
    height: 100%;
    transition: all .2s ease-in-out;
    border-radius: 50%;
}
.location {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, auto));
    grid-gap: 16px;
    padding: 24px 0px;
}
/*.location, .user-faces {
    margin: 0 -12px
}*/

.location a {
    /*   color: #016fdf;
   /* color: #adb6c5;*/
    /*#9ea8b8;*/
    display: inline-block
}
.location a:hover {
    /*color: #fff*/
    text-decoration: underline;
}
#footer a {
    color: #3F4752
}
#footer {
    clear: both;
    color: #3F4752;
    padding-top: 12px;
    margin-bottom: 35px
}
#footer-share {
    padding-bottom: 12px;
    width: 100%;
    overflow: hidden;
    min-height: 32px
}
#footer-menu {
    border-top: 1px solid #d2d4d8;
    padding-top: 12px
}
#footer-menu a {
    color: #666;
    display: inline-block;
    margin-right: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}
#copyright {
    padding-top: 6px;
    color: #555;
}
#tarskereso-join {
    background: linear-gradient(to bottom, #f0f9ff 0%, #cbebff 47%, #a1dbff 100%);
    padding: 25px 0;
    /* background: url(../images/testbg.jpg) center 0 no-repeat #F3F5F8*/
}
.flex {
    display: flex;
    align-items: center;
}
.user-faces {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
}
.user-faces a {
    width: 33.3333%;
    height: auto;
    flex-wrap: wrap;
    padding: 1px;
}
.grid {
    display: grid;
    align-items: center;
    grid-gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(267px, 1fr));
}
@media screen and (max-width:649px) {
    .button.fb {
        width: 100%;
    }
    #facebook-sign {
        padding: 0 12px;
        text-align: center;
        width: 100%
    }
    /* #sign-up {
        max-width: 100%;
        padding: 12px;
        margin: 12px auto
    }*/
    .login {
        padding: 6px 20px
    }
    header .button {
        margin: 6px 0
    }
   /* .flexres {
        flex-direction: column
    }*/
    h1 {
        padding-top: 12px
    }
}
@media screen and (min-width:650px) {
    .user-faces a {
        width: 11.1111%
    }
    #facebook-sign {
        text-align: right;
    }
}