/* MPrep global styles.  Temporarily located here, when final LESS files are delivered, move these styles there. */

/* Margins */
.bump-left{
  margin-right: 10px;
}
.bump-lefter{
  margin-right: 20px;
}
.bump-right{
  margin-left: 10px;
}
.bump-righter{
  margin-left: 20px;
}
.bump-down{
  margin-top: 10px;
}
.bump-downer{
  margin-top: 20px;
}

/* Quick aligns */
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.align-left {
  text-align: left;
}

/* Colors */
.white{
  color: #fff;
}
.red{
  color: #e83831;
}
.black{
  color: #2d2d30;
}

/* Toggling content */
.hide {
  display: none;
}
.show {
  display: block;
}

/* Forums */
.padding-for-alert-message{
  padding-left:10px;
  padding-right:10px;
}

/* Old Wells/Sections */
.section{padding:40px 0;}
.section.first,.section+.section{padding-top:0;}
.section.last{padding-bottom:0;}
.bg-white{background:#ffffff;}
.bg-gray{background:#333333;}
.bg-diag{background:url("../../../images/gmat/design/backgrounds/bg-diag-lines.png");}
.bg-diag.section{padding:20px;}
.bg-diag.section.section-small{padding:10px;}
.bg > .section{padding:40px; background: #fff;}
.bg > .section.section-medium{padding:30px;}
.bg > .section.section-small{padding:20px;}
.bg > .section.section-smaller{padding:8px;}
.padded-section{padding: 20px;}
.padded-section.padded-section-small{padding: 10px;}


/* CSS3 */
.rounded-3  { .border-radius(3px);  }
.rounded-5  { .border-radius(5px);  }
.rounded-10 { .border-radius(10px); }
.inset{
  .box-shadow( inset 0 -10px 30px rgba(0,0,0,.8) );
}
.bg-transition{
  -webkit-transition: background-color 0.15s ease-in;
  -moz-transition: background-color 0.15s ease-in;
  -o-transition: background-color 0.15s ease-in;
  transition: background-color 0.15s ease-in;
}
.all-transition{
  -webkit-transition: all 0.15s ease-in;
  -moz-transition: all 0.15s ease-in;
  -o-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.drop-shadow{
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.drop-shadow.darker{
  -webkit-box-shadow: 0px 0px 3px 1px rgba(0,0,0,.5);
  -moz-box-shadow: 0px 0px 3px 1px rgba(0,0,0,.5);
  box-shadow: 0px 0px 3px 1px rgba(0,0,0,.5);
}
.inner-shadow{
  -webkit-box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,.075);
  -moz-box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,.075);
  box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,.075);
}

/*******************************
      Google Search Results
********************************/
#main .gsc-selected-option-container {
  width: 90px!important;
}

/*******************************
      Homepage Overrides
********************************/
@media only screen and (max-width: 767px) {
  .tests-holder .test-box.hover .btn-default {
     display: inline-block;
  }
  .tests-holder .test-box.hover h2 {
    margin-bottom: 0px;
  }
}

@media only screen and (max-width: 767px) {
  .tests-holder .test-box.hover .btn-default {
     display: inline-block;
  }
  .tests-holder .test-box.hover h2 {
    margin-bottom: 0px;
  }
}

/*
TODO:  Update the LESS files, find the style rule which looks like:
@media only screen and (max-width: 991px) {
  .prep-options-modules > .row.add > div {
    display: block;
  }
}
and replace it with the rule below
*/
@media only screen and (max-width: 767px) {
  .prep-options-modules > .row.add > div {
    display: block;
  }
}

/*******************************
      Class search module
********************************/
#sidebar form.location-search{
  margin-top: 0;
}
#upcomingNotice{
  padding: 20px 0;
  text-align: center;
}
#googleMapModule{
  border-bottom: 1px solid #ddd;
}
#googleMapModule{
  visibility: hidden;
  opacity: 0;
}
#googleMapWrapper{
  min-height: 0;
  height: 0;
  overflow: hidden;
}
#googleMap{
  height: 350px;
  border-radius: 8px;
}
#googleMapToggleWrapper{
  margin-top: 5px;
}
@media only screen and (max-width: 767px) {
  #googleMapToggleWrapper{
    margin-right: 20px;
  }
}
.filter-count{
  font-weight: normal;
  font-size: 14px;
}
#sidebar .filter-count{
  position: relative;
  top: -5px;
}
.nav-tabs > li > a.tab-filter{
  font-size: 16px;
}
.sort-row, #googleMapToggle{
  cursor: pointer;
}
th.sort-row.col-xs-3 {
  padding: 12px 0 18px 22px;
}
#events .alert{
  margin-bottom: 0;
}

