/***** GENERAL *****/
#obit-wrapper{
    border-radius: 5px;
}
.obit-content{
    padding: 0 20px;
    text-align:justify;
    margin-bottom:20px;
}
.obit-service a img{
    border: none;
}
#obit-viewall{
    margin: 5px 0;
    text-align: right;
}
#obit-viewall a{
    font-size: 13px;
    margin-right: 10px;
}
#obit-inner{
    margin: 0 10px;
    padding: 0 10px 30px;
    position: relative;
    behavior: url(PIE.htc);
}
#obit-inner a{
    text-decoration: none;
}
.obit-titlebar {
    background-image: url("../images/line.png");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: contain;
    height: 45px;
    margin: 20px 0;
}
#obit-inner h2.obit-title{
    margin-left: 0;
}

#obit-wrapper .obit-titlebar .obit-print{
    background:url("../images/print.png") no-repeat transparent;
    border:0px;
    cursor: pointer;
    float: right;
    height:30px;
    margin-right: 20px;
    width:30px;
}
.obit-flag-wrap{
    padding: 0 20px;
    text-align: right;
}
.obit-flag{
    cursor: pointer;
    display: inline-block;
    height: 24px;
    margin-left: 10px;
    text-decoration: none !important;
    width: 24px;
}
.obit-flag-english{
    background-image: url(../images/flags/english.png);
}
.obit-flag-french{
    background-image: url(../images/flags/french.png);
}
.obit-flag-spanish{
    background-image: url(../images/flags/spanish.png);
}
/***** HEADER *****/
#obit-header{
    height:250px;
    background-position: center top;
    background-repeat: repeat;
    border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    position: relative;
    behavior: url(PIE.htc);
}

#obit-avatar{
    margin-left: 30px;
    margin-top: 20px;
    max-width: 200px;
    min-height: 230px;
    /*position: absolute;*/
    float: left;
}

#obit-avatar .obit-cap{
    display: inline-block;
    background: rgba(255,255,255,0.5);
    text-align: center;
    padding: 5px;
    border-radius: 3px;
    max-width: 156px;
    width: 100%;
}
#obit-wrapper #obit-avatar img{
    position: relative;
    border: 8px solid white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: #888888 0 0 2px 1px;
    -webkit-box-shadow: #888888 0 0 2px 1px;
    box-shadow: #888888 0 0 2px 1px;
    max-height: 180px;
    max-width: 150px;
    behavior: url(PIE.htc);
}

#obit-info{
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    margin-left: 200px;
    padding: 20px 5px;
    text-align: center;
    /*position: absolute;
    width: 365px;*/
}
#obit-info.no-photo{
    margin-left: 0;
}
#obit-info .obit-addthis{
    height: 30px;
    margin-right: 5px;
    /*padding-left: 225px;*/
    text-align:right;
}
#obit-info .obit-addthis span{
    display: inline-block;
    width: 17px;
}
*+html #obit-info .obit-addthis span{
    width: 22px;
}
#obit-info #obit-name{
    font-size:27px;
    font-weight:bold;
    font-style:italic;
    text-shadow:1px 1px 1px white;
}

#obit-menu{
    background: #EEEDE9 repeat;
    height: 60px;
    text-align: right;
    border-radius: 0 0 5px 5px;
    box-shadow: 		0 2px 2px 0 #D4D4D4;
    -moz-box-shadow:	0 2px 2px 0 #D4D4D4;
    -webkit-box-shadow:	0 2px 2px 0 #D4D4D4;
    position: relative;
    behavior: url(PIE.htc);
}
#obit-menu ul{
    font-family: Times New Roman;
    font-size: 18px;
    list-style:none;
    margin:0;
    /*padding-right: 10px;*/
    /*width: 100%;*/
}
#obit-menu li{
    cursor:pointer;
    display: inline;
    line-height: 60px;
    margin: 5px 8px;
    padding:4px 13px;
}
#obit-menu li:hover/*,
#obit-menu li:first-child*/{
    background-color: #727272;
    border-radius: 15px 15px 15px 15px;
    color: white;
}

