/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
color: $color__text-main;
&:visited {
color: $color__text-main;
}
&:hover,
&:focus,
&:active {
color: $color__link-hover;
}
&:focus {
outline: none;
}
&:hover,
&:active {
outline: 0;
}
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
clear: both;
display: block;
float: left;
width: 100%;
ul {
list-style: none;
margin: 0;
padding-left: 0;
ul {
box-shadow: 0 1px 5px -1px rgba(0,0,0,.3);
-webkit-box-shadow: 0 1px 5px -1px rgba(0,0,0,.3);
float: left;
background: #fff;
position: absolute;
top: 100%;
left: -999em;
z-index: 99999;
min-width: 12em;
ul {
left: -999em;
top: 0;
}
li {
white-space: nowrap;
display: block;
width: 100%;
margin-top: 0;
&:hover > ul,
&.focus > ul {
left: 100%;
}
}
a {
text-transform: none;
padding: 10px 14px;
font-size: 13px;
font-weight: 400;
color: $color__text-main;
}
:hover > a,
.focus > a {
}
a:hover,
a.focus {
}
}
li:hover > ul,
li.focus > ul {
left: auto;
}
}
li {
float: left;
position: relative;
padding: 0;
margin-top: 8px;
z-index: 20;
&:hover > a,
&.focus > a {
}
&:last-child a {
padding-right: 0;
}
}
a {
display: block;
text-decoration: none;
padding: 15px 15px 40px;
text-transform: uppercase;
font-size: 14px;
font-family: 'Montserrat', sans-serif;
font-weight: 500;
color: $color__text-main;
&:hover {
color: $color__link-hover;
}
}
.current_page_item > a,
.current-menu-item > a,
.current_page_ancestor > a,
.current-menu-ancestor > a {
color: $color__link-hover;
}
}
.nav-form {
background: rgba(0, 0, 0, 0);
position: fixed;
top: 0;
left: 0;
z-index: 9999;
width: 100%;
transition: all 0.5s;
height: 100%;
visibility: hidden;
}
.nav-form .nav-content {
z-index: 999;
transition: all 0.5s;
margin-left: -500px;
position: absolute;
height: 100%;
width: 280px;
padding: 0 ;
background: #fff;
}
.nav-form.open .nav-content {
margin-left: 0;
}
.nav-form .nav-spec {
height: 100%;
padding: 40px 0 0;
overflow: scroll;
}
.nav-menu {
width: 100%;
}
.nav-menu ul {
margin: 0;
padding: 0;
list-style: none;
}
.nav-menu ul li {
position: relative;
}
.nav-menu ul li a {
text-transform: uppercase;
color: #000;
font-size: 15px;
padding: 15px 20px;
display: block;
width: 100%;
border-bottom: 1px solid #eaeaea;
text-decoration: none;
text-align: left;
}
.nav-menu ul li a:hover,
.nav-menu ul li.current-menu-item a {
color: $color__link-hover;
}
.nav-menu ul.sub-menu {
display: none;
}
.nav-menu ul.sub-menu a {
padding-left: 30px;
}
.nav-menu ul li.menu-item-has-children > span.arrow {
position: absolute;
top:10px;
right: 15px;
display: inline-block;
padding: 5px 10px;
}
.nav-menu ul li.menu-item-has-children > span.arrow::before {
content: "\f107";
font-size: 15px;
cursor: pointer;
font-family: 'FontAwesome';
}
.nav-menu ul li.menu-item-has-children > span.arrow.active::before {
content: "\f106";
}
/* header type 2 */
.header-top {
background: #fff;
padding: 25px 0;
.header-contact-wrapper {
list-style: none;
padding: 0px;
margin: 15px 0 0;
overflow: hidden;
float: right;
.btn-secondary {
background-color: $color__link-hover;
color: #fff;
padding-left: 15px;
padding-right: 15px;
i {
margin-right: 5px;
}
&:hover {
opacity: 0.8;
}
}
li {
display: block;
float: left;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 25px;
&:first-child {
margin-left: 0;
}
.contact-box {
display: inline-block;
}
.box-icon {
float: left;
i {
color: $color__link-hover;
font-size: 35px;
margin-right: 1px;
}
}
.box-text {
float: right;
padding-left: 10px;
.contact-phone {
font-size: 15px;
font-weight: 600;
line-height: 1;
text-transform: uppercase;
margin-top: 1px;
letter-spacing: 0.3px;
color: #222;
}
.contact-text {
line-height: 1;
margin-top: 6px;
font-size: 12px;
}
}
}
}
}
.header-bottom {
background: #307ad5;
position: relative;
.main-navigation {
width: 80%;
li {
margin: 0;
&:last-child a {
padding-right: 15px;
}
ul li a {
color: $color__text-main;
}
}
a {
color: #fff;
padding: 15px 20px;
&:hover {
background: #ffb606;
color: #fff;
}
}
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
background: #ffb606;
color: #fff;
}
.header-socials {
width: 20%;
float: right;
text-align: right;
a {
color: #fff;
line-height: 51px;
margin-left: 10px;
&:hover {
color: #ffb606;
}
}
}
}
/* header type 3 */
.header-type3 {
.header-top .header-contact-wrapper {
.box-text {
margin-top: 7px;
}
.box-icon {
background: $color__link-hover;
width: 50px;
height: 50px;
display: block;
text-align: center;
line-height: 55px;
border-radius: 50%;
i {
font-size: 23px;
color: #fff;
}
}
}
.header-bottom {
.nav-btn-right {
background: $color__link-hover;
color: #fff;
font-size: 14px;
padding: 15px 25px;
height: 100%;
text-transform: uppercase;
float: right;
&:hover {
text-decoration: none;
opacity: 0.8;
}
i {
margin-right: 5px;
}
}
}
}
.header-socials-type3 {
margin-top: 4px;
a {
width: 30px;
height: 30px;
display: inline-block;
text-align: center;
line-height: 30px;
color: #fff;
}
}
.comment-navigation,
.posts-navigation,
.post-navigation {
.site-main & {
margin: 0 0 1.5em;
overflow: hidden;
}
a {
background: $color__link-hover;
color: #fff;
border: 2px solid transparent;
border-radius: 2px;
padding: 10px 15px;
display: inline-block;
line-height: 1;
&:hover {
text-decoration: none;
color: $color__text-main;
border-color: $color__link-hover;
background: transparent;
}
}
.nav-previous {
float: left;
width: 50%;
}
.nav-next {
float: right;
text-align: right;
width: 50%;
}
}