/*
	Theme Name: mcgill
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
* html .clearfix {
    height: 1%;
}
:first-child + html .clearfix {
    min-height: 1%;
}
body {
  background: #e9e9e9;
  font-family: "Open Sans",​sans-serif;
}

/** COLUMNS
--------------------------------------
*
*/
.main-column {
  margin: auto;
  width: 1035px;
}
.column-left {
  float: left;
  width: 760px;
}
.column-right {
  float: right;
  width: 244px;
}
@media all and (max-width: 1045px) {
  .main-column {
    float: none;
    width: 100%;
  }
  .column-right,
  .column-left {
    float: none;
    margin: 0 auto;
    width: 94%;
  }
}

/** PAGE
--------------------------------------
*
*/
.page h1 {
    background: #4D4D4D;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 22px;
    line-height: 1.2;
    text-transform: uppercase;
}
.main-content h1,
.block-title {
    background: none repeat scroll 0 0 #4d4d4d;
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 20px 0;
    padding: 7px 0 9px 38px;
    text-transform: uppercase;
}
.main-content .content {
  background: #FFFFFF;
  color: #7A7A7A;
  font-size: 14px;
  line-height: 19px;
  margin: 0 0 25px 0;
  padding: 20px 30px 20px 39px;
}
.main-content .content h2 {
  color: #EC3645;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}
.main-content .content a {
  color: #EC3645;
  text-decoration: none;
}
.main-content .content a.download-button {
  border: 2px #EC3645 solid;
  padding: 10px 15px 10px 15px;
  margin: 10px 0 15px 0;
  display: inline-block;
  font-weight: bold;
}
.main-content .content a:hover {
  text-decoration: underline;
}
.main-content .content a.download-button:hover {
  text-decoration: none;
  background: #EC3645;
  color: #fff;
}
.main-content .content hr {
  background: #EC3645;
  border: 0 none;
  color: #EC3645;
}
.main-content .content em,
.main-content .content i {
  font-style: italic;
}
.main-content .content ul {
  list-style-type: disc;
  list-style-position: outside;
  padding: 0 0 0 15px;
}
.main-content .content strong {
  font-weight: 700;
}
.main-content .content .btn {
  background: url('/wp-content/themes/mcgill/images/ico-download-white.png') -6px 0 no-repeat #EC3645;
  color: #FFFFFF;
  display: inline-block;
  height: 24px;
  padding: 17px 15px 14px 44px;
  text-decoration: none;
  text-transform: uppercase;
}
.btn-input input {
  background: #EC3645;
  border: 0 none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 17px 15px 14px 15px;
  text-decoration: none;
  text-transform: uppercase;
}
.btn-input input:hover {
  background: #FFFFFF;
  border: 3px solid #EC3645;
  color: #EC3645;
  padding: 14px 12px 11px 12px;
}

/** REGISTRATION FORM
--------------------------------------
*
*/
.registration-page input[type=text],
.registration-page input[type=email],
.registration-page textarea {
  width: 100%;
  -webkit-box-sizing : border-box;‌​
    -moz-box-sizing : border-box;
    box-sizing : border-box;
}
.registration-page .label {
  font-weight: bold;
}
.registration-page .row {
  margin: 0 0 10px 0;
}
.registration-page .last-name {
  float: left;
  margin: 0 2% 0 0;
  width: 49%;
}
.registration-page .first-name {
  float: left;
  margin: 0 0 0 0;
  width: 49%;
}
.registration-page .title {
  float: left;
  margin: 0 2% 0 0;
  width: 48%;
}
.registration-page .address-city,
.registration-page .address-state,
.registration-page .address-country,
.registration-page .address-zip {
  float: left;
  margin: 0 2% 0 0;
  width: 49%;
}
.registration-page .address-zip,
.registration-page .address-state {
  margin: 0 0 0 0;
}
.registration-page .email-field {
  float: left;
  margin: 0 2% 0 0;
  width: 49%;
}
.registration-page .phone-field {
  float: left;
  margin: 0 0 0 0;
  width: 49%;
}
.registration-page .prerequisite .label {
  float: left;
  min-height: 50px;
  width: 40%;
}
.registration-page .prerequisite .input {
  float: left;
  width: 60%;
}
.registration-page .prerequisite .wpcf7-list-item {
  display: block;
}
.registration-page .application .wpcf7-list-item  {
  display: block; 
}
.registration-page .food .col-1 {
  float: left;
  width: 25%;
}
.registration-page .food .col-2 {
  float: left;
  width: 75%;
}
.registration-page .food .checkbox-739 .wpcf7-list-item,
.registration-page .food .preferred-diet .wpcf7-list-item {
  display: block;
}
.registration-page .food .specify {
  margin: 0 0 0 70px;
}

/** BLOCK SUBSCRIBE
--------------------------------------
*
*/
.block-subscribe {
  background: #EC3645;
  color: #FFFFFF;
  margin: 0 0 18px 0;
  padding: 15px 24px 23px 24px;
}
.block-subscribe h2 {
  background: url('/wp-content/themes/mcgill/images/calendar.png') no-repeat 0 0;
  font-size: 20px;
  line-height: 26px;
  padding: 15px 0 10px 75px;
  text-transform: uppercase;
}
.block-subscribe h2 span {
  font-size: 26px;
}
.block-subscribe .information {
  margin: 0 0 20px 0;
  text-align: center;
}
.block-subscribe .date {
  font-size: 60px;
  font-weight: bold;
  margin: 0 0 14px 0;
  text-align: center;
}
.block-subscribe .date strong {
  font-size: 79px;
}
.block-subscribe .btn-light {
  font-size: 12px;
  height: 54px;
  text-align: center;
}
.rich-text .btn-light {
  font-size: 18px;
  height: 54px;
  text-align: center;
  margin: 15px 0 30px 0;
  float: left;
  width: 50%;
}
.block-subscribe .btn-light a {
  border: 3px solid #FFFFFF;
  color: #FFFFFF;
  display: inline-block;
  padding: 18px 41px 18px 41px;
  text-transform: uppercase;
  text-decoration: none;
}
.rich-text .btn-light a {
  border: 3px solid #EC3645;
  color: #fff;
  display: inline-block;
  padding: 25px 41px;
  min-width: 169px;
  text-transform: uppercase;
  text-decoration: none;
  background: #EC3645;
}
.rich-text .btn-light a:hover {
  background: #FFFFFF;
  color: #EC3645;
  text-decoration: none;
}
.block-subscribe .btn-light a:hover {
  background: #FFFFFF;
  color: #EC3645;
}
.register-2-cols .btn-light{
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
@media all and (max-width: 1045px) {
  .block-subscribe h2 span {
    display: block;
  }
  .block-subscribe .date strong {
      font-size: 60px;
  }
}

/** BLOCK APP
*
*/

.block-app{
  background: #EC3645;
  color: #FFFFFF;
  margin: 0 0 18px 0;
  padding: 15px 24px 23px 24px;
}
.block-app .title{
    font-size: 20px;
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 120%;
}
.block-app .btn-light{
  font-size: 12px;
  height: 54px;
  text-align: center;
}

.block-app .btn-light a:hover{
  background: #FFFFFF;
  color: #EC3645;
}

.block-app .btn-light a {
  border: 3px solid #FFFFFF;
  color: #FFFFFF;
  display: inline-block;
  padding: 18px 41px 18px 41px;
  text-transform: uppercase;
  text-decoration: none;
}

@media all and (max-width: 1045px) {
  .block-subscribe h2 span {
    display: block;
  }
}
/** BLOCK MAILCHIMP
--------------------------------------
*
*/
.block-mailchimp {
  background: #EC3645;
  color: #FFFFFF;
  margin: 0 0 18px 0;
  padding: 15px 16px 23px 16px;
}
.block-mailchimp h2 {
  background: url('/wp-content/themes/mcgill/images/ico-envelope.png') no-repeat 0 0;
  font-size: 17px;
  line-height: 23px;
  padding: 0px 0 10px 75px;
  text-transform: uppercase;
}
.block-mailchimp h2 span {
  font-size: 22px;
}
.block-mailchimp #mc_embed_signup label {
  font-weight: 300;
}
.block-mailchimp #mc_embed_signup input {
  border: 0 none;
}
.block-mailchimp #mc_embed_signup {
  background: #EC3645;
}
.block-mailchimp #mc_embed_signup form {
  padding: 0 0 0 0;
}
.block-mailchimp #mc_embed_signup .button {
  background: #EC3645;
  border: 3px solid #FFFFFF;
  border-radius: 0;
  color: #FFFFFF;
  display: block;
  font-size: 12px;
  font-weight: 400;
  height: 54px;
  line-height: 12px;
  margin: 17px auto 0 auto;
  padding: 18px 41px 18px 41px;
  text-transform: uppercase;
  text-decoration: none;
}
.block-mailchimp #mc_embed_signup .mc-field-group {
  margin: 0 auto;
}
.block-mailchimp #mc_embed_signup .button:hover {
  background: #FFFFFF;
  color: #EC3645;
}
.block-mailchimp #mc_embed_signup #mce-success-response {
  color: #FFFFFF;
}
.block-mailchimp #mc_embed_signup .indicates-required .asterisk {
  color: #FFFFFF;
}
.block-mailchimp #mc_embed_signup .mc-field-group .asterisk {
  color: #4D4D4D;
}
@media all and (max-width: 1045px) {
  .block-mailchimp h2 span {
    display: block;
  }
}

