/*
Theme Name: tg
*/

/** GLOBAL
*****************************/

/* Common */

body {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif; 
    line-height: 24px;
}

a {
    text-decoration: underline;
    transition: all 0.3s ease-in-out 0s;
}

a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

.clearfix:before, .clearfix:after,
#header:before, #header:after,
#main:before, #main:after,
#footer:before, #footer:after
{
  content: " ";
  display: table;
}
.clearfix:after,
#header:after,
#main:after,
#footer:after 
{
  clear: both;
}


.alignleft {
    float: left;
}

.alignright {
    float: right;
}

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

/** HEADER
*****************************/

#header {
    padding: 15px 0;
    margin: 0 0 15px 0;
    width: 100%;
}

#logo {
    float: left;
}

.welcome {
    padding: 0 3% 15px 0;
    line-height: 24px;
}

/* AP */

.ap-header {
    text-align: center;
    padding: 0 0 15px 0;
}

.ap-box {
    margin: 0 auto;
}

.ap-footer {
    text-align: center;
    padding: 0 0 20px 0;
}

.ap-single {
    text-align: center;
    padding:15px 0;
}


.ap-widget {
    text-align: center;
}


/* Notice */

#notice {
    background: #fff;
    padding: 15px;
    margin: 20px 0 30px 0 !important;
    border: 1px solid orange;
}

#notice p {
    
    font-size: 15px;
    line-height: 22px;
    font-weight: normal !important;
    color: #555;
    padding: 0 0 10px 0;
    margin: 0;
    font-weight: normal;
}

/** LAYOUT
*****************************/

#main, .container {
    width: 80%;
    margin: 0 auto;
}

#main {
}

#content {
    width: 70%;
    float: left;
}

#sidebar {
    width: 30%;
    float: left;
    margin-bottom: 20px;
}

/** NAVIGATION MENUS
*****************************/

/* Nav Menu Common Styles */

.nav-menu, .nav-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-menu li {
	position: relative;
    white-space: nowrap; 
}
.nav-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.nav-menu > li {
	float: left;
}
.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
	display: block;
}

.nav-menu a {
	display: block;
	position: relative;
}
.nav-menu ul ul {
	top: 0;
	left: 100%;
}
.nav-menu ul li {
    min-width: 180px;
}


.sf-arrows .sf-with-ul:after {
    content: "\f107";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    padding-left: 5px;
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; 
}

.sf-arrows ul .sf-with-ul:after {
    content: "\f105";

}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}

/* Nav Menu Default */

.nav-menu-container {
    float: right;
    margin: 8px 0 0 0;
}

.nav-menu a {
	padding: 10px 0 10px 25px;
	text-decoration: none;
    font-family: 'Roboto', sans-serif; 
    font-weight: 600;   
    font-size: 16px;
}
.nav-menu a:hover, .nav-menu li:hover > a {
}

.nav-menu li li a {
    font-size: 15px;
    padding-left: 10px;
}

.nav-menu ul {
    -moz-box-shadow: 0 1px 2px rgba(84,84,84,.25);
    -webkit-box-shadow: 0 1px 2px rgba(84,84,84,.25);
    box-shadow: 0 1px 2px rgba(84,84,84,.25);
    margin-left: 20px;
}

.nav-menu ul li {
    border-top:  1px solid;
}

.nav-menu ul li:first-child {
    border-top: 0;
}

.nav-menu ul li:hover {
}

.nav-menu ul ul {
    margin: -3px 0 0 1px;
}

/** CONTENT
*****************************/

/* Theme Box */

.themebox {
    float: left;
    width: 30%;
    margin: 0 3% 40px 0;
}

.themebox-sceenshot img {
    max-width: 100%;
}

.themebox-info {
    border-top: 1px solid #ddd;
    padding: 12px 10px 14px 10px;
    margin-top: -5px;
}

.themebox-info  .theme-title {
    float: left;
}

.themebox-info .theme-links {
    float: right;
}

.theme-title h2 {
    font-family: 'Roboto', sans-serif; 
    font-weight: 400;
    font-size: 18px;
    padding: 0;
    margin: 0;
}

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

.theme-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
/* Page */

.page-content {
    margin-right: 3%;
    padding: 15px;
}

.page-title {
    padding: 0  0 15px 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    line-height: 24px;
}

/* Single */

.single-content {
    margin-right: 3%;
    padding: 15px;
}

.entry-title {
    padding: 0  0 15px 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    line-height: 24px;
}

.entry-title a {
    text-decoration: none;
}

.entry-title a:hover {
}

