span, p, .qv {
    line-height:1.625em !important;
}

div#lightboxImageRight img {
    height:100% !important;
}

table.no-border tbody{
    border-top:0px !important;
}

.container-books {
    width: 300px;
    border: 1px solid #ccc;
    float: left;
    text-align:center;
    padding:20px;
    margin: 20px 30px;
    background: #eee;
    border-radius: 3px;
}

.main-wrapper {
    overflow:hidden;
}

.gs-result .gs-title, .gs-result .gs-title * {
    height:auto !important;
}

@media screen and (max-width: 1632px) {
    .main-wrapper {
        width:810px;
        margin:0 auto
    }
}

@media screen and (max-width: 815px) {
    .main-wrapper {
        width:350px;
    }

    .container-books {
        margin:0px;
    }

}

.container-books img {
    height:250px
}

.container-books p.purchase {
    padding:0px !important;
    margin: 20px 0 !important;
    border-bottom: 1px solid #ccc;
}

.container-books ul {
    text-align:left;

}

.purchase-links {
    list-style-type:none;
    margin:0;
    padding:0;
    margin-bottom:10px;
}

.purchase-links li {
    text-align:center;
    padding:8px;
    margin-bottom:10px;
    border-radius:3px;
}

.purchase-links li.audible {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#febd45+0,f1850c+100 */
background: #febd45; /* Old browsers */
background: -moz-linear-gradient(top,  #febd45 0%, #f1850c 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #febd45 0%,#f1850c 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #febd45 0%,#f1850c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#febd45', endColorstr='#f1850c',GradientType=0 ); /* IE6-9 */
text-shadow:1px 1px 3px #000;
}

.purchase-links li.itunes {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#444444+0,050608+100 */
background: #444444; /* Old browsers */
background: -moz-linear-gradient(top,  #444444 0%, #050608 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #444444 0%,#050608 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #444444 0%,#050608 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#050608',GradientType=0 ); /* IE6-9 */

}

.purchase-links li.amazon {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffe8ab+0,f5c645+100 */
background: #ffe8ab; /* Old browsers */
background: -moz-linear-gradient(top,  #ffe8ab 0%, #f5c645 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #ffe8ab 0%,#f5c645 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #ffe8ab 0%,#f5c645 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe8ab', endColorstr='#f5c645',GradientType=0 ); /* IE6-9 */
}

.purchase-links li.amazon a {
    color:#000;
}


.purchase-links li a {
    color:#fff;
    font-size:14px;
    font-weight:bold;
}

.side-bar-right {
    border:1px solid #ccc;
    height:auto;
    min-height:600px;
    float:right;
    width:23%;
    background: #f0f0f0 url(/sites/all/themes/custom/tsha/images/day-by-phone.jpg) no-repeat bottom left;
    display:none;
    min-height: 600px;
    margin-top:20px;
}
.side-bar-right p {
    padding:10px;
}

.side-bar-right h3 {
    text-align:center;
    font-size:16px !important;
    color:#CF0A2C !important;
}

#content {
    float:left;
}

.kimbiaInnerDiv {
    max-width:270px !important;
}

form#form_kimbia_1 {
    max-width:270px !important;
}

.k_column.k_colNum0 {
    width:100%;
}

.k_column.k_colNum0 input {
    width:90%;
    border:1px solid #ccc !important;
    border-radius:3px;
    padding:10px;
}

label.groupLabel.section.k_question {
    display:none;
}

button.k_button.forward {
    font-size: 14px !important;
    padding:10px;
    background:#ff0000;
    color:#fff;
}

div#ads-left-bottom {
    width:90%;
    text-align:center;
}

/*************** HEADER STYLES ************/

div#header-top {
    padding-bottom: 0px;
    overflow: auto !important;
    height: auto;
    float: right;
    width: 300px;
}

div#logo-title {
    padding:10px 0;
}

a.members-only {
    float:none;
    display:block;
    padding:5px 0;
    font-size:16px !important;
}

body #page table.gsc-search-box{
  width: auto !important;
}

body #page form#searchSelect {
    margin: 5px 10px;
}

div#socialNetworkingBlock {
    overflow:hidden;
    margin-right:10px;
}

div#chooseSearchType {
    right:0px;
}

div#chooseSearchType input[type="text"] {
    border:1px solid #ccc;
    padding:5px 0;
    margin-left:0px !important;
    width:100% !important
}

div#handbookSearchNew td.gsc-input{
    padding:0 !important;
  }

  td.gsc-search-button {
    padding:0;
}


div#handbookSearchNew input.gsc-search-button {
    padding: 2px 0px !important;
    font-size: 13px;
    height: 27px !important;
    border-radius:0px !important;
    font-family: Arial,Helvetica,"Bitstream Vera Sans",sans-serif;
}


div#socialNetworkingBlock img {
  width:25px;
  height:25px;
}

/*********** SEARCH BAR STYLES ON SEARCH PAGE ***********/