.table-hover > tbody > tr.no-hover:hover {
  background: #FFFFFF;
}

@media only screen and (max-width: 767px) {
  .course-tab .table thead {
    display: none !important;
  }
}
/*Makes class 'tabs' look clickable*/
tr.opener * { cursor: pointer }

#custom-trial-link {
  white-space: nowrap;
  padding-left: 0px;
}

.optionalPackages-CheckBox-class-search-styling{
  padding: 7px;
  position: relative;
  top: 2px;
}

@media only screen and (min-width: 768px) {
  .warning-banner.find-class-details-notifications{
    /*display: none !important;*/
    padding: 1px 0;
  }
}


/*******************************
          Class Details
********************************/
.event-detail-price .meta {
  margin: 0 0 10px;
}

.event-detail-price .price.international{
  font-size: 1.5em;
}

.event-detail-price .price.international small{
  font-size: 65%;
}

#map-canvas {
  height: 364px;
  width: 100%;
}

.map-info-holder {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 99;
}

.calendar-wrapper{
  float: left;
  margin-right: 32px;
}

@media screen and (min-width: 1200px) {
  .calendar-wrapper:nth-child(3n){
    margin-right: 0;
  }
}

.calender{
  min-height: 280px;
}

.calender td {
  padding: 5px 10px;
}

/* This directly overrides PSD2HTML styles.  Update their LESS files when we have the final files. */
.map-container .info-box{
  height: auto;
}

@media screen and (max-width: 767px) {
  .calendar-wrapper, .calender {
    width: 100%;
  }
}
#events .alert{
  margin-bottom: 0;
}

.optionalPackages-CheckBox-class-details-styling{
  padding-left: 2px;
  padding-right: 0px;
  position: relative;
  top: 2px;
}

@media screen and (min-width:992px) and (max-width: 1199px) {
  .optionalPackages-CheckBox-class-details-styling{
    margin-left: 10px;
    text-align: center;
  }
}

/************************************************************
          LSAT Class Search & Class Details Modal
*************************************************************/
.optionalPackages-Checkbox-Styling{
  font-family: "Open Sans";
  font-weight: bold;
  color: #333;
  font-size: 11px;
  text-transform:uppercase;
}