/***** BIO *****/
.obit-biolink{display: none;}

/***** MEMORIES *****/
.guestbook-btn {
    -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
    background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
    background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
    background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
    background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
    background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
    background-color:#ededed;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #dcdcdc;
    display:inline-block;
    cursor:pointer;
    color:#333;
    font-family:arial;
    font-size:15px;
    font-weight:bold;
    padding:6px 24px;
    text-decoration:none;
    text-shadow:0px 1px 0px #ffffff;
}
.guestbook-btn:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
    background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
    background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
    background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
    background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
    background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
    background-color:#dfdfdf;
}
.guestbook-btn:active {
    position:relative;
    top:1px;
}
#guestbook-help{
    color:#333;
    font-size: 14px;
    font-family: Verdana;
    padding-left: 30px;
}
.guestbook-help-num{
    min-height: 35px;
    position: relative;
}
.guestbook-help-num img{
    position: absolute;
    left: -40px;
    top: -5px;
}
/*
 * For comment api
 */
#obit-wrapper .commentBox {
    margin: 0 0 25px;
}
#obit-wrapper .commentBox .title {
    border-bottom: 1px solid #CCCCCC;
    margin: 0 0 10px;
    padding-bottom: 10px;
}
#obit-wrapper .commentBox .title .avata {
    float: left;
}
#obit-wrapper .commentBox .title .avata img {
    width: 40px;
}
#obit-wrapper .commentBox .title .name {
    font-size: 0.6em;
    font-weight: normal;
    margin-left: 50px;
}
#obit-wrapper .commentBox .title .date {
    font-size: 0.7em;
    font-weight: normal;
    margin-left: 50px;
}

/***** PHOTOS & VIDEOS *****/
#obit-photos-wrap{
    text-align: left;
}
.obit-photo{
    display: inline-block;
    margin: 5px;
}
.obit-photo.hide{
    display: none;
}
#obit-wrapper .obit-photo img{
    max-width: 190px;
    /*width: expression(this.scrollWidth > 189 ? "190px" : "auto");*/
    max-height:140px;
    box-shadow:0 0 3px black;
    border: 0;
    behavior: url(PIE.htc);
}

.obit-video{
    line-height: 30px;
}
.obit-video img{
    vertical-align: middle;
}

/***** SERVICES *****/
#obit-services-wrap{
    text-align: left;
}
#obit-services .obit-service{
    display: inline-block;
    width: 45%;
    margin: 2%;
    vertical-align: top;
}
#obit-services .obit-service span{
    /*font-size: 16px;*/
}
#obit-services .obit-service span.obit-icon{
    display: inline-block;
    width: 22px;
}
#obit-services .obit-service-info span.obit-icon{
    /*margin-top: 5px;*/
    vertical-align: top;
}
#obit-services .obit-service-type{
    border-bottom:solid #999 1px;
    height:25px;
    margin-bottom:10px;
    color:#04335F;
    font-size:20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
#obit-services .obit-service-name{
    font-weight: bold;
    margin-bottom: 2px;
    text-align: left;
}
#obit-services .obit-service-fb,
#obit-services .obit-service-date{
    margin-bottom:10px;
}
#obit-services .obit-service-fb span,
#obit-services .obit-service-date span{
    display: inline-block;
    vertical-align: middle;
}
#obit-services .obit-service-fb img,
#obit-services .obit-service-date img{
    /*width: 20px;*/
    vertical-align: top;
}

