/*
Theme Name: AcmePhotoPro
Theme URI: https://www.acmethemes.com/themes/acmephotopro/
Author: acmethemes
Author URI: https://www.acmethemes.com/
Description: AcmePhotoPro is a Premium Photography theme with extended features and based on masonry layout, a perfect premium theme for all photographer, as well as a portfolio site for your creativity. AcmePhotoPro comes with an amazing feature section with different options and advanced masonry layout, making this theme super awesome with premium quality. If you a professional photographer, a photoblogger or just looking for a beautiful photography theme for your next project, then AcmePhotoPro is what you are searching for.
Version: 3.0.7
Tested up to: 6.5
Requires PHP: 5.6.20
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acmephoto
Tags: blog, portfolio, photography, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template ,post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, wide-blocks

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Post Formats
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
#Custom CSS

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background: transparent
}

a:active,
a:hover,
a:focus {
    outline: 0
}

a:focus {
    text-decoration: underline;
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

mark {
    color: #2d2d2d
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

pre {
    background: #eee;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal;
    max-width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,
th {
    padding: 0
}

/*inner page*/
.post .entry-content table,
.page .entry-content table {
    width: 100%;
}

.post .entry-content table th,
.page .entry-content table th {
    background: #eee none repeat scroll 0 0;
    font-weight: normal;
    padding: 15px 20px;
    text-align: left;
}

.post .entry-content table tbody tr,
.page .entry-content table tbody tr {
    border-top: 1px solid #e5e5e5;
}

.post .entry-content table td,
.page .entry-content table td {
    background: #fff none repeat scroll 0 0;
    padding: 1vw 2vw;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body {
    font-size: 16px;
    line-height: 22px;
}

/*font family*/
h1,
h1 a,
h2,
h2 a,
h3,
h3 a,
h4,
h4 a,
h5,
h5 a,
h6,
h6 a {
    font-weight: normal;
    line-height: 1.3;
    margin: 0 0 16px;
}

.wrapper {
    margin: 0 auto;
    max-width: 1240px;
}

.text-center {
    text-align: center;
}

a {
    text-decoration: none;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
}

p {
    margin: 0 0 16px;
}

h1 {
    font-size: 26px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

ul {
    margin: 0;
    padding: 0;
}

/*inner page list*/
#primary .post .entry-content ul,
#primary .page .entry-content ul {
    margin: 0 0 30px 15px;
}

.site-content .post .entry-content ul li::after,
.site-content .page .entry-content ul li::after {
    color: #474747;
}

figure {
    margin: 0;
}

i.fa {
    margin-right: 5px;
}

.boxed-layout #page {
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color=#2D2D2D)";
    /*IE 8*/
    -moz-box-shadow: 0px 0px 12px #2D2D2D;
    /*FF 3.5+*/
    -webkit-box-shadow: 0px 0px 12px #2D2D2D;
    /*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/
    box-shadow: 0px 0px 12px #2D2D2D;
    /* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color=#2D2D2D);
    /*IE 5.5-7*/
    margin: 0 auto;
    width: 1214px;
}

/* Large desktop */
@media (max-width: 1229px) {
    * {
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    a[href^=tel] {
        /* css */
        color: inherit;
        text-decoration: inherit;
        font-size: inherit;
        font-style: inherit;
        font-weight: inherit;
    }

    #page,
    .boxed-layout #page {
        width: 100%;
    }

    .wrapper {
        width: 980px;
    }
}

/* Portrait tablet to landscape and desktop */
@media screen and (max-width:992px) {
    .wrapper {
        padding: 0 5px;
        width: 740px;
    }
}

/*--------------------------------------------------------------
# Header and Navigation
--------------------------------------------------------------*/
.top-header {
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 999;
}

.sticky-site-identity {
    float: left;
    max-width: 20%;
    display: none;
    padding: 7px 0;
}

.navbar {
    -webkit-box-shadow: 0 0 2px #aaa;
    -moz-box-shadow: 0 0 2px #aaa;
    box-shadow: 0 0 2px #aaa;
    padding: 0;
    z-index: 3000;
}

/*navbar header top*/
.navbar-header {
    padding: 10px 0;
}

.no-fs-clearfix {
    height: 80px;
}

.navbar .navbar-toggle {
    background-color: #2d2d2d;
    border-radius: 4px;
    color: #ffffff;
    display: none;
    float: right;
    font-size: 22px;
    margin: 19px auto;
    outline: medium none;
    padding: 7px 8px;
    text-align: center;
    transition: all 0.2s ease-out 0s;
}

.navbar .navbar-toggle .icon-bar {
    background-color: #2d2d2d;
}

/*main-navigation*/
.navbar-fixed-top {
    left: 0;
    position: fixed;
    right: 0;
    z-index: 1030;
}

.main-navigation {
    text-align: center;
    z-index: 1;
    float: left;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul.navbar-nav {
    margin: 0 auto;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    position: relative;
    padding: 20px 0;
}

.main-navigation a {
    display: block;
    font-size: 16px;
    font-weight: 400;
    padding: 9px 18px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
}

.main-navigation .menu-item-has-children::after {
    background-image: none;
    background-position: 0 0;
    background-repeat: repeat;
    content: "\f107";
    display: inline;
    float: right;
    font-family: "FontAwesome";
    height: auto;
    line-height: normal;
    margin-right: 5px;
    margin-top: -30px;
    text-decoration: inherit;
    vertical-align: 10%;
    width: auto;
}

.main-navigation .children .menu-item-has-children::after {
    margin-top: -25px;
}

#menu_wrapper .nav ul li.arrow>a::after,
#menu_wrapper div .nav li.arrow>a::after {
    font-size: 11px;
}

/*submenu*/
.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    left: -999em;
    z-index: 99999;
    text-align: left;
    top: 62px;
}

.main-navigation li .sub-menu li {
    padding: 0;
}