.custom-modal-body{
  background-color: #474747;
  padding-bottom: 20px;
}
.custom-modal-font-color{
  color:#EBEBEB;
}
.custom-modal-circle {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  width: 75px;
  padding: 8px;
  font-size: 40px;
  font-weight: bold;
  color: #000000;
  line-height: 1em;
  background-color: #EBEBEB;

}
.custom-modal-circle .height_fix {
    margin-top: 100%;
}
.custom-modal-circle .content {
  position: absolute;
  left: 11px;
  top: 50%;
  height: 100%;
  width: 100%;
  text-align: center;
  margin-top: -20px; /* Note, this must be half the font size */
}
.custom-modal-footer{
  font-size: 13px;
  text-align: left;
}
.custom-modal-top-margin{
  margin-top: 20px;
}
.custom-modal-margins {
  margin-top: 20px;
  margin-left: 3.333333%;
  margin-bottom: 20px;
}
@media screen and (max-width: 991px) {
  .custom-modal-margins {
    margin-left: 8.33333333%;
  }

  .custom-modal-circle .content {
    left: 24px;
  }
}
@media screen and (max-width: 767px) {
  .custom-modal-circle .content {
    left: 30px;
  }
}
@media screen and (max-width: 730px) {
  .custom-modal-circle .content {
    left: 35px;
  }
}
@media screen and (max-width: 600px) {
  .custom-modal-circle .content {
    left: 37px;
  }
}
@media screen and (max-width: 541px) {
  .custom-modal-margins {
    margin-left: 12px;
    margin-bottom: 12px;
    padding-left: 0px;
  }
  .custom-modal-circle {
    width: 50px;
    margin-top: 20px;
    margin-left: -25px;
    font-size: 32px;
  }
  .custom-modal-circle .content {
    margin-top: -16px;
    left: 0px;
    top: 60%;
  }
}

/*******************************
     Location Landing Pages
********************************/
@media only screen and (max-width: 992px) {
  .location-container .inner-banner .img-holder {
    min-height: 420px;
  }
  .location-container .inner-banner .img-holder img{
    width: auto;
  }
}

@media only screen and (max-width: 767px) {
  .location-container .inner-banner .banner-text {
    font-size: 21px;
    line-height: 36px;
  }
  .location-container .inner-banner h1 {
    font-size: 42px;
    line-height: 49px;
    margin: 0 auto 10px;
  }
}

/*******************************
 GMAT & GRE Student Center Tabs
********************************/
.student-center-nav > li > a{
  padding: 14px 12px 17px;
}

#gmat-student-center-nav > li > a{
  font-size: 14px;
}

#gre-student-center-nav > li > a{
  font-size: 12px;
}

.student-center-sub-nav{
  padding: 15px 10px 0 10px;
  border-bottom: 1px solid #e5e3e1;
}

.student-center-sub-nav > li {
  border-right: 1px dashed #ccc;
  padding-left: 5px;
  padding-right: 10px;
  margin-bottom: 10px;
}

.student-center-sub-nav > li:last-child {
  border-right: none;
}

@media only screen and (max-width: 767px) {
  .student-center-nav > li {
    float: none;
    margin: 0;
    border-bottom: 1px solid #e5e3e1;
  }

  .student-center-nav > li > a {
    display: block;
    font: 800 26px/30px "Open Sans", Arial, Helvetica, sans-serif;
    color: #232220;
    padding: 23px 40px 23px 20px;
    position: relative;
    outline: none;
    letter-spacing: -.06em;
    background: none;
    border: none;
    border-radius: 0;
  }
  .student-center-nav > li.active > a,
  .student-center-nav > li.active > a:hover,
  .student-center-nav > li.active > a:focus{
    border-left: none;
    border-right: none;
  }
}

/*******************************
    LSAT Student Center Tabs
********************************/
#lsat-student-center-nav{
  margin-bottom: 20px;
}

/*
  TODO:  This 'cta-box' class was copied and modified from PSD2HTML's faq-support.html template.
  Their 'side-cta-box' seems a bit too specific (it has float: right, but we can use pull-right)
  When this file is incorporated with the LESS files (when we get the 'final' deliverables),
  resolve this duplication by making their 'side-cta-box' more general (maybe just use what's
  written here) and then updating their templates.
*/
.cta-box{
  background: #2d2d30;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 34px 20px 40px;
  margin-bottom: 20px;
}

.cta-box > h4,
.cta-box > h4 > a{
  color: #fff;
}

/*******************************
      Vertical Sidebar Nav
********************************/
.vertical-nav > li{
  border: 1px solid #e5e3e1;
  border-bottom: none;
}

.vertical-nav > li:last-child{
  border-bottom: 1px solid #e5e3e1;
}

