/*
1. Breadcrumb
2. Pagination in blog
3. No right sidebar, small column
4. Search widget
5. Tags widget
6. Form
7. addition css
*/

/* 1. breadcrumb */
.kopa-breadcrumb span.current-page{
    text-transform: uppercase;
    color: #111111;
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
}

/* 2. pagination in blog */
.kopa-pagination ul li span.current {
    background: #ffdb00;
    border-color: #ffdb00;
}

/* 3. no right sidebar, small column */
.kopa-fullwidth-page .primary-col, .kopa-no-small-col{
    width: 100%;
}

/* 4. Search widget */
.widget_search input.searchsubmit {
    background: #302f34;
    font-size: 15px;
    font-family: "Anton", sans-serif;
    color: #efefef;
    width: 25%;
    height: 38px;
    border: 0;
    float: left;
    text-transform: uppercase;
}

/* 5. Tag widget */
.widget_tag_cloud h3 {
    color: #ffffff;
    font-size: 18px;
    padding: 5px 0;
    line-height: 24px;
    margin: 0 0 5px;
}


/* 6. Form */
#submit-comment {
    font-size: 14px;
    line-height: 31px;
    text-align: center;
    color: #333333;
    text-transform: uppercase;
    font-family: "Anton", sans-serif;
    background: #ffdb00;
    border: 0;
    width: 117px;
}

/* 7. addition css */
.wp-caption {
    max-width: 100%;
    color: #333333;
    margin-bottom: 24px;
}
.wp-caption-text {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    margin: 9px 0;
}

div.wp-caption .wp-caption-text {
    padding-right: 10px;
}
.gallery-caption {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 6px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
}
.bypostauthor > article .fn:before {
    content: "\f408";
    margin: 0 2px 0 -2px;
    position: relative;
    top: -1px;
}
.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.kopa-no-logo .top-header {
    margin-bottom: 0!important;
}
.kopa-no-logo #kopa-main-nav {
    margin: 0!important;
}

/*gallery default*/
.single .gallery {
    margin: 20px 0px!important;
}

.gallery-item {
    float: left;
    margin: 0 4px 4px 0;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    border:none !important;
}
.gallery-columns-1 .gallery-item, .gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-7 .gallery-item, .gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item
{
    float: left;
    margin-top: -14px!important;
    text-align: center;
    margin-right: 2px!important;
    padding-bottom: 2px!important;
    width: auto !important;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 48%;
    max-width: -webkit-calc(50% - 4px);
    max-width:         calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
    max-width: 32%;
    max-width: -webkit-calc(33.3% - 4px);
    max-width:         calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
    max-width: 23%;
    max-width: -webkit-calc(25% - 4px);
    max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
    max-width: 19%;
    max-width: -webkit-calc(20% - 4px);
    max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
    max-width: 15%;
    max-width: -webkit-calc(16.7% - 4px);
    max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
    max-width: 13%;
    max-width: -webkit-calc(14.28% - 4px);
    max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
    max-width: 11%;
    max-width: -webkit-calc(12.5% - 4px);
    max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
    max-width: 9%;
    max-width: -webkit-calc(11.1% - 4px);
    max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin-right: 0;
}

.gallery-columns-1.gallery-size-medium dl.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail dl.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail dl.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail dl.gallery-item:nth-of-type(3n+1) {
    clear: left;
}

.gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 6px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
}

.gallery-caption:before {
    content: "";
    height: 100%;
    min-height: 49px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

.kopa-breadcrumb span.current-page, .entry-title.single-post-title, .entry-description {
    word-wrap: break-word;
}