/*
 Theme Name:     The Librarians Divi
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme for The Librarians by Sherry Thomas
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
.mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close{
color:#ffffff !important;
opacity: 1.0 !important;
filter: alpha(opacity=100); /* For IE8 and earlier */
}

#page-container { 
  overflow:hidden; 
}

p sup{font-size: small;bottom: 0.4em !important;}
.nf-form-fields-required{text-align:right;}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/*
******************************************
COLUMN STACKING ORDER
******************************************
*/
@media only screen and ( max-width:980px ) and ( min-width:601px ){
  .four-columns .et_pb_column {
width: 25%!important;
}
    .five-columns .et_pb_column {
width: 33%!important;
}
}
@media only screen and (max-width: 600px) {
.four-columns .et_pb_column {
width: 50%!important;
}
.four-columns .et_pb_column .four-columns-three, .four-columns .et_pb_column .four-columns-four{
  padding-top:10px;
}
  .five-columns .et_pb_column {
width: 50%!important;
}
  .six-columns .et_pb_column {
width: 50%!important;
}
}

@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
}

/*
******************************************
PLUGIN CUSTOMIZATIONS
******************************************
*/

/* === Style WP-PageNavi Pagination === */

/* Center the pagination */
.wp-pagenavi { 
  text-align:center;
  border-top-color:#ccccc; }

.wp-pagenavi span, .wp-pagenavi a, .wp-pagenavi :last-child { 
    padding: 6px 12px; 
    margin: 0 5px;  
    border: 0;
}
.wp-pagenavi span, .wp-pagenavi a { border-right: none !important; }

/* Style the default text */
.wp-pagenavi .pages { 
    font-weight: bold !important; 
    color: #000000 !important;
}
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:visited { 
    font-weight: bold !important; 
    color: #ffffff !important;
    background:#383838;
    border:0 !important;
}

/* Style the hovered page link */
.wp-pagenavi a:hover { 
  font-weight: bold !important;
    color: #ffffff !important; 
    background-color: #000000 !important;
    border:0 !important; 
}

/* Style the current page link */
.wp-pagenavi span.current{ 
  font-weight: bold !important;
    color:#000000 !important; 
    background-color:#cccccc !important;
    border:0 !important; 
}

/* Style the page count text */
.wp-pagenavi :first-child { color: #808080 !important; }

/* Add text to the "next" link */
.wp-pagenavi a.nextpostslink:before { content: 'Next '; }
.wp-pagenavi a.previouspostslink:after { content: ' Prev'; }

/* *************** JetPack Form & Custom Buttons *************** */

#subscribe-email input {
display:block; 
padding:15px 0; 
margin:5px 0 0 0; 
text-indent:15px;
background:#efefef;
border:1px solid #cccccc;
color:#000000;
font-weight:bold;
font-size:20px;
}

#subscribe-email input:focus {
border:1px solid #808080;
color:#000000;
}

#subscribe-submit button{
background: #383838; 
border:0;
border-color:#383838;
color: #ffffff !important;
text-transform:uppercase;
font-size: 15px;
font-weight:bold;
display: inline-block;
padding: 15px 0px;
margin-top: 0;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
width:95%;
}
#subscribe-submit button:hover{
background: #000000; 
border-color:#000000; 
color: #ffffff !important;
}

/*
******************************************
ROWS & COLUMNS
******************************************
*/

/*
.row {
  margin-right: -15px;
  margin-left: -15px;
}
*/

.clearfix:before,.clearfix:after,.row:before,.row:after{clear:both !important;}

