/*
Theme Name: Karnaco
Theme URI: https://karnaco.com
Author: the Asad Host team
Author URI: https://asadhost.com/
Description: Custom theme for Karnaco
Version: 0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

this is back of the drawer
*/

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.home a, .section a {
    text-decoration: none;
    color: #333;
}

* {
    outline: none;
}

body.fancybox-iosfix {
	overflow: auto !important;
	top: 0 !important;
}

/*--------------------------------------------------------------
Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    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:before, .clear:after, #entry-content:before, #entry-content:after, #entry-footer:before, #entry-footer:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after, .nav-links:before, .nav-links:after, .pagination:before, .pagination:after, .comment-author:before, .comment-author:after, .widget-area:before, .widget-area:after, .widget:before, .widget:after, .comment-meta:before, .comment-meta:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after, #entry-content:after, #entry-footer:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after, .nav-links:after, .pagination:after, .comment-author:after, .widget-area:after, .widget:after, .comment-meta:after {
    clear: both;
}

/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/

@font-face {
    font-family: 'Etna';
    src: url('fonts/etna-webfont.woff2') format('woff2'), url('fonts/etna-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Samim;
    src: url('fonts/Samim.eot');
    src: url('fonts/Samim.eot?#iefix') format('embedded-opentype'), url('fonts/Samim.woff') format('woff'), url('fonts/Samim.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Samim;
    src: url('fonts/Samim-Bold.eot');
    src: url('fonts/Samim-Bold.eot?#iefix') format('embedded-opentype'), url('fonts/Samim-Bold.woff') format('woff'), url('fonts/Samim-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Glober';
    src: url('fonts/glober.regular.woff2') format('woff2'), url('fonts/glober.regular.woff') format('woff');
    font-weight: normal;
}

@font-face {
    font-family: 'Glober';
    src: url('fonts/glober.bold.woff2') format('woff2'), url('fonts/glober.bold.woff') format('woff');
    font-weight: bold;
}

body#fa {
    font-family: 'Lalezar', cursive !important;
}

body#en {
    font-family: 'Etna', sans-serif !important;
}

#fa p {
    font-family: 'Samim', sans-serif;
    font-size: 24px;
}

#en p {
    font-family: 'Glober', sans-serif;
    font-size: 20px;
}

/*--------------------------------------------------------------
Header
--------------------------------------------------------------*/

header {
    padding: 60px 60px 0 60px;
}

header:before {
    content: "";
    width: 100%;
    height: 5px;
    background: black;
    display: block;
    position: absolute;
    margin-top: 80px;
    right: 0;
    z-index: -1;
}

header img {
    background-color: white;
    padding: 20px;
}

.categoryIcon {
    text-align: right;
}

#en #qtranslate-chooser {
    right: 0;
    left: auto;
}

#qtranslate-chooser {
    position: fixed;
    direction: ltr;
    top: 0;
    left: 0;
    background: white;
    padding: 5px;
    margin: 0;
    z-index: 9999;
}

#qtranslate-chooser li {
    display: block;
    height: 20px;
}

#qtranslate-chooser li.active {
    color: #009ca6;
    display: none;
}

.qtranxs_text_en {
    font-family: 'Glober', sans-serif;
    color: #252525;
    display: block;
    text-align: center;
}

.qtranxs_text_fa {
    font-family: 'Samim', sans-serif;
    line-height: 21px;
    color: #252525;
    display: block;
    text-align: center;
}

/*--------------------------------------------------------------
Front Page
--------------------------------------------------------------*/

#logo {
    display: block;
    width: 200px;
    margin: 60px auto 20px;
}

#logo h1 {
    font-size: 18px;
    text-align: center;
    color: #333;
    padding-left: 27px;
}

h3 {
    color: #333;
    margin-top: 0;
    font-size: 36px;
    width: 150px;
    text-align: center;
}

#en h3 {
    font-size: 24px;
}