.entry-screenshot {
    text-align: center;
}

.entry-screenshot img {
    max-width: 100%;
}

.entry-themeinfo {
    text-align: center;
}

.entry-themeinfo a {
    padding: 6px 30px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
    margin-bottom: 10px;
}

.entry-themeinfo a:hover {
}

.entry-themeinfo i {
    padding-right: 4px;
}

.entry-meta {
    font-size: 15px;
    padding: 15px 0;
}

/* Archive */

.archive-header {}

.archive-title {
    padding: 0  0 30px 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    line-height: 24px;
}

/* Contact Form */

.contact-form textarea, .contact-form input {
    padding: 6px 10px;
    border: 1px solid;
}

.contact-form textarea {
    width: 60%;
}

.contact-form-submit {
    text-align: center;
}

.contact-form input[type='submit'] {
    font-size: 14px;
    font-weight: bold;
    padding: 10px 40px;
    border: 0;
    display: inline-block;
    transition: all 0.3s ease-in-out 0s;
}

.contact-form input[type='submit']:hover {
}

/** SIDEBAR
*****************************/

/* Widget Area */

.widget-area {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 15px;
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 13px;
}

.widget-area .widget-title {
    font-size: 20px;
    line-height: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    margin: 5px 0 20px 0;
    padding: 0;
}

.widget-area .widget-title a, .widget-area .widget-title a:hover {
    text-decoration: none;
}

.widget-area a {
    text-decoration: none;
}

.widget-area a:hover {
    text-decoration: none;
}

.widget-area  ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-area ul li {
    padding: 0;
    margin: 0 0 15px 0;
}

/* Search
----------------------------*/
.search {
    text-align: left;
}

.search .s {
    border: none;
    width: 100%;
    height: 22px;
    padding: 6px;
    outline: none;
    margin: 0;
}

.search .sfield {
    border: 1px solid;
    width: 80%;
    float: left;
    margin: 0;
    outline: none;
}

.search .sbutton{
    float: right;
    width: 20%;
    height: 36px;
    border: 0;
    margin-left: -2px;
    cursor: pointer;
    transition: all 0.3s ease-in-out 0s;
}

.search .sbutton:hover {
}

.search-content {
    width: 400px;
}

/* Advanced Theme Search
----------------------------*/

.advanced-search input[type='checkbox'] {
    margin: 0 0 10px 0;
}

.advanced-search h3 {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0  10px 0;
    padding: 0;
}


.advanced-search .left-column {
    float: left;
    width:  150px;
    
}

.advanced-search .right-column {
    float: right;
    width:  150px;
    
}

.advanced-search input[type='submit'] {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    width: 99%;
    padding: 10px;
    border: 0;
    transition: all 0.3s ease-in-out 0s;
}


.advanced-search select {
    width: 98%;
    padding: 5px 1%;
}

/* =WP-PAGENAVI
-------------------------------------------------------------- */

.wp-pagenavi {
    text-align: center;
    padding-bottom: 30px;
    overflow: hidden;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	padding: 5px 8px;
	margin: 2px;
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif; 
    font-size: 18px;
    border: none;
}

.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
}

.wp-pagenavi span.current {
    font-weight: bold;
}

.wp-pagenavi a:hover {
    transition: all 0.3s ease-in-out 0s;
}

.wp-pagenavi span.pages {
    padding: 4px 8px 4px 0;
}

.wp-pagenavi span.extend {
}


/** FOOTER
*****************************/

/* Footer Default */

#footer {
    padding: 15px 0;
    font-size: 13px;
}

.copyrights {
    padding: 0 0 15px 0;
    text-align: center;
}

.copyrights a {
} 

.copyrights a:hover {
    text-decoration: none;
} 

.footer-menu {
    padding: 15px 0;
    text-align: center;
}

.footer-menu a {
    text-decoration: none;
    font-weight: bold;
} 

.footer-menu a:hover {
    text-decoration: none;
} 

/* Colors */

body {
    background: #fff;
    color: #2c3e50;
}
    
a {
    color:#02a4cc;
}

a:hover, a:focus {
    color: #0ecfff;
}

#header {
    background: #34495e;
    border-bottom: 5px solid #5a728b;
}

#sidebar {
    background: #f4f4f4;
}

.nav-menu a {
    color: #fff;
}

.nav-menu a:hover, .nav-menu li:hover > a {
	color: #30c1e5;
}

.nav-menu li li a {
    color: #2c3e50;
}

.nav-menu ul {
    border-top: 2px solid #30c1e5;
}

