﻿.hard #leftpage .auto-img img
{
    height: auto !important;
    padding-top: 60px;    
}

.hidden {
    display: none;
}

.innerbookimg {
    margin-left: 0px !important;
    margin-top: 9px !important;
    height: 490px !important;
    width: 389px !important;
}

h1, h2 {
    color: #000;
    text-align: left;
    border-bottom: 1px solid #007151;
    font-size: 18px;
}

h3 {
    font-weight: 700;
    font-size: 16px;
    padding-top: 4px;
}

input {
    outline: 0;
}

#leftpage .funeralDetails p a {
    font-weight: bold;
    text-decoration: underline;
}

.single {
    display: none;
}

#leftpage a:hover, #rightpage a:hover {
    text-decoration: underline;
}

a.largeLink {
    background: url(Images/bullet_large.png) no-repeat;
    padding: 5px 0 3px 40px;
    font-size: 14px;
    line-height: 25px;
}

.celebrationMain a {
    text-decoration: underline;
}

a.largeLink.tribute {
    background: url(Images/icon_write.png) no-repeat;
    line-height: 16px;
    text-decoration: underline;
     /*Newly added by Sasi*/
    margin-bottom:-16px;
    margin-top:-14px;
    display: block;
}

a.largeLink.funeralLink {
    background: url(Images/icon_funeral.png) no-repeat;
    text-decoration: underline;
}

a.largeLink.donationLink {
    background: url(Images/icon_donation.png) no-repeat;
    float: left;
    text-decoration: underline;
    /*Newly added by Sasi*/
    margin-bottom:-3px;
}

a.largeLink.add {
    background: url(Images/icon_add.png) no-repeat;
    text-decoration: underline;
}

a.largeLink.send {
    background: url(Images/icon_mail.png) no-repeat;
    text-decoration: underline;
}

#leftpage .inlineLnk, #rightpage .inlineLnk {
    text-decoration: none;
    background-color: #999;
    color: #fff!important;
    border-radius: 12px;
    border: none;
    display: inline-block;
    clear: both;
    font-weight: 400;
    font-size: .9em;
    -webkit-appearance: none;
    padding: 3px 8px 4px 8px;
}

    #leftpage .inlineLnk:hover, #rightpage .inlineLnk:hover {
        text-decoration: none;
    }

#leftpage.page-popup {
    width: 500px;
    height: auto;
    background: 0 0;
}

.tnc .input-field-container .chng-width {
    width: 90%;
}

.highlightedLink a {
    font-family: 'Title Text';
    font-size: 12px;
}

.copylist {
    list-style: disc;
    padding-left: 14px;
}

    .copylist li {
        text-align: left;
        font-size: 14px;
        color: #c61a30;
    }

        .copylist li span {
            color: #000;
        }

#leftpage .smallText, #leftpage p.smallText, #rightpage .smallText, #rightpage p.smallText {
    font-size: 11px;
}

#leftpage p.flagText, #rightpage p.flagText {
    font-size: 11px;
    color: #b0b0b0;
}

    #leftpage p.flagText a, #rightpage p.flagText a {
        color: #8ec1b2;
    }

#leftpage p.textCountMsg, #rightpage p.textCountMsg, .textCountMsg {
    position: absolute;
    left: 56px;
    margin-top: 7px;
    font-size: 10px;
}

.messageText {
    color: red;
    margin-bottom: 5px;
}

#leftpage .messageText, #rightpage .messageText {
    font-size: 12px;
    margin-bottom: 5px;
}

#leftpage .inappropriateMsg, #rightpage .inappropriateMsg {
    color: red;
    font-size: 11px;
}

.infoBlock {
    clear: both;
    margin-top: 15px;
}
@font-face {
    font-family: "ASLettera-Alzheimer ONLY" ; 
    src: url("fonts/ASLetteraTextWeb-Regular.eot");
    src: url("fonts/ASLetteraTextWeb-Regular.eot?#iefix") format("embedded-opentype"),
         url("fonts/ASLetteraTextWeb-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Title Text";
    src: url(Fonts/ad576cbc-75f9-461e-bf85-d273db2e0a74.eot) format("eot");
}

@font-face {
    font-family: "Title Text";
    src: url(Fonts/ad576cbc-75f9-461e-bf85-d273db2e0a74.eot);
    src: url(Fonts/c3b22b69-14a1-49eb-a231-6db33db9e3e0.woff) format("woff"),url(Fonts/0014afe9-c493-4e51-a67e-4370e07f6869.ttf) format("truetype"),url(Fonts/383b9f4a-044a-4fcf-9478-090937aabc18.svg#383b9f4a-044a-4fcf-9478-090937aabc18) format("svg");
}

.containerWidth {
    /*background-color: ThreeDFace;*/
    width: 906px;
    position: relative;
    text-align: center;
    left: 2px;
}

    .containerWidth .logo {
        width: 220px;
        height: 43px;
    }

body {
    color: #000;
    background-color: #fff;
}

hr {
    background-color: #007151;
    margin-bottom: 20px;
    margin-top: 20px;
}

.ics .pageHeader {
    height: 22px;
}

.headerLink {
    float: left;
    margin-left: 10px;
}

.pageHeader .headerLink {
    overflow: visible!important;
    font-size: 11px;
    float: right;
}

.pageHeader div {
    display: inline-block;
}

.pageHeader buttons {
        
}

.headerLink.addLink a {
    background: url(Images/icon_add_sml.png) no-repeat;
    padding: 2px 0 2px 22px;
}

.headerLink.viewLink a {
    background: url(Images/icon_view_sml.png) no-repeat;
    padding: 2px 0 2px 22px;
}

.headerLink.writeLink a {
    background: url(Images/icon_write_sml.png) no-repeat;
    padding: 2px 0 2px 22px;
}

.headerLink.deleteLink a {
    background: url(Images/icon_delete_sml.png) no-repeat;
    padding: 2px 0 2px 22px;
}

.headerLink.mailLink a {
    background: url(Images/icon_mail_sml.png) no-repeat;
    padding: 2px 0 2px 22px;
}

.headerLink.donationLink a {
    background: url(Images/icon_donation_sml.png) no-repeat;
    width: 18px;
    height: 18px;
    padding: 2px 0 2px 22px;
}

.iconInfoPerson {
    display: none;
}

.ics .headerLink a {
    padding: 2px 0 3px 22px;
}

.not-clicakble:hover {
    cursor: default;
    text-decoration: none!important;
}

.tScrollbar {
    background: url(img/list_bg.png) right 0 repeat-y;
}

    .tScrollbar .viewport {
        height: 390px;
        overflow: hidden;
        position: relative;
    }

    .tScrollbar .overview {
        list-style: none;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    .tScrollbar .thumb .end {
        display: none;
    }

    .tScrollbar .thumb {
        background-color: #fff;
        border-radius: 3px;
    }
    /*.tScrollbar .thumb-new-left {
        height: 398.956px !important;
       
    }*/
    /*.tScrollbar .track-new-left {
        height: 426px !important;
    }*/

    .tScrollbar .scrollbar {
        position: relative;
        float: right;
        width: 6px;
    }

    /*.tScrollbar .track {
        background-color: #aaa;
        height: 100%;
        width: 6px;
        position: relative;
        padding: 0;
        border-radius: 3px;
    }*/
    .tScrollbar .track {
background-color: #fff;
border: 1px solid #333;
height: 100%;
width: 6px;
position: relative;
padding: 0;
border-radius: 3px;
}
    /*.tScrollbar .track-new-right {
        height: 401px !important;
    }*/


    .tScrollbar .thumb {
        width: 6px;
        cursor: pointer;
        overflow: hidden;
        position: absolute;
        top: 0;
    }

        .tScrollbar .thumb .end {
            overflow: hidden;
            height: 5px;
            width: 13px;
        }

    .tScrollbar .disable {
        display: none;
    }

.noSelect {
    user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}

.tScrollbar .scrollbar {
    display: none;
    height: 10px;
    margin-left: 5px;
}

    .tScrollbar .scrollbar.disable {
        display: none;
    }

.tScrollbar .overview form {
    padding-left: 1px;
}

#rightpage .viewport {
    height: 375px;
}

#header {
    background: 0 0!important;
    min-height: 40px;
    height: auto !important;
}

    #header .containerWidth {
        min-height: 86px;
        overflow: hidden;
    }

#logo {
    float: left;
    margin-right: 5px;
    height: 43px;
}

#strapline {
    float: left;
}

.plinth #header {
    height: 30px;
    background: 0 0!important;
}

    .plinth #header .menu.actions {
        top: 0!important;
        right: -40px!important;
        margin-top: 20px!important;
    }

    .plinth #header .containerWidth {
        text-align: center;
    }

.plinth #logo {
    float: none;
}

.plinth #strapline {
    float: left;
    height: 30px;
    width: 90px;
}

.footer_links div {
    float: left;
}

.plinth .footer_links div {
    background: #000;
    background: rgba(0,0,0,.6);
    border-radius: 12px;
    color: #fff;
    padding: 0 10px;
    margin-right: 5px;
}

.plinth .footer_links a {
    text-decoration: none;
}

.plinth .footer a {
    color: #fff!important;
}

.plinth .footer_links a:hover {
    text-decoration: underline;
}

#header .ui-autocomplete {
    width: 165px;
    border: 1px solid #ccc;
    font-family: sans-serif;
    font-size: 12px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 5px 5px rgba(6,6,6,.1);
    -moz-box-shadow: 0 0 5px 5px rgba(6,6,6,.1);
    box-shadow: 0 0 5px 5px rgba(6,6,6,.1);
}

    #header .ui-autocomplete.ui-widget-content a {
        color: #636466;
        font-weight: 400;
        line-height: 1.2;
    }

.menu {
    margin-top: 4px;
    margin-bottom: 4px;
}

.navigation_menu {
    padding-top: 4px;
    width:100%;
}

#menuContainer {
    background: 0 0!important;
}

    #header .k-dropdown, #menuContainer .k-dropdown {
        margin-right: -80px;
        width:185px;
    }

        #header .k-dropdown .k-dropdown-wrap, #menuContainer .k-dropdown .k-dropdown-wrap {
            background: #000;
            background: rgba(0,0,0,.8);
            border: none;
            font-size: 12px;
            padding: 0 0 0 4px;
            width: 100px;
            border-radius: 10px;
            height: 20px;
        }

#header #k-menu-actions, #header #k-menu-pages {
    display: none;
}

#header #k-menu-items-btn .k-dropdown .k-icon, #menuContainer #k-menu-items-btn .k-dropdown .k-icon {
    background: url(Images/dropdown-arrow.png);
    height: 20px;
}

#header #k-menu-actions-btn .k-dropdown .k-icon, #menuContainer #k-menu-actions-btn .k-dropdown .k-icon {
    background: url(Images/dropdown-plus.png);
}

#header #k-menu-pages-btn .k-dropdown .k-icon, #menuContainer #k-menu-pages-btn .k-dropdown .k-icon {
    background: url(Images/dropdown-arrow.png);
}

#header .k-dropdown .k-state-border-down, #menuContainer .k-dropdown .k-state-border-down {
    border-radius: 10px 10px 0 0;
}

#header .k-dropdown .k-dropdown-wrap .k-input, #menuContainer .k-dropdown .k-dropdown-wrap .k-input {
    color: #fff;
    line-height: 15px;
    width: 84px;
}

#k-menu-actions-btn, #k-menu-items-btn {
    float: left;
}

#k-menu-actions-btn {
    left: -80px;
}