/** BLOCK SPONSORS
--------------------------------------
*
*/
.block-sponsors {
  margin: 0 0 25px 0;
}
.block-sponsors ul {
  background: #FFFFFF;
  padding: 15px 0 15px 0;
}
.block-sponsors ul li{
  float: left;
}
.block-sponsors ul li:last-child:nth-child(odd){
  width: 100%;
}
.block-sponsors li {
  height: 140px;
  width: 50%;
  float: left;
  
}
.block-sponsors ul li img{
  max-width: 95%;
  max-height: 90%;
}
.block-sponsors .bx-wrapper {
  background: #FFFFFF;
  min-height: 174px;
  position: relative;
}
.block-sponsors .bx-prev {
  background: url('/wp-content/themes/mcgill/images/ico-arrow-left.png') no-repeat center center #FFFFFF;
  border-right: 1px solid #E9E9E9;
  display: block;
  height: 174px;
  position: absolute;
  top: 0;
  width: 50px;
}
.block-sponsors .bx-next {
  background: url('/wp-content/themes/mcgill/images/ico-arrow-right.png') no-repeat center center #FFFFFF;
  border-left: 1px solid #E9E9E9;
  display: block;
  height: 174px;
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
}
.block-sponsors li img {
  display: block;
  margin: 0 auto 0 auto;
}
@media all and (max-width: 860px) {
  .block-sponsors ul li{
    float: none;
    width: 100%;
  }
  .block-sponsors li img {
    max-width: 100%;
    max-height: 90%;
  }
}

