@import url('fonts.css');

body {
    margin:0;
    font-family:'Source Sans Pro', sans-serif;
    line-height: 1.4;
    font-size: 19px;
    letter-spacing:0.015em;
}

a {
    text-decoration:none;
    color:#457FFC;
}

a:not([href]) {
    color:inherit !important;
}

a:not([href]):hover {
    text-decoration:none !important;
}

a[name]:target {
    padding-top: 102px;
    margin-top: -102px;
}

h1,h2,h3 {
    color:#333;
    font-family:'Oxygen', sans-serif;
}

h1 {
    font-size: 40px;
}

.mobile-nav {
    display:none;
}

.hamburger-trigger {
    display:none;
}

#navbar {
    background-color:#000;
    color:#fff;
    padding:10px;
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:9999;
    box-shadow: 0 1px 20px 5px rgba(0,0,0,0.4);
}

#navbar a {
    color:#fff;
    text-decoration:none;
    margin:0 15px 0 15px;
}

#navbar #dr-logo {
    position: absolute;
    left:8px;
    top:10px;
}

#navbar #dr-logo #digital {
    font-family:Syncopate, sans-serif;
    color:#ccc;
    font-size:19px;
}

#navbar #dr-logo #rebellion {
    font-family:Michroma, sans-serif;
    font-size:17px;
    text-shadow:-1px -1px 1px #ccc;
    font-weight:bold;
    color:#fff;
}

#navbar #account {
    display:inline-block;
    float:right;
    font-size:15px;
}

#navbar #page-links {
    display:table;
    margin:0 auto 0 auto;
}

#navbar #page-links a {
    margin:0 5px;
    padding:5px 10px;
    border-radius:3px;
    font-size:18px;
}

#navbar #page-links a.selected {
    background-color:#888;
    color:#eee;
}

#navbar #page-links a:hover:not(.selected) {
    background-color:#aaa;
    color:#fff;
}

#navbar #page-links .down-arrow {
    font-size:11px;
    position:relative;
    left:2px;
    top:-1px;
}

#navbar #products-menu {
    display:none;
    background-color:#2D2D2D;
    color:#fff;
    position:fixed;
    top:45px;
    padding:0 10px;
    opacity:0.95;
    border-radius:5px;
    box-shadow: 10px 10px 30px 5px rgba(0,0,0,0.75);
}

#navbar #products-menu .col {
    float:left;
}

#navbar #products-menu .item img {
    width:48px;
}

#navbar #products-menu ul {
    padding:0 15px;
    margin-bottom:30px;
}

#navbar #products-menu ul h3 {
    margin:0 0 5px;
    font-size:16px;
    color:#fff;
    font-weight:normal;
}

#navbar #products-menu ul li {
    list-style-type:none;
    list-style-position:inside;
    padding:15px;
}

#navbar #products-menu ul li:hover {
    background-color:#296cff;
}

#navbar #products-menu ul li a {
    margin:0;
    color:#fff;
}

#navbar #products-menu ul li .subtitle {
    font-size:small;
    color:#ccc;
}

#navbar #products-menu ul li img {
    float:left;
    margin-right:10px;
}

#navbar #products-menu .more-products {
    clear:both;
    text-align:center;
    padding:15px;
    margin-bottom:10px;
}

#navbar #products-menu .more-products a {
    padding:15px;
}

#navbar #products-menu .more-products a:hover {
    background-color:#296cff;
}

.page-header {
    margin:40px 0;
    text-align:center;
    padding:60px;
}

.page-header h1 {
    color:#fff;
}

.page-header .header-icon {
    width: 110px;
    height: 110px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 30px;
    vertical-align: middle;
}

#page {
    min-height:700px;
    padding-bottom:20px;
    min-width:100%;
    background-color: white; /* Needs a background or else the nav will show through */
    position: relative;
    top: 0;
    bottom: 100%;
    left: 0;
    z-index: 1;
    overflow-y:hidden;
}

#footer {
    background-color:#eee;
    padding:25px;
    color:#555;
    clear:both;
    border-top:3px solid #ddd;
}

#footer .content {
    max-width:1024px;
    margin:0 auto;
    text-align:center;
    font-size:16px;
}

#footer .content .links a {
    margin-right:15px;
}

.page-section {
    padding:20px 10px 20px 10px;
    min-height:300px;
    width:100%;
    max-width:1024px;
    margin:20px auto 0 auto;
}

.dim-bg {
    position:fixed;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background-color:#333;
    opacity: 0.4;
}

/* Interface Elements */

input,textarea {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -ms-box-sizing:border-box;
}

input[type=text],input[type=number],input[type=email],input[type=tel],input[type=time],input[type=password],textarea {
    padding:9px;
    border:2px solid #ccc;
    border-radius:3px;
    margin:5px;
    font-size:15px;
    min-height: 22px;
}

input[type=text]:hover,input[type=number]:hover,input[type=email]:hover,input[type=tel]:hover,input[type=time]:hover,input[type=password]:hover,textarea:hover {
    border:2px solid #B8DBFF !important;
}

input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=time]:focus,input[type=password]:focus,input[type=search]:focus,textarea:focus {
    border:2px solid #B8DBFF !important;
}

input[type=search] {
    padding:2px;
    margin:2px;
    font-size:13px;
    min-width:150px;
}

