/* Rhombus Styles */

html {
	margin: 0px;
	padding: 0px;
}

body {
	margin: 0px;
	padding: 0px;
	background-color: #01222c;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
}


/* -------------- */
/*  Text Styles  */
/* -------------- */


h1 {
	font-size: 14px;
	line-height: 22px;
}

h2 {
	font-size: 50px;
	line-height: 22px;
	font-weight: 100;
	line-height: 60px;
	margin: 10px 0 30px 0;
	font-family: 'Raleway', sans-serif;
}

h3 {
	font-size: 30px;
	font-weight: 300;
	line-height: 36px;
	margin: 18px 0 12px 0;
}

h4 {
	font-size: 17px;
	font-weight: 300;
	line-height: 24px;
	color:#a9a9a9;
	margin: 12px 0;
}

h5 {
    font-size: 12px;
    font-weight: normal;

}

h6 {

}

p {
	font-size: 14px;
	line-height: 22px;

}

a {
    color:#05C1FE;
    text-decoration:none;
    white-space: nowrap;

}

a:hover {
     color:#05C1FE;
     text-decoration:underline;

}

a:visited {
      color:#05C1FE;

}

.lightblue {
	color: #05c1fe;
}

.gray {
	color: #2a2a2a;
}

.white {
	color: #fff;
}
.center {
	text-align:center;
}

#contact-container a {
	color:#fff;
}

.btn {
	background: #05c1fe;
	font-size: 14px;
	padding: 10px 20px 10px 20px;
	display:inline-block;
	margin-top: 20px;
	text-transform: uppercase;
	font-weight: 700;
	-webkit-transition: all .5s; /* Safari */
	transition: all .5s;
}

.btn:hover {
	background: #25e3ff;
}

.btn a{
	text-decoration: none;
	color: #ffffff;
}


/* -------------- */
/*   Nav Styles   */
/* -------------- */


nav {
	background-color: #000;
	height: 80px;
	position:fixed;
	display:inline-block;
	width: 100%;
	z-index: 1;
}

#nav-container {
	padding: 30px 30px 0 30px;
	max-width: 940px;
	margin:auto;
	height: 50px;
	text-align:center;
}

nav ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

nav ul li {
	display:inline;
	padding: 0 30px;
}

nav ul li a {
	color:#fff;
	text-decoration:none;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	padding-bottom: 4px;
}

nav ul li a:hover {
	border-bottom: 4px solid #05c1fe;
    text-decoration:none;
}

.active {
	border-bottom: 4px solid #05c1fe;
}

/* -------------- */
/* Section Styles */
/* -------------- */


section#about {
    background-image: url("../img/header_bkgnd.jpg");
	background-size: cover;
	background-color: #02577d;
}

#about-container {
	margin: auto;
	max-width: 920px;
	padding: 390px 40px 130px 40px;
	text-align:center;
}

section#services {
    background-image: url("../img/services_bkgnd.jpg");
	background-size: cover;
	background-color: #fff;
    text-align:center;
}

#services-container {
	margin: auto;
	max-width: 850px;
	padding: 80px 40px 70px 40px;
	text-align:center;
    display:inline-block;
}

section#work {
	background-color: #01222c;
}

#work-container {
	margin: auto;
	max-width: 920px;
	padding: 80px 40px 80px 40px;
	text-align:center;
	position:relative;
}

section#faq {
	background-color: #4e4e4e;
	background-image: url("../img/texture_gray.png");
	background-repeat: no-repeat;
	background-position: bottom;
    background-size: 1050px;
}

#faq-container {
	margin: auto;
	max-width: 700px;
	padding: 50px 50px 130px 40px;
}

section#contact {
	background-color: #01222c;
	background-image: url("../img/texture_blue.png");
	background-repeat: no-repeat;
	background-position: top;
    background-size: 1050px;


}

#contact-container {
	margin: auto;
	max-width: 710px;
	padding: 120px 40px 80px 40px;
	text-align:center;
}

footer {
	background-color: #000;
}

#footer-container {
	margin: auto;
	max-width: 920px;
	padding: 10px 40px 20px 40px;
	text-align:center;
}


/* -------------- */
/* Content Styles */
/* -------------- */

#rdlogo {
	max-width: 100%;
}

#about-container h1 {
	padding: 0 190px;
	margin: auto;
	font-weight:normal;
}


/* ---------------- */
/* Services Flexbox */
/* ---------------- */

#box-container {
    display:inline-block;
    width: 750px;
}


.box-wrap1 {
	display: -webkit-box;
	display: -moz-box;
	display: box;

    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;

    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    color:black;
    text-align:center;
    padding: 20px 0;
}

.box-wrap1 img {
	width: 150px;
}

.box-wrap2 {
    display: -webkit-box;
    display: -moz-box;
    display: box;

    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;

    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    color:black;
    text-align:center;
    padding: 20px 0;
}

