/*
Theme Name: Florida Small Business Development Center (CleverOgre Update)
Theme URI: http://floridasbdc.org/
Author: CleverOgre and Todd Adams with Rhyme & Reason Design
Author URI: http://www.cleverogre.com/
Version: 1.0

________/\\\\\\\\\__/\\\\\\____________________________________________________________________/\\\\\________________________________________________
 _____/\\\////////__\////\\\__________________________________________________________________/\\\///\\\______________________________________________
  ___/\\\/______________\/\\\________________________________________________________________/\\\/__\///\\\____/\\\\\\\\_______________________________
   __/\\\________________\/\\\________/\\\\\\\\___/\\\____/\\\_____/\\\\\\\\___/\\/\\\\\\\___/\\\______\//\\\__/\\\////\\\__/\\/\\\\\\\______/\\\\\\\\__
    _\/\\\________________\/\\\______/\\\/////\\\_\//\\\__/\\\____/\\\/////\\\_\/\\\/////\\\_\/\\\_______\/\\\_\//\\\\\\\\\_\/\\\/////\\\___/\\\/////\\\_
     _\//\\\_______________\/\\\_____/\\\\\\\\\\\___\//\\\/\\\____/\\\\\\\\\\\__\/\\\___\///__\//\\\______/\\\___\///////\\\_\/\\\___\///___/\\\\\\\\\\\__
      __\///\\\_____________\/\\\____\//\\///////_____\//\\\\\____\//\\///////___\/\\\__________\///\\\__/\\\_____/\\_____\\\_\/\\\_________\//\\///////___
       ____\////\\\\\\\\\__/\\\\\\\\\__\//\\\\\\\\\\____\//\\\______\//\\\\\\\\\\_\/\\\____________\///\\\\\/_____\//\\\\\\\\__\/\\\__________\//\\\\\\\\\\_
        _______\/////////__\/////////____\//////////______\///________\//////////__\///_______________\/////________\////////___\///____________\//////////__
*/

/* Thumbnail Grid */

.video-grid-container {
    display: block;
    width: 100%;
    height: auto;
}

h2.video-category-title {
    display: block;
    margin: 1em 0;
    padding: 0;
    line-height: 1.1;
    vertical-align: middle;
    text-align: center;
    background-color: #eee;
}
h2.video-category-title:first-child {
    margin-top: 0;
}
h2.video-category-title a,
h2.video-category-title span {
    display: block;
    padding: 0.5em;
    margin: 0;
}

p.video-category-description {
    display: block;
    width: 100%;
    max-width: 886px;
    margin: 36px auto;
    padding: 0 45px;
    line-height: 1.6;
    vertical-align: baseline;
    text-align: left;
    font-size: 100%;
}

ul.video-category-list {
    display: block;
    width: 100%;
    height: auto;
    margin: 1em 0;
    padding: 0;
    box-sizing: border-box;

    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: middle;
    -moz-box-align: middle;
    box-align: middle;
    -webkit-align-items: middle;
    -moz-align-items: middle;
    -ms-align-items: middle;
    -o-align-items: middle;
    align-items: middle;
    -ms-flex-align: start;
    -webkit-box-pack: start;
    -moz-box-pack: start;
    box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    -o-justify-content: flex-start;
    justify-content: flex-start;
    -ms-flex-pack: start;
}
ul.video-category-list li.video-category-list-item {
    display: block;
    width: 20%;
    float: left;
    height: auto;
    position: relative;
    padding: 0;
    margin: 0.5em 0;

    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    box-flex: 0;
    -webkit-flex: 0 0 20%;
    -moz-flex: 0 0 20%;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
}
body.tax-training-video-categories ul.video-category-list li.video-category-list-item {
    width: 25%;
    -webkit-flex: 0 0 25%;
    -moz-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
}

a.video-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
    line-height: 0;
    padding: 6px;
    box-sizing: border-box;
}
a.video-thumbnail:hover {
    background-color: #eee;
}
a.video-thumbnail.video:hover .thumbnail:after,
a.video-thumbnail.playlist:hover .thumbnail:after {
    background-color: #eee;
}
a.video-thumbnail .thumbnail {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}
a.video-thumbnail .thumbnail:before {
    content: '';
    display: block;
    width: 100%;
    height: auto;
    padding-top: 56%;
}
a.video-thumbnail.video .thumbnail:after,
a.video-thumbnail.playlist .thumbnail:after {
    font-family: dashicons;
    display: block;
    width: 32px;
    height: 32px;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 21px;
    line-height: 32px;
    vertical-align: middle;
    text-align: center;
    background-color: #fff;
    color: #999;
}
a.video-thumbnail.video .thumbnail:after {
    content: '\f126';
}
a.video-thumbnail.playlist .thumbnail:after {
    content: '\f322';
}
a.video-thumbnail.category .thumbnail {
    background-color: #eee;
}
a.video-thumbnail.category .thumbnail:after {
    content: '+';
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 0;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
    color: #999;
    font-size: 42px;
    font-weight: bold;

    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}
