/**
 * Main Stylesheet
 */

/*
================================
            GLOBALS
================================
*/

html,
body {
    margin: 0;
    padding: 0;
    min-width: 1024px;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.35em;
}

.row {
    position: relative;
    width: 100%;
    margin: auto;
    max-width: 995px;
}

/**
 * Temporary Override for Whatever is Creating forms with vis:hid; that break the layout
 * ----------------------------------------------------------------------------
 */

body > form[style="visibility: hidden; position: absolute;"] {
  display: none;
}


/**
 * 5.0 Alignment
 * ----------------------------------------------------------------------------
 */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    clear: both;
    display: block;
}

/*
================================
            RESETS
================================
*/

body [class^="flaticon-"]:before,
body [class*=" flaticon-"]:before,
body [class^="flaticon-"]:after,
body [class*=" flaticon-"]:after {
    margin: 1px 0 0 1px;
    vertical-align: sub;
}



.entry {
    position: relative;
}
/* ==[ fix weird blogger padding ]== */

.entry > .postImageArea > a {
    width: 100%;
    margin: 0 !important;
}

.entry img {
    max-width: 100%;
    height: auto;
    margin: 1em auto 0;
}

/* post images */

.entry a {
    position: relative;
    height: auto;
    border: 0 none;
    text-decoration: none;
}


/*
================================
            STRUCTURE
================================
*/

#wrap {
    margin-top: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-top: 1px solid #C3C3C3;
    border-right: 1px solid #C3C3C3;
    border-left: 1px solid #C3C3C3;
}

#wrap > main , #wrap > aside {
    display: inline-block;
    margin-bottom: 100px;
    text-align: center;
    vertical-align: top;
}

#wrap > main {
    width: 620px;
    padding: 20px 0 0 20px;
}

#wrap > aside {
    width: 305px;
    overflow: visible;
    padding: 0 0 0 23px;
}

/*
================================
             HEADER
================================
*/

header.row {
    margin-top: 70px;
    text-align: right;
    letter-spacing: 2px;
    color: #aaaaaa;
}

header.row ul {
    margin: 0;
    padding: 0;
    list-style: none outside none;
}

header.row ul li {
    display: inline-block;
    position: relative;
    margin: 0;
}

/* ==[ ui bar in header ]== */

.topUiWrap {
    display: block;
    position: absolute;
    top: 195px;
    z-index: 2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    border: 0 1px 0 0 none solid solid none #ccc;
}

.header-nav,
.header-search {
    display: inline-block;
    position: relative;
    height: 50px;
    border-left: 1px solid #CCCCCC;
    vertical-align: top;
}

.header-nav {
    float: left;
}

.header-nav > ul > li {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 50px;
    text-align: center;
}

.header-nav .current-menu-item {
    border-bottom: 3px solid;
}

.header-nav > ul > li > a > div:before {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 28px;
    margin: auto;
}

body .header-nav > ul > li:hover > a > div:before {
    display: block;
}

.header-nav > ul > li.current-menu-item > a > div:before {
    display: block;
}

.header-nav > ul > li > a {
    display: inline-block;
    height: 100%;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    line-height: 50px;
}

.header-logo {
    display: block;
    position: relative;
    width: 100%;
    height: 195px;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.header-logo > a {
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid #ccc;
    text-align: center;
    text-decoration: none;
}

.header-logo > a > img {
    position: relative;
    top: 50%;
    max-height: 100%;
    max-width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.headerTextWrap:before {
    content: " ";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.headerTextWrap > h1 {
    margin: 0;
    font-size: 60px;
}

.headerTextWrap > h2 {
    margin: 0;
    font-size: 31px;
}

/*
================================
           RIGHT RAIL
================================
*/

#wrap > aside h5 {
    margin: 50px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid;
    text-align: left;
}

#wrap > aside .widget:nth-of-type(2) > h5 {
    margin-top: 0;
}

#wrap > aside h5 span:nth-child(1) {
}

#wrap > aside h5 span:nth-child(2) {
    padding-left: 3px;
}

/*
================================
              POST
================================
*/

.post {
    text-align: left;
    font-size: 13px;
    margin-bottom: 60px;
}

