/* Responsive
===================================================================
@media (max-width: 1070px)  line
@media (max-width: 767px)   line
@media (max-width: 480px)   line
*/

.row {
    margin-left: -20px;
    *zoom: 1;
}
.row:before,
.row:after {
    display: table;
    content: "";
    line-height: 0;
}
.row:after {
    clear: both;
}
[class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 20px;
}

.row-fluid {
    width: 100%;
    *zoom: 1;
}
.row-fluid:before,
.row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
}
.row-fluid:after {
    clear: both;
}
.row-fluid [class*="span"] {
    display: block;
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    margin-left: 2.127659574468085%;
    *margin-left: 2.074468085106383%;
}
.row-fluid [class*="span"]:first-child {
    margin-left: 0;
}
.row-fluid .controls-row [class*="span"] + [class*="span"] {
    margin-left: 2.127659574468085%;
}
.row-fluid .span12 {
    width: 100%;
    *width: 99.94680851063829%;
}
.row-fluid .span11 {
    width: 91.48936170212765%;
    *width: 91.43617021276594%;
}
.row-fluid .span10 {
    width: 82.97872340425532%;
    *width: 82.92553191489361%;
}
.row-fluid .span9 {
    width: 74.46808510638297%;
    *width: 74.41489361702126%;
}
.row-fluid .span8 {
    width: 65.95744680851064%;
    *width: 65.90425531914893%;
}
.row-fluid .span7 {
    width: 57.44680851063829%;
    *width: 57.39361702127659%;
}
.row-fluid .span6 {
    width: 48.93617021276595%;
    *width: 48.88297872340425%;
}
.row-fluid .span5 {
    width: 40.42553191489362%;
    *width: 40.37234042553192%;
}
.row-fluid .span4 {
    width: 31.914893617021278%;
    *width: 31.861702127659576%;
}
.row-fluid .span3 {
    width: 23.404255319148934%;
    *width: 23.351063829787233%;
}
.row-fluid .span2 {
    width: 14.893617021276595%;
    *width: 14.840425531914894%;
}
.row-fluid .span1 {
    width: 6.382978723404255%;
    *width: 6.329787234042553%;
}

/**** 2 columns proportion ****/
/*.row-fluid .span2 {
    width: 15.893617021276595%;
    *width: 15.840425531914894%;
}
.row-fluid .span10 {
    width: 81.97872340425532%;
    *width: 81.92553191489361%;
    padding-left: 18px;
}
*/
.page-content .row-fluid .span2 {
    width: 18%;
}
.page-content .row-fluid .span10 {
    padding-left: 12px;
    width: 78%;
}


[class*="span"].hide,
.row-fluid [class*="span"].hide {
    display: none;
}
[class*="span"].pull-right,
.row-fluid [class*="span"].pull-right {
    float: right;
}
.container {
    margin-right: auto;
    margin-left: auto;
    *zoom: 1;
}
.container:before,
.container:after {
    display: table;
    content: "";
    line-height: 0;
}
.container:after {
    clear: both;
}
.container-fluid {
    padding-right: 20px;
    padding-left: 20px;
    *zoom: 1;
}
.container-fluid:before,
.container-fluid:after {
    display: table;
    content: "";
    line-height: 0;
}
.container-fluid:after {
    clear: both;
}

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

.slider-wrapper ul{
    margin-bottom: 5px;
}


@-ms-viewport {
  width: device-width;
}
.hidden {
  display: none;
  visibility: hidden;
}
.visible-phone {
  display: none !important;
}
.visible-tablet {
  display: none !important;
}
.hidden-desktop {
  display: none !important;
}
.visible-desktop {
  display: inherit !important;
}
@media (min-width: 768px) and (max-width: 979px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important ;
  }
  .visible-tablet {
    display: inherit !important;
  }
  .hidden-tablet {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
  .visible-phone {
    display: inherit !important;
  }
  .hidden-phone {
    display: none !important;
  }
}
.visible-print {
  display: none !important;
}
@media print {
  .visible-print {
    display: inherit !important;
  }
  .hidden-print {
    display: none !important;
  }
}

