/*
	Theme Name: Trista
	Theme URI: https://flexithemes.com/trista-wordpress-theme/
	Description: Free General/Blog WordPress theme by FlexiThemes
	Author: FlexiThemes
	Author URI: https://flexithemes.com
	Version: 5.3
	Tags: blue, red, three-columns, left-right-sidebars
*/

/* LAYOUT */

body {
    background: #2a3038 url(images/header-background.png) top center no-repeat;
	}

#wrapper {
	padding:0;
	}

#container {
    
	}

#contentwrap {
	background: #dedede url(images/contentwrap.png) top center no-repeat;
	}

a {
	color: #aa0101;
	}

a:hover {
	color: #e20404;
	}
/* HEADER */

#header {
	height: 68px;
    padding-top: 10px;
	}

#header h1 {
	margin: 0px !important;
	padding: 5px 0 0 0;
	font-weight: normal;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
	font-size: 32px;
    text-transform: uppercase;
	}

#header h1 a, #header h1 a:visited {
	color: #d6dade;
	text-decoration: none;
	}


#header h2 {
	color: #77818c;
	font-size: 12px;
    font-family: Arial, Helvetica, Sans-serif;
    font-style: italic;
	}

.logoimg {
    margin:8px 0 0 0;
}

/* NAVIGATION MENUS */

    
#pagemenucontainer {
	height: 32px;
	margin-top: 16px;
    float: right;
	}
	
#pagemenu {
	height: 32px;
    float: right;
	}

#pagemenu, #pagemenu ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
#pagemenu {
	margin-bottom: 1px;
	}
	
#pagemenu ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px
	}
	
#pagemenu li {
	float: left;
	list-style: none;
	margin: 0px;
    padding: 0px 6px 0 0px;
    background: url(images/pagenav-separator.png) right center no-repeat;
	}
	
#pagemenu ul li {
	list-style: none;
	margin: 0px;
	padding: 0;
    
	}
	
#pagemenu li a, #pagemenu li a:link {
	color: #868f99;
	display: block;
    margin: 0;
	padding: 6px 8px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
    font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	}
	
#pagemenu li a:hover, #pagemenu li a:active{
	color: #fff;
	display: block;
	text-decoration: none;
	}
	
#pagemenu  li.current_page_item a {
	color:#fff;
	}

#pagemenu li:hover, #pagemenu li.sfhover { 
	position: static;
	}
	
.topright {
	text-align: right;
    margin: 19px 0 0 0;
	}

.topright a {
	color: #868f99;
	text-decoration: none;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	vertical-align: top;
    font-weight: bold;
    text-transform: uppercase;
	}
   
.topright a:hover {
    color: #fff;
} 

.navcontainer {
	height: 36px;
    background: url(images/nav-background.png) top left no-repeat;
    margin-bottom: 15px;
    padding-left: 15px;
	}
	
#nav {
	height: 36px;
	}

#nav, #nav ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
    
#nav {
	margin-bottom: 1px;
	}
	
#nav ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	}
	
#nav li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav li a, #nav li a:link {
	color: #fff;
	display: block;
    margin: 0 6px 0 0;
	padding: 12px 14px;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
    text-shadow: 0 1px 0 #232a32;
	}
	
#nav li a:hover, #nav li a:active {
	color: #fff;
	display: block;
	text-decoration: none;
    background: url(images/nav-hover.png) top left repeat-x;
    text-shadow: 0 1px 0 #5b0606;
	}
	
#nav  li.current-cat a {
	color:#fff;
    background: url(images/nav-hover.png) top left repeat-x;
    text-shadow: 0 1px 0 #5b0606;
	}

#nav li:hover, #nav li.sfhover { 
	position: static;
	}
	
/* CONTENT */

#content {
	padding: 15px 5px;
	}
	
pre { overflow: auto; 
	width: 470px; 
	}

.post {
	padding-bottom: 15px;
	margin-bottom: 15px;
    border-bottom: 1px solid #9ba2aa;
	}

.post p {
	margin-bottom: 10px;
	}

.title {
	margin: 0 0 8px 0;
	padding: 0px;
	line-height: 22px;
	font-family: Arial, Helvetica, Sans-serif;
    font-weight: bold;
	color: #333333;
    text-shadow: 0 1px 0 #fff;
	}

	
.title a {
	text-decoration: none;
	color: #333333;
	}

.title a:hover {
	text-decoration: none;
	color: #b70404;
	}

.pagetitle {
	margin-bottom: 20px;
	line-height: 22px;
	font-family: Arial, Verdana;
	text-decoration: underline;
}

.postdate {
	font-size: 13px;
	font-family: Arial, Helvetica, Sans-serif;
    font-style: italic;
    color: #8a8a8a;
    text-shadow: 0 1px 0 #fff;
	}


