/** * Name: layout.css * * T.O.C * * =Wrap * =Header Wrap * =Header * =Logo * =Menu * =Menu From Left * =Mobile Menu * =Mobile menu trigger * =Custom search form * =Sticky Header * =Content * =Page Header * =Footer * =Back to top * */ @font-face { font-family: 'Monitorica-BoldItalic'; /* Гарнитура шрифта */ src: url('fonts/Monitorica-BoldItalic.ttf') format('truetype'); /* Путь к файлу со шрифтом */ src: url('fonts/Monitorica-BoldItalic.eot?#iefix') format('embedded-opentype'), url('fonts/Monitorica-BoldItalic.woff') format('woff'), url('fonts/Monitorica-BoldItalic.ttf') format('truetype'), url('fonts/Monitorica-BoldItalic.svg#europeextnormal') format('svg'); } /* ========================================================================== =Wrap ========================================================================== */ #wrap { position: relative; background-color: #fff; } @media (max-width: 767px) { #wrap {} } /* ========================================================================== =Header Wrap ========================================================================== */ .header-style-1 #header-wrap, .header-style-2 #header-wrap { max-width: 1570px; margin: 0 auto; } .header-style-3 #header-wrap { margin-bottom: 120px; background: #1c1c1c url(../../_content/backgrounds/1920x1080.jpg) no-repeat center center; } .header-style-3 #header-wrap { height: 365px; } #index.header-style-3 #header-wrap { height: auto; margin-bottom: 0; background: none; } @media (max-width: 767px) { .header-style-3 #header-wrap { background-image: none; } } /* ========================================================================== =Header ========================================================================== */ #header { margin: 0 auto; } /** * 1. z-index is 205 because the .tp-bannertimer is 200 */ .header-style-3 #header { position: absolute; z-index: 205; top: 0; right: 0; left: 0; margin: 0 auto; color: #fff; } @media (max-width: 767px) { .header-style-3 #header { position: relative; background-color: #1c1c1c; } } /* ========================================================================== =Logo ========================================================================== */ #logo { padding: 75px 0 65px 0; } #logo.hidden { opacity: 0; -webkit-transition: opacity 0.3s; transition: opacity 0.3s; } #logo h2 { font-size: 22px; line-height: 30px; letter-spacing: 8px; text-transform: uppercase; } #logo h2 a { color: #1c1c1c; text-decoration: none; } #logo h2 small { display: block; font-family: Georgia, "Times New Roman", Times, serif; font-size: 10px; line-height: 18px; letter-spacing: 4px; } .header-style-2 #logo { padding: 85px 0 35px 0; } .header-style-2 #logo h2 { font-size: 26px; line-height: 36px; letter-spacing: 12px; text-align: center; } .header-style-2 #logo h2 small { color: #cacaca; line-height: 26px; } .header-style-3 #logo { margin-left: 50px; } .header-style-3 #logo h2 { font-size: 26px; line-height: 36px; letter-spacing: 8px; } .header-style-3 #logo h2 a { color: #fff; } @media (min-width: 768px) and (max-width: 991px) { #logo h2 { font-size: 20px; line-height: 28px; letter-spacing: 5px; } } @media (max-width: 767px) { /** * 1. on mobile devices logo padding right needs to be the width of the * mobile menu trigger + some spacing so as to not let the logo * overlap the mobile menu trigger */ #logo { padding-right: 50px; /* 1 */ } .header-style-2 #logo h2, .header-style-3 #logo h2 { font-size: 22px; line-height: 30px; letter-spacing: 6px; text-align: left; } } /* ========================================================================== =Menu ========================================================================== */ /* =Menu Basics ========================================================================== */ .sf-menu, .sf-menu ul { padding: 0; margin: 0; list-style: none; } .sf-menu > li { float: left; } .sf-menu > li > a { position: relative; display: block; } /** * 1. z-index is 1025 because the sticky menu is 1020 */ .sf-menu li.dropdown ul { position: absolute; z-index: 1025; /* 1 */ top: 100%; left: 0; display: none; } .sf-menu li.dropdown { position: relative; } .sf-menu li.dropdown ul ul { top: -1px; left: 100%; } .sf-menu .sf-mega { position: absolute; z-index: 1025; /* 1 */ top: 100%; left: 0; right: 0; display: none; margin: 0 15px; } .sf-menu li:hover > .sf-mega, .sf-menu li.sfHover > .sf-mega, .sf-menu li.dropdown:hover > ul, .sf-menu li.dropdown.sfHover > ul { display: block; } /* =Menu Skin ========================================================================== */ .sf-menu { float: right; margin-top: 30px; height:50px; } .header-style-2 .sf-menu { float: none; margin-top: 0; text-align: center; } .header-style-2 .sf-menu > li { float: none; display: inline-block; margin-right: 25px; } .header-style-2 .sf-menu > li:last-child { margin-right: 0; } .sf-menu a { position: relative; display: block; padding: 10px; font-family: "Monitorica-BoldItalic", Georgia, "Times New Roman", Times, serif; font: 18px; letter-spacing: 0.5px; color: #1c1c1c; text-decoration: none; } .header-style-2 .sf-menu a { text-align: left; } .header-style-2 .sf-menu > li > a:before { position: absolute; z-index: 1; top: -1px; right: -31px; display: inline-block; width: 0; height: 0; border-top: 39px solid #e0e0e0; border-right: 30px solid transparent; content: ""; -moz-transform: scale(0.9999); -webkit-transition: all 0.3s; transition: all 0.3s; } .header-style-2 .sf-menu > li > a:after { position: absolute; z-index: 1; top: -1px; right: -30px; display: inline-block; width: 0; height: 0; border-top: 39px solid #fff; border-right: 30px solid transparent; content: ""; -moz-transform: scale(0.9999); -webkit-transition: all 0.3s; transition: all 0.3s; } .header-style-2 .sf-menu > li:last-child > a:before, .header-style-2 .sf-menu > li:last-child > a:after { display: none; } .sf-menu > li > a, .sf-menu > li.dropdown > a { padding: 10px 0 5px; margin-right: 5px; color: #1c1c1c; font-size: 14px; text-transform: uppercase; } .header-style-2 .sf-menu > li > a, .header-style-2 .sf-menu > li.dropdown > a { padding-bottom: 65px; margin-right: 0; } .sf-menu > li:last-child > a, .sf-menu > li.dropdown:last-child > a { margin-right: 0; } .sf-menu > li > a span, .sf-menu > li.dropdown > a span { position: relative; padding: 10px; border: 1px solid transparent; border-radius: 20px; -webkit-transition: all 0.3s; transition: all 0.3s; } .header-style-2 .sf-menu > li > a span, .header-style-2 .sf-menu > li.dropdown > a span { padding: 10px 15px 10px; border-radius: 0; } .header-style-2 .sf-menu > li > a span:before, .header-style-2 .sf-menu > li.dropdown > a span:before { position: absolute; z-index: 4; top: 0; left: -30px; display: inline-block; width: 0; height: 0; border-bottom: 39px solid transparent; border-left: 29px solid transparent; content: ""; -moz-transform: scale(0.9999); -webkit-transition: all 0.3s; transition: all 0.3s; } .header-style-2 .sf-menu > li > a span:after, .header-style-2 .sf-menu > li.dropdown > a span:after { position: absolute; z-index: 4; top: -1px; right: -30px; display: inline-block; width: 0; height: 0; border-top: 39px solid transparent; border-right: 29px solid transparent; content: ""; -moz-transform: scale(0.9999); -webkit-transition: all 0.3s; transition: all 0.3s; } .header-style-2 .sf-menu > li > a:hover span:before, .header-style-2 .sf-menu > li.active > a span:before, .header-style-2 .sf-menu > li.sfHover > a span:before { border-bottom-color: #1c1c1c; } .header-style-2 .sf-menu > li > a:hover span:after, .header-style-2 .sf-menu > li.active > a span:after, .header-style-2 .sf-menu > li.sfHover > a span:after { border-top-color: #1c1c1c; } .sf-menu > li a i { margin-right: 5px; } .sf-menu > li.active > a span, .sf-menu > li.active > a:focus span, .sf-menu > li > a:hover span, .sf-menu > li.sfHover > a span { border-color: #1c1c1c; text-decoration: none; } .sf-menu > li > a:focus span { border-color: transparent; font-family: "Monitorica-BoldItalic", Georgia, "Times New Roman", Times, serif; } .header-style-2 .sf-menu > li.active > a span, .header-style-2 .sf-menu > li > a:hover span, .header-style-2 .sf-menu > li.sfHover > a span { border-color: transparent; background-color: #1c1c1c; color: #fff; } .sf-menu > li.sfHover ul li a:hover, .sf-menu > li.sfHover ul li.sfHover > a { color: #808080; } /* =DropDown ========================================================================== */ /** * 1. allow long menu items to determine submenu width */ .sf-menu li.dropdown ul { min-width: 180px; /* 1 */ border: 1px solid rgba(0, 0, 0, 0.1); background-color: #fff; } .sf-menu > li.dropdown > ul { border-top: 3px solid #1c1c1c; } /* =Mega Menu Section ========================================================================== */ .sf-mega { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 15px 0; border: 1px solid rgba(0, 0, 0, 0.1); border-top: 3px solid #1c1c1c; background-color: #fff; } .sf-mega-section { float: left; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0 20px; border-right: 1px solid #a0a0a0; } .sf-mega-section:last-child { border-right: none; } /** * 1. set mega menu section size, as a percentage of the mega menu width */ .sf-mega.sf-mega-1-col .sf-mega-section{ width: 100%; } /* 1 */ .sf-mega.sf-mega-2-col .sf-mega-section{ width: 50%; } .sf-mega.sf-mega-3-col .sf-mega-section{ width: 33.3333333333%; } .sf-mega.sf-mega-4-col .sf-mega-section{ width: 25%; } /* =Menu Arrows ========================================================================== */ .sf-arrows ul .sf-with-ul:after { position: absolute; top: 50%; right: 0; display: block; border: 4px solid transparent; border-left-color: #1c1c1c; margin-top: -2px; margin-right: 10px; content: ""; } .sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows ul .sfHover > .sf-with-ul:after { border-left-color: rgba(0, 0, 0, 0.3); } @media (min-width: 1200px) { .sf-menu > li > a span, .sf-menu > li.dropdown > a span { padding: 10px 15px 10px; } .header-style-2 .sf-menu > li > a span, .header-style-2 .sf-menu > li.dropdown > a span { padding: 10px 30px 10px; } } @media (min-width: 768px) and (max-width: 991px) { #menu { display: none; } } @media (max-width: 767px) { #menu { display: none; } } /* ========================================================================== =Menu From Left ========================================================================== */ a.menu-collaps { position: absolute; top: 55px; left: 15px; display: block; margin-top: 40px; color: #fff; } .menu-collaps i { font-size: 28px; line-height: 28px; } .nav { position: fixed; z-index: 1; top: 0; left: -100%; height: 100%; width: 375px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 80px; background-color: #1c1c1c; color: #fff; -webkit-transition: all 0.3s; transition: all 0.3s; } .nav.nav-open { left: 0; } .nav h2 { font-size: 26px; line-height: 36px; letter-spacing: 8px; text-transform: uppercase; } .nav h2 a { color: #fff; text-decoration: none; } .nav h2 a small { display: block; font-family: Georgia, "Times New Roman", Times, serif; font-size: 10px; line-height: 18px; letter-spacing: 4px; } .nav .close-menu { position: absolute; z-index: 1; top: 25px; right: 25px; display: block; padding: 5px; color: #fff; font-size: 20px; text-align: center; text-decoration: none; } .sfl-menu { padding: 0; margin: 0; margin-top: 80px; list-style: none; } .sfl-menu li a { display: block; padding: 10px 0; color: #fff; font-size: 14px; text-decoration: none; text-transform: uppercase; } .sfl-menu li a:hover, .sfl-menu li.active a { color: #bbb; } @media (max-width: 767px) { .nav { width: 100%; overflow: auto; } .nav h2 { font-size: 20px; line-height: 28px; letter-spacing: 5px; text-align: left; } } /* ========================================================================== =Mobile Menu ========================================================================== */ #mobile-menu { border-bottom: 1px solid #a0a0a0; margin-bottom: 0; } #mobile-menu li { display: block; margin: 0; } #mobile-menu > li > ul, #mobile-menu > li > ul > li > ul { display: none; margin-left: 0; } #mobile-menu .sf-mega { display: none; padding: 0; border: none; margin: 0; } #mobile-menu .sf-mega-section { float: none; width: 100%; padding: 0; border: none; } #mobile-menu .sf-mega-section ul { margin-left: 0; } #mobile-menu li a { position: relative; display: block; padding: 15px 25px; border-top: 1px solid #a0a0a0; color: #1c1c1c; font-size: 13px; text-align: left; text-decoration: none; } #mobile-menu ul a { padding-left: 45px; } #mobile-menu ul li ul a { padding-left: 65px; } #mobile-menu .mobile-menu-submenu-arrow { position: absolute; top: 0; right: 0; width: 70px; height: 100%; border-left: 1px solid #a0a0a0; color: #1c1c1c; font-size: 20px; line-height: 50px; text-align: center; cursor: pointer; } #mobile-menu .mobile-menu-submenu-arrow:hover { background-color: #f3f3f3; } #mobile-menu li a:hover {} #mobile-menu { display: none; } /* ========================================================================== =Mobile menu trigger ========================================================================== */ #mobile-menu-trigger { float: right; display: none; color: #1c1c1c; font-size: 32px; } @media (min-width: 768px) and (max-width: 991px) { #mobile-menu-trigger { display: block; margin-top: 97px; margin-right: 0; } .header-style-2 #mobile-menu-trigger { margin-top: -106px; } } @media (max-width: 767px) { #mobile-menu-trigger { position: absolute; top: 89px; right: 35px; display: block; padding: 10px; margin-top: 0; } .header-style-2 #mobile-menu-trigger { top: -127px; } } @media only screen and (min-width: 480px) and (max-width: 767px) { .header-style-2 #mobile-menu-trigger { top: -113px; } } /* ========================================================================== =Custom search form ========================================================================== */ #custom-search-button + nav { margin-right: 40px; } #custom-search-button { position: absolute; top: 65px; right: 25px; display: block; width: 16px; height: 18px; background: url(../images/bg-search.png) no-repeat center center; } /** * 1. z-index is 1030 because the dropdown menu has a z-index of 1025 */ #custom-search-form { position: absolute; z-index: 1030; /* 1 */ top: 100px; right: 15px; display: none; } #custom-search-form:before { position: absolute; z-index: 1; top: -9px; right: 10px; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 10px solid #a0a0a0; content:""; } #custom-search-form:after { position: absolute; z-index: 2; top: -7px; right: 10px; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 10px solid #fff; content:""; } #custom-search-submit { display: none; } #custom-search-form #s { width: 220px; padding: 8px 10px; border-radius: 0; background-color: #fff; } #custom-search-form #s:focus { border-color: #a0a0a0; } @media (min-width: 768px) and (max-width: 991px) { #custom-search-button { right: 75px; } #custom-search-form { right: 65px; } } @media (max-width: 767px) { /** * Hide search on mobile * 1. !important is needed to overwrite the display:block added by the js */ #custom-search-form { display: none !important; /* 1 */ } #custom-search-button { display: none; } } /* ========================================================================== =Sticky Header ========================================================================== */ @media (min-width: 1025px) { /** * 1. The height of the #header-wrap can be increased or decreased to accommodate the logo */ #header-wrap { position: relative; height: 150px; /* 1 */ } .header-style-2 #header-wrap { height: 285px; /* 1 */ } #header { position: absolute; top: 0; right: 0; left: 0; margin: 0 auto; } /** * 1. The z-index has to be 1020 so it is bigger than the back to top buttons z-index that is 1010 */ } /* ========================================================================== =Content ========================================================================== */ #content { padding-bottom: 0px; } .header-style-1 #content, .header-style-2 #content, .header-style-3 #content { max-width: 1570px; margin: 0 auto; } /* ========================================================================== =Page Header ========================================================================== */ #page-header {} /* ========================================================================== =Footer ========================================================================== */ #footer {} .header-style-1 #footer, .header-style-2 #footer, .header-style-3 #footer { max-width: 1570px; margin: 0 auto; } #footer-widget-area-1 {} #footer-widget-area-2 {} #footer-widget-area-3 {} #footer-widget-area-4 {} /* ========================================================================== =Back to top ========================================================================== */ #back-to-top { position: fixed; z-index: 1010; right: -40px; bottom: 20px; width: 40px; height: 40px; border-radius: 10px; background-color: #1c1c1c; color: #fafafa; font-size: 30px; letter-spacing: 0; text-align: center; opacity: 0.5; cursor: pointer; text-decoration: none; -webkit-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s; } #back-to-top i { font-size: 26px; line-height: 40px; font-weight: normal; vertical-align: top; -webkit-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s; } #back-to-top:hover { background-color: rgba(0, 0, 0, 0.7); } #back-to-top:hover i { color: #fff; } #back-to-top.visible { right: 40px; } #back-to-top.gone { right: -40px; } #bio { padding-top: 130px; } #gallery { padding-top: 130px; } #instagram { padding-top: 130px; } #instagram .ewf_widget_instagram { margin-bottom: 0; } #blog { padding-top: 130px; margin-bottom: 100px; } #shop { padding-top: 130px; } #shop ul.products { margin-bottom: 0; } #connect { padding-top: 130px; } #contact { padding-top: 130px; }