#k-menu-actions-list, #k-menu-items-list, #k-menu-pages-list {
    background: #000;
    background: rgba(0,0,0,.8);
    border: none;
    border-radius: 0 10px 10px;
}

    #k-menu-actions-list .k-item, #k-menu-items-list .k-item, #k-menu-pages-list .k-item {
        color: #fff;
        font-size: 12px;
        line-height: 14px;
        cursor: pointer;
        border: none;
        padding: 4px 0 4px 6px;
    }

    #k-menu-actions-list .k-state-hover, #k-menu-items-list .k-state-hover, #k-menu-pages-list .k-state-hover {
        background: 0 0;
        text-decoration: underline;
        color: #fff;
        border: none;
        padding: 4px 0 4px 6px;
    }

.plinth #menuContainer {
    background: 0 0!important;
}

.menuRHS {
    position: absolute;
    /* min-width: 360px; */
    float: right;
    right: 0;
    top: 10px;
}

    .menuRHS #k-menu-items-btn {
        margin-left: 10px;
        width: 104px;
    }

.menuItem {
    z-index: 999;
    position: relative;
    float: left;
    margin-left: 5px;
}

.hard #leftpage .stock-with-caption img {
    /*margin-top:0px;*/
    height: auto;
    margin-left: 0px;
}

.hard #leftpage .collage img {
    margin-top: 0px;
    height: 561px;
    margin-left: 0px;
}

#k-menu-pages-list .k-item.menuDivider {
    border-top: 1px solid #999;
    border-top: 1px solid rgba(255,255,255,.4);
}

#header .menuItem a, #menuContainer .menuItem a {
    background: #000;
    background: rgba(0,0,0,.8);
    border-radius: 10px;
    color: #fff!important;
    font-size: 12px;
    padding: 4px 10px;
    float: left;
}

.menu li {
    margin-right: 6px;
}

    .menu li a {
        color: #fff;
        font-family: Georgia,Times New Roman,serif;
        font-size: 13px;
        display: inline;
    }

    .menu li#menu_share {
        margin-top: -1px;
    }

.menu #menu_share {
    position: relative;
}

    .menu #menu_share a {
        padding: 0;
    }

    .menu #menu_share .icon_share {
        width: 22px;
        height: 20px;
        background: url(Images/icon_share.png) no-repeat;
        position: absolute;
        right: 4px;
    }

.menu #tocForm {
    margin: 7px 0 0;
}

form.registerForm input[type="submit"] {
    margin: 10px 0 0 0;
    float: right;
    margin-right: 172px;
}
.registerForm {
margin-top:-20px;
}
.fb-reg {
    margin-bottom: 10px;
    margin-top: 5px;
}
.text_reg {
    margin-bottom:7px;
    font-size: small;
    color: #5B7BD5;
}

.menu #tocForm input {
    margin: 0;
    width: 25px;
    padding: 3px 4px 4px;
    text-align: center;
    -webkit-appearance: none;
}

.cause .menu.actions {
    margin-top: 15px !important;
}

.plinth .menu.actions {
    position: absolute;
}

.searchContainer {
    margin: 0;
}

#searchForm {
    float: right;
    margin: 8px 5px 3px 0;
    position: relative;
}

.plinth #searchForm {
    margin: 0;
}

#searchForm input {
    /*margin: 0;*/
    width: 140px;
    color: #666;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding-left: 22px;
    padding-right: 8px;
    height: 24px;
}

.plinth #searchForm input {
    border: none;
    border-radius: 10px;
}

#searchForm .ui-widget {
    font-size: 10px;
    z-index: 9999!important;
    margin-top: 24px;
}

#menuContainer #searchForm a, .menu #searchForm li {
    color: #222!important;
    font-size:10px;
    font-weight:600 !important;
}

#linkForm {
    margin: 7px 15px 0 0;
    float: left;
}

    #linkForm select {
        width: 140px;
    }

    #linkForm input {
        width: 25px;
        margin: 0;
        padding: 3px 0 4px;
        -webkit-appearance: none;
    }

.searchAddCelebration {
    background: url(Images/icon_add_celebration.png) no-repeat;
    display: block;
    width: 24px;
    height: 17px;
    text-indent: -9999px;
    float: right;
}

.searchCelebration {
    background: url(Images/icon_celebration.png) no-repeat;
    display: block;
    width: 24px;
    height: 17px;
    text-indent: -9999px;
    float: right;
}

.searchFuneral {
    background: url(Images/icon_announcement.png) no-repeat;
    display: block;
    width: 24px;
    height: 17px;
    text-indent: -9999px;
    float: right;
}

#next-page-left {
    /*left: -12px;*/
       margin-left: 5px;
    position: absolute;
}

#next-page-right {
    /*right: -12px;*/
  margin-left: -10px;
    position: absolute;
}

@media screen and (max-width: 768px){

    #next-page-left{
            margin-left: 23px !important;
    }
    #next-page-right {
        margin-left: -5px !important;
    }

    /*#full-book {
        margin-left: 120px;
    }*/
    .layout_btnleft {

    position: absolute;
    margin-top: 250px;
    margin-left: -45px;
}
}
@media screen and (max-width: 1024px){
   #book-container {
    margin-left: 0px !important;
}
   #next-page-right {
    /*right: -12px !important;*/
    margin-left: -20px;
}
   #next-page-left {
    /*left: -12px;*/
    margin-left: 8px !important;
}
}

@media screen and (max-width: 1000px) {
    #next-page-left {
    /* left: -12px; */
    margin-left: -8px !important;
}
    #next-page-right {
    /* right: -12px !important; */
    margin-left: 10px !important;
}
}

@media screen and (max-width:1000px) {
    #next-page-left {
        /*left: -12px;*/
        margin-left: -6px;
    }
}

#next-page-left a {
    color: #c5c5c5;
}

    #next-page-left a:hover {
        color: #007151;
    }

#next-page-right a {
    color: #c5c5c5;
}

    #next-page-right a:hover {
        color: #007151;
    }

.turn-left, .turn-right {
    position: absolute;
    bottom: 20px;
}

    .turn-left span, .turn-right span {
        position: relative;
        z-index: 1;
    }

#leftpage .turn-left, #rightpage .turn-left {
    left: 20px;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    display: inline-block;
    margin-left: 85px;
    margin-right: 2px;
    padding: 4px 12px 4px 21px;
    text-decoration: none;
    background-image: url(Images/prev-page-button.png);
    background-repeat: no-repeat;
    background-position: left top;
    left: -66px;
    height: 14px;
}

    #leftpage .turn-left:hover, #rightpage .turn-left:hover {
        text-decoration: none;
    }

#leftpage .turn-right, #rightpage .turn-right {
    right: 80px;
    color: #fff!important;
    font-weight: 400;
    font-size: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    display: inline-block;
    margin-right: 23px;
    padding: 4px 21px 4px 12px;
    text-decoration: none;
    height: 14px;
    background-image: url(Images/next-page-button.png);
    background-repeat: no-repeat;
    background-position: right top;
    right: 0;
}

    #leftpage .turn-right:hover, #rightpage .turn-right:hover {
        text-decoration: none;
    }

.turn-next, .turn-prev {
    position: absolute;
    bottom: 20px;
    display: none;
}

#leftpage .turn-next, #rightpage .turn-next {
    right: 20px;
    color: #fff!important;
    font-weight: 400;
    font-size: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    margin-right: 2px;
    padding: 4px 21px 4px 12px;
    text-decoration: none;
    height: 14px;
    background-image: url(Images/next-page-button.png);
    background-repeat: no-repeat;
    background-position: right top;
}

    #leftpage .turn-next:hover, #rightpage .turn-next:hover {
        text-decoration: none;
    }

#leftpage .turn-prev, #rightpage .turn-prev {
    left: 20px;
    color: #fff!important;
    font-weight: 400;
    font-size: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    padding: 4px 12px 4px 21px;
    text-decoration: none;
    height: 14px;
    background-image: url(Images/prev-page-button.png);
    background-repeat: no-repeat;
    background-position: left top;
}

@media only screen and (min-device-width : 375px) and (max-device-width : 776px) and (-webkit-min-device-pixel-ratio: 2)
 {#leftpage .turn-left, #rightpage .turn-left, #leftpage .turn-right, #rightpage .turn-right, #leftpage .turn-prev, #rightpage .turn-prev,#leftpage .turn-next, #rightpage .turn-next  { height: 18px;padding-top: 2px;padding-bottom: 6px;}}

@media only screen 
  and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {#leftpage .turn-left, #rightpage .turn-left, #leftpage .turn-right, #rightpage .turn-right, #leftpage .turn-prev, #rightpage .turn-prev,#leftpage .turn-next, #rightpage .turn-next  { height: 14px;padding-top: 4px; padding-bottom: 4px;}}

    #leftpage .turn-prev:hover, #rightpage .turn-prev:hover {
        text-decoration: none;
    }

#full-book {
    width: 967px;
    padding: 0;
}

#book {
    width: 860px;
    height: 550px;
}

#book-container, #non-js-book {
    width: 897px;
    height: 548px;
    float: right;
    padding: 11px 15px 13px 55px;
    background: url(Images/book_bg.png);
    padding-right:45px !important;
}

#non-js-book {
    overflow: hidden;
}

    #non-js-book #leftpage {
        margin-bottom: 20px;
    }

#leftpage, #rightpage {
    width: 390px;
    height: 510px;
    padding: 20px;
}

.innerPage {
    overflow: auto;
    height: 420px;
    padding-bottom: 26px;
}

#book-container .depth_right {
    background: url(Images/depth5.png) -6px 0 no-repeat;
    position: absolute;
    width: 16px;
    right: 40px;
    height: 558px;
    top: 5px;
    left: 906px!important;
    -webkit-transform: rotate(180deg);
}

#book-container .depth_left {
    background: url(Images/depth5.png) no-repeat;
    position: absolute;
    width: 16px;
    right: 915px;
    height: 550px;
    top: 9px;
}

.book_left_page {
    background: url(Images/page_left.jpg);
}

.book_right_page {
    background: url(Images/page_right.jpg);
}

#leftpage {
    background: url(Images/page_left.jpg);
}

#rightpage {
    background: url(Images/page_right.jpg);
}

#book .hard {
    /*background: #ccc!important; */
    color: #333;
    -webkit-box-shadow: inset 0 0 5px #666;
    -moz-box-shadow: inset 0 0 5px #666;
    -o-box-shadow: inset 0 0 5px #666;
    -ms-box-shadow: inset 0 0 5px #666;
    box-shadow: inset 0 0 5px #666;
    /*font-weight: 700;*/
}

.hard #leftpage img {
    /*margin-left: -5px;  margin-top: 1px; height: 509px;*/
    margin-top: -41px;
    height: 561px;
    margin-left: -29px;
}



.hard #rightpage img {
    height: 570px;
    margin-left: 0;
    margin-top: -48px;
}

.hard #rightpage {
    left: -30px;
}

.hard #leftpage {
    width: 390px;
}

    .hard #leftpage img, .hard #rightpage img {
        width: auto;
        height: auto;
        max-width: inherit;
        /* added by Sasi*/
        margin-top: -37px;
        height: 550px !important;
    }

.page #leftpage img, .page #rightpage img {
    width: auto;
    height: auto;
    max-width: 100%;
    /*margin-bottom:12px;*/
}

.nav {
    position: absolute;
    bottom: 70px;
    width: 100%;
}

.toc li a {
    color: #007151;
    font-weight: 300 !important;
}

    .toc li a:hover {
        color: #000;
    }

.share {
    float: left;
    clear: both;
}

.hard #leftpage .stock-with-caption img {
    margin-top: 0px !important;
}

.hard #leftpage a .stock-with-caption img {
    margin-top: 0px !important;
}

.tribute-share .share {
    position: absolute;
    top: 415px;
    margin-top: 9px;
}
.pull-right {
    float:right !important;
}
#leftpage .tribute-share .share {
    left: 0;
}

#rightpage .tribute-share {
    right: 4px;
}

.clearfloat {
    clear: both;
}