.main-navigation ul ul ul {
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation li:hover>a {
    background: rgba(0, 0, 0, 0);
}

.main-navigation ul li:hover>ul {
    left: auto;
}

.main-navigation ul ul li:hover>ul {
    left: 100%;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus {
    background: rgba(0, 0, 0, 0.2);
}

.main-navigation li:focus-within>a {
    background: rgba(0, 0, 0, 0);
}

.main-navigation ul li:focus-within>ul {
    left: auto;
}

.main-navigation ul ul li:focus-within>ul {
    left: 100%;
}

/*** children ***/
.main-navigation ul ul.sub-menu li {
    float: none;
}

.main-navigation ul ul.sub-menu {
    top: 60px;
}

.main-navigation ul ul ul.sub-menu {
    top: 0;
}

.main-navigation ul.sub-menu li a {
    border-top: none;
    padding-top: 14px;
}

/*navbar small/navbar fixed//*Normal Navigation*/
.navbar-small {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

@media (min-width:768px) {
    .admin-bar .navbar-small {
        top: 32px;
    }
}

.navbar-small .main-navigation,
.normal-navigation .main-navigation {
    float: right;
}

.normal-navigation .sticky-site-identity,
.navbar-small .sticky-site-identity {
    display: block;
}

.navbar-small .main-navigation,
.normal-navigation .main-navigation {
    float: right;
}

.navbar .socials a {
    color: #000;
}

/* Large desktop */
@media (max-width: 1229px) {

    /*** HEADER ***/
    .navbar .socials {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .navbar-small .main-navigation ul.nav-menu>li>a {
        padding: 23px 12px;
        transition: all 0.5s ease 0s;
        -webkit-transition: all 0.9s ease 0s;
        -moz-transition: all 0.9s ease 0s;
        -o-transition: all 0.9s ease 0s;
        -ms-transition: all 0.9s ease 0s;
    }

    .main-navigation {
        display: block !important;
    }
}

@media screen and (max-width: 1023px) {
    .main-navigation {
        max-height: 70vh;
        overflow-y: scroll;
        width: 100%;
    }

    .sticky-site-identity {
        max-width: 50%;
    }

    .navbar-header {
        float: none;
    }

    .navbar .navbar-toggle {
        display: block;
    }

    .navbar .navbar-toggle i.fa {
        margin-right: 0;
    }

    .main-navigation {
        display: none;
        text-align: left;
    }

    .navbar {
        margin-bottom: 0;
    }

    .main-navigation li {
        float: none;
        display: block;
        border-top: 1px solid #999;
        padding: 10px 0;
    }

    .main-navigation li.menu-item-has-children {
        padding-bottom: 0;
    }

    .main-navigation ul ul.sub-menu {
        margin-top: 10px;
    }

    .main-navigation ul ul.sub-menu li {
        padding-left: 10px;
    }

    .main-navigation ul.sub-menu li a {
        padding-top: 10px;
    }

    .main-navigation.toggled .nav-menu {
        background: none repeat scroll 0 0 #2d2d2d;
    }

    .main-navigation ul ul {
        display: block;
        float: none;
        position: static;
        text-align: left;
        box-shadow: none;
    }

    .main-navigation ul ul li {
        padding-left: 25px;
    }

    .main-navigation ul ul li a {
        display: block;
        width: auto;
    }

    .main-navigation ul ul a:hover,
    .main-navigation ul ul a:focus {
        background: rgba(0, 0, 0, 0);
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin-top: 45px;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

.posts-navigation .nav-previous a::before,
.posts-navigation .nav-next a::after,
.post-navigation .nav-previous a::before,
.post-navigation .nav-next a::after {
    font-family: "fontawesome";
}

.posts-navigation .nav-previous a::before,
.post-navigation .nav-previous a::before {
    color: #2D2D2D;
    content: "\f177";
    padding-right: 8px;
}

.posts-navigation .nav-next a::after,
.post-navigation .nav-next a::after {
    color: #2D2D2D;
    content: "\f178";
    padding-left: 8px;
}

.posts-navigation .nav-previous a,
.posts-navigation .nav-next a,
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    background: #f6f6f6;
    border: 1px solid #d0d0d0;
    border-radius: 30px;
    display: inline-block;
    margin: 0 12px;
    padding: 8px 24px;
    transition: all 0.5s ease-in-out 0s;
}

/***** 404 page/no result page,no search found *****/
.no-results .search-block,
.error404 #primary .page-content .search-block,
.search-no-results #primary .page-content .search-block {
    float: none;
    width: 50%;
    margin: 0 auto;
}

.not-found .page-header,
.not-found .page-content {
    text-align: center;
    width: 100%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(255, 255, 255, 0.9);
    clip: auto !important;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear {
    clear: both;
}

.clearfix:after,
.clearfix:before {
    display: table;
    content: ""
}

.clearfix:after {
    clear: both
}

.clearfix {
    *zoom: 1
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.secondary-sidebar .widget {
    margin: 0 0 1.5em;
}

.widget-image img {
    width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
    display: none;
}

.widget_search {
    position: relative;
    width: 100%;
}

/*** CALENDER ***/
.calendar_wrap #wp-calendar {
    width: 100%;
}

.calendar_wrap #wp-calendar caption {
    font-size: 13px;
    font-weight: 700;
    padding: 15px 0;
    text-align: center;
    text-transform: uppercase;
}

.calendar_wrap table,
.calendar_wrap th,
.calendar_wrap td,
.calendar_wrap tr {
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-collapse: collapse;
    padding: 3px;
}

.calendar_wrap #wp-calendar th,
.calendar_wrap #wp-calendar td {
    border: 1px solid rgba(255, 255, 255, 0.9);
    text-align: center;
}

.calendar_wrap th {
    background: rgba(255, 255, 255, 0.9);
    line-height: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.at-sticky::before {
    border-left: 16px solid rgba(0, 0, 0, 0);
    border-right: 15px solid rgba(155, 97, 97, 0);
    content: "";
    height: 0;
    left: 0;
    position: absolute;
    top: 26px;
    width: 0;
}

.at-sticky {
    margin-left: 11px;
    padding: 2px 9px;
    position: absolute;
    top: 0;
}

.sticky-format-icon {
    color: #fff;
}

.updated:not(.published) {
    display: none;
}

.single .singe-content-wrapper .byline,
.group-blog .byline {
    display: inline;
    padding-left: 10px;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.site-content {
    background: #fff;
    margin-top: 40px;
    margin-bottom: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.at-hide-front-page-content .site-content {
    display: none;
}

.page article {
    padding: 15px 25px;
    background-color: #fff;
}

/* Landscape phone to portrait tablet */
@media screen and (max-width:767px) {
    .site-content {
        margin-top: 10px;
    }
}

/*--------------------------------------------------------------
## Post Formats
--------------------------------------------------------------*/
.blog .format-status .entry-title,
.archive .format-status .entry-title {
    display: none;
}

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comments-area {
    padding: 15px;
}

.comment-reply-title,
.comments-title {
    border-bottom: 1px solid #d9d9d9;
    font-size: 16px;
    font-weight: 500;
    line-height: 48px;
    margin-bottom: 15px;
    position: relative;
}

.comment-form input {
    border: 1px solid #d9d9d9;
    color: #b8b8b8;
    font-size: 14px;
    padding: 10px;
    width: 77%;
}

.comment-form-author input,
.comment-form-email input {
    float: left;
    margin: 0 0 16px;
}

.comment-form-author input {
    margin: 0 29px 16px 0;
}

.comment-form-url input {
    clear: both;
    width: 77%;
}

.comment-form textarea {
    width: 77%;
    display: block;
    border: 1px solid #d9d9d9;
    resize: none;
    color: #b8b8b8;
    font-size: 14px;
    padding: 10px;
}

.comment-form .form-submit input {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 26px;
    padding: 4px 10px;
    width: 77%;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    border: 0;
}

.comment-form .form-submit input:hover,
.comment-form .form-submit input:focus {
    background: #E07728;
}

.comment-list {
    margin: 0 0 20px 0;
}

.comment-list li {
    border-bottom: 1px solid #e5e5e5;
    clear: both;
    font-size: 13px;
    list-style-type: none;
    margin: 0 0 10px;
    padding: 0 0 1px;
}

.comment-author img {
    float: left;
    margin: 0 20px 0 0;
    border-radius: 50%;
}

.comment-list .fn {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    color: #000000;
}

.comment-list .fa.fa-clock-o {
    font-size: 14px;
    margin-right: 3px;
}

.bypostauthor {
    display: block;
}

@media screen and (max-width:679px) {

    .comment-form input,
    .comment-form-url input,
    .comment-form textarea,
    .comment-form .form-submit input {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    padding: 2px;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*------------------------------------------------------*\
    #Custom CSS
\*--------------------------------------------------------*/
/*author info*/
.authorbox {
    background-color: #F2F2F2;
    border: 1px solid #eeeeee;
    clear: both;
    height: auto;
    margin: 10px 15px;
    overflow: hidden;
    padding: 10px;
    text-align: center;
}

.authorbox .author-avatar {
    height: 90px;
    width: 90px;
    margin: 0 auto;
}

.author-img img {
    margin-right: 15px;
}

.avatar {
    border-radius: 50%;
    float: left;
}

/***** SOCIALS *****/
.socials {
    font-size: 18px;
    margin: 0;
    float: right;
}

.socials a {
    text-align: center;
    color: #fff;
}

.socials span {
    float: left;
}

.socials span i {
    display: inline-block;
    font-size: 20px;
    line-height: 75px;
    overflow: hidden;
    padding: 0;
    width: 30px;
}

.site-footer .socials {
    float: none;
    font-size: 20px;
    margin-bottom: 20px;
}

.site-footer .socials>a {
    display: inline-block;
    margin: 0 10px;
    opacity: 0.7;

}

.site-footer .socials>a:hover,
.site-footer .socials>a:focus {
    opacity: 1;
}

.site-footer .socials span {
    float: none;
    color: #fff;
}

.site-footer .socials span i {
    display: inline;
}

/***** LOGO & ADDS *****/
.site-title,
.site-title a {
    font-family: "Satisfy", cursive;
    font-size: 28px;
    margin: 0;
}

.site-description,
.site-description a {
    font-family: "Satisfy", cursive;
    font-size: 16px;
    margin-bottom: 0;
}

.site-branding {
    padding: 0;
    background: #fff;
}

.site-branding .site-logo {
    float: none;
    width: auto;
    text-align: center;
    margin: 0 auto;
}

.site-branding .site-logo .site-title {
    margin-bottom: 0;
}

.site-logo img {
    margin: 15px 0 8px;
}

.custom-logo {
    max-width: 200px;
}

.search-block input.menu-search,
.widget_search input.menu-search {
    border: 1px solid #dbdbdb;
    font-size: 13px;
    height: 35px;
    line-height: 31px;
    padding: 6px 15px;
    width: 100%;
}

.widget_search input.menu-search {
    padding: 7px;
    height: 40px;
}

.searchsubmit {
    color: #8c919b;
}

.search-block #searchsubmit,
.widget_search #searchsubmit {
    background: rgba(255, 255, 255, 0.9);
    border: medium none;
    font-size: 20px;
    height: 25px;
    position: absolute;
    right: 7px;
    top: 3px;
    width: 25px;
}

.widget_search #searchsubmit {
    top: 7px;
}

/*-----------------*\
    #FOOTER
\*-----------------*/
/*** COMMON FOOTER CSS ***/
footer #footer-top,
.footer-copyright .wrapper {
    border-top: 0;
    padding-top: 25px;
}

.footer-wrapper,
.footer-copyright {
    color: #ababab;
}

.footer-wrapper .border {
    padding: 20px 0;
}

.footer-sidebar {
    padding: 5px;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
}

footer.site-footer li {
    border-bottom: 0;
    position: relative;
    padding-left: 15px;
}

footer.site-footer li:before {
    content: "\f105";
    position: absolute;
    left: 0;
    font-family: FontAwesome;
    font-size: 16px;
}

footer .socials>a>span {
    padding: 5px 10px;
}

footer .font-icon-social-facebook {
    background: #3b5998 none repeat scroll 0 0;
}

footer .font-icon-social-twitter {
    background: #1CB7EB;
}

footer .font-icon-social-instagram {
    background: #e1306c;
}

footer .font-icon-social-linkedin {
    background: #1484C3;
}

footer .font-icon-social-youtube {
    background: #D62424;
}

footer .font-icon-social-google-plus {
    background: #D73D32;
}

footer .font-icon-social-pinterest {
    background: #BD2126;
}

footer .font-icon-social-flickr {
    background: #FD0083;
}

footer .font-icon-social-tumblr {
    background: #34465D;
}

footer .font-icon-social-vk {
    background: #45668e;
}

footer .social a:hover,
footer .social a:focus {
    opacity: 0.7;
}

/***************************************/
/* Portrait tablet to landscape and desktop */
@media screen and (max-width:992px) {

    /*** FOOTER ***/
    .footer-wrapper {
        padding: 30px 0 0;
    }
}

/* Large desktop */
@media (max-width: 1229px) {
    .content-wrapper {
        padding-top: 13px !important;
    }
}

/* Landscape phone to portrait tablet */
@media screen and (max-width:767px) {
    .wrapper {
        width: 98%;
    }
}

/*SLIDER AND FEATURED SECTION*/
/*.feature-slider{
	display: none;
}*/
.feature-slider .cat-links {
    left: 0;
    position: absolute;
    z-index: 1;
}

.slider-section {
    float: left;
    overflow: hidden;
    position: relative;
    width: 100%
}

.slider-section .item {
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-size: cover
}

.slider-section .item img {
    width: 100%;
}

.slider-section .slider-desc {
    background: rgba(255, 255, 255, 0);
    left: 50%;
    padding: 50px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.slider-section .slider-desc .entry-header {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

.slider-section .slider-desc .entry-header .cat-links {
    position: relative;
    margin: 0;
}

.slider-section .slider-desc .entry-header .cat-links a {
    font-size: 16px;
}

.slider-section .slider-desc .entry-header .cat-links i {
    display: none;
}

.slider-section .slide-title {
    line-height: 1;
    margin-bottom: 20px;
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: 56px;
    text-transform: uppercase;
}

.slider-section .slide-caption {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    width: 80%;
}

.slider-section .read-more {
    margin-top: 10px;
    text-transform: uppercase;
    transition: all 0.2s ease 0s;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #eee;
    border-radius: 30px;
    color: #eee;
    display: inline-block;
    font-size: 18px;
    padding: 20px 30px;
}

.slider-section .read-more:hover,
.slider-section .read-more:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.3);
}

.slider-section .slider-details,
.slider-section .above-slider-details {
    padding: 15px;
}

.slider-section .above-slider-details {
    color: #000000;
    display: inline-block;
    font-size: 11px;
    padding: 4px 11px;
}

.slider-section .above-slider-details {
    background: none;
    padding-left: 0;
}

.slider-feature-wrap a {
    color: #000000;
    display: block;
    line-height: 0;
}

.slider-section .above-slider-details i {
    margin: 9px;
}

/*new slider control*/
.cycle-prev,
.cycle-next {
    bottom: 10px;
    color: #fff;
    cursor: pointer;
    display: block;
    font-weight: normal;
    position: absolute;
    right: 30px;
    text-align: center;
    z-index: 999;
    font-size: 30px;
}

.cycle-prev {
    float: left;
    margin-right: 36px;
}

.cycle-next {
    float: right;
}

/*slider social section*/
.slider-section .banner-social {
    bottom: 10px;
    color: #fff;
    cursor: pointer;
    display: block;
    font-weight: normal;
    position: absolute;
    left: 30px;
    text-align: center;
    z-index: 999;
    font-size: 30px;
    float: left;
}

.banner-social .socials a {
    display: inline-block;
    color: #fff;
}

.banner-social .socials span i {
    line-height: 1;
}

/*search banner*/
.banner-search {
    bottom: 10%;
    margin: 0 auto;
    position: absolute;
    width: 100%;
    z-index: 999;
}

.banner-search .search-block {
    margin: 0 auto;
    max-width: 620px;
    position: relative;
    width: 60%;
}

.banner-search .search-block input#menu-search {
    height: 50px;
    font-size: 20px;
}

.banner-search .search-block #searchsubmit {
    color: #ffffff;
    border: medium none;
    font-size: 27px;
    height: 42px;
    position: absolute;
    right: 8px;
    top: 3px;
    width: 60px;
}

/* Portrait tablet to landscape and desktop */
@media screen and (max-width:992px) {

    /*** SLIDER ***/
    .slider-section .slide-caption {
        display: none;
    }

    .beside-caption .post-date,
    .slider-desc .cat-links {
        display: none;
    }

    .banner-search {
        bottom: 20%;
    }
}

/* Landscape phone to portrait tablet */
@media screen and (max-width:767px) {

    /*** SLIDER ***/
    .slider-section .slider-desc {
        min-width: 60%;
        padding: 45px;
    }
}

/* Landscape phones and down */
@media screen and (max-width:640px) {

    /*** SLIDER ***/
    .slider-section .slider-desc {
        padding: 5px;
    }

    .slider-section {
        width: 100%;
    }

    .slider-section .slide-title,
    .slider-section .above-slider-details {
        display: none;
    }

    .banner-search {
        bottom: 40%;
    }

    .banner-search .search-block {
        width: 80%;
    }
}

@media screen and (max-width:480px) {

    /*** SLIDER ***/
    .slider-section .slider-desc {
        height: 45% !important;
        padding: 0;
        margin-top: -10px;
        top: 80%;
    }

    .feature-slider .cat-links {
        display: none;
    }

    .top-header {
        display: none !important;
    }
}

/***** Sidebars  *****/
#primary {
    width: 75%;
}

.secondary-sidebar {
    width: 25%;
}

.right-sidebar .sidebar {
    padding-right: 7.5px;
}

/*** RIGHT-SIDEBAR ***/
.right-sidebar #primary {
    float: left;
}

.right-sidebar .secondary-sidebar {
    float: right;
    padding-left: 30px;
}

/*** LEFT-SIDEBAR ***/
.left-sidebar #primary {
    float: right;
}

.left-sidebar .secondary-sidebar {
    float: left;
    padding-right: 30px;
}

.left-sidebar .sidebar {
    padding-left: 7.5px;
}

/*** NO-SIDEBAR ***/
.no-sidebar #primary {
    width: 100%;
}

