@charset "utf-8";
/* CSS Document - Daniel Oliveira - 2018 */

* {
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: Lora;
	src: url(fonts/Lora-Bold.ttf) format('truetype');
	font-weight: 700;
} 

@font-face {
	font-family: Muli;
	src: url(fonts/Muli-Light.ttf) format('truetype');
	font-weight: 300;
}

@font-face {
	font-family: Muli;
	src: url(fonts/Muli-Bold.ttf) format('truetype');
	font-weight: 700;
} 

body {
	font: 300 1em/1.45em "Muli";
	color: #000;
	background-color: #ddd;
}

#mainwrapper {
	max-width: 1920px;
	margin: auto;
	background-color: #fff;
}

a {
	color: #007cc9;
	text-decoration: none;
}

a:visited {
	color: #e35b9f;
}

a:hover {
	color: #333;
}

h1 {
	font-family: Lora;
}

strong {
	font-weight: 700;
}

.redcolor, li {
	color: #83203b;
}

a.navselected {
	font-weight: bold;
}

header {
    border-top: 20px solid #83203b;
}

#headerleft {
    float: left;
    display: block;
    padding: 25px 0 35px 70px;
    box-sizing: border-box;
}

#headerleft img {
	width: 390px;
	height: auto;
}

#headerright {
    float: right;
    padding: 32px 70px 0 0;
}

#headercenter {
    margin: auto;
    width: 350px;
    padding: 40px 0 0;
}

#headerright a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: 120px;
    box-sizing: border-box;
    padding: 90px 0 0 0;
    font-size: 1.1em;
	background-size: 89px auto;
    background-repeat: no-repeat;
    background-position: center top;
	color: #333;
}

#headerright a:hover {
	opacity: 0.85;
}

#headerright a:nth-child(1) {
    background-image: url(images/icon-home.png);
}

#headerright a:nth-child(2) {
    background-image: url(images/icon-services.png);
}

#headerright a:nth-child(3) {
    background-image: url(images/icon-about.png);
}

#headerright a:nth-child(4) {
    background-image: url(images/icon-contact.png);
}

#herohome {
    clear: both;
    width: 100%;
    background-image: url(images/pic-court.jpg);
    background-size: cover;
    height: 370px;
    overflow: hidden;
    border-bottom: 60px solid #83203b;
    color: #fff;
    position: relative;
}

#herohome::after, #herointerior::after {
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

#herocontent {
	position: relative;
    top: 50%;
    transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	z-index: 2;
}

#herohome h1 {
    font-size: 2.4em;
    line-height: 1.3em;
    margin: auto;
    display: table;
	text-align: center;
	padding: 0 20px;
}

#herohome h1::after {
    content: "";
    width: 300px;
    display: block;
    margin: 25px auto 22px;
    border-top: 1px solid #999;
}

#herohome p {
    margin: 0 auto;
    text-align: left;
    font-size: 1.3em;
    line-height: 1.5em;
    border-left: 5px dotted #aaa;
    padding: 0 0 0 20px;
    display: table;
    width: 1000px;
}

article {
	box-sizing: border-box;
	padding: 50px 70px;
	font-size: 1.1em;
	line-height: 1.8em;
}

article img {
	float: right;
	width: 300px;
	height: auto;
	margin: 0 0 30px 30px;
}

article p {
	margin: 0 0 1.3em 0;
}

footer {
    clear: both;
    text-align: center;
    padding: 50px 20px;
    line-height: 1.7em;
}

footer::before {
    content: "";
    width: 600px;
    display: block;
    margin: 25px auto 22px;
    border-top: 1px solid #ccc;
}

#herointerior {
    clear: both;
    width: 100%;
    background-image: url(images/pic-court.jpg);
    background-size: cover;
    height: 180px;
    overflow: hidden;
    border-bottom: 40px solid #83203b;
    color: #fff;
    position: relative;
}

#herointerior h1 {
	color: #fff;
	z-index: 2;
	position: relative;
	font-size: 2.5em;
	top: 50%;
    transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	margin: auto;
	display: table;
}

#herointerior h1::before, #herointerior h1::after {
	content: "";
    width: 100px;
    display: block;
	border-top: 3px dotted #999;
}

#herointerior h1::before {
    float: left;
    margin: 12px 15px 0 0;
}

#herointerior h1::after {
    float: right;
    margin: 12px 0 0 15px;
}

article ul {
    margin: 0 80px 0 17px;
    float: left;
}

article li span {
	color: #000;
}

@media (max-width: 1500px) {
	
#headerleft {
    padding: 25px 0 35px 30px;
}

#headerright {
    padding: 32px 30px 0 0;
}

#headerleft img {
    width: 330px;
}

#headerright {
    padding: 25px 30px 0 0;
}

#headerright a {
    width: 105px;
}

#headercenter {
    padding: 30px 0 0;
    left: -40px;
    position: relative;
}
	
}

@media (max-width: 1279px) {
	
#headercenter {
    font-size: 0.9em;
}

#headerright a {
    width: 90px;
    padding: 67px 0 0 0;
    font-size: 1em;
    background-size: 70px auto;
}

#headerleft img {
    width: 260px;
}

#headerleft {
    padding: 25px 0 35px 20px;
}

#headerright {
    padding: 25px 10px 0 0;
}

#headercenter {
    font-size: 0.88em;
    left: -25px;
    padding: 22px 0 0 0;
    line-height: 1.6em;
}

#herohome p {
    font-size: 1.2em;
    line-height: 1.5em;
    padding: 0 20px 0 20px;
    width: 80%;
}

article ul {
    float: none;
	margin: 0 0 0 17px;
}

article {
    padding: 40px;
}
	
}

@media (max-width: 1023px) {
	
#headercenter {
    display: none;
}

#herohome h1 {
    font-size: 2.3em;
}

#herohome h1::after {
    margin: 20px auto 20px;
}

article {
    padding: 40px 30px;
}

#headerleft {
    padding: 25px 0 35px 30px;
}

#headerright {
    padding: 25px 20px 0 0;
}

article img {
    width: 250px;
}

footer {
    padding: 30px 20px 40px 20px;
}

}

@media (max-width: 767px) {
	
html {
	-webkit-text-size-adjust: none;
	}	
	
#headerleft {
    padding: 15px 0 0 0;
    float: none;
    width: 100%;
    text-align: center;
}

#headerright {
    padding: 25px 0 20px;
    float: none;
	text-align: center;
}

#headerright a {
    width: 80px;
    padding: 58px 0 0 0;
    background-size: 60px auto;
}

#herocontent {
    top: auto;
    transform: none;
	-webkit-transform: none;
}

#herohome {
    height: auto;
    border-bottom: 30px solid #83203b;
	padding: 25px 0 30px;
}

#herohome h1 {
    font-size: 1.7em;
    display: block;
}

#herohome h1::after {
    width: 250px;
}

#herohome::after {
    background: rgba(0,0,0,0.8);
}

article img {
    width: 40%;
    margin: 0 0 15px 15px;
}

article {
    padding: 40px 20px 0;
}

#herointerior {
    height: 100px;
    border-bottom: 20px solid #83203b;
}

#herointerior h1 {
    font-size: 1.8em;
}

#herointerior h1::before, #herointerior h1::after {
    width: 50px;
}

footer::before {
    width: 250px;
}
	
}

@media (max-width: 359px) {

#headerright a {
    width: 72px;
    padding: 58px 0 0 0;
    background-size: 60px auto;
}
	
}