.container-fluid .row {
    padding: 0 0 4em;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.container-fluid .row:nth-child(even) {
    background: #F1F4F5;
}

/* TIMELINE */

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.timeline-item {
    padding-left: 40px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-info {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 .5em;
    white-space: nowrap;
    color: #999;
}

.timeline-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 20px;
}

.timeline-marker:before {
    background: #009ca6;
    border-radius: 100%;
    content: "";
    display: block;
    height: 20px;
    position: absolute;
    top: 95px;
    left: 0;
    width: 20px;
}

.timeline-marker.no-b:before {
    display: none;
}

.timeline-marker:after {
    content: "";
    width: 5px;
    background: #009ca6;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
}

.timeline-content {
    padding: 0;
}

.timeline-content img, .timeline-content h3 {
    padding: 0 30px;
    display: inline-block;
}

.timeline-content img {
    margin-top: 40px;
}

.period {
    padding: 0;
}

.period .timeline-info {
    display: none;
}

.period .timeline-marker:before {
    background: transparent;
    content: "";
    width: 0;
    height: auto;
    border: none;
    border-radius: 0;
    top: 0;
    bottom: 20px;
    position: absolute;
    border-top: 3px solid #CCD5DB;
    border-bottom: 3px solid #CCD5DB;
}

.period .timeline-marker:after {
    content: "";
    height: 32px;
    top: auto;
}

.period .timeline-content {
    padding: 40px 0 70px;
}

.period .timeline-content img {
    margin: 0;
    padding: 0;
}

.period .timeline-title {
    margin: 0;
}

.timeline-centered, .timeline-centered .timeline-item, .timeline-centered .timeline-info, .timeline-centered .timeline-marker, .timeline-centered .timeline-content {
    display: block;
    margin: 0;
    padding: 0;
}

.timeline-centered .timeline-item {
    padding-bottom: 40px;
    overflow: hidden;
}

.timeline-centered .timeline-marker {
    position: absolute;
    left: 50%;
    margin-left: -7.5px;
}

.timeline-centered .timeline-info, .timeline-centered .timeline-content {
    width: 50%;
}

.timeline-centered>.timeline-item:nth-child(even) .timeline-info {
    float: left;
    text-align: right;
    padding-right: 0;
    margin-left: -30px;
    margin-top: 90px;
}

.timeline-centered>.timeline-item:nth-child(even) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 30px;
}

.timeline-centered>.timeline-item:nth-child(odd) .timeline-info {
    float: right;
    text-align: left;
    padding-left: 0;
    margin-right: -30px;
    margin-top: 90px;
}

.timeline-centered>.timeline-item:nth-child(odd) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 30px;
}

.timeline-centered>.timeline-item.period .timeline-content {
    float: none;
    padding: 0;
    width: 100%;
    text-align: center;
}

.timeline-centered .timeline-item.period {
    padding: 20px 0;
}

.timeline-centered .period .timeline-marker:after {
    height: 30px;
    bottom: 0;
    top: auto;
}

.timeline-centered .period .timeline-title {
    left: auto;
}

.marker-outline .timeline-marker:before {
    background: transparent;
    border-color: #FF6B6B;
}

.marker-outline .timeline-item:hover .timeline-marker:before {
    background: #FF6B6B;
}

.spacer {
    height: 200px;
}

#homepage-video {
    min-width: 70%;
}

/*--------------------------------------------------------------
Pages
--------------------------------------------------------------*/

header .topMenu div {
    text-align: center;
    position: relative;
}

#fa header .topMenu div {
    margin-top: 58px;
}

#en header .topMenu div {
    margin-top: 64px;
}

header .topMenu div li {
    display: inline-block;
}

#fa header .topMenu>div li:before {
    position: absolute;
    content: "•";
    margin: -5px -10px 0 0;
    padding: 0;
    font-size: 45px;
    color: #333;
}

#fa header .topMenu>div li:first-child:before {
    display: none;
}

header .topMenu div li a {
    color: #333;
    background: white;
    padding: 0 20px;
}

#fa header .topMenu div li a {
    font-size: 34px;
}

#en header .topMenu div li a {
    font-size: 22px;
}

header .topMenu div .current-menu-item a, header .current-post-parent a, header .current-category-ancestor a, .iGallery #menu-item-73 a {
    color: #009ca6 !important;
}

section.section {
    padding: 60px;
    position: relative;
    min-height: 100%;
}

#fa.page-id-660 section.section, #en.page-id-660 section.section {
    text-align: center;
    direction: inherit;
    margin: 0 !important;
}

#fa section.section {
    text-align: right;
    direction: rtl;
    margin-right: 97px;
}

#en section.section {
    text-align: left;
    direction: ltr;
    margin-left: 98px;
}

section.section h2 {
    font-size: 48px;
}

