/* -------------------------------- 

xnugget info 

-------------------------------- */
.cd-nugget-info {
    height: 10px;
    left: 0;
    line-height: 0px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

.cd-nugget-info a {
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    color: #64a281;
    font-size: 14px;
    position: relative;
    transition: all 0.2s;
}

.no-touch .cd-nugget-info a:hover { opacity: .8; }

.cd-nugget-info span {
    display: inline-block;
    vertical-align: middle;
}

.cd-nugget-info span svg { display: block; }

.cd-nugget-info .cd-nugget-info-arrow { fill: #64a281; }

/* -------------------------------- 

xcarbonads 

-------------------------------- */

#carbonads-container {
    display: none;
    position: fixed;
    right: 5%;
    top: 40px;
    width: 180px;
    z-index: 10;
}

#carbonads-container .close-carbon-adv {
    background: rgba(28, 39, 54, 0.8);
    display: inline-block;
    height: 32px;
    overflow: hidden;
    position: absolute;
    right: 100%;
    text-indent: 100%;
    top: 0;
    width: 32px;
}

#carbonads-container .close-carbon-adv:hover { background: #1c2736; }

#carbonads-container .close-carbon-adv::after, #carbonads-container .close-carbon-adv::before {

    background-color: #fff;
    height: 2px;
    left: 9px;
    position: absolute;
    top: 14px;
    width: 14px;
}

#carbonads-container .close-carbon-adv::after {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#carbonads-container .close-carbon-adv::before {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#carbonads-container .carbonad {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 0 3px 3px 3px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    height: auto;
    padding: 14px;
    text-align: center;
    width: 100%;
}

#carbonads-container .carbonad .carbonad-image img { margin: 0 0 10px 10px; }

#carbonads-container .carbonad .carbonad-text, #carbonads-container .carbonad .carbonad-tag { font-family: 'Helvetica Neue', Arial, sans-serif; }

#carbonads-container .carbonad .carbonad-text {
    display: block;
    padding: 0;
    width: 100%;
}

#carbonads-container .carbonad .carbonad-text a {
    color: #64a281;
    font-size: 13px;
    font-weight: bold;
}

.no-touch #carbonads-container .carbonad .carbonad-text a:hover { text-decoration: underline; }

#carbonads-container .carbonad .carbonad-tag {
    color: #2E4057;
    margin-top: 5px;
}

#carbonads-container .carbonad .carbonad-tag a { color: #2E4057; }

#carbonads-container .carbonad .carbonad-tag a:hover { color: #64a281; }

@media only screen and (min-width: 1170px) {
    #carbonads-container { display: block; }
}

/* -------------------------------- 

Basic style

-------------------------------- */


nav[role="navigation"] { text-align: center; }

.cd-pagination {
    margin: 2em auto 4em;
    max-width: 768px;
    text-align: center;
    width: 90%;
}

.cd-pagination li {
    /* hide numbers on small devices */
    display: none;
    margin: 0 .2em;
}

.cd-pagination li.button {
    /* make sure prev next buttons are visible */
    display: inline-block;
}

.cd-pagination a, .cd-pagination span {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    display: inline-block;
    font-size: 1.6rem;
    /* use padding and font-size to change buttons size */
    padding: .6em .8em;
    user-select: none;
}

.cd-pagination a {
    border: 1px solid #ddd;
    border-radius: 0.25em;
    color: #666;
    font-size: 14px;
    margin: 2px;
    text-decoration: none;
}

