/* ==== Google font ==== */
@import url(https://fonts.googleapis.com/css?family=Varela+Round|Open+Sans:400,300,600,400italic,700);

/* ==== Fonts ==== */
@font-face {
  font-family: 'SpriteGraffiti-Regular';
  src: url('../fonts/SpriteGraffiti/SpriteGraffiti-Regular.eot?v=4.2.0');
  src: url('../fonts/SpriteGraffiti/SpriteGraffiti-Regular.eot?#iefix&v=4.2.0') format('embedded-opentype'), 
	  url('../fonts/SpriteGraffiti/SpriteGraffiti-Regular.woff?v=4.2.0') format('woff'), 
	  url('../fonts/SpriteGraffiti/SpriteGraffiti-Regular.ttf?v=4.2.0') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SpriteGraffiti-Shadow';
  src: url('../fonts/SpriteGraffiti/SpriteGraffiti-Shadow.eot?v=4.2.0');
  src: url('../fonts/SpriteGraffiti/SpriteGraffiti-Shadow.eot?#iefix&v=4.2.0') format('embedded-opentype'), 
	  url('../fonts/SpriteGraffiti/SpriteGraffiti-Shadow.woff?v=4.2.0') format('woff'), 
	  url('../fonts/SpriteGraffiti/SpriteGraffiti-Shadow.ttf?v=4.2.0') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SpriteGraffiti-Extras';
  src: url('../fonts/SpriteGraffiti/SpriteGraffiti-Extras.eot?v=4.2.0');
  src: url('../fonts/SpriteGraffiti/SpriteGraffiti-Extras.eot?#iefix&v=4.2.0') format('embedded-opentype'), 
	  url('../fonts/SpriteGraffiti/SpriteGraffiti-Extras.woff?v=4.2.0') format('woff'), 
	  url('../fonts/SpriteGraffiti/SpriteGraffiti-Extras.ttf?v=4.2.0') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
    width: 100%;
    height: 100%;
	font-family: 'Pangolin', sans-serif;
	font-weight: 400;
    color: #888;
	font-size: 16px;
	line-height: 1.6em;
    background-color: #F7F7F2;
    background-image: url("../img/squares-120px.png");
}

html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 30px;
    font-family: 'SpriteGraffiti-Regular', sans-serif;
    font-weight: 400;
    color: #444;
}

blockquote {
    font-family: Georgia, arial, sans-serif;
    color: #60AEAF;
    font-size: 20px;
}

p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6em;
}

p.lead {
	font-weight: 600;
}

a {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
}

.light {
    font-weight: 400;
}

img.img-responsive {
	margin-bottom: 20px;
}

.spriteGraffitiExtras{
    font-family: 'SpriteGraffiti-Extras';
}

.scribbling {
	width:80px;
	height:auto;
    margin-left: 2rem;
    margin-right: 2rem; 
}

.scribbling-bigger {
	width:125px;
	height:auto;
    margin-left: 2rem;
    margin-right: 2rem; 
}

.scribbling-smaller {
	width:50px;
	height:auto;
    margin-left: 2rem;
    margin-right: 2rem; 
}

.triangle-left-top{
    shape-outside: polygon(0 0, 100% 0, 0 100%);
    width: 80px;
    height: 80px;
    float:left;
}

.triangle-left-bottom{
    shape-outside: polygon(0 0, 100% 0, 100% 0);
    width: 80px;
    height: 80px;
    float:left;
}

.triangle-right-bottom{
    shape-outside: polygon(100% 0, 100% 100%, 0 100%);
    width: 80px;
    height: 80px;
    float: right;
}

.triangle-right-top{
    shape-outside: polygon(0 0, 0 100%, 100% 100%);
    width: 80px;
    height: 80px;
    float: right;
}

.marginScribbling {
	margin-bottom: 10em;
	margin-top: 5em;
	margin-left: 1.5em;
    margin-right: 1.5em;
    opacity: 0.25;
}

/* ------- Navigation ------------ */
#navigation {
	background: #fff;
	z-index: 9999;
	width:100%;
    box-sizing:border-box;
	border-bottom: 1px solid #eee;
	box-shadow:0px 0px 20px rgba(0, 0, 0, 0.1);
	text-align: center;
	margin: 0 auto;
}


.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    font-weight: 700;
}


.navbar-brand:focus {
    outline: 0;
}

.nav.navbar-nav {
    background-color: rgba(255,255,255,.6);
}

#menu .nav.navbar-bar {
	text-align: center;
	float: none;
	margin: 0 auto;
}

.navbar-custom ul.nav {
	text-align: center;
	float: none;
	margin: 0 auto;
}
.navbar-custom ul.nav li {
	float: none;
	display: inline-block;
	text-align: center;
}
.navbar-custom ul.nav li a {
	font-size: 14px;
	letter-spacing: 1px;
    color: #470D3A;
	text-transform: uppercase;
	font-weight: 700;
}


.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
    outline: 0;
    background-color: rgba(255,255,255,.2);
}