@media (max-width: 1100px) {
    body {
        padding-left: 0px;
        padding-right: 0px;
    }
    .container,
    .navbar-static-top .container,
    .navbar-fixed-top .container,
    .navbar-fixed-bottom .container {
        width: auto;
    }
    footer, header, .header-top, .footer-logos, .header-bottom, .footer-top{
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }
	.slider-wrapper{
        margin-left: -24px;
        margin-right: -24px;
    }
    .book-actions [class*="span"] {
        border: medium none;
        padding: 0;
    }
    
	/* boxed */
	.page-wrapper {
	    width: auto;
	    -webkit-box-shadow:none;
	    -moz-box-shadow:none;
	    box-shadow:none;
	    padding: 0 24px;
	}
}

@media (max-width: 767px) {
    .page-content .row-fluid .span10 {
        padding-left: 0;
        width: 100%;
    }
    .navbar-fixed-top,
    .navbar-fixed-bottom,
    .navbar-static-top {
        margin-left: -20px;
        margin-right: -20px;
    }
    .container-fluid {
        padding: 0;
    }
    .dl-horizontal dt {
        float: none;
        clear: none;
        width: auto;
        text-align: left;
    }
    .dl-horizontal dd {
        margin-left: 0;
    }
    .container {
        width: auto;
    }
    .row-fluid {
        width: 100%;
    }
    .row,
    .thumbnails {
        margin-left: 0;
    }
    .thumbnails > li {
        float: none;
        margin-left: 0;
    }
    [class*="span"],
    .uneditable-input[class*="span"],
    .row-fluid [class*="span"] {
        float: none;
        display: block;
        width: 100%;
        margin-left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    /**** 2 columns proportion ****/
    .row-fluid .span10 {
        padding-left: 0;
    }

    .span12,
    .row-fluid .span12 {
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .row-fluid [class*="offset"]:first-child {
        margin-left: 0;
    }
    .input-large,
    .input-xlarge,
    .input-xxlarge,
    input[class*="span"],
    select[class*="span"],
    textarea[class*="span"],
    .uneditable-input {
        display: block;
        width: 100%;
        min-height: 30px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .input-prepend input,
    .input-append input,
    .input-prepend input[class*="span"],
    .input-append input[class*="span"] {
        display: inline-block;
        width: auto;
    }
    .controls-row [class*="span"] + [class*="span"] {
        margin-left: 0;
    }
    .modal {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        margin: 0;
    }
    .modal.fade {
        top: -100px;
    }
    .modal.fade.in {
        top: 20px;
    }

    /***** secondary nav *****/
    .secondary-nav {
        -moz-box-sizing: content-box !important;
        background: none repeat scroll 0 0 #363636;
        clear: both;
        margin-bottom: 22px;
        margin-left: -24px !important;
        margin-right: -24px !important;
        margin-top: -24px;
        padding: 0 24px;
        position: static;
        width: 100% !important;
    }
    .secondary-nav a#more-links-toggle {
        color: #ffffff;
        cursor: pointer;
        font-size: 13px;
        letter-spacing: 0.04em;
        margin-left: -24px !important;
        margin-right: -24px !important;
        padding: 9px 24px 7px;
        text-transform: uppercase;
    }
    .secondary-nav a#more-links-toggle {
        background: #363636 url(../img/btn-accordion.png) 97% 12px no-repeat;
    }
    .secondary-nav a#more-links-toggle.on {
        background: #363636 url(../img/btn-accordion.png) 97% -38px no-repeat;
    }
    .secondary-nav a#more-links-toggle:hover {
        text-decoration: none;
        background-color: #252525;
    }
    .secondary-nav ul {
        width: 100%;
        float: left;
        background-color: #eaeaea;
        border: none;
        padding: 0;
        -webkit-transition: max-height 0.5s ease-in-out;
        -moz-transition: max-height 0.5s ease-in-out;
        transition: max-height 0.5s ease-in-out;
        overflow: hidden;
        margin-left: -24px !important;
        margin-right: -24px !important;
        padding: 0px 24px;
        margin-bottom: 20px;
        /* max-height: 0px; */
    }
    .secondary-nav ul.open{
        max-height: 1500px; /*auto*/
    }
    .secondary-nav ul li {
        background: none repeat scroll 0 0 transparent;
        color: #FFFFFF;
        display: inline-block;
        margin: 0 9px 0 0;
        padding: 0 !important;
        border-bottom: 1px solid #dddddd;
        width: 100%;
    }

    .secondary-nav ul li:last-child{
        border-bottom: none;
        margin-bottom: 9px;
    }
    .secondary-nav ul li:first-child{
        margin-top: 7px;
    }
   .secondary-nav ul li a {
        background-color: transparent;
        }
