/* DEFAULT TEMPLATE STYLES */

body,
html {
  background-color: #fff;
  height: 100%;
  position: relative;
  width: 100%;
}

/* DEFAULT TABLE STYLES */

table,
table td,
table th {
  border-collapse: collapse;
  border: 0px solid #ddd;
  text-align: left;
  vertical-align: top;
}

/* TEMPLATE ELEMENTS */

#tpl_body {
  min-height: 100%;
  position: relative;
  width: 100%;
  z-index: 100;
}

/* WRAPPER */

.tpl_wrapper {
  margin: 0 auto;
  max-width: 900px;
  overflow: hidden;
  padding: 0 20px;
  position: relative;
  width: 100%;
}

@media(min-width: 768px) {
  .tpl_wrapper {
    overflow: visible;
  }
}

@media(min-width: 960px) {
  .tpl_wrapper {
    padding: 0;
  }
}

/* LOGO */

.logo {
  max-width: 420px;
  padding: 10px 0;
  width: calc(100% - 45px);
}

@media(min-width: 1024px) {
  .logo {
    max-width: none;
    padding: 0;
    width: auto;
  }
}

/* NAVIGATION TOGGLE */

.navigation-toggle {
  cursor: pointer;
  float: right;
  height: 19px;
  margin: 31px 0 10px 20px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0, 0, 0, 1);
  width: 24px;
}

@media(min-width: 768px) {
  .navigation-toggle {
    margin-top: 40px;
  }
}

@media(min-width: 1024px) {
  .navigation-toggle {
    display: none;
  }
}

  .navigation-toggle-line {
    background-color: #fff;
    height: 3px;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0, 0, 0, 1);
    width: 24px;
  }

    .navigation-toggle-line:nth-child(1) {
      top: 0;
    }

    .navigation-toggle-line:nth-child(2) {
      top: 8px;
    }

    .navigation-toggle-line:nth-child(3) {
      top: 16px;
    }

    .navigation-open .navigation-toggle {
      transform: rotate(-90deg);
    }

      .navigation-open .navigation-toggle-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5.3px, 5.3px);
      }

      .navigation-open .navigation-toggle-line:nth-child(2) {
        transform: scale(0, 1);
      }

      .navigation-open .navigation-toggle-line:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
      }

/* MAIN */

.main {
  float: left;
  width: 100%;
}

/* MOBILE MENU */

.mobile-nav {
  display: none;
}

  @media(min-width: 1024px) {
    .mobile-nav {
      display: block !important;
    }
  }

/* MENU */

#tpl_menu {
  padding: 20px 0;
}

@media(min-width: 1024px) {
  #tpl_menu {
    float: left;
    padding: 20px 131px 20px 0;
  }
}

/* menu: main navigation */

.menu0selected,
.menu1selected,
.menu0,
.menu1 {
  display: block;
    color: #774f96;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding: 0 9px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease-in;
    white-space: nowrap;
}

@media(min-width: 1024px) {
  .menu0selected,
  .menu1selected,
  .menu0,
  .menu1 {
    float: left;
      margin-right: 2px;
  }
}

.menu1selected,
.menu1selected:hover {
  background-color: #3ad1a7;
  color: #fff;
}

.menu0selected,
.menu0selected:hover {
  background-color: #fff;
  color: #774f96;
}

@media(min-width: 1024px) {
  .menu0,
  .menu0selected {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPBJREFUeNpi+P//PwM2XOE3bRIQ+2CTYwQR6KDSf/p0IJUBxF+A2Ld9Y+YBZHkmLBpmAKl0IAaZxg3Em4BiTjg1ASVnAakUKPcflOYB4o1AOWcMTVANqVCxf0hyIDYnEG8AqnEDCTACPcsCpOcCcTSSQkYo/R9JI0juNxAHgRh+QKwKxL+gkv+gijFDiIHhKRAnwEMPaPUVIKXFgB8kA0NyPhMWCUY8mtixBjkQ/AXiFVBnBwPxSzQ5FE2MSB4+C3TGFiBeD2R/Rgp+JnRNzEghxY5FnBHmdBYkybdALAJV9AVJ/A0QC0CdBgphBoAAAwCiYmadfveSrwAAAABJRU5ErkJggg==);
    background-position: center;
    background-repeat: no-repeat;
    text-indent: -999999px;
    width: 30px;
  }
}