section.section h2.title {
    background: #333;
    color: #009ca6;
    padding: 10px;
    display: inline-block;
}

section.section h2:before {
    background: #009ca6;
    border-radius: 100%;
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    margin: 20px 0 0 0;
}

#fa section.section h2:before {
    right: 28px;
}

#en section.section h2:before {
    left: 28px;
}

section.section:after {
    content: "";
    width: 5px;
    height: 100%;
    top: 2px;
    right: 35px;
    background: #009ca6;
    display: block;
    position: absolute;
    margin: 0;
    z-index: -1;
}

.page-id-660 section.section:after {
    width: 0 !important;
}

#fa section.section:after {
    right: 35px;
    left: 0;
}

#en section.section:after {
    left: 35px;
    right: 0;
}

section.section>p {
    background: white;
    text-align: justify;
    padding: 0 0 20px 0;
}

#function p, .product-inner span {
    background: white;
}

#en #function p {
    margin-right: 10px;
}

#function .head {
    background: #FDD622;
    width: calc(100% + 180px);
    height: 200px;
}

#fa #function .head {
    margin: 40px -180px 40px 0px;
}

#en #function .head {
    margin: 40px 0px 40px -190px;
}

#function .head img {
    display: block;
    width: 100px;
    height: 100px;
}

#fa #function .head img {
    float: left;
    margin: -85px 0 0 60px;
}

#en #function .head img {
    float: right;
    margin: -85px 60px 0 0;
}

#function .head h2 {
    padding: 64px 0 0 0;
}

#fa #function .head h2 {
    margin: 0 180px 0 0;
}

#en #function .head h2 {
    margin: 0 0 0 180px;
}

#function .head h2:before {
    display: none;
}

.project, .product, .product-inner {
    overflow-y: scroll;
}

.product .column, .product-inner .column {
    position: relative;
    margin-bottom: 10px;
}

.project .column img, .product .column img, .product-inner .column img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border: 5px solid #979797;
    max-height: 330px;
}

.product-inner .column img {
    border: none;
}

.arrow {
    height: 45px !important;
    width: 32px !important;
    border: none !important;
    position: absolute;
    margin: -45px -20px 0 0;
    top: 50%;
    right: 50%;
}

.product span, .product-inner span {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    display: inline-block;
    text-align: center;
    font-size: 24px;
    font-family: 'Glober', sans-serif;
}

.blog .column {
    height: 430px;
}

#fa .blog .column span, #fa .filterButton {
    font-family: 'Samim', sans-serif;
    text-align: right;
}

.blog .column span {
    top: -10px;
    position: relative;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    background: white;
    padding: 10px 0;
}

#en .blog .column span {
    top: -6px;
}

#fa .interactive {
    font-family: 'Lalezar', sans-serif;
}

.product-inner span {
    bottom: -10px;
    top: unset;
}

/*--------------------------------------------------------------
Interactive Gallery
--------------------------------------------------------------*/
.galleryHeader .title {
    display: none;
}

.galleryHeader .title.active {
    display: inline-block;
}

.tag, .button {
    font-family: 'Glober', sans-serif;
    cursor: pointer;
}

#fa .tag, .button {
    font-family: 'Samim', sans-serif;
}

.tag.active {
    background: #009ca6;
    color: #333;
}

#en .galleryHeader {
	direction: rtl;
}

.galleryHeader .title {
    margin-bottom: 0 !important;
}

.frameCarousel {
    margin: 40px 0;
    height: 250px;
    overflow: hidden;
}

.frameCarouselCell, .bodyCarouselCell {
    width: 35%;
    height: 250px;
    margin-right: 10px;
    text-align: center;
    overflow: hidden;
}

.frameCarouselCell img, .bodyCarouselCell img {
    display: inline-block;
}

.bodyCarousel {
    margin-top: -287px;
}

.size1 .bodyCarouselCell img {
    width: 204px !important;
    margin: 20px 0;
}

.size2 .bodyCarouselCell img {
    width: 168px !important;
    margin: 38px 0;
}

.size3 .bodyCarouselCell img {
    width: 147px !important;
    margin: 49px 0;
}

.finalProduct {
    position: relative;
}

.size1 img#finalBody, .size2 img#finalBody, .size3 img#finalBody {
    position: absolute;
    left: 50%;
    z-index: 9999;
}

