/* Enter Your Custom CSS Here */

/*image wrapping in wordpress posts*/
img.alignright {float:right; margin:1em 0 1em 1em}
img.alignleft {float:left; margin:1em 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

body { background-size: cover;  padding: 0 0.618em; }
#wrapper { background: #FFF; width: 99%; margin: 0 auto; }
#header { max-width: 78em !important; margin-bottom: 0 !important;}
#main.fullwidth { width: 96%; margin-left: -2%; }
.col-full { width: 94%; padding: 0 3%; }
#header #logo, #navigation {
text-align: center !important;
float: none !important;
}
#header {
  background-image: url(http://www.kunsangyeshe.com.au/wp-content/uploads/2016/06/Site-Clouds-Top-Red.jpg);
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 25px;
}
#content {
  padding-top: 20px;
}
article .riyad_title {
  display: none;
}
#wooslider_slideshow_slides-2 {
  width: 104%;
  margin-left: -2%;
}
.wooslider {
  border-left: none !important;
  border-right: none !important;
}
a.woo-sc-button {
  text-shadow: none !important;
  box-shadow: none !important;
}


.eventl img, .eventlt img{
    background-clip: padding-box;
    border-radius: 100%;
}
.event1 img, .eventlt img{
float:left;
padding:0 6px 0 0;
}
table.em-calendar td.eventful-pre a, table.em-calendar td.eventful-post a {
  color: #CCC !important;
}

.eventl {
padding-bottom:6px;
}

#header #logo {
    padding: 2em 1em;
border-top:0px !important;
}
#main h1 {
padding-bottom: 10px !important;
}
#main .post header h1, #main .page header h1, #main .type-page header h1, #main .type-feature header h1, #main .search-results .type-product header h1, .entry h1 {
    color: #282828;
}
#header {
border-top: none;
border-bottom: 3px solid #ffdf00;
margin: 0 auto 1em;
  width: 100% !important;
}

.home #main .widget {
    margin-bottom: 3em;
}
.home .widget h3 {
      margin: 0 0 3.631em;
    padding: 0 1em .53em;
    font-size: 1.146em;
    text-transform: uppercase;
    border-bottom: 5px solid #e5e5e5;
    display: inline-block;
}
.home #secondary .widget, .home #sidebar .widget {
  text-align: center;
}
.rpwe-title {
  border-bottom: none !important;
  width: 60%;
}
.wooslider {
    border: medium none;
    border-radius: 0;
    box-shadow: none;
}
.event-categories li{
list-style:none;
}
#text-16, #text-16 h3 {
  margin-bottom: 0px !important;
}

.colWrap, .noticeBoard {
  border: #E0F5FF 3px solid;
    background-color: #E0F5FF;
    border-radius: 8px 8px 8px 8px;
-moz-border-radius: 8px 8px 8px 8px;
-webkit-border-radius: 8px 8px 8px 8px;
  padding: 0.6em;
}
#paperclip {
  width: 100%;
  height: 16px;
  z-index: 100;
  padding-left: 5%;
  overflow: visible;
  position: relative;
}
 .dateTab {
     background-color: #3399cc;
    border-radius: 8px 8px 8px 8px;
-moz-border-radius: 8px 8px 8px 8px;
-webkit-border-radius: 8px 8px 8px 8px;
    border-color: #3399cc;
    padding: 6px;
  margin: 0 auto;
  width: 50%;
  min-width: 70px;
}
  .dayStyle, .monthStyle {
    color: #FFF;
    font-weight: bold;
    line-height: 50% !important;
  }
  
	.longStyle {
  color: #FFF;
  font-weight: normal;
  font-size: 80%;
  line-height: 50%;
}

ul, ol, dl, p, table, form, pre, hr {
    margin: 0 0 0.5em;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1em 0 0.2em;
}

#footer {
  margin: 0 auto !important; 
border-top-color: #3399cc;
}

#footer-widgets {
  padding: 2.818em 1em; 
}

.alignright, .entry .alignright, .entry p .alignright, p .alignright, img.alignright { float: right !important; margin-left: 5px; }

@media only screen and (min-width: 400px)
     {
  body { padding: 0 1.618em; }
#wrapper { max-width: 78em; }
   
  .widget_woothemes_features .feature{
 text-align: left;
 width: 45%;
}
  #em_widget-2 .blog-post, #em_widget-5 .blog-post {
  list-style: none;
  display: block;
float:left;
padding: 0!important;
width: 24%;
  margin: 0 0.5%;
  min-width: 160px;
}
.textwidget .eventwrap {
  float:left;
padding: 0!important;
width: 24%;
  margin: 0 0.5%;
}
  .colLeft {
    float: left;
    width: 48%;
  }
  .colRight {
    float: right;
    width: 48%;
  }
}
@media only screen and (min-width: 500px)
     {
  #header {
    padding-top: 65px;
  }
}
@media only screen and (min-width: 768px)
{
  .col-full { width: 96%; padding: 0 2%; }
  #main.fullwidth { width: 98%; margin-left: -1%; }
  
  #navigation ul.nav ul { margin-top: -10px !important; }
  
#navigation ul.nav > li > a {
padding: 0.8em 2.2em !important;
    border-top: none !important;
    color: #FFF;
}
  #navigation ul.nav > li > a:hover {
    border-top: none !important;
    background-color: #ffdf00;
    color: #000;
  }
#navigation {
background-color: #3399cc;
}
  #navigation ul.nav > li.current_page_item a, #navigation ul.nav > li.current_page_parent a, #navigation ul.nav > li.current-menu-ancestor a, #navigation ul.nav > li.current-cat a, #navigation ul.nav > li.li.current-menu-item a {
    background-color: #3EB5F0;
    color: #000;
  }
  #secondary {
    width: 60%;
  }
.dateBox {
  list-style-type: none;
  display: block;
  float: left;
  width: 46%;
  min-width: 150px;
  padding: 0 1.5% !important;
  min-height: 100px;
}
 .dateTab {
  float: left;
  display: block;
  width: 16%;
  min-width: 30px;
    margin-right: 5px;
}
  .nameTab {
    display: block;
    float: left;
    text-align: left;
    padding-left: 5px;
    width: 60%;
  }

#footer-widgets {
  padding: 2.818em 0; 
}


ul.products li.product, .woocommerce-columns-5 ul.products li.product { width: 40% !important; margin-right: 10%; }
  ul.products li.product img { width: 38% !important; float: left; margin-right: 10px; }
  ul.products li.product h3 { font-size: 1.4em !important; }
  
}
@media only screen and (min-width: 930px)
     {
  #header {
    padding-top: 100px;
  }
}