.menu0:hover,
.menu1:hover {
  background-color: #fff;
  color: #774f96;
}

/* menu: sub-navigation */

.menu2,
.menu2selected,
.menu3, 
.menu3selected {
  display: block;
    line-height: 24px;
    border-bottom: 1px solid #ddd;
}

.menu2,
.menu2selected {
  margin-bottom: 3px;
}

.menu3,
.menu3selected {
  padding-left: 10px;
}

.menu2selected,
.menu3selected {
  font-weight: 700;
}

/* SOCIAL MEDIA */

#tpl_socialmedia {
  float: left;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 100%;
}

@media(min-width: 1024px) {
  #tpl_socialmedia {
    position: absolute;
    right: 0;
    top: 1px;
    z-index: 1000;
    width: auto;
  }
}

  #tpl_socialmedia a {
    display: block;
    float: left;
    margin: 0 0 0 5px;
  }

/* CONTENT */

#tpl_content {
  float: left;
  padding: 20px 0;
  position: relative;
  width: 100%;
}

  @media(min-width: 768px) {
    #tpl_content {
      padding-left: 40px;
      padding-right: 0;
      width: calc(100% - 220px);
    }
  }

/* content: wide */

#tpl_content_wide {
  float: left;
  position: relative;
   width: 100%;
}

/* BREADCRUMBS */

#tpl_sitenav {
  padding: 15px 0;
}

  #tpl_sitenav, 
  #tpl_sitenav * {
    color: #fff;
    text-decoration: none;
  }

  #tpl_sitenav span {
    display: none;
  }

  @media(min-width: 768px) {
    #tpl_sitenav span {
      display: inline;
    }
  }

/* FRONT PAGE */

/* front page: columns */

#tpl_fp_col1,
#tpl_fp_col2 {
  float: left;
  padding: 0 0 20px;
  width: 100%;
}

#tpl_fp_col1 {
  padding-top: 20px;
  position: relative;
}

@media(min-width: 768px) {
  #tpl_fp_col1,
  #tpl_fp_col2 {
    width: 50%;
  }

  #tpl_fp_col1 {
    padding: 30px 15px 30px 0;
  }

  #tpl_fp_col2 {
    padding: 30px 0 30px 15px;
  }
}

@media(min-width: 1024px) {
  #tpl_fp_col1,
  #tpl_fp_col2 {
    width: 51.66%;
  }
}

/* col2 */

#tpl_fp_col2 {
  max-width: 435px !important;
}

#tpl_fp_col2 > div {
  border: 1px solid #ddd;
  display: block;
  height: 262px;
  margin: 0;
  padding: 0;
  width: 100%;
}
  
/* TEXT BANNERS */

#tpl_textbanners_pager {
  border-top-width: 0px;
  border: 4px solid #fff;
  position: absolute;
  right: 34px;
  top: 31px;
  z-index: 1000;
}

  #tpl_textbanners_pager a {
    background-color: #ddd;
    border-top: 4px solid #fff;
    display: block;
    height: 10px;
    margin: 0;
    overflow: hidden;
    text-indent: -999999px;
    width: 10px;
  }

  #tpl_textbanners_pager a:hover,
  #tpl_textbanners_pager a.activeSlide {
    background-color: #555;
  }

#tpl_textbanners {
  border: 1px solid #ddd;
  display: block;
  margin: 0;
  padding: 0;
  max-width: 435px !important;
}