.size1 img#finalBody {
	width: 330px;
    top: 85px;
    margin-left: -165px;
}

.size2 img#finalBody {
	width: 270px;
    top: 115px;
    margin-left: -135px;
}

.size3 img#finalBody {
	width: 240px;
	top: 130px;
	margin-left: -120px;
}

.qr {
	height: 90px !important;
}

.card-content {
	padding: 50px;
}

/*--------------------------------------------------------------
Functions Page
--------------------------------------------------------------*/

.page-id-47 .section, .page-id-47 footer {
    display: none;
}

#main {
    padding: 60px;
    position: fixed;
    width: 100%;
    min-height: 75%;
    background: white;
}

.card {
    text-align: center;
    border: 5px solid;
    border-radius: 10px;
    color: #333;
}

.card h5 {
    width: 100%;
    font-size: 22px;
}

.page-id-47 .card-content img {
    height: 90px;
}

.card-footer, .card-footer-item {
    border: none !important;
}

#main .columns .column:first-child .card {
    background: #333;
}

#main .columns .column:first-child .card-footer {
    color: #fff;
}

/* scroll arrows style */

.arrows {
    width: 60px;
    height: 72px;
    position: fixed;
    left: 0;
    margin-left: 20px;
    bottom: 20px;
	background: white;
}

.arrows path {
    stroke: #333;
    fill: transparent;
    stroke-width: 1px;
    animation: arrow 2s infinite;
    -webkit-animation: arrow 2s infinite;
}

@keyframes arrow {
    0% {
        opacity: 0
    }
    40% {
        opacity: 1
    }
    80% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

@-webkit-keyframes arrow {
    0% {
        opacity: 0
    }
    40% {
        opacity: 1
    }
    80% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

.arrows path.a1 {
    animation-delay: -1s;
    -webkit-animation-delay: -1s;
}

.arrows path.a2 {
    animation-delay: -0.5s;
    -webkit-animation-delay: -0.5s;
}

.arrows path.a3 {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

/* functions sections */

.function-section {
    border: 5px solid black;
    background: white;
    margin: 0;
    width: 100%;
    min-height: 1400px;
    position: fixed;
    display: block;
    overflow: hidden;
    top: 0;
}

.function-section .section-background {
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#lighting .section-background {
    background-image: url('img/lighting.png');
}

#curtain .section-background {
    background-image: url('img/curtain.jpg');
}

#fire .section-background {
    background-image: url('img/fire.png');
}

#ac .section-background {
    background-image: url('img/ac.png');
}

#pms .section-background {
    background-image: url('img/pms.jpg');
}

#the-lamp {
    position: absolute;
    left: 50%;
    margin-left: -350px;
}

#the-drape {
    position: absolute;
    top: -120px;
    left: 0;
    opacity: 0.95;
}

#the-smoke {
    position: absolute;
    top: 0;
    left: 0;
}

#the-car {
    position: absolute;
    right: -800px;
    bottom: 250px;
}

.function-header {
    background: #009ca6;
    width: 100%;
    padding: 0;
}

.function-section .icon {
    float: left;
    width: 80px;
    height: 80px;
    padding-left: 20px;
}

#en .function-section .icon {
    float: right;
    padding-right: 20px;
}

.function-section h5 {
    font-size: 36px;
    line-height: 80px;
    padding-right: 20px;
    color: #333;
}

#en .function-section h5 {
    padding-left: 20px;
}

#lighting .section-text, #curtain .section-text, #fire .section-text, #ac .section-text, #pms .section-text {
    margin: 60px;
    direction: ltr;
}

.section-text .column {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    padding: 0;
    direction: rtl;
}

.section-text p {
    font-size: 18px !important;
    padding: 20px;
}

#en .section-text p, #en .function-section h5 {
    direction: ltr;
}

#rotate {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: white;
    pointer-events: none;
}

@media screen and (max-height: 960px) {
	#main {
		display: none;
	}
}

@media screen and (max-width: 1209px) {
	#main {
		display: none;
	}
}

@media screen and (max-width: 425px) {
	#the-lamp {
		left: 90%;
	}
	.function-section .icon {
		float: none;
		width: 60px;
		height: 60px;
		margin: 0 auto;
		padding: 10px 0;
		display: block;
	}
	.function-section h5 {
		font-size: 16px;
		line-height: 20px;
		padding: 10px 0;
		text-align: center;
	}
	.section-text p {
		font-size: 8px !important;
	}
}

