﻿/*******************************************/
/*************** GENERAL *******************/
/*******************************************/
  
  		div.button3 {
         background-color: #e81a13;
         border: 1px solid black;
         color: white;
         padding: 20px 34px;
         text-align: center;
         text-decoration: none;
         display: inline-block;
         font-size: 20px;
         margin: 4px 2px;
         cursor: pointer;
         }

	
  		.button {
         background-color: #328FFA;
         border: 1px solid black;
         color: #ffffff;
         padding: 20px 34px;
         text-align: center;
         text-decoration: none;
         display: inline-block;
         font-size: 20px;
         margin: 4px 2px;
         cursor: pointer;
         }
  	


/* just in case, here is the CSS for FROSTED GLASS effect:

div.content::before {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	background-image: url('../gui/background.jpg');
	background-size: contain;
	background-attachment: fixed;
	background-position: center;
	background-repeat: repeat;
	width: 100%;
	height: 100%;
	-webkit-filter: blur(2px);
	-moz-filter: blur(2px);
	-o-filter: blur(2px);
	-ms-filter: blur(2px);
	filter: blur(2px);
}

*/

/* IMAGES */

.img4x3 {
	width: 100%;
	background-size: cover;
}
.img4x3::before {
	content: "";
	display: block;
	padding-top: 75%;
}

img {
	max-width: 100%;
}

/* LINKS */

a {
	text-decoration: none;
	color: black;
}

a.generic:link {
	color: #4592d2;
}

a.generic:visited {
	color: #9b45d2;
}

a.generic:hover {
	text-decoration: underline;
}

a.generic:active {
	color: #f6ac42;
}

/* STRONG */

strong {
	color: #328FFA;
}

/*******************************************/
/************** STRUCTURAL *****************/
/*******************************************/

/* ALL ELEMENTS */

* {
	box-sizing: border-box;
	border-width: 1px;
	border-color: rgba(0,0,0,0.5);
}

/* BODY */

body {
	font-family: "Open Sans", sans-serif;
	font-size: 90%;
	color: black;
	background-image: url('../gui/background.jpg');
	background-position: center;
	background-size: contain;
	background-repeat: repeat;
	background-attachment: fixed;
	margin: 0;
}

/* HEADER AND LOGO */

div.header {
	background-color:black;
	background-image:url('../gui/h-background.png');
	background-position: right center;
	background-size: contain;
	background-repeat: no-repeat;
	border-style:none;
	overflow:hidden;
}

div.logo {
	background-image:url('../gui/logo.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-color: black;
	width:550px;
	max-width: 100%;
	overflow:auto;
	box-shadow: 20px 0px 100px 100px rgb(0,0,0);
}

div.logo::before {
	content: "";
	display: block;
	padding-top: 19.03%
}

/* NAVIGATION BAR */

/* Part 1 : The containing <div> */

div.navbar {
	position: relative;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index:1;
	padding:0;
}

/* Part 2 : Basic <ul> and <li> properties */

ul.buttons {
	list-style-type:none;
	margin:auto;
	padding:0;
	background-color: #ffffff;
	overflow:hidden;
}

ul.buttons li {
	float:left;
}

ul.buttons li > a {
	padding: 15px 16px 16px 16px;
    display: block;
	transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
}

ul.buttons li.active > a {
	color:#f9f9f9;
	background-color:#328FFA;
}

ul.buttons li.inactive:hover > a {
	background-color: #dddddd;
}

ul.buttons li.not-link > span {
	padding: 15px 16px 16px 16px;
	display: block;
}

/* Part 3 : The content of the dropdown menu */

div.dropdown-content {
	display: block;
	transform: scale(1,0);
	-webkit-transform: scale(1,0);
	transform-origin: center top;
	-webkit-transform-origin: center top;
	opacity:0;
	transition-duration: 0.4s;
	-webkit-transition-duration: 0.4s;
	position: absolute;
	background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index:1;
}

ul.buttons li:hover div.dropdown-content {
	transform: scale(1,1);
	-webkit-transform: scale(1,1);
	opacity:1;
}

div.dropdown-content > a {
    padding: 12px 16px;
    display: block;
	transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
}

div.dropdown-content > a:hover {
	background-color: #f1f1f1;
}

/* NAVIGATION BAR - MOBILE */

ul#mobile-nav {
	display: none;
}