.no-touch .cd-pagination a:hover { background-color: #f2f2f2; }

.cd-pagination a:active {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    /* click effect */
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.cd-pagination a.disabled {
    /* button disabled */
    color: rgba(46, 64, 87, 0.4);
    pointer-events: none;
}

.cd-pagination a.disabled::before, .cd-pagination a.disabled::after { opacity: .4; }

.cd-pagination .current {
    /* selected number */
    background-color: #28aefe;
    border-color: #64a281;
    color: #ffffff;
    pointer-events: none;
}

@media only screen and (min-width: 768px) {
    .cd-pagination li { display: inline-block; }
}

@media only screen and (min-width: 1170px) {
    .cd-pagination { margin: 4em auto 8em; }
}

/* -------------------------------- 

No space - remove distance between list items

-------------------------------- */

.cd-pagination.no-space {
    border: 1px solid #e6e6e6;
    border-radius: 0.25em;
    display: inline-block;
    max-width: none;
    width: auto;
}

.cd-pagination.no-space:after {

    clear: both;
    display: table;
}

.cd-pagination.no-space li {
    border-right: 1px solid #e6e6e6;
    float: left;
    margin: 0;
}

.cd-pagination.no-space li:last-of-type { border-right: none; }

.cd-pagination.no-space a, .cd-pagination.no-space span {
    border: none;
    border-radius: 0;
    float: left;
    padding: .8em 1em;
}

.cd-pagination.no-space li:first-of-type a { border-radius: 0.25em 0 0 0.25em; }

.cd-pagination.no-space li:last-of-type a { border-radius: 0 0.25em 0.25em 0; }

/* -------------------------------- 

move buttons - move prev and next buttons to the sides

-------------------------------- */

.cd-pagination.move-buttons:after {
	
    clear: both;
    display: table;
}

.cd-pagination.move-buttons .button:first-of-type { float: left; }

.cd-pagination.move-buttons .button:last-of-type { float: right; }

.cd-pagination.no-space.move-buttons {
    display: block;
    max-width: 768px;
    overflow: hidden;
    width: 90%;
}

.cd-pagination.no-space.move-buttons li {
    border: none;
    float: none;
}

.cd-pagination.no-space.move-buttons a, .cd-pagination.no-space.move-buttons span { float: none; }

/* -------------------------------- 

custom icons - customize the small arrow inside the next and prev buttons 

-------------------------------- */

.cd-pagination.custom-icons .button a { position: relative; }

.cd-pagination.custom-icons .button:first-of-type a { padding-left: 2.4em; }

.cd-pagination.custom-icons .button:last-of-type a { padding-right: 2.4em; }

.cd-pagination.custom-icons .button:first-of-type a::before, .cd-pagination.custom-icons .button:last-of-type a::after {

    background: transparent url("../img/cd-icon-arrow-1.svg") no-repeat center center;
    display: inline-block;
    height: 16px;
    /* set margin-top = icon height/2 */
    margin-top: -8px;
    position: absolute;
    top: 50%;
    /* set size for custom icons */
    width: 16px;
}

.cd-pagination.custom-icons .button:first-of-type a::before { left: .8em; }

.cd-pagination.custom-icons .button:last-of-type a::after {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    right: .8em;
    transform: rotate(180deg);
}

/* -------------------------------- 

custom buttons - replace prev and next buttons text with a custom icon 

-------------------------------- */

.cd-pagination.custom-buttons a, .cd-pagination.custom-buttons span { vertical-align: middle; }

.cd-pagination.custom-buttons .button a {
    background-image: url("../img/cd-icon-arrow-2.svg");
    background-position: center center;
    background-repeat: no-repeat;
    color: transparent;
    /* image replacement */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    /* set custom width */
    width: 40px;
}

.cd-pagination.custom-buttons .button:last-of-type a {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.no-touch .cd-pagination.custom-buttons .button:last-of-type a:active {
    -moz-transform: scale(0.9) rotate(180deg);
    -ms-transform: scale(0.9) rotate(180deg);
    -o-transform: scale(0.9) rotate(180deg);
    -webkit-transform: scale(0.9) rotate(180deg);
    transform: scale(0.9) rotate(180deg);
}

.cd-pagination.no-space.custom-buttons .button:last-of-type a { border-radius: 0.25em 0 0 0.25em; }

/* -------------------------------- 

animated buttons - animate the text inside prev and next buttons 

-------------------------------- */

.cd-pagination.animated-buttons a, .cd-pagination.animated-buttons span {
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    padding: 0 1.4em;
}

.cd-pagination.animated-buttons .button a {
    padding: 0 2em;
    position: relative;
}

.cd-pagination.animated-buttons .button:first-of-type a::before, .cd-pagination.animated-buttons .button:last-of-type a::after {
    -moz-transform: translateX(-50%);
    -moz-transition: -moz-transform 0.3s;
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -webkit-transition: -webkit-transform 0.3s;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    transition: transform 0.3s;
}

.cd-pagination.animated-buttons .button:last-of-type a::after {
    -moz-transform: translateX(-50%) rotate(180deg);
    -ms-transform: translateX(-50%) rotate(180deg);
    -o-transform: translateX(-50%) rotate(180deg);
    -webkit-transform: translateX(-50%) rotate(180deg);
    transform: translateX(-50%) rotate(180deg);
}

.cd-pagination.animated-buttons i {
    -moz-transform: translateY(100%);
    -moz-transition: -moz-transform 0.3s;
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.3s;
    display: block;
    height: 100%;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.no-touch .cd-pagination.animated-buttons .button a:hover i {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.no-touch .cd-pagination.animated-buttons .button:first-of-type a:hover::before {
    -moz-transform: translateX(-50%) translateY(-50px);
    -ms-transform: translateX(-50%) translateY(-50px);
    -o-transform: translateX(-50%) translateY(-50px);
    -webkit-transform: translateX(-50%) translateY(-50px);
    transform: translateX(-50%) translateY(-50px);
}

.no-touch .cd-pagination.animated-buttons .button:last-of-type a:hover::after {
    -moz-transform: translateX(-50%) rotate(180deg) translateY(50px);
    -ms-transform: translateX(-50%) rotate(180deg) translateY(50px);
    -o-transform: translateX(-50%) rotate(180deg) translateY(50px);
    -webkit-transform: translateX(-50%) rotate(180deg) translateY(50px);
    transform: translateX(-50%) rotate(180deg) translateY(50px);
}