* {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    height: 100%;
}

body {
    height: 100%;
    width: 100%;
    margin: 0; padding: 0; position: relative;
    font: 400 19px/1.75 "sans-serif", Helvetica, Arial, sans-serif; color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    text-rendering: optimizeLegibility;
}

h1,
h2 {font-size: 46px;}

@media all and (max-width: 576px) {
    h1,
    h2 {font-size: 30px;}
}

#verses > h1:first-child,
#verses > h2:first-child,
#biography > h1:first-child,
#biography > h2:first-child {padding-bottom:0; margin-bottom: 40px;}


#verses > h1:first-child + br,
#verses > h1:first-child + br + br,
#verses > h1:first-child + br + br + br,
#verses > h2:first-child + br,
#verses > h2:first-child + br + br,
#verses > h2:first-child + br + br + br,

#biography > h1:first-child + br,
#biography > h1:first-child + br + br,
#biography > h1:first-child + br + br + br,
#biography > h2:first-child + br,
#biography > h2:first-child + br + br,
#biography > h2:first-child + br + br + br {display: none;}


pre {
    font: 400 19px/1.75 "sans-serif", Helvetica, Arial, sans-serif; color: #000;
}


a {
    outline: none;
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration: underline;
}

img {
    border: none;
}

pre {
    white-space: pre-wrap;
}

#wrapper {
    width: 899px;
    margin: 0 auto;
}

#header {
    width: 100%;
    height: 176px; margin-left: -7px;
    margin-bottom: 5px;
}

#logo {
    width: 708px; max-width: 100%;
    height: 176px;
    position: relative; z-index: 5;
    background: no-repeat 0 0 url(img/head-main.gif);
}
#logo img {display: none;}
#logo::after {
    width: 30px; height: auto; content: ' '; display: block;
    position: absolute; z-index: 6; right: 0; top: 0; bottom: 0;
    background: no-repeat right 0 url(img/head-main.gif);
}

.logo-name {
    font-family: Georgia, "Times New Roman", Times, serif; line-height: 1;
    position: absolute; z-index: 7;
    top: 20px; font-size: 32px;
    margin-left: 10px;
    width: 150px;
    text-align: center;
}

#name {
    height: 42px;
    width: 568px;
    position: absolute; z-index: 8;
    margin-left: 250px;
    margin-top: 10px;
}

#content {
    width: 100%;
    height: auto;
    position: relative;
    white-space: normal;
}

#content a {float: left; color: #ac1010;}

#content b {color: #ac1010;} 

#content h2 {margin-left: 0px;}

#content h1 {margin-left: 0; padding-bottom: 50px;} 
 
#biography {
    width: auto;
    height: auto;
}

#biography p {
    margin: 10px 0;
}

#biography h1 {
    padding-bottom: 10px;
    padding-top: 20px;
    margin-left: 0;
}

#biography a {
    float: none;
    margin-left: 0;
}

#biography img {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
    margin-top: 15px;
    border: 1px solid #990000;
}

#verses {
    width: auto;
    height: auto;
    margin-left: 300px;
    margin-top: 40px;
}

#verses a {color: #000;}


#footer {
    width: 900px; padding: 4px 10px;
    line-height: 1.2; color: #FFF; text-align: center;
    overflow: hidden;
    background: #7a0000;
    box-shadow: inset 0 6px 12px #000;
    box-sizing: border-box;
}

#copy a {
    color: #FFF;
}

#content .block a {
    float: none;
    margin-left: 0;
    text-decoration: underline;
    color: #000;
}

#verses {
    margin-left: 0;
    padding-left: 0;
}

.down-adv {
    width: 468px;
    margin: 40px auto 40px;
}
 
.social-buttons {
    color:#000;
    text-align: left;
}
.social-buttons b {color: #000 !important;}

#wrapper .ya-share2__container_size_m {text-align: center;}
#wrapper .down-adv .ya-share2__link {margin:0 !important;}
#wrapper .ya-share2__list.ya-share2__list_direction_horizontal > .ya-share2__item {margin:2px 2px 0 !important;}
#wrapper .down-adv .ya-share2__icon {width: 34px !important; height: 34px !important;}
#wrapper .down-adv .ya-share2__icon:not(.ya-share2__icon_messenger-contact):not(.ya-share2__icon_more):not(.ya-share2__icon_copy) {
    background-size: 30px 30px !important;
} 

@viewport {
    width: device-width;
}