/** SPEAKERS LIST
--------------------------------------
*
*/
.speaker-list h2 {
  margin: 0 0 20px 0 !important;
}
.speaker-list .picture {
  float: left;
  margin: 0 15px 5px 0;
}
.speaker-list .speaker-content {
  float: left;
  width: 500px;
}

/** POST-TYPE COURSES
--------------------------------------
*
*/
.single-courses .banner {
  display: none;
}
.single-courses .banner-course {
  margin-bottom: 18px;
  margin-top: -18px;
  overflow: hidden;
}
.single-courses .banner-course img{
  max-width: 1035px;
  height: auto;
}
div.block-other-course{
  width: 100%;
  display: block;
}
div.block-other-course h2,
div.block-other-course a{
  width: 100%;
  display: block;
  float: left;
}

@media all and (max-width: 600px) {
  .single-courses .banner {
    overflow: hidden;
  }
  .single-courses .banner .content {
    width: 100%
  }
}
/**contact form 7 : application form*/
span.wpcf7-form-control-wrap .wpcf7-checkbox{
  width: 100%;
  display: block;
}
span.wpcf7-form-control-wrap .wpcf7-text{
  width: 100%;
  display: block;
  float: left;
}
.wpcf7-form p,
.wpcf7-form h2{
  width: 95%;
  margin: 0 0 15px 0;
  float: left;
}
#wpcf7-f421-p453-o1 .wpcf7-response-output{
  font-size: 40px;
  line-height: 44px;
  border: none;
}
#wpcf7-f421-p453-o1 .wpcf7-response-output span{
  font-size: 18px;
  line-height: 24px;
  display: block;
}
.wpcf7-form .wpcf7-not-valid-tip {
  display: inline;
}
#wpcf7-f421-p453-o1 form p:nth-of-type(2),
#wpcf7-f421-p453-o1 form p:nth-of-type(3),
#wpcf7-f421-p453-o1 form p:nth-of-type(4),
#wpcf7-f421-p453-o1 form p:nth-of-type(5),
#wpcf7-f421-p453-o1 form p:nth-of-type(6),
#wpcf7-f421-p453-o1 form p:nth-of-type(7),
#wpcf7-f421-p453-o1 form p:nth-of-type(10),
#wpcf7-f421-p453-o1 form p:nth-of-type(11),
#wpcf7-f421-p453-o1 form p:nth-of-type(12),
#wpcf7-f421-p453-o1 form p:nth-of-type(13),
#wpcf7-f421-p453-o1 form p:nth-of-type(14),
#wpcf7-f421-p453-o1 form p:nth-of-type(15){
  width: 45%;
  margin: 0 5% 15px 0;
}
#wpcf7-f421-p453-o1 .profession-checkbox .wpcf7-checkbox .wpcf7-list-item ,
#wpcf7-f421-p453-o1 .checkbox-891 .wpcf7-checkbox .wpcf7-list-item,
#wpcf7-f421-p453-o1 .week-1-checkbox .wpcf7-checkbox .wpcf7-list-item,
#wpcf7-f421-p453-o1 .week-2-checkbox .wpcf7-checkbox .wpcf7-list-item,
#wpcf7-f421-p453-o1 .visa-checkbox .wpcf7-checkbox .wpcf7-list-item{
  margin: 0;
  width: 100%;
  float: left;
}
#wpcf7-f421-p453-o1 #tropical-notice {
  font-weight: bold;
}
#wpcf7-f421-p453-o1 .wpcf7-form-control-wrap.other,
#wpcf7-f421-p453-o1 .wpcf7-form-control-wrap.other-visa,
#wpcf7-f421-p453-o1 #allergies-specify{
  display: none;
}
.wpcf7-form:after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
/**table in page application information*/
table.application-info th{
  font-weight: bold;
}
table.application-info td,
table.application-info th{
  width: 30%;
  border: 1px solid #000;
  text-align: left;
}
table.application-info td p,
table.application-info th p{
  margin: 10px;
}
table.application-info td ul{
  margin: 10px;
}
#complete-brochure{
  margin: 20px 0 20px 0;
  padding:15px;
  background: #fff;
  text-align: center;
}
#complete-brochure p{
  color: #7A7A7A;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
}
#complete-brochure a{
  color: #7A7A7A;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  text-decoration: none;
}
/**block-sidebar-pdf**/
.block-sidebar-pdf{
  background: #fff;
  padding: 15px 0 15px 0;
  margin: 0 0 18px 0;
  width: 100%;
}
.block-sidebar-pdf a{
  text-decoration: none;
  text-align: center;
  color: #7A7A7A;
}
.block-sidebar-pdf p{
  margin: 15px 5% 15px 5%;
  float: left;
  text-align: center;
  width: 90%;
}
.block-sidebar-pdf span{
  white-space: nowrap;
}
.block-sidebar-pdf img{
  float: none;
  width: 90%;
  margin: 0 5% 0 5%;
  height: auto;
}
.right-sidebar-block{
  margin: 0 0 18px 0;
  padding: 15px 24px 23px 24px;
}
.right-sidebar-block h2{
  font-size: 20px;
  line-height: 26px;
}
@media all and (max-width: 1045px) {
  .block-sidebar-pdf img{
    width: 244px;
    margin-left: calc((100% - 244px)/2);
    height: auto;
  }
}
/**tropical application form styling*/
#tropical-app-form p{
  margin: 5px 4% 15px 0;
  float: left;
  width: 46%;
}
#tropical-app-form .form-instruction{
  font-size: 12px;
}
#tropical-app-form p:nth-of-type(1),
#tropical-app-form p:nth-of-type(14),
#tropical-app-form p:nth-of-type(15),
#tropical-app-form p:nth-of-type(16),
#tropical-app-form p:nth-of-type(17),
#tropical-app-form p:nth-of-type(18),
#tropical-app-form p:nth-of-type(19),
#tropical-app-form p:nth-of-type(20),
#tropical-app-form p:nth-of-type(21),
#tropical-app-form p:nth-of-type(22),
#tropical-app-form p:nth-of-type(23),
#tropical-app-form p:nth-of-type(24),
#tropical-app-form p:nth-of-type(25),
#tropical-app-form p:nth-of-type(26),
#tropical-app-form p:nth-of-type(27){
  margin: 5px 4% 15px 0;
  float: left;
  width: 96%;
}
#tropical-app-form h2{
  color: #EC3645;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  float: left;
  width: 100%;
  text-transform: uppercase;
}
#tropical-app-form input[type="text"],
#tropical-app-form input[type="tel"],
#tropical-app-form input[type="email"]{
  width: 100%;
}
#tropical-app-form input[type="text"]#promo-code-textfield{
  width: 130px;
}
#tropical-app-form .other-profession-field{
  display: none;
}
#food-allergies{
  display: none;
}
.visa-tropical-disease-form .last{
  display: none;
}
/** block on the page payment-form*/
.block-paying-form p{
  margin: 5px 0 15px 0;
}
.block-paying-form form p:first-of-type input,
.block-paying-form form p:nth-of-type(2) input{
  max-width: 100%;
  width: 350px;
}
.block-paying-form form p:last-of-type input{
  width: 40px;
}
p.course-full{
  font-size: 24px;
  line-height: 28px;
  color: #EC3645;
  font-weight: bold;
  padding: 40px;
  border: 1px #EC3645 dashed;
}
.accepted-cc{
  margin: 0 0 30px 0;
}
.accepted-cc td{
  vertical-align: middle;
  width: 72px;
  text-align: center;
}
/**confirmation page tropical diseases*/
#warning-no-refresh{
  font-size: 20px;
  line-height: 28px;
  color: #EC3645;
  font-weight: bold;
  padding: 20px;
  border: 1px #EC3645 dashed;
  margin: 10px 0 15px 0;
}
/*
*Database toolbox payment url creator
*/
.knockout-1{
  overflow: scroll;
  width: 100%;
}
.knockout-1 .paymentUrl-bad{
  font-weight: bold;
  white-space: nowrap;
  overflow: scroll;
}
.knockout-1 .paymentUrl-good{
  color: #080;
  font-weight: bold;
  white-space: nowrap;
}
.knockout-1 .paymentUrl-good:after{
  content: "   \2713";
  font-size: 150%;
}
.knockout-1 .paymentUrl-bad:after{
  content: '   X';
  color: red;
  font-weight: bold;
}
.knockout-1 tr{
  height: 30px;
  max-width: 100%;
}
.knockout-1 tr:last-of-type td{
  max-width: 700px;
  overflow: scroll;
}
.knockout-1 td span{
  min-width: 115px;
  display: inline-block;
}
.knockout-1 input{
  min-width: 400px;
}
/*
*
*/
.main-content .content .register-2-cols{
  list-style-type: none;
  width: 100%;
  min-height: 350px;
  padding: 0;
}
.main-content .content .register-2-cols p{
  margin: 10px 0;
}
.register-2-cols > li:first-child{
  width: 45%;
  display: inline-block;
  border: 1px solid #000;
  border-collapse: collapse;
  float:left;
  padding: 2%;
  min-height: 313px;
}
.register-2-cols > li:last-child{
  width: 45%;
  display: inline-block;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-collapse: collapse;
  float:left;
  padding: 2%;
  min-height: 313px;
}
.main-content .content .register-2-cols > li ul{
  list-style-type: disc;
  padding: 0 0 0 30px;
}
@media all and (max-width: 1045px) {
  .register-2-cols{
    height: auto;
    display: block;
  }
  .register-2-cols > li:first-child{
    width: 90%;
    display: block;
    float:left;
    padding: 2%;
    min-height: 0;
  }
  .register-2-cols > li:last-child{
    width: 90%;
    display: block;
    float:left;
    padding: 2%;
    min-height: 0;
    border-top: 0 solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
  }
}