/*
 Theme Name:   ALINK Twenty Eleven
 Theme URI:    http://alinkpartners.com
 Description:  Twenty Eleven Child Theme for Alink
 Author:       Jon Phillips
 Author URI:   http://fabricatorz.com
 Template:     twentyeleven
 Version:      1.0.0
 License:      CC Zero
 License URI:  https://creativecommons.org/publicdomain/zero/1.0/
 Tags:         light, one-column, no-sidebar, responsive-layout, accessibility-ready
 Text Domain:  alink-twenty-eleven
*/

html {
    margin-top: 0 !important;
}

body {
    padding: 0;
}

#page {
    margin: 0;
}

#main {
    padding: 0;
}


.one-column #page { max-width: 100%; }
#text-3 { text-align: right;}

#site-description,
#searchform { display: none; }



html .one-column #page { max-width: 100%; }
#text-3 { text-align: right;}
.page-title,
.page .entry-title { display: none; }

.singular.page .hentry {
    padding: 2em 0 0;
}

#page #branding {
    border: none;
}
#page #branding hgroup {
    margin: 0;
    padding: 0;
    display: inline-block;
    float: left;
}
#page #branding #site-title { 
    padding: 0;
    margin: 0;
    width: 120px;
    position: absolute;
    left: 45%;
    top: 18%;
    z-index: 1;
}


#branding #cycler img {
    position: absolute;
    left: 0;
}
#branding #cycler img#site-logo-top {
    z-index: 3;
}
#branding #cycler img#site-logo-middle {
    z-index: 2;
}
#branding #cycler img#site-logo-bottom {
    z-index: 1;
}

#branding .img-home {
    display:none; 
}

#branding #cycler img#site-logo-top:hover {
    /*
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -o-opacity: 0;
    opacity: 0;
    */
}

#branding #site-title {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;

}

#branding #site-title:hover {
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    -o-transform:scale(1.1);
     transform:scale(1.1);
}

/** #branding #access ul { margin: 0px 0 -2px -0.8125em; } */
#branding #access a { line-height: 2.3em; padding: 0 0.8em } 
#branding #access ul ul { top: 2.3em; }


#branding #access {
    background: #c92127,;
    background: -moz-linear-gradient(#c92127, #9e1b1f);
    background: -o-linear-gradient(#c92127, #9e1b1f);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a));
    background: -webkit-linear-gradient(#c92127, #9e1b1f);

}

.sidebar-menu {
    height: 10px;
    float: right;
}

.sidebar-menu ul li {
    width: 120px;
}
#branding #access .sidebar-menu .lang-item-en {
    width: 120px;
}
#branding #access .sidebar-menu .lang-item-zh {
    width: 100px;
}

#branding .sidebar-menu ul li img {
    max-width: 23px;
    display: inline-block;
    padding: 0.5em 0.8em;
    vertical-align: middle;
}
#branding #access .sidebar-menu a { font-weight: normal; } 
#branding #access .sidebar-menu .current-lang a { font-weight: bold; } 

article .entry-content {
    padding-top: 0;
}

.entry-content .wp-caption {
    background-color: white;
}

.entry-content .wp-caption .wp-caption-text:before {
    content: '';
    display: none;
}

.entry-content .wp-caption .wp-caption-text {
    padding: 10px 0 5px 6px;
    text-align: center;
    font-family: inherit;
    color: #444;
    font-size: 12pt;
    font-weight: bold;
}

article .meta-img {
    float: left;
    padding: 0 20px 0 0;
}

.entry-thumbnail .attachment-post-thumbnail {
    width: 480px;
}

.entry-thumbnail .dateonimg {
    position: absolute;
    color: white;
    padding: 0 0 40px 20px;
    bottom: 0;
    font-size: 12pt;
}


    /*==========  Mobile First Method  ==========*/

    @media only screen {
        html {
            margin-top: 0 !important;
        }
        body {
            padding: 0;
        }
        #page {
            margin: 0;
        }


    }

    /* Custom, iPhone Retina */
    @media only screen and (min-width : 320px) {
        #polylang-6  {
            display: inline-block;
        }
        .sidebar-menu {
            display: none;
        }

    #page #branding #site-title {
        top: 5%;
        width: 80px;
    }
#branding #site-title {
    -webkit-transform:scale(0.6);
    -moz-transform:scale(0.6);
    -ms-transform:scale(0.6);
    -o-transform:scale(0.6);
     transform:scale(0.6);
}

#branding #site-title:hover {
    -webkit-transform:scale(0.7);
    -moz-transform:scale(0.7);
    -ms-transform:scale(0.7);
    -o-transform:scale(0.7);
     transform:scale(0.7);
}
    .entry-thumbnail .attachment-post-thumbnail  {
        width: 100%;
        clear: both;
    }
    article .entry-content {
        clear: both;
    }

    }

    /* Extra Small Devices, Phones */
    @media only screen and (min-width : 480px) {

    article .entry-content {
        clear: both;
    }

    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {
        #page #branding #site-title {
            top: 8%;
            width: 120px;
        }

        #branding #site-title {
            -webkit-transform:scale(1.0);
            -moz-transform:scale(1.0);
            -ms-transform:scale(1.0);
            -o-transform:scale(1.0);
             transform:scale(1.0);
        }

        #branding #site-title:hover {
            -webkit-transform:scale(1.1);
            -moz-transform:scale(1.1);
            -ms-transform:scale(1.1);
            -o-transform:scale(1.1);
             transform:scale(1.1);
        }

    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {
    .entry-thumbnail .attachment-post-thumbnail  {
        width: 480px;
    }
    article .entry-content {
        clear: none;
    }
        #polylang-6  {
            display: none;
        }
        .sidebar-menu {
            display: inline-block;
        }

    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {

    }





