/*  ------           COMMON STYLES               ----- */
/*  ------ (c) 2018 ForNext Software Development ----- */
/*  ------          www.ForNext.nl               ----- */

:root {
	--back-color: white; 
	--pri-color: #312783;  
	--sec-color: #82368d;  
	--text-color: #312783;  
	--hi-color: #F21E1E;  
}

body {
	overflow-x:hidden;
	color: var(--text-color);
	background-color: var(--back-color);
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: 10px;
	font-weight: 300; 
	font-style: normal; 
}

h0 { font-size: 4em; }
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1.12em; }
h5 { font-size: .83em; }
h6 { font-size: .75em; }

footer {
	margin: 20px;
}

.txt-themecolor {
    color: var(--text-color);
}

.txt-black {
    color: #000000;
}

.txt-italic {
	font-style: italic;
}

.txt-bold {
	font-weight: bold;
}

.txt-underline {
	text-decoration: underline;
}

.hr {
    border: 1px solid var(--pri-color); 
}

.line-header {
	font-size: 2.0em;
    margin-top: 10px;
    margin-bottom: 10px;
}

a {
	color: var(--text-color);
}

a:hover {
	color: var(--hi-color);
	text-decoration-line: underline;
    cursor: pointer;
}

a img:hover {
	background-color: var(--pri-color);
    cursor: pointer;
}

.img-link {
	max-width: 150px;
}

.img-link:hover {
	background-color: var(--pri-color);
    cursor: pointer;
}

.btn-themecolor {
	font-size: 1.6em;
	border:2px solid #000000;
    border-radius: 8px;
    color: var(--pri-color);
	background-color: var(--back-color);
}

.btn-themecolor:hover {
    color: var(--pri-color);
    background-color: var(--hi-color);
}

/* ------ TOP BAR ----- */

.top-bar {
    min-height: 32px;
	color: white;
    background-color: var(--pri-color);
}

.top-bar .header {
	padding-top: 0px;
	padding-bottom: 2px;
	padding-left: 20px;
	padding-right: 20px;
    font-size: 1.6em;
}

.top-bar a {
	color: white;
}

.top-bar a:hover {
	color: var(--hi-color);
}

/* ------ TOP MENU ----- */

.top-menu {
    background-color: #FEFEFE;
    z-index: 1;
    width: 100%;
}

#nav-bar {
	align-self: flex-end;
}

.navbar {
    border: none;
}

.navbar-brand {
    padding: 0;
	height: 120px;
}

.navbar-title {
	vertical-align: bottom;
    font-family:  "Brush Script Std";
    font-size: 2.4em;
	margin: 0;
}

.navbar-nav {
	flex-direction: row;
	background-color: #DDDDDD;
	border-color: #666666;
	border-bottom-style: ridge;
	border-right-style: ridge;
	border-radius: 4px;
    font-size: 1.6em;
}

.nav-item {
	padding-left: 10px;
	padding-right: 10px;
}

.nav-link {
    color: var(--text-color);
}

.nav-item .active {
    color: var(--pri-color);
}

/* ------ PHOTO ----- */

.photo {
	position: relative;
}

.photo-text {
	color: var(--pri-color);
	background-color: white;
    border-radius: 10px;
    font-size: 60px;
    font-style: bold;
    position: absolute;
    padding: 6px;;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0%);
	text-align: center;
}

.photo-item {
	width: 100%;
}

/* ------ CAROUSEL ----- */

.carousel {
	background-color: var(--back-color);
	background-image: url('../images/banner.jpg');
	background-position: center top;
	background-repeat: no-repeat;	
	background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
    margin-top: 10px;
    height: 100px;
}

.carousel-item {
	height: 100px;
}

.carousel-text {
    font-size: 6.4em;
	font-weight: bold;
	text-align: center;
	color: white;
	text-shadow: 2px 2px #000000;
}

.carousel-img {
	display: block;
	margin-left: auto;
    margin-right: auto;
}

/* ------ WELCOME / SLOGAN / CROSS-SLIDES ----- */

.welcome {
    min-height: 60px;
}

.welcome-item {
	display: flex;
	justify-content: center;
	font-size: 1.8em;
    margin-bottom: 10px;
}

.slogan {
    font-weight: normal;
    font-size: 3.6em;
    margin: 40px 0 20px 0;
}

.cross-slides {
	max-width: 900px;
  	height: 450px;
}

/* ------ SERVICE ----- */

.service {
    margin-bottom: 10px;
    margin-top: 10px;
}

.service-item {
	font-size: 1.8em;
    margin-bottom: 10px;
}

.service-item img {
	width: 100%;
}

.service-item p {
    text-align: left; 
}

.service-item-header {
    margin-left: -10px; 
    padding: 16px 20px 20px; 
    font-size: 1.4em;
    font-weight: bold;
    display: inline-block;
}

/*  ------ PORTFOLIO ----- */

#portfolio {
    margin-bottom: 10px;
    margin-top: 10px;
	background-color: var(--back-color);
}

.portfolio-overlay {
 	position: absolute;
    background-color: rgba(130, 54, 151, 0.9);
    border : 2px solid #000000;
 	visibility: hidden;
    text-align:center;
    padding: 10%;
    color: #FFFFFF;
    height: 100%;
    width: 100%;
    opacity: 0;
    right: 0;
    top: 0;
}

.portfolio-overlay hr {
    width : 70%;
    border: 2px solid #000000; 
}