input[type=button]:not(.actionbtn),button:not(.ui-button):not(.mejs-button2):not(.actionbtn) {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #F0F0F0), color-stop(1, #DFDFDF) );
    background:-moz-linear-gradient( center top, #F0F0F0 5%, #DFDFDF 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F0F0F0', endColorstr='#DFDFDF');
    background-color:#F0F0F0;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    border:1px solid #CDCDCD;
    display:inline-block;
    color:#888;
    font-size:15px;
    padding:6px 20px;
    text-decoration:none;
    text-shadow:1px 1px 0 #ededed;
    outline:0;
    height:44px;
}

a input[type=button],button:not(.ui-button):not(.mejs-button2):not(.actionbtn) {
    text-decoration:none;
}

input[type=button]:not(.actionbtn):hover, button:not(.ui-button):not(.mejs-button2):not([aria-controls=video_player]):not(.actionbtn):not(.approve):not(.reject):not(.register):hover:not(:disabled):not(.controlbtn) {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dedede), color-stop(1, #cccccc) );
    background:-moz-linear-gradient( center top, #dedede 5%, #cccccc 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dedede', endColorstr='#cccccc');
    background-color:#dedede;
    color:#555;
}

input[type=button]:active, button:active:not(:disabled):not(.ui-button):not(.mejs-button2):not([aria-controls=video_player]) {
    position:relative;
    top:1px;
}

input[type=button]:disabled, button:disabled {
    color:#bbb !important;
    cursor: default;
}

input[type=submit],button.actionbtn,input[type=button].actionbtn {
    border-radius:5px;
    display:inline-block;
    font-family:Arial;
    font-size:16px;
    font-weight:bold;
    padding:10px 26px;
    text-decoration:none;
    min-width:108px;
    text-align:center;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #669FE0), color-stop(1, #4D78BB) );
    background:-moz-linear-gradient( center top, #669FE0 5%, #4D78BB 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#669FE0', endColorstr='#4D78BB');
    background-color:#669FE0;
    border:1px solid #809EF2;
    color:#fff;
    text-shadow:1px 1px 0px #365399;
    position:static;
    vertical-align:bottom;
    margin-left:10px;
}

input[type=submit]:hover:not(:disabled),input[type=button].actionbtn:not(:disabled):hover,button.actionbtn:hover:not(:disabled) {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #588ecc), color-stop(1, #3866a6) );
    background:-moz-linear-gradient( center top, #588ecc 5%, #3866a6 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#588ecc', endColorstr='#3866a6');
    background-color:#588ecc;
    color:#fff;
}

input[type=submit]:active:not(:disabled),input[type=button].actionbtn:active:not(:disabled),button.actionbtn:active:not(:disabled) {
    position:relative;
    top:1px;
    left:1px;
}

input[type=submit]:disabled,input[type=button].actionbtn:disabled,button.actionbtn:disabled {
    color:#bbb !important;
    opacity:0.7 !important;
    cursor: default;
}

input[type=checkbox]:not(.hamburger-trigger) {
    display: none;
}

input[type=checkbox]:not(.hamburger-trigger) + label {
    background-color: #fafafa;
    border: 1px solid #cacece;
    padding: 8px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    vertical-align:middle;
    margin-right:8px;
    font-family:serif;
    font-size:15px;
}

input[type=checkbox]:checked:not(.hamburger-trigger) + label {
    background-color: #e9ecee;
    border: 1px solid #adb8c0;
    color: #99a1a7;
    background-image:url('../img/Checkbox_Tick.svg');
    background-size:contain;
    background-position:center;
}

input[type=checkbox]:not(.hamburger-trigger) + label.small {
    padding: 6px;
}

input[type=checkbox]:checked:not(.hamburger-trigger) + label.small:after {
    top:0;
    left:2px;
    font-size:70%;
}

input[type=checkbox]:checked:disabled:not(.hamburger-trigger) + label {
    background-color: #b0b3b5;
}

input[type=checkbox]:checked:disabled:not(.hamburger-trigger) + label:after {
    color:#888;
}

input[type=checkbox]:disabled:not(.hamburger-trigger) + label {
    background-color: #b0b3b5;
}

select {
    padding:5px;
    border:thin solid #ccc;
    border-radius:3px;
    margin:5px;
    font-size:13px;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    -ms-appearance:none;
    background:#eee url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' height='4' width='16'><polygon points='4 0, 8 4, 12 0'></polygon></svg>") right center no-repeat;
    padding-right:20px;
}

select.small {
    font-size:10px;
    padding:4px;
    margin:2px;
    padding-right:20px;
}

select.noborder {
    border:none;
    padding:0;
    padding-right:20px;
    margin:0;
    outline:none;
    background-color:transparent;
}

.page-nav {
    text-align:center;
}

.page-nav button {
    margin:0 15px;
}

/* Contact Form */

.contact-form {
    width:100%;
    max-width:600px;
}

.contact-form input[type=text],input[type=email],input[type=tel] {
    width:100%;
}

.contact-form textarea {
    width:100%;
    height:200px;
}

/* Alerts */

.info-alert,.error-alert {
    border:thin solid #555;
    border-radius: 3px;
    padding:10px;
    margin-top:10px;
    margin-bottom:20px;
}

.info-alert {
    background-color:#f5efab;
}

.error-alert {
    background-color:indianred;
    font-weight: bold;
}

/* Misc */

.more-tools {
    background-color:#eee;
    border:thin solid #ddd;
    padding:10px;
    margin:75px auto -35px;
    max-width:1024px;
}

.more-tools img {
    float:left;
    margin-right:5px;
}

.more-tools a {
    font-weight:bold;
}

.more-tools table {
    width: 100%;
}

.more-tools .featuretext {
    font-size:15px;
}