.tribute-share {
    position: absolute;
    width: 100px;
    top: 62px;
    /*left: 43%;*/
}

#leftpage .share img, #rightpage .share img {
    border: none;
    vertical-align: middle;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
form.Memberlogin label
{

margin-left:25%;
    margin-bottom: 3px;
}
form.Memberlogin input
{
width:192px;
margin-left:25%;

}

form.Memberlogin input[type=submit]
{
width:200px;

}

form.MemberloginForm label
{
margin-left: 25%;
}
form.MemberloginForm p
{
margin-left:25%;
}

form.MemberloginForm a.linkR
{
color:rgb(0, 0, 255);
}
form.MemberloginForm input
{
margin-left: 25%;
    margin-top: 1%;
    width: 192px;

}

form.MemberloginForm input[type=submit]
{
width:200px;

}



.share a {
    margin-right: 4px;
    width: 22px;
    height: 22px;
    display: inline-block;
}

.share .shareTwitter {
    background: url(Images/icon_twitter.png) no-repeat;
}

.share .shareFacebook {
    background: url(Images/icon_facebook.png) no-repeat;
}
/*facebook UI*/
#leftpage .btn_fb_login span
{
    text-align :center !important;
    margin-left:36%;
}
.btn_login
{
   margin-left: 67%;
}
.btn-reset
{
    margin-left: 53%;
}
#register
{
        margin-left:22%;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    color: #f2e4c9;
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
   background: #007151;
}
.text-fb
{
    text-align: left;
}
#leftpage p #loginBtn
{
     margin-top: -10px;
}
#register a:hover
{
    text-decoration: none;
    color: #FFF;
}
/*#register a
{
    text-decoration: none;
     color: #FFF;
}*/
.text-fb-register
{
    margin-left: -20%;
    margin-top:40px;
}

/*facebook UI done*/
.share .shareLinkedin {
    background: url(Images/icon_linkedin.png) no-repeat;
}

.share a span {
    display: none;
}

#leftpage .share a:hover, #rightpage .share a:hover {
    text-decoration: none;
}

.celebrationHeader {
    margin-bottom: 10px;
    padding: 5px 0;
    background: -moz-linear-gradient(top,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(86,162,144,.2)),color-stop(100%,rgba(204,218,216,.2)));
    background: -webkit-linear-gradient(top,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    background: -o-linear-gradient(top,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    background: -ms-linear-gradient(top,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    background: linear-gradient(to bottom,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3356a290', endColorstr='#33ccdad8', GradientType=0);
    overflow: hidden;
}

    .celebrationHeader .celebrationHeader-inner {
        margin-left: auto;
        margin-right: auto;
    }

        .celebrationHeader .celebrationHeader-inner > h3 {
            margin-left: 15px;
            margin-right: 15px;
        }

        .celebrationHeader .celebrationHeader-inner .person-info {
            float: left;
            padding-right: 15px;
            width: 235px;
        }

        .celebrationHeader .celebrationHeader-inner h3 {
            font-size: 20px;
            border-bottom: 1px solid #000;
            margin-bottom: 4px;
        }

        .celebrationHeader .celebrationHeader-inner img {
            float: left;
            margin: 4px 10px 0;
            width: auto !important;
        }

#leftpage .celebrationMain p, #rightpage .celebrationMain p {
    margin-bottom: 5px;
}

#leftpage .celebrationHeader h3, #leftpage .celebrationHeader h4, #rightpage .celebrationHeader h3, #rightpage .celebrationHeader h4 {
    text-align: center;
}
#booktitle {
    visibility: hidden;
}
#Bpath {
    visibility: hidden;
}
#Btext
{
    visibility: hidden;
}
.date h4 {
    margin-top: -5px;
}
#hidetext {
   height: 0px;
}


#leftpage .celebrationHeader p, #rightpage .celebrationHeader p {
    text-align: center;
    margin-bottom: 4px;
}

#leftpage p, #rightpage p {
     white-space: pre-line;
}

img#strapline {
    float: left;
    margin-right: -750px;
    width: 30px;
    height: 30px;
}

#leftpage .celebration-end, #rightpage .celebration-end {
    background-image: url(Images/celebration-end.png);
    background-position: center;
    background-repeat: no-repeat;
    height: 16px;
    margin-top: 20px;
}

.tScrollbar .celebrationViewport {
    height: 440px;
}

.afs-obit p {
    margin-bottom: 10px!important;
}

span#unknown-label {
    padding: 0 5px;
    font-style: italic;
}

#checkbox-unknow-date {
    float: none;
    margin-left: 135px;
}

.RedLink {
    background-color: green;
}

div\.remove-image {
    overflow: hidden;
}

.celebration-link {
    display: block;
    clear: both;
    line-height: 16px!important;
    padding-bottom: 10px!important;
    padding-top: 10px!important;
    background-size: 22px 22px!important;
    background-position: 10px 7px!important;
}

body.large a.largeLink.celebration-link {
    background-size: 22px 22px!important;
    text-decoration: underline;
}

.celebrationHeader .person-info .totalisers > div:first-child {
    margin-top: 20px;
}

.celebrationHeader .person-info .totalisers > div:not(:first-child) {
    margin-top: 10px;
}

.celebration-totaliser {
    margin-left: 40px;
}

.funeralDetails .viewport {
    height: 440px;
}

.funeralHeader {
    margin-bottom: 10px;
    width: 100%;
    background: -moz-linear-gradient(top,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(86,162,144,.2)),color-stop(100%,rgba(204,218,216,.2)));
    background: -webkit-linear-gradient(top,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    background: -o-linear-gradient(top,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    background: -ms-linear-gradient(top,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    background: linear-gradient(to bottom,rgba(86,162,144,.2) 0,rgba(204,218,216,.2) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3356a290', endColorstr='#33ccdad8', GradientType=0);
}

#leftpage .funeralHeader h3, #rightpage .funeralHeader h3, .funeralDetails h3 {
    text-align: center;
}

.funeralDetails .donationLink {
    display: inline;
}

#leftpage .funeralHeader h4, #rightpage .funeralHeader h4 {
    text-align: center;
}

#leftpage .funeralHeader p, #rightpage .funeralHeader p {
    text-align: center;
    margin-bottom: 4px;
}

#leftpage .funeralDetails p, #rightpage .funeralDetails p {
    margin-bottom: 5px;
}

#leftpage .funeralDetails p {
    margin-bottom: 10px;
    text-align: center;
}

    #leftpage .funeralDetails p.share {
        margin-bottom: 0;
    }

.funeralHeaderText {
    overflow: hidden;
    padding: 5px 10px;
}

.funeralHeaderImage {
    float: left;
}

    .funeralHeaderImage img {
        max-height: 125px;
    }

.org-logo img {
    max-height: 70px;
}

#leftpage .funeralHeader img, #rightpage .funeralHeader img {
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.print-funeral {
    clear: both;
    float: right;
    position: relative;
    top: -20px;
}

    .print-funeral a {
        text-decoration: underline;
    }

#leftpage .welcomeCelebration, #rightpage .welcomeCelebration {
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#rightpage .collage img.blank-media {
    box-shadow: 0 0;
}

#leftpage .collage img, #rightpage .collage img {
    width: 108px !important;
    height: 133px !important;
    padding: 3px;
}

.collage {
    margin: 0 7px;
}

    .collage li {
        margin: 0 16px 12px 0;
        width: 114px;
        height: 139px;
    }

        .collage li a {
            width: 114px;
            height: 139px;
            font-weight: 400;
        }

        .collage li.no-margin {
            margin: 0 0 4px;
        }

    .collage .you-tube-overlay {
        background: url(Images/play.png) left 25px no-repeat;
        height: 149px;
    }

#leftpage .iconInfo, #rightpage .iconInfo {
    position: absolute;
    right: 20px;
    top: 12px;
    display: block;
    background: url(Images/icon_info.png) no-repeat;
    width: 29px;
    height: 29px;
    cursor: pointer;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

    #leftpage .iconInfo span, #rightpage .iconInfo span {
        display: none;
    }

.personList li {
    text-align: left;
    height: 43px;
    padding: 0;
    border-bottom: 1px solid #000000;
    font-size: 14px;
    display: table;
    width: 100%;
}

    .personList li:hover {
        background-color: #e8e8e8;
    }

    .personList li a {
        display: table-cell;
        width: 260px;
        height: 43px;
        vertical-align: middle;
        font-weight: 400;
        text-decoration: none;
    }

#leftpage .personList li img, #rightpage .personList li img {
    border: none;
    vertical-align: middle;
    float: right;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: auto;
}

.personListIcon {
    display: inline-block;
    width: 27px;
    height: 17px;
    float: right;
    margin-top: 12px;
}

.popupKey .personListIcon {
    float: left;
    padding-right: 5px;
    margin: 0;
    width: 30px!important;
}

.personListIcon span {
    display: none;
}

.popupKey .personListIcon.iconCelebration {
    background-position: 2px 0;
}

.popupKey .personListIcon.iconPicture {
    background-position: 0 0;
}

.popupKey .personListIcon.iconDonation, .popupKey .personListIcon.iconInfoPerson, .popupKey .personListIcon.iconVideo {
    background-position: 2px 0;
}

.iconCelebration {
    background: url(Images/icon_celebration.png) no-repeat;
    width: 25px;
    height: 17px;
}

.iconPicture {
    background: url(Images/icon_photo.png) no-repeat;
    width: 30px;
    height: 17px;
}

.iconVideo {
    background: url(Images/icon_video.png) no-repeat;
    width: 26px;
    height: 17px;
}

.iconDonation {
    background: url(Images/icon_donation_list.png) no-repeat;
    width: 25px;
    height: 17px;
}

.iconInfoPerson {
    width: 25px;
    height: 17px;
    padding: 0!important;
    background-image: none!important;
}

.popup {
    padding: 8px 12px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 14px;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,.6);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,.6);
    box-shadow: 0 0 3px rgba(0,0,0,.6);
    background-color: #fff;
    z-index: 999999;
    width: 150px;
    margin-top:4.4%;
    margin-left:3px; 
}

 .popup:after {
        width: 35px;
        height: 26px;
       /*// background: url(Images/popup_triangle.png);*/
        bottom: -30px;
        content: "";
        display: block;
        left: 80px;
        position: absolute;
    }

.popupKey {
    width: 240px;
    padding: 8px 12px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 14px;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,.6);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,.6);
    box-shadow: 0 0 3px rgba(0,0,0,.6);
    background-color: #fff;
    z-index: 999999;
}

    .popupKey img {
        margin-right: 10px;
    }

    .popupKey p {
        padding: 8px 0 6px;
    }

        .popupKey p.popupClose {
            padding: 8px 0 4px;
            font-style: italic;
            text-align: right;
        }

.messages {
    margin-bottom: 7px;
}

    .messages li {
        border-bottom: 1px solid #007151;
        padding-top: 8px;
        padding-bottom: 4px;
    }

#leftpage .messages p, #rightpage .messages p {
    margin-bottom: 4px;
}

.tScrollbar .contributionsPage.viewport {
    height: 375px;
}

.gallery {
    width: 332px;
    margin-bottom: 5px;
    height: 146px;
}

html.touch .gallery {
    width: 312px;
}

#leftpage .gallery-thumbnail img, #rightpage .gallery-thumbnail img {
    border: none;
    width: 93px;
    height: 123px;
    padding: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.gallery-left-button, .gallery-right-button {
    width: 15px;
    height: 140px;
    background-position: 0 61px;
    visibility: hidden;
}

html.touch .gallery-left-button, html.touch .gallery-right-button {
    width: 25px;
}

.gallery-right-button {
    margin-left: 2px;
}

.gallery-private-button {
    position: absolute;
    left: 4px;
    bottom: 0;
    z-index: 2000;
    width: 60px;
    height: 17px;
    background: url(Images/gallery-private-button.png) no-repeat;
}

    .gallery-private-button span {
        display: none;
    }

