./*
Theme Name: Tai Chi International Arts
Description: Tai Chi International Arts theme
Version: 1.0
Author: Andy/Ben
*/

/* General styles                                   */
/* ------------------------------------------------ */

td {
    vertical-align: top;
}

a {
    color: #1a6eb7;
    text-decoration: underline;
    outline: none;
}

a:hover {
    color: #ff9900;
}

ul {
    margin: 8px 0 18px 18px;
    padding: 0;
}

li {
    padding-left: 4px;
    line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
    line-height: 120%;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: #006032;
}

h1 {
    font-size: 2.8em;
    margin-top: 0;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.2em;
}

hr {
    height: 1px;
    border: 0;
    width: 100%;
    background: #81aad2;
    color: #81aad3;
    margin: 30px 0;
}



/* Content                                          */
/* ------------------------------------------------ */
.content {
    padding: 40px 0 100px 0;
    overflow: hidden;
    font-size: 1.1em;
    min-height: 200px;
}

.content, .content p, .content li {
    line-height: 160%;
}

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

.content-main {
    width: 70%;
    margin-bottom: 30px;
    float: right;
}

.sidebar-content {
    width: 25%;
    margin-right: 5%;
    float: left;
    font-size: 0.9em;
}

.sidebar-content .contentpanel {
    width: 100%;
    float: none;
    margin: 0;
    margin-bottom: 10px;
}

.sidebar-content .contentpanel a {
    padding: 12px 20px;
    background-image: url(images/arrow-right2.png);
    background-position: right 50%;
}

.sidebar-content .contentpanel h3 {
    font-size: 27px;
    margin: 0 30px 0 0;
    /*margin-bottom: 15px;*/
}

/* Homepage                                         */
/* ------------------------------------------------ */
.homepagestrip {
    padding: 160px 0;
    text-align: center;
}

.homepagestrip h2, .homepagestrip p {
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    margin: 10px 0;
}

.homepagestrip h2 {
    font-size: 44px;
}

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


#homepagenews {
    /*background: #7f64b8;*/
    background: linear-gradient(180deg, rgba(63,63,63,1) 0%, rgba(27,27,27,1) 100%);
    /*background: linear-gradient(180deg, rgba(27,191,154,1) 0%, rgba(0,96,50,1) 100%);*/
    text-align: center;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

#homepagenews .flexslider, #homepagenews .flex-viewport, #homepagenews ul.slides, ul.slides li {
    height: auto;
}

#homepagenews .contentpanel {
    width: 88%;
    margin: 0 6%;
    text-align: left;
}

#homepagenews .newsimagelink {
    padding: 0;
    background: none;
}

#homepagenews .contentpanel img:hover {
    opacity: 0.5;
}

#homepagenews h3 {
    font-size: 28px;
    margin: 20px 0;
}

#homepagenews .contentpanel > a {
    margin: 0;
}

#homepagenews a.readmore {
    background: #006032;
    margin-top: 40px;
}

#homepagenews a.readmore:hover {
    background: #1bbf9a;
}

#homepagenews h2, #homepageevents h1 {
    font-size: 44px;
    color: #fff;
    margin: 0;
    padding-top: 50px;
}

#homepagenews .flexnews {
    padding: 50px 0 80px 0;
}

.newsitemtext {
    margin-top: -20px;
    color: #fff;
    line-height: 140%;
}

.newsitemtext a {
    color: #fff;
    display: inline;
    text-decoration: underline;
}

.newsitemtext a:hover {
    color: #333;
    background: transparent;
}

.newsitemdate {
    color: #fff;
    font-size: 14px;
}



#homepageevents {
    text-align: center;
    margin-bottom: 50px;
}

#homepageevents h1 {
    color: #333;
    margin-bottom: 30px;
}


a.readmore, input[type="submit"] {
    background: #006032;
    color: #fff !important;
    padding: 18px 28px;
    text-decoration: none;
    display: inline-block;
    margin: 20px 0;
    font-size: 18px;
    letter-spacing: 0.03em;
    font-weight: 700;
    text-shadow: none;
    line-height: 100%;
    border: 0;
    cursor: pointer;
}

a.readmore:hover, input[type="submit"]:hover {
    background: #006032;
    color: #fff !important;
}


