/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

/* global font */
#header,
body,
h1, h2, h3, h4, h5, h6,
#top .title_container .main-title, tr.pricing-row td,
#top .portfolio-title, .callout .content-area,
.avia-big-box .avia-innerbox, .av-special-font {
    font-family: "Open Sans", helvetica, Arial, sans-serif, "Microsoft JhengHei", "LiHei Pro";
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike,
strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    letter-spacing : 0.1em;
}

.footer_color a:hover, .footer_color h1 a:hover, .footer_color h2 a:hover, .footer_color h3 a:hover,
.footer_color h4 a:hover, .footer_color h5 a:hover, .footer_color h6 a:hover, .footer_color .template-search a.news-content:hover {
    color:#82bc00;
}

.main_color .heading-color, .main_color a.iconbox_icon:hover, .main_color h1, .main_color h2,
.main_color h3, .main_color h4, .main_color h5, .main_color h6, .main_color .sidebar .current_page_item>a,
.main_color .sidebar .current-menu-item>a, .main_color .pagination .current, .main_color .pagination a:hover,
.main_color strong.avia-testimonial-name, .main_color .heading, .main_color .toggle_content strong,
.main_color .toggle_content strong a, .main_color .tab_content strong, .main_color .tab_content strong a,
.main_color .asc_count, .main_color .avia-testimonial-content strong, .main_color div .news-headline,
#top .main_color .av-related-style-full .av-related-title {
    color: #444;
}

/*-----------------------------------------------------------------------*/

.index_4select p {
    line-height: 1.2em;
    margin-top: 21px;
}

/**/
div #header_meta {
 border-bottom: 1px solid #82bc00;
}

/* fix width problem*/
.container {
    width: 100%;
}

@media only screen and (min-width: 1021px) {
    .responsive .container {
        width: 1020px;
    }
}

@media only screen and (max-width: 989px) and (min-width: 768px){
    .responsive .container {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) and (min-width: 480px){
    .responsive .container {
        width: 100%;
    }
}

@media only screen and (max-width: 767px){
    .responsive .container {
        width: 100%;
    }
}

/* Top Navbar */
.sub_menu>ul>li:hover>a {
    text-decoration: none;
}

#top .header_color .sub_menu ul li a:hover,
.header_color .sub_menu ul:first-child > li.current-menu-item > a,
.header_color .sub_menu ul:first-child > li.current_page_item > a,
.header_color .sub_menu ul:first-child > li.active-parent-item > a {
    color: #82bc00;
}

/* loop post */
.template-blog .post_delimiter {
    padding-top: 10px;
}

/* index 6 post*/
#top #main .avia-section .template-page{
    padding-bottom: 0px;
}

/*index part 1 remove header padding and border*/
    #av_section_1 main:nth-child(1){
        border-top: 0px !important;
        padding-top: 0px;
    }

/* index slide*/
    .EasySlideri_custo
    {
     margin:0px;
    }

/* post page */
.content article {
    border-radius: 0px;
}
    /*top line*/
.container .nine.units {
    border: 0px;
}

.main_color div {
    border: 0px;
}

/*                              archive / post                               */
.post-meta-infos a:hover {
    text-decoration: none;
}

.post-meta-infos .icon_cfb {
    margin-left: 3px;
}

.post-meta-infos .icon_cfb,
.post-meta-infos .icon_cgo,
.post-meta-infos .icon_cli,
.post-meta-infos .icon_ctw,
.post-meta-infos .icon_cem {
    width: 20px;
    height: 20px;
    background-size: 20px;
    display: inline-block;
}

.post-meta-infos .icon_cfb {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/01/icon_fb01.png);
}
.post-meta-infos .icon_cfb:hover {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/02/icon_fb02.png);
}

.post-meta-infos .icon_cgo {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/01/icon_google01.png);
}
.post-meta-infos .icon_cgo:hover {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/02/icon_google02.png);
}

.post-meta-infos .icon_cli {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/01/icon_line01.png);
}
.post-meta-infos .icon_cli:hover {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/02/icon_line02.png);
}

.post-meta-infos .icon_ctw {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/01/icon_twitter01.png);
}
.post-meta-infos .icon_ctw:hover {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/02/icon_twitter02.png);
}

.post-meta-infos .icon_cem {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/01/icon_email01.png);
}
.post-meta-infos .icon_cem:hover {
    background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/02/icon_email02.png);
}

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