.vertical-nav > li > a{
  display: block;
  font: 800 16px "Open Sans", Arial, Helvetica, sans-serif;
  color: #232220;
  padding: 12px 20px 12px 23px;
  background: #f5f5f5;
  color: #777777;
}

.vertical-nav > li.active > a,
.vertical-nav > li > a:hover,
.vertical-nav > li > a:focus{
  background: #fff;
  padding-left: 20px;
  border-left: 3px solid #e83831;
  color: #232220;
}

#sidebar > .section{
  margin-bottom: 20px;
}

/*******************************
    GMAT Student Center Pages
********************************/

/* Home */
.student-resources h5{
  margin-top: 0;
  margin-bottom: 5px;
}

.student-resources > .col-md-6{
  margin-bottom: 10px;
}

.student-resources > .col-md-6:nth-child(2n+1){
  clear: both;
}

.question-bank-review-box{
  border-top: 1px dashed #ddd;
}

#home-content > h3{
  margin-top: 30px;
  text-align: center;
}

/*******************************
              Store
********************************/

.product-image img{
  max-width: 95%;
  margin-left: -4px;
}

@media only screen and (max-width: 767px) {
  .catalog-item .img-holder {
    height: auto;
  }
  .catalog-item{
    min-height: initial;
  }
}

.catalog-item .title-box{
  font-size: 1.4em;
}

.catalog-item{
  min-height: 370px;
  background: #f5f5f5;
}

.catalog-item .img-holder img{
  max-height: 260px;
}

.product-description .product-image img{
  max-height: 330px;
}

.review-order-form .row-section{
  background: #fff;
}

/*******************************
        Account Management
********************************/
.help-inline{
  color: #e83831;
}

.autocomplete{
  margin-top: 2px;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  overflow: hidden;
  box-shadow: 0px 0px 5px 3px rgba(0,0,0,.05);
}

.autocomplete > div{
  padding: 10px;
  cursor: pointer;
}

.autocomplete strong{
  color: #e83831;
}

.autocomplete > div:hover{
  background: #efefef;
}

/*******************************
            Cart
********************************/

.read-more-link.btn-remove {
  font-size: 12px;
}

.cart-form .table > tbody td.price small{
  font-size: 50%;
  font-weight: normal;
}

td.price .popover-content{
  width: 275px;
  word-break: normal;
}

.cart-form .table > tbody > tr.last-child > td{
  vertical-align: middle;
}

/* TODO: Update the LESS file instead of overriding it here */
.progress-nav{
  margin-top: 0px;
}

/* TODO: Update the LESS file instead of overriding it here */
.cart-form .table .name{
  font-size: 1.25em;
}

/*
  TODO: Update the LESS file instead of overriding it here:
  Update this style rule: .cart-form .table > tbody td.price;
*/
.cart-total-price{
  font-family: 'Bitter', Georgia, "Times New Roman", Times, serif;
  font-weight: normal;
}

.order-table td,
.order-table td:first-child{
  padding: 20px 0;
}

.order-table td p:last-child{
  margin-bottom: 0;
}

.bill-only-table tr td{
  padding: 5px 0;
}

.order-confirm .cart-review-box{
  border-bottom: none;
  margin-bottom: 0;
}

.order-confirm .order-table td, .order-confirm .order-table td:first-child{
  padding: 10px 0;
}

.checkout-form .error, .checkout-form .error-message{
  color: #e83831;
}

/*******************************
  General/Global Page Structure
********************************/

.top-text {
  padding-top: 75px;
}

.content-template-container{
  padding-top: 40px;
  padding-bottom: 40px;
}

.content-template-container+.content-template-container{
  padding-top: 0px;
}

/*******************************
        About Page
********************************/

/* TODO:  Temporary overrides.  Update the final styles once they're delivered */
.began-module .stats-list {
  padding: 85px 0 63px 25px;
}

.began-module .stats-list .num {
  font-size: 3.325em;
}


