/*
Theme Name: Wireplates
Author: Jorene Ren&eacute;
Author URI: http://jorenerene.com
Description: Includes Minor Fixes, Carousel Fade, Fullscreen Modal, Animated Collapse Toggle, Updated Dropdown Transitions, etc. See http://bitbucket.org/jorenerene/wireplates/readme.md for more.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* FIXES */
body {
	padding-top:70px; /* Navbar Fixed to Top */
	/* position:relative; */ /* Scrollspy */
}

footer p, footer p a {
	font-family:Raleway;
}

.navbar {
	border:0;
}

/* SUBTLE ACTIVE FOCUS */
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus, 
*:active, *:focus, input:active, input:focus, textarea:active, textarea:focus, 
.form-control:focus, .form-control:active {
	outline:none;
	box-shadow:none;
	border-width:1px;
}

textarea {
	resize:none;
}

/* BASIC */
html ,body, *, h1, h2, h3, h4 {
	font-family:Open Sans;
	font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
	letter-spacing:0.5px;
	line-height:120%;
}

h1, h2, h1 a, h2 a, h2 span {
	font-family:Raleway, Open Sans;
	font-weight:900;
}

a {
	cursor:pointer;
}

a:hover, a:focus {
	text-decoration:none;
}

.btn {
	font-weight:600;
	text-transform:uppercase;
	font-size:14px;
}

.alert {
	line-height:150%;
}

div.checkbox label, div.radio label, .checkbox-inline, .radio-inline {
	line-height:140%;
}

/* NAVBAR */

.navbar-default .navbar-brand, .navbar-default .navbar-nav > li > a {
	/* color:#428bca; */
}

.navbar-brand, .navbar li a {
	text-transform:uppercase;
	cursor:pointer;
	font-size:12px;
	font-weight:400;
	font-family:Raleway;
}

/* NAVBAR COLLAPSE TRANSITION */
.collapsing {
	-webkit-transition: none;
	transition: none;
}

/* xs */
@media (max-width:767px) {
}

/* sm */
@media (min-width:768px) {
}

/* md */
@media (min-width:992px) {
}

/* lg */
@media (min-width:1200px) {
}

/* OPEN CLOSE DROPDOWN TRANSITION */
li.dropdown > a .fa-plus {
	transition:transform .25s;
	transform:rotate(0deg);
}

li.dropdown.open > a .fa-plus {
	transition:transform .25s;
	transform:rotate(-45deg);
}

/* SM, MD, LG */
@media(min-width:768px) {
	/* DROP-Y: DROPDOWN MENU TRANSLATEY TRANSITION */
	.dropdown .dropdown-menu {
		transform:translateY(20px);
		transition: .25s transform, opacity ease;
		display:block;
		opacity:0;
		visibility:hidden;
	}

	.dropdown.open .dropdown-menu {
		transform:translateY(0px);
		opacity:1;
		visibility:visible;
	}
	/* END DROP-Y */

	/* BORDER */
	.navbar-default {
		border:0;
		
		box-shadow: inset 0 1px #fff, 0 1px 3px rgba(34,25,25,0.4);
		-moz-box-shadow: inset 0 1px #fff, 0 1px 3px rgba(34,25,25,0.4);
		-webkit-box-shadow: inset 0 1px #fff, 0 1px 3px rgba(34,25,25,0.4);
	}

	/* FADE DROPDOWN-MENU */
	.open > .dropdown-menu {
		animation-name: dropdownIn;
		animation-duration:.5s;
		animation-iteration-count: 1;
		animation-timing-function: ease;
		animation-fill-mode: forwards;

		-webkit-animation-name: dropdownIn;
		-webkit-animation-duration:.5s;
		-webkit-animation-iteration-count: 1;
		-webkit-animation-timing-function: ease;
		-webkit-animation-fill-mode: forwards;

		-moz-animation-name: dropdownIn;
		-moz-animation-duration:.5s;
		-moz-animation-iteration-count: 1;
		-moz-animation-timing-function: ease;
		-moz-animation-fill-mode: forwards;
	}
	@keyframes dropdownIn {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}
	@-webkit-keyframes dropdownIn {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}

	/* DISLOCATE DROPDOWN-MENU WITH ARROW */
	.dropdown-menu > li > a {
		color:#428bca;
	}
	.dropdown ul.dropdown-menu {
		border-radius:4px;
		box-shadow:none;
		margin-top:20px;
		/* width:300px; */
	}
	.dropdown ul.dropdown-menu:before {
		content: "";
		border-bottom: 10px solid #fff;
		border-right: 10px solid transparent;
		border-left: 10px solid transparent;
		position: absolute;
		top: -10px;
		left: 13px;
		z-index: 10;
	}
	.dropdown ul.dropdown-menu:after {
		content: "";
		border-bottom: 11px solid #ccc;
		border-right: 11px solid transparent;
		border-left: 11px solid transparent;
		position: absolute;
		top: -11px;
		left: 12px;
		z-index: 9;
	}

	/* ALTERNATE ARROW NAVBAR-RIGHT */
	.navbar-right .dropdown ul.dropdown-menu:before {
		content: "";
		border-bottom: 10px solid #fff;
		border-right: 10px solid transparent;
		border-left: 10px solid transparent;
		position: absolute;
		top: -10px;
		right: 13px;
		left:auto;
		z-index: 10;
	}
	.navbar-right .dropdown ul.dropdown-menu:after {
		content: "";
		border-bottom: 11px solid #ccc;
		border-right: 11px solid transparent;
		border-left: 11px solid transparent;
		position: absolute;
		top: -11px;
		right: 12px;
		left:auto;
		z-index: 9;
	}
}