.postHead .phTop {
    display: table;
    width: 100%;
    margin-bottom: -1px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.phTop h3 {
  font-size: 20px;
  margin: 0;
  text-decoration: none;
  width: 80%;
}

.phTop > span {
  bottom: 0;
  font-size: 13px;
  height: 2.2em;
  letter-spacing: 2px;
  margin: auto;
  min-width: 110px;
  padding-top: 0.5em;
  position: absolute;
  right: 0;
  text-align: right;
  top: 0;
  vertical-align: bottom;
}

.postHead .phBottom {
    display: table;
    width: 100%;
    margin-bottom: 12px;
}

.phBottom {
    display: inline-block;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.phBottom span {
    display: inline-block;
}

.phBottom span a {
  border: 1px solid #ccc;
  color: #000;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 0;
  padding: 10px 2px 10px 17px;
  text-decoration: none;
  text-transform: uppercase;
}

#author-info {
  text-transform: lowercase;
  font-size: 10px;
  font-style: italic;
  float: left;
}

#author-info a {
  font-size: 14px;
  color: rgb(0,0,0);
  pointer-events: none;
  text-transform: uppercase;
  font-style: normal;
}
/* content template */

.content {
    margin: 25px 0 0 0;
}

.content .entry {
    display: block;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.content .entry span {
    vertical-align: top;
}

.content .entry .thumbnail {
    width: 100px;
    padding-right: 10px;
}

.content .entry .excerpt {
    width: auto;
}


/* ==[ image spacing in posts ]== */

.entry a[id^="slide"] {
    display: block;
    width: 100%;
}

.entry a[id^="slide"] > img {
    width: 100%;
}

body.category .post .entry img,
body.search .post .entry img {
    width: 100%;
}

/* ==[ post head on single ]== */

body.single .phBottom {
    text-align: right;
}

body.single .phTop > h3 > span {
    display: inline-block;
    float: right;
}

body.single .phBottom > span {
    display: block;
    padding-top: 1em;
    font-size: 12px;
    letter-spacing: 1px;
}

.post .excerpt {
    display: block;
    text-decoration: none;
}

/*
================================
              TAGS
================================
*/

.tagHead {
    display: table;
    width: 100%;
    margin: 20px 0 10px;
    border-bottom: 1px solid #ccc;
    text-align: right;
    font-size: 13px;
}

.tagHead > span {
    display: inline;
    padding-left: 100px;
    border-bottom: 1px solid #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tagHead span a {
    text-decoration: none;
    color: #999;
}

.tagList {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.tagList a {
    padding: 0 2px;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 14px;
    color: #999;
}

.tagList a:hover {
    text-decoration: underline;
    color: #FFC50E;
}

main .tagList {
    border-bottom: 0;
    text-align: left;
}

main .tagList a {
    display: inline-block;
    margin: 1em 1.5em 0 0;
}

#tagsArea .tagList a {
    margin: 0;
}

/*
================================
            COMMENTS
================================
*/

#comments {
    padding-top: 1em;
    border-bottom: 1px solid #ccc;
    font-size: 12px;
    font-weight: 100;
    line-height: 40px;
    letter-spacing: 1px;
    vertical-align: bottom;
}

#comments > i {
    margin-right: 5px;
    margin-left: 0;
    line-height: 20px;
    vertical-align: middle;
}

#comments > span {
    line-height: 20px;
}

#comments > div {
    display: inline-block;
    float: right;
    padding: 0 1em;
    border: 1px solid solid none #ccc;
    text-align: center;
    text-transform: uppercase;
    line-height: 39px;
    color: #fff;
    background-color: #f1d9c1;
    -webkit-border-image: none;
    border-image: none;
}

#commentsArea ol,
#commentsArea ul {
    margin: 0;
    padding: 0;
    list-style: none outside none;
}

#commentsArea li {
    margin: 20px 0;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}

#commentsArea > div > ol > *:last-child {
    border-bottom: medium none;
}

#commentsArea > div > ol > * > div {
    display: table;
    vertical-align: top;
}

#commentsArea > div > ol > li > div,
#commentsArea > div > ol > ul > li > div {
    display: table;
    min-width: 100%;
    vertical-align: top;
}

/* Indentation for Nested Comments */

#commentsArea .children > li > div {
    width: 90%;
    padding-left: 10%;
    min-width: 0;
}

#commentsArea .children .children > li > div {
    width: 80%;
    padding-left: 20%;
    min-width: 0;
}