.postmeta {
	font-size: 11px;
	padding: 2px 4px;
	font-family: Arial, Verdana;
	}
	
.postdate img, .postmeta img {
	border: none;
	vertical-align: middle;
	margin:2px;
	}
	
.entry {
	text-align: justify;
	line-height: 20px;
	padding-top: 8px;
	font-family: Arial, Verdana;
	font-size: 14px;
	}
.navigation {
	padding: 10px 0;
	}

blockquote {
	overflow: hidden;
	padding-left: 9px;
	font-style: italic;
	color: #666;
	border-left: 3px solid #CADAE7;
	}
	
.post img {
	max-width: 680px;
	}

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;
	}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
	}

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

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
	}
	
/* wp-pagenavi */
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
    color: #686868 !important;
    background:#dfdfdf !important;
    border: 1px solid #989898 !important;
    font-size: 15px !important;
    padding:  4px 8px !important;
}

.wp-pagenavi span.current {
    color: #434343 !important;
    background:#fff !important;
    border: 1px solid #b6b5b5 !important;
    font-size: 15px !important;
    padding:  4px 8px !important;
    font-weight: bold;
}

.wp-pagenavi a:hover {
    color: #494949 !important;
    background:#dfdfdf !important;
    border: 1px solid #626262 !important;
    
}

.wp-pagenavi span.pages {
    color: #676767 !important;
    background:#fff !important;
    border: 1px solid #b6b5b5 !important;
    font-size: 15px !important;
    padding:  4px 8px !important;
}

.wp-pagenavi span.extend {
    background:transparent !important;
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #676767 !important;
    background:#fff !important;
    border: 1px solid #b6b5b5 !important;
    font-weight: bold;
}

/* SIDEBAR(S) */

.sidebaradbox {
	margin-top: 5px; 
	text-align:center;
	}
	
.ad125 {
	margin: 10px;
	}


.sidebar {
	margin: 15px 0;
	}
	
.sidebar-right {
    margin-right: 10px;
	}
	
.sidebar-left {
     margin-left: 10px;
	}
    
    
.sidebar a {
	text-decoration: none;
	color: #2f3a48;
	}

.sidebar a:hover {
	text-decoration: underline;
	color:#be0707;
	}

	
#search {
    border: 1px solid #80878e;
    height: 26px;
    padding: 0;
    background: #fff url(images/search-background.png) top left repeat-x;
    text-align: right;
    margin: 0px 10px;
    
}

#search input {
	border: 0;
    background: none;
    color: #666;
}
	
	
#s {
	width: 130px;
	padding: 3px;
    margin:2px 0 0 0;
    background: none;
}

#topsearch #s {
    width: 136px;
    }

#topsearch #search {
    margin: 15px 0 0 0;
    }

.sidebar h2 {
	margin: 10px 0 0 0;
	padding: 4px 0 6px 0;
	background: url(images/sidebar-tab.gif) top left no-repeat;
	font-size: 14px;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
    text-align: center;
    text-shadow: 0 1px 0 #000;
	}

.sidebar ul {
	list-style-type: none;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	}
	
.sidebar ul li {
	list-style-type: none;
	margin: 0px 0px 5px 0px;
	padding: 0px;
	}

.sidebar ul ul {
	list-style-type: none;
	margin: 0px;
	padding: 0 0 0 8px;
	}
	
.sidebar ul li li {
	padding: 4px 0px 6px 18px;
	margin: 0px;
	background: url(images/bullet.gif) top left no-repeat;
    border-bottom: 1px solid #cbcaca;
	}
	
.sidebar ul li ul li {
	background: url(images/bullet.gif) top left no-repeat;
	padding: 4px 0px 6px 18px;
	margin: 2px 0;
    border-bottom: 1px solid #cbcaca;
	}

.sidebar #tag_cloud div {
    padding:  0 10px;
    }

#wp-calendar {
    padding-left: 5px;
    }

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	color: #555;
	background: none;
	}
#wp-calendar caption {
	padding: 2px 4px;
	text-transform: uppercase;	margin: 2px 0 2px 0;
	background: none;
	}

#wp-calendar td {
	color: #2f3a48;
	font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
	}


#wp-calendar td:hover, #wp-calendar #today {
	background: #2f3a48;
	color: #fff;
	}
    
#wp-calendar td:hover a {
    color: #fff;
}
	
#wp-calendar {
	empty-cells: show;
	font-size: 14px;
	margin: 0;
	font-weight: bold; 
	width: 95%;
	}


/* FOOTER */

#footer {
	background: url(images/footer-background.png) left bottom no-repeat;
	padding: 22px;
	text-align: center;
	color: #fff;
	font-size: 13px;
    border-top: 2px solid #fff;
	}

#footer a {
	color: #fff;
	} 

