/**
* GENERAL 
----------------------------*/

*,
*::before,
*::after,
div {
  box-sizing: border-box;
}

i {
	display: inline-block;
}

#container:after, #header:after, #main:after, #main-fullwidth:after, #footer:after, .clearfix:after { 
    content:"\0020"; display:block; height:0; clear:both; visibility:hidden; overflow:hidden;
}

#container, #header, #main, #main-fullwidth, #footer, .clearfix { display:block; }

.clear {clear:both;}

/* Headings */

h1,h2,h3,h4,h5,h6 { 
    font-weight: normal;
    margin: 0px;
    line-height: 1em;
}




/* Paragraps */



/* Tables */

table { 
    margin-bottom: 20px;
    width:100%;
}

th { font-weight: bold; }
thead th { background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td { background: #e5ecf9; }
tfoot { font-style: italic; }
caption { background: #eee; }

/* Lists */

li ul, li ol { margin: 0; }

ul { list-style-type: disc; }
ol { list-style-type: decimal; }

dl { margin: 0 0 20px 0; }
dl dt { font-weight: bold; }
dd { margin-left: 20px;}


/* Misc */

blockquote  { 	
    margin: 20px;
    color: #666;
    font-style: italic;
}

pre { 
    margin: 20px 0;
    white-space: pre;
}

pre,code,tt { 
    font: 13px 'andale mono', 'lucida console', monospace;
    line-height: 18px;
}

.collapse {
	display: none;
}

.collapse.in {
	display: block;
}

/******************MENUS**************/

.menus, .menus * {
    margin:	0;
    padding: 0;
    list-style:	none;
    list-style-type: none;
    line-height: 1.0;
}

.menus ul,
.menu ul{
    position: absolute;
    top: -999em;
    width: 100%;
}

.menus ul li,
.menu ul li {
    width: 100%;
}

.menus li:hover,
.menu li:hover {
    visibility:	inherit;
}

.menus li,
.menu li {
    float: right;
    position: relative;
}

.menus a,
.menu a {
    display: block;
    position: relative;
}

.menus li:hover ul,
.menu li:hover ul {
    right: 0;
    top: 100%; /* match top ul list item height */
    z-index: 99;
}

.menus li:hover li ul,
.menus li.sfHover li ul {
    top: -999em;
}

.menus li li:hover ul,
.menus li li.sfHover ul {
    right: 100%; /* match ul width */
    top: 0;
}

.menus li li:hover li ul,
.menus li li.sfHover li ul {
    top: -999em;
}

.menus li li li:hover ul,
.menus li li li.sfHover ul {
    right: 100%; /* match ul width */
    top: 0;
}




/**
* Some Default and WP required styles.
-------------------------------------------------------------- */

blockquote {
    overflow: hidden;
    padding-left: 9px;
    font-style: italic;
    color: #666;
    border-left: 3px solid #CADAE7;
}

img.wp-smiley {
    max-height: 12px;
    margin: 0;
    padding: 0;
    border: none;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
	text-align:center;
}

.wp-caption {
    
}

.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
}

.wp-caption .wp-caption-text {
   	background: #f2f2f2;
    border:  none;
	padding:10px;
    border-radius:0 0 6px 6px;
	font-size:16px;
	font-weight: bold;
	color:#000;
}

.gallery-caption {
}

.sticky {
}

/**
* Add padding to images in the posts
----------------------------*/

.post img.alignleft {
    margin: 0 10px 10px 0;
}

.post img.alignright {
    margin: 0 0 10px 10px;
}

.post img.aligncenter {
    margin-bottom: 10px;
}


.error {
	text-align: center;
	color: #fff;
    font-weight: bold;
	background: Red;
	padding: 8px;
    font-size: 12px;
	margin: 0 0 10px 0;
}

/***********WP GALLERY WITH FLEX**************/
.entry .gallery {
	display: flex;
  	flex-wrap: wrap;
	justify-content: space-evenly;
	width:100%;
	margin:20px 0;
}

.gallery-columns-2 .gallery-item {
	width:49%;
}

.gallery-columns-3 .gallery-item {
	width:32%;
}
.gallery-columns-4 .gallery-item {
	width:24%;
}

.gallery-columns-5 .gallery-item {
	width:19%;
}
.gallery-columns-6 .gallery-item {
	width:14%;
}

.gallery-icon img {
	width:100%;
	display: block;
}

.gallery-item .wp-caption-text {
   	background: #f2f2f2;
    border:  none;
	padding:7px;
    border-radius:0 0 6px 6px;
	font-size:15px;
	color:#000;
}

figure {
	margin:0;
}