/* 
    .secondary-nav .nav > li > a:hover, .secondary-nav .nav > li > a:focus, .secondary-nav .nav > li > a.selected {
        background-color: transparent;
        color: #fff;
    }
    .secondary-nav h3 {
        background-color: rgba(0, 0, 0, 0);
        border-bottom: medium none;
        font-size: 11px;
        margin-bottom: 4px;
        margin-top: 1px;
        padding-bottom: 4px;
        padding-left: 9px;
        text-transform: uppercase;
    }*/
    .secondary-nav h3:after {
        content: none;
    }
    .secondary-nav ul li.nav-list-title{
        margin-top: 16px;
        padding: 3px;
        border: medium none;
    }

    .slider-wrapper {
        margin-top: -24px;
    }

    /***** book images *****/
    .span3.book-images {
        float: left;
        margin-right: 16px;
        width: 23%;
    }

    /***** header mobile *****/
    header {
        border-bottom: 1px solid #EEEEEE;
        margin-bottom: 23px;
        padding-bottom: 0;
        padding-top: 4px;
    }
    .header-bottom {
        height: 12px;
    }
    .header-middle {
        padding: 6px 0 8px;
    }
    .header-middle .container{
        position: static;
    }


    /***** optical *****/
    header .span12 {
        margin-left: -4px !important;
      }
    .logo {
        display: block;
        float: none;
        margin: 0 auto;
        width: 150px;
    }
    .logo a {
        font-size: 18px;
    }
    .logo-tagline {
        font-size: 11px;
    }

    .imprints li {
        border-left: none;
    }

    .signin-container {
        margin-left: 0 !important;
    }

    .book-actions [class*="span"] {
        border: medium none;
        float: left;
        margin-bottom: 0;
        padding-bottom: 24px;
    }
    .book-definitions.span4, .social-networks-share.span4{
        width: 49%;
    }
    .book-buy{
        text-align: center;
        border-top: 1px solid #E8E8E8 !important;
    }
    .slogan {
        display: none;
    }

}