div#handbookSearch div.gsc-control-searchbox-only table tbody td.gsc-search-button input.gsc-search-button, 
div#handbookSearch2 div.gsc-control-searchbox-only table tbody td.gsc-search-button input.gsc-search-button{
    font-size: 18px !important;
    background-image: url('//www.tshaonline.org/sites/default/files/images/site/searchhandbook.gif');
    background-repeat: no-repeat;
    background-position: 0px 500px !important;
    text-align: center !important;
    width: 97px;
    margin-left: -5px;
    height:30px;
    border-radius:0px !important;
}

div#handbookSearch2 div.gsc-control-searchbox-only table tbody td.gsc-input input {
    background-image: none !important;
    width: 100% !important;
    padding:6px;
    padding-top:7px;
    border:1px solid #666666;
}

form#search-theme-form {
    width:275.75px;
    margin-right:0px !important;
    margin-top:13px !important;
    margin-bottom: 0px !important;
}

form#search-theme-form input[type="text"] {
    width:215px !important;
    margin-right:0px !important;
    float:left;
}

form#search-theme-form input[type="submit"] {
    padding:5px;
    margin-left:0px !important;
}



div#edit-search-theme-form-1-wrapper.form-item {
    display:block;
    width:210.75px !important;
    overflow:hidden;
    float:left;
    margin-top: 0;
    margin-bottom: 4px !important;
}

/********** MOBILE STYLES ***************/


@media screen and (max-width: 1340px) {
    .side-bar-right {
        float:none !important;
        width:100% !important;
        background:#f0f0f0;
        clear: both;
        min-height:auto;
        margin-bottom:50px;
    }

    .k_questionBlock {
        width:30%;
        margin-right:20px;
        float:left;
    }

    .kimbiaInnerDiv {
    max-width:100%!important;
}

form#form_kimbia_1 {
    max-width:100% !important;
}


    #content {
        float:none !important;
        max-width:100% !important;
    }

}

@media screen and (max-width: 730px) { 
    .k_questionBlock {
        float:none;
        width:100%;
    } 
}


@media screen and (max-width: 785px) {
    a.search-banner {
        display:block;
        width:95%;
    }

    a.search-banner img {
        width:100%;
    }

}

/*** Dialog styles **/
.ui-dialog-overlay {
    background:rgba(0,0,0,0.8);
}

.ui-dialog-titlebar {
    overflow:hidden;
}

.ui-dialog .ui-dialog-titlebar-close {
    position: absolute;
    right: 20px !important;
    top: 40%;
    display: block !important;
    margin: -15px 0 0 0;
    width: auto;
}

.ui-dialog .ui-dialog-content {
    position: relative;
    border: 0;
    padding: 0;
    background: none;
}

.ui-dialog {
    height:auto !important;
    box-shadow:0px 0px 10px #000;
    border:5px solid #eee;
    border-radius:3px;
}


.ui-dialog-titlebar {
    background:#ccc !important;
    font-size:24px;
    color:#333;
}

.lhsButton {
    margin-bottom:10px;
}


div#primary ul.menu{
    max-width: 1200px !important;
    width: 100%;
    margin: 0 auto !important;
    display: block;
    text-align: center;
    height:50px;

}

div#primary ul.menu li {
    display: inline-block;
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size:1.1em;

}

div#primary ul.menu li:after {
    width: 6px;
    float: right;
    content: "/";
    display: block;
    color: #e6e6e6;
    font-size: 1.8em;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    margin-top: 9px;
}


div#primary ul.menu li a {
    font-family: 'ProximaNova';
    text-transform: uppercase !important;
    color: #333;
    line-height: 50px;
    letter-spacing: 1px;
    padding: 0 20px;
}

div#primary ul.menu li.expanded {
    position:relative;
}

div#primary ul.menu li.expanded ul {
    position:absolute;
    top: 45px;
    background: #212121;
    display:none;
    z-index:9999;
    padding:2px;
    height:auto;
    width:250px;
}

div#primary ul.menu li.expanded ul li {
    padding:0;
    width:100%;
    border-bottom:1px dotted #565656 ;
    font-size:1.0em !important;
}

div#primary ul.menu li.expanded ul li ul {
    left:100%;
    top:0;
    display: none;
}

div#primary ul.menu li.expanded ul li a {
    color:#fff;
    text-align:left;
    padding:0 5px;
    font-weight:bold
    display:block;
    line-height:35px;
}

div#primary ul.menu li.expanded ul li:after {
    display:none;
}


div#primary ul.menu li.last:after {
    display:none !important;
    border:1px solid #ff0000;
}

ul.social-icons li {
    display:inline-block;
    padding:10px;
    font-size:22px;
    min-width:20px;
    text-align:center;
    border-radius:3px;
    color:#fff;
    margin-right:6px
}

ul.social-icons li.twitter {
    background:#34bef7;
}

ul.social-icons li.facebook {
    background:#3765a3;
}

ul.social-icons li.linkedIn {
    background:#0274b3;
}

p.membersonly a {
    font-weight:400 !important;
    font-size:16px;
    color:#d00a2c !important;
}

p.membersonly {
    padding:0px;
    margin: 7px 9px 9px;
}

.header-block-cntrl {
    margin-right:10px;
    margin-top: 18px;
}

ul.social-icons {
    margin-right: 3px;
    margin-top: -3px;
}
