@charset "UTF-8";


/* ADOPTION HOWTO */

div.adoption, div.adoption-overlay { 
    position: absolute; 
    width: 156px;
    padding-left: 84px;
    background-color: #d3e7f7;
    font: normal 18px Arial;
    color: #5578af;
}

div.adoption-overlay {
    background-color: #5578af;
    color: #d3e7f7;
    
    cursor: pointer;
    
    visibility: hidden;
    opacity: 0;
    
    -moz-transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

div.adoption.inside { top: 47px; right: 5px; height: 53px; line-height: 53px; }
div.adoption.outside { top: 55px; right: 0; height: 61px; line-height: 61px; }

div.adoption-overlay.inside { top: 0; left: 0; height: 53px; line-height: 53px; }
div.adoption-overlay.outside { top: 0; left: 0; height: 61px; line-height: 61px; }

div.adoption i {
    position: absolute;
    top: 0;
    left: 0;
    width: 84px;
    background: url("/i/adoption.png") no-repeat 0 0 transparent;
}
div.adoption.inside i { height: 53px; background-position: 22px 10px; }
div.adoption.outside i { height: 61px; background-position: 22px 14px; }

div.adoption-overlay.inside i { height: 53px; background-position: 22px -21px; }
div.adoption-overlay.outside i { height: 61px; background-position: 22px -17px; }

div.adoption:hover div.adoption-overlay { visibility: visible; opacity: 1; }

div.triangle-up {
    position: absolute;
    top: -9px;
    left: 115px;
    
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 9px solid #5578af;
}

div.adoption-text {
    position: absolute;
    left: 0;
    
    width: 194px;
    padding: 23px;
    
    background-color: #5578af;
    color: #d3e7f7;
    font-size: 14px;
    font-family: Tahoma;
    line-height: 20px;
    
    visibility: hidden;
    opacity: 0;
    
    -moz-transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

div.adoption.inside div.adoption-text { top: 66px; }
div.adoption.outside div.adoption-text { top: 61px; /* поднято наверх, чтобы было проще перевести курсор на открывающуюся часть */ }

div.adoption:hover div.adoption-text { visibility: visible; opacity: 1; }




div.delimeter { height: 3px; margin-bottom: 10px; background-color: #edf5fc; box-shadow: 0 1px 0 rgba(58, 112, 68, 0.2); }

/* CHILDREN HEADER */

div.header-child-show {
    padding-bottom: 4px;
}

div.prev-next {
    float: right;
    
    width: 57px;
    height: 23px;
}

a[class$="child-show"] {
    display: block;
    
    width: 23px;
    height: 23px;
    
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    behavior: url(/css/PIE.htc);
}
a.prev-child-show { float: left; background: url("/i/child-show-icons.png") no-repeat 0 -1px #edf5fc; }
a.next-child-show { float: right; background: url("/i/child-show-icons.png") no-repeat 0 -24px #edf5fc; }


/* if CHILD > 1 */

h2.children-title {
    height: 59px;
    padding-left: 20px;
    padding-right: 20px;
    
    background-color: #edf5fc;
    
    font: normal 18px Tahoma;
    color: #5578b0;
    text-shadow: 0 1px #ffffff;
    line-height: 62px;
}


/* CHILD CONTENT */

div.child-age {
    float: left;
    width: 61px;
    margin-bottom: 10px;
}

div.child-age p {
    height: 18px;
    
    background-color: #5578af;
    
    font: normal 11px Tahoma;
    color: #edf5fc;
    line-height: 17px;
    text-align: center;
}

div.child-age p:first-child {
    height: 42px;
    margin-bottom: 1px;
    
    background-color: #edf5fc;
    
    font: normal 30px Tahoma;
    color: #5578af;
    text-shadow: 0 1px #ffffff;
    line-height: 42px;
    text-align: center;
}

h3.child-name {
    float: left;
    
    height: 61px;
    margin-left: 25px;
    margin-bottom: 10px;
    
    font: normal 30px Tahoma;
    color: #5578af;
    line-height: 61px;
}


/* PICTURE */

div.child-pic-wrap {
    float: left;
    
    position: relative;
    overflow: visible;
    
    width: 310px;
    padding: 5px;
    
    border: 1px solid #dcdcdc;
    
    background-color: #ffffff;
}

div.child-pic-shadow {
    position: absolute;
    bottom: -24px;
    left: -20px;
    z-index: 0;
    
    width: 358px;
    height: 264px;
    
    background: url("/i/child-pic-shadow.png") no-repeat 0 0 transparent;
}

div.child-pic-wrap img {
    width: 310px;
}

div.child-pic-wrap a {
    position: relative;
    z-index: 1;
}


/* CHILD ASIDE */

div.child-aside {
    float: right;
    width: 318px;
}

div.child-aside.shorter {
    width: 200px;
}


div.child-aside p {
    padding-top: 18px;
    padding-bottom: 17px;
    
    background: url("/i/bg-child-aside-p.png") no-repeat 0 0 transparent;
    
    font: normal 11px Tahoma;
    color: #666;
}

div.child-aside div.child-media {
    padding-top: 18px;
    background: url("/i/bg-child-aside-p.png") no-repeat 0 0 transparent;
}

div.child-aside p span {
    display: block;
    font-size: 18px;
}

div.child-media a {
    display: block;
    position: relative;
    
    height: 37px;
    padding-left: 44px;
    
    font: normal 14px Tahoma;
    color: #5578af;
    line-height: 27px;
}

div.child-media a:hover { text-decoration: underline; }

div.child-media a i {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    
    width: 27px;
    height: 27px;
    
    background-color: #5578af;
    
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    -o-border-radius: 13px;
    -ms-border-radius: 13px;
    border-radius: 13px;
    behavior: url(/css/PIE.htc);
    
    cursor: pointer;
}


/* BODY */

p.child-firstname {
    margin-bottom: 28px;
    padding-top: 26px;
    font: normal 18px Tahoma;
    color: #5578af;
}

div.child-body {
    padding-bottom: 10px;
    font: normal 14px Arial !important;
    color: #666 !important;
    line-height: 22px;
}

div.child-body p {
    margin-bottom: 20px;
    font: normal 14px Arial !important;
    color: #666 !important;
}


ul.linked-items {
    padding: 14px 0 0 44px;
    background: url("/i/bg-child-aside-p.png") no-repeat 0 0;
}

ul.linked-items li {
    font: 14px Tahoma, sans-serif;
    color: #5578af;
    cursor: pointer;
    position: relative;
    padding: 10px 0 10px;
}

i.icon-video, i.icon-audio, i.icon-photo {
    display: block;
    position: absolute;
    top: 6px;
    left: -44px;
    background: url(/i/article-icons-blue.png) no-repeat;
    width: 27px;
    height: 27px;
}

i.icon-video {
    background-position: -1px 0;
}

i.icon-audio {
    background-position: -30px 0;
}

i.icon-photo {
    background-position: -59px 0;
}

ul.linked-items li.audioplayer {
    margin-left: -44px;
}

span.siblings-links {
    color: #5578af;
}

.img-sun-overlay {
    width: 125px;
    height: 97px;
    position: absolute;
    background: url(/i/img-sun-big.png);
    z-index: 1;
    bottom: 5px;
}