li#toggle {
	float: right;
}

li#toggle div {
	cursor: pointer;
	width: 50px;
	height: 50px;
	background-image:url('../gui/toggle.svg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 50px 50px;
}

.mobile-expansion {
	display: none;
	overflow: hidden;
	background-color: #f9f9f9;
	-webkit-animation-duration: 0.4s;
	animation-duration: 0.4s;
}

.mobile-expansion a {
	display: block;
	padding: 12px 16px;
	text-decoration: none;
	color: #041943;
}

.mobile-expansion a:hover {
	background-color: #f1f1f1;
}

@-webkit-keyframes slide-down {
	from {height: 0;}
	to {height: 173px;}
}

@keyframes slide-down {
	from {height: 0;}
	to {height: 173px;}
}

@-webkit-keyframes slide-up {
	from {height: 173px;}
	to {height: 0;}
}

@keyframes slide-up {
	from {height: 173px;}
	to {height: 0;}
}

/* CONTENT */

div.content {
	overflow: auto;
	margin: 0 5% 10px 5%;
	background-color: rgba(0,0,0,0.05);
	position: relative;
	border-radius: 0px 0px 4px 4px;
}

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

div.content {
	margin: 0;
	border-radius: 0;
}

}

/* ROWS AND CARDS */

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

div.row::after {
	content: "";
	clear: both;
	display: block;
}

div.row > * {
	background-color: #ffffff;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	border-radius: 2px;
	overflow: hidden;
	margin-top: 10px;
	margin-left: 10px;
	float: left;
}

div.row > *:first-child {
	margin-left: 0;
}

div.row:last-child > * {
	margin-bottom: 10px;
}

div.row > *::after {
	content: "";
	clear: both;
	display: block;
}

div.card {
	width: 100%;	
}

div.card-half {
	width: calc((100% - 10px)/2);
}

div.card

div.card-third {
	width: 33%;
}



div.card-fourth {
	width: calc((100% - 30px)/4);
}

div.card-three-fourths {
	width: calc((100% - 30px)*3/4 + 20px);
}

div.row > *.right {
	float: right;
}

/* Mobile Card Sizes */

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

div[class^="card"] {
	width: 100%;
	margin-left: 0;
}

}

/* HEADINGS */

h1 {
	background-size: cover;	
	background-position: center;
	color: #ffffff;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.7);
	text-transform: uppercase;
	margin: 0;
	text-align: center;
	padding: 100px 0px 100px 0px;
}

h2, h3 {
	background-color: #328FFA;	
	color: #ffffff;
	padding: 10px;
	margin: 0;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	border-style: solid;
	/*border-bottom: 2px solid black;*/
}

/* PARAGRAPHS */

p {
	margin: 10px;
}

p.centered {
	text-align: center;
}

/* PROFILE */

div.profile-pic {
	width: 25%;
	float: left;
	background-size: cover;
  	background-image: url('../contact-us/profile.jpg');
}

div.profile-pic::before {
	content: "";
	display: block;
	padding-top: 100%;
}

div.profile-text {
	width: 75%;
	float: left;
}

div.profile-text2 {
	width: 100%;
	float: left;
}

div.profile-title {
	background-color: #328FFA;
	color: white;
	font-size: 16pt;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	border-style: solid;
}

div.profile-title, div.profile-email {
	padding: 10px
}

div.profile-description, div.profile-phone {
	padding: 10px 10px 0px 10px;
}

div.profile-phone::before {
	content: "Phone: ";
	font-weight: bold;
}

div.profile-email::before {
	content: "Email: ";
	font-weight: bold;
}

/* MEMBERSHIPS */

div.memberships-logo {
	float: left;
	width: 25%;
	background-size: contain;
}

div.memberships-logo::before {
	content: "";
	display: block;
	padding-top: 100%;
}

/* FOOTER */

div#footer > p:first-child {
	text-align: center;
	font-size: 70%;
	margin-bottom: 0;
}

div#footer > p:last-child {
	text-align: center;
	margin-top: 0;
}

/* SIGNIFICANT PROJECTS THUMBNAILS */

