.autoWidth img {
    max-width: none;
}

.autoHeight img {
    width: 100%;
}

.visually-hidden {
    position: fixed;
    left: -10000px;
    opacity: 0;
}

.nav-toggle-handle {
    position: fixed;
    transition: left 0.25s;
    left: 0;
    top: 0;
    z-index: 100;
    padding: 10px;
    color: #fff;
    background-color: #af23ff;
    cursor: pointer;
}

.nav-toggle-handle:before {
    display: none;
    padding-right: 5px;
    content: '◄';
    font-size: 0.8em;
}

.nav-toggle-handle:after {
    padding-left: 5px;
    content: '►';
    font-size: 0.8em;
}

.customize-tools {
    position: relative;
}

.thumbnails {
    margin: 20px 0;
    text-align: center;
}

.thumbnails li {
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnails .tns-nav-active {
    background: none;
    border-color: #eb3d00;
}

.thumbnails li {
    width: 50px;
}

.thumbnails img {
    vertical-align: bottom;
    height: auto;
    max-height: 50px;
}

.controls {
    text-align: center;
}

.controls li {
    display: block;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-backface-visibility: hidden;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.controls li img {
    display: inline-block;
    vertical-align: middle;
    height: 28px;
    width: auto;
}

.controls .prev {
    left: 0;
}

.controls .next {
    right: 0;
}

.controls li:hover {
    background: rgba(0,0,0,.2);
}

.tns-controls {
    text-align: center;
    margin-bottom: 10px;
}

.tns-controls [aria-controls] {
    font-size: 15px;
    margin: 0 5px;
    padding: 0 1em;
    height: 2.5em;
    color: #000;
    background: #66CCFF;
    border-radius: 3px;
    border: 0;
}

.lt-ie9 .tns-controls > [aria-controls] {
    line-height: 2.5em;
}

[data-action] {
    display: block;
    margin: 10px auto;
    font-size: 17px;
    min-width: 3em;
    text-align: center;
    background: transparent;
    border: 0;
}

.tns-controls [disabled] {
    color: #999999;
    background: #B3B3B3;
    cursor: not-allowed !important;
}

.tns-nav {
    text-align: center;
    margin: 10px 0;
}

.tns-nav > [aria-controls] {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    background: #ddd;
    border: 0;
}

.tns-nav > .tns-nav-active {
    background: #999;
}

.playbutton-wrapper {
    text-align: center;
}

.playbutton-wrapper button {
    padding: 0 10px;
    font-size: 14px;
    cursor: pointer;
}