/* *************** Visibility *************** */
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg,
.visible-xxl {
  display: none !important;
}
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
  display: none !important;
}
@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
  table.visible-xs {
    display: table !important;
  }
  tr.visible-xs {
    display: table-row !important;
  }
  th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-block {
    display: block !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline {
    display: inline !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .visible-sm {
    display: block !important;
  }
  table.visible-sm {
    display: table !important;
  }
  tr.visible-sm {
    display: table-row !important;
  }
  th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .visible-sm-block {
    display: block !important;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .visible-sm-inline {
    display: inline !important;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .visible-sm-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 981px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
  table.visible-md {
    display: table !important;
  }
  tr.visible-md {
    display: table-row !important;
  }
  th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}
@media (min-width: 981px) and (max-width: 1199px) {
  .visible-md-block {
    display: block !important;
  }
}
@media (min-width: 981px) and (max-width: 1199px) {
  .visible-md-inline {
    display: inline !important;
  }
}
@media (min-width: 981px) and (max-width: 1199px) {
  .visible-md-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
  table.visible-lg {
    display: table !important;
  }
  tr.visible-lg {
    display: table-row !important;
  }
  th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-block {
    display: block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline {
    display: inline !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline-block {
    display: inline-block !important;
  }
}
/* *************** Hidden *************** */


@media (max-width: 575.98px) {
  .hidden-xxxs {
    display: none !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .hidden-xxs {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .hidden-xs {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 980.98px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 981px) and (max-width: 1199.98px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}
/* *************** Columns & Rows *************** */
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: left;
}
.col-xs-12 {
  width: 100%;
}
.col-xs-11 {
  width: 91.66666667%;
}
.col-xs-10 {
  width: 83.33333333%;
}
.col-xs-9 {
  width: 75%;
}
.col-xs-8 {
  width: 66.66666667%;
}
.col-xs-7 {
  width: 58.33333333%;
}
.col-xs-6 {
  width: 50%;
}
.col-xs-5 {
  width: 41.66666667%;
}
.col-xs-4 {
  width: 33.33333333%;
}
.col-xs-3 {
  width: 25%;
}
.col-xs-2 {
  width: 16.66666667%;
}
.col-xs-1 {
  width: 8.33333333%;
}
@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }
}
@media (min-width: 981px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-4 {
    width: 33.33333333%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-1 {
    width: 8.33333333%;
  }
}
@media (min-width: 1200px) {
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    float: left;
  }
  .col-lg-12 {
    width: 100%;
  }
  .col-lg-11 {
    width: 91.66666667%;
  }
  .col-lg-10 {
    width: 83.33333333%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-8 {
    width: 66.66666667%;
  }
  .col-lg-7 {
    width: 58.33333333%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-5 {
    width: 41.66666667%;
  }
  .col-lg-4 {
    width: 33.33333333%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-2 {
    width: 16.66666667%;
  }
  .col-lg-1 {
    width: 8.33333333%;
  }
}
/* *************** Centered Row with 5 Columns *************** */
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 981px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

/* *************** Centered Row with 7 Columns *************** */
.col-xs-7ths,
.col-sm-7ths,
.col-md-7ths,
.col-lg-7ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-7ths {
    width: 14.28%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-7ths {
        width: 14.28%;
        float: left;
    }
}

@media (min-width: 981px) {
    .col-md-7ths {
        width: 14.28%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-7ths {
        width: 14.28%;
        float: left;
    }
}

/* *************** Centered Row with 8 Columns *************** */
.col-xs-8ths,
.col-sm-8ths,
.col-md-8ths,
.col-lg-8ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-8ths {
    width: 12.5%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-8ths {
        width: 12.5%;
        float: left;
    }
}

@media (min-width: 981px) {
    .col-md-8ths {
        width: 12.5%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-8ths {
        width: 12.5%;
        float: left;
    }
}

/* *************** Centered Row with 10 Columns *************** */
.col-xs-10ths,
.col-sm-10ths,
.col-md-10ths,
.col-lg-10ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-10ths {
    width: 10%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-10ths {
        width: 10%;
        float: left;
    }
}

@media (min-width: 981px) {
    .col-md-10ths {
        width: 10%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-10ths {
        width: 10%;
        float: left;
    }
}


@media (max-width: 480px) {
.col-xxs-6{
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  float: left;
  width:50%;	
}
}
@media (min-width: 481px) and (max-width: 576px){
.col-xxs-6{
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  float: left;
  width:33%;	
}
}
/* *************** Centered Rows *************** */
.justify-content-center{text-align:center;}
.bookcol{
  display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:center;
    /* inline-block space fix */
    margin-right:-4px;
    vertical-align: top;
    margin-bottom:20px;
}