@font-face {
    font-family: "bglr";
    src: url("../fonts/bank_gothic_light_regular.otf");
}

@font-face {
    font-family: "brush script mt";
    src: url("../fonts/brush_script_mt.ttf");
}

@font-face {
    font-family: "arail narrow";
    src: url("../fonts/arail_narrow.ttf");
}

:root {
    --c_primary: #174b41;
    --c_primaryLight: #c4cccc;
    --c_secondary: #dcc7a2;
    --c_dark: #444343;
    --c_danger:#ff0000;
    --c_gray: #98999a;
    --c_white: #ffffff;
    --ff_arail_narrow: "arail narrow";
    --ff_bglr: "bglr";
    --ff_brush_script: "brush script mt";
    --fs_2xl: 48px;
    --fs_xl: 32px;
    --fs_lg: 22px;
    --fs_md: 17px;
    --fs_def: 16px;
    --fs_sm: 15px;
    --fs_xsm: 13px;
}

body {
    min-height: 100vh;
    color: var(--c_dark);
    font-family: var(--ff_bglr);
    /* background: linear-gradient(to bottom,#174b41,#bcd0cd); */
    background: -o-linear-gradient(top, #174b41, #4e8178);
    background: -webkit-gradient(linear, left top, left bottom, from(#174b41), to(#4e8178));
    background: linear-gradient(to bottom, #174b41, #4e8178);
    background-repeat: no-repeat;
    background-size: cover;
}
h1{
    font-size: var(--fs_2xl);
    color: var(--c_white);
    margin-bottom: 0px;
    line-height: 1;
}
h2{
    font-size: var(--fs_xl);
    font-family: var(--ff_brush_script);
    color: var(--c_secondary);
    margin-bottom: 0px;
}
h6{
    font-size: var(--fs_def);
    line-height: 1;
    font-weight: 600;
}
p{
    font-size: var(--fs_def);
    margin-bottom: 1.5rem;
}
.c_primary {
    color: var(--c_primary);
}

.c_secondary {
    color: var(--c_secondary);
}

.c_dark {
    color: var(--c_primary);
}

.c_gray {
    color: var(--c_gray);
}

.c_white {
    color: var(--c_white);
}

.ff_arail_narrow {
    font-family: var(--ff_arail_narrow);
}

.ff_bglr {
    font-family: var(--ff_bglr);
}

.ff_brush_script {
    font-family: var(--ff_brush_script);
}

.fs_2xl {
    font-size: var(--fs_2xl);
}

.fs_xl {
    font-size: var(--fs_xl);
}

.fs_lg {
    font-size: var(--fs_lg);
}

.fs_md {
    font-size: var(--fs_md);
}

.fs_def {
    font-size: var(--fs_def);
}

.fs_sm {
    font-size: var(--fs_sm);
}

.fs_xsm {
    font-size: var(--fs_xsm);
}
.hover_underline{
    text-decoration: none;
}
.main_sec {
    padding: 28px 0px;
}

.pg_top {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    margin: auto;
    text-align: center;
}

.pg_middle {
    padding: 17px 12px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 16px var(--c_dark);
            box-shadow: 0px 0px 16px var(--c_dark);
}
.pg_content{
    font-family: var(--ff_arail_narrow);
}

.pg_nav {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    margin: auto;
    margin-bottom: 20px;
}

.pg_nav::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: url("../img/stroke.png");
    background-repeat: no-repeat;
    background-size: 100%;
}
.pg_nav li::before{
    content: none;
}
.pg_nav .nav-link {
    color: var(--c_primary);
    font-size: var(--fs_md);
    padding: 0px 16px;
    line-height: 1em;
}
.pg_nav .nav-link:hover{
    color: var(--c_secondary);
}
.pg_nav .nav-link.active{
    color: var(--c_secondary);
    font-weight: 700;
}
ul {
    font-size: var(--fs_def);
    list-style: none;
    padding-left: 1.5em;
    line-height: 1.25;
}

ul li::before {
    content: "";
    margin-left: -1.5em;
    margin-right: 0.5em;
    display: inline-block;
    width: 0.8em;
    height: 0.5em;
    border-bottom: solid 2px currentColor;
    border-left: solid 2px currentColor;
    -webkit-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    -webkit-transform-origin: top;
        -ms-transform-origin: top;
            transform-origin: top;
}

.pg_bottom {
    padding-top: 16px;
}
.actbtn_top{
    padding-top: 44px;
}
.service_list {
    text-decoration: none;
    margin-bottom: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: var(--c_secondary);
    list-style: none;
}

.service_list li {
    margin: 0px 1.3em;
}
.service_list li::before{
    content: none;
}

.btn_act {
    font-size: var(--fs_lg);
    border: 1px solid var(--c_primaryLight);
    border-radius: 6px;
    position: relative;
    color: var(--c_primary);
    font-family: var(--ff_bglr);
}

.btn_act:hover {
    /* color: var(--c_white); */
    background-color: var(--c_secondary);
}

.btn_inlineImg {
    height: 1em;
    -webkit-transform: scale(2.5);
        -ms-transform: scale(2.5);
            transform: scale(2.5);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.btn_act:hover .btn_inlineImg {
    -webkit-transform: scale(3);
        -ms-transform: scale(3);
            transform: scale(3);
}

.btn_act_left .btn_inlineImg {
    /* transform-origin: right; */
}

.btn_act_right .btn_inlineImg {
    /* transform-origin: left; */
}
.portfolio_slider a{
    text-decoration: none;
    color: var(--c_primary);
    font-family: var(--ff_arail_narrow);
}
.portfolio_slider a:hover{
    text-decoration: underline;
}
.portfolio_grp{}
.btn_primary{
    background-color: var(--c_primary);
    color: var(--c_white);
}
div.error, span.error{
    font-size: var(--fs_xsm);
    color: var(--c_danger);
    padding-top: 3px;
}
@media only screen and (min-width:992px) {
    .container_md {
        max-width: 818px;
    }
}

@media only screen and (max-width:767.98px) {
    :root {
        --fs_2xl: 38px;
        --fs_xl: 28px;
        --fs_lg: 18px;
        --fs_md: 16px;
        --fs_def: 15px;
        --fs_sm: 14px;
    }
    .service_list li {
        margin: 0px 0.6em;
    }
}
@media only screen and (max-width:575.98px) {
    :root {
        --fs_2xl: 36px;
    }
    .pg_nav .nav-link {
        padding: 0px 10px;
    }
    .line_list {
        margin-bottom: 10px;
    }
    .btn_act {
        width: 100%;
        margin: 10px 0px;
    }
    .service_list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
      }
}