#commentsArea .children .children .children > li > div {
    width: 70%;
    padding-left: 30%;
    min-width: 0;
}

#commentsArea .commentArea {
    display: inline-block;
    width: 87%;
    margin-left: 2%;
    vertical-align: top;
}

#commentsArea img {
    width: 10%;
    height: auto;
}

#commentsArea > div > ol > li > div > div,
#commentsArea > div > ol > ul > li > div > div {
    width: 87%;
    margin-left: 2%;
}

.commentUser {
    text-decoration: none;
    color: #444;
}

.commentDate {
    float: right;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ccc;
}

#comment {
    max-width: 100%;
}

#respond {
    display: none;
}

/*
================================
          POST GALLERY
================================
*/

.gallery-item {
    position: relative;
    margin: 0;
}

.attachment-thumbnail {
    width: 100%;
    height: auto;
}

.attachment-wide {
    width: 100%;
    height: auto;
}

.photosVia {
    margin-top: -5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    text-align: right;
    font-size: 12px;
}

.photosVia > span {
    padding-left: 3px;
}

/*
================================
             FOOTER
================================
*/

#footer {
    z-index: 5;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 995px;
    height: 100px;
    margin: auto;
    background-color: #000000;
    text-align: center;
}

#footer nav {
    margin: 0 auto;
    padding: 30px 0 15px;
    text-align: center;
    width: 900px;
}

#footer ul {
    margin: 0;
    padding: 0;
}

#footer li {
    display: inline;
    margin-right: 1px;
    margin-left: 1px;
}

#footer li a,
#footer div {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75em;
    color: #fff;
}

#footer li:after {
    content: " | ";
    vertical-align: middle;
}

#footer li:last-of-type:after {
    content: "";
}

#footer .copyright {
    color: #777;
    font-size: 0.6em;
}

/*
================================
             SEARCH
================================
*/

#searchform {
    z-index: 4;
    position: absolute;
    top: 0;
    right: 0;
    width: 299px;
    height: 50px;
    border-right: 1px solid #ccc;
    overflow: hidden;
    pointer-events: none;
}

.search-input {
    z-index: -1;
    right: 50px;
    position: absolute;
    border: 0 0 0 1px none none none solid -moz-use-text-color -moz-use-text-color -moz-use-text-color #ccc;
    opacity: 0;
    -webkit-border-image: none;
    border-image: none;
}

#s {
    right: 50px;
    width: 240px;
    height: 50px;
    padding: 0 0 0 10px;
    border: 0 none;
    background: -webkit-linear-gradient(left,#eee 0,#fff 50%,#eee 100%) repeat scroll 0 0 rgba(0,0,0,0);
    background: -webkit-gradient(linear,left top,right top,color-stop(0,#eee), color-stop(50%,#fff), to(#eee) )repeat scroll 0 0 rgba(0,0,0,0);
    background: linear-gradient(to right,#eee 0,#fff 50%,#eee 100%) repeat scroll 0 0 rgba(0,0,0,0);
}

.search-button {
    z-index: 3;
    z-index: 10;
    position: absolute;
    right: 0;
    width: 50px;
    height: 50px;
    border-left: 1px solid #CCC;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    line-height: 20px;
    color: #ccc;
    pointer-events: auto;
}

.search-button:hover {
    color: black;
}

.search-button > i {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 19px;
    margin: auto;
}

.resetform {
    position: absolute;
    top: 0;
    right: 10px;
    line-height: 50px;
    color: red;
}

.search-button,
.resetform {
    cursor: pointer;
}

.searchHeader {
  margin-bottom: 40px;
}

.searchHeader > h2 {
    margin: 0 auto 40px;
    text-align: left;
    font-weight: 100;
}

.searchHeader .searchQuery,
.searchHeader .searchResults {
}

body.search .post {
    margin-top: 4em;
}

/*
================================
           PAGINATION
================================
*/

#pagination {
    /*display: none;*/
    padding: 2em 0;
    /*color: #aaa;*/
}

#pagination a {
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    color: black;
    font-weight: 100;
}

#pagination > span,
.page-numbers li {
    display: inline-block;
    padding: 1px 7px 4px;
    /*border: 1px solid #ddd;*/
    list-style: none outside none;
}

#pagination > span:first-of-type {
    float: left;
}