.gallery-public-button {
    position: absolute;
    left: 4px;
    bottom: 0;
    z-index: 2000;
    width: 60px;
    height: 17px;
    background: url(Images/gallery-public-button.png) no-repeat;
}

    .gallery-public-button span {
        display: none;
    }

#leftpage p.galleryNote, #rightpage p.galleryNote {
    font-style: italic;
    font-size: 12px;
    margin-bottom: 5px;
}

.gallery .you-tube-overlay {
    background: url(Images/play.png) left 25px no-repeat;
}

.gallery-thumbnail .tip {
    bottom: 0;
    right: 6px;
    position: absolute;
    z-index: 2000;
}

.pledgeList li {
    word-wrap: break-word;
    border-top: 1px solid #444;
}

    .pledgeList li:first-child {
        border-top: none!important;
    }

    .pledgeList li h3 {
        font-size: 1em;
        padding-bottom: 6px;
        padding-top: 6px;
        font-weight: 400;
    }

        .pledgeList li h3 a {
            font-weight: 400;
        }

    .pledgeList li h4 {
        /*font-style: italic;*/
        font-size: .7em;
    }

#leftpage .pledgeList li p, #rightpage .pledgeList li p {
    margin-bottom: 6px;
}

.pledgeText {
    max-height: 250px;
    overflow: auto;
}

#leftpage .pledgeListBtn {
   /*margin-top: 20px;*/
   margin-top: 0px;
	 
}

#rightpage .pledgeListBtn {
  float: right;
    margin-right: 5px;
    margin-top: 20px;
}

.funeralsList li {
    border-bottom: 1px solid #444;
}

    .funeralsList li h3 {
        font-size: 13px;
        padding: 10px 0 6px;
    }

#leftpage .funeralsList li p, #rightpage .funeralsList li p {
    font-size: 11px;
    margin-bottom: 10px;
}

.editLinks p {
    float: left;
    margin-right: 10px;
}

    .editLinks p a {
        padding: 1px 0 1px 22px;
        display: block;
    }

.editLinks .writeLink a {
    background: url(Images/icon_write_sml.png) no-repeat;
}

.editLinks .deleteLink a {
    background: url(Images/icon_delete_sml.png) no-repeat;
}

#leftpage .quote, #rightpage .quote {
    position: absolute;
    bottom: 100px;
    margin: 0 20px;
    background: #fff;
    background: rgba(255,255,255,.65);
    display: block;
    padding: 4px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: .9em;
    width: 310px;
}

.stock-with-caption {
    display: inline-block;
    position: relative;
    max-width: 100%;
}

.caption {
    position: absolute;
    bottom: 7px;
    left: 5px;
    background: #fff;
    background: rgba(255,255,255,.65);
    display: block;
    padding: 5px 0;
    font-size: .9em;
    width: 100%;
    margin: 0 5px 0 -5px;
}

#leftpage .testimonials img, #rightpage .testimonials img {
    border: none;
    width: 50px;
    height: 50px;
    padding-top: 3px;
    margin-right: 10px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#major-donors {
    height: 360px;
    overflow-y: auto;
}

.major_donor_list li {
    background: url(Images/bullet_large.jpg) no-repeat;
    padding: 5px 0 5px 40px;
    font-family: 'Title Text';
    color: #C61A30;
    font-size: 18px;
}

.fd-error {
    color: red;
    font-size: .8em;
    font-style: italic;
}

form .pledgesave {
    margin-top: 8px;
}

    form .pledgesave label {
        width: 240px;
        font-size: 14px;
        padding-top: 4px;
    }

    form .pledgesave input[type=submit] {
        margin: 0;
    }

.button, form input[type=submit] {
    margin-top: 5px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    color: #f2e4c9;
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
    background: #007151;
}

    .button, form input[type=submit]:hover {
        color: #fff;
        background: #45a096;
    }

form input.disabledButton {
    opacity: .35;
    cursor: auto;
}

form textarea {
    width: 383px;
}

.edit-celebration-tip {
    float: right;
    margin-top: -23px;
    overflow: visible!important;
}

.edit-toolbar {
    position: absolute;
    font-size: .8em;
    width: 100%;
    text-align: right;
    top: 20px;
    right: 20px;
}
.pad {
    padding-top:8px;
}
    .edit-toolbar > p {
        float: right;
        overflow: visible!important;
    }

.next-steps {
    font-size: .8em;
    text-align: left;
    position: absolute;
}

    .next-steps li {
        margin-left: 10px;
    }

.view-my-page {
    float: left;
}

.edit-privacy {
    float: right;
    margin-right: 4px;
}

.edit-donations {
    clear: both;
    float: right;
    margin-right: 4px;
}

form.sendToFriendForm label {
    text-align: left;
    display: block;
}

form.sendToFriendForm input {
    width: 384px;
}

form.sendToFriendForm textarea {
    width: 384px;
    height: 80px;
    margin-bottom: 5px;
    border: 1px solid #444;
}

form.sendToFriendForm input[type=submit] {
    width: auto;
    margin-left: 160px;
    margin-top: 10px;
}

form.sendToFriendForm .field-validation-error {
    top: 0;
}

form.sendToFriendForm .send_status {
    padding: 4px 0 0;
    color: rgb(96, 155, 0);
    font-size: 14px;
}

    form.sendToFriendForm .send_status a {
        text-decoration: underline;
    }

form.sendToFriendForm label {
    float: left;
    width: auto;
    margin-right: 5px;
    padding: 0;
}

form.sendToFriendForm .tip {
    float: left;
}


#leftpage .tip, #rightpage .tip {
    display: inline-block;
    overflow: hidden;
    margin-bottom: -1px;
    position: absolute;
    right: 18px;
    top: 0;
}


    #leftpage .tip img, #rightpage .tip img {
        border: none;
        display: block;
        padding: 0;
        width: 14px;
        height: 14px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

form.addMessageForm input {
    float: left;
    margin-bottom: 10px;
    margin-right: 4px;
}

form.addMessageForm label {
    width: 80px;
}

form.addMessageForm input[type=submit] {
    margin: 0 0 8px;
    clear: both;
}

form.addMessageForm textarea {
    overflow: auto;
}

#leftpage form.addMessageForm p, #rightpage form.addMessageForm p {
    margin-bottom: 10px;
}

    #leftpage form.addMessageForm p.requestMsg, #rightpage form.addMessageForm p.requestMsg {
        padding: 4px 0 12px;
        margin-bottom: 0;
    }

form.addMessageForm .counter {
    margin-bottom: 5px;
}

.editor-field .tip {
    position: absolute;
}

.shortname-suggest {
    float: left;
}

#donation1container {
    margin-bottom: 30px;
}

#donation2container {
    display: none;
}

#leftpage form.donationForm .tip, #rightpage form.donationForm .tip {
    float: right;
    margin-top: 3px;
    position: relative;
    right: 0;
}

form.donationForm select {
    height: 22px;
    margin-top: 2px;
}

form.donationForm h4.expandertoggle {
    height: 30px;
    cursor: pointer;
    padding: 2px 2px 2px 25px;
    background: url(Images/icon_collapse.png) -9px -6px no-repeat;
}

    form.donationForm h4.expandertoggle.collapsed {
        background: url(Images/icon_expand.png) -9px -6px no-repeat;
    }

form.JustGivingLogin {
    float: left;
    min-height: 125px;
    width: 100%;
}

    form.JustGivingLogin input {
        float: left;
        height: 16px;
        margin: 7px 0;
    }

    form.JustGivingLogin label {
        clear: left;
        float: left;
        margin-top: 5px;
        height: 30px;
        line-height: 12px;
    }

    form.JustGivingLogin input[type=submit] {
        clear: left;
        float: left;
        margin-top: 5px;
        height: 22px;
    }

form.donationForm input.JustGivingShortName {
    width: 147px;
}

form.donationForm label {
    width: 184px;
    height: 30px;
}

form.donationForm a.tip img {
    padding: 0 0 0 5px!important;
}

.find-charities-img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-image: url(Images/icon_funeral_small.png);
    margin-top: -4px;
    position: relative;
    top: 6px;
    display: inline-block;
}

#jg-logo {
    background-image: url(Images/jg-logo-header-purple.png);
    background-size: contain;
    height: 46px;
    width: 186px;
    margin-bottom: 10px;
}

form.JustGivingLogin label {
    width: 210px;
}

form.donationForm {
    overflow: hidden;
}

    form.donationForm input[type=submit] {
        float: right;
    }

    form.donationForm .checkbox-label {
        width: 343px!important;
        height: 26px;
    }

    form.donationForm .checkbox {
        margin-bottom: 10px;
    }

        form.donationForm .checkbox label {
            float: right;
            width: 360px;
        }

    form.JustGivingLogin p.jg-signin-alert, form.donationForm p.jg-signin-alert {
        color: red!important;
    }

    form.donationForm p {
        margin-bottom: 6px!important;
    }

    form.donationForm input[type=submit] {
        margin-top: 0;
    }

#leftpage form.personDetailsForm .gallery-thumbnail img {
    height: 87px;
    width: 66px;
}

#leftpage form.personDetailsForm .tip, #rightpage form.personDetailsForm .tip {
    position: relative;
}

form.personDetailsForm input[type=submit] {
    margin: 0;
    clear: both;
    display: block;
}

form.personDetailsForm #celebration-image-upload label {
    clear: both;
    display: block;
}

#celebration-image-upload a.tip {
    right: auto;
}

.controls {
    margin-top: 6px;
}

#rightpage .controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

form.obituaryForm {
    margin-right: 4px;
    overflow: hidden;
}

    form.obituaryForm textarea {
        font-size: 11px;
        height: 40px;
        margin-top: 5px;
    }

    form.obituaryForm #textMessage label {
        width: 100%;
        font-size: 11px;
    }

    form.obituaryForm .gallery-thumbnail {
        padding-bottom: 16px;
    }

    form.obituaryForm label {
        width: 186px;
    }

    form.obituaryForm .rte-wrapper label {
        width: 100%;
    }

    form.obituaryForm label[for=Text] {
        float: none;
        display: block;
        margin-bottom: 5px;
    }

    form.obituaryForm input[type=submit] {
        float: right;
    }

.obituaryMessage {
    clear: both;
    padding: 10px;
    margin-bottom: 14px;
    border: 1px solid #eee;
    text-align: left;
    font-size: .9em;
    line-height: 1.1em;
    -webkit-box-shadow: inset 0 0 9px 2px rgba(6,6,6,.1);
    -moz-box-shadow: inset 0 0 9px 2px rgba(6,6,6,.1);
    box-shadow: inset 0 0 9px 2px rgba(6,6,6,.1);
}

#leftpage .obituaryMessage p, #rightpage .obituaryMessage p {
    font-size: 1em;
    margin: 0 0 10px;
}

form.obituaryForm .k-upload {
    position: inherit;
}

.turnPageLink {
    position: absolute;
    bottom: 10px;
    right: 25px;
}

form.obituaryForm .gallery-thumbnail .gallery-image {
    height: 60px;
}

form.tributeForm .gallery-thumbnail {
    padding-bottom: 16px;
}

.tributeMessage {
    clear: both;
    padding: 10px;
    margin-bottom: 14px;
    border: 1px solid #eee;
    -webkit-box-shadow: inset 0 0 9px 2px rgba(6,6,6,.1);
    -moz-box-shadow: inset 0 0 9px 2px rgba(6,6,6,.1);
    box-shadow: inset 0 0 9px 2px rgba(6,6,6,.1);
}

form.tributeForm label[for=Text] {
    float: none;
    display: none;
    margin-bottom: 4px;
}

