/*
Theme name: Omegapiezo - Shapely Child
Theme URI: http://www.omegapiezo.com
Description: Child theme extending Shapely theme, modified according to the needs of Omega Piezo Technologies inc.
Author: Augustas Giedraitis
Author URI: https://lt.linkedin.com/in/augustas-giedraitis-0982a7129
Template: shapely
Version: 1.0
*/

/* Parent's style */
@import url("../shapely/style.css");

/* Going for combination of two fonts - 'Montserrat' and 'Vollkorn' */
@import url('https://fonts.googleapis.com/css?family=Montserrat|Vollkorn:400,400italic,700');





h1, h2, h3, h4, h5, h6, h2 a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 16px;
}

input, textarea {
    font-family: 'Calibri', 'Vollkorn', serif !important;
}

body {
	font-family: 'Calibri', 'Vollkorn', serif;
}

p, li, blockquote {
    font-family: 'Calibri', 'Vollkorn', serif;
    font-weight: 400;
    color: #4c4c4c;
}

/* Remove special cursor from wordpress pages header images */
article header a {
    cursor: default;
}

/* Contact 7 form */
form.wpcf7-form p {
    margin: 0;
}

/* Contact 7 form */
form.wpcf7-form input {
    height: 30px;
}

/* Contact 7 form */
form.wpcf7-form textarea {
    padding: 3px 3px 3px 20px;
}

/* Contact 7 form */
form.wpcf7-form input.wpcf7-submit {
    height: 50px;
}

/* Increase width of dropdown menu */
ul.dropdown-menu {
    width: 275px !important;
}

/* Edit table elements */
table.table {
    color: black;
    width: fit-content;
    border: 1px solid #ddd;
}

table.table td {
    border: 1px solid #ddd;
}

/* Reduce padding of tables drastically */

table.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 2px;
    padding-left: 8px;
}

/* Align table headers to the right side */
table.table th {
    text-align: right;
}

/* Class for text align left */
.text-align-left {
    text-align: left !important;
}

/* Class for text align right */
.text-align-right {
    text-align: right !important;
}

/* Class for text align center */
.text-align-center {
    text-align: center !important;
}

/* Class for text vertical align middle */
.cell-vertical-align-middle {
    vertical-align: middle !important;
}

/* Omega letters in the header in main page */
span.omega {
    color: #ff9292;
}

/* Reduce post content image size */
.post-content .entry-header img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto; 
}

/* Home page welcome div */
div.shapely_home_parallax section.fullscreen div.align-transform {
    top: 35%;
}

/* Home page welcome text div */
div.shapely_home_parallax section.fullscreen div.text-center {
    width: 80%;
    margin-left: 10%;
    text-align: left;
}

/* Home page welcome text */
div.shapely_home_parallax section.fullscreen h1 {
    font-size: 65px;
    text-shadow: 0px 2px 3px #555;
}

/* Home page welcome small text */
div.shapely_home_parallax section.fullscreen p {
    font-size: 21px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0px 2px 3px #555;
}

/* Portfolio header background color BECAUSE OF THEME BUG */
section.projects {
    background-color: #ffffff !important;
}

/* Portfolio header text color BECAUSE OF THEME BUG */
section.projects h3 {
    color: black !important;
}

/* Navigation element */
nav#site-navigation {
    padding-top: 0px;
    padding-bottom: 0px;
}

/* Links in navigation */
nav#site-navigation a {
    font-size: 18px;
}

/* Home portfolio img hover cursor */
div.project.masonry-item div a img:hover {
    cursor: default !important;
}

/* Home portfolio link hover cursor */
div.project.masonry-item div a:hover {
    cursor: default !important;
}

/* Hide unnecessary post content */
.author-bio, #comments, .shapely-related-posts {
    display: none;
}

/* Hide unnecessary post content */
span.shapely-category {
	display: none;
}

/* Recent news listing */
.listing-item {
    margin: 0 auto;
    margin-top: 50px;
    height: 5em;
    background: #F2F2F2;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 2px #fff inset,
    -1px -1px 2px #fff inset;
}

/* Recent news listing */
.listing-item a {
    display: inline-block;
    vertical-align: middle;
	width: 100%;
	height: 100%;
	margin-left: 15px;
	font-size: 25px;
    
	/* Text style */
	color: #4c4c4c;
	font-family: 'Calibri', 'Vollkorn', serif !important;
	text-transform: uppercase;
}

/* Recent news listing */
.listing-item:hover {
    background-color: #fcfcfc;
}

/* Recent news listing */
.listing-item span.date {
	float: right;
}

/* Color every other row of tables greyish  */
table.table > tbody > tr:nth-child(even) {
    background: #eee;
}

span.how-found span.wpcf7-not-valid-tip {
	margin-top: 0px !important;
}

/* Table headers darker grey
table.table > th {
    background: #8A8A8A;
} */

/* Table header row darker grey */
table.table thead > tr,
table.table thead > tr > th {
    background: #8A8A8A !important;
}

/* Bigger screens (laptops and over) */
@media(min-width: 1200px) {
    div.nav-bar {
        width: 85%;
    }

}

/* Mobile screens */
@media(max-width: 768px) {
    /* Home page welcome text */
    div.shapely_home_parallax section.fullscreen h1 {
        font-size: 33px;
    }

    /* Home page welcome small text */
    div.shapely_home_parallax section.fullscreen p {
        font-size: 15px;
    }

    .listing-item a {
        font-size: 20px;
    }
}

@media (max-width: 1025px) {
    div#main div#shapely_home_parallax-4 {
        display: none;
    }
}

/* HIDE UNNECESSARY STUFF */


/* Hide posts search result side menu */
aside#secondary {
    display: none;
}

/* Hide posts header div */
div.header-callout {
    display: none;
}

/* Hide posts info about date and poster */
div.entry-meta {
    display: none;
}

/* Hide post image header */
article#post-106 header {
    display: none;
}

/* Hide post image header */
article#post-67 header {
    display: none;
}

/* Hide post image header */
article#post-62 header {
    display: none;
}

/* Hide post image header */
article#post-41 header {
    display: none;
}

/* Hide post image header */
article#post-69 header {
    display: none;
}

/* Hide post image header */
article#post-71 header {
    display: none;
}

/* Hide post image header (only in post) */
article#post-77 header.nolist {
    display: none;
}

/* Increase certain post image */
article#post-58 .entry-header img {
    max-height: 300px;
}

article#post-398 h2.post-title a {
	text-transform: none !important;
}

/* Hide post title */
article.type-post > div.entry-content > h2.post-title {
    display: none;
}

/* Override calibri font so that only digits are used */
@font-face {
    src: local('Calibri');
    font-family: 'Calibri';
    unicode-range: U+30-39;
}