/*** BOTH-SIDEBAR ***/
.both-sidebar #primary-wrap {
    float: left;
    width: 73%;
}

.both-sidebar #primary-wrap #secondary-left {
    float: left;
    width: 32%;
    padding-right: 30px;
}

.both-sidebar #primary-wrap #primary {
    float: right;
    width: 65%;
}

.both-sidebar #secondary-right {
    float: right;
    width: 25%;
}

.both-sidebar .sidebar {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

/*** Middle-col ***/
.middle-col {
    overflow-x: hidden;
}

.middle-col .content-wrapper {
    width: 73%;
    margin: 0 auto;
}

.middle-col #primary {
    width: 100%;
    margin: 0 auto;
}

.both-sidebar #primary-wrap #secondary-left {
    float: left;
    width: 32%;
}

.both-sidebar #primary-wrap #primary {
    float: right;
    width: 65%;
}

.both-sidebar #secondary-right {
    float: right;
    width: 25%;
    padding-left: 22px;
}

.page-header .page-title,
.single .entry-header .entry-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 15px;
    padding: 12px 0 0 10px;
    position: relative;
}

.single .entry-footer {
    margin: 0 10px 20px 0;
    text-align: right;
}

.single .no-thumbnail .entry-footer {
    text-align: left;
}

/*** COMMON WIDGETS ***/
.widget-title::after {
    content: "";
    height: 15px;
    position: absolute;
    top: 14px;
    width: 3px;
    left: 0;
}