form.tributeForm #tributeText label {
    width: 100%;
    line-height: 16px;
    margin-bottom: 4px;
}

form.tributeForm .k-upload {
    position: inherit;
}

form.tributeForm .tribute-next-step {
    margin-top: 30px;
}

form.tributeForm textarea {
    height: 50px;
}

form.tributeForm #YouTube {
    margin-bottom: 8px;
}

form input#YouTube {
    float: left;
}

form.tributeForm input[type=submit] {
    margin-top: 2px;
    margin-bottom: 3px;
    float: right;
}

form.privacyForm label {
    width: 254px;
    margin-right: 8px;
}

form.privacyForm select {
    width: 282px;
}

form.privacyForm input[type=submit] {
    margin-left: 0;
    margin-bottom: 12px;
}

form.privacyForm input[type=text] {
    width: 85px;
}

form.privacyForm h3 {
    padding: 0 0 4px;
}

#leftpage form.privacyForm .privacyInstructions p {
    font-style: italic;
    font-size: .9em;
}

#leftpage form.privacyForm .privacyNotifications p {
    margin-bottom: 0;
}

#leftpage form.privacyForm .privacyNotifications {
    margin-top: 2px;
}

#leftpage form.privacyForm .privacyReminders {
    margin-top: 10px;
}

#leftpage form.privacyForm .privacyNotifications div {
    position: relative;
}

#leftpage form.registerForm .privacy p, #rightpage form.registerForm .privacy p {
    margin-top: 5px;
    margin-bottom: 5px;
}

form.registerForm .checkboxLabel {
    width: 295px;
}

form.registerForm input[type=submit] {
    margin: 10px 0 0;
}

.ics form.registerForm input[type=submit] {
    margin: 10px 0 0 135px;
}

form.registerForm div {
    /*width: 185px;*/
    padding-right: 10px;
    /*float: left;*/
    position: relative;
}

form.registerForm label {
    float: none;
    font-size: 12px;
    margin-right: 6px;
    display: block;
    width: auto;
    word-spacing: 5px;
}

form.registerForm .checkboxLabel {
    font-size: 12px;
    display: inline;
}

form.registerForm input {
    font-size: 12px;
    /*margin-top: 2px;
    margin-bottom: 8px;*/
}

    form.registerForm input[type=checkbox] {
        float: none;
        position: relative;
        top: 2px;
    }

.k-upload-files {
    max-height: 45px;
}

div.k-window {
    font-size: 12px;
}

    div.k-window p {
        padding: 5px 5px 10px;
    }

    div.k-window button {
        margin: 0 5px 5px;
    }

    div.k-window .k-window-title {
        margin-left: 5px;
    }

.k-dropzone {
    overflow: hidden;
}

.k-datepicker {
    font-size: 13px;
}

#modalTitle {
    background-color: #007151;
}

#leftpage #recaptcha_widget_div img, #rightpage #recaptcha_widget_div img {
    border: none;
    box-shadow: none;
}

.recaptchatable table {
    border-spacing: 0;
}

.totaliser {
    float: left;
    text-align: left;
    width: 45%;
}

.fullscreen-totaliser {
    width: 100%!important;
}

    .fullscreen-totaliser p {
        margin: auto!important;
        font-size: 12px!important;
        text-align: inherit!important;
        line-height: 12px!important;
    }

.totaliser_graphic {
    width: auto;
    height: 20px;
    border: 1px solid #aaa;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.totaliser_bar {
    height: 14px;
    background-color: #ebc548;
    border: 1px solid #fff;
    box-shadow: inset 0 7px 2px rgba(255,255,255,.4);
}

.totaliser_bg {
    width: 100%;
    height: 20px;
    box-shadow: inset 0 0 8px #aaa;
    position: absolute;
    top: 0;
    left: 0;
}

.totaliser_txt {
    color: #000;
    font-size: 12px;
    text-align: center;
    position: relative;
    margin-top: -16px;
    padding: 0 5px;
    left: 0;
    top: 0;
}

.totaliser_txt_left {
    left: 0;
}

.totaliser_txt_right {
    right: -5px;
    color: #000;
    text-align: left;
}

.plinth .donateContainer {
    float: right;
    margin-left: 10px;
}

.plinth #donateBtn {
    font-size: 12px;
    border-radius: 0 10px 10px 0;
    background: #cc000e;
    color: #fff;
    float: right;
    padding: 2px 8px;
    border: 1px solid #413328;
    border-left: none;
    box-shadow: inset 0 7px 2px rgba(255,255,255,.4);
}

.plinth .donateBtnStandalone #donateBtn {
    border-radius: 10px;
}

.plinth .totaliser {
    width: auto;
}

    .plinth .totaliser p {
        float: left;
        border-radius: 10px 0 0 10px;
        font-size: 12px;
        color: #fff!important;
        padding: 3px 8px;
        background: #000;
        background: rgba(0,0,0,.8);
    }

.plinth .totaliser_graphic {
    min-width: 60px;
    float: left;
    height: 16px;
    border-radius: 0;
    border: 1px solid #413328;
}

.plinth .noDonateBtn .totaliser_graphic {
    border-radius: 0 10px 10px 0;
}

.plinth .totaliser_txt {
    top: 1px;
    z-index: 99;
}

.plinth .totaliser_bar {
    position: relative;
    z-index: 9;
    height: 14px;
}

.plinth .totaliser_bg {
    height: 16px;
    box-shadow: none;
    background: #fff;
}

.totaliser_nongraphic {
    float: left;
    font-size: 12px;
    padding: 2px 5px;
    border-top: 1px solid #413328;
    border-bottom: 1px solid #413328;
}

.plinth .totaliser_nongraphic {
    background: #fff;
}

.classic .donateContainer {
    float: right;
    margin-left: 10px;
    margin-top: 6px;
    clear: both;
    margin-right: 21px;
}

.classic #donateBtn {
    font-size: 12px;
    border-radius: 0 10px 10px 0;
    background: #cc000e;
    color: #fff;
    float: right;
    padding: 4px 8px;
    border: 0px;
    /*border: 1px solid #413328;
    box-shadow: inset 0 7px 2px rgba(255,255,255,.4);*/
}

.classic .donateBtnStandalone #donateBtn {
    border-radius: 10px;
}

.classic .totaliser {
    width: auto;
}

    .classic .totaliser p {
        float: left;
        border-radius: 10px 0 0 10px;
        font-size: 12px;
        color: #fff!important;
        padding: 3px 8px;
        background: #000;
        background: rgba(0,0,0,.8);
    }

.classic .totaliser_graphic {
    min-width: 60px;
    float: left;
    height: 16px;
    border-radius: 0;
    border: 1px solid #413328;
}

.classic .noDonateBtn .totaliser_graphic {
    border-radius: 0 10px 10px 0;
}

.classic .totaliser_txt {
    top: 2px;
    z-index: 99;
}

.classic .totaliser_bar {
    position: relative;
    z-index: 9;
    height: 14px;
}

.classic .totaliser_bg {
    height: 16px;
    box-shadow: none;
    background: #fff;
}

#tooltip {
    position: absolute;
    border: 1px solid #636466;
    background: #FFF;
    padding: 2px 5px;
    color: #636466;
    display: none;
    z-index: 10000;
    font-size: 11px;
    line-height: 14px;
    max-width: 200px;
}

body.large {
    overflow: hidden;
}

    body.large #outer_wrap {
        transform: scale(1.15);
        -ms-transform: scale(1.15);
        -webkit-transform: scale(1.15);
        transform-origin: top;
        -ms-transform-origin: top;
        -webkit-transform-origin: top;
        width: 87%;
    }

    body.large #searchForm input {
        background: url(Images/icons_large/icon_search.png) 3px 3px no-repeat #fff;
        background-size: 16px 15px!important;
    }

    body.large a.largeLink {
        background-size: 29px 29px!important;
    }

        body.large a.largeLink.tribute {
            background: url(Images/icons_large/icon_write.png) no-repeat;
            float: left;
            line-height: 16px;
            text-decoration: underline;
        }

    body.large a.linkR {
        font-weight: 700;
    }

    body.large a.largeLink.donationLink {
        background: url(Images/icons_large/icon_donation.png) no-repeat;
    }

    body.large a.largeLink.add {
        background: url(Images/icons_large/icon_add.png) no-repeat;
    }

    body.large .editLinks .writeLink a {
        background: url(Images/icons_large/icon_write_sml.png) no-repeat;
        background-size: 18px 18px!important;
    }

    body.large .editLinks .deleteLink a {
        background: url(Images/icons_large/icon_delete_sml.png) no-repeat;
        background-size: 18px 18px!important;
    }

    body.large .headerLink.addLink a {
        background: url(Images/icons_large/icon_add_sml.png) 0 2px no-repeat;
        background-size: 15px 15px!important;
    }

    body.large .headerLink.viewLink a {
        background: url(Images/icons_large/icon_view_sml.png) 0 2px no-repeat;
        background-size: 15px 15px!important;
    }

    body.large .headerLink.writeLink a {
        background: url(Images/icons_large/icon_write_sml.png) 0 2px no-repeat;
        background-size: 15px 15px!important;
    }

    body.large .headerLink.donationLink a {
        background: url(Images/icons_large/icon_donation_sml.png) 0 2px no-repeat;
        background-size: 15px 15px!important;
    }

    body.large .headerLink.deleteLink a {
        background: url(Images/icons_large/icon_delete_sml.png) 0 2px no-repeat;
        background-size: 15px 15px!important;
    }

    body.large .headerLink.mailLink a {
        background: url(Images/icons_large/icon_mail_sml.png) 0 2px no-repeat;
        background-size: 15px 15px!important;
    }

    body.large .menu #menu_share .icon_share {
        background: url(Images/icons_large/icon_share.png) no-repeat;
        background-size: 22px 20px!important;
    }

    body.large .gallery-left-button {
        background: url(Images/icons_large/gallery-left-button.png) 0 61px no-repeat;
        background-size: 12px 18px!important;
    }

    body.large .gallery-right-button {
        background: url(Images/icons_large/gallery-right-button.png) 1px 61px no-repeat;
        background-size: 12px 18px!important;
    }

html.touch body.large .gallery-left-button {
    background: url(Images/icons_large/gallery-left-button-touch.png) 0 51px no-repeat;
    background-size: 24px 36px!important;
}

html.touch body.large .gallery-right-button {
    background: url(Images/icons_large/gallery-right-button-touch.png) 1px 51px no-repeat;
    background-size: 24px 36px!important;
}

body.large .you-tube-overlay {
    background: url(Images/icons_large/play.png) right -20px top 0 no-repeat;
}

body.large .searchAddCelebration {
    background: url(Images/icons_large/icon_add_celebration.png) no-repeat;
    background-size: 27px 17px!important;
}

body.large .searchCelebration {
    background: url(Images/icons_large/icon_celebration.png) no-repeat;
    background-size: 27px 17px!important;
}

body.large .searchFuneral {
    background: url(Images/icons_large/icon_announcement.png) no-repeat;
    background-size: 27px 17px!important;
}

body.large #leftpage .iconInfo, body.large #rightpage .iconInfo {
    background: url(Images/icons_large/icon_info.png) no-repeat;
    background-size: 29px 29px!important;
}

body.large .iconCelebration {
    background: url(Images/icons_large/icon_celebration.png) no-repeat;
    background-size: 25px 17px!important;
}

body.large .iconInfoPerson {
    background: url(Images/icons_large/icon_info_sml.png) no-repeat;
    background-size: 25px 17px!important;
}

body.large .iconDonation {
    background: url(Images/icons_large/icon_donation_list.png) no-repeat;
    background-size: 25px 17px!important;
}

body.large .iconVideo {
    background: url(Images/icons_large/icon_video.png) no-repeat;
    background-size: 26px 17px!important;
}

