/*
Theme Name: Foolproof Responsive
Description: Foolproof Responsive
Version: 1.0
Author: Andy
*/

body {
    margin: 25px;
    background: #ffffff url(images/bg.gif) left top repeat-x;
}

p, body, li, ul, dd, td {
    font: 1.05em georgia, times, "times new roman", serif;
    color: #535625;
    line-height: 150%;
}

img a, a img {
    border: 0;
}

a {
    font: 18px georgia, times, "times new roman", serif;
    color: #2c7dce;
    text-decoration: underline;
}

a:hover {
    color: #ff9900;
    text-decoration:underline;
}

h1, h1 a, h2, h2 a, h3, h3 a {
    color: #9ec418;
    line-height: 120%;
    font-weight: normal;
}

h1, h1 a {
    font-size: 2.6em;
    margin-top: 0;
}

h2, h2 a {
    font-size: 2.0em;
}

h3, h3 a {
    font-size: 1.8em;
}

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

#wrapper {
    width: 900px;
    margin: 0 auto;
}

#header {
    height: 110px;
    padding-top: 20px;
    background: #aacb34;
    border-radius: 15px 15px 0 0;
    display: block;
    text-align: center;

}

#header a {
    color: #fff;
    text-decoration: none;
    font-size: 70px;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.2);

}

#content {
    padding: 55px;
    overflow: auto;
    height: 100%;
    background: #ffffff;
}

#content div {
    padding: 10px;
    float: left;
}

#content-left {
    width: 180px;
    background: #00ff00;
}

#content-main {
    margin-left: 10px;
    width: 500px;
    background: #ffffff;
}

#content-right {
    margin-left: 10px;
    width: 134px;
    background: #ff0000;
}


input, select, textarea {
    background-color: #fff;
    color: #000;
    padding: 10px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 18px;
    color: #5e5d5d;
}

input[type='submit'] {
    background: #aacb34;
    color: #fff;
    border: 0;
}


#footer {
    padding: 10px 0;
    border-top: 1px solid #c3da71;
    width: 100%;
    text-align: center;
}

#footer a, #footer, #footer p {
    font-size: 13px;
    color: #9ec418;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 980px) {
    #wrapper {
        width: auto;
    }
}

@media screen and (max-width: 620px) {
    h1, h1 a {
        font-size: 1.8em;
        margin-top: 0;
    }

    h2, h2 a {
        font-size: 1.6em;
    }

    h3, h3 a {
        font-size: 1.4em;
    }

    #content {
        padding: 25px;
    }
}

@media screen and (max-width: 400px) {
    #header {
        height: 95px;
        padding-top: 35px;
    }

    #header a {
        font-size: 50px;
    }
}


/* Menu                                             */
/* ------------------------------------------------ */
#navbar {
    background: #c3da72;
    height: 50px;
    position: relative;
}

a.anchor-link {
    display: none;
    float: left;
    height: 50px;
    line-height: 50px;
    padding: 0 25px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

ul.menu, ul.menu ul {
    padding: 0;
    list-style-type: none;
    margin: 0 auto;
    display: block;
    text-align: center;
}

ul.menu ul:after {
    content: ""; clear: both; display: block;
}

ul.menu li {
    padding: 0;
    background: none;
    display: block;
}

ul.menu > li {
    display: inline-block;
    *display: inline;
    zoom: 1;
    margin-right: -4px; /* remove the 4px gap inline elements have */
}

ul.menu li a {
    color: #4c4f20;
    text-decoration: none;
    line-height: 50px;
    padding: 0 15px;
    font-size: 20px;
    display: block;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -ms-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}

ul.menu li a:hover {
    color: #fff;
}

ul.menu li.current-menu-item > a, ul.menu li.current-menu-parent > a, ul.menu li.current-menu-ancestor > a {
    color: #fff;
}

ul.menu li.menu-item-has-children, ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
    position: relative;
}

ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
    padding-right: 24px;
}

/* give the dropdowns a plus indicator */
ul.menu li.menu-item-has-children > a:after {
    width: 30px;
    height: 50px;
    line-height: 50px;
    content: '\25BC'; /* plus: \002B      down arrow: \25BC  */
    vertical-align: middle;
    text-align: center;
    right: 0;
    position: absolute;
    font-size: 12px;
    font-family: verdana;
    font-weight: normal;
}

ul.menu li.menu-item-has-children > a.close:after {
    content: '\25B2'; /* minus: \2012      up arrow: \25B2 */
}

/* dropdowns */
ul.menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 50px;
    min-width: 200px;
    z-index: 9999;
}

ul.menu ul.sub-menu > li {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #ddd;
    text-align: left;
    float: none;
}

/* the last dropdown */
ul.menu li.menu-item-has-children:last-child ul.sub-menu li {
    min-width: 250px;
}

ul.menu li.menu-item-has-children:last-child ul.sub-menu {
    right: 0;
}

