/* MASTHEAD - Used at the top of every page to provide brand look and page navigation */

/* Variables */

$masthead-mobile-height: 65px;
$masthead-height: 85px;

/* Component */

.c-masthead {
    height: $masthead-mobile-height;
    font-family: 'GPVWC light', sans-serif;
    background-color: transparent;
    color: #fff;
    line-height: $masthead-mobile-height;
    position: relative;
    z-index: 10;
    margin-bottom: -$masthead-mobile-height;
    display: flow-root;

    @include mq($from: 840px) {
        height: $masthead-height;
        line-height: $masthead-height;
        margin-bottom: -$masthead-height;
    }
}

.c-masthead__container {
    position: relative;
}

.c-masthead__content {
    display: inline-block;
}

.c-masthead__logo {
    width: 100px;
    vertical-align: middle;
    position: relative;
    top: 5px;

    @include mq($from: 840px) {
        display: inline-block;
        width: 150px;
    }
}

.c-masthead__button {
    height: $masthead-height;
    line-height: $masthead-height;
    background-color: #fff;
    border: none;
    width: 150px;
    font-size: 18px;
    color: color(brand);
    font-weight: bold;

    &::after {
        content: '\f105';
        font-family: 'Font Awesome\ 5 Free';
        opacity: 0;
        transition: 0.3s;
        right: 0;
        position: relative;
        height: 30px;
        width: 30px;
    }


    @include mq($until: 840px) {
        display: none;
    }

    &:hover {
        cursor: pointer;
        &::after {
            opacity: 1;
            right: -10px;
        }
    }
}

.c-masthead_navigation {
    position: absolute;
    right: 10px;
    display: inline-block;
}

.c-masthead__list-item {
    display: inline-block;

    @include mq($until: tablet) {
        display: none;
    }

    @include mq($from: tablet) {
        margin-left: 30px;
    }
}

.c-masthead__link-list {
    display: none;

    @include mq($from: 840px) {
        display: inline-block;
    }
}

.c-masthead__link {
    position: relative;
	display: inline-block;
	margin: 0px 15px;
	outline: none;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 400;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
    font-size: 1.35em;
    font-size: 18px;
}


.c-masthead__trigger.c-masthead__trigger {
    font-size: 26px;
    float: right;
    color: #fff;
    vertical-align: middle;
    line-height: $masthead-mobile-height;

    @include mq($from: 840px) {
        display: none;
        line-height: $masthead-height;
    }
}

.cl-effect-1 a::before,
.cl-effect-1 a::after {
    display: inline-block;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	transition: transform 0.3s, opacity 0.2s;
}

.cl-effect-1 a::before {
    color: #fff;
	margin-right: 10px;
	content: '[';
	-webkit-transform: translateX(20px);
	-moz-transform: translateX(20px);
	transform: translateX(20px);
}

.cl-effect-1 a::after {
    color: #fff;
	margin-left: 10px;
	content: ']';
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	transform: translateX(-20px);
}

.cl-effect-1 a:hover::before,
.cl-effect-1 a:hover::after,
.cl-effect-1 a:focus::before,
.cl-effect-1 a:focus::after {
	opacity: 1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
}
