/*
Theme Name:Pragma
Theme URI:http://www.cpothemes.com
Description:A clean business theme with a focus on practical design and organized content. It sports a vertical navigation menu, and adapts to any screen size by using a completely fluid layout. It comes with some useful templates, supports widget areas both in the sidebar and the footer, and includes a flexible customization page.
Author:CPOThemes
Author URI:http://www.cpothemes.com
Version:2.0.0
License:GNU General Public License 2.0
License URI:license.txt
*/


/* --------------------------------------------------------------
1. GENERAL ELEMENTS
-------------------------------------------------------------- */

/* BODY */
body { font-family:Arial, Helvetica, sans-serif; background:#fff; color:#777; font-size:0.875em; line-height:1.6; }

/* HEADINGS */
h1, h2, h3, h4, h5, h6 { color:#444; line-height:1.2; margin:0 0 20px; }
h1 { font-size:2.5em; } 
h2 { font-size:2em; } 
h3 { font-size:1.5em; } 
h4 { font-size:1.3em; } 
h5 { font-size:1.2em; } 
h6 { font-size:1.1em; }

/* HYPERLINKS */
a:link, a:visited { color:#d7586c; text-decoration:none; }
a:hover { color:#f78; text-decoration:underline; }

/* CITATIONS */
blockquote { display:block; font-style:italic; padding:0 5%; margin:25px 0; }
blockquote cite, blockquote em, blockquote i { font-style:normal; }

/* FORMS */
input[type=text], input[type=password], input[type=input], 
input[type=tel], input[type=url], input[type=email], 
input[type=number], input[type=range], input[type=search], input[type=color], 
input[type=time], input[type=week], input[type=month], input[type=date], input[type=datetime], 
textarea, select { border:1px solid #ddd; padding:8px 6px; background:#f5f5f5; }
input[type=submit] { width:auto; -webkit-appearance:none; }

/* MAIN THEME COLORS */
.primary-color { color:#E85F52; }
.primary-color-bg { background-color:#E85F52; }
.secondary-color { color:#555; }
.secondary-color-bg { background-color:#555; }

/* SHORTCODE CUSTOM STYLING */
.button, .button:visited, input[type=submit] { border-radius:3px; border:none; text-shadow:none; background:#9FC748; border-color:#c15289; }
.button:hover, input[type=submit]:hover { background:#e7a; }


/* --------------------------------------------------------------
2. LAYOUT
-------------------------------------------------------------- */

/* WRAPPERS */
.wrapper { max-width:1120px; margin:50px auto; width:100%; background:#f9f9f9; }
.wrapper-header { float:left; width:290px; padding:0;  }
.wrapper-content { overflow:hidden; }

.wrapper-blank { margin:50px auto; }
.wrapper-body { overflow:hidden; }
.container { padding:0 30px; max-width:none; }


/* TOPMENU */
.topbar { display:block; background:#555; line-height:34px; font-size:0.9em; }


/* SOCIAL ICONS */
.social { float:right; text-align:right; padding:0; width:auto; }
.social .social-profile { display:block; float:left; color:#999; margin:0; width:30px; font-size:18px;  text-align:center; }
.social .social-profile .social-title { display:none; }
.social .social-profile:hover { text-decoration:none; }


/* HEADER */
.header { position:relative; width:100%; padding:20px 0; }
.header .logo { text-align:center; padding:30px 0; }
.header .header-content { display:none; float:right; text-align:right; padding:20px 0 0 20px; }


/* HOMEPAGE SLIDES */
.slider { padding:0; margin:0; position:relative; text-align:center; -moz-transition:0.3s all; -webkit-transition:0.3s all; transition:0.3s all; }
.slider-slides { display:block; overflow:hidden; padding:0; margin:0;  }
.slider-slides .slide { overflow:hidden; background-position:center; background-size:cover; position:relative; list-style:none; width:100%; height:100%; margin:0; padding:0; }
.slider-slides .slide-textbox { position:absolute; width:50%; bottom:0; left:0; padding:30px; text-align:left; }
.slider-slides .slide-textbox p:last-child { margin-bottom:0; }
/* Slide Positions */
.slider-slides .slide-right .slide-textbox { right:0; left:auto; text-align:right; }
/* Slider Controls */
.slider-prev, 
.slider-next { -moz-transition:0.4s all; -webkit-transition:0.4s all; transition:0.4s all; opacity:0; }
.slider:hover .slider-prev, 
.slider:hover .slider-next { opacity:1; }
.slider-prev, 
.slider-next { position:absolute; width:40px; height:40px; font-size:16px; line-height:40px; top:30px; text-align:center; background:rgba(255,255,255,0.6); color:#666; z-index:999; cursor:pointer; }
.slider-prev { right:72px; border-radius:3px 0 0 3px; }
.slider-prev:before { font-family:'fontawesome'; content:'\f053'; }
.slider-next { right:30px; border-radius:0 3px 3px 0; }
.slider-next:before { font-family:'fontawesome'; content:'\f054'; }


/* BREADCRUMBS */
.breadcrumb { margin:15px 0 0; }
.breadcrumb-separator{ position:relative; padding-right:20px; margin-right:15px; }
.breadcrumb-separator:before { display:block; position:absolute; top:50%; right:0; list-style:none; font-family:'fontawesome'; content:'\f105'; font-weight:bold; font-size:12px; color:#aaa; margin-top:-5px; line-height:10px; opacity:0.5; }


/* PAGE BANNERS AND TITLES */
.banner { overflow:hidden; padding:0; margin:0; max-height:500px; }
.banner .banner-image { display:block; width:100%; height:auto; line-height:0; padding:0; margin:0; }
.pagetitle { overflow:hidden; padding:20px 0; margin:0; }
.pagetitle .pagetitle-title { margin:0; font-size:2.5em; }


/* HOMEPAGE TAGLINE */
.tagline { padding:40px 0; font-size:1.3em; }
.tagline-content { padding:0; }


/* HOMEPAGE MINI FEATURES */
.minifeatures { margin:40px 0 0; }
.minifeatures .feature { margin-bottom:40px; }
.minifeatures .feature .feature-image { display:block; float:left; position:relative; width:100px; height:100px; margin:0 auto 20px; border-radius:50%; overflow:hidden; }
.minifeatures .feature .feature-icon { position:absolute; top:0; font-family:'fontawesome'; text-align:center; width:100px; height:100px; color:#fff; margin:0 auto 20px; font-size:40px; z-index:99; line-height:100px; }
.minifeatures .feature img { display:block; line-height:0; width:100%; height:auto; }
.minifeatures .feature .feature-body { margin-left:120px; }
.minifeatures .feature .feature-title { font-size:1.3em; margin-bottom:10px; }
.minifeatures .feature .feature-content { }


/* PAGE CONTENT */
.main { padding:0; }


/* SIDEBARS */
.widget { overflow:hidden; margin:0 0 30px; }
.widget .widget-title { text-transform:uppercase; font-size:1.2em; }
.widget ul li { position:relative; padding:0 0 0 20px; margin:0 0 8px; }
.widget ul li:before { display:block; position:absolute; top:1em; left:0; font-family:'fontawesome'; content:'\f054'; font-size:10px; color:#bbb; margin-top:-7px; line-height:1.6; }


/* FOOTER */
.subfooter { overflow:hidden; padding:60px 0 20px; clear:both;  }
.footer {  overflow:hidden; padding:30px 0; clear:both; color:#aaa; text-align:center; text-transform:uppercase; }


/* --------------------------------------------------------------
3. NAVIGATION
-------------------------------------------------------------- */

/* TOP MENU */
.topmenu { float:left; }


/* MAIN MENU */
.menu-main { padding:0; margin:0 0 40px; float:none; }
/* Menu Elements */
.menu-main li { float:none; }
.menu-main li a { padding:10px; font-size:1.1em; color:#777; }
.menu-main > li > a { border-top:1px solid rgba(255,255,255,0.07); border-bottom:1px solid rgba(0,0,0,0.1); }
.menu-main > li:last-child > a { border-bottom:none; }
.menu-main > li:first-child > a { border-top:none; }
.menu-main li a .menu-description { display:none; }
.menu-main li:hover > a, 
.menu-main li a:hover { background-color:rgba(255,255,255,0.1); }
/* Current item highlight both normally and on hover */
.menu-main .current-menu-ancestor > a, 
.menu-main .current-menu-item > a { color:#ccc; }
.menu-main .current_page_ancestor > a:hover, 
.menu-main .current-menu-item > a:hover { }
.menu-main li ul li a:link,
.menu-main li ul li a:visited { color:#666; }
/* Children Elements */
.menu-main .has-children:before { color:#fff; content:'\f105'; opacity:0.2; font-size:10px; }
.menu-main li ul { margin:0; background:#fff; padding:15px; top:0; left:100%; margin:0; }
.menu-main li ul li { position:relative; }
.menu-main > li > ul:before { visibility:hidden; content:' '; opacity:0; margin:0; position:absolute; top:16px; left:0; margin:0 0 0 -6px; border-right:6px solid #fff; border-bottom:6px solid transparent; border-top:6px solid transparent; z-index:9999; }
.menu-main li ul li:after { position:absolute; content:' '; top:0; left:0; width:1px; background:rgba(0,0,0,0.1); height:1px; -moz-transition:0.4s all; -webkit-transition:0.4s all; transition:0.4s all; }
.menu-main li ul li:first-child:after { display:none; }
.menu-main li:hover > ul li:after { width:100%; }
/* Transition Delay */
.menu-main li:hover > ul li:nth-child(1):after { -moz-transition-delay:0.1s; -webkit-transition-delay:0.1s; transition-delay:0.1s; }
.menu-main li:hover > ul li:nth-child(2):after { -moz-transition-delay:0.2s; -webkit-transition-delay:0.2s; transition-delay:0.2s; }
.menu-main li:hover > ul li:nth-child(3):after { -moz-transition-delay:0.3s; -webkit-transition-delay:0.3s; transition-delay:0.3s; }
.menu-main li:hover > ul li:nth-child(4):after { -moz-transition-delay:0.4s; -webkit-transition-delay:0.4s; transition-delay:0.4s; }
.menu-main li:hover > ul li:nth-child(5):after { -moz-transition-delay:0.5s; -webkit-transition-delay:0.5s; transition-delay:0.5s; }
.menu-main li:hover > ul li:nth-child(n+6):after { -moz-transition-delay:0.6s; -webkit-transition-delay:0.6s; transition-delay:0.6s; }

/* MOBILE MENU */
.menu-mobile { display:none; clear:both; margin:20px 0 20px; padding:10px; width:100%; border:1px solid #ccc; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; -webkit-appearance:none; }


/* FOOTER MENU */
.footermenu {  }
.menu-footer { text-align:center; }
.menu-footer li a { font-weight:bold; }
.menu-footer li ul li a { font-weight:normal; font-size:0.9em; }


/* SUBMENU NAVIGATION */
.menu-sub { }
.menu-sub li { }
.menu-sub li a {  }


/* PORTFOLIO NAVIGATION */
.menu-portfolio { overflow:hidden; margin:0 0 30px; padding:0; }
.menu-portfolio .menu-item { float:left; padding:10px 20px; border:1px solid #ddd; border-radius:3px; background:#fff; display:block; margin-right:20px; }
.menu-portfolio .menu-item:hover { text-decoration:none; }
.menu-portfolio .current_page_item, .menu-portfolio .current-cat { border-bottom:0; }
.menu-portfolio .current_page_item a, .menu-portfolio .current-cat a { color:#fff; }
.menu-portfolio .current_page_item  ul li a, .menu-portfolio .current-cat ul li a { color:#222; background:none; }


/* NEXT/PREV POST NAVIGATION */
.navigation { }
.navigation .nav-prev,
.navigation .nav-next { padding:0 30px; }
.navigation .nav-prev:before { display:block; position:absolute; top:50%; left:0; list-style:none; font-family:'fontawesome'; content:'\f104'; font-size:30px; color:#999; margin-top:-15px; line-height:30px; }
.navigation .nav-next:before { display:block; position:absolute; top:50%; right:0; list-style:none; font-family:'fontawesome'; content:'\f105'; font-size:30px; color:#999; margin-top:-15px; line-height:30px; }


/* NUMBERED PAGINATION */
.pagination span, 
.pagination a { border-radius:3px; }


/* NUMBERED PAGINATION FOR SINGLE POSTS */
.postpagination span { }
.postpagination a span { }


/* --------------------------------------------------------------
4. POSTS & PAGES
-------------------------------------------------------------- */

/* POSTS */
.post  { margin:0 0 50px; }
.post .post-image { margin:0 0 20px; }
.post .post-image img { display:block; margin:0; line-height:0em; width:100%; height:auto; border-radius:2px; }
.post .post-body { }
.post .post-title { padding:0; margin:0 0 10px 0; }
.post .post-title a { color:inherit; }
.post .post-byline { overflow:hidden; padding:0; margin:0; color:#aaa; font-size:0.8em; }
.post .post-byline div { float:left; position:relative; padding:0 22px; margin-bottom:10px; }
.post .post-byline div:last-child { padding-right:0; }
.post .post-byline div:before { display:block; position:absolute; width:18px; height:18px; line-height:18px; font-size:10px; top:50%; margin-top:-8px; left:0; font-family:'fontawesome'; content:'\f007'; text-align:center; }
.post .post-byline .post-date:before { content:'\f133'; }
.post .post-byline .post-author:before { content:'\f040'; }
.post .post-byline .post-category:before { content:'\f07b'; }
.post .post-byline .post-comments:before { content:'\f075'; }
.post .post-tags { display:block; margin:0 0 30px 0; }
.post .post-content { padding:0; margin:0 0 15px 0; }
.post .post-content p:last-child { margin-bottom:0; }
.post .readmore { margin:10px 0 0; }


/* AUTHOR BIOS */
.author-info { clear:both; padding:20px; margin:0 0 40px; background:#f3f3f3; }
.author-info .author-image { float:left; margin:0; width:100px; border-radius:3px; }
.author-info .author-image img { display:block; line-height:0; margin:0; border-radius:3px; }
.author-info .author-body { margin-left:120px; }
.author-info .author-name { margin:0 0 10px; }
.author-info .author-description { margin:0 0 10px; }
.author-info .author-social { margin:0 0 0; }
.author-info .author-social a { margin-right:15px; }


/* INDIVIDUAL PORTFOLIO ITEMS */
.cpo_portfolio .portfolio-media { margin:0 0 30px; }
.cpo_portfolio .portfolio-image { text-align:center; }
.cpo_portfolio .portfolio-details { padding-left:5%; margin-bottom:30px; padding:15px 30px 30px; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; border-radius:2px; }
.cpo_portfolio .portfolio-details div { margin:15px 0 0; border-top:1px solid #fff; padding:15px 0 0 30px; position:relative; }
.cpo_portfolio .portfolio-details p:last-child { margin:0; }
.cpo_portfolio .portfolio-details div:first-child { margin:0; border-top:none; }
.cpo_portfolio .portfolio-details .details-icon { position:absolute; display:block; width:15px; margin-top:1px; font-size:1.3em; text-align:center; left:0; top:17px; }
.cpo_portfolio .portfolio-content { }


/* PORTFOLIO SHOWCASE */
.portfolio { clear:both; padding:0; }
.portfolio-heading { margin:0 0 40px; }
.portfolio-item { margin: 0 0 40px; overflow:hidden; box-shadow:0 2px 2px -1px rgba(0,0,0,0.3); -moz-transition:0.4s all; -webkit-transition:0.4s all; transition:0.4s all; }
.portfolio-item .portfolio-item-image { display:block; position:relative; overflow:hidden; }
.portfolio-item .portfolio-item-image img { display:block; width:100%; }
.portfolio-item .portfolio-item-body { background:#fff; padding:20px; line-height:1em; color:#999; text-transform:capitalize; }
.portfolio-item .portfolio-item-body > a { color:#999; }
.portfolio-item .portfolio-item-title { padding:0; margin:0 0 10px; line-height:1em; font-size:1.5em; }
.portfolio-item .portfolio-item-description { position:absolute; width:100%; height:100%; top:100%; padding:20px; color:#fff; background:rgba(0,0,0,0.5); -moz-transition:0.3s all; -webkit-transition:0.3s all; transition:0.3s all; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; }
.portfolio-item .portfolio-item-description p { margin:0; }
.portfolio-item .portfolio-item-image:hover { text-decoration:none; }
.portfolio-item:hover .portfolio-item-description { top:0; }


/* --------------------------------------------------------------
5. COMMENTS
-------------------------------------------------------------- */


/* COMMENTS */
.comments { clear:both; margin:0; }
.commentlist { list-style:none; padding:0; margin:0 0 30px; }
.comment { overflow:hidden; list-style:none; margin:0 0 10px; padding:0; }
.comment .comment-avatar { float:left; border-radius:3px; }
.comment .comment-avatar img { border-radius:3px; }
.comment .comment-title { padding:0; margin-left:70px; }
.comment .comment-author { display:block; font-size:1.3em; }
.comment .comment-date { font-size:0.9em; }
.comment .comment-approval { display:block; padding:0 10px 0; margin:0; }
.comment .comment-content { margin:10px 0 30px 70px; padding:0; }
.comment .comment-options { overflow:hidden; float:right; text-align:right; padding:5px 10px; border-radius:2px; font-size:0.9em; border:1px solid #ddd; }
.comment .comment-options a { margin-left:10px; }
.comment .comment-options a:first-child { margin:0; }
/* Contents Styling for Comment Body */
.comment .comment-content ul, .comment .comment-content ol { margin-bottom:18px; }
.comment .comment-content p:last-child { margin-bottom:6px; }
.comment .comment-content blockquote p:last-child { margin-bottom:24px; }
/* Nested Comments */
.comment .children { list-style:none; margin:0 0 0 50px; }
/* Pingbacks & Trackbacks */
.comments ol.pinglist { margin:0; }
.comments .pingback { list-style:none; margin:0 0 10px 0; }
.comments .pingback .url { font-style:italic; }


/* COMMENT FORM */
.comment-respond { margin:30px 0; overflow:hidden; position:relative; }
.comment-respond p { overflow:hidden; }
/* Fields */
.comment-respond .comment-notes { display:none; }
.comment-respond .required { color:#ff4b33; }
.comment-respond label{ display:block; padding:5px 0; }
.comment-respond textarea{ height:200px; max-height:400px; min-height:200px; resize:vertical; }
/* Nested Form */
#cancel-comment-reply-link { float:right; display:block; font-size:0.9em; }
/* Allowed Tags */
.comment-respond .form-allowed-tags { display:none; color:#888; font-size:0.9em; }
.comment-respond .form-allowed-tags code { display:block; font-size:0.9em; }
.comment-respond .form-submit { }