.gallery > p > img {
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery > p > img:hover {
	opacity: 0.7;
}

/* UL . SIDE NAVBAR */

ul.side-navbar {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.side-navbar li {
	float: left;
	
}

ul.side-navbar li a {
	padding: 15px 16px 16px 16px;
	text-decoration: none;
	color: black;
	display: block;
	transition-duration: 0.2s;
}

@media only screen and (min-width: 1260px) {
	ul.side-navbar li {
		float: none;width: 100%;
	}
}

ul.side-navbar li.inactive:hover a {
	background-color: #ccc;
}

ul.side-navbar li.active a {
	background-color: #328FFA;
	color: white;
}

/*******************************************/
/**************** PARTICULAR ***************/
/*******************************************/

/* HOMEPAGE H1 */



/*******************************************/
/**************** SP MODAL *****************/
/*******************************************/

/* THE MODAL ITSELF */

div.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
	cursor: default;
	color: #f1f1f1;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* THE TITLE BAR */

.modal-title {
	position: absolute;
	top: 0;
	text-align: center;
}

.modal-indicator {
	position: absolute;
	top: 0;
	left: 0;
}

.modal-close {
	background-image: url('../gui/modal/close_button.gif');
	background-size: contain;
    position: absolute;
    cursor: pointer;
    transition: 0.3s;
	-webkit-transition: 0.3s;
}

.modal-close:hover {
    opacity: 0.7;
}

/* THE FOCUS OF THE MODAL */

div.modal-focus {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%,-50%);
	margin: 0;
	width: 640px;
	max-width: 40%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
}

div.modal-focus:before {
	content: "";
	display: block;
	padding-top: 79.375%; /* = 508/640 */
}

/* Modal Content (image) */

.modal-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.modal-content:before {
	content: "";
	display: block;
	padding-top: 75%; /* = 480/640 */
}

.modal-content video {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: 100%;
	height: auto;
}

.modal-caption {
	position: absolute;
	left: 0;
	right: 0;
	top: 94.49%; /* = 480/508 */
    text-align: center;
    font-size: 16px;
	padding: 5px;
	background-color: black;
}

/* Previous and Next */

.modal-previous {
	background-image: url('../gui/modal/left_arrow.gif');
}

.modal-next {
	background-image: url('../gui/modal/right_arrow.gif');
}

.modal-previous,
.modal-next {
	display: block;
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.modal-previous:hover,
.modal-next:hover {
	opacity: 0.7;
	cursor: pointer;
}

/* Sizing for the aforementioned elements */

div.modal {
	font-size: 16px;
}
div.modal-title {
	left: 40px;
	right: 40px;
	padding: 10.67px;
}
div.modal-indicator {
	padding: 10.67px;
}
div.modal-close {
	top: 10.67px;
	right: 10.67px;
	width: 16px;
	height: 16px;
}
div.modal-previous {
	left: 10.67px;
	width: 16px;
	height: 25.6px;
}
div.modal-next {
	right: 10.67px;
	width: 16px;
	height: 25.6px;
}

@media only screen and (min-width: 750px) {
	div.modal {
		font-size: 30px;
	}
	div.modal-title {
		left: 120px;
		right: 120px;
		padding: 20px;
	}
	div.modal-indicator {
		padding: 20px;
	}
	div.modal-close {
		top: 20px;
		right: 20px;
		width: 30px;
		height: 30px;
	}
	div.modal-previous {
		left: 20px;
		width: 30px;
		height: 48px;
	}
	div.modal-next {
		right: 20px;
		width: 30px;
		height: 48px;
	}
}

/* Pizazz i.e. Animation */

div.modal {
	-webkit-animation-name: fade-in;
	-webkit-animation-duration: 0.4s;
	animation-name: fade-in;
	animation-duration: 0.4s;
}

@-webkit-keyframes fade-in {
	from {opacity: 0} 
	to {opacity: 1}
}

@keyframes fade-in {
	from {opacity: 0} 
	to {opacity: 1}
}

@-webkit-keyframes fade-out {
	from {opacity: 1} 
	to {opacity: 0}
}

@keyframes fade-out {
	from {opacity: 1} 
	to {opacity: 0}
}