.widget-title,
.widgettitle {
    padding: 8px 0 8px 10px;
    position: relative;
}

.widget-title span {
    display: block;
}

.widget .search-block {
    position: relative;
}

.widget li {
    border-bottom: 1px dotted #d7d7d7;
    display: block;
    padding-bottom: 5px;
    padding-top: 5px;
}

.widget li:last-child {
    border-bottom: 0 !important;
}

.widget li a {
    color: #2d2d2d;
}

.widget select {
    background: #ffffff;
    border: 1px solid #cccccc;
    max-width: 100%;
    padding: 8px 15px;
}

/*tags*/
.tagcloud a {
    display: inline-block;
    font-size: 13px !important;
    margin-bottom: 8px;
    margin-right: 4px;
    padding: 5px;
}

/*author*/
.acmephoto-author-widget {
    text-align: center;
}

.acmephoto-author-widget>a {
    display: block;
    width: 100%;
}

.acmephoto-author-widget img {
    border-radius: 50%;
    margin: 0 auto;
    display: table;
}

/* Landscape phone to portrait tablet */
@media screen and (max-width:767px) {

    /*** SIDEBAR ***/
    #primary,
    .both-sidebar #primary,
    .both-sidebar #primary-wrap #primary,
    .left-sidebar #primary {
        margin: 0 0 20px;
        width: 100%;
    }

    .secondary-sidebar,
    .both-sidebar #primary-wrap,
    .both-sidebar #primary-wrap #secondary-left,
    .both-sidebar #secondary-right,
    .right-sidebar .secondary-sidebar,
    .left-sidebar .secondary-sidebar,
    .no-sidebar .secondary-sidebar,
    .middle-col .content-wrapper {
        clear: both;
        float: none;
        margin: 0 0 20px;
        width: 100%;
    }
}