/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/

footer {
    background: #252525;
    min-height: 410px;
    padding: 60px 60px 0 60px;
    margin-bottom: -3px;
    overflow: hidden;
}

footer h4 {
    font-size: 24px;
    color: #999;
}

#fa footer h4 {
    text-align: right;
}

#en footer h4 {
    text-align: left;
}

footer .menu {
    margin-top: 15px;
    position: relative;
}

#fa footer .menu li {
    text-align: right;
    font-size: 24px;
    padding-right: 25px;
    line-height: 50px;
}

#en footer .menu li {
    text-align: left;
    font-size: 22px;
    padding-left: 25px;
    line-height: 50px;
}

#fa footer .menu li:after {
    content: "";
    width: 5px;
    height: 50px;
    background: #E6E6E6;
    display: block;
    position: absolute;
    margin: -70px 0 0 0;
    right: 5px;
}

#fa footer .menu li:before {
    background: #E6E6E6;
    border-radius: 100%;
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    margin: 15px 0 0 0;
    right: 0;
}

#en footer .menu li:after {
    content: "";
    width: 5px;
    height: 45px;
    background: #E6E6E6;
    display: block;
    position: absolute;
    margin: -65px 0 0 0;
    left: 5px;
}

#en footer .menu li:before {
    background: #E6E6E6;
    border-radius: 100%;
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    margin: 20px 0 0 0;
    left: 0;
}

#fa footer .menu li a, #en footer .menu li a {
    color: #E6E6E6;
}

.sosume {
    background: #999;
    margin: 0 -60px !important;
    padding: 0 60px;
    color: white;
}

.sosume h6, .social a {
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sosume h6:before, .social a:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#copy {
    font-size: 20px;
    font-family: 'Etna', sans-serif;
    direction: ltr;
}

#slogan {
    text-align: center;
    color: #009ca6;
    font-size: 24px;
    direction: ltr;
}

#fa #address {
    text-align: right;
}

#en #address {
    font-size: 14px;
}

.social {
    padding: 0 60px;
    margin: 0 -60px 3px -60px !important;
    text-align: center;
}

.home .social {
    margin: 60px 0 0 0 !important;
    width: 100%;
    padding: 0;
}

.social a {
    height: 29px;
    min-width: 45px;
    display: inline-block;
    background-image: url('img/social.svg');
    background-repeat: no-repeat;
    background-size: 495px 29px;
    background-position-y: top;
}

.social .LinkedIn {
    background-position-x: 0;
}

.social .Facebook {
    background-position-x: -45px;
}

.social .Telegram {
    background-position-x: -90px;
}

.social .Instagram {
    background-position-x: -135px;
}

.social .Twitter {
    background-position-x: -180px;
}

.social .Tumblr {
    background-position-x: -225px;
}

.social .YouTube {
    background-position-x: -270px;
}

.social .Pinterest {
    background-position-x: -315px;
}

.social .Foursquare {
    background-position-x: -360px;
}

.social .Aparat {
    background-position-x: -405px;
}

.social .GooglePlus {
    background-position-x: -450px;
}

#scroll {
    position: fixed;
    left: 5px;
    bottom: 5px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: #009ca6;
    text-indent: -9999px;
    display: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#scroll span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -12px;
    height: 0;
    width: 0;
    border: 8px solid transparent;
    border-bottom-color: #333;
}

#scroll:hover {
    background-color: #009ca6;
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: alpha(opacity=100);
}

.home-footer {
    height: auto;
    display: block;
    overflow: hidden;
}

.home-footer .menu-karnaco-menu-container {
    width: 50%;
    margin: 0;
    float: right;
    padding-right: 60px;
}

.home-footer ul#menu-karnaco-menu {
    list-style: none;
    line-height: 40px;
    margin: 0;
    padding: 0;
}

.home-footer ul#menu-karnaco-menu li {
    display: inline-block;
    padding: 0 20px;
}

.home-footer ul#menu-karnaco-menu li a {
    color: #dad9d9;
}

.home-footer h6#copy {
    float: left;
    margin: 0;
    padding-left: 60px;
    color: #dad9d9;
    font-size: 14px;
    font-weight: normal;
    line-height: 40px;
    display: inline-block;
}

/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/