.navbar-custom .nav li.active {
    outline: 0;
    background-color: rgba(96,174,175,.2);
}

.navbar-toggle {
    padding: 4px 6px;
    font-size: 14px;
    color: #fff;
}

.navbar-toggle:focus,
.navbar-toggle:active {
    outline: 0;
}


/* loader */
#preloader {
    background: #ffffff;
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}


#loaderInner {
    background:#ffffff url(../img/spinner.gif) center center no-repeat;
    height: 60px;
    left: 50%;
    margin: -50px 0 0 -50px;
    position: absolute;
    top: 50%;
    width: 60px;
}

@keyframes boxSpin{
  0%{
    transform: translate(-10px, 0px);
  }
  25%{
    transform: translate(10px, 10px);
  }
  50%{
    transform: translate(10px, -10px);
  }
  75%{
    transform: translate(-10px, -10px);
  }
  100%{
    transform: translate(-10px, 10px);
  }
}


@keyframes shadowSpin{
    0% {
        box-shadow: 10px -10px #60AEAF, -10px 10px #94287C;
    }
    25% {
        box-shadow: 10px 10px #60AEAF, -10px -10px #94287C;
    }
    50% {
        box-shadow: -10px 10px #60AEAF, 10px -10px #94287C;
    }
    75% {
        box-shadow: -10px -10px #60AEAF, 10px 10px #94287C;
    }
    100% {
        box-shadow: 10px -10px #60AEAF, -10px 10px #94287C;
    }
}

#load {
    z-index: 9999;
    background-color: #F7F7F2;
    opacity: 0.75;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    margin: -5px auto 0 auto;
    left: 0;
    right: 0;
    border-radius: 0px;
    border: 5px solid #F7F7F2;
    box-shadow: 10px 0px #39CCCC, 10px 0px #01FF70;
    animation: shadowSpin 1s ease-in-out infinite;
}

/* misc */
hr {
  margin-top: 10px;
}

/* margins */
.marginbot-0{margin-bottom:0 !important;}
.marginbot-10{margin-bottom:10px !important;}
.marginbot-20{margin-bottom:20px !important;}
.marginbot-30{margin-bottom:30px !important;}
.marginbot-40{margin-bottom:40px !important;}
.marginbot-50{margin-bottom:50px !important;}

/* ===========================
--- General sections
============================ */

.home-section {
    padding-top: 120px;
    padding-bottom: 110px;
	display:block;
    position:relative;
    z-index:120;
}

.section-heading {
	margin-bottom: 50px;
}

.section-heading h2 {
	font-size: 40px;
	margin-bottom: 10px;
	line-height: 1em;
}
.section-heading i {
	margin-bottom: 20px;
}


/* --- section bg var --- */

.bg-white {
	background: #fff;
}

.bg-gray {
	background: #f8f8f8;
}


.bg-dark {
	background: #575757;
}

/* --- section color var --- */

.text-light {
	color: #fff;
}

.drop-shadow-box {
    border-bottom: 1px solid #eee; 
    border-top: 1px solid #eee; 
    box-shadow:0px 0px 20px rgba(0, 0, 0, 0.1);
}

/*
.contactMessage {
    display:none;
    text-align:center;
    padding:15px;
    font-weight:600;
    margin-bottom:15px;
}
*/


/* ===========================
--- Hero
============================ */
.hero {
    /* Sizing */
    width: 95vw;
    height: 100vh;
    
    /* Flexbox stuff */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Text styles */
    text-align: center;
    color: white; 
    
    /* Background styles 
    background-image: url('../img/rts-logo-big.png');
    background-size:contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;*/
}

.hero-image {
    max-width: 80vw;
    height: auto;
    max-height: 80vh;
}

.hero h1 {
    /* Text styles */
    font-size: 5em;
    color: #470D3A;

    /* Margins */
    margin-top: 0;
    margin-bottom: 0.5em;
}

.hero .btn {
    /* Positioning and sizing */
    display: block;
    width: 200px;
    
    /* Padding and margins */
    padding: 1em;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    
    /* Text styles */
    color: white; /* CHANGE THIS LINE */
    text-decoration: none;
    font-size: 1.5em;
    
    /* Border styles */
    border: 3px solid white; /* CHANGE THIS LINE */
    border-radius: 20px;
}

/* ==========================
--- Gallery
============================= */

.item {
    margin: 10px;
}

.item img {
    display: block;
    width: 100%;
    height: auto;
}	


/* ===========================
--- Contact
============================ */

.form-wrapper {
	background: #f9f9f9;
	padding: 40px;
	 border-radius: 6px;
	border: 2px solid #60AEAF;
}


form#contact-form .form-group label {
	text-align: left !important;
	display: block;
	letter-spacing: 1px;
	font-size: 16px;
}
form#contact-form input,form#contact-form select,form#contact-form textarea {
	border-radius: 4px;
	border: 1px solid #eee;
  -webkit-box-shadow: none;
          box-shadow:  none;
	font-size: 16px;
	margin-bottom: 20px;
	background: #fefefe;
	color: #888;
}