/* column*/
.acme-col-1 {
    width: 100%;
    position: relative;
}

.acme-col-2 {
    float: left;
    width: 50%;
    position: relative;
}

.acme-col-3 {
    float: left;
    width: 33.333%;
}

.acme-col-4 {
    float: left;
    width: 25%;
}

.float-right {
    float: right;
}

/* different techniques for iPad screening */
@media screen and (min-width: 482px) and (max-width: 992px) {

    .acme-col-3,
    .acme-col-4 {
        width: 50%;
    }
}

/* Landscape phones and down */
@media screen and (max-width:481px) {

    .acme-col-3,
    .acme-col-4 {
        width: 100%;
    }
}

/*Inner Pages*/
.single-thumb-full {
    width: 100%;
    text-align: center;
    position: relative;
}

.posted-on a,
.cat-links a,
.comments-link a,
.edit-link a,
.tags-links a,
.byline a,
.nav-links a {
    color: #fff;
    font-size: 12px;
}

.single .singe-content-wrapper .posted-on a,
.single .singe-content-wrapper .cat-links a,
.single .singe-content-wrapper .comments-link a,
.single .singe-content-wrapper .edit-link a,
.single .singe-content-wrapper .tags-links a,
.single .singe-content-wrapper .byline a,
.single .singe-content-wrapper.nav-links a {
    font-size: 16px;
}

.single article .no-thumbnail .cat-links a,
.single article .no-thumbnail .tags-links a,
.single article .no-thumbnail .comments-link a {
    color: #000;
}

.single .single-feat {
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.at-hover-fixed {
    display: inline-block;
    position: relative;
}

.at-hover-fixed .entry-meta {
    text-align: left;
}

.single .no-thumbnail .entry-data,
.single .no-thumbnail .entry-footer,
.single article.post .entry-header,
.single article.post .entry-content {
    line-height: 22px;
    padding: 0 10px;
}

article.post .entry-footer {
    clear: both;
}

article.post .entry-header .entry-title {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
}

article.post .post-thumb {
    position: relative;
    width: 100%;
}

/*archive pages*/
.nav-links div {
    display: inline-block;
    margin-bottom: 10px;
}

.nav-next {
    float: right;
}

/*** ERROR404 ***/
.error404 #primary {
    text-align: center;
    width: 100%;
}