/*mob_menu*/
#mob_menu {
    display: none;
}

/* navbar */
    .sub_menu {
        top: 0px;
        left:0px;
    }

    #top .sub_menu > ul {
        margin-left: 0px;
        margin-top: 8px;
        height: 25px;
        font-weight: 100;
    }

    .sub_menu p {
        margin: 0px;
        font-size: 13px;
    }

    #avia2-menu li a {
        font-size: 13px;
        line-height: 25px;
        padding: 0px;
    }

    .sub_menu li,
    .av_secondary_left .sub_menu>ul>li:last-child {
         padding: 0 10px;
         height: 25px;
         border-style: solid !important;
         border-color: #ccc !important;
         border-left: 1px;
    }

    .av_secondary_left .sub_menu>ul>li:last-child {
        border-right: 1px;
        border-top:0px;
        border-bottom:0px;
    }

/* 4 select */
    .entry-content-wrapper > .av_one_fourth
    {
         width: 25% !important;
         height: 80px;
         margin: 0px !important;
         border-top: 1px;
         border-right: 1px;
         border-bottom: 1px;
         border-style: solid;
         border-color: #ccc;
         clear: none !important;
    }

    .entry-content-wrapper > .avia-builder-el-2
    {
         width: 25%;
         height: 80px;
         margin: 0px;
         border: 1px solid #ccc;
    }

    .index_4select a{
        line-height: 15px;
        padding-top: 1px;
    }

    .index_4select a {
        color: #75787b;
    }

/* title post */
    #header_main > #index_title {
         height: 186px;
    }

    #header_main > #index_title > strong {
         width: 100%;
    }

    #header_main > #index_title > strong > a {
         padding-top: 42px;
    }

    #header_main > #index_title > strong > a > img {
         height: 102px;
         margin: auto;
         padding: 0px;
    }

/* index 6 post */

    .index_post_custo > div .post-entry
    {
     margin-bottom:40px;
     width:30.93%;
     border: 1px solid #ccc;
     border-radius: 0px;

     height:335px;
    }

    .index_post_custo > div .slide-loop-2,
    .index_post_custo > div .slide-loop-3,
    .index_post_custo > div .slide-loop-5,
    .index_post_custo > div .slide-loop-6
    {
     margin-left:3.6%;

     height:335px;
    }

    body .column-top-margin {
         margin-top: 41px;
    }

    .main_color .avia-content-slider .slide-image {
         background-color: rgba(255,255,255,0.0);
    }

    .avia-content-slider .slide-image img {
         padding: 18px;
         background-color: rgba(255,255,255,0.0);
    }

    .avia-content-slider .slide-image {
        margin-bottom: 0px;
    }

    .slide-content {
        padding: 0px 18px 18px 18px;
    }

    .avia-content-slider .slide-entry-title {
        font-size: 15px;
    }

    .slide-meta > time {
        font-size: 12px;
    }

    .avia-content-slider .slide-meta {
        padding-top: 1px;
        padding-bottom: 2px;
    }

    .slide-content > .slide-entry-excerpt {
        font-size: 12px;
    }

    /* more */

    /*.main_color a{
        color: #75787b;
    }*/

    .main_color a:hover {
        color: #82bc00;
    }

    .slide-content > .slide-entry-excerpt > .read-more-link {
        font-size: 11px;
    }

/* footer */
    #footer {
         border-top: 1px solid #82bc00;
    }

/*三欄選單*/
    #footer_left h1,
    #footer_right h1 {
        font-size: 17px;
    }

    #footer_left h1 {
        margin-left: 145px;
    }

    #footer_right h1 {
        margin-right: 145px;
    }

    #ftli1 > a:link > li {
        list-style-image: none;
        margin-left: 0px;
    }

    #top .widget ul li {
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    div .av_one_third {
        width: 33%;
        margin-left: 0px;
    }

    #ftli3 {
        margin-top: 0px;
    }

    #ftli3_1 {
        visibility: hidden;
        width: 0px;
        height: 0px;
    }

    #text-12 {
        border-left: 0px;
        border-right: 0px;
    }

    #socket {
        background-color: #82bc00;
        border-color: #82bc00;
    }

    #socket .container {
        background-color: #82bc00;
    }