form#contact-form input,form#contact-form select {
	height: 40px;
}

form#contact-form button {
	border-radius: 4px;
	height: 40px;
	text-transform: none;
	font-size: 16px;
	font-weight: 700;
}

form#contact-form input:focus,form#contact-form select:focus,form#contact-form textarea:focus {
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
          box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	background: #fff;
}

.validation {
    color: red;
    display:none;
    margin: 0 0 20px;
    font-weight:400;
    font-size:13px;
}

#sendmessage {
    color: green;
    border:1px solid green;
    display:none;
    text-align:center;
    padding:15px;
    font-weight:600;
    margin-bottom:15px;
}

#errormessage {
    color: red;
    display:none;
    border:1px solid red;
    text-align:center;
    padding:15px;
    font-weight:600;
    margin-bottom:15px;
}

#sendmessage.show, #errormessage.show, .show {
	display:block;
}

/* ===========================
--- Footer
============================ */

footer {
	text-align: center;
	padding: 20px 0 4px 0;
    font-size: 1.2em;
}

footer p {
	color: #f8f8f8;
}

footer a {
    color: #94287C;
}

footer a:hover {
	color: #ccc;
}
.credits {
    color: #fff;
}

.footer-copyright {
    font-size: 10pt;
    padding-top:10px;
}

/* ==========================
Parallax
============================= */
#facts {
    background-image: url(../img/separator-bg.jpg);
}

#facts .icon {
	margin-bottom: 20px;
}

    #facts .icon .fa {
        color: #F7F7F2;
    }

    #facts h2 {
        color: #F7F7F2;
    }

    #facts h3 {
        color: #F7F7F2;
    }

#facts .icon img {
    height: 8em;
    width: auto;
}

    #facts span {
        font-family: 'Nanum Pen Script', cursive;
        font-weight: 400;
        font-size: 2em;
        color: #F7F7F2;
    }

#facts:after {	
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVQImWNgYGD4z0AswK4SAFXuAf8EPy+xAAAAAElFTkSuQmCC);
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	opacity: 0.7;
	z-index: -1;
}

/* ===========================
--- Elements
============================ */

.btn {

    font-weight: 700;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

a.btn:hover {
	color: #fff;
}

.btn-circle {
    width: 70px;
    height: 70px;
    margin-top: 15px;
    padding: 7px 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 40px;
    color: #fff;
    background: 0 0;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.btn-circle.btn-dark {
    border: 2px solid #60AEAF;
    color: #60AEAF;
}


.btn-circle:hover,
.btn-circle:focus {
    outline: 0;
    color: #fff;
    background: rgba(255,255,255,.1);
}

.btn-circle.btn-dark :hover,
.btn-circle.btn-dark :focus {
    outline: 0;
    color: #999;
    background: #fff;
}

.btn-circle.btn-dark :hover i,
.btn-circle.btn-dark :focus i{
    color: #999;
}

.page-scroll .btn-circle i.animated {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}

.page-scroll .btn-circle:hover i.animated {
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes pulse {    
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {    
    0% {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}


.btn-skin:hover,
.btn-skin:focus,
.btn-skin:active,
.btn-skin.active {
  color: #fff;
  background-color: #60AEAF;
  border-color: #60AEAF;
}


.btn-default:hover,
.btn-default:focus {
    border: 1px solid #28c3ab;
    outline: 0;
    color: #000;
    background-color: #28c3ab;
}

.btn-huge {
    padding: 25px;
    font-size: 26px;
}

.banner-social-buttons {
    margin-top: 0;
}


/* Media queries */

@media (max-width:768px) {
	.navbar-header .fa {
		color: #470D3A;
	}
	
	.col-xs-6 {
		margin-bottom: 30px;
	}
}

@media (max-width:480px) {

	.navbar-custom .nav.navbar-nav {
    background-color: rgba(255,255,255,.4);
	}
	
	.navbar.navbar-custom.navbar-fixed-top {
		margin-bottom: 30px;
	}

	
	.page-scroll a {
		width: 40px;
		height: 40px;
		margin-top: 10px;
		font-size: 20px;
	}
	
}

.progress-label {
    font-weight: 400;
    font-size: 1.6em;
    color: #444;
    font-family: 'Nanum Pen Script', cursive;
    float: left;
    display: block;
    margin-right: 1em;
    width: 4em;
}

#facts .progress-label {
    font-weight: 400;
    font-size: 1.6em;
    color: #F7F7F2;
    font-family: 'Nanum Pen Script', cursive;
    float: left;
    display: block;
    margin-right: 1em;
    width: 4em;
}

.progress {
    height: 1.6em;
    border: 1px solid #F7F7F2;
    background-color: #470D3A;
    border-radius: 0.4em;
}

.progress-bar {
        background-color:#60AEAF;
}

.icon-link:hover {
	background-color: rgba(96,174,175,.2);
}

.function-link {
    font-family: SpriteGraffiti-Regular;
    font-size: 22px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.function-link:hover, 
.function-link:focus {
    color: #94287C
}

.function-link:hover {
    text-decoration: underline;
}