a.video-thumbnail .thumbnail .duration {
    display: block;
    width: auto;
    height: auto;
    padding: 3px 4px;
    margin: 0;
    position: absolute;
    left: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: normal;
}
a.video-thumbnail .title {
    display: block;
    width: 100%;
    height: auto;
    margin: 0.5em 0 0;
    padding: 0;

    color: #002d62;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    line-height: 1.2;
}
a.video-thumbnail.video .title:before,
a.video-thumbnail.playlist .title:before {
    display: inline;
    color: #999;
    font-weight: normal;
}
a.video-thumbnail.video .title:before {
    content: 'Video: ';
}
a.video-thumbnail.playlist .title:before {
    content: 'Playlist: ';
}
a.video-thumbnail.category .title {
    text-align: right;
}

/* Training Videos Sidebar */

.training-video-sidebar .widget {
    padding-left: 0;
    padding-right: 0;
}
.training-video-sidebar .widget:first-child {
    margin: -30px 0 25px 0;
}

.training-video-sidebar h3.widgettitle {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #002d62;
    font-size: 26px;
    padding: 70px 0 15px 0;
    line-height: 1.3em;
    text-align: center;
    background: none;
    font-family: antreg, arial, sans-serif;
    font-weight: bold;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-image: url('images/icon-default.png');

    background-image: url('images/icon-training-video.png');

    border-bottom: 1px solid #2e68ad;
}

.training-video-sidebar ul {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.training-video-sidebar ul li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #2e68ad;
}
.training-video-sidebar ul li a {
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    display: block;
    padding: 7px 15px;
    margin: 0;
}
.training-video-sidebar ul li a:hover {
    background-color: #69ace0;
}
.training-video-sidebar ul li.current-cat a {
    color: #042472;
    background: #69ace0 url('images/bg-nav-active.png') repeat-y 100% 0;
    font-weight: normal;
}
.training-video-sidebar ul ul {
    display: none;
}

/* Single Video Posts */

section.post-video {
    margin-bottom: 20px;
}

/* Category/Playlist Pages */

.training-video-category .cat-description {
    font-style: italic;
    color: #999;
    font-size: 16px;
    margin-top: -20px;
}

/* Video Modals */

.vex.video-modal-container .vex-overlay {
    height: 200%;
}
.vex.video-modal-container .vex-content {
    width: 960px;
}

.vex.video-modal-container .video-iframe {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    padding: 0;
    margin: 0 0 1em;
}
.vex.video-modal-container .video-iframe:before {
    content: '';
    display: block;
    width: 100%;
    height: auto;
    padding-top: 56.2%;
}
.vex.video-modal-container .video-iframe iframe {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.vex.video-modal-container .video-previous,
.vex.video-modal-container .video-next {
    position: absolute;
    bottom: 0;
    cursor: pointer;
}
.vex.video-modal-container .video-previous {
    left: 0;
}
.vex.video-modal-container .video-next {
    right: 0;
}
.vex.video-modal-container .video-previous:before,
.vex.video-modal-container .video-next:before {
    font-weight: 100;
    line-height: 1px;
    padding-top: 50%;
    display: block;
    font-size: 2em;
    text-indent: 1px;
    overflow: hidden;
    height: 1.25em;
    width: 1.25em;
    text-align: center;
    top: 0;
    right: 0;
    color: #fff;
    background: #666;
    font-family: dashicons;
}
.vex.video-modal-container .video-previous:before {
    content: '\f341';
}
.vex.video-modal-container .video-next:before {
    content: '\f345';
}

@media (max-width: 1279px) {
    ul.video-category-list li.video-category-list-item {
        -webkit-flex: 0 0 33.3%;
        -moz-flex: 0 0 33.3%;
        -ms-flex: 0 0 33.3%;
        flex: 0 0 33.3%;
        width: 33.3%;
    }
}
@media (max-width: 991px) {
    body.tax-training-video-categories ul.video-category-list li.video-category-list-item {
        -webkit-flex: 0 0 33.3%;
        -moz-flex: 0 0 33.3%;
        -ms-flex: 0 0 33.3%;
        flex: 0 0 33.3%;
        width: 33.3%;
    }
}
@media (max-width: 767px) {
    ul.video-category-list li.video-category-list-item {
        -webkit-flex: 0 0 50%;
        -moz-flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        width: 50%;
    }
    body.tax-training-video-categories ul.video-category-list li.video-category-list-item {
        -webkit-flex: 0 0 50%;
        -moz-flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        width: 50%;
    }
}

/* Content Additions */

/* Columns */
.columns-shortcode {
    display: block;
    width: 100%;
    float: none;
    min-height: auto;
}

.columns-shortcode.cols-2 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 32px;
    -moz-column-gap: 32px;
    column-gap: 32px;
    -webkit-column-fill: balance;
    -moz-column-fill: balance;
    column-fill: balance;
}