/* ----Post---- */
/*sidebar*/
    .widget_recent_entries li {
        border-top-width: 0px;
        border-top-width: 0px;
    }

    .widget_recent_entries li a {
        font-style: inherit;
    }

    #recent-posts-1 .widgettitle {
        font-size: 17px;
    }

    #recent-posts-2 .widgettitle,
    #views-plus-2 .widgettitle {
        border: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        text-align: right;
    }

/* post contnt */
    .entry-content-wrapper > .entry-content-header {
        height: 60px;
    }

    #recent-posts-2 > ul > li ,
    #views-plus-2 > ul > li {
        text-align: left;
    }


    .responsive .container .nine.units {
        width: 80% !important;
    }


/* loop post */
    .big-preview.single-big {
        padding: 40px 40px 0px 40px;
        display: block;
        background-color: inherit;
    }


/* category page select */
    .pagination {
        width: 33%;
        margin: auto;
    }

/******************************* Archive / Post *******************************/
/* category bar*/
    #avia-menu li .avia-menu-text {
        font-size:17px;
    }

    .responsive #header .main_menu ul{
        width: 605px;
        margin: auto;
    }

    .main_menu {
        margin: 0px;
    }

/* map bar*/
    #post_map {
        font-size: 15px;
        padding-top: 15px;
        border-top:1px solid #efefef;
        color: #82bc00;
    }

/*content field*/
    .responsive .container .nine.units,
    #top #main .sidebar_left .sidebar {
        border-top: 0px;
        padding-top: 15px;
    }
}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
/******************************* Global *******************************/
/*index change title and navbar*/
div #header_meta{
    padding-top: 80px;
}

.html_header_top.html_bottom_nav_header #header_main {
    position: absolute;
    width: 100%;
    height: 80px;
    top: 0px;
    left: 0px;
    z-index: 100;
}

/* burger button*/
#advanced_menu_toggle {
    background-color: inherit;;
    color: #82BC00;
    border-color: #fff;
}

/*main*/
  .container_wrap .container,
  #av_section_1 .avia-builder-el-10 {
      padding: 0 15px;
  }

  /* fix index video width*/
  #av_section_1 .container {
      padding: 10px 0px 0px 0px;
  }

/*navbar*/
    .responsive #header .sub_menu {
        height:40px;
        display: inline-block;
        white-space: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .sub_menu {
        top: 0px;
        left:0px;
    }

    .responsive #header_meta .sub_menu>ul {
        height: 45px;
        margin-left: 0px;
        padding-top: 8px;
    }

    #top .sub_menu > ul {
        height: 25px;
        font-weight: 100;
    }

    .sub_menu p {
        margin: 0px;
        font-size: 13px;
    }

    #avia2-menu li a {
        font-size: 13px;
        line-height: 25px;
        padding: 0px;
    }

    .sub_menu li,
    .av_secondary_left .sub_menu>ul>li:last-child {
         padding: 0 10px;
         height: 25px;
         border-style: solid !important;
         border-color: #ccc !important;
         border-left: 1px;
         vertical-align: top;
    }

    .av_secondary_left .sub_menu>ul>li:last-child {
        border-right: 1px;
        border-top:0px;
        border-bottom:0px;
    }

/******************************* Index *******************************/
    /* 4 select */
    .entry-content-wrapper > .av_one_fourth {
        width: 25% !important;
        height: 48px;
        margin: 0px;
        border-top: 1px;
        border-right: 1px;
        border-bottom: 1px;
        border-style: solid;
        border-color: #ccc;

        margin-bottom: 15px !important;
    }

    .entry-content-wrapper > .avia-builder-el-2 {
        width: 25% !important;
        height: 48px;
        margin: 0px;

        margin-bottom: 15px !important;
    }

    .entry-content-wrapper > .avia-builder-el-8 {
        width: 25% !important;
        height: 48px;
        margin: 0px;

        border-right:0px;

        margin-bottom: 15px !important;
    }

    .mobile_hide {
        display: none;
    }

/* 4 select*/
    .mobile_show {
        font-size: 14px !important;
    }

    .index_4select p {
        margin-top: 15px;
    }

    .index_4select a {
        color: #75787b !important;
    }

/******************************* Archive / Post *******************************/