body.large .iconPicture {
    background: url(Images/icons_large/icon_photo.png) no-repeat;
    background-size: 30px 17px!important;
}

body.large .share .shareTwitter {
    background: url(Images/icons_large/icon_twitter.png) no-repeat;
    background-size: 22px 22px!important;
}

body.large .share .shareFacebook {
    background: url(Images/icons_large/icon_facebook.png) no-repeat;
    background-size: 22px 22px!important;
}

body.large .share .shareLinkedin {
    background: url(Images/icons_large/icon_linkedin.png) no-repeat;
    background-size: 22px 22px!important;
}

body.large #modalClose {
    background: url(Images/icons_large/popup-close.png) 16px 12px no-repeat;
    background-size: 25px 25px!important;
}

body.large .gallery-remove-button {
    background: url(Images/icons_large/gallery-remove-button.png) top left no-repeat;
    background-size: 16px 16px!important;
}

body.large .gallery-private-button {
    background: url(Images/icons_large/gallery-private-button.png) no-repeat;
    background-size: 60px 17px!important;
}

body.large .gallery-public-button {
    background: url(Images/icons_large/gallery-public-button.png) no-repeat;
    background-size: 60px 17px!important;
}

body.large a.largeLink.send {
    background: url(Images/icons_large/icon_mail.png) no-repeat;
}

ul.ui-autocomplete {
    z-index: 9999!important;
}

figure {
    margin: 0;
}

    figure > figcaption {
        position: absolute;
        opacity: 0;
    }

    figure > .figcaption {
        box-sizing: border-box;
        position: absolute;
        width: 100%;
        bottom: 0;
        padding: 3px;
        background-color: transparent;
        pointer-events: none;
    }

        figure > .figcaption > figcaption {
            box-sizing: border-box;
            bottom: 0;
            width: 100%;
            padding: 3px;
            color: rgba(9,9,9,.8);
            background: rgba(255,255,255,.8);
            font-size: .8em;
            word-wrap: break-word;
            opacity: 0;
            transition: all .5s ease;
        }

    figure:hover > .figcaption > figcaption {
        opacity: 1;
    }

:not(.k-picker-wrap) > .input-validation-error:not(.k-datepicker):not(.k-picker-wrap) {
    border: 1px solid red!important;
    -webkit-box-shadow: rgba(0,0,0,.0745098) 0 1px 1px 0 inset,rgba(255,168,236,.6) 0 0 8px 0!important;
    -moz-box-shadow: rgba(0,0,0,.0745098) 0 1px 1px 0 inset,rgba(255,168,236,.6) 0 0 8px 0!important;
    box-shadow: rgba(0,0,0,.0745098) 0 1px 1px 0 inset,rgba(255,168,236,.6) 0 0 8px 0!important;
}

.k-picker-wrap > input.input-validation-error {
    width: 98%!important;
}

.k-datepicker, .k-timepicker {
    width: 156px;
    padding: 0;
    margin-top: 4px;
    margin-bottom: 4px;
}

.input-validationN-error {
    border-style: ridge;
    border-color: #007200;
}


.k-editable-area {
    position: relative;
}

    .k-editable-area .k-overlay {
        position: absolute;
        opacity: 0;
        z-index: 1;
    }

    .k-editable-area .k-resize-se {
        position: absolute;
        z-index: 2;
        bottom: 0;
        right: 0;
    }

.k-editor .k-content {
    /* height: 100%!important;*/
}

@media screen and (min-device-width :768px) {
    .book-container {
        margin-left: 20px;
    }
}

.right_corner_image {
    /*width: 60% !important;
	      height: 104px !important;
	      float: right !important;
	      margin-top: -39px !important;
	      margin-right: -49px !important;
	      transform: rotate(25deg) !important;
	*/
}

.block_container {
    width: 87% !important;
    height: 106px;
    border: 5px ridge #D1C7A3;
    padding: 3px !important;
    border-radius: 10px !important;
    margin-top: 32px;
    margin-bottom: 34px;
}

.text_container {
    /*width: 65% !important;*/
    width:85% !important;
    height: 90% !important;
    margin: 8px !important;
    /*float: left !important;*/
}

.right_image {
    /*float: left !important;
    width: 30% !important;
    height: 100% !important;
    margin-top: -75px !important;
    transform: rotate(30deg) !important;*/
     position: absolute;
    margin-top: -64px;
    margin-left: 231px;
}

.nbsp {
    clear: both;
}

.texts {
    float: left;
    width: 100%;
    /*height: 46px;*/
    padding-left: 20px;
}

.texts_odd {
    margin-left: -31px !important;
}

.buttons_odd {
    margin-left: -31px !important;
}

.buttons {
    width: 100%;
    height: 30px;
    margin-top: 4px;
    float: left;
    padding-top: 15px;
    padding-left: 20px;
    text-align: center;
    margin-bottom:15px;
}

.right_image_img {
    height: 83px !important;
    width: 116px!important;
    margin-top: 29px;
    margin-left: 41px;
}

.buttons button {
    border-radius: 5px;
    height: 30px;
    width: auto;
    background-color: #DEDEDE;
    border-color: transparent;
    font-size: 15px;
    font-weight: 600;
}

.block_container_odd {
    /*margin-left: 32px;*/
    margin-top: -10px;
}

.right_image_odd {
        position: absolute;
        margin-top: -29px;
        margin-left: -67px;
}
.right_image_odd img {
        height: 83px !important;
        width: 116px!important;
}

.right_image_img_odd {
    margin-left: -37px;
    margin-top: 49px;
    height: 145px !important;
}

.text_container_odd {
    margin-left: -11px !important;
}

.innerBook::-webkit-scrollbar {
    width: 2px;
}

.innerBook {
    overflow: scroll;
}

.texts p {
    font-size: 15px !important;
    /*font-weight:600;*/
    text-align: center;
}

.up {
    height: 30px !important;
    margin-bottom: -16px !important;
    cursor: pointer;
}

.down {
    height: 30px !important;
    margin-top: -20px;
    cursor: pointer;
}

#innerRight::-webkit-scrollbar {
    width: 5px;
    background-color: #cccccc;
}

#innerRight::-webkit-scrollbar-thumb {
    background-color: #BBBABC;
}

    #innerRight::-webkit-scrollbar-thumb:hover {
        background-color: #2E76A8;
        border: 1px solid #2E76A8;
    }

    #innerRight::-webkit-scrollbar-thumb:active {
        background-color: #2E76A8;
        border: 1px solid #2E76A8;
    }

#innerRight::-webkit-scrollbar-track {
    border: 1px gray solid;
    -webkit-box-shadow: 0 0 2px gray inset;
}

#innerRight {
    overflow-y: scroll !important;
    height: 505px;
    overflow-x: hidden !important;
    padding-left: 13px;
    width: 403px;
}

.content_block {
    /*border: 1px solid #EDEDED;*/
    width: 412px;
    height: 551px;
    float: left;
    position: absolute;
    left: 100px;
    z-index: 300;
}

#up {
    position: relative;
    margin-left: 46%;
    margin-right: auto;
    width: 30px;
    margin-top: 20px;
    cursor: pointer;
    margin-bottom: -43px;
}

#down {
    position: absolute;
    margin-right: auto;
    width: 30px;
    cursor: pointer;
    left: 191px;
    top: 545px;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.hard .data .leftpage .stock-with-caption img {
    margin-top: -47px !important;
}

/*hard page*/
.hard > div:nth-of-type(1) {
    overflow: visible !important;
}

.hard #rightpage img {
    margin-left: -21px !important;
}

.hard #rightpage {
    left: 0;
}

    .hard #rightpage img {
        height: 568px;
        width: 450px;
        max-width: inherit;
    }

#book .hard > div {
    overflow: visible !important;
}

.buttons button {
    cursor: pointer;
}

.page-wrapper[rel="3"] {
}

.registration img {
    height: 440px !important;
    width: 375px !important;
}

.another_cover {
    width: 450px !important;
    height: 561px !important;
    margin-left: -7px !important;
    margin-top: -5px !important;
}

.registration_right_image img {
    width: 355px !important;
}

.hard #leftpage .collage img {
    width: 108px !important;
    height: 133px !important;
    padding: 3px;
}

/*img[alt='big']*/
.big img {
    height: 448px !important;
}

@media screen and (min-width :1279px) {
    .hard #leftpage .img-caption, .page #leftpage .img-caption, .page #rightpage .img-caption { /*
        height:440px !important;
        padding-top:32px;
        padding-left:21px;
        */
    }
}


/* ############################## SLIDER ################################ */
.turnjs-slider {
    /* width: 600px; */
    height: 8px;
    background: rgba(0,0,0, 0.2);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    margin: 8px auto auto -12px;
}

    .turnjs-slider .thumbnail {
        width: 115px;
        height: 85px;
        position: absolute;
        background: rgba(0,0,0, 0.5);
        z-index: 10000;
        top: -100px;
        left: -17px;
        display: none;
        -webkit-transform: translate3d(0px, 50px, 0px) scale(0.1, 0.1);
        -webkit-transition: -webkit-transform 0.2s;
        -webkit-border-radius: 5px;
        -moz-transform: translate3d(0px, 50px, 0px) scale(0.1, 0.1);
        -moz-transition: -moz-transform 0.2s;
        -moz-border-radius: 5px;
        -o-transform: translate3d(0px, 50px, 0px) scale(0.1, 0.1);
        -o-transition: -o-transform 0.2s;
        -o-border-radius: 5px;
        -ms-transform: translate3d(0px, 50px, 0px) scale(0.1, 0.1);
        -ms-transition: -ms-transform 0.2s;
        -ms-border-radius: 5px;
        transform: translate3d(0px, 50px, 0px) scale(0.1, 0.1);
        transition: transform 0.2s;
        border-radius: 5px;
    }

.no-transition {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
}

.turnjs-slider .thumbnail div {
    width: 100px;
    margin: 7px;
    height: 70px;
    background-color: white;
}

.turnjs-slider .ui-state-hover .thumbnail {
    display: block;
    opacity: 0;
}

.turnjs-slider .ui-state-active .thumbnail {
    display: block;
    opacity: 1;
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
}

/* Layout helpers
----------------------------------*/

/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
    cursor: default !important;
}

/* Misc visuals
----------------------------------*/

/* Overlays */
.turnjs-slider .ui-widget-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.turnjs-slider .ui-slider {
    position: relative;
    text-align: left;
}

.turnjs-slider .ui-slider-handle {
    position: absolute;
    z-index: 0;
    width: 80px;
    height: 8px;
    cursor: default;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
}

.turnjs-slider .ui-slider-horizontal {
    height: 8px;
    width: 520px;
    margin-left: 39px;
}

    .turnjs-slider .ui-slider-horizontal .ui-slider-handle {
        margin-left: -40px;
        margin-top: -1px;
    }

/* Interaction states
----------------------------------*/

.turnjs-slider .ui-slider-handle {
    border: 1px solid white;
    background-color: black;
    opacity: 0.2;
    display: block;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.turnjs-slider .ui-state-hover {
    opacity: 0.4;
}

.turnjs-slider .ui-state-active {
    opacity: 1;
}

.turnjs-slide {
    width: 600px;
    height: 8px;
    background-color: #B4B4B4;
    border-radius: 5px;
    margin: 20px auto;
}

    .turnjs-slide .ui-slider .ui-slider-handle {
        background-color: #8F8F8F;
        z-index: 10000;
    }

    .turnjs-slide .thumbnail {
        background: #666;
    }

#slider {
    margin-top: 37px;
    border: none;
    height: 2px;
}

.thumbnail {
    margin-top: -92px;
    background-color: #FBFBFD;
    height: 20px !important;
    width: 22px !important;
    margin-top: -23px;
    z-index: 500;
    display: none;
    color: #0E0E0E;
    font-size: smaller;
    text-align: center;
    border-radius: 5px;
    line-height: 18px;
    text-decoration: none;
    display: none;
}