@media (max-width: 480px) {
    [class*="span"],
    .uneditable-input[class*="span"],
    .row-fluid [class*="span"] {
        float: none;
        display: block;
        width: 100%;
        margin-left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .span12,
    .row-fluid .span12 {
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .nav-collapse {
        -webkit-transform: translate3d(0, 0, 0);
    }
    .page-header h1 small {
        display: block;
        line-height: 20px;
    }
    input[type="checkbox"],
    input[type="radio"] {
        border: 1px solid #ccc;
    }
    .form-horizontal .control-label {
        float: none;
        width: auto;
        padding-top: 0;
        text-align: left;
    }
    .form-horizontal .controls {
        margin-left: 0;
    }
    .form-horizontal .control-list {
        padding-top: 0;
    }
    .form-horizontal .form-actions {
        padding-left: 10px;
        padding-right: 10px;
    }
    .media .pull-left,
    .media .pull-right {
        float: none;
        display: block;
        margin-bottom: 10px;
    }
    .media-object {
        margin-right: 0;
        margin-left: 0;
    }
    .modal {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    .modal-header .close {
        padding: 10px;
        margin: -10px;
    }
    .carousel-caption {
        position: static;
    }

    /***** code badges *****/
    span.code {
        margin-bottom: 10px;
        margin-left: 0;
        margin-top: 8px;
        width: 94%;
    }

    /***** book images *****/
    .span3.book-images {
        float: left;
        margin-right: 24px;
        width: 23%;
    }
    .book-detail-cover .book-cover{
        width: 100% !important;
    }
    #module-switcher {
        display: none;
    }

    h1{
        font-size:18px !important;
    }
    header{
        overflow: hidden;
    }

    .footer-info {
        text-align: center;
        width: 100%;
    }
    /* .nav-footer {
        display: none;
    } */
    .logo {
        width: 40%;
    }
    .logo img {
        margin-bottom: 4px;
    }
    .book-actions [class*="span"] {
        float: left;
    }

    .carrusel-book .book-cover{
    	width: 100% !important;
      	height: 225px;
	}
  
}


@media (min-width: 768px) and (max-width: 989px) {
    .row {
        margin-left: -20px;
        *zoom: 1;
    }
    .row:before,
    .row:after {
        display: table;
        content: "";
        line-height: 0;
    }
    .row:after {
        clear: both;
    }
    [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 20px;
    }
    .container,
    .navbar-static-top .container,
    .navbar-fixed-top .container,
    .navbar-fixed-bottom .container {
        width: auto;
    }
    .row-fluid {
        width: 100%;
        *zoom: 1;
    }
    .row-fluid:before,
    .row-fluid:after {
        display: table;
        content: "";
        line-height: 0;
    }
    .row-fluid:after {
        clear: both;
    }
    .row-fluid [class*="span"] {
        display: block;
        width: 100%;
        min-height: 30px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        float: left;
        margin-left: 2.7624309392265194%;
        *margin-left: 2.709239449864817%;
    }
    .row-fluid [class*="span"]:first-child {
        margin-left: 0;
    }
    .row-fluid .controls-row [class*="span"] + [class*="span"] {
        margin-left: 2.7624309392265194%;
    }
    .row-fluid .span12 {
        width: 100%;
        *width: 99.94680851063829%;
    }
    .row-fluid .span11 {
        width: 91.43646408839778%;
        *width: 91.38327259903608%;
    }
    .row-fluid .span10 {
        width: 82.87292817679558%;
        *width: 82.81973668743387%;
    }
    .row-fluid .span9 {
        width: 74.30939226519337%;
        *width: 74.25620077583166%;
    }
    .row-fluid .span8 {
        width: 65.74585635359117%;
        *width: 65.69266486422946%;
    }
    .row-fluid .span7 {
        width: 57.18232044198895%;
        *width: 57.12912895262725%;
    }
    .row-fluid .span6 {
        width: 48.61878453038674%;
        *width: 48.56559304102504%;
    }
    .row-fluid .span5 {
        width: 40.05524861878453%;
        *width: 40.00205712942283%;
    }
    .row-fluid .span4 {
        width: 31.491712707182323%;
        *width: 31.43852121782062%;
    }
    .row-fluid .span3 {
        width: 22.92817679558011%;
        *width: 22.87498530621841%;
    }
    .row-fluid .span2 {
        width: 14.3646408839779%;
        *width: 14.311449394616199%;
    }
    .row-fluid .span1 {
        width: 5.801104972375691%;
        *width: 5.747913483013988%;
    }
    input,
    textarea,
    .uneditable-input {
        margin-left: 0;
    }
    .controls-row [class*="span"] + [class*="span"] {
        margin-left: 20px;
    }
    input.span12,
    textarea.span12,
    .uneditable-input.span12 {
        width: 710px;
    }
    input.span11,
    textarea.span11,
    .uneditable-input.span11 {
        width: 648px;
    }
    input.span10,
    textarea.span10,
    .uneditable-input.span10 {
        width: 586px;
    }
    input.span9,
    textarea.span9,
    .uneditable-input.span9 {
        width: 524px;
    }
    input.span8,
    textarea.span8,
    .uneditable-input.span8 {
        width: 462px;
    }
    input.span7,
    textarea.span7,
    .uneditable-input.span7 {
        width: 400px;
    }
    input.span6,
    textarea.span6,
    .uneditable-input.span6 {
        width: 338px;
    }
    input.span5,
    textarea.span5,
    .uneditable-input.span5 {
        width: 276px;
    }
    input.span4,
    textarea.span4,
    .uneditable-input.span4 {
        width: 214px;
    }
    input.span3,
    textarea.span3,
    .uneditable-input.span3 {
        width: 152px;
    }
    input.span2,
    textarea.span2,
    .uneditable-input.span2 {
        width: 90px;
    }
    input.span1,
    textarea.span1,
    .uneditable-input.span1 {
        width: 28px;
    }
        .author-nav .nav-tabs > li > a{
        font-size: 11px;
        margin-right: 1px;
        padding: 6px;
    }
}
@media (min-width: 980px) {
    .nav-collapse.collapse {
        height: auto !important;
        overflow: visible !important;
    }
}


@media(max-width:768px) {
    .news-section li {
        width: calc(100% / 2);
    }
}

.page-cart .label, #order-summary .label{
    white-space: normal;
}