* {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}


section {
    /* min-height:100vh; */
    overflow: hidden;
    width: 100%;
}

section .container {
    width: 100%;
    max-width: 1200px;

}

section a {
    text-decoration: underline;
    text-decoration-style: dotted;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

section a:hover {
    /* color:#457B9D; */
    text-decoration: underline;
    text-decoration-style: dotted;
}

section .title {
    font-size: 24px;
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

section .title span {
    margin-left: 10px;
}

section .title::after {
    /* content: "     ━━━━━━━━━━";
    font-size: 24px; */
}

@media screen and (max-width: 840px) {
    section .title {
        font-size: 24px;
    }

    section .title span {
        margin-left: 8px;
    }


    section .title::after {
        content: "";
    }
}

section .title .line {
    flex: 1;
    height: 2px;
    /* background-color: #1D3557; */
    border-radius: 5px;
    margin-left: 20px;
}



/* a {
    text-decoration: underline;
    text-decoration-style: dotted;
} */

.hoverimg {
    transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.hoverimg:hover {
    transform: scale(1.1);

}

/* Header */

#header {
    position: relative;
    /* background-image: url("../images/header.jpg"); */
    /* background-color: black; */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: inline-block;
    color: #1D3557;
    text-align: center;
    padding: 7em 0 2em 0;
    cursor: default;
    width: 100%
}

#header:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

#header .inner {
    position: relative;
    z-index: 1;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

#header header {
    display: inline-block;
}

#header header>p {
    font-size: 1.25em;
    margin: 0;
}


.lightblue {
    color: #457B9D;
}

.lighterblue {
    color: #A8DADC;
}

.red {
    color: #E63946;
}

#header a {
    color: inherit;
    text-decoration: none;
}

#header .button {
    display: inline-block;
    border-radius: 100%;
    width: 4.5em;
    height: 4.5em;
    line-height: 4.5em;
    text-align: center;
    font-size: 1.25em;
    padding: 0;
}

.homepage svg {
    height: 64px;
    width: 64px;
    fill: #457B9D;
}

.homepage #header {
    height: 100vh;
    min-height: 40em;
}

.homepage #header h1 {
    font-size: 4em;
}

.homepage #header:after {
    content: '';
    background: #fff;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -moz-transition: opacity 2.5s ease-in-out;
    -webkit-transition: opacity 2.5s ease-in-out;
    -ms-transition: opacity 2.5s ease-in-out;
    transition: opacity 2.5s ease-in-out;
    -moz-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    -ms-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

.homepage.is-preload #header:after {
    opacity: 1;
}


@media screen and (max-width: 1280px) {
    #header {
        background-attachment: scroll;
    }

    #header .inner {
        padding-left: 2em;
        padding-right: 2em;
    }

    .homepage #header h1 {
        font-size: 3em;
    }
}

@media screen and (max-width: 840px) {
    /* Header */

    #header {
        background-attachment: scroll;
        padding: 2.5em 0 0 0;
    }

    #header .inner {
        padding-top: 1.5em;
        padding-left: 1em;
        padding-right: 1em;
    }

    #header header>p {
        font-size: 1em;
    }

    #header h1,
    #header h2 {
        font-size: 1.75em;
    }

    #header hr {
        top: 1em;
        margin-bottom: 2.5em;
    }

    .homepage #header {
        min-height: 0;
        padding: 5.5em 0 5em 0;
        height: auto;
    }

    .homepage #header:before {
        display: none;
    }

    .homepage #header h1 {
        font-size: 2.5em;
    }


}


/* Underline */

.underline--magical {
    /* background-image: linear-gradient(120deg, #A8DADC 0%, #A8DADC 100%); */
    background-repeat: no-repeat;
    background-size: 100% 0.2em;
    background-position: 0 95%;
    text-decoration: none;

    transition: background-size 0.25s ease-in;
}

.underline--magical:hover {
    background-size: 100% 100%;
}

/* about */

.about {}

.about .core-loc {
    position: relative;
    right: 30%;
    top: 10%;
    margin-top: 10%;
}

.about .core-loc svg {
    width: 80%;
    height: 80%;
}

.about .desc {
    position: absolute;
    left: 50%;
    top: 20%;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 30%;
    color: #1D3557;
}

.about .desc h1 {
    color: #1D3557;
}

.about .desc ul {
    list-style: none;
}

.about .desc li,
.about .desc p,
.about .desc a {
    color: #1D3557;
}

.about .desc li::before {

    content: "\25FC";
    color: #E63946;
    font-weight: bold;
    display: inline-block;
    width: 2em;
    margin-left: -2em;
}


