/**
 * Defines the styles for books gallery displayed by the Scridder WordPress plugin
 * Version 1.5
 */
 
/* The search form elements */
#books_form #dsearch{
    margin: 15px 0 50px 20px !important;
    height: 36px !important;
    line-height: 36px !important;
    width: 245px !important;
    border: #dddddd 1px solid!important;
    -webkit-border-radius: 3px!important;
    -moz-border-radius: 3px!important;
    border-radius: 3px!important;
    background-color: #ffffff!important;
    padding: 0 !important;
    z-index: 1000 !important;
}
#books_form input[type="text"], #books_form input[type="text"]:focus {
    width: 188px !important;
    height: 23px !important;
    outline: none !important;
    display: inline;
    margin: 0; 
    border: 0;
    padding: 0 0 0 5px !important;
    background-color: #ffffff;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
}
#books_form input[type=submit] {
    position:relative; 
    color:#7da2aa;
    cursor: pointer;
    background: #ffffff url('search.png') no-repeat right center;
    margin: 0;
    display: inline;
    color: #777777;
    font-family: Arial;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    width: 40px !important;
    height: 28px !important;
    border: none;
    outline: none !important;
    -moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
}
/* The global div which embeds the books gallery and the pagination  */
.docs {
    width: 100% !important;
    float: left;
    margin: 0 15px 0 15px;
}
/* One book (document) from the books (documents) gallery */
.doc {
    display: inline-block;
    text-align: left;
    zoom: 1;
    *display: inline;
    white-space: normal;
    margin: 0 auto 30px 0;
    padding: 10px;
}
/* Document's image */
.doc .image {
    width: 140px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin-bottom: 5px;
    margin-left: 0;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    border: #dddddd 1px solid;
    -moz-box-shadow:0px 0px 0px 0px #cccccc;
    -webkit-box-shadow:0px 0px 0px 0px #cccccc;
    box-shadow:0px 0px 0px 0px #cccccc;
}
/* Document's title */
.doc a:link, .doc a:visited {
    text-decoration: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 15;
    opacity: 1;
}
.doc a:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
}
.doc .doc_title {
    width: 140px !important;
    font-size: 13px;
    line-height: 16px;
    height: 32px; 
    font-weight: bold;
    overflow: hidden;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 3px;
    padding-right: 0;
    -moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    border-radius: 0px 0px 0px 0px;
    background: none;
    word-wrap: break-word !important;
}
/* Document's number of reads & number of pages */  
.doc .numbers {
    display: block;
    text-align: left;
    font-size: 11px;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 20px !important;
    height: 20px !important;
    overflow: hidden;
    color: #777777;
}
/* Document's last modified date */  
.doc .doc_date {
    display: block;
    text-align: left;
    font-size: 11px;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 20px !important;
    height: 20px !important;
    overflow: hidden;
    margin-top: -5px;
    color: #777777;
}
/* The pagination part */
.dpagination {
    clear: both;
    text-align: left;
    float: left;
    margin: 0 30px 30px 15px;
}
a.paginate{
    border:1px solid #aaaaaa;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family:arial, helvetica, sans-serif; 
    font-size: 11px;
    padding: 7px 10px 7px 10px; 
    font-weight:bold; 
    text-align: center;
    color: #888888 !important;
    background-color: #f4f5f5;
    text-decoration: none;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk5OTk5OSIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMxJSIgc3RvcC1jb2xvcj0iI2EyYTJhMiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiN2I3YjciIHN0b3Atb3BhY2l0eT0iMC42NSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(153,153,153,0) 0%, rgba(162,162,162,0) 31%, rgba(183,183,183,0.65) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(153,153,153,0)), color-stop(31%,rgba(162,162,162,0)), color-stop(100%,rgba(183,183,183,0.65))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(153,153,153,0) 0%,rgba(162,162,162,0) 31%,rgba(183,183,183,0.65) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(153,153,153,0) 0%,rgba(162,162,162,0) 31%,rgba(183,183,183,0.65) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(153,153,153,0) 0%,rgba(162,162,162,0) 31%,rgba(183,183,183,0.65) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(153,153,153,0) 0%,rgba(162,162,162,0) 31%,rgba(183,183,183,0.65) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00999999', endColorstr='#a6b7b7b7',GradientType=0 ); /* IE6-8 */
}
a.paginate:hover{
    border:1px solid #aaaaaa;
    color: #111111 !important;
    text-decoration: none;
}
a.current {
    border:1px solid #aaaaaa;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family:arial, helvetica, sans-serif;
    font-size: 11px;
    padding: 7px 10px 7px 10px;
    font-weight:bold; 
    text-align: center; 
    color: #111111 !important; 
    background-color: #f4f5f5;
    text-decoration: none;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I3YjdiNyIgc3RvcC1vcGFjaXR5PSIwLjY1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjY5JSIgc3RvcC1jb2xvcj0iI2EyYTJhMiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5OTk5OTkiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(183,183,183,0.65) 0%, rgba(162,162,162,0) 69%, rgba(153,153,153,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(183,183,183,0.65)), color-stop(69%,rgba(162,162,162,0)), color-stop(100%,rgba(153,153,153,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(183,183,183,0.65) 0%,rgba(162,162,162,0) 69%,rgba(153,153,153,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(183,183,183,0.65) 0%,rgba(162,162,162,0) 69%,rgba(153,153,153,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(183,183,183,0.65) 0%,rgba(162,162,162,0) 69%,rgba(153,153,153,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(183,183,183,0.65) 0%,rgba(162,162,162,0) 69%,rgba(153,153,153,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6b7b7b7', endColorstr='#00999999',GradientType=0 ); /* IE6-8 */
}
form span.inactive {
    display: none;
}
/* End the pagination part */
/* The clearing class*/
.clearing {
    clear: both;
}
/* The lightbox displaying the embedded Scribd document */
#scribd_lightbox {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    z-index:5000;
    padding: 15px;
    background: transparent url('loading.gif') no-repeat center center;
}
/* The Scribd iframe */
iframe.scribd_iframe_embed {
    visibility: hidden;
    clear: both;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow-x: hidden;
    -moz-box-shadow:0px 0px 10px 7px #444444;
    -webkit-box-shadow:0px 0px 10px 7px #444444;
    box-shadow:0px 0px 10px 7px #444444;
}
/* The close button from the document lightbox */
a.close_doc,
a.close_doc:hover,
a.close_doc:active {
    clear: right;
    float: right;
    margin: 0 0 10px 15px;
    border-radius: 0px 0px 0px 0px;
    background: none;
    border: none;
    outline: none;
}
/* The close button image */
img.close_scribd {
    display: none;
    border: none;
    outline: none;
    -moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    box-shadow: 0px 0px 0px rgba(0, 0, 0, .0);
    border-radius: 0px 0px 0px 0px;
    width: 20px;
    height: 20px;
}