.nav-menu ul li {
    background: #fff;
    border-top-color:  #f4f4f4;
}

.nav-menu ul li:hover {
   background: #f6f6f6;
}

.themebox {
    background: #fff;
    box-shadow: 0px 35px 20px -40px #999;
}

.themebox-content {
    border: 1px solid #ddd;
}

.themebox-title a {
    color: #2c3e50;
}

.themebox-title a:hover {
    color: #02a4cc;
}

.page-content {
    background: #f4f4f4;
}


.page-title {
    color: #34495e;
}

.single-content {
    background: #f4f4f4;
}

.entry-title {
    color: #34495e;
}

.entry-title a {
	color: #34495e;
    text-decoration: none;
}

.entry-title a:hover {
	color: #02a4cc;
}

.entry-themeinfo a {
    background: #02a4cc;
    color: #fff;
}

.entry-themeinfo a:hover {
    background: #30c1e5;
}

.entry-meta {
    color: #525252;
}

.archive-title {
    color: #34495e;
}


.contact-form textarea, .contact-form input {
    border-color: #c1c1c1;
}


.contact-form input[type='submit'] {
    background: #02a4cc;
    color: #fff;
}

.contact-form input[type='submit']:hover {
    background: #30c1e5;
}

.widget-area {
    color: #34495e;
}

.widget-area .widget-title {
    color: #34495e;
}

.widget-area .widget-title a, .widget-area .widget-title a:hover {
    color: #34495e;
}

.widget-area a {
    color: #34495e;
}

.widget-area a:hover {
    color: #30c1e5;
}

.search .s {
    background: #fff;
    color: #666;
}

.search .sfield {
    background: #fff;
    border-color: #ddd;
}

.search .sbutton{
    background: #02a4cc;
    color: #fff;
}

.search .sbutton:hover {
    background: #30c1e5;
}

.advanced-search h3 {
    color: #02a4cc;
}

.advanced-search input[type='submit'] {
    background: #02a4cc;
    color: #fff;
}


.advanced-search input[type='submit']:hover {
    background: #30c1e5;
}

.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
    color: #2c3e50;
    background:none;
}

.wp-pagenavi span.current {
    color: #02a4cc;
}

.wp-pagenavi a:hover {
    color: #02a4cc;
}

.wp-pagenavi span.pages {
    color: #2c3e50;
    background: none;
}

.wp-pagenavi span.extend {
    color: #2c3e50;
    background: none;
}

#footer {
    background: #34495e;
    border-top: 5px solid #5a728b;
}

.copyrights {
    color: #d7e7f6;
}

.copyrights a {
    color: #d7e7f6;
} 

.copyrights a:hover {
    color: #30c1e5;
} 

.footer-menu {
    color: #d7e7f6;
}

.footer-menu a {
    color: #d7e7f6;
} 

.footer-menu a:hover {
    color: #30c1e5;
} 


/** RESPONSIVE
*****************************/

@media only screen and (max-width: 1280px) {
    
    #main, .container {
        width: 90%;
        margin: 0 auto;
    }

    #content {
        width: 65%;
    }

    #sidebar {
        width: 35%;
    }
    
    .themebox {
        width: 47%;
        margin: 0 3% 40px 0;
    }
    
    .ap-footer {
        margin-top: 15px;
    }
}

@media only screen and (max-width: 1024px) {
    #main, .container {
        width: 98%;
        margin: 0 auto;
    }
    
    #content {
        width: 63%;
    }

    #sidebar {
        width: 37%;
    }
}

@media only screen and (max-width: 768px) {
    #logo {
        float: none;
        text-align: center;
    }
    
    .nav-menu-container {
        float: none;
    }
    

    #content {
        width: 50%;
        float: left;
    }

    #sidebar {
        width: 50%;
        float: left;
    }
    
    .themebox {
        width: 100%;
        margin: 0 0 40px 0;
    }
}


@media only screen and (max-width: 480px) {
    
    #content {
        width: 100%;
        float: none;
    }

    #sidebar {
        width: 100%;
        float: none;
    }
    .themebox {
        width: 98%;
        margin: 0 1% 40px 1%;
    }
}

.featured-theme:before { content: "Featured"; 
    position: absolute; 
    right: 0;
    top: 0;
    background: #F9AD29;
    color: #fff; 
    font-family: Arial;  
    font-weight: bold;
    padding: 5px; 
    width: 122px;  
    text-align: center;  
    transform: rotate(45deg); 
    margin-right: -32px;
    margin-top: 17px;
}

.themebox, .themebox-sceenshot {
    overflow: hidden; 
    position: relative;
}