.portfolio-gallery {         
	background-color: var(--back-color);
	background-position: center top;
	background-repeat: no-repeat;	
	background-attachment: fixed;
	padding: 0;
}

.portfolio-gallery .row {     
    display: flex;
    margin: 0;
	padding: 10px;
}

.portfolio-gallery li {
    display: flex;
	list-style: none;
	margin: 0px;
	padding: 10px;
}

.portfolio-box {
    flex: 25%;
    background-color: rgba(255, 255, 255, 0.7);
    background-size: cover;
    cursor: pointer;
	border-style: inset;
	border-color: var(--pri-color);
	border-radius: 4px;
}

.portfolio-box img {
    width:100%;
    height:100%;
}

.portfolio-box:hover .portfolio-overlay {
    transition: all 0.5s ease-in-out 0s;
    visibility: visible;
    opacity: 1;
}

/*  ------ CONTACT ----- */

#contact {
    margin-bottom: 10px;
    margin-top: 10px;
	background-color: var(--back-color);
}

.contact-map {
	border: none;
	width: 100%; 
	height: 300px;
}

.contact-left iframe {
	margin: 5px;
}

.contact-right {
	font-size:16px;
}

.contact-right img {
	background-color: var(--pri-color);
	padding: 2px;
	margin: 5px;
	border-radius: 2px;
}

.contact-addon {
	display: none;
}

.contact-box {
	border-style: inset;
	border-width: 5px;
	border-color: blue;
	padding: 4px;
	margin: 10px;
	text-align: center;
	font-size: 20px;
}

#sendmail:hover {
	color: var(--hi-color);
	cursor: pointer;
}

/*  ------ FOOTER ----- */

.footer {
    margin-bottom: 10px;
    margin-top: 10px;
	font-size: 1.6em;
	text-align: center;
	background-color: var(--back-color);
}

.footer a {
	color: var(--pri-color);
}

/*  ------ ALERT ----- */
.alert {
	display: none;
	color: #1010A0;
	text-align: center;
	background-color: rgba(174, 205, 250, 0.9);
	width: 300px;
	height: 200px;
	position: fixed; 
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) !important;
    z-index: 999; 
    overflow: auto; 
	padding: 10px;
	border-width: 5px;
	border-style: groove;
	border-color: #1010A0;
	border-radius: 10px;
}

.alert-img
{
	color: red;
	margin-top: 4px;
	max-height: 50px;
}

.alert-text
{
	font-size: 18px;
	display: inline-block;
	margin-top: 20px;
	vertical-align: middle;
}

.alert-closebtn {
	margin-left: -10px;
	color: #000000;
	font-weight: bold;
	float: right;
	font-size: 36px;
	line-height: 20px;
	cursor: pointer;
	transition: 0.3s;
}
  
.alert-closebtn:hover {
	color: red;
}

/* ------ MEDIA ----- */

@media (min-width: 576px) AND (max-width: 992px) {
	.col-lg-4 {
		padding: 10px;
	} 
	
	.col-md-4 { 
		padding: 10px;
	}
	
	.col-sm-4 {
		padding: 10px;
	}
	
	.col-lg-8 {
		padding: 5px;
	} 
	
	.col-md-8 { 
		padding: 5px;
	}
	
	.col-sm-8 {
		padding: 5px;
	}
}

@media (max-width: 413px) {
	body {
		font-size: 7px;
	}
	
	.container {
		padding: 5px;
	}
	
	.navbar {
		padding: 0;
	    justify-content: center;
	}
	
	.navbar-brand {
		width: 300px;	
	}

	.photo-text {
		width: 300px;	
		font-size: 16px;
	}

	.cross-slides {
		width: 300px;	
		height: 180px;
	}
}

/* ------ MEDIA ----- */
@media (min-width: 414px) {
	body {
		font-size: 7.5px;
	}
	
	.container {
		padding: 5px;
	}
	
	.navbar-brand {
		width: 380px;	
	}

	.cross-slides {
		width: 380px;	
		height: 224px;
	}
}

@media (min-width: 576px) {
	body {
		font-size: 8px;
	}
	
	.cross-slides {
		width: 250px;	
		height: 150px;
	}
	
	h1 {
		font-size: 1.0em;
	}

	h2 {
		font-size: 0.8em;
	}
}

@media (min-width: 768px) {
	body {
		font-size: 8.5px;
	}
	
	.welcome-item {
		justify-content: left;
	}
	
	.cross-slides {
		width: 340px;	
		height: 204px;
	}
}

@media (min-width: 992px) {
	body {
		font-size: 9px;
	}
	
	.cross-slides {
		width: 460px;	
		height: 280px;
	}
	
	h1 {
		font-size: 2.0em;
	}

	h2 {
		font-size: 1.5em;
	}
}

@media (min-width: 1200px) {
	body {
		font-size: 9.5px;
	}
	
	.cross-slides {
		width: 550px;	
		height: 330px;
	}
}

@media (min-width: 1600px) {
	body {
		font-size: 10px;
	}
	
	.cross-slides {
		width: 740px;	
		height: 450px;
	}
	
	.container {
		max-width: 1520px;
	}
}

@media (min-width: 1920px) {
	body {
		font-size: 10.5px;
	}
	
	.cross-slides {
		width: 790px;	
		height: 470px;
	}
	
	.container {
		max-width: 1620px;
	}
}