#pagination ul {
    display: inline-block;
    margin: 0 40px;
    padding: 0;
}

#pagination > span:last-of-type {
    float: right;
}


/*
================================
        SCROLL FOR MORE
================================
*/

#scrollformore {
    margin: 5em 0;
}

#scrollformore > span {
    padding: 0 2em;
}

#scrollformore > div {
    margin-top: -10px;
    display: block;
    border-top: 3px double #aaa;
}

#loadmoreposts {
    padding: 2em 0;
    color: #aaa;
    cursor: pointer;
}

#loadmoreposts > div {
    margin-top: 1em;
    border-top: 1px solid #ccc;
    text-align: center;
}

#loadmoreposts > div > span {
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 30px;
    border-top: 0;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #555;
}

#loadmoreposts > div > span > i {
    margin-right: -0.65em;
}



/*
================================
            WIDGETS
================================
*/

.postWidgetStore > img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-top: 40px;
    border: 1px solid #ccc;
}

.widget_archive ul {
    padding-left: 1em;
    list-style: none outside none;
}

.widget_archive ul li a {
    display: block;
    margin: 0.5em 0;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
}

/*
================================
            AD AREAS
================================
*/

#wrap > aside .ad {
    margin-bottom: 25px;
}

.topAdArea {
    text-align: center;
    padding: 20px 0;
}

#wrap > aside .newsletter {
    padding: 20px 0 0;
}

/* just for hab chi */

#page_shop #wrap .entry iframe {
    width: 100%;
    min-height: 700px;
}

#page_press .entry > p {
    text-align: center;
}

#page_press .entry > p > a {
    margin: 0 10px -10px;
}

/* quick override */

div[id*="cmbn_wm"] .cmbn_is_half {
    display: inline-block;
    width: 45%;
    padding: 2.25%;
}

div[id*="cmbn_wm"] .cmbn_is_full {
    display: block;
    width: auto;
    margin: 24px 0;
    max-width: 100%;
}

#cmbn_wm-11 > a {
    display: block;
    border-bottom: 1px solid #ddd;
}

#infscr-loading {
    margin: 5em 0;
}

#wrap > aside div:first-of-type h5 {
    margin-top: 10px;
}

.ad > div > .GoogleActiveViewClass > a > img {
    margin: 20px 0 0;
}

body.single .phTop h3 {
  width: 65%;
}

body.single .phTop > h3 > span {
  display: inline-block;
  position: absolute;
  right: 0;
  text-align: right;
  width: 35%;
}




.phBottom {
  display: block;
  margin-bottom: 40px;
  padding: 0;
  text-align: center;
  width: 100%;
}

.phBottom p {
    text-align: left;
}


.phBottom > a {
    color: black;
    font-size: 0.75em;
    letter-spacing: 1px;
}

.phBottom span a {
  border: 1px solid #ccc;
  color: #000;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 10px 0 0;
  padding: 10px 2px 10px 17px;
  text-decoration: none;
  text-transform: uppercase;
}

.phTop h3 a, .phBottom a {
    text-decoration: none;
}

.phBottom span i:before {
    font-size: 12px;
    font-weight: 100;
    vertical-align: middle;
}



/* Newly added for sizing wp header nav */


.navSize-1 li {
    /* width: 100%; */
}
.navSize-2 li {
    /* width: 50%; */
}
.navSize-3 li {
    /* width: 33%; */
}
.navSize-4 li {
    /* width: 25%; */
}
.navSize-5 li {
    /* width: 20%; */
}
.navSize-6 li {
    /* width: 16.6%; */
}

.topUiWrap > div {
  display: inline-block;
  float: left;
}

#menu-menuheader {
    display: table;
    width: 100%;
}

#menu-menuheader > li {
    display: table-cell;
}

#menu-menuheader > li > .sub-menu {
    display: none;
    position: absolute;
    top: 50px;
    width: 300px;
    background: #fff;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #C3C3C3;
}
#menu-menuheader > li:hover > .sub-menu {
    display: block;
}
#menu-menuheader > li > .sub-menu li {
    display: table;
    width: 100%;
    height: 50px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#menu-menuheader > li > .sub-menu a {
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    padding: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}
#menu-menuheader > li > .sub-menu .flaticon-caret6 {
    display: none;
}

.header-nav {
    width: 100%;
}
