/* CSS */

HTML, BODY { width: 100%; min-height: 100%; height: auto; margin: 0px; padding: 0px; font-family: Open Sans, sans-serif; }

.body
{
  background-color: #D6D6D6;
}

.site-body
{
  background-color: #FFFFFF;
}

.min-site-height
{
  min-height: 400px;
}

.site-body-gray
{
  background-color: #F0F0F0;
}

.t24-bar
{
  margin-bottom: 0px;
}

.header-padding
{
  padding: 6px 0px;
}

.no-pad
{
  padding: 0px; 
}

#main-nav-bar
{
  padding: 10px 15px;
}

.t24-nav__link
{
  border-radius: 5px;
}

.t24-nav__link.has-submenu.highlighted
{
  border-bottom-left-radius: 0px;
}

.t24-nav__sub
{
  border-radius: 5px;
  max-width: 500px !important;
/*  
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
*/  
}

.t24-nav__item
{
  font-size: 10pt;
  font-weight: 600;
}

.t24-nav__item > A
{
  padding: 12px 4px !important; 
  letter-spacing: -0.5px;
}

.t24-nav__sub-item
{
  font-size: 10pt;
  font-weight: 400; 
}

.cntblock
{
  margin-bottom: 20px;
}

@media (min-width: 992px)
{
  .t24-nav__item
  {
    font-size: 11pt;
    font-weight: 600;
  }
  
  .t24-nav__item > A
  {
    padding: 12px 6px !important; 
    letter-spacing: 0px;
  }
  
  .t24-nav__sub-item
  {
    font-size: 11pt;
    font-weight: 400; 
  }
  
}

@media (min-width: 768px) and (max-width: 991px)
{
  .t24-nav__item > A
  {
    padding: 12px 3px !important; 
    letter-spacing: -0.5px;
    font-size: 9pt;
  }

}

.t24-nav__sub-link
{
  white-space: nowrap;
}

@media (max-width: 767px)
{
  .t24-nav__sub-link
  {
    border-radius: 5px; 
  }

  .t24-nav__item > A 
  {
    padding: 12px 12px !important; 
  }
}

@media (min-width: 768px)
{
  #main-nav-bar
  {
    float: right !important;
    padding-right: 15px;
    padding-left: 0px;
  }
}

.form-control:focus, *:focus
{
  outline: none !important;
}

.clear { display: block; zoom: 1; }
.clear:after { content: " "; display: block; font-size: 0; height: 0; clear: both; visibility: hidden; }

.t24-nav--color-black .t24-nav__link .sub-arrow
{
  border-color: transparent;
}