#footer a:hover {
	text-decoration: none;
	} 
	
#credits {
	color: #6a7685;
	font-size: 11px;
	text-align: center;
	padding: 10px;
	}
    	
#credits a {
	color: #6a7685;
    text-decoration: none;
	} 
	
/* COMMENTS */

#comments h3 {
	margin-bottom: 10px;	
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
	
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
	
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
	
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
	
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
	
.post_thumbnail {
    padding: 6px;
    background: #eee;
    border: 1px solid #ccc;
    margin: 0 10px 10px 0;
}


/* =RESPONSIVE
-------------------------------------------------------------- */

.menu-primary-responsive-container, .menu-secondary-responsive-container  {
    display: none;
    margin: 10px 0;
}

.menu-primary-responsive, .menu-secondary-responsive  {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
}


/* Tablets ----------- */

@media only screen and (max-width: 768px) {
    
    .span-1, .span-2, .span-3, .span-4, span-5,.span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24, 
     div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24
    {
        width:100%;
        margin:0;
        display: block;
        padding: 0;
        float: none;
    }
    
    .container, div.container {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #contentwrap {
        background-image: none;
    }
    
    .entry {
        overflow:  hidden;
    }
    
    .smooth_gallery, .fullbox_excerpt, .fullbox_content, .myGallery {
        display: none;
    }
   
    #header, #header-wrap {
        height: auto;
    }
    
    #header .span-11, #header .span-11 div, #header .span-12, #header .span-12 div, #header .span-13, #header .span-13 div  {
       text-align: center !important;
       padding-bottom: 10px;
    }
    
    #pagemenucontainer {
	margin-top: -30px;
	}
    
    .navcontainer {
	margin-top: 20px;
	}
    
    .sidebar  {
    padding: 10px 0 10px 10px;
	}
    
    .sidebar h2 {
	text-align: left;
    padding: 4px 0 6px 10px;
	}
   
     #topsearch, #topsocials, .feedtwitter  {
         text-align: center;
         display: block;
         float: none;
         width: auto;
         margin: 0;
    }
    .logoimg {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    #search {
        text-align: left;
        padding-left: 5px;
    }
    
    #s {
        width: auto !important;
    }
    
    #search input[type='image'] {
        float: right !important;
    }
}

/* Mobile Phones ----------- */

@media only screen and (max-width: 480px) {
    #header .span-11, #header .span-11 div, #header .span-12, #header .span-12 div, #header .span-13, #header .span-13 div  {
       text-align: center !important;
       padding-bottom: 0;
    }
 
    .menu-primary-responsive-container, .menu-secondary-responsive-container {
        display: block;
    }
    
    #pagemenucontainer, #navcontainer, #pagemenu, #nav {
        display: none;
    }
}

/* Some General Formattings ----------- */

embed,
img,
object,
video,
.wp-caption {
	max-width: 100% !important;
}

img {
	height: auto;
}

/* =SITEMAP
-------------------------------------------------------------- */
.sitemap {
}

.sitemap-col {
    width: 30%;
    padding: 0 0 0 10px;
}

.sitemap-col-archives {
    width: 45%;
    padding: 0 0 0 10px;
}

.sitemap h2 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
}

.sitemap h3 {
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    margin: 0 0 10px 0;
}

.sitemap-list {
    font-size: 13px;
    line-height: 22px;
}

.sitemap-list, .sitemap-list ul {
    padding: 0 0 0 20px;
}

/* =CONTACT FORM
-------------------------------------------------------------- */
.contact-form {
}

.contact-form-label {
    width: 90px;    
    font-weight: bold;
    font-size: 14px;
    padding: 7px 0;
}

.contact-form-input {
    margin-left: 90px;    
}

.contact-form input[type=text] {
    padding: 6px;
    width: 60%;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
}

.contact-form input[type=submit] {
    padding: 5px 50px;
    border: 1px solid #ccc;
    background: #eee;
}
.contact-form textarea {
    width: 96%;
    padding: 6px;
    height: 160px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
}

.contact-form-required {
    color: red;
}

/* WooCommerces ----------- */
.variations .label {
    background-color:inherit;
    color: inherit;
    display: block !important;
    font-size: inherit;
    font-weight: inherit;
    line-height:inherit;
    text-shadow: none;
    vertical-align: inherit;
    white-space: inherit;
    padding: 8px 8px 8px 0 !important;
} 
.woocommerce input[type="text"], .woocommerce input[type="password"], .woocommerce input.text, .woocommerce input.title, .woocommerce textarea, .woocommerce select {
    margin: 0;  
    padding: 4px !important;
}

.quantity input[type="text"], .quantity input.text, .quantity input{
    margin: 0;  
    padding: 0 !important;
}

.woocommerce img {
    width: auto !important;
    height: auto !important;
}