@media screen and (max-width: 840px) {
    .about .core-loc {
        display: none;
    }

    .about .desc {
        left: 10%;
        width: 80%;
        margin-top: 10%;
    }
}


/* portfolio */

.portcard {
    display: inline-block;
    margin-bottom: 30px;
}

.webcard {
    position: relative;
    /* height: auto; */
    /* margin-top: 100px; */
    display: inline-block;
    /* background: #e3e3e3; */
    overflow: hidden;
    border-width: 2px;
    border-style: solid;
    border-radius: 15px;
    /* border-color: #e3e3e3; */
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.webcard:hover {
    -moz-transform: translate(0px, -5px);
    -ms-transform: translate(0px, -5px);
    -o-transform: translate(0px, -5px);
    -webkit-transform: translate(0px, -5px);
    transform: translate(0px, -5px)
}

.webhead {
    width: 100%;
    height: 30px;
    vertical-align: center;
    overflow: hidden;
}

.webhead svg {
    margin-top: -15px;
}

.webcontent {
    width: 100%;
    /* margin-top:30px; */
    height: 100%;
    background: #fff;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    background-size: contain;
    zoom: auto;
}

img.img_pointer {
    cursor: default;
}

img.img_pointer:hover {
    cursor: default;
}


.webcontent img {
    width: 100%;
    cursor: pointer;
}

.portcard a:hover {
    text-decoration: none;
}

.portcard .info {
    position: relative;
    /* margin: 0px 0px 10px 10px; */
    display: inline-block;
    vertical-align: top;
}


.portcard .info h1 {
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
}

h2 {
    font-size: 16px;
}

.portcard .info h2 {
    /* color: #457B9D; */
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 4px;
}

.portcard .info p {

    margin-top: 0px;
    margin-bottom: 8px;
}

.portcard .info a {

    margin-top: 0px;
    margin-bottom: 8px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.portcard .info a:hover {

    text-decoration: underline;
    text-decoration-style: dotted;

}



.portcard .info .tag-cloud {
    margin-top: 8px;
    /* position:absolute;
    bottom:10px; */
}

.tag-cloud .tag {
    position: relative;
    /* min-width:100px; */
    width: auto;
    display: inline-block;
    *display: inline;

    /* width:200px; */
    background: none;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    border-color: #457B9D;

    margin: 0px auto;
    margin-right: 6px;
    margin-bottom: 6px;
    padding: 3px 6px 3px 6px;
    text-align: center;
    font-size: 12px;
    color: #457B9D
}



/*
 CSS for the main interaction
*/
.tabset>input[type="radio"] {
    position: absolute;
    left: -200vw;
}

.tabset .tab-panel {
    display: none;
}

.tabset>input:first-child:checked~.tab-panels>.tab-panel:first-child,
.tabset>input:nth-child(3):checked~.tab-panels>.tab-panel:nth-child(2),
.tabset>input:nth-child(5):checked~.tab-panels>.tab-panel:nth-child(3),
.tabset>input:nth-child(7):checked~.tab-panels>.tab-panel:nth-child(4),
.tabset>input:nth-child(9):checked~.tab-panels>.tab-panel:nth-child(5),
.tabset>input:nth-child(11):checked~.tab-panels>.tab-panel:nth-child(6) {
    display: block;
}

/*
 Styling
*/


.tabset>label {
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
    color: #1D3557;
}


.tabset>label:hover,
.tabset>input:focus+label {
    color: #1D3557;
}



.tabset>input:checked+label {
    color: #1D3557;
    background: #A8DADC;
    border-top: 4px solid #1D3557;
    /* border-left: 4px solid #1D3557; */
    /* border-right: 4px solid #1D3557; */


}

.tab-panel {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    min-height: 40vh;
    padding: 20px;
    border-top: 4px solid #1D3557;
    margin-top: -5px;
}

.tab-panel h2 {
    font-size: 20px;
}

.tab-panel .time {
    /* color:#457B9D; */
    font-size: 12px;
    line-height: 18px;
    margin: 0;
    /* font-family: 'Courier New', Courier, monospace; */
}

.tab-panel .place {
    color: #457B9D;
}

.tabset {
    max-width: 600px;
    height: 100%;
    margin: 0 auto;
}

.ullist ul {
    list-style: none;
}

.ullist li,
.ullist p,
.ullist a {
    color: #1D3557;
}

.ullist li::before {
    content: "\25FC";
    color: #E63946;
    font-weight: bold;
    display: inline-block;
    width: 2em;
    margin-left: -2em;
}

#popBox {
    position: absolute;
    display: none;
    width: 400px;
    height: 300px;
    left: 40%;
    top: 20%;
    z-index: 11;
    background: #fff;
    transition: all 0.6s;
    padding: 10px;
}

#popLayer {
    position: absolute;
    display: none;
    left: 0;
    top: 0;
    z-index: 10;
    background: #DCDBDC;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
    /* 只支持IE6、7、8、9 */
    transition: all 0.6s;
}