#obit-services .obit-service-address{
    margin-bottom:10px;
}
#obit-services .obit-service-fb,
#obit-services .obit-service-date,
#obit-services .obit-service-address,
#obit-services .obit-service-map{
    font-size:13px;
}
#obit-services img.phone{
    margin: 5px 2px;
    vertical-align: middle;
    width: 16px;
}
#obit-services .obit-service-map{
    margin-bottom:10px;
    color:#04335F;
}
#obit-services .obit-service-map img{
    margin: 0 4px;
}
/*
#obit-services .obit-service-map a:link,
#obit-services .obit-service-map a:visited,
#obit-services .obit-service-map a:hover,
#obit-services .obit-service-map a:active{
        color:#04335F;
        font-size:14px;
        text-decoration:none;
}
*/
#obit-services .obit-service-info{
    cursor: pointer;
    position: relative;
}
#obit-services .obit-service-info .moreinfo{
    display: inline-block;
    max-height: 40px;
    overflow: hidden;
    position: relative;
    width: 88%;
}
#obit-services .obit-service-shadow,
#obit-services .obit-service-more{
    display: none;
}
#obit-services .obit-service-shadow.active{
    /*box-shadow: inset 0 -12px 5px -5px #fff;*/
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
}
#obit-services .obit-service-more.active{
    display: block;
    font-weight: bold;
    font-size: 11px;
    margin-top: 2px;
    text-align: center;
    visibility: visible;
}


.ui-tooltip-content{
    font-size: 13px;
}
.ui-tooltip-bootstrap {
    font-size: 15px;
    line-height: 18px;
    color: #13375A;
    font-family: Verdana,"Myriad Web",Tahoma,Arial,Helvetica,sans-serif;
}

/***** CHARITIES *****/
.obit-charity{
    display: inline-block;
    margin: 5px 3px;
    vertical-align: top;
}
.obit-charity .obit-charity-name{
    border-bottom:solid #999 1px;
    margin-bottom:10px;
    color:#04335F;
    font-size:18px;
    padding-bottom: 2px;
}
.obit-charity .obit-charity-icon{
    display: inline-block;
    height: 17px;
    text-align: center;
    vertical-align: middle;
    width: 25px;
}
.obit-charity .obit-charity-address, .obit-charity .obit-charity-description{
    margin-bottom:10px;
    font-size:13px;
}
.obit-charity .obit-charity-contact{
    color:#04335F;
    float: left;
    font-size: 13px;
    margin-bottom: 10px;
    /*width: 200px;*/
}
.obit-charity img{
    margin: 0 4px;
}
.obit-charity a:link,
.obit-charity a:visited,
.obit-charity a:hover,
.obit-charity a:active{
    color:#04335F;
    font-size:14px;
    text-decoration:none;
}

/***** GO TO TOP / SHOW MORE *****/
.obit-gotop{
    height: auto;
    margin-left: 20px;
    margin-right: 20px;
}
.obit-gotop .obit-line{
    border-bottom: 1px solid #CCCCCC;
    margin-right: 20px;
}
.obit-gotop .obit-gotop-label{
    text-align: right;
    padding-bottom:3px;
    font-family: Tahoma;
}
.obit-gotop .obit-gotop-label a,
.obit-gotop .showmore a{
    font-size:11px;
    font-weight: bold;
    cursor:pointer;
    color: #06315E;
}
.obit-gotop, .obit-showmore{
    margin-left: 0;
    text-align: left;
    /*text-transform:uppercase;*/
    font-family: Tahoma;
    cursor: pointer;
}






/******************************************************************/


#obit-wrapper #divcontent{
    margin-top: 20px;
    padding-right: 10px;
}
#obit-wrapper .divcontent{
    margin-bottom:20px;
}
#obit-wrapper .title{
    font-size: 24px;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 20px;
}
#divcontent_photo .content{
    text-align: left;
}
.content .calloutbox{
    float:right;
    margin-left:20px;
    display: none;
}
.content .calloutbox div{
    border: 1px solid #555555;
    color: #999999;
    font-family: verdana;
    font-size: 9px;
    height: 80px;
    margin-bottom: 20px;
    padding-left: 5px;
    padding-top: 5px;
    width: 225px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    -moz-box-shadow:2px 2px 2px 0px #D4D4D4;
    -webkit-box-shadow:2px 2px 2px 0px #D4D4D4;
    box-shadow:2px 2px 2px 0px #D4D4D4;
    position: relative;
    behavior: url(PIE.htc);
}