/*******************************
        Jobs Pages
********************************/

/* TODO:  Temporary overrides.  Update the final styles once they're delivered */
.application-form .upload-item.resume .jcf-fake-input,
.application-form .upload-item.cover-letter .jcf-fake-input,
.application-form .upload-item.score-report .jcf-fake-input {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  background: #adacaa;
  text-transform: uppercase;
  font: 700 14px/28px "Open Sans", Arial, Helvetica, sans-serif;
  color: #fff;
  border-radius: 3px;
  float: left;
  letter-spacing: .08em;
  padding: 6px 20px;
  margin: 0;
  width: 165px;
  text-align: center;
}

.application-form .upload-item.resume .jcf-upload-button,
.application-form .upload-item.cover-letter .jcf-upload-button,
.application-form .upload-item.score-report .jcf-upload-button {
  display: none;
}

/*******************************
        Instructor Modals
********************************/

/*
  Target both tables and phones when using fancybox
  fixes view of fancybox
*/
@media only screen and (max-width: 767px) {
  .fancybox-inner .instuctors-bio,
  .fancybox-inner .bio-detail{
    max-height: inherit !important;
  }
}

.fancybox-inner .container #instructor-bio-main{
  overflow-x:hidden;
  overflow-y:scroll;
  height:100px;
}
.fancybox-inner .instuctors-bio,
.fancybox-inner .bio-detail{
  max-height: 500px;
  overflow-x:hidden;
  overflow-y:hidden;
}
.fancybox-inner .testimonials-slide-holder{
  padding: 15px 0;
}
.fancybox-inner .instuctors-bio {
  padding-top: 20px;
 }

.comments .name{
  font-weight: bold;
}
.comments .date{
  font-style: italic;
}

.comments ol{
  counter-reset: item;
  margin-left: 0;
  padding-left: 0;
}
.comments ol li{
  border-bottom: 1px solid #e5e3e1;
  display: block;
  margin-bottom: .5em;
  margin-left: 2em;
}

.comments li:before{
    display: inline-block;
    content: counter(item);
    counter-increment: item;
    width: 2em;
    margin-left: -2em;
}
.instructor-box{
  min-height: 227px;
  background: #EBEBEB url("../../../images/mp/missing-photo.png");
}

/*******************************
        Navbar WP active links
********************************/
.navbar-nav li.current_page_item > a:before,
.navbar-nav li.current_page_parent > a:before{
height: 3px;
bottom: -4px;
left: 0;
right: 0;
content: "";
position: absolute;
background: #e83831;
z-index: 999;
}

.round-top-left-corner{
  -webkit-border-radius: 20px 0 0 0;
  -moz-border-radius: 20px 0 0 0;
  border-radius: 20px 0 0 0;
}

/* JCF Overrides (If we don't want to use the custom form library)*/
input[type="radio"].exclude{
  -webkit-appearance: radio !important;
  position: static;
}
/*******************************
    Rebrand Notice
********************************/
#mp-rebrand-notice{
  position:fixed;
  bottom:0;
  right:0;
  margin: 0;
  padding: 0;
  background: #e83831;
  color: #f5f5f5;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  z-index:9999;
}
#mp-rebrand-notice h4{
  padding: 0.6em 0 0 0;
  color: #f5f5f5;
}
#mp-rebrand-notice a{
  color: #f5f5f5;
  font-style: italic;
}
#mp-rebrand-notice-close{
  position: absolute;
  top: -18px;
  left: -18px;
  width: 36px;
  height: 36px;
  padding: 1em;
  z-index: 9999999;
  background: url("../../js/lib/fancybox/source/fancybox_sprite.png");
}
@media all and (max-width: 600px) {
  #mp-rebrand-notice-close{
    left:0;
  }
}
#mp-rebrand-notice-msg{
  display:none;
}
@media all and (max-width: 600px) {
  #mp-rebrand-notice-msg  {
    width:100%;
  }
}
#mp-rebrand-notice-slideout{
  background: url('../../images/mp/logo-white-sm.png');
  background-repeat: no-repeat;
  background-position: center;
  height: 64px;
  width: 64px;
  cursor: pointer;
  display:none;
}