.ui-slider-handle:focus {
    outline: 0;
}

.nav_content {
    position: absolute;
    left: -11px;
    top: 15px;
    text-align: center;
    z-index: 999;
}
div[page="1"] .turn-prev {
    display:none !important;
}

.pageNumber {
    text-align: center;
    padding-top: 23px;
    font-size: 10px;
    margin-bottom: -26px;
}

.small .link-h
{
   margin-bottom: -26px;
}


.contribution-head .person .info{
    width:100%;
    float: left;
}

.contribution-head .person .flag{
    width: 15%;
    float: left;
}
.contribution-head .person .flag img {
       width: 26px !important;
       height: 18px!important;
       margin-left: -7px;
       
}
.contribution-head .message {
      width: 100%;
      float: left;
}
.date_product_flag .date{
    width:30%;
    float:left;
}
.date_product_flag .product{
    width:25%;
    float:left;
    text-align: right;
    margin-top: -5px;
}

.date_product_flag .date{
    width:60%;
    float:left;
}
.date_product_flag .product img {
     width: 27px !important;
    margin-right: -10px;
    margin-top: 0px;


}
.sharewithFriends {
    clear:both;
    text-align:left;
    padding: 8px 0;
}
.share_friends {
   margin-top: -15px;
}
.hide_tribute {
    height: 0px;
    visibility:hidden;
}
.sharewithFriends a {
    display: inline-block;
   
    font-size: 18px;
}
.sharewithFriends a .fa-envelope-o {
    color:#000;
 }
 .sharewithFriends span {
     font-size:13px;
}
.sharewithFriends span #sharText {
    color:red;
 }
.sharewithFriends a #sharText {
    font-size:10px;
    color:red;
}

.sharewithFriends .sharText {
    color:blue !important;
}
.custom-link-send {
        font-weight: normal !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
}

/* Humburger*/
.dropbtn {
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px;
    padding-left: 20px;
    padding-top: 1px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: fixed;
    width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-left: -295px !important;
    z-index: 50000;
    text-align: left;
    padding-right: 10px;
}
.dropdown-content li {
    width: 100%;
    line-height: 28px;
    cursor: pointer;
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: normal;
    font-size: 14px;
    padding-left: 11px;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}
#menuContainer a i {
    margin-top: 6px;
    margin-right: 10px;
}
.humberger-menu {
   font-size: 20px;
   background-color:#fff;
}
/*fb login for all book*/
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

    .modalDialog:target {
        opacity: 1;
        pointer-events: all;
    }

    .modalDialog > div {
        width: 400px;
        position: relative;
        margin: 10% auto;
        padding: 5px 20px 13px 20px;
        border-radius: 5px;
        background: #fff;
        /*background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);*/
    }

.close {
    line-height: 25px;
    position: absolute;
    right: 2px;
    text-align: center;
    top: 1px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.FBCompleteButton {
   margin-top:20px;
    width: 55%;
    height: 30px;
    background-color: #3f51b5;
    margin-left: -35px;
    border: none;
    color: #fff;
    cursor: pointer;
    padding-left: 15px;
    padding-right: 15px;
}
 .inner-msg{
 color:red;
 font-size:12px;
 }
.fbinput
{
padding-left: 5px;
margin-left:10px;
border: 1px solid #77BDFD;
    height: 20px;
}
.FbPromptArea
{
    
    font-size: 13px;
    padding-right: 10px;
}
#FBpage {
    margin-top: -25px;
  
}
.close:hover {
    color:red;
}

.modalDialog .content {
    padding-left: 20%;
    height: 43px !important;
}

.modalDialog h2 {
    text-align: center;
}

.shareicon {
    width: 14px;
}

.share_icons {
    width: 8%;
    height: 23px;
    padding-left: 10px;
    padding-top: 5px;
    float: left;
    margin-right: 3px;
}

.share_icons i {
    padding-top: 2px;
    padding-left: 3px;
}

/*Media query*/
@media screen and (max-device-width :320px) {

    

    .float-left {
        margin-left: 92px;
    }

    .lv_msg2 {
        float: left !important;
        margin-top: 25px !important;
        margin-left: 95px !important;
    }

    #header .menu_container .top .logo {
        width: 34% !important;
        padding-top: 8px !important;
    }

    .menuQ {
        display: none;
    }

    #searchForm {
        margin-left: 42px !important;
    }

    .dropdown {
        margin-top: -2px !important;
    }

    .leave_a_message_contribution img {
        content: url("/Content/Queen/leave_message_small.png") !important;
        margin-left: 39px;
    }

    #page_left {
        margin-left: -58px !important;
    }

    #book-container {
        margin-left: -3px !important;
    }

    #slider {
        margin-left: 5px;
    }

    .hard #rightpage img {
        box-shadow: none !important;
    }

    .hide_320 {
        display: none;
    }

    .hard[rel="1"] #rightpage .turn-prev {
        display: none !important;
    }

    html, body {
        zoom: 1 !important;
    }
    .pages_link
    {
        margin-left:-22px !important;
    }
    .social_icn i {
        padding-top: 3px !important;
    }    
    .footer_links {
        width:84%;
         padding-bottom:0px !important;
    }
    .footer_links .left {
        margin-top: 4px;
    }
     .home-icon {
        margin-left:10px !important;
    }
}


@media screen and (min-device-width :360px) and (max-width:767px ) {
    html, body {
        zoom: 0.7 !important;
    }

    .menuQ {
        display: none;
    }

    #page_left {
        margin-left: -57px !important;
    }

    .dropbtn {
        position: absolute !important;
        left: 580px !important;
        top: 24px;
    }

    .dropdown {
        position: static;
    }

    #header .menu_container .top .extra {
        /*margin-left: -59px;*/
           margin-left: -62px;
            /*margin-top: 8px;*/
    }

    #slider {
        margin-left: 0px;
    }

    .pp_pic_holder {
        width: 320px!important;
        padding-left: 94px!important;
        padding-top: 121px!important;
    }

    .pp_content {
          height: 450px!important;
    width: 123%!important;
    }

    #fullResImage {
          height: 425px!important;
    width: 98%!important;
    }
     .pp_bottom .pp_middle, .pp_top .pp_middle {
     height: 20px;
     width: 110% !important;
    left: 20px;
    position: absolute;
    right: 20px;
    }

     .pp_bottom .pp_right, .pp_top .pp_right {
        height: 20px;
        left: auto;
        position: absolute;
        right: 0;
        top: 0;
        width: 7px !important;
    }
    #pp_full_res iframe
    {
        width: 300px !important;
        height: 208px !important;
    }
    .pp_expand {
        display:none;
    }
    #book-container {
        margin-left: 0px !important;
    }
    .footer_links {
        width:50%;
        padding-bottom:0px !important;
    } 

    .footer_links .left {
        margin-top: 4px;
        
    }
/*@media screen and (max-width: 767px) and (min-width: 360px){
.footer_links {
width: 50%;
padding-bottom: 0px !important;
}*/

    .modalDialog {
        padding-top:265px;
    }
    .pages_link
    {
        margin-left:9px !important;
    }
    .social_icn i {
        padding-top: 3px !important;
    }
    /*iframe {
        min-width: 100%;
        max-width: 100%;
    }*/
    #rc-imageselect, .g-recaptcha 
    {
       transform:scale(0.77);
       -webkit-transform:scale(0.77);
       transform-origin:0 0;
       -webkit-transform-origin:0 0;

    }
}
@media screen and (max-device-width :400px) 
{
    .hard .collage
    {
         margin-top: 48px;
    }
}


#leftpage .privacyForm {
    text-align: left;
    padding-top:0px !important;
}

#contactToolTip {
    z-index: 1;
    padding-left:7px;
}

/*==============================Popup celebration /  tribute / contribution==========================*/

/*-----------------------Celebration ---------------------------------------- */
.addcelebrationtext {
    margin-bottom:30px;
}
.addcelebrationbutton a {
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 500;
}

#divpopupcelebration table.k-editor {
    width: 90%!important;
    height: 250px;
    table-layout: fixed;
    border-style: solid;
    border-width: 0.2px !important;
    border-collapse: separate;
    font-size: 100%;
    vertical-align: top;
    margin: 10px !important;
}
#divpopupcelebration label {
    width: 95%; 
    margin-bottom: 9px;
    margin-left: 42px;
}

#divpopupcelebration .gallery-right-button-container .has-js {
    display: block!important;
}
#divpopupcelebration .gallery {
    width: 80%!important;
    margin-bottom: 5px;
    height: 146px;
    margin-left: 25px!important;
}
#divpopupcelebration .k-widget.k-upload.k-header {
    padding-left: 35px!important;
}
#divpopupcelebration .k-widget.k-upload.k-header {
    width: 91%;
    margin: 0px 10px;
}
#divpopupcelebration .chng-width label {
    width: 100%;
}
#divpopupcelebration .chng-width input {
    width: 50%;
    float: left;
        margin-left: 42px;
}
#divpopupcelebration .footersavebutton {
    text-align: center!important;
}
#divpopupcelebration .footersavebutton input{
    float: inherit!important;
    margin-bottom: 20px;
}





element.style {
}
#divpopupcelebration .footersavebutton input {
    float: inherit!important;
    margin-bottom: 20px;
}
form.obituaryForm input[type=submit] {
    float: right;
}
#divpopupcelebration .clossbtn {
    margin-top: 5px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    color: #f2e4c9;
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
    background: #707070
}
#divpopupcelebration .footermaindiv {
    text-align:right;
    clear:both;
}
#divpopupcelebration .footermsgdiv {
    text-align:left;
    height: 0px;
    margin-left: 130px;
}
#divpopupcelebration .tickicon {
    height:40px;
    width:40px;
    margin-top:10px;
    margin-left: 45px;
}
#divpopupcelebration .tickmsg {
    vertical-align: super;
    margin-left: 10px;
}
#divpopupcelebration .crossicon {
    height: 40px;
    width: 40px;
    vertical-align: sub;
    margin-top:15px;
    margin-left: 45px;
}
#divpopupcelebration .crossmsg {
    vertical-align: super;
    margin-left: 5px;
}
#divpopupcelebration .footerbtn {
    float:left; 
    margin-left:40px;
    margin-top:20px;
}
#divpopupcelebration .btnsavecss {
    background-color: #007151 !important;
    color: #fff;
}
#divpopupcelebration .marginleft {
    margin-left:55px;
}
/*-----------------------------------Tribute--------------------------------------------*/

#divpopupTribute table.k-editor {
    width: 90%!important;
    height: 250px;
    table-layout: fixed;
    border-style: solid;
    border-width: 0.2px !important;
    border-collapse: separate;
    font-size: 100%;
    vertical-align: top;
    margin: 10px !important;
}
#divpopupTribute label {
    width: 90%;
    margin-bottom: 9px;
    margin-left: 42px;
    text-align: center;
}

#divpopupTribute .gallery-right-button-container .has-js {
    display: block!important;
}
#divpopupTribute .gallery {
    width: 80%!important;
    margin-bottom: 5px;
    height: 140px;
    margin-left: 25px!important;
}
#divpopupTribute .k-widget.k-upload.k-header {
    padding-left: 35px!important;
}
#divpopupTribute .k-widget.k-upload.k-header {
    width: 91%;
    margin: 0px 10px;
}

#divpopupTribute .chng-width input {
    width: 50%;
    float: left;
        margin-left: 42px;
}
#divpopupTribute .footersavebutton {
    text-align: center!important;
}
#divpopupTribute .footersavebutton input{
    float: inherit!important;
    margin-bottom: 20px;
}