ul.menu ul.sub-menu > li a:after {
    height: 22px;
    line-height: 22px;
}

ul.menu li > ul {
    -moz-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
}

ul.menu ul.sub-menu > li a {
    background: none;
    color: #666;
    font-size: 16px;
    text-shadow: none;
    padding: 15px 20px;
    display: block;
    line-height: 25px;
    text-decoration: none;
}

ul.menu ul.sub-menu > li.current-menu-item > a {
    font-weight: bold;
    color: #000;
}

ul.menu ul.sub-menu > li.current-menu-item > a, ul.menu ul.sub-menu > li.current-menu-parent > a, ul.menu ul.sub-menu > li.current-menu-ancestor > a {
    background: #ccc;
    color: #fff;
}

ul.menu ul.sub-menu > li a:hover {
    background: #a9cb32;
    color: #fff;
}

ul.menu ul.sub-menu > li:last-child {
    border-bottom: 0;
}


/*sub submenus  */
ul.menu ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
}

ul.menu ul.sub-menu ul.sub-menu > li a {
    min-width: 160px;
}

@media screen and (min-width: 971px) {
    ul.menu {
        display: block !important;
    }
}

@media screen and (max-width: 970px) {
    #navbar {
        float: none;
    }

    #navbar nav > ul {
        display: none;
    }

    #navbar .wrapper {
        padding: 0;
    }

    a.anchor-link {
        display: block;
    }

    /* ul.menu li:first-child a {
        padding-left: 25px;
    } */


    ul.menu {
        display: none;
        position: absolute;
        top: 50px;
        width: 100%;
        z-index:99;
        -moz-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
    }

    ul.menu li {
        float: none;
        display: block;
        list-style: none;
        text-align: left;
        padding: 0;
        border-bottom: 1px solid #ccc;
        background-color: #fff;
        line-height: 60px;
    }

    ul.menu > li {
        margin-right: 0; /* clear the 4px negative margin set above */
    }

    ul.menu li.menu-item-has-children, ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
        padding-right: 0;
    }

    ul.menu > li.current_page_item a, ul.menu > li.current-menu-parent > a {
        background: #a9cb32;
        color: #fff;
    }

    /* plus and minus when in responsive mode */
    ul.menu li.menu-item-has-children > a:after {
        content: '\002B';
    }

    ul.menu li.menu-item-has-children > a.close:after {
        content: '\2012';
    }

    ul.menu li a {
        color: #555;
        display: block;
        padding-left: 25px;
    }

    ul.menu li a:hover, ul.menu ul.sub-menu > li a:hover {
        color: #fff;
        background: #a9cb32;
    }

    ul.menu li:last-child {
        border-bottom: none;
    }

    /*submenu items */
    ul.menu ul.sub-menu, ul.menu ul.sub-menu ul.sub-menu {
        position: relative;
        left: auto;
        top: auto;
    }

    ul.menu li:hover > ul {
        display: none;
    }


    ul.menu ul.sub-menu > li {
        padding: 0;
        text-align: left;

    }

    ul.menu ul.sub-menu > li a {
        font-size: 15px;
        padding: 12px 40px;
    }

    ul.menu li > ul {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    ul.menu ul.sub-menu > li:last-child, ul.menu ul.sub-menu > li:first-child {
        padding: 0;
    }

    ul.menu ul > li:first-child {
        border-top: 1px solid #cccccc;
    }

    /*sub sub menus */
    ul.menu ul.sub-menu ul.sub-menu > li a {
        padding-left: 60px;
    }
}






/* 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;
	background:url(http://www.yoursite.com/images/bg_comments2_cite.gif);
	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 {
	background: url(http://www.yoursite.com/images/bg_clock.gif) no-repeat 1px;
	padding-left:13px;
	}

.commenttext {
	background: #9bc561 url(http://www.yoursite.com/images/bg_comments2_text.jpg) repeat-x bottom;
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #e0e0e0;
   color: #777777;
   font-size: 10px;
   border: 1px solid #999999;
   text-decoration: none;
   padding: 3px 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #eeeeee;
   border: 1px solid #333333;
   color: #000000;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

#content img {
	margin: 0;
	max-width: 640px;
}
#content .attachment img {
	max-width: 900px;
}
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 12px;
}
#content .wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	text-align: center;
	margin-bottom: 20px;
	padding: 4px 4px 0 4px;
	border: 1px solid #ddd;
}
#content .wp-caption img {
	margin: 5px 5px 0;
}
#content .wp-caption p {
  padding: 0;
  }
#content .wp-caption p.wp-caption-text {
	margin: 5px;
	color: #888;
	font-size: 11px;
}
#content .wp-smiley {
	margin:0;
}
#content .gallery {
	margin: auto;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery img {
	border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px ;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img {
	border: 10px solid #f1f1f1;
}
#content .gallery br+br {
	display: none;

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