#primary .not-found {
    min-height: 400px;
    padding-top: 100px;
}

.error404 #primary .page-header .page-title::after,
.not-found .page-header .page-title::after {
    background: transparent;
}

/*breadcrumbs*/
.breadcrumbs.clearfix {
    background: #f1f1f1 none repeat scroll 0 0;
    margin-bottom: 20px;
    padding: 0;
}

span.breadcrumb::after {
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    content: "";
    height: 0;
    margin-top: -3px;
    position: absolute;
    right: -5px;
    top: 50%;
    width: 0;
}

span.breadcrumb {
    color: #ffffff;
    float: left;
    padding: 5px 10px;
    position: relative;
    margin-right: 10px;
}

#acmephoto-breadcrumbs {
    padding: 0;
}

#acmephoto-breadcrumbs .breadcrumb-trail li {
    display: block;
    float: left;
    list-style: outside none none;
    padding: 5px 0 5px 5px;
}

#acmephoto-breadcrumbs .breadcrumb-trail li a {
    display: inline-block;
}

#acmephoto-breadcrumbs a:hover,
#acmephoto-breadcrumbs a:focus {
    text-decoration: underline;
}

#acmephoto-breadcrumbs .breadcrumb-trail li.trail-item.trail-end::after {
    display: none;
}

#acmephoto-breadcrumbs .breadcrumb-trail li::after {
    content: "\f101";
    font-family: FontAwesome;
    margin-left: 10px;
}

#acmephoto-breadcrumbs .breadcrumb-trail .trail-items {
    margin: 0;
    padding: 0;
}

/*innder thumb*/
.inner-wrapper.acme-no-image .thumb-holder-link {
    height: 250px;
    width: 100%;
    background-color: #f1f1f1;
}

.no-image-table-masonry {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 24px;
    height: 250px;
    line-height: 28px;
    text-align: center;
    width: 100%;
    background-color: #f1f1f1;
}

/*ajax*/
#acmephoto-temp-post {
    display: none;
}

.masonry-start .posted-on,
.masonry-start .byline,
.single article .posted-on,
.single article .byline {
    position: relative;
    display: inline-block;
}

.masonry-start .posted-on,
.masonry-start .byline,
.single article .posted-on,
.single article .byline,
.single article .cat-links a:hover,
.single article .tags-links a:hover,
.single article .cat-links a:focus,
.single article .tags-links a:focus {
    opacity: 0.7;
}

.masonry-start .posted-on:hover,
.masonry-start .byline:hover,
.single article .posted-on:hover,
.single article .byline:hover,
.single article .cat-links a:hover,
.single article .tags-links a:hover,
.masonry-start .posted-on:focus,
.masonry-start .byline:focus,
.single article .posted-on:focus,
.single article .byline:focus,
.single article .cat-links a:focus,
.single article .tags-links a:focus {
    opacity: 1;
}

.masonry-start .posted-on a,
.masonry-start .byline a,
.single article .posted-on a,
.single article .byline a,
.single article .cat-links a:hover,
.single article .tags-links a:hover,
.single article .cat-links a:focus,
.single article .tags-links a:focus {
    color: #fff;
}

.tags-links>a {
    background: #777;
    padding: 4px 10px;
}

.single article .no-thumbnail .cat-links a:hover,
.single article .no-thumbnail .tags-links a:hover,
.single article .no-thumbnail .comments-link a:hover,
.single article .no-thumbnail .cat-links a:focus,
.single article .no-thumbnail .tags-links a:focus,
.single article .no-thumbnail .comments-link a:focus {
    color: #564747;
    opacity: 0.7;
}

.masonry-start .posted-on a:hover,
.masonry-start .byline a:hover,
.single article .posted-on a:hover,
.single article .byline a:hover,
.masonry-start .posted-on a:focus,
.masonry-start .byline a:focus,
.single article .posted-on a:focus,
.single article .byline a:focus {
    color: #fff;
}

.single article .no-thumbnail .posted-on a,
.single article .no-thumbnail .byline a {
    color: #000;
}

.masonry-start article,
.archive .page-header,
.search .page-header {
    padding: 5px;
}

article.no-gab {
    padding: 0 !important;
}

.single article.post {
    padding: 0;
    background: #fff;
}

.masonry-start .entry-content p {
    text-align: justify;
}

.masonry-start .read-more {
    text-align: center;
    margin: 10px auto;
}

.masonry-start .read-more .read-more-btn {
    color: #fff;
    display: inline-block;
    padding: 6px 15px;
    text-transform: uppercase;
    transition: all 0.2s ease 0s;
}

.masonry-start .read-more .read-more-btn:hover,
.masonry-start .read-more .read-more-btn:focus {
    color: #fff;
    opacity: 0.7;
}

.show-more {
    width: 25%;
    color: #fff;
    padding: 20px 40px;
    text-transform: uppercase;
    transition: all 0.2s ease 0s;
    margin: 20px auto;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 0 #d0d0d0;
    -webkit-box-shadow: 0 3px 0 #d0d0d0;
    -moz-box-shadow: 0 3px 0 #d0d0d0;
    transition: box-shadow 0.4s ease 0s, margin 0.4s ease 0s;
}

.show-more:hover,
.show-more:focus {
    opacity: 0.9;
}

/*pagination*/
.numeric-wrapper {
    text-align: center;
}

.page-numbers {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    display: inline-block;
    font-size: 18px;
    height: 44px;
    line-height: 40px;
    margin: 15px 0;
    text-align: center;
    vertical-align: middle;
    width: 44px;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
}

/* Portrait tablet to landscape and desktop */
@media screen and (max-width:767px) {
    .related-post-wrapper {
        padding: 15px;
    }

    .show-more {
        width: 80%;
    }
}