@media(min-width: 768px) {
  #tpl_textbanners {
    height: 262px;
  }
}

  #tpl_textbanners h2 {
    margin-top: 0;
    padding-top: 0;
  }

  #tpl_textbanners > div {
    padding: 20px;
    position: relative;
    width: 100%;
  }

  @media(min-width: 768px) {
    #tpl_textbanners > div {
      padding: 20px 40px 20px 20px;
    }
  }

  #tpl_textbanners .item {
    padding: 0;
  }

  @media(min-width: 980px) {
    #tpl_textbanners .item.hasimage {
      padding: 0 140px 0 0;
    }       
  }

    #tpl_textbanners .item .image {
      display: none;
    }

    @media(min-width: 980px) {
      #tpl_textbanners .item .image {
        top: 0;
        display: block;
        position: absolute;
        right: 0;
        z-index: 100;
      }
    }

      #tpl_textbanners .item .link a {
        background-color: #3ad1a7;
        box-shadow: 2px 2px 4px 0 rgba(0,0,0,0.1);
        color: #fff;
        display: block;
        font-size: 14px;
        font-weight: bold;
        line-height: 40px;
        padding: 0 20px;
        text-transform: uppercase;
        max-width: 360px;
        text-align: center;
      }


    /* slider title */

    #tpl_fp_col2 > div > h2 {
      background-color: #774f96;
      border-bottom: 1px solid #774f96;
      color: #fff;
      margin-bottom: 0;
      margin-top: -1px;
      padding: 16px 21px 15px 21px;
    }

      #tpl_fp_col2 > div > a {
        color: #fff;
      }
    
    /* slider wrap */

    #tpl_fp_col2 > div > div {
      height: 195px;
      overflow: auto;
      overflow-x: hidden;
    }

    /* slides */

    #tpl_initiatives {
      position: relative;
    }

    #tpl_initiatives ul,
    #tpl_initiatives li {
      display: block;
      list-style-type: none;
      margin: 0;
      padding: 0;
    }

    #tpl_initiatives li {
      border-bottom: 1px solid #ddd;
      min-height: 80px;
      padding: 17px 17px 7px 105px;
      position: relative;
    }

      #tpl_initiatives h3 {
        margin-bottom: 4px;
        margin-top: 0;
        padding-top: 0;
      }

      #tpl_initiatives p {
        margin-top: 0;
        padding-top: 0;
      }

      #tpl_initiatives li img {
        background-color: #ddd;
        height: 70px;
        left: 17px;
        position: absolute;
        top: 17px;
        width: 70px;
      }

      #tpl_initiatives em {
        box-sizing: border-box;
        float: left;
        font-weight: 400;
        padding: 21px;
        width: 100%;
      }

/* front page: blocks */

.tpl_intros {
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;
}

@media(min-width: 768px) {
  .tpl_intros {
    width: calc(100% + 30px);
  }
}

.tpl_intros > a[name] {
  display: none;
}

/* front page: webitems (212 normal block, 217 twitter block) */

.webitem_212,
.webitem_217 {
  border: 1px solid #ddd;
  clear: none !important; 
  float: left;
  margin: 0 0 30px 0;
  max-width: 435px !important;
  max-width: none;
  padding: 15px 20px;
  position: relative;
  width: 100%;
}

@media(min-width: 768px) {
  .webitem_212,
  .webitem_217 {
    margin: 0 30px 30px 0;
    max-width: none !important;
    min-height: 275px !important;
    width: calc(50% - 30px);
  }
}

@media(min-width: 1024px) {
  .webitem_212,
  .webitem_217 {
    min-height: 345px !important;
    width: calc(33.333% - 30px);
  }
}

/* front-page: regular widget */

.webitem_212 .image {
  height: 90px;
  margin: -15px 0 10px -20px;
  overflow: hidden;
  width: calc(100% + 40px);
}

.webitem_212 .image img {
  display: block;
  margin: 0 auto;
}

.webitem_212 .imageonly {
  margin: -15px -20px;
}

.webitem_212 h2 + .image {
  margin-top: 0px;
}

.webitem_212 h2,
.webitem_217 h2 {
  font-size: 15px;
  margin-bottom: 15px;
}

.webitem_212 h2[data-color] {
  margin: -16px -21px 0 -21px;
  padding: 16px 21px 15px 21px;
}

