/* -> COMMON STYLES
---------------------------------------------- */

body {
    background-color: #fff;
    color: #777;
    font: 12px 'Open Sans';
}

#main {
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: #363b3f;
}

/* controls */

.form-control {
    border-color: #363b3f !important;
    box-shadow: none !important;
}

textarea {
    resize: none;
    height: 140px !important;
}

.btn-primary {
    background: #363b3f;
    border: 1px solid #363b3f;
    color: #fff;
    outline: 0 !important;
    box-shadow: none !important;
}

.btn-outline-primary {
    border: 1px solid #363b3f;
    color: #363b3f;
    outline: 0 !important;
}

.btn-primary:hover, .btn-primary:active,
.btn-outline-primary:hover, .btn-outline-primary:active {
    background: #69b980;
    border: 1px solid #69b980;
}

.btn-3d {
    position: relative;
    background: #363b3f;
    border: 1px solid #363b3f;
    color: #fff;
    box-shadow: 0 6px #000;
    outline: 0 !important;
    transition: none;
}

.btn-3d:hover, .btn-3d:active {
    top: 2px;
    background: #69b980;
    border: 1px solid #69b980;
    box-shadow: 0 4px #000;
}

/* social media */

.social-media-links a {
    padding: 0 2px;
    color: #fff;
}

/* image align */

.full-width-img {
    width: 100%;
    height: auto;
}

figure.alignright {
	text-align: right;
}

figure.aligncenter {
	text-align: center;
}

img.alignleft, figure.alignleft {
    float: left;
    margin: 0 15px 0 0;
}

img.alignright, figure.alignright {
    float: right;
    margin: 0 0 0 15px;
}

img.aligncenter, figure.aligncenter {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

img.alignnone {
    width: 100%;
    height: auto;
}

figure.alignleft, figure.alignright, figure.aligncenter, figure.alignnone {
	width: auto !important;
}

figure.alignleft img, figure.alignright img, figure.aligncenter img, figure.alignnone img {
	max-width: 100%;
	height: auto;
}

a {
    color: #69b980;
}

a:hover {
    color: #363b3f;
    text-decoration: none;
}

.boxed-layout {
    width: 90%;
    margin: auto;
}

.list-inline > li {
    display: inline-block;
}

/* page loader */

#page-loader-wrapper {
    position: fixed;
    background: #263238;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.page-loader {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top: 4px solid #FF5722;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.page-loader::before,
.page-loader::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
}

.page-loader::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-top-color: #FF9800;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3.5s linear infinite;
}

.page-loader::after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-top-color: #FFC107;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.75s linear infinite;
}

/* breadcrumb */

.breadcrumb {
    background: none;
    color: #363b3f;
    font-size: 14px;
}

#breadcrumbs {
    border-top: 1px solid #363b3f;
    border-bottom: 1px solid #363b3f;
}

#breadcrumbs > li {
    float: left;
}

#breadcrumbs .separator {
    margin: 0 5px;
}

/* pagination */

.pagination .page-item {
    width: 35px;
    height: 35px;
    margin: 0 5px;
}

.pagination .page-item > .page-link {
    background: #363b3f;
    color: #fff;
    border-radius: 0;
    padding: 5px;
    font-size: 16px;
    line-height: 23px;
}

.pagination .page-item > .page-link:hover {
    background: #69b980;
}

/* animation */

.animated-300ms {
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* -> HEADER
---------------------------------------------- */

#slider-menu-container {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 70;
    padding: 0;
}

#slider-menu > li {
    float: left;
    margin: 0 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #0f8d95;
}

#slider-menu > li.active {
    border-bottom-width: 10px;
}

.transparent-header #navbar {
    position: fixed;
    z-index: 99;
    left: 0;
    right: 0;
}

.transparent-header > .affix-placeholder {
    height: auto !important;
}

#header, #top-bar a {
    color: #fff;
    font-size: 12px;
}

#top-bar {
    background-color: #2c3135;
    line-height: 2.7em;
}

#top-bar .float-right:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 1px;
    background-color: #fff;
}

#top-bar .float-right:first-of-type:after {
    display: none;
}

#top-bar a:hover {
    color: #f4ab01;
}

#top-bar .language-selector {
    line-height: 1;
}

#top-bar .dropdown-language-items {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    top: 100%;
    border: 1px solid #f4ab01;
    z-index: 1;
}

#top-bar .language-selector a {
    color: #69b980;
    font-weight: bold;
}

#top-bar .language-selector a:hover {
    color: #f4ab01;
}

.top-menu > li {
    text-transform: uppercase;
    padding: 0 10px;
}

#header {
    overflow: visible;
}

#navbar {
    background: #363b3f;
    padding: 0 15px;
}

#header.transparent-header, .transparent-header #navbar {
    background-color: transparent;
}

.navbar-brand {
    max-height: 65px;
}