/*acmephoto special*/
article.article-ap>.inner-wrapper {
    overflow: hidden;
}

article.article-ap .post-thumb .thumb-holder-link {
    display: block;
    line-height: 0;
    padding: 0;
    margin: 0;
    text-align: center;
}

article.article-ap .at-overlay,
.single article .singe-content-wrapper .at-overlay {
    padding: 2%;
    background: rgba(0, 0, 0, 0.3);
    bottom: -100px;
    display: block;
    height: auto;
    position: absolute;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    z-index: 1;
}

.single article .singe-content-wrapper .at-overlay {
    padding: 2%;
    top: 0;
    bottom: auto;

}

article.article-ap:hover .at-overlay {
    bottom: 0;
    opacity: 1;
}

.single article:hover .singe-content-wrapper .at-overlay {
    opacity: 1;
}

article.article-ap:focus-within .at-overlay {
    bottom: 0;
    opacity: 1;
}

.single article:focus-within .singe-content-wrapper .at-overlay {
    opacity: 1;
}

article.article-ap .at-overlay h2,
article .at-overlay span {
    opacity: 0.8;
    text-shadow: 2px 2px 4px #3d3d3d;
    color: #fff;
}

article.article-ap .at-overlay h2:hover,
article.article-ap .at-overlay span:hover {
    opacity: 1;
}

article.article-ap .at-overlay span {
    display: block;
    text-align: left;
    line-height: 1.3;
}

article.article-ap .entry-title a,
article.article-ap .posted-on a,
article.article-ap .cat-links a,
article.article-ap .comments-link a,
article.article-ap .edit-link a,
article.article-ap .tags-links a,
article.article-ap .byline a,
article.article-ap .nav-links a {
    color: #fff;
    margin: 0;
}

/*related post fixed*/
.related-post-wrapper .widget-title {
    margin-left: 5px;
}

.single article.article-ap .entry-header .entry-title,
.single article.post.article-ap .entry-header {
    padding: 0;
}

.single .featured-related-posts article.post {
    padding: 5px;
}

/*ppoup link*/
.at-icon-link {
    left: 50%;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
}

article:hover .at-icon-link {
    opacity: 1;
}

article:focus-within .at-icon-link {
    opacity: 1;
}

.mfp-iframe-holder .mfp-close:hover,
.mfp-image-holder .mfp-close:hover,
.mfp-iframe-holder .mfp-close:focus,
.mfp-image-holder .mfp-close:focus,
.mfp-iframe-holder .mfp-close,
.mfp-image-holder .mfp-close {
    background: inherit;
    text-align: center;
    width: 30px;
}

button.mfp-arrow,
button.mfp-close {
    background: inherit !important;
    box-shadow: none !important;
}

.mfp-wrap button.mfp-close {
    margin: 0 !important;
    opacity: 1;
    padding: 0 13px !important;
    right: 0;
    text-align: center;
    top: 39px !important;
    width: auto !important;
}

.mfp-counter {
    color: #eee;
    font-size: 21px;
    line-height: 1.5;
    padding: 0;
    text-align: center;
    white-space: nowrap;
    width: 100%;
}

.at-icon-link>a i {
    border: 1px solid;
    border-radius: 100%;
    color: #ffffff;
    font-size: 18px;
    padding: 12px;
}

.at-icon-link>a:hover,
.at-icon-link>a:focus {
    opacity: 1;
}

/*Contact Us*/
.wpcf7-form input,
.wpcf7-form .your-message textarea {
    background: #f2f2f2;
    border: 1px solid #dddddd;
    outline: medium none;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.wpcf7-form input.wpcf7-submit {
    font-size: 15px;
    background: none;
    font-weight: 700;
    width: 122px;
    text-transform: uppercase;
    transition: 0.5s ease-in-out;
}

.wpcf7-form input.wpcf7-submit:hover,
.wpcf7-form input.wpcf7-submit:focus {
    color: #ffffff;
}

/*back to top*/
.sm-up-container {
    background: rgba(0, 0, 0, 0.7);
    display: none;
    height: auto;
    margin-right: 22px;
    margin-top: auto;
    padding: 3px 6px;
    position: fixed;
    right: 3px;
    top: 85%;
    width: 44px;
    z-index: 60;
}

.sm-up {
    color: #ffffff;
    display: block;
    font-size: 36px;
    padding-bottom: 2px;
    text-align: right;
    vertical-align: middle;
}

/*Intro Loader*/
#acmephoto-intro-loader {
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999999;
}

