/*
Theme Name: Advokátní kancelář - Markéta Tichá
Theme URI: http://www.akticha.cz
Author: Tomáš Potěšil
Author URI: http://www.potesil.com
Version: 1.0
*/

/*!
* Fonts
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

/*!
* Default
*/

html,
body {
    height: 100%;
}

body {
	font-family: "Montserrat", sans-serif;
    font-weight: normal;
    font-size: 16px;
    padding-left: 306px;
    background-color: #f1fafe;
    color: #000;
}

h1,
h2 {
	font-weight: 700;
	font-size: 3rem;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1f749e+0,3b728e+100 */
	background: #1f749e;
	background: -moz-linear-gradient(left,  #1f749e 0%, #3b728e 100%);
	background: -webkit-linear-gradient(left,  #1f749e 0%,#3b728e 100%);
	background: linear-gradient(to right,  #1f749e 0%,#3b728e 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1f749e', endColorstr='#3b728e',GradientType=1 );
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: uppercase;
	margin-bottom: 2.1875rem;
}

	h2 {
		font-size: 1.5rem;
		margin-bottom: 1.875rem;
		margin-top: 1.875rem;
	}

.btn-primary {
	border-radius: 0;
	padding: 1rem 2rem;
	line-height: 1;
	background-color: #3b728e;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 0.875rem;
	border-color: #3b728e;
	margin: 0 auto;
	display: table;
}

	.btn-primary:hover {
		background-color: #48a1c5;
		border-color: #48a1c5;
	}

.btn:active,
.btn:focus,
.btn.active,
select,
input,
textarea {
	outline: 0 !important;
	-webkit-box-shadow: none !important;
	      	box-shadow: none !important;
	           outline: none !important;
}

.btn:active,
.btn:focus,
.btn.active {
	color: #FFF;
	background-color: #48a1c5 !important;
	border-color: #48a1c5 !important;
}

input:active,
input:focus,
textarea:active,
textarea:focus {
	background-color: transparent !important;
	border-color: #2c627d !important;
}

.form-control {
	border-radius: 0;
	border-color: #48a1c5;
	background-color: transparent;
	padding: 1.25rem 1.5625rem;
	color: #2c627d !important;
	text-transform: uppercase;
	font-weight: 500;
}

::placeholder {
	color: #3c9bbf !important;
	text-transform: uppercase;
	font-weight: 500;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #3c9bbf !important;
	font-weight: 500;
	text-transform: uppercase;
}

::-ms-input-placeholder {
	color: #3c9bbf !important;
	font-weight: 500;
	text-transform: uppercase;
}

div.about-us .btn-primary {
	margin-top: 2.5rem;
}

@media (max-width: 1180px) {

	body {
		padding-left: 0;
	}

}

/*!
* Header
*/

header {
	padding: 3.75rem;
	color: #2f5f77;
	border-bottom: 1px solid #dfedf3;
}

	header a {
		color: #296c8d;
		transition: color 0.25s;
	}

		header a:hover,
		header .current_page_item a {
			color: #48a1c5;
			transition: color 0.25s;
			text-decoration: underline;
		}

	header .navbar {
		margin-top: 1.375rem;
	}

		header .navbar li:not(:last-child) {
			margin-right: 1.875rem;
		}

	header ul.contacts {
		font-weight: 500;
	}

		header ul.contacts li:not(:last-child) {
			margin-right: 1.875rem;
		}

	header ul.contacts i {
		font-size: 1.625rem;
		vertical-align: middle;
		margin-right: 0.9375rem;
	}

.navbar,
.navbar-expand-lg .navbar-nav .nav-link {
	padding: 0;
}

.navbar-brand {
	padding: 0;
	margin: 0;
}

.navbar-light .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(45,75,89,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggler {
	border: 0;
}

.navbar-brand.desktop {
	display: table;
    margin: 0 auto;
    margin-bottom: 2.3125rem;
}

/*!
* Sidebar
*/

div.sidebar {
	height: 100%;
	position: fixed;
	top: 0; left: 0;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#3e697f+0,314b58+100 */
	background: #3e697f;
	background: -moz-linear-gradient(top,  #3e697f 0%, #314b58 100%);
	background: -webkit-linear-gradient(top,  #3e697f 0%,#314b58 100%);
	background: linear-gradient(to bottom,  #3e697f 0%,#314b58 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e697f', endColorstr='#314b58',GradientType=0 );
	max-width: 306px; width: 100%;
}

	div.sidebar a {
		color: #FFF;
	}

		div.sidebar ul.services a::before {
			content: "";
			display: inline-block;
			vertical-align: middle;
			width: 0;
			height: 0;
			border-style: solid;
			border-width: 3px 0 3px 4px;
			border-color: transparent transparent transparent #ffffff;
			margin-right: 0.5rem;

		}

	div.sidebar span.title {
		font-size: 1.125rem;
		display: block;
		margin-bottom: 2.1875rem;
		font-weight: 600;
	}

div.logo {
	border-bottom: 1px solid #FFF;
	margin-bottom: 3.75rem;
}

	div.logo a {
		padding: 3.75rem;
		display: block;
	}

	div.logo img,
	.navbar-brand img {
		width: 181px; height: auto;
	}

	.navbar-brand.mobile img {
		width: 120px; height: auto;
	}

div.sidebar-content {
	padding-right: 2.8125rem;
	padding-left: 2.8125rem;
	color: #FFF;
}

ul.services li:not(:last-child) {
	margin-bottom: 0.5rem;
}

div.contacts {
	margin-top: 2.75rem;
	font-weight: 500;
	font-size: 0.9375rem;
}

	div.contacts p {
		margin: 0;
	}

	div.contacts i {
		font-size: 1.75rem;
		vertical-align: middle;
		margin-right: 0.9375rem;
	}

	div.contacts ul li:not(:last-child) {
		margin-bottom: 0.75rem;
	}

@media (max-width: 1180px) {

	div.sidebar {
		display: none;
	}

}

/*!
* Services
*/

div.services {
	margin-top: 3.75rem;
	margin-bottom: 3.75rem;
}

	div.services a {
		display: block;
		background-color: #2c627d;
		color: #FFF;
		text-align: center;
		position: relative;
		font-size: 1.25rem;
		transition: all 0.25s;
	}

		div.services a span {
			font-weight: 700;
			text-transform: uppercase;
			line-height: 1.5rem;
			position: absolute;
			top: 50%; left: 50%;
			transform: translate(-50%, -50%);
		}

	div.services a:hover {
		background-color: #48a1c5;
		transition: all 0.25s;
	}

		div.services a:hover span {
			text-decoration: underline;
		}

	div.services .row {
		margin-top: -1.25rem;
	}
	
		div.services [class*=col-] {
			margin-top: 1.25rem;
			padding-right: 10px;
			padding-left: 10px;
		}

	div.services a::before {
		content: "";
		position: absolute;
		top: 0; left: 0;
		background: url("img/b_service.png");
		background-repeat: no-repeat;
		background-position: center center;
		width: 100%; height: 100%;
	}

	div.services a::after {
		content: "";
		display: block;
		padding-bottom: 100%;
	}

	div.services .row {
		margin-right: -10px;
		margin-left: -10px;
	}

/*!
* Content
*/

div.content {
	max-width: 800px;
	padding-left: 3.75rem;
}

/*!
* Footer
*/

div.demand-form {
	padding-top: 7.5rem;
	padding-left: 3.75rem;
	margin-top: 7.5rem;
	border-top: 1px solid #dfedf3;
}

	div.demand-form-container {
		max-width: 800px;
	}

	div.demand-form span.title {
		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1f749e+0,3b728e+100 */
		background: #1f749e;
		background: -moz-linear-gradient(left,  #1f749e 0%, #3b728e 100%);
		background: -webkit-linear-gradient(left,  #1f749e 0%,#3b728e 100%);
		background: linear-gradient(to right,  #1f749e 0%,#3b728e 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1f749e', endColorstr='#3b728e',GradientType=1 );
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		text-transform: uppercase;
		font-size: 1.5rem;
		font-weight: 700;
		margin-bottom: 2rem;
		display: block;
	}

footer {
	margin-top: 6.5rem;
	color: #2f5f77;
	position: relative;
}

	footer span.title {
		font-size: 1.125rem;
		font-weight: 500;
		display: block;
		margin-bottom: 2.1875rem;
	}

	footer ul,
	footer p {
		margin: 0;
	}

	footer a,
	footer a:hover {
		color: #2f5f77;
	}

	footer ul.contacts {
		margin-bottom: 7.5rem;
	}

	footer li.phone,
	footer li.email {
		font-weight: 600;
	}

		footer li.phone {
			margin-top: 2.25rem;
			margin-bottom: 1rem;
		}

	footer i {
		font-size: 1.875rem;
		margin-right: 0.9375rem;
		vertical-align: middle;
	}

	li.created {
		font-size: 0.875rem;
	}

	#map {
		height: 500px;
	}

	div.footer-contacts {
		position: absolute;
		top: 3.75rem; left: 3.75rem;
		z-index: 1;
	}

	footer::before {
		content: "";
		position: absolute;
		top: 0; left: 0;
		max-width: 600px; width: 100%;
		height: 100%;
		z-index: 1;
		background: -moz-linear-gradient(left,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 38%, rgba(255,255,255,0) 100%);
		background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 38%,rgba(255,255,255,0) 100%);
		background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 38%,rgba(255,255,255,0) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
		opacity: 0.9;
	}

/*!
* Article
*/

article {
	margin-top: 3.75rem;
}

	article h1:not(:first-child) {
		margin-top: 2.75rem;
	}

/*!
* Animations
*/

.delay-1 {
	animation-delay: .25s;
}

.delay-2 {
	animation-delay: .75s;
}

.delay-3 {
	animation-delay: 1s;
}

.delay-4 {
	animation-delay: 1.25s;
}

.delay-5 {
	animation-delay: 2s;
}

/*!
* Responsive
*/

@media screen and (min-width: 1181px) {

	a.navbar-brand.desktop {
		display: none;
	}

	header div.content {
		padding-left: 0;
	}

}

@media screen and (max-width: 1180px) {

	div.content {
		max-width: none;
		padding-right: 15px;
		padding-left: 15px;
		margin-right: auto;
		margin-left: auto;
	}

	.demand-form-container,
	div.demand-form {
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}

	div.demand-form {
		max-width: none;
		padding-right: 15px;
		padding-left: 15px;
		margin-right: auto;
		margin-left: auto;
	}

	header ul.contacts {
		text-align: center;
	}

	header {
		padding: 0.9375rem 0;
	}

}

@media screen and (min-width: 768px) {

	div.content,
	.demand-form-container {
	    max-width: 720px;
	}

	a.navbar-brand.mobile {
		display: none;
	}

}

@media screen and (max-width: 767px) {

	header ul.contacts,
	a.navbar-brand.desktop {
	    display: none;
	}

	.navbar-nav {
	    padding-top: 1.875rem;
	    text-align: center;
	}

	.navbar-brand {
	    margin-bottom: 0;
	}

	header .navbar {
	    margin-top: 0;
	}

	div.services {
	    margin-top: 1.875rem;
	}

	header .navbar li:not(:last-child) {
	    margin-right: 0;
	}

	div.demand-form {
	    margin-top: 3.75rem;
	    padding-top: 3.75rem;
	}

	footer {
	    margin-top: 2.75rem;
	}

}

@media screen and (max-width: 550px) {

	div.services a {
		font-size: 1rem;
	}

}

@media screen and (min-width: 848px) {

	div.content,
	.demand-form-container {
	    max-width: 800px;
	}

}