@media screen and (min-width: 948px) {
    #fa footer .is-narrow {
        padding-left: 60px;
    }
}

@media screen and (max-width: 1209px) {
    header .topMenu .menu-building-automation-menu-container li:before {
        display: none;
    }
    .menu-building-automation-menu-container {
        width: 205px;
        margin: 0 auto;
    }
    #fa .topMenu .menu-building-automation-menu-container ul {
        transform: none;
    }
    #fa .topMenu .menu-building-automation-menu-container ul li {
        transform: none;
    }
    #en section.section h2:before {
        display: none;
    }
    #en section.section:after {
        margin: 0 0 0 -2px;
        right: 50% !important;
        left: 50% !important;
    }
    #en section.section h2 {
        background: white;
        padding: 10px;
        text-align: center;
        font-size: 21px;
    }
    #en section.section h2.title {
        background: #333;
        text-align: center;
        width: 100%;
    }
    #en header .topMenu div li a {
        font-size: 20px;
    }
    #en #function .head {
        width: calc(100% + 40px);
        margin: 40px -20px;
        text-align: center;
    }
    #en #function .head h2 {
        background: none;
        padding-top: 60px;
        margin: 0;
    }
    #en #function .head img {
        float: none;
        display: inline-block;
        width: 50px;
        height: 50px;
        margin: 20px 0;
    }
    #en p {
        font-size: 16px;
    }
    #en section.section {
        margin: 0 !important;
        padding: 20px;
    }
}

@media screen and (max-width: 1024px) {
    footer .hero-body {
        text-align: center;
    }
    footer h6 {
        text-align: center !important;
    }
}

@media screen and (max-width: 794px) {
    header .topMenu .menu-architecture-menu-container li:before {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    header img {
        margin: 0 auto;
        display: block;
        width: 140px;
    }
    header .topMenu div {
        margin-top: 0 !important;
    }
    header .topMenu .menu-architecture-menu-container {
        width: 175px;
        margin: 0 auto;
    }
    header .topMenu div li a {
        font-size: 21px;
    }
    .menu li a {
        font-size: 17px;
    }
    .page-id-37 header:before {
        margin-top: 110px;
    }
    #en header:before {
        margin-top: 162px;
    }
    #fa header:before {
        margin-top: 169px;
    }
    #fa section.section h2:before {
        display: none;
    }
    #fa section.section:after {
        margin: 0 -2px 0 0;
        right: 50% !important;
        left: 50% !important;
    }
    #fa section.section h2 {
        background: white;
        padding: 10px;
        text-align: center;
        font-size: 21px;
    }
    #fa section.section h2.title {
        background: #333;
        text-align: center;
        width: 100%;
    }
    #fa #function .head {
        width: calc(100% + 40px);
        margin: 40px -20px;
        text-align: center;
    }
    #fa #function .head h2 {
        background: none;
        padding-top: 60px;
        margin: 0;
    }
    #fa #function .head img {
        float: none;
        display: inline-block;
        width: 50px;
        height: 50px;
        margin: 20px 0;
    }
    section.section {
        margin: 0 !important;
        padding: 20px;
    }
    .home-footer {
        text-align: center;
    }
    .home-footer .menu-karnaco-menu-container, .home-footer h6#copy {
        width: 100%;
        padding: 0;
        font-size: 1em;
    }
    .home-footer ul#menu-karnaco-menu li a {
        font-size: 1em;
    }
}

@media screen and (max-width: 425px) {
    .timeline-content img {
        width: 100px;
    }
    .timeline-info, .timeline-content h3 {
        font-size: 20px;
        width: auto;
    }
    .timeline-content {
        text-align: center !important;
    }
}

/*--------------------------------------------------------------
Animations
--------------------------------------------------------------*/

.homeAnim1 {
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -ms-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.homeAnim2 {
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -ms-animation-delay: 1s;
    animation-delay: 1s;
}

.homeAnim3 {
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    -ms-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.homeAnim4 {
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -ms-animation-delay: 2s;
    animation-delay: 2s;
}

.homeAnim5 {
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-delay: 2.5s;
    -moz-animation-delay: 2.5s;
    -ms-animation-delay: 2.5s;
    animation-delay: 2.5s;
}

.homeAnim6 {
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-delay: 3s;
    -moz-animation-delay: 3s;
    -ms-animation-delay: 3s;
    animation-delay: 3s;
}