/* category bar*/
    .responsive #header .main_menu ul,
    .main_menu,
    #header_main_alternate {
        display: block;
    }

    .responsive #header .main_menu ul > li{
        width: 25%;
        height: 100%;
    }

    .responsive #header .main_menu ul > li:nth-child(1),
    .responsive #header .main_menu ul > li:nth-child(2),
    .responsive #header .main_menu ul > li:nth-child(3){
        border-right:1px;
        border-style: solid;
        border-color: #ccc;
    }

    .main_menu {
        margin: 0px;
    }

    #avia-menu li .avia-menu-text {
        padding-right: 0px;
    }

    .av-main-nav > li > a {
        padding: 10px 6px 6px 0px;
        text-align: center;
    }

    #avia-menu li .avia-menu-text {
        border-right-width: 0px;
    }

    #header_main_alternate .container {
        border-bottom: 1px;
        border-color: #ccc;
        border-style: solid;
        padding: 0px;
    }

    /* category page select */
    .pagination {
        width: 33%;
        margin: auto;
    }

/* post contnt */
    /*.entry-content-wrapper > .entry-content-header {
        height: 60px;
    }*/

    .post-meta-infos {
        top:0px;
    }

    .post-meta-infos img {
        margin-left: 3px;
    }

/* Archive list */
    .big-preview.single-big {
        display: block;
    }

    .main_color .big-preview {
        background-color: inherit;
    }

    .post_delimiter {
        display: none;
    }

    .post-list-custom {
        padding:15px;
    }

    .post-cont-custom {
        border: 0px !important;
    }

/* mapbar */
    #post_map{
        text-align: center;
        font-size: 12px;
        padding-top: 20px;
        color: #82bc00;
    }

    .archive .category-term-description {
        margin:0px;
    }

    .content, .sidebar {
        padding-top:20px;
    }

/******************************* Unknow *******************************/
/* title post */
    #header_main > #index_title > strong > a {
        padding-top: 5px;
    }

    #header_main > #index_title > strong {
         width: 100%;
    }

    #header_main > #index_title > strong > a > img {
        height: 75px !important;
        margin: auto;
    }

    /* 6 post */
    .index_post_custo > div .post-entry
    {
        margin-bottom:40px;
        width:286px;
        border: 1px solid #ccc;
        border-radius: 0px;

        margin-bottom: 40px !important;
    }

    .main_color .avia-content-slider .slide-image {
         background-color: rgba(255,255,255,0.0);
    }

    .avia-content-slider .slide-image img {
         padding: 18px;
         background-color: rgba(255,255,255,0.0);
    }

    .avia-content-slider .slide-image {
        margin-bottom: 0px;
    }

    .slide-content {
        padding: 0px 18px 18px 18px;
    }

    .avia-content-slider .slide-entry-title {
        font-size: 15px;
    }

    .slide-meta > time {
        font-size: 12px;
    }

    .avia-content-slider .slide-meta {
        padding-top: 1px;
        padding-bottom: 2px;
    }

    .slide-content > .slide-entry-excerpt {
        font-size: 12px;
    }

    /* more */
    .main_color a,
    .main_color a:hover {
        color: #82bc00;
    }

    .slide-content > .slide-entry-excerpt > .read-more-link {
        font-size: 11px;
    }

/* footer */
    #footer {
        padding: 25px 0 30px 0;
        border-top: 1px solid #82bc00;
        background-color: #82bc00;
    }

    #footer > .container
    {
        background-color: #82bc00;
        /* padding-bottom: 65px; */
    }

    #footer .widget {
        margin-top: 10px;
    }

    #footer > .container > div:nth-child(1),
    #footer > .container > div:nth-child(3)
    {
        width: 45%  !important;
        padding-left: 2%;
        padding-right: 2%;
    }

    #footer > .container > div:nth-child(3){
        float: right;
    }

    #footer > .container > div:nth-child(2)
    {
        position: absolute;
        width: 100%;
        bottom: -40px;
        height: 60px;
        padding-left: 2%;
        padding-right: 2%;
        left: 0px;
    }

    /* ftl1 */
    #footer_left h1{
        margin-left: 0px;
        color: rgba(255,255,255,0.6);
        text-align: left;

        font-size: 17px;
        padding-bottom: 6px;
        width: 100%;
    }
    #ftli2,
    #ftli2 a {
        margin-left: 0px;
        color: #fff;
        text-align: left;
    }

    /*#ftli2 > a:link > li:after {
        display: none;
    }*/

    /* ftl2 */
    #text-12 {
        border-left: 0px;
        border-right: 0px;
        height: 60px;
    }

    #ftli3 {
        display: none;
        width: 0px;
        height: 0px;
    }

    #ftli3_1 img {
        width: 43px;
    }

    #ftli3_1
    {
        margin: auto auto;
        width: 333px;
    }

    #ftli3_1 > .snd {
        margin-left: 24px;
    }

    /* ftl3 */
    #footer_right h1{
        margin-left: 0px;
        color: rgba(255,255,255,0.6);
        text-align: left;

        font-size: 17px;
        padding-bottom: 6px;
        width: 100%;
    }
    #ftli1,
    #ftli1 a {
        margin-left: 0px;
        color: #fff;
        text-align: left;
    }

    #ftli1 > a:link > li {
        list-style-image: none;
        margin-left: 0px;
    }

    /* socket */
    #socket {
        background-color: #82bc00;
        border-color: #82bc00;
    }

    #socket .container {
        background-color: #82bc00;
    }