.err { color: #FF0000 !important; }

.slidecontainer
{
  cursor: default;
}

.slidecontainer IMG
{
  max-width: 100%; 
}

.pageheaderimage
{
  width: 100%;
  float: left;
  height: auto;
  background-image: url(../../assets/img/bghead.png);
  background-repeat: repeat;
}

.pageheaderimage h1
{
  font-size: 2em;
  font-weight: 900;
/*  color: white; */
  padding: 36px 0px 36px 0px;
  margin: 0;
}

.pageheaderimage p
{
  font-size: 12pt;
  padding: 0px 30px 36px 30px;
  margin: 0;
  color: #F0F0F0;
  text-align: center;
}

.landingheader IMG
{
  width: 100%;
}

.title
{
  border-bottom: 1px dotted #DFDFDF;
  margin-bottom: 30px;
  margin-top: 0px;
}

.title span
{
  border-bottom-width: 1px;
  border-bottom-style: solid;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: -1px;
}

H1
{
  font-size: 20pt;
}

H2
{
  font-size: 20pt;
}

H3
{
  font-size: 16pt;
}

H4
{
  font-size: 14pt;
}

H5
{
  font-size: 12pt;
}

H6
{
  font-size: 11pt;
}

.ptb-20
{
  padding-top: 20px;
  padding-bottom: 20px;
}

.ptb-30
{
  padding-top: 30px;
  padding-bottom: 30px;
}

.plr-20
{
  padding-left: 20px;
  padding-right: 20px;
}

.plr-0
{
  padding-left: 0px;
  padding-right: 0px;
}

.footer
{
  width: 100%;
  float: left;
  background-color: #252525;
  color: #999999;
  font-size: 11pt;
}

.footer p
{
  font-size: 9pt;
  padding: 0px;
  margin: 0px;
}

.footer H6
{
  color: #D24F63;
  font-weight: 600;
  font-size: 9pt;
}

.footer-menu
{
  margin-bottom: 20px;
}

.footer-menu A
{
  text-decoration: none;
  font-size: 9pt;
  color: #DF7D8C;
}

.footer-menu A:hover
{
  color: #DDC0C5;
}

.footerwidgetarea
{
    float: left;
    width: 100%;
    padding: 0px;
    background-color: #151515;
    background-image: url(/assets/img/bghead.png);
    background-repeat: repeat;
}

.footerwidget
{
  background-color: #252525;
  margin: 20px 0px ;
}

.widgetcontent
{
  padding: 15px;
}

.widgetcontent H4
{
  font-size: 13pt;
  text-align: center;
  font-weight: normal;
  color: #DF7D8C;
}

.pb-60
{
  padding-bottom: 60px;
}

.mb-10
{
  margin-bottom: 10px;
}

.mb-30
{
  margin-bottom: 30px;
}

.mb-0
{
  margin-bottom: 0px;
}

#home-slider
{
  display: none;
  overflow: hidden;
}

.fourfourclass > h1
{
  font-size: 320px;
  font-weight: 700;
  line-height: 320px;
  color: #D8D8D8;
  text-align: center;
}

/* Popup, Gallery and Image styles */
  
.ig-wrapper { position: relative; overflow: hidden; margin: auto; width: auto; }
.ig-pause-old { width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: transparent url('../i/ig_pause_icon.gif') no-repeat right bottom; z-index: 1000; display: none; }
.ig-pause { width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: transparent url('../i/ig_enlarge.png') no-repeat right bottom; z-index: 1000; display: none; }
.ig-box { position: relative; top: 0px; left: 0px; overflow: hidden; text-align: center; }
.ig320x240 { width: 320px; height: 240px; }
.ig320 { width: 320px; }
.ig240 { width: 240px; }
.ig-box.hidden { display: none; }
.ig-prev { float: left; display: block; width: 20px; height: 20px; background: transparent url('../i/ig_prev_icon.gif') no-repeat center center; }
.ig-next { float: left; display: block; width: 20px; height: 20px; background: transparent url('../i/ig_next_icon.gif') no-repeat center center; }
.ig-close { float: right; display: block; width: 20px; height: 20px; background: transparent url('../i/ig_close_icon.gif') no-repeat center center; }
.ig-counter { float: left; display: block; width: 50px; height: 20px; text-align: center; padding-top: 2px; }
.ig-caption { float: left; display: block; height: 20px; text-align: left; padding-top: 2px; }
.ig-box IMG { display: block; margin: auto; border-width: 0px; }
.ig-box IMG.i-gallery { width: 100%; }
#ig-display-navigation * { font-family: Arial, sans-serif; font-size: 9pt; color: #405361; }
.ig-left { float: left; margin: 0px 20px 20px 0px; }
.ig-right { float: right; margin: 0px 0px 20px 20px; }
.ig-center { display: block; width: 100%; text-align: center; }

.ig-left { float: left; margin: 0px 3% 20px 0px; width: 47%; }
.ig-right { float: right; margin: 0px 0px 20px 3%; width: 47%; }
.ig-center { display: block; width: 100%; text-align: center; }
.ig-whole { display: block; width: 100%; text-align: center; }
.ig-left IMG, .ig-right IMG, .ig-whole IMG { width: 100%; }

.single-image img { width: 100% !important; margin-bottom: 20px; }

.ig-box { border: 1px solid #DDDDDD; border-radius: 4px; padding: 4px; overflow: hidden; }

.ig-box IMG { width: 100%; }
.ig-wrapper BR { height: 0px !important; display: none; }

@media (max-width: 767px)
{
  .ig-left, .ig-right, .ig-center
  {
    float: none;
    display: block;
    width: 100% !important;
    margin: 0px 0px 0px 0px !important;
  }
}


.req
{
  color: #FF0000; 
}

.left-align { text-align: left; }
.center-align { text-align: center; }
.right-align { text-align: right; }
.justify-align { text-align: justify; }


A.logo-font
{
  font-size: 10pt !important;
  line-height: 10pt; 
}

A.logo-font IMG
{
/*  height: 35px !important; */
}

.logo
{
  line-height: 50px;
}

.pageheaderimage h1
{
  text-align: center; 
}

.home-slider-right
{
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  width: 33%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  font-size: 12pt;
  color: #FFFFFF;
  text-align: left;
  padding: 15px;
  white-space: normal !important;
  line-height: 15pt !important;
  display: table;
}

.home-slider-left
{
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  width: 33%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  font-size: 12pt;
  color: #FFFFFF;
  text-align: left;
  padding: 15px;
  white-space: normal !important;
  line-height: 15pt !important;
  display: table;
}

.home-slider-bottom
{
  position: absolute;
  bottom: 0px;
  right: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 12pt;
  color: #FFFFFF;
  text-align: center;
  padding: 15px 31px 20px 15px;
  white-space: normal !important;
  line-height: 15pt !important;
  display: table;
  width: 100%;
}

.home-slider-content
{
  display: table-cell;
  vertical-align: middle;
/*  
  text-decoration: none;
  color: #FFFFFF !important;
  font-size: 12pt;
*/  
}
/*
.home-slider-content:hover
{
  text-decoration: none;
  color: #FFFFFF;
}

.home-slider-content a
{
  text-decoration: none;
  color: #FFFFFF;
  font-size: 12pt;
}
*/
.home-slider-bottom > .home-slider-content
{
  padding-right: 16px;
}


.home-slider-left H2, .home-slider-right H2, .home-slider-bottom H2
{
  font-size: 16pt;
  line-height: 24pt;
  font-weight: bold;
  padding: 0px;
  margin: 0px 0px 15px 0px;
  color: #E3D7D7;
}

#map
{
  width: 100%;
  float: left;
  height: 500px;
}

#hb-cover
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 0px;
  display: none;
  opacity: 0.001;
  background-color: #FF0000;
}

@media (max-width: 767px)
{
  .slidecontainer
  {
    cursor: pointer; 
  }
  
  .home-slider-left H2, .home-slider-right H2, .home-slider-bottom H2
  {
    font-size: 12pt;
    line-height: 16pt;
  }

  .home-slider-right, .home-slider-left, .home-slider-bottom
  {
    font-size: 8pt;
    line-height: 11pt !important;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
/*    display: block; */
  }
  
  #hb-cover
  {
    display: block;
  }

  .home-slider-content h2
  {
/*    margin-bottom: 4px; */
  }
  
  .home-slider-button
  {
    font-size: 9pt;
    display: none; 
  }
  .home-slider-bottom > .home-slider-content
  {
    padding-right: 0px;
  }

  .home-slider-left > .home-slider-content, .home-slider-right > .home-slider-content, .home-slider-bottom > .home-slider-content
  {
    padding-right: 0px;
  }
  
  .fourfourclass > h1
  {
    font-size: 200px;
    line-height: 200px;
  } 

  .fourfourclass > p
  {
    font-size: 10pt;
  } 

  #map
  {
    height: 400px;
  }

  .blog-image
  {
    margin-bottom: 8px; 
  }

  .blog-post
  {
    border-bottom: 1px dotted #DFDFDF;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }

  .blog-post.expanded
  {
    border-bottom: 0px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width: 479px)
{
  
  .fourfourclass > h1
  {
    font-size: 120px;
    line-height: 120px;
  } 

  .fourfourclass > p
  {
    font-size: 9pt;
  } 

  #map
  {
    height: 300px;
  }

}

.introicons
{
  padding: 20px;
  position: relative;
  background-color: white;
  border-radius: 5px;
  margin: 60px 0px;
}

.goto-link
{
  cursor: pointer;
}

.introicons p
{
  font-size: 10pt;
}

.introicons i
{
  position: absolute;
  height: 100px;
  width: 100px;
  font-size: 50px;
  line-height: 80px;
  padding: 10px !important;
  color: #FFFFFF;
  top: 0px;
  left: 50%;
  margin: -50px 0px 0px -50px !important;
  padding: 0px !important;
  border-radius: 50%;
  border: 10px solid #f0f0f0;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}

.introicons h6
{
  font-weight: 400;
  font-size: 11pt;
  text-transform: uppercase;
  margin: 60px 0px 20px 0px;
  color: #9D2235;
}
.red-background
{
  background-color: #9D2235;
}

.partner-logos
{
  display: none;
}

.blog-post
{
  padding-bottom: 20px;
  margin-bottom: 20px; 
}

.border-bottom
{
  border-bottom: 1px dotted #DFDFDF;
}

.blog-image IMG
{
  width: 100%; 
}

.blog-details
{
  color: #666666;
  margin-bottom: 10px;
  font-size: 10pt;
}

.blog-details.expanded
{
  margin-top: -20px; 
}

.blog-image.expanded
{
  margin-bottom: 20px; 
}

.blog-post H4 A, .blog-post A
{
  text-decoration: none;
}

.blog-post H4 A:hover, .blog-post A:hover
{
  text-decoration: inderline;
}

.blog-post H4
{
  border-bottom: 1px dotted #DFDFDF;
  margin-bottom: 8px;
  margin-top: 0px;
}

.blog-post H4 span
{
  border-bottom-width: 1px;
  border-bottom-style: solid;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: -1px;
}

.nobr
{
  white-space: nowrap;
}

.side-menu ul
{
    width: 100%;
    padding: 0;
    margin: 0;
}

.side-menu li:first-child
{
  padding-top: 0px;
}

.side-menu li
{
  width: 100%;
  padding: 5px 0px;
  margin: 0;
  display: block;
  list-style: none;
  border-bottom: 1px dotted #E2E2E2;
}

.side-menu li a, .side-menu li a:visited
{
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.side-menu li a:hover
{
  text-decoration: none;
}

#comments ol
{
  padding: 0px;
  margin: 0px;
}

#comments ol li
{
  list-style: none;
  list-style-image: none;
  background-color: #FAFAFA;
  -border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 15px;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid #E0E0E0;
}

.comment-info
{
  width: 100%;
  float: left;
}

.comment-icon
{
  width: 56px;
  height: 56px;
  float: left;
  margin-right: 10px;
}

.comment-icon i.fa.gray-color
{
  color: #999999;
}

.comment-user
{
  padding: 8px 0px;
  font-size: 9pt;
  color: #666666;
}

.comment-user B
{
  font-size: 11pt;
  color: #9D2235;
}

.comment-wrapper
{
  padding-top: 10px;
  font-weight: 300;
  font-size: 12px;
}

.form-box
{
  background-color: #FAFAFA;
  -border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 15px;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid #E0E0E0;
}

.form-row
{
  margin-bottom: 20px;
}

.form-error
{
  color: #FF0000 !important;
  font-size: 10pt;
}

.pagination-block
{
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination-block > li
{
  display: inline;
}

.pagination-block > li > a, .pagination-block > li > span
{
  padding: 12px 16px;
  font-size: 12pt;
  float: left;
  position: relative;
  text-decoration: none;
  background-color: #FFFFFF;
  border: 1px solid #DDDDDD;
  margin-left: -1px;
 }

.pagination-block > li:first-child > a, .pagination-block > li:first-child > span
{
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination-block > li:last-child > a, .pagination-block > li:last-child > span
{
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

ul.imagegrid
{
  float: left;
  padding: 10px 0px 0px 0px;
  margin: 0;
  text-align: center;
}

ul.imagegrid li
{
  list-style: none;
  list-style-image: none;
  padding: 0px 5px 10px 5px;
  display: inline-block;
}

ul.imagegrid li img
{
  padding: 0;
  margin: 0;
  border: 0;
  height: 60px;
  width: 60px;
}

@media (min-width: 676px) and (max-width: 991px)
{
  ul.imagegrid li img
  {
    height: 80px;
    width: 80px;
  }
}

@media (min-width: 630px) and (max-width: 675px)
{
  ul.imagegrid li img
  {
    height: 72px;
    width: 72px;
  }
}

@media (min-width: 558px) and (max-width: 629px)
{
  ul.imagegrid li img
  {
    height: 60px;
    width: 60px;
  }
}

@media (max-width: 557px)
{
  ul.imagegrid li img
  {
    height: 75px;
    width: 75px;
  }
}

.footer-latest
{
  padding: 10px 0px;
}

.latest-separator
{
  margin: 5px 0px;
  border-top: 1px dotted #444444;
}

.latest-icon
{
  float: left;
  width: 20%;
  max-width: 48px; 
}

.latest-content
{
  float: left;
  width: 80%;
}

.latest-content > A
{
  text-decoration: none;
}

.latest-content > A > div.date
{
  font-size: 8pt;
  color: #DF7D8C;
}

.latest-content > A > div.date:hover
{
  color: #DDC0C5;
}

.latest-content > A > div.cap
{
  font-size: 10pt;
  color: #DDC0C5;
}

.latest-content > A > div:hover
{
  color: #FFFFFF;
}

.form-display
{
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #EEEEEE;
  background-image: none;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
}

INPUT[type=radio].form-control
{
  width: 34px;
  float: left;
  position: absolute;
  top: 0px;
  left: 0px;
  box-shadow: none;
}

INPUT[type=checkbox].form-control
{
  width: 34px;
  float: left;
  position: absolute;
  top: 0px;
  left: 15px;
  box-shadow: none;
  z-index: 2;
}

DIV.form-control INPUT[type=checkbox].form-control
{
  left: 0px;
}

DIV.form-control
{
  margin: 0px 0px;
  border-radius: 4px;
  padding: 10px 0px 10px 0px;
  border: 1px solid #CCCCCC;
  background-color: #FFFFFF;
  height: auto;
}

DIV.form-control:before
{
  content: " ";
  display: table;  
}

DIV.form-control:after
{
  content: " ";
  display: table;  
  clear: both;
  width: 100%;
}

DIV.form-control LABEL, LABEL.form-checkbox
{
  position: relative;
  padding: 11px 0px 0px 40px;
  height: 34px;
  z-index: 1;
}

DIV.form-control > LABEL
{
  margin-left: 15px;
  margin-right: 15px;
}

INPUT.form-control.form-control-other
{
  display: none;
  position: relative;
  margin-top: -8px;
  width: 150px;
  margin-left: 10px;
}

div.multigroup
{
  position: relative;
  padding: 12px 0px 10px 40px;
}

.footer-student
{
  padding: 10px 12px;
  text-align: center;
}

.footer-student-image IMG
{
  width: 100%;
  margin-bottom: 10px;
}

.footer-student A
{
  text-decoration: none;
  color: #DDC0C5;
}

.footer-student A:hover
{
  color: #FFFFFF;
}

.event-form-wrapper
{
}

.result-country
{
  background-color: #701E1E;
  color: #FFFFFF;
  padding: 4px 8px;
  margin: 0px 0px 2px 0px;
  border-radius: 5px;
}

.result-language
{
  background-color: #9D2235;
  color: #FFFFFF;
  padding: 4px 8px;
  margin: 0px 0px 2px 0px;
  border-radius: 5px;
}

.result-age
{
  background-color: #D24F63;
  color: #FFFFFF;
  padding: 4px 8px;
  margin: 0px 0px 2px 0px;
  border-radius: 5px;
}

.result-row
{
  background-color: #FFFFFF;
  border-bottom: 1px solid #DDC0C5;
  padding: 4px 8px;
  margin: 0px 0px 2px 0px;
}

.result-row-block > .result-row:last-child
{
  border-bottom: 0px;
}

.result-row > div
{
  padding-left: 0px;
}

.country-flag
{
  display: inline-block;
  vertical-align: middle;
  width: 72px;
  height: 48px;
  border-radius: 7px;
  border: 1px solid #CCCCCC;
  overflow: hidden;
}

.icon-flag
{
  display: inline-block;
  vertical-align: middle;
  width: 72px;
  height: 48px;
  border-radius: 7px;
  border: 1px solid #D24F63;
  background-color: #D24F63;
  overflow: hidden;
  font-size: 14pt;
  color: #FFFFFF;
  text-align: center;
  padding:  10px 0px;
}

.icon-flag span
{
  display: inline-block;
  vertical-align: middle;
  font-size: 18pt;
  color: #FFFFFF !important;
  text-align: center;
}

.icon-flag A I
{
  font-size: 18pt;
  color: #FFFFFF !important;
}

.country-link
{
  display: inline-block;
  width: 148px;
  padding: 0px 6px;
  line-height: 12pt;
}

.country-link span
{
  display: inline-block;
  vertical-align: middle;
}

.country-link A
{
  font-weight: bold;
  font-size: 10pt;
}

.country-block
{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 270px;
  height: 48px;
  margin-bottom: 30px; 
}

.partner-wrapper
{
  width: 47%;
  float: left;
  padding: 10px;
  margin-right: 20px;
  margin-bottom: 20px;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  height: auto;
}

.partner-block
{
  position: relative;
  width: 100%;
}

.partner-block > DIV IMG.spacer
{
  width: 100%;
  vertical-align: middle;
}

.partner-block > DIV IMG.logo
{
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translate(0, -50%);
}

@media (max-width: 767px)
{
  .partner-wrapper
  {
    width: 45%;
  }
}

@media (max-width: 489px)
{
  .partner-wrapper
  {
    width: 100%;
    margin-right: 0px;
  }
}

td.info-td
{
  width: 35px;
  margin: 1px;
}

td.text-td
{
  padding-left: 5px;
  border-left: 2px solid #BBBBBB;
  margin: 1px;
}

tr.info-tr
{
  border: 3px solid #FAFAFA; 
}

.info-icon
{
  margin: 5px 5px 5px 5px;
}

.info-icon i.fa
{
  color: #BBBBBB;
}

A.anchor
{
  display: block;
  position: relative;
  top: -120px;
  visibility: hidden;
}

/* swypebox gallery */
.gallery-container
{
  margin: 0;
  padding: 0;
  display: none;
}

.gallery-box
{
  list-style-type: none;
  float: left;
  margin-bottom: 1rem;
  margin-left: 1%;
  margin-right: 1%;
  width: 23%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.gallery-box:nth-child(4n+1)
{
  clear: both;
  margin-left: 0;
}

.gallery-box:nth-child(4n+0)
{
  margin-right: 0;
}

@media (max-width: 599px)
{
  .gallery-box
  {
    width: 48%
  }

  .gallery-box:nth-child(2n+1)
  {
    clear: both;
    margin-left: 0;
  }
  
  .gallery-box:nth-child(2n+0)
  {
    margin-right: 0;
  }
  
}

.gallery-box a
{
  display: block; 
  position: relative;
  width: 100%;
  height: auto;
}

.gallery-box > a > img
{
  -webkit-back-visibility: hidden;
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.image-caption
{
  margin-top: -15px;
  text-align: right;
  font-size: 10pt;
  color: #999999;
  font-style: italic;
}

.blog-image.expanded .image-caption
{
  margin-top: 0px;
}

img[height="1"]
{
    display: block;
    height: 0px !important;
}

.file-wrapper
{
  border: 1px solid #AAAAAA;
  background-color: #F0F0F0;
  border-radius: 5px;
  padding: 20px;
}

.file-wrapper H4
{
  margin-top: 0px;
}

.file-thumb
{
  max-height: 200px;
  max-width: 120px;
  float: left;
  margin-right: 20px;
  color: #9D2235; 
}

.file-thumb IMG
{
  width: 100%;
  border: 1px solid #CCCCCC;
}

#swipebox-slider .slide img
{
  max-height: 85%;
  max-width: 100%;
}

.img-logo, .img-logo .single-image img
{
  width: auto !important;
}

@media (max-width: 767px)
{
  .img-logo
  {
    text-align: center;
  }
  
  .img-logo .single-image img
  {
    width: auto !important;
    max-width: 100%; 
  }
}

DIV.sponsor
{
  margin: 20px 0px 30px 0px;
}

DIV.sponsor B
{
  font-size: 12pt;
  font-weight: bold;
  color: #999999;
}

DIV.sponsor IMG
{
}

DIV.sponsor > .text-col
{
  text-align: right;
  padding: 30px 0px 0px 0px;
}

DIV.sponsor > .image-col
{
  text-align: left;
}

@media (max-width: 767px)
{
  DIV.sponsor > .text-col
  {
    text-align: center;
    padding: 10px 0px;
  }
  
  DIV.sponsor > .image-col
  {
    text-align: center;
  }  
}