@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400i');
@import url('https://fonts.googleapis.com/css?family=Sansita');

/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

/* Custom styles */

.title {
    font: 400 40px/50px "Playfair Display",serif;
    border-bottom: solid 1px #424242;
    margin-bottom: 20px;
    /* padding-bottom: 10px; */
    padding: 5px 0;
    text-align: center;
    background-color: #424242;
    color: #fff;
}
.abstract {
    font: 400 18px/24px 'Roboto', sans-serif;
    margin-bottom: 15px;
}
.source {
    margin-top: 15px;
    font: 400 15px/20px 'Roboto', sans-serif;
    font-style: oblique;
    margin-bottom: 20px;
}

/*Custom styles*/
#main {
    font: 400 16px/20px 'Roboto', sans-serif;
    margin: 0 auto;
    width: 100%;
    max-width: 840px;
    color: #424242;
}
.region-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}
.region-wrapper label {
    font-weight: 600;
}
.items {
    margin-bottom: 10px;
}
.item {
    position: relative;
    display: block;
    float: left;
    width: 140px;
    height: 190px;
    margin: 0 5px 10px;

    border: solid 1px #f1f1f1;
    box-shadow: 1px 1px 2px #222;
}
.item .hr {
    width: 40%;
    height: 1px;
    margin: 10px auto;
    background-color: #7d7d7d;
}
.item .photo {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    margin: 10px auto;
    overflow: hidden;
}
.item .photo img {
    width: 100%;
    height: auto;
}
.item .name {
    text-align: center;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    padding: 0 5px;
}
.item .phone {
    text-align: center;
    font-weight: 600;
}
.item .info {
    position: absolute;
    z-index: 1000;
    width: 100%;
    top: 100%;
    left: 0;
    padding: 5px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 1px 1px 5px #222;
    font-size: 12px;
    text-align: center;
    display: none;
}
.item .info span {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.item:hover .info {
    display: block;
}
.pagination {
    margin-bottom: 10px;
    text-align: center;
}
.pagination li {
    font-size: 14px;
    display: inline-block;
    padding: 0 5px;
    cursor: pointer;
}
.pagination li.selected {
    font-weight: 600;
    font-size: 16px;
    color: red;
}

/* Utils */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
