﻿/*
Theme Name: Cooll Alpha
Theme URI: https://tutor.edu.gr/wordpress
Author: leonidas.tsaras@gmail.com
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cooll
*/

* {
	margin: 0px;
	padding: 0px;
	border: none;
	outline: none;
	text-decoration: none;
	box-sizing: border-box;
}

body {
	--mainColor: #b4c600;
	--maxPageWidth: 1200px;
	--headerMenuHeight: 80px;
	--topMenuHeight: 30px;
    --normalGray: #4B4F58; /*rgb(75 79 88)*/
    --lightGray: #ddd;
    --midGray: #7a7a7a;
    --darkGray: #333;
    --primaryColor: #b4c600;
    --linkColor: var(--normalGray);
    --bgColor: white;
    --textColor: #3a3a3a;

	font-family: 'Roboto', sans-serif;
	font-size: 16px;
    font-weight: 300;
    background-color: var(--bgColor);
}

b, strong {
    font-weight: 600px;
}

ul, ol {
    list-style: none;
    /*margin-left: 2rem;*/
}

ul li, ol li {
    line-height: 160%;
    margin-bottom: .7rem;
}

p {
    line-height: 160%;
    margin-bottom: .7rem;
}

a, a:visited {
    color: var(--normalGray);
}

img {
    vertical-align: middle;
}

/*
.col321 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 2%;
    margin: 1rem 0;
}
.col321 > div {
    margin-bottom: 1em;
    width: 32%;
}


.category321 > div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 4px 8px 16px var(--lightGray);
    transition: all .4s;
}

.category321 > div:hover {
    box-shadow: 4px 8px 16px var(--grayColor);
}


.category321 > div > a:first-child {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.category321 > div > a:first-child > h2 {
    margin: 1rem 0;
    justify-self: flex-end;
    color: var(--textColor);
}

.category321 > div > a:first-child > img {
    width: 100%;
    object-position: top;
    margin-bottom: .5em;
    height: auto;
}

.product321 > div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 4px 8px 16px var(--lightGray);
    transition: all .4s;
}
.product321 > div:hover {
    box-shadow: 4px 8px 16px var(--grayColor);
}

.product321 > div > a.woocommerce-LoopProduct-link {
    width: 100%;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product321 > div > a.woocommerce-LoopProduct-link > h2 {
    margin: 1rem 0;
    justify-self: flex-end;
}

.product321 > div > a.woocommerce-LoopProduct-link > img {
    width: 100%;
    object-position: top;
    margin-bottom: .5em;
    height: auto;
}
*/

main {
	width: 100%;
	margin: auto;
	max-width: var(--maxPageWidth);
}

main h1, main h2 {
	margin: 1.5rem 0 1rem;
	color: var(--mainColor);
}

main section.wide-banner {
	width: 100%;
}
main section.wide-banner img {
	width: 100%;
	height: auto;
}
main section.wide-banner img#i1 {
	display: block;
}
main section.wide-banner img#i2 {
	display: none;
}

/*main.footer-link-article img {
	width: 100%;
	height: auto;
}
main.footer-link-article h1 {
	text-align: center;
}
main.footer-link-article ul, main#footer-link-article ol {
    list-style: unset;
    line-height: 160%;
    margin: 0 0 0 2rem;
}
main.footer-link-article p {
	margin: 1rem 0 0.5rem;
}*/

main.footer-link {
	max-width: var(--maxPageWidth);
}
main.footer-link > h2 {
	margin-bottom: 1.2rem;
}
main.footer-link > h3 {
	margin-bottom: 1rem;
}
main.footer-link > h4 {
	margin-bottom: 0.8rem;
}



/* blog ---------------------------------------------------- */

main#blog > h1 {
	color: #7a7a7a;
	font-weight: 300;
}

main#blog > section {
	width: 100%;
	margin-top: 2rem;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

main#blog > section > div {
	width: 48%;
}

main#blog > section > div > h2 {
	color: #b4c600;
	font-size: 1.2rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

main#blog > section > div > p {
	margin-bottom: 1rem;
}
/* blog ---------------------------------------------------- */


/* single-post ---------------------------------------------------- */
main#single-post {
	width: 100%;
	max-width: var(--maxPageWidth);
	margin: 2rem auto;
}

main#single-post p {
	font-size: 1rem;
	color: var(--lightGray);
	margin-bottom: 0.5rem;
	line-height: 170%;
}
/* single-post ---------------------------------------------------- */


/* footer ============================================== */
footer {
	width: 100%;
	background-color: #3a3a3a;
	color: white;
	padding: 2rem 1rem 0;
}

footer a, footer p {
	line-height: 1.8rem;
}
footer section:first-child {
	width: 100%;
	max-width: var(--maxPageWidth);
	margin: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}
footer section:first-child > div {
	width: 24%;
}
footer section:first-child > div:first-child > a {
	display: inline;
}
footer section:first-child > div:first-child > a:first-child {
	display: block;
	margin-bottom: 2rem;
}
footer section:first-child > div:first-child > a:first-child > img {
	height: 65px;
	width: 100%;
	object-fit: contain;
	object-position: left;
}
footer section:first-child div h3 {
	color: inherit;
	font-size: 1.4rem;
	margin: 1.6rem 0px 1.2rem;
}
footer section:first-child div a {
	display: block;
	color: inherit;
	transition: all 0.5s;
	margin-top: 0.5rem;
}
footer section:first-child div:nth-child(2) a:hover {
	margin-left: 10px;
}

footer section:first-child form input[type='email'] {
	padding: 0.5rem;
	width: 100%;
	margin: 1.5rem 0;
}
footer section:first-child form input[type='submit'] {
	color: #3a3a3a;
	background-color: var(--mainColor);
	padding: 10px 40px;
	margin-bottom: 1.5rem;
}

footer section:first-child > div:nth-child(4) > p {
	margin: unset;
}
footer section:first-child > div:nth-child(4) > p > a {
	display: unset;
}
footer section:first-child > div:nth-child(4) img {
	width: 100px;
}

footer section:last-child > p { /* sub footer */
	border: solid 1px #7a7a7a;
	text-align: center;
}


/* footer ============================================== */

/*@media screen and (max-width: 1240px) {
	main {
		padding: 0 1%;
	}
}*/

@media screen and (max-width: 1200px) {
	main {
		padding: 0 1rem;
	}
	div.woocommerce {
		padding-left: 1%;
		padding-right: 1%;
	}
	
	footer section:first-child {
		justify-content: space-around;
	}
	footer section:first-child > div {
		width: 45%;
	}
}

@media screen and (max-width: 800px) {
	footer section:first-child > div {
		width: 100%;
	}

	main#contact-us > section:nth-child(1) {
		/*flex-wrap: wrap;*/
		flex-direction: column-reverse;
	}

	main#about-us > section#proffessional-systems {
		/*flex-direction: column;*/
		flex-wrap: wrap;
	}

	main#about-us > section#proffessional-systems > div:nth-child(2) {
		column-count: unset;
		width: 100%;
	}
	main section.wide-banner img#i2 {
		display: block;
	}
	main section.wide-banner img#i1 {
		display: none;
	}
}

@media screen and (max-width: 700px) {
	main#blog > section > div {
		width: 100%;
	}
}
