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, 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%;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
} 
/* end reset all */



html, body {
    color:#000;
    width:100%; 
    height:auto;
    padding:0;
    font-size:13px;
    line-height:18px;
    font-weight:normal;
}

html {
    background:#111;
}

body {
    font-family:'pf_agora_sans_prothin', Helvetica, Arial;
    font-size: 18px;
    line-height: 23px;
}

a {color: #2994d2;}

.wrapper {
    position: relative;
    display: block;
    width: 98%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    border-bottom: 8px solid #111;
    border-top: 8px solid #111;
    background:#fff;
}

.photo {
    position: relative;
    display: block;
    width: 80%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.photo img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.gallery, .remember {
    position: relative;
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

.gallery a img {
    padding-bottom: 5px;
}

.element {
    position: relative;
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: 20px auto 30px;
    padding: 0;
    border-bottom:1px solid #ccc;
}
.element:last-child {border-bottom: 0;}

.remember p {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 10px auto;
    padding: 0;
    font-size: 16px;
    line-height: 19px;
    font-weight: 300;
}

.remember p:first-child {  
    text-indent: -20px;
}

.laquo, .raquo {
    font-size: 36px;
    line-height: 14px;
    color: #999;
    vertical-align: top;
}

.remember p img{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 30px auto;
    padding: 0;
    font-size: 14px;
    line-height: 19px;
    font-weight: 300;
}

.user {
    position: relative;
    display: table;
    width: auto;
    height: auto;
    margin: 30px 0;
    padding: 0;
}

.user img {
    position: relative;
    display: table-cell;
    vertical-align: top;
    zoom:1;
    width: 50px;
    height: 50px;
    margin: 0 10px 0 0;
    padding: 0;
    border-radius: 50%;
    filter: gray; 
    filter: grayscale(1); 
    -webkit-filter: grayscale(1);
}

.userinfo {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    zoom:1;
    width: auto;
    height: auto;
    min-height: 50px;
    margin:  0;
    padding: 0;
}

.userinfo2 {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    zoom:1;
    width: 60%;
    height: auto;
    min-height: 50px;
    margin:  0;
    padding: 0;
}

.user .title {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 21px;
    font-weight: 700;
}
.user .title a{
    color: #000000;
}
.user .job {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 20px;
    font-weight: 300;
}

.links {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    zoom:1;
    width: 30%;
    height: auto;
    margin:  0;
    padding: 0 10px;
    font-size: 21px;
    line-height: 26px;
    font-weight: 300;
    text-align: left;
}

.links2 {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    zoom:1;
    width: 100%;
    height: auto;
    margin:  0;
    padding: 0 10px;
    font-size: 21px;
    line-height: 26px;
    font-weight: 300;
    text-align: right;
}

.links3 {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin:  4px 10px 0 0;
    padding: 0;
    font-size: 14px;
    line-height: 19px;
    font-weight: 300;
    text-align: left;
}

.links a, .links2 a, .links3 a  {
    position: relative;
    display: inline-block;
    vertical-align: top;
    zoom:1;
    width: auto;
    height: auto;
    margin: 0 10px 0 0;
    padding: 0;
    color: #555;
}


.asterisks {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    font-size: 18px;
    line-height: 23px;
}

.content {
    position: relative;
    display: block;
    width: 80%;
    max-width: 960px;
    height: auto;
    margin: 10px auto 50px;
    padding: 0;
}

h1 {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 53px;
    font-weight: normal;
}

h2, .h2 {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 30px;
    font-size: 30px;
    line-height: 36px;
    font-weight: normal;
    font-weight: 300;
}

.content .h2 {
    margin: 0 auto 30px;
    max-width: 960px;
}
h3, .h3 {
    position: relative;
    display: block;
    width: 80%;
    height: auto;
    margin: 0 0 20px;
    font-size: 19px;
    line-height: 23px;
    font-weight: normal;
    color: #444;
    font-weight: 300;
}

ul.buttons {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 60px 0 40px;
    padding: 0;
    list-style-type: none;
}

ul.buttons li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    zoom:1;
    width: 126px;
    height: auto;
    margin: 0 2% 20px 0;
    padding: 12px 2%;
    border: 3px solid #000;
    text-align: center;
    font-size: 18px;
    line-height: 18px;
    color: #ffffff;
}
ul.buttons li.active {
    background: #000000;
}
ul.buttons li:last-child {
    margin: 0;
}

ul.buttons li a {
    text-decoration: none;
    color: #000;
}

.info {
    position: relative;
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: 30px auto;
    padding: 30px 0;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
    text-align: center;
    font-size: 19px;
    line-height: 25px;
    font-weight: 300;
}
.info a{
    color: #000000;
}
ul.pagination {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 60px auto;
    padding: 70px 0 50px;
    list-style-type: none;
    border-top:1px solid #ccc;
    text-align: center;
}

ul.pagination li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    zoom:1;
    width: auto;
    height: auto;
    margin: 0 1%;
    padding: 0;
    color: #000;
}

ul.pagination li a, ul.pagination li span {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 2px 9px;
    background: none;
    color: #000;
}

ul.pagination li.active span, ul.pagination li:hover span {
    background: #000;
    color: #fff;
}

ul.pagination li.active a, ul.pagination li:hover a {
    color: #fff;
    background: #000;
}



@media only screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    .photo {width: 100%;}
    .content h3 {width: 100%;}
    .content {width: 88%;}
    ul.buttons {text-align: center;}
    .links {width: 40%;}
    .userinfo2 {width: 40%;}
    ul.buttons li {margin: 0 0 20px 0;}

}