.webitem_212 h2[data-color="paars"] {
  background-color: #774f96;
  color: #fff;
}

.webitem_212 h2[data-color="groen"] {
  background-color: #3ad1a7;
  color: #774f96;
}

.webitem_212 h2[data-color="geel"] {
  background-color: #efe36b;
  color: #774f96;
}

.webitem_217 h2 {
  background-image: url('data:image/gif;base64,R0lGODlhEAANAOZOAFSt7l6x71Wt7lar7v7//1ar7VWs7er1/cLf+bTa99Lp+Veq7ITD81aw71Wt71Ou7fT6/vH6/8Tk+Vmy8W6378Li+ajP9cLr/JLG9dns++z3/Vys7ni88ej1/VSu7WWz77ba92e18J3S9cff+vL3/ZPQ9Vit7qrX+ZrO9WOx8Feq7vH7/rrk+WW08IbG9GKy8Hy+8l6j7MTj+mGj7Pr9/1mo7uDv+1as7nnA8tDo+o3G9Or2/dPi+crm+s3l+sDf+d3v/JLK82m38me17/f6/nS68F6w7/j9/4G28GGw73XM9d7x/V2w8G658f///1Ws7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAE4ALAAAAAAQAA0AAAd+gBEQToSFTiIfL0EdEkssQweGThgeT5ZPEyMIT0wyhSQFAJdPQgorSQUGMBUHOaOWCU4aJRujATevPU48Kg2vrwZAhEoxv5cCKQSER0gmxk8PFoY4Dr+iM0SGNi4hrwMLF5JONAyvNSCGGShFA8cAFD6SOyccLQFGTTo/ypKBADs=');
  background-position: left;
  background-repeat: no-repeat; 
  color: #3ad1a7;
  margin-top: 0;
  padding: 0 0 0 20px;
}

.webitem_212 .link {
  margin-top: 6px;
}

/* front page: twitter */
  
.webitem_217 .item .tweets {
  border-top: 1px solid #ddd;
  margin: 0 -20px -15px -20px;
  max-height: 165px;
  overflow: auto;
}

.webitem_217 .item[data-minheight="laag"] .tweets {
  max-height: 190px;
}

.webitem_217 .item[data-minheight="middel"] .tweets {
  max-height: 246px;
}

.webitem_217 .item[data-minheight="hoog"] .tweets {
  max-height: 301px;
}

  .webitem_217 .item .tweets ul,
  .webitem_217 .item .tweets li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .webitem_217 .item .tweets li {
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
  }

    .webitem_217 .item .tweets li img {
      display: inline-block;
      float: left;
      margin: 0 10px 0 0;
      vertical-align: top;
    }

    .webitem_217 .item .tweets li .tweet_time {
      color: #999;
      display: block;
      font-size: 9px;
      margin: 5px 0 0 0;
    }

      .webitem_217 .item .tweets li .tweet_time * {
        color: inherit;
        font-size: inherit;
      }

  .webitem_217 .item .tweets li.last {
    border-bottom: 0;
  }

/* SUBMENU */

#tpl_submenu {
  float: left;
  padding: 20px 0 0 0;
  width: 100%;
}
  
  @media(min-width: 768px) {
    #tpl_submenu {
      padding: 30px 20px 0 0;
      width: 220px;
    }
  }

  #tpl_submenu img {
    display: none;
  }

  @media(min-width: 768px) {
    #tpl_submenu img {
      display: block;
      margin: 20px auto; 
      width: 160px;
    }
  }

  @media(min-width: 1024px) {
    #tpl_submenu img {
      margin: 40px auto; 
    }   
  }

/* PARTNERS */

#tpl_partners {
  clear: both;
  float: left;
  padding: 20px 0;
  width: 100%;
}

  .tpl_logofooter {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
  }

/* FOOTER */

#tpl_footer {
  clear: both;
  color: #fff;
  float: left;
  padding: 20px 0;
  width: 100%;
}

  #tpl_footer * {
    color: inherit;
  }