@media screen and (max-width: 900px) {
    #footer {
        width: auto; margin-left:-10px; margin-right:-10px;
    }

    #copy {
        text-align: center;
        padding: 3px 0 0 0;
    }
}

@media screen and (max-width: 899px) {
    body {
        min-width: 320px;
    }

    #wrapper {
        padding: 0 10px;
        width: auto;
    }

	#header {width:auto; margin-left: -7px; margin-right: -7px;}

    .m {
        width: auto;
    }

    .m img:nth-child(1) {
        float: none !important;
        margin: 0 0 10px;
    }

    .m img:nth-child(2) {
        display: none;
    }

    #content a {
        margin: 10px 10px 5px 0 !important;
    }

    #biography h1 {
        margin: 0;
        text-align: left;
    }

    #verses {
        margin: 40px 0 0 0;
        padding-left: 0;
    }

    #content h2 {
        margin-left: 0;
    }

    #content h1 {
        margin-left: 0;
    }

    #content #verses a {
        float: none;
        display: block;
        clear: both;
        white-space: normal;
    }

    #content #verses nobr {
        display: block;
    }

    #content #verses b {
        display: block;
        margin: 20px 0 0 0;
    }

    #content #verses br {
        display: none;
    }

    #content #verses pre {
        white-space: pre;
    }


}

@media screen and (max-width: 850px) {
    #wrapper {
        padding: 0 10px;
        width: auto;
    }

    #name {
        margin-left: 200px;
    }
}

@media screen and (max-width: 800px) {
    #name {
        display: none;
    }

    #header {
        overflow: hidden;
    }
}

@media screen and (max-width: 520px) {
    #content #verses a {
        display: block;
        float: none;
        width: auto;
    }

    .m {
        float: none;
        margin-left: 5 !important;
        white-space: normal;
    }
}

@media screen and (max-width: 468px) {
    .down-adv {
        width: auto;
    }
}

@media screen and (max-width: 430px) {
    #biography img {
        float: none;
        display: block;
        width: 160px;
        margin: 20px 0;
    }
}

pre {
    white-space: pre-wrap !important;
    overflow: hidden;
    display: block;
}

#content {

}

.ads-comp { display: block;}

.ads-mob { display: none;}

@media only screen and (max-width: 960px) {
    .ads-comp { display: none;}

    .ads-mob { display: block;}
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    text-decoration: none;
    outline: none;
    transition: .4s ease-in-out;
}

.topmenu {
    backface-visibility: hidden;
    background: rgba(255, 255, 255, .8);
}

.topmenu > li {
    display: inline-block;
    position: relative;
}

.topmenu > li > a {
    font-family: 'Exo 2', sans-serif;
    height: 70px;
    line-height: 70px;
    padding: 0 30px;
    font-weight: bold;
    color: #003559;
    text-transform: uppercase;
}

.down:after {
    content: "\f107";
    margin-left: 8px;
    font-family: FontAwesome;
}

.topmenu li a:hover { color: #E6855F; }

.submenu {
    background: white;
    border: 2px solid #003559;
    position: absolute;
    left: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 5;
    width: 15em;
    transform: perspective(600px) rotateX(-90deg);
    transform-origin: 0% 0%;
    transition: .6s ease-in-out;
}

.topmenu > li:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: perspective(600px) rotateX(0deg);
}

.submenu li a {
    color: #7f7f7f;
    font-size: 1em;
    line-height: 1em;
    padding: 0 25px;
    font-family: 'Kurale', serif;
}

#wrapper {height: auto;position: relative;}


#content-main {overflow: hidden; padding: 20px 0; line-height: 1.34;}



.letters2 dl,
.letters2 dt,
.letters2 dd {
    width: auto; display: block; margin: 0; padding: 0; list-style: none; border: 0; background: 0;
    box-sizing: border-box;
}
.letters2 {display: flex; align-items: flex-start; flex-wrap: wrap; margin: -10px -10px -50px;}
.letters2 dl {width: 33.3333%; padding: 10px 10px 50px;}
.letters2 dt {margin-bottom: 30px; font-weight: bold; font-size: 46px; line-height: 1.34; color: #ac1010;}
.letters2 dd + dd {margin-top: 5px;}
.letters2 dd a {margin: 0;}
@media all and (max-width: 772px) {
    .letters2 dl {width: 100%; text-align: left;}
}
@media all and (max-width: 576px) {
    .letters2 dt {font-size: 30px;}
}











