html {
    font-size: 16px;
}

body {
    font-family: 'Microsoft JhengHei', 'roboto';
    color: #3c3c3c;
    line-height: 180%;
    letter-spacing: 0;
    background: #fefdfd url(../img/agsquare.png);
}

h1 {
    font-family: 'Microsoft YaHei', 'roboto';
    font-size: 36px;
    font-weight: normal;
    color: #007bff;
    color: #000;
}

h2 {
    font-family: 'Microsoft YaHei', 'roboto';
    font-size: 24px;
    font-weight: normal;
    color: #007bff;
}

h3 {
    font-family: 'Microsoft YaHei', 'roboto';
    font-size: 17px;
    line-height: 1.4;
}

a:hover {
    text-decoration: none;
}

/* overwrite bootstrap */

.btn {
    border-radius: 0;
    font-weight: normal;
}

.form-control {
    border-radius: 0;
}

.header-logo {
    /*    box-shadow: rgba(0, 0, 0, .4) 0 5px 9px;*/
    width: 300px;
}


@media only screen and (max-width: 420px) {
    .header-logo {
        width: calc(100vw - 104px);
    }
}

.nav-item {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    vertical-align: baseline;
    font-size: 17px;
    white-space: nowrap;
}

@media only screen and (min-width: 1250px) {

    .nav-item {
        margin-top: 0;
        margin-left: 5px;
        margin-right: 5px;
        vertical-align: baseline;
        font-size: 17px;
        white-space: nowrap;
    }
}

.nav-link {
    color: #000 !important;
    font-weight: bold;
    /*    text-shadow: rgba(0, 0, 0, 1) 0 0 5px;*/
    letter-spacing: .5px;
}

.nav-link:hover,
.nav-link:active,
.nav-link.current {
    text-shadow: none;
    background: #007bff;
    color: #fff !important;
}

/* font-size */

.font-14 {
    font-size: 14px;
}

.font-21 {
    font-size: 21px;
}

.font-24 {
    font-size: 24px;
}

.font-28 {
    font-size: 28px;
}

.text-525252 {
    color: #525252 !important;
}

.text-eee {
    color: #eee !important;
}

.text-ccc {
    color: #ccc !important;
}

.text-999 {
    color: #999 !important;
}

.text-tetrion-red {
    color: #007bff !important;
}

strong {
    font-weight: bold;
}

.linegreen i {
    color: #00c300;
    transition: 0.2s;
}

.linegreen:hover i {
    color: #00b300;
    transform: translateY(-2px);
}

.fbblue i {
    color: #4267B2;
    transition: 0.2s;
}

.fbblue:hover i {
    color: #375695;
    transform: translateY(-2px);
}

/* royalslider */

#full-width-slider {
    width: 100%;
    height: 100%;
    color: #000;
    clear: both;
    position: relative;
}

.coloredBlock {
    padding: 12px;
    background: rgba(255, 0, 0, 0.6);
    color: #FFF;
    width: 200px;
    right: 20%;
    bottom: 5%;
}

.infoBlock {
    position: absolute;
    top: 45%;
    left: 45%;
    text-shadow: rgba(0, 0, 0, .8) 2px 1px 2px;
    right: 15px;
    padding-bottom: 0;
    background: #FFF;
    overflow: hidden;
    padding: 20px;
    text-align: left;
    font-family: 'Microsoft YaHei', 'roboto', 'Open Sans Light', X-LocaleSpecific-Light, 'Open Sans', X-LocaleSpecific, sans-serif;
}

.left-top {
    top: 15%;
    left: 50px;
    right: 0;
    bottom: auto;
}

.left-bottom {
    top: 45%;
    left: 50px;
    right: auto;
    bottom: auto;
}

.right-top {
    top: 15%;
    left: 45%;
    right: auto;
    bottom: auto;
}

.center {
    top: 33%;
    text-align: center;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: auto;
}

.infoBlockLeftBlack {
    color: #FFF;
    background: none;
}

.infoBlock h4 {
    font-size: 62px;
    line-height: 120%;
    margin: 0;
    padding-bottom: 3px;
}

.infoBlock p {
    font-size: 28px;
    margin: 4px 0 0;
    line-height: 135%;
}

.infoBlock a {
    color: #FFF;
    text-decoration: underline;
}

.photosBy {
    position: absolute;
    line-height: 24px;
    font-size: 12px;
    background: #FFF;
    color: #000;
    padding: 0px 10px;
    position: absolute;
    left: 12px;
    bottom: 12px;
    top: auto;
    border-radius: 2px;
    z-index: 25;
}

.photosBy a {
    color: #000;
}

.fullWidth {
    margin: 0 auto 0 auto;
}

@media screen and (min-width:960px) and (min-height:660px) {
    #full-width-slider {
        /* height: 520px !important;  */
    }
}

@media screen and (min-width:960px) and (min-height:1000px) {
    #full-width-slider {
        height: 660px !important;
    }
}

@media screen and (min-width: 0px) and (max-width: 800px) {
    #full-width-slider {
        height: 400px !important;
    }

    .infoBlock {
        padding: 10px;
        height: auto;
        max-height: 100%;
        min-width: 40%;
        right: 5px;
        bottom: 5px;
        left: auto;
        font-size: 12px;
    }

    .infoBlock h4 {
        font-size: 32px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 130%;
    }

    .infoBlock p {
        font-size: 20px;
    }

    .left-top,
    .left-bottom,
    .right-top,
    .right-bottom,
    .center {
        top: auto;
        bottom: 10px;
        left: 7px;
        right: 0;
    }
}

img.img-shadow {
    box-shadow: rgba(0, 0, 0, .2) 1px 1px 4px;
    border: #fff solid 5px;
}

.h2-hr {
    margin: 0 auto 20px 0;
    width: 136px;
    text-align: left;
    border-top: #C00 solid 2px;
}

.w-80 {
    width: 80% !important;
}

@media only screen and (max-width: 575.98px) {
    .w-sm-100 {
        width: 100% !important;
    }
}

@media only screen and (min-width: 992px) {
    .w-lg-75 {
        width: 75% !important;
    }
}

.slick-arrow {
    display: none;
    opacity: 0;
}

.mb-topmenu {
    height: calc(100vh - 60px);
}

.mb-topmenu-item {
    padding: 15px;
    border-bottom: rgba(255, 255, 255, .5) solid 1px;
}

.mb-topmenu-item a {
    display: block;
}

#home-slider {
    height: 100vh;
    width: 100vw;
}

@media all and (max-width: 768px) {
    h2.font-52 {
        font-size: 28px !important;
    }

    #home-slider {
        width: 100vw;
        height: 90vh;
        overflow: hidden;
    }
}

#back-top {
    bottom: 26px;
}

#back-top a:hover {
    color: #0543fd !important;
    border: 3px solid #0543fd !important;
}

/*background color*/
.bg-ridmor {
    background: #66adff;
}

/* parsley */
.parsley-errors-list > li {
    font-size: 13px;
    list-style: none;
    color: #f6504d;
}

/* btn */
.btn-xs {
    padding: 0 5px;
    font-size: 13px;
    line-height: 24px;
    height: 24px;
    border-radius: 10px;
}

/* content */
.content img {
    max-width: 100%;
}

.content p {
    margin-bottom: 30px;
}
