@media (max-width:1600px){
    .tg-homeslidervthree .tg-slidercontent {padding: 0 12% 0 60px;}
}
@media (max-width:1600px){
    .tg-homeslidervthree .tg-slidercontent h1 {
        font-size: 60px;
        line-height: 55px;
    }
}
@media (max-width:1360px){
    .tg-homeslidervthree .tg-slidercontent h1 {
        font-size: 55px;
        line-height: 50px;
    }
}
@media (max-width:1280px){
    .tg-homeslidervthree .tg-slidercontent h1 {font-size: 50px;}
}
@media (max-width:1199px){
    .tg-themedropdown {padding: 0 10px;}
    .tg-searchbox {padding: 0 270px;}
    .tg-navigation > ul > li > a {padding: 0 15px;}
    .tg-headervtwo .tg-navigation > ul > li {padding: 0 13px;}
    .tg-headervtwo .tg-themedropdown {padding: 20px 18px;}
    .tg-homeslidervthree .tg-slidercontent{width:60%;}
    .tg-homeslidervthree .owl-nav .tg-btnround.tg-btnprev {left: 20px;}
    .tg-homeslidervthree .owl-nav .tg-btnround.tg-btnnext {right: 20px;}
    .tg-testimonial {padding: 0 90px;}
    .tg-testimonialsslider .tg-btnprev {left: 0;}
    .tg-testimonialsslider .tg-btnnext {right: 0;}
    .tg-featureditmcontent {margin: 85px 0;}
    .tg-featureditmcontent .tg-booktitle h3 {
        font-size: 35px;
        line-height: 40px;
    }

    .tg-featureditmcontent .tg-bookprice ins{
        font-size:30px;
        line-height:30px;
    }
    .tg-featureditmcontent .tg-bookprice del{
        font-size:20px;
        line-height:26px;
    }
    .tg-bookpage,
    .tg-bookcategory,
    .tg-hovercontent .tg-bookprice,
    .tg-ratingbox {
        font-size:13px;
        line-height:15px;
    }
    .tg-clientservices {
        font-size: 13px;
        line-height: 16px;
    }
    .tg-titlesubtitle h3 {
        font-size: 18px;
        line-height: 18px;
    }
    .tg-newsletter h5 {
        font-size: 14px;
        line-height: 17px;
    }
    .tg-newsletter h5 {
        font-size: 14px;
        line-height: 17px;
    }
    .tg-contactinfo li > i {width: 30px;}
    .tg-pickedbyauthor .tg-featureimg .tg-bookimg {margin: 5px 0;}
    .tg-pickedbyauthor .tg-postbook:hover .tg-bookimg{margin: 0 0 0 -46px;}
    .tg-hovercontent {padding: 30px 0 30px 40px;}
    .tg-pickedbyauthor .tg-booktitle h3 a{
        width:100%;
        display:block;
        overflow:hidden;
        white-space:nowrap;
        text-overflow:ellipsis;
    }
    .tg-featurebook .tg-featureditmcontent .tg-booktitle h3 {
        font-size: 26px;
        line-height: 28px;
    }
    .tg-featurebook .tg-featureditm figure img{width:100%;}
    .tg-featurebook .tg-featureditmcontent .tg-bookprice ins {
        font-size: 22px;
        line-height: 22px;
    }
    .tg-featurebook .tg-featureditmcontent .tg-bookprice del {
        font-size: 15px;
        line-height: 22px;
    }
    .tg-productdetail .tg-postbook .tg-bookprice{padding:0 0 14px;}
    .tg-delevrystock{padding:0 0 10px;}
    .tg-quantityholder input {width: 85px;}
    .tg-alsoavailable figure{overflow:hidden;}
    .tg-alsoavailable figure img{
        width:auto;
        height: 200px;
        max-width:none;
    }
    .tg-tab-pane .tg-description figure{
        width:100%;
        margin:0 0 30px;
    }
    .tg-liststyle{
        width:100%;
        float:left;
    }
    .tg-newsgrid .tg-post {min-height: 415px;}
    blockquote {padding: 18px 50px 40px 50px;}
    .tg-tags{
        width:100%;
        padding:0 0 20px;
    }
    .tg-socialshare{
        width:100%;
        float:left;
    }
    .tg-socialshare span{padding:0 5px 0 0;}
    .tg-socialshare .tg-socialicons{text-align:left;}
    .tg-prevpost a,
    .tg-nextpost a {padding: 20px;}
    .tg-prevpost a .tg-posttitle,
    .tg-nextpost a .tg-posttitle {padding: 16px 0;}
    .tg-successcontent {padding: 47px 0 40px 30px;}
    .tg-successcontent .tg-sectionhead h2 {
        font-size: 25px;
        line-height: 25px;
    }
}
@media (max-width:1080px){
    .tg-homeslidervthree .tg-slidercontent h1 {
        font-size: 45px;
        line-height:45px;
    }
}
@media (max-width:991px){
    .tg-searchbox {
        width: 100%;
        float: left;
        padding: 20px 0 0;
        position: relative;
        display: none;
    }
    /*=====================Nav Toggle On 991=====================*/
    .navbar-toggle {
        float:left;
        padding: 9px 0px;
        display: block;
        border-radius: 0px;
        border:none;
    }
    .navbar-toggle .icon-bar{background: #fff; width: 19px; height: 2px}
    .navbar-collapse.collapse {display: none!important;}
    .collapse.in{display:block !important;}
    .tg-nav{line-height:40px;}
    .tg-navigation {
        left: 0;
        top: 100%;
        padding: 0 15px;
        background: #fff;
        position: absolute;
    }
    .tg-navigation > ul > li{
        width:100%;
        text-align:left;
        border-bottom:1px solid #dbdbdb;
    }
    .tg-navigation > ul > li > a{color:#666;}
    .tg-navigation > ul > li > a:hover,
    .tg-navigation > ul > li.current-menu-item > a{background:none;}
    .tg-navigation > ul > li.menu-item-has-children > a{padding:0 15px;}
    li.menu-item-has-children > a:before{display:none;}
    .mega-menu .tg-themetabnav li{width:50%;}
    .tg-dropdowarrow{display:block;}
    .sub-menu {
        opacity: 1;
        width: 100%;
        float: left;
        display: none;
        position: static;
        box-shadow: none;
        visibility: visible;
    }
    .mega-menu {
        float: left;
        opacity: 1;
        display: none;
        position: static;
        box-shadow: none;
        visibility: visible;
        width: 100% !important;
    }
    .mega-menu .tg-themetabnav{
        width:100%;
        float:left;
    }
    .mega-menu .tg-themetabcontent{
        width:100%;
        float:left;
        box-shadow:none;
    }
    .tg-headervtwo .tg-navigation li.menu-item-has-mega-menu{background:none;}
    .tg-headervtwo .tg-navigation > ul > li,
    .tg-headervtwo .tg-navigation li.menu-item-has-mega-menu a,
    .tg-headervtwo .tg-navigation li a{padding:0;}
    .tg-headervtwo .tg-navigation > ul > li.menu-item-has-children > a{padding:0;}
    .tg-headervtwo .tg-navigation li.menu-item-has-mega-menu .tg-dropdowarrow{right:25px;}
    /*=====================Nav Toggle On 991=====================*/
    .tg-headervtwo .tg-logo{
        width:220px;
        float:none;
        margin:0 auto;
        display:block;
        padding:0 0 30px;
    }
    .tg-headervtwo .tg-searchbox{width:100%;}
    .tg-homeslidervthree .tg-slidercontent{
        width:100%;
        padding: 0 15%;
    }
    .tg-booktitle h3 a{
        width:100%;
        display:block;
        overflow:hidden;
        text-overflow:ellipsis;
        font-size: 12px;
        height: 35px;
    }
    .tg-collectioncountericon {
        clear: both;
        display: block;
        margin: 0 auto 15px;
    }
    .tg-titlepluscounter {
        padding: 0;
        text-align: center;
    }
    .tg-featureditmcontent{padding:0; font-size: 12px}
    .tg-featureditm figure img{
        float:none;
        margin:0 auto;
    }
    .tg-priceandbtn{
        float:left;
        clear:both;
        margin:20px 0 0;
        position:static;
    }
    .tg-widget.tg-widgetnavigation,
    .tg-widget.tg-widgettopsellingauthors{margin:30px 0 0;}
    .tg-contactinfo li > i {width: 40px;}
    .tg-formnewsletter{margin:30px 0 0;}
    .tg-newrelease .tg-btns{padding:0 0 15px;}
    .tg-pickedbyauthor .tg-featureimg .tg-bookimg {margin: 0;}
    .tg-pickedbyauthor .tg-postbook:hover .tg-bookimg{margin: 9px 0 10px -46px;}
    .tg-hovercontent {padding: 30px 0 30px 60px;}
    .tg-authordetail .tg-authorimg{width:300px;}
    .tg-authorcontentdetail .tg-socialicons{
        float:left;
        padding:20px 0 0;
    }
    .tg-quantityholder input {width: auto;}
    .tg-productdetail .tg-postbook .tg-postbookcontent .tg-btn,
    .tg-productdetail .tg-postbook .tg-postbookcontent .tg-btnaddtowishlist{
        width:auto;
        float:left;
        padding:0 50px;
    }
    .tg-productdetail .tg-postbook .tg-postbookcontent .tg-btnaddtowishlist{
        line-height:40px;
        margin:10px 0 0 15px;
    }
    .tg-productdetail .tg-postbook{padding:0 0 30px;}
    .tg-authorinfo .tg-rightarea{
        float:left;
        clear:both;
        padding:15px 0 0;
    }
    .tg-newslist .tg-post{display:block;}
    .tg-prevpost figure,
    .tg-nextpost figure {display: none;}
    .tg-nextprevpost .tg-posttitle h3 {
        font-size: 14px;
        line-height: 14px;
    }
    .tg-childcomment {padding: 0 0 0 50px;}
    .tg-map {
        height: 400px !important;
        margin:0 0 30px;
    }
    .tg-aboutus{display:block;}
    .tg-aboutusshortcode{margin:0 0 30px;}
    .tg-success figure{
        width:100%;
        float:left;
        margin:0 0 30px;
    }
    .tg-successcontent{
        padding:0;
        width:100%;
        float:left;
    }
    .tg-booksfromauthor .tg-postbook {min-height: 535px;}
    .tg-productgrid .tg-postbook {min-height: 550px;}

    .tg-middlecontainer {
        padding: 0;
        border-top: 4px solid #272b77;
    }

    .tg-homeslider .owl-nav .tg-btnround i {
        font-size: 15px;
        font-weight: bold;
    }

    .tg-homeslidervtwo .tg-slidercontent .tg-description {
        padding: 20px 10%;
    }
}
@media (max-width:800px){}
@media (max-width:767px){
    .tg-homeslider .item{padding:0;}
    .tg-clientservices li{
        width:50%;
        padding:15px;
    }
    .tg-allstatus{
        margin: -15px 0;
        padding:100px 0 0;
    }
    .tg-allstatus .tg-parallax{margin:15px 0;}
    .tg-calltoaction {padding: 0 190px 0 0;}
    .tg-productgrid .tg-postbook .tg-postbookcontent .tg-btn{float:left;}
    .tg-newslist .tg-post{display:flex;}
    .tg-newsgrid .tg-post {min-height: 470px;}
    .tg-404errorcontent h2 {
        font-size: 30px;
        line-height: 25px;
    }
    .tg-404errorcontent span {
        font-size: 170px;
        line-height: 120px;
    }
    .tg-booksfromauthor .tg-postbook {min-height: 547px;}
    .tg-productgrid .tg-postbook {min-height: 740px;}
    .tg-productgrid .tg-postbook:hover .tg-featureimg {padding: 20px 13px 20px 0;}
}
@media (max-width:720px){
    .tg-newsgrid .tg-post {min-height: 445px;}

    .tg-bookimg img {
        height: auto !important;
    }

    .tg-featureditmcontent .tg-bookwriter {
        font-size: 11px;
        margin-top: 0;
    }

    .tg-featureditmcontent .tg-booktitle h3 {
        font-size: 25px;
        line-height: 40px;
    }

    .tg-featureditmcontent {
        margin: 5px 0;
    }

    .tg-featureditm figure img {
        float: none;
        margin: 0 auto !important;
        width: 150px !important;
    }

    .tg-featureditm figure {
        width: 100%;
        margin: 0;
    }

    .tb-grid-view .tg-bookimg img {
        height: 130px;
    }

    .item-container .item-cover img {

        background: #fff;
        box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.07);
        padding: 5px;
        filter: drop-shadow(5px 10px 10px #999999b5);
        border-radius: 5px;
        width: 50%;
        margin: 0 auto;
        height: auto;
    }

    .tg-book-item-title {
        font-size: 25px;
    }

    .item-title {
        text-align: center;
        margin-top: 20px;
    }

    .item-author {
        margin-bottom: 15px;
    }

    .item-author ul {
        text-align: center;
    }

    .item-basket-wrapper {
        position: relative;
        width: auto;
    }

    .item-desr {
        position: relative;
        height: auto;
        margin-bottom: 30px;
    }

    .item-price-wrap {
        position: relative;
    }

    .item-basket-wrapper .orange-btn {
        position: relative;
        margin-top: 20px;
        top: auto;
        margin-bottom: 20px;
    }

    .item-basket-wrapper .well {
        height: auto;
    }

    .item-price-title {
        margin-bottom: 10px;
    }

    .tg-threecolumns{
        padding: 40px 0 20px;
    }

    .tg-footercol .tg-socialicons {
        display: table;
        margin: 0 auto;
        width: auto;
        float: none;
        padding-top: 10px;
    }
    .tg-innerbanner {
        height: 100px;
    }

    .tg-breadcrumb {
        font-size: 13px;
    }

    .tg-homeslidervtwo .tg-slidercontent .tg-description p {
        font-size: 18px;
        line-height: 25px;
    }

    #toast-container>div {
        padding: 15px 15px 15px 50px;
        width: 18em;
    }

    #toast-container .toast-close-button {
        right: 0.3px;
        top: 0.3px;
    }
}
@media (max-width:640px){
    .mega-menu .tg-themetabcontent > div > ul{display:block;}
    .mega-menu .tg-themetabcontent > div > ul > li{
        width:100%;
        float:left;
        display:block;
        padding:0 0 15px;
    }
    .mega-menu .tg-themetabcontent > div ul li figure {
        width: 50%;
        float: left;
    }
    .mega-menu .tg-themetabcontent > div ul li .tg-textbox {
        width: 50%;
        float: right;
        padding: 40px 0 0 20px;
    }
    .tg-homeslidervthree .item {height: 600px;}
    .tg-homeslidervthree .tg-slidercontent{text-align:center;}
    .tg-homeslidervthree .tg-slidercontent .tg-btns{text-align:center;}
    .tg-homeslidervthree .tg-slidercontent .tg-btns .tg-btn{margin:0 10px ;}
    .tg-homeslidervthree .owl-nav .tg-btnround {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    .tg-slidercontent h1 {
        font-size: 40px;
        line-height: 35px;
    }
    .tg-homeslider .owl-nav .tg-btnround.tg-btnprev {left: 10px;
        width: 40px;
        height: 40px;
        line-height: 40px;}
    .tg-homeslider .owl-nav .tg-btnround.tg-btnnext {right: 10px; width: 40px;
        height: 40px;
        line-height: 40px;}
    .tg-slidercontent .tg-btns .tg-btn{margin:5px 0;}
    .tg-collectioncounter {
        width: 50%;
        padding: 15px;
    }
    .tg-collectioncounter.tg-romance:before{display:none;}
    .tg-calltoaction{
        padding:0 ;
        text-align:center;
    }
    .tg-calltoaction .tg-btn{
        margin:30px 0 0;
        position:static;
    }
    .tg-featureditmcontent .tg-booktitle h3 a{white-space:normal;font-size: 15px; height: fit-content;}
    .tg-authordetail .tg-authorimg{
        width:100%;
        margin:0 0 30px;
    }
    .tg-featureditmcontent .tg-themetagbox {
        margin-bottom: 0;
    }
    .tg-featureditmcontent .tg-bookwriter {
        padding-bottom: 5px;
    }
    .tg-authorcontentdetail .tg-socialicons{width:100%;}
    .tg-authorcontentdetail{
        width:100%;
        float:left;
    }
    .tg-newslist .tg-post{display:block;}
    .tg-newslist .tg-post .tg-postcontent{padding:30px 0 0;}
    .tg-newsgrid .tg-post {min-height: 415px;}
    .tg-newsdetailimg .tg-author{
        width:100%;
        float:left;
        position:static;
    }
    .tg-prevpost,
    .tg-nextpost{
        width:100%;
        padding:5px 0;
    }
    .tg-formleavecomment{padding:0 0 30px;}
    .tg-formleavecomment .form-group{width:100%;}
    .tg-prevpost a .tg-posttitle,
    .tg-nextpost a .tg-posttitle{text-align:center;}
    .tg-childcomment{padding:0;}
    .tg-successcontent .tg-sectionhead h2 {
        font-size: 20px;
        line-height: 20px;
    }
    .tg-booksfromauthor .tg-postbook {min-height: 690px;}
    .tg-productgrid .tg-postbook {min-height: auto;}
    .tg-navigationarea {
        border-bottom-width: 3px;
    }

    .tg-topbar {
        display: none;
    }

    .login-box-body .login-panel img {
        margin-bottom: 20px;
    }

    .tg-formsearch fieldset button {
        height: 40px;
        width: 40px;
        line-height: 40px;
        font-size: 15px;
    }

    .tg-formsearch fieldset .form-control {
        height: 40px;
        line-height: 20px;
        font-size: 13px;
    }

    .mb-search .tg-searchbox {
        display: block;
        padding-top: 0;
        padding-bottom: 15px;
    }

    .mb-search .collapsing {
        transition: height 0.6s;
    }

    .mb-search {
        box-shadow: #05050536 0px 1px 9px 3px
    }
}
@media (max-width:568px){
    .mega-menu .tg-themetabcontent > div ul li figure,
    .mega-menu .tg-themetabcontent > div ul li .tg-textbox{width: 100%;}
    .mega-menu .tg-themetabcontent > div ul li .tg-textbox{padding:40px 0 0;}
    .tg-breadcrumb li{padding:0 10px;}
    .tg-authorimg {
        width: 120px;
        height: 120px;
    }
    .tg-slidercontent h1 {
        font-size: 23px;
        line-height: 30px;
    }
    .tg-slidercontent h2 {
        font-size: 18px;
        line-height: 15px;
    }
    .tg-homeslidervthree .tg-slidercontent h1 {
        font-size: 25px;
        line-height: 25px;
    }
    .tg-homeslidervthree .tg-slidercontent .tg-btns .tg-btn{
        padding:0;
        width:100%;
        margin:5px 0;
    }
    .tg-addnav{display:none;}
    .tg-themedropdown.tg-currencydropdown{
        border:0;
        padding:0;
    }
    .tg-headervtwo .tg-themedropdown.tg-currencydropdown{padding: 20px 18px;}
    .tg-sectionhead .tg-btn{
        float:left;
        clear:both;
        margin:20px 0 0;
    }
    .tg-sectionhead {padding: 0 0 30px 0;}
    .tg-sectionhead h2 span {
        font-size: 14px;
        line-height: 14px;
    }
    .tg-sectionhead h2 {
        font-size: 16px;
        line-height: 16px;
    }
    .tg-calltoaction h2 {
        font-size: 22px;
        line-height: 22px;
    }
    .tg-calltoaction h3 {
        font-size: 15px;
        line-height: 18px;
    }
    .tg-paymenttype{
        width:100%;
        float:left;
        padding:0 0 15px;
    }
    .tg-paymenttype img{margin:0 auto;}
    .tg-copyright{
        width:100%;
        text-align:center;
    }
    .tg-newsgrid .row > [class^="col-"],
    .tg-newsgrid .row > [class*="col-"],
    .tg-productgrid >  [class^="col-"],
    .tg-productgrid > [class*="col-"],
    .tg-formsortshoitems,
    .tg-refinesearch > span,
    .tg-booksfromauthor .row > [class^="col-"],
    .tg-booksfromauthor .row > [class*="col-"],
    .tg-authors > [class^="col-"],
    .tg-authors > [class*="col-"],
    .tg-newreleasebooks > [class^="col-"],
    .tg-newreleasebooks > [class*="col-"],

    .tg-newsgrid .tg-post {min-height: auto;}
    .tg-404errorcontent h2 {
        font-size: 20px;
        line-height: 20px;
    }
    .tg-404errorcontent span {
        font-size: 140px;
        line-height: 100px;
    }
    .tg-comingsoonhead h2 {
        font-size: 30px;
        line-height: 20px;
    }
    .tg-comingsoonhead h3 {
        font-size: 18px;
        line-height: 15px;
    }
    .tg-postbook:hover .tg-featureimg {padding: 56px 13px 56px 0;}
    .tg-products .tg-sectionhead {
        padding-bottom: 0;
    }
}
@media (max-width:480px){
    .tg-logo{

        display:block;
        margin:0 auto;
    }
    .tg-logo a img{margin:0 auto;height: 30px}
    .tg-footercol .tg-logo a img{margin:0 auto;height: 40px}
    .tg-wishlistandcart{
        width: 100%;
        text-align:center;
        display: none;
    }
    .tg-wishlistdropdown,
    .tg-minicartdropdown{
        float:none;
        position:static;
        display:inline-block;
        vertical-align:middle;
    }
    .tg-headervtwo .tg-wishlistandcart{
        width:auto;
        position:static;
    }
    .tg-currencydropdown .tg-themedropdownmenu{
        left:0;
        width:100%;
        position:absolute;
    }
    .tg-headervtwo .tg-themedropdown.tg-currencydropdown{
        margin:0 6px 0 0;
        position:static;
    }
    .mega-menu .tg-themetabnav li{width:100%;}
    .tg-themedropdownmenu{
        margin:0;
        width:100%;
        position:absolute;
    }
    .tg-headervtwo .tg-formsearch fieldset{padding:0;}
    .tg-headervtwo .tg-formsearch fieldset button{
        padding:0;
        width:100%;
        float:right;
        margin:15px 0 0;
        position:static;
    }
    .tg-collectioncounter{width:100%;}
    .tg-collectioncounter + .tg-collectioncounter:before{display:none;}
    .tg-testimonial {padding: 0 40px;}
    .tg-clientservices li {width: 100%;}
    .tg-contactinfo li span{width:80%;}
    .tg-productdetail .tg-postbook .tg-postbookcontent .tg-btn,
    .tg-productdetail .tg-postbook .tg-postbookcontent .tg-btnaddtowishlist{
        padding:0;
        width:100%;
    }
    .tg-productdetail .tg-postbook .tg-postbookcontent .tg-btnaddtowishlist{margin:10px 0 0 0;}
    .tg-innerbannercontent h1 {
        font-size: 25px;
        line-height: 30px;
    }
    .tg-productinfo li span:first-child,
    .tg-productinfo li span:last-child{width:100%;}
    .tg-authorbox .tg-authorimg{margin:0 0 30px;}
    .tg-authorinfo{
        width:100%;
        float:left;
    }
    .tg-newsdetailimg .tg-author img{margin:0 0 10px;}
    blockquote {
        font-size:20px;
        line-height:30px;
        padding: 18px 15px 40px 15px;
    }
    .tg-newsdetail > .tg-posttitle h3 {
        font-size: 20px;
        line-height: 22px;
    }
    .tg-successslider .owl-nav{right:0;}
    .tg-authorsslider .owl-nav {top: -110px;}
    .tg-comingsoonhead {
        margin: 0 0 20px;
        padding: 0 0 20px;
    }
    .tg-comingsoonhead h2 {
        font-size: 22px;
        line-height: 18px;
    }
    .tg-comingsoonhead h3 {
        font-size: 15px;
        line-height: 15px;
    }
    .tg-counterbox{width:100%;}
}
@media (max-width:479px){
    .tg-postbook:hover .tg-featureimg {padding: 40px 13px 40px 0;}
    .tg-testimonialauthor{width:100%;}
    .tg-btns .tg-btn{
        width:100%;
        margin:5px 0;
    }
}
@media (max-width:320px){}