.loader-outer {
    height: 100px;
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

.at-loader {
    margin: auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 0.5em solid rgba(255, 255, 255, 0.2);
    border-right: 0.5em solid rgba(255, 255, 255, 0.2);
    border-bottom: 0.5em solid rgba(255, 255, 255, 0.2);
    border-left: 0.5em solid #ffffff;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 0.8s infinite linear;
    -moz-animation: load8 0.8s infinite linear;
    -o-animation: load8 0.8s infinite linear;
    -ms-animation: load8 0.8s infinite linear;
    animation: load8 0.8s infinite linear;
}

.at-loader,
.at-loader {
    border-radius: 50%;
    width: 7em;
    height: 7em;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*btns*/
.btn-primary {
    color: #ffffff;
    display: inline-block;
    margin: 7px 5px 0;
    overflow: hidden;
    padding: 7px 25px;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #ffffff;
    opacity: 0.8;
}

/*custom widgets*/
.at-full-width-sidebar .widget-title {
    font-size: 28px;
}

.at-full-width-sidebar .widget-title::after {
    display: none;
}

.at-full-width-sidebar {
    text-align: center;
}

/*default categories widget*/
.at-full-width-sidebar .widget_categories li {
    width: 25%;
    display: inline-block;
}

@media screen and (max-width:767px) {
    .at-full-width-sidebar .widget_categories li {
        width: 50%;
    }
}

/*feature section*/
.featured-section {
    background: #fff;
    padding: 50px 0;
    text-align: center;
}

.fs-text-desc {
    width: 70%;
    margin: 15px auto;
    display: inline-block;
}

/*ad widget*/
.at-ads-container {
    padding: 50px 0;
}

.at-ads-container .widget-title {
    padding: 0;
}

.acmephoto-ainfo-widget {
    text-align: center;
    width: 70%;
    margin: 15px auto;
    display: inline-block;
}

/*services*/
.service-container {
    text-align: center;
    padding: 50px 0;
}

.service-container .widget-title {
    padding: 0;
}

.service-container .service-item i {
    font-size: 30px;
    height: 60px;
    line-height: 60px;
    width: 60px;
    color: #fff;
}

.service-item h3 {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 0;
}

.service-container .service-item p {
    width: 70%;
    margin: 10px auto;
    display: inline-block;
}

/*client*/
.client-container {
    padding: 50px 0;
}

.client-container .widget-title {
    padding: 0;
}

/********************************************
				TEAM
********************************************/
.widget.widget_acmephoto_team {
    background: #fff none repeat scroll 0 0;
    padding: 50px 0;
}

.team-item {
    padding: 15px;
}

.team-item .blog-item {
    position: relative;
    display: inline-block;
}

.team-item .blog-item .blog-img {
    line-height: 0;
}

.team-item .blog-item .blog-img * {
    line-height: 22px;
}

.team-item .team-name {
    left: 50%;
    width: 100%;
    height: 100%;
    padding: 50px;
    position: absolute;
    text-align: center;
    top: 90%;
    transform: translate(-50%, -50%);
    opacity: 1;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.team-item .team-name>h3 {
    color: #ffffff;
    font-size: 24px;
}

.team-item .team-position {
    color: #ffffff;
}

.team-item:hover .team-name {
    opacity: 0;
}

.team-item:focus-within .team-name {
    opacity: 0;
}

.team-item ul.socials {
    float: none;
}

.team-item ul.socials li {
    display: inline-block;
    border: none;
    padding: 0;
    margin: 0;
}

.team-item .socials a {
    color: #ffffff;
}

.team-item .at-hover {
    z-index: 99;
}

@media screen and (max-width: 1279px) and (min-width: 768px) {
    .team-item .team-name {
        padding: 0;
    }
}

@media screen and (max-width:360px) {
    .team-item .team-name {
        padding: 0;
    }

    .at-middle-block p {
        display: none;
    }
}

.team-container .at-btn-wrap {
    margin-top: 40px;
}

.secondary-sidebar .team-container .at-btn-wrap {
    margin-top: 20px;
}

/*overlay effect*/
.round-icon {
    border-radius: 100%;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    height: 50px;
    line-height: 34px;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    width: 50px;
}

.round-icon:hover,
.round-icon:focus {
    opacity: 0.7;
}

.at-hover {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    left: 50%;
    width: 100%;
    height: 100%;
    padding: 50px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.at-hover:hover {
    opacity: 1;
}

.at-hover:focus-within {
    opacity: 1;
}

.at-hover p {
    color: #fff;
}

/*middle-icon*/
.at-middle {
    display: table;
    height: 100%;
    width: 100%;
}

.at-middle>.at-middle-block {
    display: table-cell;
    vertical-align: middle;
    color: #fff;
}

.at-middle>.at-middle-block h3 a {
    border-bottom: 1px solid #fff;
}

.at-middle>.at-middle-block h3,
.at-middle-block a {
    color: #fff;
}

/*gallery*/
.feature-gallery-container {
    padding: 50px 0;
    background: #fff;
}

.sidebar .feature-gallery-container {
    padding-top: 0;
}

.feature-gallery-container .at-btn-wrap {
    margin-top: 40px;
}

.feature-gallery-container article {
    padding: 0;
}

/*testimonials*/
.testimonial-container {
    padding: 3em 0;
    text-align: center;
}

.testimonial-slider {
    max-width: 80%;
    margin: 0 auto;
}

.testimonial-item {
    width: 100%;
    text-align: center;
}

.testimonial-container p,
.testimonial-container h2,
.testimonial-container h4 a {
    color: #fff;
}

.testimonial-container h4 a {
    border-bottom: 1px solid #fff;
}

.testimonial-container .quote {
    color: #fff;
    line-height: normal;
    top: 35px;
    font-size: 22px;
    display: inline-block;
}

.testimonial-container p {
    display: inline-block;
}

.testimonial-image img {
    border-radius: 50%;
}

.testimonial-container .cycle-prev,
.testimonial-container .cycle-next {
    top: 10px;
}

/********************************************
				WOOCMMERCE
********************************************/
.woocommerce nav.woocommerce-pagination ul {
    display: inline !important;
}

.woocommerce-pagination .page-numbers {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    display: inline-block;
    font-size: 18px;
    height: 44px;
    line-height: 40px;
    margin: 15px 3px;
    text-align: center;
    transition: all 0.3s ease-in-out 0s;
    vertical-align: middle;
    width: 44px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:focus {
    background: transparent;
    color: #000000;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    color: #ffffff;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #2d2d2d;
    color: #fff;
}

.woocommerce #content #primary ul.products li.product .button {
    color: #ffffff;
    display: inline-block;
    margin: 10px;
    position: relative;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    border: none;
}

.woocommerce #content #primary ul.products li.product .button:hover,
.woocommerce #content #primary ul.products li.product .button:focus {
    background: transparent;
    border: none;
}

.woocommerce #content #primary ul.products li.product .button:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: top, right, bottom, left;
    transition-property: top, right, bottom, left;
}

.woocommerce #content #primary ul.products li.product .button:hover:before,
.woocommerce #content #primary ul.products li.product .button:focus:before {
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
}

.woocommerce .quantity .qty {
    padding: 7px;
}

/*extra small device*/
@media (max-width: 640px) {
    .woocommerce .actions input {
        font-size: 11px;
    }
}

.entry-content p a,
.comment-content p a,
.comment-content li a,
.textwidget a {
    text-decoration: underline;
}