.contact a {
    text-decoration: none;
    font-size: 18px;
}

.contact .title {
    text-align: center;
    font-size: 34px;
    font-weight: bold;
}

.intro-banner {
    display: inline-block;
    width: 100%;

}

.intro-banner ul {
    height: 100%;
    margin-bottom: 0;
    font-size: 16px;
}

.align-right {
    width: 100%;
    text-align: right;
}

.intro-banner .img-wrapper {
    text-align: right;
    display: inline-block;
    width: 100%;
}

@media (max-width: 991px) {
    .intro-banner {
        text-align: center;
    }

    .intro-banner .align-right {
        text-align: center;
    }

    .intro-banner .img-wrapper {
        text-align: center;
    }

    .intro-banner .intro-txt p {
        text-align: left;
    }
}

.intro-banner img {
    position: relative;
    display: inline-block;

}

.intro-banner ul {
    position: relative;
    width: auto;
    display: inline-block;
}

.intro-txt {
    width: 100%;
}

.intro-banner .intro-txt h1 {
    font-size: 24px;
    margin-top: 8px;
}

.intro-txt p {
    margin: 10px 0;
}

.cv-row .cv-title span {
    /* width: max-content; */
    margin-right: 0;
    display: inline-flex;
}

ul.cv-list {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
    /* display:inline-block; */
}

ul.cv-list li.cv-item {
    display: inline-block;
    width: 100%;
    margin-bottom: -8px;
}

@media (max-width: 991px) {
    ul.cv-list li.cv-item {
        margin-bottom: 0px;
    }
}

ul.cv-list ul {
    list-style-type: circle;
}

ul.cv-list ul li {
    margin: 0;
}

ol.cv-list {
    list-style: decimal;
}

ol.cv-list li.cv-item {
    /* display:inline-flex; */
    display: list-item;
    list-style-position: outside;
    margin-bottom: 6px;
}

.cv-list hr {
    border: none;
    margin: 6px 0;
}

ul.cv-list .cv-row {
    width: 100%;
    display: inline;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.cv-list p {
    margin: 0;
}

.cv-list .time {
    text-align: right;
}

.cv-list .i {
    font-style: italic;
}

.cv-list .indent {
    margin-left: 20px
}

.margin15 {
    margin-left: 15px;
    margin-right: 15px;
}

.margin-left-15 {
    margin-left: 15px;
}

.progress-bar {
    text-align: left;
    padding-left: 3px;
    background-color: #457B9D;
}


@media (max-width: 767px) {
    .col-xs-0 {
        display: none;
    }

    .cv-row .cv-title span {
        display: contents;
    }

    .cv-row .cv-title span.col-xs-0 {
        display: none;
    }

    /* .col-xxs-0{
        display: none;
    }
    .col-xxs-12 {
        width: 100%;
    } */
    body {
        font-size: 14px;
        line-height: 20px;
    }

    ;

    h1 {
        font-size: 18px;
        margin-top: 8px;
    }

    h2 {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-sm-0 {
        display: none;
    }

    body {
        font-size: 14px;
        line-height: 20px;
    }

    ;

    h1 {
        font-size: 18px;
        margin-top: 8px;
    }

    h2 {
        font-size: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .col-md-0 {
        display: none;
    }
}

@media (min-width: 1200px) {
    .col-lg-0 {
        display: none;
    }
}

.img-avatar {
    max-width: 100%;
    height: auto;
}

.list-inline>li {
    padding-left: 3px;
    padding-right: 3px;
}

.liveSiteButton {
    display: inline-flex;
    align-items: center;
    padding: 2px 20px;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
    border-width: 2px;
    border-style: solid;
}

.liveSiteButton i {
    margin-right: 8px;
}

.liveSiteButton:hover {
    text-decoration: none;
}

.webcard {
    width: 100%;
    height: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    /* width: 100px;
    height: 100px; */
}

.image-container img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.static-img,
.animated-gif {
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}

.animated-gif {
    display: none;
    opacity: 0;
}

.image-container:hover .animated-gif {
    display: block;
    opacity: 1;
}

.image-container:hover .static-img {
    display: none;
    opacity: 0;
}