#divpopupTribute .footersavebutton input {
    float: inherit!important;
    margin-bottom: 20px;
}
form.obituaryForm input[type=submit] {
    float: right;
}
#divpopupTribute .clossbtn {
    margin-top: 5px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    color: #f2e4c9;
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
    background: #707070
}
#divpopupTribute .footermaindiv {
    text-align:right;
    clear:both;
}
#divpopupTribute .footermsgdiv {
    text-align:left;
    height: 0px;
    margin-left: 130px;
}
#divpopupTribute .tickicon {
    height:40px;
    width:40px;
  /*  margin-top:10px;*/
    margin-left: 45px;
}
#divpopupTribute .tributebutton-css a {
    margin-top: 5px;
    border-radius: 12px;
    color: #f2e4c9;
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
    background: #707070;
    text-decoration: none;
}
#divpopupTribute .tickmsg {
    vertical-align: super;
    margin-left: 10px;
}
#divpopupTribute .crossicon {
    height: 40px;
    width: 40px;
    vertical-align: sub;
    margin-top:15px;
    margin-left: 45px;
}
#divpopupTribute .crossmsg {
    vertical-align: super;
    margin-left: 5px;
}
#divpopupTribute .footerbtn {
    float:left; 
    margin-left:40px;
    margin-top:20px;
}
#divpopupTribute .btnsavecss {
    background-color: #007151 !important;
    color: #fff;
}
#divpopupTribute .marginleft {
    margin-left:55px;
}

#divpopupTribute .chng-width {
padding-top:5px;
}
#divpopupTribute .chng-width input[type=checkbox]{
    width: 15px!important;
    margin: 0;
    margin-top: 5px;
}
#divpopupTribute .RemindDod, 
#divpopupTribute .RemindDob, 
#divpopupTribute .remindDescription {
width: 85%;
 height: 0;
}
#divpopupTribute .chng-width label {
    width: 22%!important;
        margin-bottom: 0;
}

#divpopupTribute span.remind{
    font-size: 13px;
    color: #666;
    margin-left: 43px;
}


/*--------------------------------------Contribution---------------------------------------------------*/

#divpopupContribution table.k-editor {
    width: 90%!important;
    height: 250px;
    table-layout: fixed;
    border-style: solid;
    border-width: 0.2px !important;
    border-collapse: separate;
    font-size: 100%;
    vertical-align: top;
    margin: 10px !important;
}
#divpopupContribution label {
    width: 90%; 
    margin-bottom: 9px;
    margin-left: 42px;
}

#divpopupContribution .gallery-right-button-container .has-js {
    display: block!important;
}
#divpopupContribution .gallery {
    width: 80%!important;
    margin-bottom: 5px;
    height: 140px;
    margin-left: 25px!important;
}
#divpopupContribution .k-widget.k-upload.k-header {
    padding-left: 35px!important;
}
#divpopupContribution .k-widget.k-upload.k-header {
    width: 91%;
    margin: 0px 10px;
}

#divpopupContribution .chng-width input {
    width: 50%;
    float: left;
        margin-left: 42px;
}
#divpopupContribution .footersavebutton {
    text-align: center!important;
}
#divpopupContribution .footersavebutton input{
    float: inherit!important;
    margin-bottom: 20px;
}

#divpopupContribution .footersavebutton input {
    float: inherit!important;
    margin-bottom: 20px;
}
form.obituaryForm input[type=submit] {
    float: right;
}
#divpopupContribution .clossbtn {
    margin-top: 5px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    color: #f2e4c9;
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
    background: #707070
}
#divpopupContribution .footermaindiv {
    text-align:right;
    clear:both;
}
#divpopupContribution .footermsgdiv {
    text-align:left;
    height: 0px;
    margin-left: 130px;
}
#divpopupContribution .tickicon {
    height:40px;
    width:40px;
  /*  margin-top:10px;*/
    margin-left: 45px;
}
#divpopupContribution .tributebutton-css a {
    margin-top: 5px;
    border-radius: 12px;
    color: #f2e4c9;
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
    background: #707070;
    text-decoration: none;
}
#divpopupContribution .tickmsg {
    vertical-align: super;
    margin-left: 10px;
}
#divpopupContribution .crossicon {
    height: 40px;
    width: 40px;
    vertical-align: sub;
    margin-top:15px;
    margin-left: 45px;
}
#divpopupContribution .crossmsg {
    vertical-align: super;
    margin-left: 5px;
}
#divpopupContribution .footerbtn {
    float:left; 
    margin-left:40px;
    margin-top:20px;
}
#divpopupContribution .btnsavecss {
    background-color: #007151 !important;
    color: #fff;
}
#divpopupContribution .marginleft {
    margin-left:55px;
}

#divpopupContribution .chng-width {
padding-top:5px;
}
#divpopupContribution .chng-width input[type=checkbox]{
    width: 15px!important;
    margin: 0;
    margin-top: 5px;
}
#divpopupContribution .RemindDod, 
#divpopupContribution .RemindDob, 
#divpopupContribution .remindDescription {
width: 85%;
 height: 0;
}
#divpopupContribution .chng-width label {
    width: 23%!important;
        margin-bottom: 0;
}

#divpopupContribution span.remind{
    font-size: 13px;
    color: #666;
    margin-left: 43px;
}

.Contributionpopup-whit-space {
    white-space: inherit !important;
}

/*-------------------------------Drop-down menu change for contribution-------------------------------*/
.dropdown-contentMenu {
    display: none;
    position: fixed;
    width: 203px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-left: -195px !important;
    z-index: 50000;
    text-align: left;
    padding-right: 10px;
}
.dropdown-contentMenu li {
    width: 100%;
    line-height: 28px;
    cursor: pointer;
}

.dropdown-contentMenu a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: normal;
    font-size: 14px;
    padding-left: 11px;
    text-align: left;
}



.dropdown-menu {
    position: absolute;
    background: #ccc;
    padding: 3px 10px;
    font-size: 13px;
    border-radius: 10px;
    right: 255px;
    left: auto;
    width: 70px;
    float: right;
    clear:both;
}


.dropdown-menu > ul.dropdown-contentMenu {
     position: absolute;
    z-index: 10002;
    display: none;
    background: #ccc!important;
    width: 115px;
    margin-left: -10px;
    margin-top: 4px;
    height: auto;
    border-radius: 5px;
    
}
.dropdown-menu > ul li{
       padding: 5px;
    border-bottom: 1px solid #fff;
    width: 100%;
    text-align: left;
    font-size:12px;
}

    .dropdown-menu > ul li a {
        font-size: 12px;
    }
.dropdown-menu > ul li:last-child {
        border: none;
}
#headermenu-content.dropdown-contentMenu {
    top: 30px;
    border-radius: 5px;
  margin-left:-10px!important;
}
#headermenu-content ul li {
    margin: 5px 2px;
    padding: 0px 3px;
}
#headermenu-content ul li:hover{
  background: #ccc!important;
}
.dropdown-menu.headermenu:hover #headermenu-content.dropdown-contentMenu {
display:block!important;
}
.headermenu a {
    text-decoration:none;
    font-weight:normal;
}

@media screen and (min-device-width: 300px) 
  and (max-device-width: 900px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  #dropdown-menu-fixed {
            right: 265px!important;
    width: 100px;
    margin-right: 60px;

    }

}

@media screen and (min-device-width: 160px) and (max-device-width: 400px) {
    #dropdown-menu-fixed {
           right: 265px!important;
    width: 100px;
    margin-right: 60px;

    }
}
@media screen and (min-device-width: 160px) and (max-device-width: 400px) {
    .menuRHS #k-menu-items-btn {
        width: 140px;
    }
}
@media screen and (min-device-width: 900px) and (max-device-width: 1040px) {
      #dropdown-menu-fixed {
              right: 265px!important;
     width: 100px;
    margin-right: 60px;

    }


}

/*------------------------Registration popup------------------------------*/
.registration-header {
    text-align: center;
    padding-top: 3px;
}

#divpopupregistration .footersavebutton input {
    float: inherit!important;
    margin-bottom: 20px;
}
#divpopupregistration .footersavebutton input {
    float: inherit!important;
    margin-bottom: 20px;
}
#divpopupregistration .clossbtn {
    margin-top: 5px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    color: #f2e4c9;
    border: none;
    width: auto;
    font-size: .75em;
    cursor: pointer;
    padding: 3px 8px 4px;
    background: #707070;
}
#divpopupregistration .btnsavecss {
    background-color: #007151 !important;
    color: #fff;
}
/*-------------------------------Drop-down menu change for logout-------------------------------*/
.dropdown-contentMenu-logout {
    display: none;
    position: fixed;
    width: 203px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-left: -195px !important;
    z-index: 50000;
    text-align: left;
    padding-right: 10px;
}

    .dropdown-contentMenu-logout li {
        width: 100%;
        line-height: 28px;
        cursor: pointer;
    }

    .dropdown-contentMenu-logout a {
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-weight: normal;
        font-size: 14px;
        padding-left: 11px;
        text-align: left;
    }



.dropdown-menu-logout {
    position: absolute;
    background: #ccc;
    padding: 3px 10px;
    font-size: 13px;
    border-radius: 10px;
    right: 154px;
    left: auto;
    width: 70px;
    float: right;
    clear: both;
}


    .dropdown-menu-logout > ul.dropdown-contentMenu-logout {
        position: absolute;
        z-index: 10002;
        display: none;
        background: #ccc !important;
        width: 115px;
        margin-left: -10px;
        margin-top: 4px;
        height: auto;
        border-radius: 5px;
    }

    .dropdown-menu-logout > ul li {
        padding: 5px;
        border-bottom: 1px solid #fff;
        width: 100%;
        text-align: left;
        font-size: 12px;
    }

        .dropdown-menu-logout > ul li a {
            font-size: 12px;
        }

        .dropdown-menu-logout > ul li:last-child {
            border: none;
        }

#headermenu-content-logout.dropdown-contentMenu-logout {
    top: 30px;
    border-radius: 5px;
    margin-left: -10px !important;
}

#headermenu-content-logout ul li {
    margin: 5px 2px;
    padding: 0px 3px;
}

    #headermenu-content-logout ul li:hover {
        background: #ccc !important;
    }

.dropdown-menu-logout.headermenu:hover #headermenu-content-logout.dropdown-contentMenu-logout {
    display: block !important;
}

.headermenu-logout a {
    text-decoration: none;
    font-weight: normal;
}

/*@media screen and (min-device-width: 300px) and (max-device-width: 900px) and (-webkit-min-device-pixel-ratio: 2) {
    #dropdown-menu-fixed {
        right: 265px !important;
        width: 100px;
        margin-right: 60px;
    }
}

@media screen and (min-device-width: 160px) and (max-device-width: 400px) {
    #dropdown-menu-fixed {
        right: 265px !important;
        width: 100px;
        margin-right: 60px;
    }
}

@media screen and (min-device-width: 160px) and (max-device-width: 400px) {
    .menuRHS #k-menu-items-btn {
        width: 140px;
    }
}

@media screen and (min-device-width: 900px) and (max-device-width: 1040px) {
    #dropdown-menu-fixed {
        right: 265px !important;
        width: 100px;
        margin-right: 60px;
    }
}*/
/*-------------------------------------------------------------*/

.menuItems .dropdown-menu-logout {
    right: 145px;
    left: auto;
    width: 70px;
    float: right;
    clear: both;
}
#header .menuItems.menuItem a,
#menuContainer .menuItems.menuItem a {
    float: left;
    position: inherit;
    width: auto;
    right: 115px;
}

.menuItemsLogin .dropdown-menu-logout {
    right: 145px;
    left: auto;
    width: 70px;
    float: right;
    clear: both;
}

#header .menuItemsLogin.menuItem a,
#menuContainer .menuItemsLogin.menuItem a {
    float: left;
    position: inherit;
    width: auto;
    right: 0px;
}