/*******************************
    Resources and Articles
********************************/
.tutorial-titles{
  padding-bottom: 25px;
}

.resources-item{
  padding: 35px 22px 11px;
}

.article-heading{
  padding-bottom: 9px;
}

.tag-titles{
  padding: 15px 0;
}

/*******************************
   Images
********************************/

.staff-image-before img{
  width: 92px;
  height: 120px;
  padding: 0px;
}

.staff-image-before {
  padding: 5px;
  border: 2px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  display: block;
}

.staff-block {
  padding-bottom: 5px;
  max-height: 139px;
}

.staff-image-after img{
  width: 145px;
  height: 200px;
  padding: 0px;
}

.staff-image-after {
  display: block;
  background: #ffffff;
  padding: 5px;
  line-height: 18px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
}

.staff-captions{
  width: 145px;
  height: 100%;
  padding: 10px 0 0 0px;
}

.resource-menu-nav li > a{
  font-size: 16px;
}

.resources-header-band{
  display: block;
  margin-top: 1em;
  margin-bottom: 0em;
  border-width: 4px;
}

/*******************************
     Cart button mobile
********************************/

@media only screen and (max-width: 767px) {
  #cart-bottom-nav .btn{
    width: 100%;
    margin: 0 0 0.5em;
  }
}
@media only screen and (max-width: 767px){
  .cart-form .table tr td:first-child {
    width: 100% !important;
    padding: 15px 100px 7px 20px;
  }
}
@media only screen and (max-width: 767px){
  .form-actions{
    text-align: center;
  }
}

/*******************************
    wp stuff
********************************/
.article-header{
  margin: 0;
}
#blog-sidebar .children li{
  margin-left:1em;
}
#blog-sidebar .current-cat-parent > a{
  font-weight: bold;
}
#blog-sidebar .current-cat > a{
  color: #E83831 !important;
}
.article-holder blockquote{
  padding: 0 0 0 1em !important;
  border-left: 5px solid #eeeeee !important;
  font-size:  1em !important;
}
.share-and-tag{clear: both; padding:1em 0;} /* fix for articles that feature a large image and short copy before more */
/* wp defaul blog positioning */
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/*******************************
        LSAT Student Center
********************************/
.lesson-accordion-inner{
padding: 15px 28px;
background: #fff;
padding-left: 20px;
border-left: 3px solid #e83831;
color: #232220;
}

/*******************************
  carousel-caption
  xs text overflow fix
********************************/
@media all and (max-width: 767px) {
  .carousel-caption h1{
    font-size: 42px;
  }
}

/* icons in headers */
h3 .label img{
  height:60px;
  width:60px;
  margin-left: -10px;
}

.blog-search-form{
  float: right;
  max-width: 215px;
  width: 100%;
  background: #f5f5f5;
}

.blog-search-title{
  font: 800 20px/32px "Open Sans", Arial, Helvetica, sans-serif;
  display: block;
  color: #2d2d30;
  margin: 0 13px 6px;
  letter-spacing: -.04em;
}
.blog-search-form input[type=text]{
  width: 150px;
  border: 1px solid #e5e1dc;
  height: 42px;
}
.blog-search-form button[type="submit"]{
  padding: 6px 10px;
}
#search-form .form-holder{
  padding: 13px 12px 0;
}

.has-advertisement-bar .banner-text{
  top: 50px;
}

@media only screen and (max-width: 767px) {
  .has-advertisement-bar .banner-text{
    top: 65px;
  }
}

/*******************************
      GMAT NAVIGATOR
********************************/
#navigator-logo {
  display: inline-block;
  float: right;
}
#navigator-logo img{
  width: 200px;
}