/**/
    #mob_menu > .mob_ele {
        border: 1px solid #000;
    }

/*archive navbar*/
    #mobile-advanced {
        overflow-x: hidden;
        overflow-y: scroll;
    }

/**/
    .index_post_custo > div .post-entry {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .container #advanced_menu_toggle {
        background-image: url(https://www.oright.inc/blog/w/wp-content/uploads/2017/02/icon_hamberger.png);
        background-size: 38px;
        background-repeat: no-repeat;
        right: 6px;
    }
    [data-av_icon]:before {
        content:none;
    }
    .show_mobile_menu [data-av_icon]:before{
        content: attr(data-av_icon);
    }
}



/* Column Classes
------------------------------------------------------------ */

@media only screen and (min-width: 768px) {
    .one-full{
        float: left;
        padding-left: 0px;

        line-height: 1.8em;
    }

    .one,
    .one-half,
    .one-part_3,
    .one-part_4,
    .one-part_5,
    .one-half_60,
    .one-half_40,
    .one-half_70,
    .one-half_30  {
        float: left;
    }


    .one img,
    .one-half img,
    .one-half_60 img,
    .one-half_40 img,
    .one-half_70 img,
    .one-half_30 img,
    .one-part_3 img,
    .one-part_4 img,
    .one-part_5 img{
        margin:0px;
        padding: 0px;
    }

    .one-full {
        margin-bottom: 4px;
    }

    .one-full,
    .one{
        width: 100%;
    }

    .one-half{
        width: 50%;
    }

    .one-half_60 {
        width: 60%;
    }

    .one-half_40 {
        width: 40%;
    }

    .one-half_70 {
        width: 70%;
    }

    .one-half_30 {
        width: 30%;
    }

    .one-part_3 {
        width: 33.33%;
    }

    .one-part_4 {
        width: 25%;
    }

    .one-part_5 {
        width: 20%;
    }


/*padding*/
    .one-full .one-half:nth-child(1),
    .one-full .one-half_70:nth-child(1),
    .one-full .one-half_30:nth-child(1),
    .one-full .one-half_40:nth-child(1),
    .one-full .one-half_60:nth-child(1) {
        padding-right: 0.75%;
        padding-left: 0px;
    }

    .one-full .one-half:nth-child(2),
    .one-full .one-half_30:nth-child(2),
    .one-full .one-half_70:nth-child(2),
    .one-full .one-half_40:nth-child(2),
    .one-full .one-half_60:nth-child(2) {
        padding-left: 0.75%;
        padding-right: 0px;
    }

    .one-full .one-part_3:nth-child(1),
    .one-full .one-part_4:nth-child(1),
    .one-full .one-part_5:nth-child(1) {
        padding-right: 1%;
        padding-left: 0px;
    }

    .one-full .one-part_3:nth-child(2),
    .one-full .one-part_4:nth-child(2),
    .one-full .one-part_4:nth-child(3),
    .one-full .one-part_5:nth-child(2),
    .one-full .one-part_5:nth-child(3),
    .one-full .one-part_5:nth-child(4) {
        padding-right: 0.5%;
        padding-left: 0.5%;
    }

    .one-full .one-part_3:nth-child(3),
    .one-full .one-part_4:nth-child(4),
    .one-full .one-part_5:nth-child(5) {
       padding-right: 0%;
       padding-left: 1%;
   }
}