a.readmore, .homepagebox-image img, input[type="submit"], .contentpanel a, #homepagenews .contentpanel img {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.columns-container {
    margin: 0 -2%;
}

.column-half {
    width: 46%;
    margin: 0 2% 40px 2%;
    float: left;
}

.column-twothirds {
    width: 64.333%;
    margin: 0 1%;
    float: left;
}

.column-third {
    width: 31.333%;
    margin: 0 1%;
    float: left;
}

.clearfix {
    clear: both;
}

/* tablepress                                       */
/* ------------------------------------------------ */
.tablepress th {
    background-color: #d7f0dd;
}


/* Footer                                           */
/* ------------------------------------------------ */
#footerlogos {
    background: #f3f4f3;
    padding: 60px 25px;
    text-align: center;
    overflow: hidden;
}

#footerlogos img {
    margin: 10px 30px;
    mix-blend-mode: darken;
    display: inline-block;
}

img.footerlogo {
    padding: 0 20px;
}

#footer {
    font-size: 0.9em;
    padding: 60px 0 0 0;
    /*min-height: 500px;*/
    background: #fff;  /* #27c0e9 url(images/footer-bg.gif) right top no-repeat; */
}

#footer a, #footer, #footer p, #footer li {
    color: #006032;
}

#footer li a {
    text-decoration: none;
}

#footer li a:hover {
    text-decoration: underline;
}

#footer-logo {
    margin: 0 0 10px -20px;
    width: 200px;
    height: auto;

}

#copyright {
    padding: 70px 0 30px 0;
    clear: both;
    font-size: 0.9em;
    text-align: center;
    margin-top: 50px;
}

#copyright, #copyright a {
    color: #016033;
}

#copyright {
    opacity: 0.5;
}

a.scrollup {
    width: 53px;
    height: 53px;
    position: fixed;
    bottom: 90px;
    right: 17px;
    display: none;
    text-indent: -9999px;
    background: url('images/top.png') no-repeat;
    opacity: 0.7;
}

/* Responsive elements                              */
/* ------------------------------------------------ */

@media screen and (max-width: 1280px) {
    .wrapper {
        width: auto;
    }

    #footer-logo {
        margin: 0 0 10px -10px;
    }
}

@media screen and (max-width: 970px) {
    .sidebar-content, .content-main {
        width: 100%;
        float: none;
        margin: 0;
    }

    .sidebar-content {
        margin-top: 50px;
        padding-top: 50px;
    }
}

@media screen and (max-width: 800px) {
    #footerlogos img {
        margin: 0px;
        -webkit-transform: scale(0.7);
        -moz-transform: scale(0.7);
        -ms-transform: scale(0.7);
        -o-transform: scale(0.7);
        transform: scale(0.7);
    }
}


@media screen and (max-width: 600px) {
    .wrapper {
        padding: 0 10px;
    }

    .columns-container {
        margin: 0;
    }

    .column-half, .column-twothirds, .column-third, .accommodationpanel {
        width: auto;
        float: none;
        margin: 0 0 30px 0;
    }
}







/* WP Common Styles */
ol.commentlist {
    margin:0;
    padding:0;
    }

.commentlist li {
    list-style:none;
    margin-bottom:14px;
    }

.commentlist cite {
    padding: 7px;
    display:block;
    font-style:normal;
    border-top:1px solid #d6e4c1;
    border-bottom:1px solid #779d42;
    color:#596e3b;
    }

.commentlist a:link, .commentlist a:visited {
    color:#596e3b;
    }

.commentlist a:hover, .commentlist a:active {
    color:#8ec343;
    }

.commentlist cite img {
    padding:1px;
    border:1px solid #aab59a;
    float:left;
    margin-right:9px;
    }

.commentlist .author {
    font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
    text-decoration:underline;
    }

.commentlist .time {
    padding-left:13px;
    }

.commenttext {
    border-top:1px solid #c5f386;
    padding: 0 20px 10px 20px;
    color:#fafcf6;
    }

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

.wp-caption {
    width: 100% !important;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
    padding-bottom: 5px;
}

.alignleft, .alignright {
    margin-bottom: 20px;
}

.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignleft {
    float: left;
}
.alignright {
    float: right;
}


@media screen and (max-width: 600px) {
    img.alignleft, img.alignright {
        float: none;
        display: block;
        margin: 20px auto;
    }
}