/*
file:	Main Style Sheet
year:	2020
author:	TVISTER TERATO
email:	info@tvisterterato.hr
site:	www.tvisterterato.hr
*/

@charset "utf-8";

/* General HTML Styles */

html {
	margin: 0;
	padding: 0;
	border: 0;
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	height: 100%;
	background: url("tvister-background.jpg") no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
}

* {
	box-sizing: border-box;
}

i {
	transition: all .3s linear;
}

div, span, p, em, a, time, dt, dd, tr, th, td, label, input, select, button, textarea, option, iframe, ul, li, font, h1, h2, h3, h4, h5, h6 {
	font-family: "Poppins", Arial, Tahoma, Calibri, Verdana, sans-serif;
	font-size: 18px;
	color: #555;
	font-weight: 400;
	text-decoration: none;
}
h1	{
	color: #464646;
	font-size: 24px;
	font-weight: normal;
	display: block;
	padding: 0;
}
h2	{
	color: #464646;
	font-size: 22px;
	font-weight: normal;
	display: block;
	padding: 0;
}
h3	{
	color: #464646;
	font-size: 20px;
	font-weight: normal;
	display: block;
	padding: 0;
}
h4	{
	color: #464646;
	font-size: 19px;
	font-weight: normal;
	display: block;
	padding: 0;
}
h5	{
	color: #464646;
	font-size: 18px;
	font-weight: normal;
	display: block;
	padding: 0;
}
h6	{
	color: #464646;
	font-size: 17px;
	font-weight: normal;
	display: block;
	padding: 0;
}
p {
	margin: 0;
	padding: 0 0 20px;
}
em {
	font-size: 18px;
	color: #2d2d2d;
	margin: 0;
	font-weight: 600;
	padding: 0 0 20px;
	font-style: normal;
	display: block;
}
a {
	font-size: 18px;
	color: #007ace;
	font-weight: 700;
	text-decoration: none;
	transition: all .3s linear;
}
a:hover {
	font-size: 18px;
	color: #000;
	text-decoration: none;
}
i {
	transition: all .3s linear;
	-webkit-transition: all .3s linear;
}
fieldset {
	width: auto;
	border: 0;
}
legend {
	color: #494949;
	font-size: 16px;
	font-weight: normal;
	padding: 0 5px;
}
input {
	background-color: #f2f2f2;
	border: 1px solid #c2c2c2;
	font-size: 13px !important;
	margin: 3px 0;
	padding: 5px;
	outline: none !important;
}
input:hover {
	background-color: #f4f4f4;
	border: 1px solid #c4c4c4;
	outline: none !important;
}
input:focus {
	background-color: #f4f4f4;
	border: 1px solid #c4c4c4;
	outline: none !important;
}
select {
	font-size: 13px !important;
	background-color: #f2f2f2;
	border: 1px solid #c2c2c2;
	padding: 3px 3px;
	outline: none !important;
}
select:hover {
	background-color: #f4f4f4;
	border: 1px solid #c4c4c4;
	outline: none !important;
}
select:focus {
	background-color: #f4f4f4;
	border: 1px solid #c4c4c4;
	outline: none !important;
}
option {
	font-size: 13px !important;
	background-color: transparent !important;
	padding: 0 5px;
	outline: none !important;
}
textarea {
	font-size: 13px !important;
	background-color: #f2f2f2;
	border: 1px solid #c2c2c2;
	padding: 5px;
	height: 150px;
	margin: 3px 0;
	outline: none !important;
}
textarea:hover {
	background-color: #f4f4f4;
	border: 1px solid #c4c4c4;
	outline: none !important;
}
textarea:focus {
	background-color: #f4f4f4;
	border: 1px solid #c4c4c4;
	outline: none !important;
}

/*wrapper*/

.wrapper {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 40px 0;
	display: table;
	position: relative;
}

.wrapper a, img {
	outline: none !important;
}

.wrapper a:hover, a:visited, a:active,
.wrapper input, .wrapper input:hover, .wrapper input:focus, .wrapper input:active, .wrapper input:visited {
	outline: none !important;
}

:focus {
	outline: none;
}
::-moz-focus-inner {
	border:0;
}

/*header*/

header {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	display: table-row;
	vertical-align: middle;
	text-align: center;
}

.main_section {
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.main_section img {
	max-height: 128px;
	margin: 0 auto;
	padding: 0;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: table;
}

/*our projects*/

.our_projects {
	width: 80%;
	margin: 40px auto 0;
	padding: 40px 0;
	display: table;
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.our_projects h1 {
	font-size: 24px;
	color: #000;
	font-weight: 700;
	margin: 0;
	padding: 0;
}

.our_projects div {
	/*width: 33.33%;*/
	width: 50%;
	float: left;
	margin: 40px 0 0;
	padding: 0;
	border-right: 1px solid rgba(0,0,0,0.10);
}

/*
.our_projects div:nth-of-type(3n) {
	border-right: none;
}
*/

.our_projects div:nth-of-type(2n) {
	border-right: none;
}

.our_projects div img {
	max-height: inherit;
	max-width: inherit;
	width: 50%;
	display: flex;
}

.link_button {
	font-size: 12px;
	color: #fff;
	font-weight: 500;
	margin: 0 auto;
	display: table;
	padding: 5px 15px;
	background: #2d2d2d;
	border-radius: 50px;
}

.link_button:hover {
	font-size: 12px;
	color: #fff;
	background: #007ace;
}








@media only screen and (min-width: 0px) and (max-width: 800px) {

.main_section img {
	max-height: 64px;
}

.our_projects div {
	width: 100%;
	float: none;
	display: table;
	border-right: none;
	border-bottom: 1px solid rgba(0,0,0,0.10);
	padding: 0 0 20px;
}

.our_projects div:last-of-type {
	border: none;
	padding: 0;
}

.our_projects div img {
	max-height: inherit;
	max-width: inherit;
	width: 50%;
	display: flex;
}

}





