/*
--------------------------------------------------
    Variables
--------------------------------------------------
*/
:root {
    --padding-x: 5rem;
}


/*
--------------------------------------------------
    Global
--------------------------------------------------
*/
.section {
    padding-top: 10rem;
}
.g-body {
    padding: 7rem 0;
}

.g-title {
    font-size: 3.5em;
}
.g-description {
    width: 75%;
    font-size: 1em;
}

.g-slider-menu-line .vr-slide-frame-menu > * {
    width: 3rem;
}

.g-service-items .item {
    width: calc(100%/3)
}

/*
------------------------------
*/
.g-cover-head {
    padding-bottom: 33.333%
}
/*
------------------------------
*/
.g-head-min {
    max-width: 100%;
}
/*
------------------------------
*/
.g-gallery {
    margin-top: 0
}
.g-gallery .vr-slide-frame-menu > * {
    width: 3rem;
    height: 3rem;
    cursor: pointer;
}


/*
--------------------------------------------------
    Elements
--------------------------------------------------
*/

header .logo img {
    max-width: 65%;
    max-height: 80%;
}

#menuItems a label {
    font-size: 3em;
    padding: 2rem 0;
}

#footer {
    padding: 10rem 0 7rem 0;
}

#footerLetter {
    max-width: 70%;
    margin: 0 auto 10rem auto;
}

#footerContact {
    background: linear-gradient(to bottom, rgba(0,0,0,.6), transparent);
}
#footerContact .hotline {
    font-weight: 300;
}


/*
------------------------------
    Popup
------------------------------
*/
#popupRequest {
    --whitespace: 7rem;
}
#popupRequest [class^='mes-close'] {
    width: var(--whitespace);
    height: var(--whitespace);
}
#popupRequest [class^='mes-close']:before,
#popupRequest [class^='mes-close']:after {
    width: 20%
}
#popupRequest [class^='mes-content'] {
    width: 36rem;
    margin: var(--whitespace) !important;
}


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Home page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#banner .cover {
    padding-bottom: 66.667vw
}

#banner .call {
    max-width: 40rem;
    text-align: left;
    top: 60%;
    left: calc((100% - var(--wrap-width))/2);
    transform: translateY(-50%);
}
#banner .call p {
    font-size: 1em;
}


#banner .vs-menu {
    width: 2rem;
    left: auto;
    right: calc((100% - var(--wrap-width))/2);
    top: 55%;
    bottom: auto;
}
#banner .vs-menu-item {
    width: 100%;
    height: 1.5rem;
    margin: 0;
}
#banner .vs-menu-item[active]:before {
    width: 200%;
}

#home .slogan {
    font-size: 4em;
}
#home .slogan .big {
    font-size: 3em;
}

#home .s-power .wrap {
    padding: 7rem 5rem;
}
#home .s-power .g-items {
    grid-gap: 4rem 5rem;
    grid-template-columns: 1fr 1fr;
}

#home .s-product .price {
    font-weight: 400 !important;
}


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    About page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#about .about-content .vr-paragraph {
    max-width: 70%;
}

#about .about-vision {
    padding-top: 0;
    padding-bottom: 10rem;
    background-attachment: fixed;
}
#about .about-vision .wrap {
    transform: translateY(-2em);
}
#about .about-vision .grid-item {
    width: 28%
}
#about .about-vision .grid-item:nth-of-type(n+2) {
    margin-top: 0
}
#about .about-vision .grid-item:nth-of-type(2) {
    text-align: left;
}

#about .about-vision .sologan {
    max-width: 60%;
    margin: 7rem auto 0 auto;
}



/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Project page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#service .service-items h2 {
    font-size: 4em;
    margin-top: .5em;
}
#service .service-item {
    margin: 10rem auto;
}



/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Project Single page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#serviceSingle .navigation {
    display: flex;
    border-bottom: solid thin var(--color);
}
#serviceSingle .navigation[data-fixed] {
    width: var(--wrap-width);
    background: var(--bg-primary);
    position: fixed;
    top: 0;
    left: calc((100% - var(--wrap-width))/2);
    z-index: 10;
}
#serviceSingle .navigation a {
    --icon-size: 2rem;
    display: flex;
    align-items: center;
    color: var(--color-text-sub);
    padding: 2rem 0;
    position: relative;
	white-space: nowrap;
}
#serviceSingle .navigation a[data-active] {
    color: var(--color)
}
#serviceSingle .navigation a[data-active]:before {
    content: '';
    width: 100%;
    height: .2rem;
    background: var(--color);
    position: absolute;
    left: 0;
    bottom: 0;
}
#serviceSingle .navigation a:nth-child(n+2) {
    margin-left: 4rem;
}
#serviceSingle .navigation svg {
    max-width: var(--icon-size);
    max-height: var(--icon-size);
    margin-right: 1rem;
    fill: var(--color-text-sub)
}
#serviceSingle .navigation a[data-active] svg {
    fill: var(--color)
}

#serviceSingle .layout {
    margin-top: 5rem;
}

#serviceSingle .block:not(#nav-utilities) {
    margin-top: 10rem;
}

#nav-procedure li,
#nav-utilities li {
    width: 45%
}


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Blog page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#blog .contain {
    width: 60%;
}
#blog .sidebar {
    width: 35%;
    margin-top: 0;
}


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Blog Single page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#blogSingle .head h1 {
    max-width:70%;
    font-size: 3em;
}
#blogSingle .other a {
    width: 45%
}
#blogSingle.promotion .g-title {
    font-size: 3.5em;
}


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Contact
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#contact .info {
    width: 56rem;
    margin: 5rem auto 0 auto;
}
#contact .feedback form {
    width: 56rem;
    padding: 5rem 7rem;
    box-shadow: 0 1rem 2rem rgba(0,0,0,.3);
}
#contact .feedback form [name="name"] {
    width: 60%
}
#contact .feedback form [name="phone"] {
    width: 35%
}



/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Search
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#searchForm {
    width: 40rem;
}
#searchForm > * {
    height: 6rem;
}
#searchForm > input {
    font-size: 1.3em
}

#searchResult .g-head-min {
    max-width: 100%;
}
#searchResult .item h3 {
    font-size: 1.5em;
}


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Promotion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#promotion .g-body .item {
    width: 47%
}


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Popup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#pluginPopup {
    --form-height: 7rem;
    --max-width: 72rem;
    --close-size: 3rem;
}
#pluginPopup form > input {width: 40%}
#pluginPopup form > button {width: 20%}

#pluginPopup .body {
    padding: 3rem 7rem;
}


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Gallery
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
.ui-gallery-items .item h2 {
    padding: 2rem 3rem
}

#gallerySingle .head h1 {
    font-size: 3em;
}


#gallerySingle .content,
#gallerySingle .other {
    margin-top: 15rem;
}
#gallerySingle .content {
    max-width: calc(70*1em/1.618);
}