#obit-wrapper div.rgap{
    height:20px;
}
/*
#obit-wrapper h2{
        color: #06315E;
        margin: 25px 10px;
}
*/

@media print{
    .btnPrint{
        display: none;
    }
}


#obit-wrapper .tdicon {
    text-align: center;
    vertical-align: middle;
    width: 25px;
}

/*** General classes ***/
#obit_wrapper .ml20{margin-left: 20px;}

/* Golf did it for print optuion lightbox style */
div#fade{
    background: #000;
    /*display: none;*/
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    filter: alpha(opacity=75);
    height: 100%;
    left: 0;
    opacity: .75;
    position: fixed;
    top: 0;
    visibility: hidden;
    width: 100%;
    /*z-index: 8000;*/
    z-index: 9999999;
}

div.print_modal{
    display: none;
    top: 50%;
    left: 50%;
    margin-top: -260px;
    margin-left: -225px;
    position: fixed;
    z-index: 99999999;
}


/********* PRINT ************/
/*=== CONTAINER ===*/
#obit-wrapper div#print_option_container {
    margin: 0px;
    padding: 0px;
}
/*=== TOP ===*/
#obit-wrapper div.print_box_top {
    width: 519px;
    height: 21px;
    background: url(../print-module/images/top.png) no-repeat;
}
/*=== BODY ===*/
#obit-wrapper div.print_box_middle {
    width: 519px;
    height: auto;
    background: url(../print-module/images/body.png) repeat-y;
}
/*=== FOOTER ===*/
#obit-wrapper div.print_box_footer {
    width: 519px;
    height: 58px;
    background: url(../print-module/images/footer.png) no-repeat;
}
#obit-wrapper div.print_box_bottom {
    width: 519px;
    height: 21px;
    background: url(../print-module/images/bottom.png) no-repeat;
}
/*=== CLASS CLEAR BOTH ===*/
#obit-wrapper .clear {
    clear: both;
}
/*=== CLOSE BUTTON ===*/
#obit-wrapper .close_button {
    text-align: right;
    padding-right: 25px;
    position: relative;
    bottom: 5px;
    cursor: pointer;
    float: right;
}
/*=== HEAER TITLE ===*/
#obit-wrapper .header_title {
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    color: #102E52;
    position: relative;
    left: 56px;
}
/*=== LISTING OPTIONS ===*/
#obit-wrapper .print_listing {
    font-family: Arial;
    font-size: 16px;
    font-weight: normal;
    color: #626262;
    position: relative;
    left: 53px;
    margin-top: 21px;
}
#obit-wrapper .listing {
    padding-bottom: 21px;
}
/*=== PRINT BUTTON ===*/
#obit-wrapper .print_button_img {
    text-align: right;
    padding-right: 25px;
    position: relative;
    padding-bottom: 23px;
}
#obit-wrapper .print_button_img img{
    cursor: pointer;
    display: inline;
}
/*=== FOOTER TEXT ===*/
#obit-wrapper .footer_text {
    float: left;
    font-family: Arial;
    font-size: 14px;
    color: #FFF;
    width: 70%;
    position: relative;
    left: 24px;
    top: 8px;
}
/*=== SEE SAMPLE BUTTON ===*/
#obit-wrapper .see_example_button {
    float: left;
    position: relative;
    left: 40px;
    top: 10px;
    cursor: pointer;
}

/*************
 *MEDIA QUERIES
 *************/


@media handheld, only screen and (max-width: 767px) {
    .obit-print,
    .obit-addthis,
    #obit-menu{
        display: none !important;
    }
    #obit-header{
        height: auto;
        text-align: center;
    }
    #obit-avatar{
        float: none;
        margin: 20px 0 0;
        min-height: auto;
        padding-top: 20px;
    }
    #obit-info{
        margin-left: auto;
    }
    #obit-services .obit-service{
        width: 100%;
    }
}