.navbar-brand img {
    max-height: 100%;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.navbar-brand .sticky-logo {
    display: none;
}

.navbar a {
    color: #fff;
}

.navbar a:hover {
    color: #f4ab01;
}

.navbar-nav .nav-link {
    text-transform: uppercase;
    padding: 0 10px !important;
    color: #fff;
    white-space: nowrap;
    line-height: 55px;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
    background: #fff;
    color: #f4ab01;
}

.transparent-header .navbar-nav .nav-link:hover {
    background: transparent;
}

.navbar-nav .dropdown-item {
	position: relative;
	padding-right: 10px;
}

.navbar-nav .dropdown-item > .fas {
	position: absolute;
	top: 12px;
	right: 0;
	font-size: 18px;
}

.navbar-nav li.open > .dropdown-menu {
	display: block;
}

.navbar-nav .dropdown-menu {
    border-radius: 0;
    border: 0;
    padding: 5px;
    text-transform: uppercase;
    margin: 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
	padding: 0 !important;
}

.navbar-nav .dropdown-menu a {
    color: #363b3f;
    background-color: transparent;
    font-size: 12px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.navbar-nav .dropdown-menu li:last-child a {
    border: 0;
}

.navbar-nav .dropdown-menu a:hover, .navbar-nav .dropdown-menu a:active,
.navbar-nav .dropdown-menu a:focus, .navbar-nav .dropdown-menu .dropdown-item.active {
    color: #f4ab01;
}

.navbar-nav .dropdown-toggle:after {
    border-top: .2em solid;
    border-right: .2em solid transparent;
    border-left: .2em solid transparent;
}

/* sticky menu */

.affix {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
}

.affix .hide-on-sticky {
    display: none;
}

.affix .sticky-logo {
    display: block;
}

/* nav under logo */

.nav-under-logo > div {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

.nav-under-logo {
    height: auto !important;
}

.nav-under-logo .navbar-brand {
    text-align: center;
}

/* mobile menu */

.navbar-toggler {
    position: relative;
    width: 50px;
    height: 41px;
    outline: 0 !important;
    background-color: transparent !important;
    padding: 0.25rem 0.75rem !important;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.navbar-toggler > span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: #f4ab01;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.navbar-toggler > span:nth-child(1) {
    top: 0px;
}

.navbar-toggler span:nth-child(2), .navbar-toggler span:nth-child(3) {
    top: 15px;
}

.navbar-toggler span:nth-child(4) {
    top: 30px;
}

.navbar-toggler.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.navbar-toggler.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.navbar-toggler.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.navbar-toggler.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.dropdown-toggle, .dropdown-item {
    position: relative;
}

.mobile-dropdown-control {
    position: absolute;
    top: 50%;
    right: 0;
    padding: 5px 15px;
    line-height: 1;
    z-index: 1;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* -> BLOG
---------------------------------------------- */

.standard > article.post {
    border-bottom: 4px double #777;
}

/* masonry */

.card-title {
    font-size: 20px;
    line-height: 1.2;
}

/* -> SINGLE POST
---------------------------------------------- */

#thumb-wrapper {
    height: 410px;
}

#thumb-wrapper > img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.single .post-meta {
    border-top: 1px dotted rgba(0, 0, 0, 0.125);
    border-bottom: 1px dotted rgba(0, 0, 0, 0.125);
}

.single .related-post-title {
    font-size: 18px;
    line-height: 1;
    text-transform: uppercase;
    background: #69b980;
    color: #fff;
    padding: 10px;
}

.single .post-tag-item {
    background: #69b980;
}

.single .post-tag-item > a {
    color: #fff;
}

/* -> WIDGETS
---------------------------------------------- */

#sidebar .widget-title {
    font-size: 18px;
    line-height: 1;
    text-transform: uppercase;
    background: #69b980;
    color: #fff;
    padding: 10px;
    margin-bottom: 25px;
}

#sidebar ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

#sidebar ul > li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

#sidebar ul > li:last-child {
    padding: 0;
    margin: 0;
    border: 0;
}

/* contact widget */

.contact-widget.text-center .fas {
    position: relative;
    margin-right: 10px;
}

.contact-widget.text-left .fas, .contact-widget.text-right .fas {
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    text-align: center;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.contact-widget.text-right .fas {
    left: auto;
    right: 0;
}

/* recent posts widget */

.widget .post-item {
    border-bottom: 1px solid #e5e5e5 !important;
}

.widget .post-item .wp-post-image {
    width: 70px;
    height: auto;
}

.widget .post-item h4 {
    font-size: 16px;
    line-height: 1;
}

/* -> FOOTER
---------------------------------------------- */

#footer {
    color: #fff;
    background-color: #363b3f;
    font: 12px 'Open Sans';
}

#footer a, #footer .footer-widget a {
    color: #fff;
}

#footer .tagcloud a {
    border-color: #fff;
}

#footer a:hover, #footer .footer-widget a:hover {
    color: #f4ab01;
}

#footer .tagcloud a {
    border-color: #f4ab01;
}

#footer .widget-title {
    font-size: 14px;
}

#footer .footer-widget .menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#copyright {
    background: #2c3135;
    font-size: 11px;
}

#back-to-top-btn {
    position: fixed;
    right: 15px;
    bottom: -45px;
    width: 45px;
    height: 45px;
    font-size: 20px;
    line-height: 30px;
    background: #69b980;
    color: #fff !important;
    z-index: 9;
    opacity: 0.7;
}

#back-to-top-btn:hover {
    background: #f4ab01;
    opacity: 1;
}

#back-to-top-btn.show {
    bottom: 15px;
}

/* -> RESPONSIVE STYLES
---------------------------------------------- */

@media(max-width: 991px) {
    .container {
        max-width: none !important;
    }
}

@media(max-width: 767px) {
    .contact-widget.text-right {
        text-align: left !important;
    }

    .contact-widget.text-right .fas {
        left: 0;
        right: auto;
    }

    .contact-widget.text-right li {
        padding: 0 0 0 40px !important;
    }
}

@media(min-width: 576px) {
    .columns-2 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .columns-3 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .columns-4 {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}