/* FADE HOVER */
.navbar-default .navbar-nav>li>a {
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;

	transition:.5s;
}

/* DROPDOWN MENU PADDING TO MATCH SEPARATOR DIVIDER */
.dropdown-menu {
	padding:9px 0px;
}

.navbar-text {
    line-height:1.42857143;
}

/* FULLSCREEN MODAL */

.modal.modal-fullscreen {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
}
.modal-fullscreen .modal-dialog {
	position: fixed;
	margin: 0;
	width: 100%;
	height: 100%;
	padding: 0;
}
.modal-fullscreen .modal-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border: 2px solid white;
	border-radius: 0;
	box-shadow: none;
	
	font-size:18px;
	line-height:200%;
}
.modal-fullscreen .modal-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 50px;
	padding: 10px;
	border: 0;
}
.modal-fullscreen .modal-title {
	font-weight: 300;
	font-size: 2em;
	color: black;
}
.modal-fullscreen .modal-body {
	position: absolute;
	top: 100px;
	bottom: 60px;
	width: 100%;
	font-weight: 300;
	overflow: auto;
	
	padding-left:20%;
	padding-right:20%;
}
.modal-fullscreen .modal-footer {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 10px;
	background: #f1f3f5;
}

/* Carousel Fade */
.carousel-fade .carousel-inner .item {
	-webkit-transition-property: opacity;
	transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
	opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
	opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
	left: 0;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
	z-index: 2;
}

/* Topper */

.topper-top {
	border-radius:50%;
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 100px;
	right: 10px;
	z-index: 10;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: rgba(51, 122, 183, 0.9) url(assets/img/back-to-top.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}
.topper-top.topper-is-visible, .topper-top.topper-fade-out, .no-touch .topper-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}
.topper-top.topper-is-visible {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1;
}
.topper-top.topper-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	opacity: .5;
}
.no-touch .topper-top:hover {
	background-color: #6AA4A8;
	opacity: 1;
}
@media only screen and (min-width: 768px) {
	.topper-top {
		right: 20px;
		bottom: 20px;
	}
}
@media only screen and (min-width: 1024px) {
	.topper-top {
		height: 60px;
		width: 60px;
		right: 30px;
		bottom: 30px;
	}
}
/* END BACK TO TOP */

/* ANIMATED X */
.navbar-toggle {
	border: none;
	background: transparent !important;
}
.navbar-toggle:hover {
	background: transparent !important;
}

.navbar-toggle .icon-bar {
	width: 22px;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}

.navbar-toggle .icon-bar:nth-of-type(1) {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);

	-webkit-transform-origin: 10% 10%;
	-ms-transform-origin: 10% 10%;
	transform-origin: 10% 10%;
}

.navbar-toggle .icon-bar:nth-of-type(2) {
	opacity: 0;
	filter: alpha(opacity=0);
}

.navbar-toggle .icon-bar:nth-of-type(3) {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 10% 90%;
	-ms-transform-origin: 10% 90%;
	transform-origin: 10% 90%;
}

/* ANIMATED X COLLAPSED */
.navbar-toggle.collapsed .icon-bar:nth-of-type(1) {
	-webkit-transform: rotate(0);
	-ms-transform: rotate(0);
	transform: rotate(0);
}
.navbar-toggle.collapsed .icon-bar:nth-of-type(2) {
	opacity: 1;
	filter: alpha(opacity=100);
}
.navbar-toggle.collapsed .icon-bar:nth-of-type(3) {
	-webkit-transform: rotate(0);
	-ms-transform: rotate(0);
	transform: rotate(0);
}
/* END ANIMATED X */

/* FILE INPUT */
/*
<button class="btn btn-default btn-file">
Browse<input type='file' class='form-control' name='file[]' id='file' multiple='multiple'>
</button>
*/

.btn-file {
	position: relative;
	overflow: hidden;
}
.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}

/* HEART ANIMATION */
.heart {
	color:red;
	animation:heartbeat 1s linear infinite;
}

@keyframes heartbeat {
	0% {
		-webkit-transform: scale(1.1);
		-moz-transform: scale(1.1);
		-o-transform: scale(1.1);
		-ms-transform: scale(1.1);
		transform: scale(1.1);
	}
	50% {
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-o-transform: scale(0.8);
		-ms-transform: scale(0.8);
		transform: scale(0.8);
	}
	100% {
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		-o-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
	}
}
@-moz-keyframes heartbeat {
	0% {
		-moz-transform: scale(1.1);
		transform: scale(1.1);
	}
	50% {
		-moz-transform: scale(0.8);
		transform: scale(0.8);
	}
	100% {
		-moz-transform: scale(1);
		transform: scale(1);
	}
}
@-webkit-keyframes heartbeat {
	0% {
		-webkit-transform: scale(1.1);
		transform: scale(1.1);
	}
	50% {
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}
@-ms-keyframes heartbeat {
	0% {
		-ms-transform: scale(1.1);
		transform: scale(1.1);
	}
	50% {
		-ms-transform: scale(0.8);
		transform: scale(0.8);
	}
	100% {
		-ms-transform: scale(1);
		transform: scale(1);
	}
}

@media (min-width: 768px) {
	.affix {
		position: fixed; /* Affix Mobile Glitch */
	}
}

.breadcrumbs {
	text-transform:uppercase;
}

hr {
	border-color:#e7e7e7;
}