.box-wrap2 img {
    width: 150px;
}

#box-1 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

#box-2 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

#box-3 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

#box-4 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}
#box-5 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

#box-6 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

#box-7 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

#box-8 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

/* ------------- */
/* Work Carousel */
/* ------------- */

#workcarousel {
	width: 800px;
	height: 547px;
	display:inline-block;
   	background-size: cover;
	margin-top: 20px;
    border: 1px solid #4e4e4e;
    -webkit-transition:background-position .1s ease-in;  
    -moz-transition:background-position .1s ease-in;  
    -o-transition:background-position .1s ease-in;  
    transition:background-position .1s ease-in;     
}

#leftarrow {
    width: 44px;
    height: 100px;
    display: inline-block;
    background-color: #05c1fe;
    background-image: url("../img/toggle_left.png");
    margin-bottom: 220px;
    background-size: 37px, 95px;
    background-position: 5px;
    cursor:pointer;
}

#rightarrow {
	width: 44px;
	height: 100px;
	display:inline-block;
	background-color:#05c1fe;
    background-image: url("../img/toggle_right.png");
	margin-bottom: 220px;
    background-size: 37px, 95px;
    background-position: 5px;
    cursor:pointer;
}

.noselect {
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none; 
}
#ui-loader #ui-corner-all #ui-body-a #ui-loader-default {
    display:none;
}

/* ------------- */
/* Media Queries */
/* ------------- */

@media (max-width: 1200px) {

    #workcarousel {
        width: 630px;
        height: 430px;
        display:inline-block;
        background-size: cover;
        margin-top: 20px;
    }

    #leftarrow {
        width: 44px;
        height: 100px;
        display: inline-block;
        background-color: #05c1fe;
        background-image: url("../img/toggle_left.png");
        margin-bottom: 150px;
        background-size: 37px, 95px;
        background-position: 5px;
    }

    #rightarrow {
        width: 44px;
        height: 100px;
        display:inline-block;
        background-color:#05c1fe;
        background-image: url("../img/toggle_right.png");
        margin-bottom: 150px;
        background-size: 37px, 95px;
        background-position: 5px;
    }
}

@media (max-width: 850px) {

    nav {
        height: 52px;
    }
    #nav-container {
        padding: 12px 30px 0;
        height: 34px;
    }

    #rdtag {
        width: 40px;
    }
    #about-container {
        padding: 330px 40px 90px 40px;
    }

    #about-container h1 {
        padding: 0 80px;
    }

    #services-container {
        width: 530px;
        padding: 40px 10px 40px 10px;
    }

    #work-container {
        padding: 45px 5px 40px 5px;
    }

    #box-container {
        width: 500px;
    }

    .box-wrap1 img, .box-wrap2 img {
        width: 105px;
        padding-bottom: 0px;
    }

    #rdlogo {
        max-width: 80%;
    }

    #workcarousel {
        width: 440px;
        height: 300px;
    }
    #leftarrow {
        margin-bottom: 103px;
        width: 33px;
        height: 85px;
        background-size: 30px, 95px;
        background-position-y: 8px;
    }
    #rightarrow {
        margin-bottom: 103px;
        width: 33px;
        height: 85px;
        background-size: 30px, 95px;
        background-position-y: 8px;
    }

    nav ul li {
        display: none;
    }

    h3 {
        font-size: 26px;
        line-height: 32px;
    }

    h4 {
        font-size: 16px;
        line-height: 22px;

    }
    section#faq {
        background-size: 900px;
    }

    section#contact {
        background-size: 900px;
    }

}

@media (max-width: 550px) {

    #about-container {
        padding: 230px 40px 60px 40px;
    }

    .box-wrap1 img, .box-wrap2 img {
        width: 115px;
        padding-bottom: 20px;
    }

    #box-container {
        width: 250px;
    }

    .box-wrap1 {
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        float:left;
        padding-right: 10px;
    }

    .box-wrap2 {
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        float:left;
        padding-left: 10px;
    }

    #services-container {
        width:auto;
    }
    section#services {
        background-image:none;
    }

    #services-container {
        padding: 40px 10px 10px 10px;
    }

    #about-container h1 {
        padding: 0 5px;
    }

    h2 {
        font-size: 36px;
        margin-bottom: 14px;
        font-weight: 600;
    }

    #workcarousel {
        width: 260px;
        height: 178px;
    }
    #leftarrow {
        display:none;
    }
    #rightarrow {
        display:none;
    }

    #work-container {
        padding: 30px 20px;
    }

    #contact-container {
        padding: 120px 40px 20px 40px;
    }

    h3 {
        font-size: 22px;
        line-height: 28px;
    }
    h4 {
        font-size: 13px;
        line-height: 19px;
    }
}