/* footer socials */

.tpl-footer-socials {
  float: left;
  margin-bottom: 20px;
  position: relative;
}

@media(min-width: 768px) {
  .tpl-footer-socials {
    margin-right: 20px;
  }
}

.tpl-footer-socials img {
  height: 18px;
  width: 18px;
}

/* footer: sitemap link */

.tpl-sitemap-link {
  float: right;
  margin-bottom: 20px;
}

@media(min-width: 768px) {
  .tpl-sitemap-link {
    float: left;
  }
}

/* footer: netgemak */

#tpl_netgemak {
  float: left;
  width: 100%;
}

@media(min-width: 768px) {
  #tpl_netgemak {
    float: right;
    width: auto;
  }
}

  #tpl_netgemak span {
    float: left;
    line-height: 29px;
    margin-right: 20px;
  }

/* INITIATIVES

/* initiatives: filter */

.tpl_initiatives_filter {
  border: 1px solid #ddd;
  float: left;
  margin: 0 0 30px 0;
  padding: 10px 0 0 13px;
  width: 100%;
}

.tpl_initiatives_filter_row {
  float: left;
  margin-bottom: 10px;
  padding-right: 10px;
  width: 100%;
}

@media(min-width: 768px) {
  .tpl_initiatives_filter_row {
    width: 33.333%;
  }
}

.tpl_initiatives_filter select.formline {
  width: 100%;
}

/* initiatives: initiatives */

.tpl_initiatives {
  position: relative;
}

  .tpl_initiatives ul,
  .tpl_initiatives li {
    display: block;
    float: left;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
  }

  .tpl_initiatives li {
    border: 1px solid #ddd;
    margin: 0 15px 15px 0;
    min-height: 100px;
    padding: 10px 10px 10px 13px;
    position: relative;
    width: 100%;
  }

  .tpl_initiatives.large li {
    height: auto;
    margin-bottom: -1px;
    width: 100%;
  }

    .tpl_initiatives li img {
      background-color: #eee;
      border: 5px solid #eee;
      float: right;
      height: 90px;
      margin-left: 10px;
      width: 90px;
    }

    .tpl_initiatives.large li img {
      border: 5px solid #fff;
      height: 80px;
      margin: -5px -5px -5px 30px;
      width: 80px;
    }

    .tpl_initiatives li span {
      display: block;
      font-size: 14px;
      font-weight: normal;
      line-height: 14px;
      padding-bottom: 7px;
      padding-top: 3px;
    }

/* initiatives: initiatives */

.tpl_initiative {
  border: 1px solid #ddd;
  margin-bottom: 30px;
  margin-top: 10px;
  padding: 20px;
  position: relative;
}
  .tpl_initiative .name {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
  }

  .tpl_initiative .name span {
    color: #999;
    margin-left: 5px;
  }

  .tpl_initiative .link {
    float: right;
  }

  .tpl_initiative .image {
    border: 5px solid #eee;
    float: right;
    margin-bottom: 25px;
    margin-left: 30px;
    width: 225px;
  }

  .tpl_initiative .intro {
    float: left;
    width: 100%;
  }

  .tpl_initiative .message {
    background-color: #eee;
    color: #666;
    float: left;
    font-size: 11px;
    line-height: 14px;
    margin-top: 15px;
    padding: 10px 12px;
  }

    .tpl_initiative .message span {
      color: #666;
      font-size: 23px;
      font-weight: bold;
    }

/* FORM STYLES */

.formtable {
  width: 100%;
}

  .formtable td {
    display: block;
  }

  @media(min-width: 768px) {
    .formtable td {
      display: table-cell;
      border-bottom: 2px solid #fff;
    }
  }

/* form: labels */

td.formlabel {
  line-height: 25px;
  width: 100%;
}

@media(min-width: 768px) {
  td.formlabel {
    background-color: #eee;
    border-right: 2px solid #fff;
    padding: 0 7px;
    width: 120px;
  }
}

/* form: button */