@media (max-width: 1199px) {
    .columns-shortcode.cols-2 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 991px) {
    .columns-shortcode.cols-2 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (max-width: 767px) {
    .columns-shortcode.cols-2 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

.columns-shortcode.cols-3 {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 32px;
    -moz-column-gap: 32px;
    column-gap: 32px;
    -webkit-column-fill: balance;
    -moz-column-fill: balance;
    column-fill: balance;
}

@media (max-width: 1199px) {
    .columns-shortcode.cols-3 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 991px) {
    .columns-shortcode.cols-3 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .columns-shortcode.cols-3 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

.columns-shortcode.cols-4 {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-gap: 32px;
    -moz-column-gap: 32px;
    column-gap: 32px;
    -webkit-column-fill: balance;
    -moz-column-fill: balance;
    column-fill: balance;
}

@media (max-width: 1199px) {
    .columns-shortcode.cols-4 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 991px) {
    .columns-shortcode.cols-4 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .columns-shortcode.cols-4 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

.columns-shortcode.cols-5 {
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
    -webkit-column-gap: 32px;
    -moz-column-gap: 32px;
    column-gap: 32px;
    -webkit-column-fill: balance;
    -moz-column-fill: balance;
    column-fill: balance;
}

@media (max-width: 1199px) {
    .columns-shortcode.cols-5 {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

@media (max-width: 991px) {
    .columns-shortcode.cols-5 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 767px) {
    .columns-shortcode.cols-5 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

.columns-shortcode.cols-6 {
    -webkit-column-count: 6;
    -moz-column-count: 6;
    column-count: 6;
    -webkit-column-gap: 32px;
    -moz-column-gap: 32px;
    column-gap: 32px;
    -webkit-column-fill: balance;
    -moz-column-fill: balance;
    column-fill: balance;
}

@media (max-width: 1199px) {
    .columns-shortcode.cols-6 {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

@media (max-width: 991px) {
    .columns-shortcode.cols-6 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 767px) {
    .columns-shortcode.cols-6 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

.columns-shortcode.avoid-break > * {
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -o-column-break-inside: avoid;
    -ms-column-break-inside: avoid;
    column-break-inside: avoid;
    -moz-page-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
    display: table;
}

.columns-shortcode > .column {
    display: block;
    width: 100%;
    padding: 0 0 32px;
    margin: 0;
}

/* Button Shortcode */

.button-shortcode a {
    display: inline-block;
    width: 200px;
    height: 70px;
    margin: 1em 0;
    padding: 0;
    position: relative;

    background-color: #e11d45;
    background-image: -webkit-linear-gradient(bottom, #e11d45 0%, #efc2bc 100%);
    background-image: -webkit-linear-gradient(bottom, #e11d45 0%, #efc2bc 100%);
    background-image: linear-gradient(to top, #e11d45 0%, #efc2bc 100%);

    font-family: 'antreg', sans-serif;
    font-weight: 100;
    color: #fcfffa;
    font-size: 18px;
    line-height: 25px;
    text-align: center;

    opacity: 1;
    -webkit-transition: opacity 0.25s ease;
    -moz-transition: opacity 0.25s ease;
    -ms-transition: opacity 0.25s ease;
    -o-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}
.button-shortcode a:hover {
    opacity: 0.7;
}
.button-shortcode a span {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 0;
    text-align: center;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}