.formbut {
  -webkit-appearance: none;
  background-color: #999;
  border: 1px solid #999;
  color: #fff; 
  cursor: pointer;
  display: inline-block;
  height: 20px; 
  line-height: 10px;
  margin-right: 15px;
  overflow: visible;
  padding: 0 10px 0 10px;
  position: relative;
  transition: all 0.25s ease-in;
}

  .formbut:hover,
  .formbut.hover {
    background-color: #000;
    border-color: #000;
  }

/* form: regular elements */

.formline {
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #ccc;
  display: inline-block;
  height: 24px;
  padding: 2px 3px;
  position: relative;
  max-width: 300px;
  transition: all 0.25s ease-in;
  width: 100%;
}

  .formline:focus,
  .formarea:focus,
  .formline.focus,
  .formarea.focus {
    border-color: #000;
  }

select.formline {
  height: 24px;
  padding: 2px 3px;
  max-width: 308px;
  width: 100%;
}

/* form: textarea */

.formarea {
  background-color: #fff;
  border: 1px solid #ccc;
  display: inline-block;
  height: 100px;
  padding: 2px 3px 2px 3px;
  position: relative;
  max-width: 400px;
  width: 100%;
}

/* form: required */

td.formrequired {
  background-color: #ccc;
}

/* form: formextra */

td.formextra {
  padding-top: 10px;
}

  td.formextra .formbut {
    float: right;
    margin-left: 15px;
    margin-right: 0px;
  }

/* form: textarea count */

.formcount {
  background-color: #eee;
  color: #999;
  font-size: 10px;
  margin-left: 410px;
  padding: 0px 5px;
  position: absolute;
}

/* form: notifications */

.formnotify {
  border: 1px dotted #999;
  margin-bottom: 20px;
  padding: 5px 10px;
}

.formcountwarning {
  background-color: #ed0600;
  color: #000;
}


/* WEBITEM: TOGGLE TEXT */

.paragraphexpand_explode,
.paragraphexpand_implode {
  background-position: 0px -2px;
  background-repeat: no-repeat;
  display: inline-block;
  padding-left: 15px;
}

.paragraphexpand_explode:hover,
.paragraphexpand_implode:hover {
  background-position: 0px -23px;
}

.paragraphexpand_explode {
  background-image: url('../image/web/link/add_bg.gif');
}

.paragraphexpand_implode {
  background-image: url('../image/web/link/min_bg.gif');
  font-weight: bold;
}

.morecontent {
  padding-left: 15px;
}

/* WEBITEM: YOUTUBE VIDEOS */

.webitem_60 {
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  position: relative;
  height: 0;
  margin-bottom: 30px;
}

  .webitem_60 object,
  .webitem_60 iframe,
  .webitem_60 embed {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* ADD THIS */

.addthis_toolbox {
  clear: left;
}

.fb_iframe_widget,
.tweet_iframe_widget {
  width: auto !important;
}

/* WEBITEM: PHOTOBOOK */

.photoframe {
  float: left;
  width: 100%;
}

.photoframe-photo {
  float: left;
  margin-bottom: 15px;
  position: relative;
  width: auto;
}

.photoframe-prev b,
.photoframe-next b {
  background-color: #00CEA8;
  border-radius: 100%;
  color: #fff;
  display: block;
  height: 30px;
  font-weight: 400;
  line-height: 30px;
  margin-top: -15px;
  position: absolute;
  transition: all 0.25s ease-in;
  text-align: center;
  top: 50%;
  width: 30px;
}

.photoframe-prev b {
  left: -15px;
}

.photoframe-next b {
  right: -15px;
}

  .photoframe-prev b:hover, 
  .photoframe-next b:hover {
    background-color: #715292;
  }

  .photoframe-prev a,
  .photoframe-next a {
    color: inherit;
  }

.photoframe-pages {
  float: left;
  margin-bottom: 15px;
  width: 100%;
}

.photoframe-thumbs {
  float: left;
  width: 100%;
}

  .photothumb td {
    vertical-align: middle;
    text-align: center;
  }

