/* General CSS */
body {
    padding-top: 67px;
}

.center {
    text-align: center;
}

.btn.disabled {
    opacity: .3;
}

.subtle {
    font-style: italic;
    color: rgba(168, 168, 168, 0.5);
    font-size: .8em;
}

.white {
    color: white;
    text-decoration: none;
}

.light-grey {
    color: rgba(168, 168, 168, 0.5);
}

.green {
    color: rgba(0, 168, 0, 0.85);
}

.blue {
    color: rgb(51, 122, 183);
}

.red {
    color: rgb(178, 34, 34);
}

.yellow {
    color: #f0ad4e;
}

.slash-bold {
    font-weight: bold;
    font-size: 1.3em;
}

.tinytext {
    font-size: 9px;
}

.inline_h6 {
    font-weight: 500;
    line-height: 1.1;
    font-size: 12px;
    margin-right: .8em;
}

/* For the MotM list/table page */
#mainTable .img-thumbnail {
    width: 150px;
}

tr.center th {
    text-align: center;
}

tr.center td {
    text-align: center;
}

/* Used on the MotM editor page*/
#release_status button.btn.btn-default.focus {
    background-color: rgba(51, 122, 183, 0.3);
}

.pad-left {
    margin-left: .5em;
}

.form-inline .form-group {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}

.form-inline .form-group label.section {
    padding-right: 1em;
    width: 15%;
    text-align: right;
}

/*.form-inline .form-group input {*/
    /*width: 80%;*/
/*}*/

/*.form-inline .form-group textarea {*/
    /*width: 80%;*/
    /*max-width: 80%;*/
/*}*/

.well-motm {
    background-color: rgba(245, 245, 245, .6);
}

.bg-variableSection {
    border: 2px solid rgba(225, 225, 225, 1);
    background-color: white;
    border-radius: 4px;
    padding: 7px;
    margin-bottom: 8px;
}

#DynamicSection li {
    list-style-type: none;
}

.image-box {
    height: 305px;
}

.well-motm hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    margin-top: 10px;
    margin-bottom: 10px;
}

.insertSeparator hr {
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
}

.insertSeparator hr:after {
    line-height: 1.15;
    content: "§";
    display: inline-block;
    position: relative;
    top: -0.7em;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: white;
}

.anchorButton {
    margin: -5px 0 5px 0;
}

.wider-modal {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
}

/* Set the color for form placeholder text to be more subtle */
::-webkit-input-placeholder {
    color: rgba(153, 153, 153, .3) !important;
}

:-moz-placeholder { /* Firefox 18- */
    /*color: rgba(153,153,153,.1);*/
    color: rgba(153, 153, 153, .3) !important;
}

::-moz-placeholder { /* Firefox 19+ */
    color: rgba(153, 153, 153, .3) !important;
}

:-ms-input-placeholder {
    color: rgba(153, 153, 153, .3) !important;
}

input:-moz-placeholder {
    color: rgba(153, 153, 153, .3) !important;
}

/* Navbar styling*/
.navbar {
    background-color: rgba(40, 78, 118, 1);
    border: 0;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
    padding-right: 10px;
    margin-bottom: 0px;
}

.navbar-header {
    display: inline-block;
}

.navbar-default .navbar-brand {
    color: #fff !important;
}

.navbar-brand {
    padding: 0;
}

.nav-button-glow {
    margin: 7px 5px;
    box-shadow: 0 0 3px white;
}

.nav-button {
    margin: 7px 5px;
}

.nav-button-xs {
    margin: 14px 5px;
}

@media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #ccc;
    }
}

#nav-page-title {
    color: white;
    margin-top: 14px;
}

#nav-page-title span {
    padding-right: 1.2em;
}

.toggle-delete {
    margin: 7px 5px;
}

.toggle-delete.active {
    margin: 7px 5px;
    box-shadow: 0 0 7px orange;
}

.margin-left-lg {
    margin-left: 1.5em;
}

.margin-right-sm {
    margin-right: .5em;
}

.margin-bottom-sm {
    margin-bottom: .5em;
}

.margin-xs {
    margin: 2px;
}

.padding-xs {
    padding: 4px;
}

/* Side bar nav - MotM editor only */
#side-nav {
    background-color: white;
    position: fixed;
    left: -1px;
    top: 40%;
    height: 305px;
    width: 38px;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 0 3px #ccc;
    border: 1px solid #5f5f5f;
}

#side-nav .btn {
    margin: 5px;
}

/* Our Dropzone CSS */
.file_upload {
    text-align: center;
    font-style: italic;
    color: rgba(88, 88, 88, 0.5);
    font-size: .8em;
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 200px;
    height: 200px;
    min-height: 200px;
}

.required_file {
    border: 7px dashed #0099FF;
}

.required_file:hover {
    border: 7px dashed #00CC00;
}

.optional_file {
    border: 7px dashed #CCCCCC;
}

.optional_file:hover {
    border: 7px dashed #00CC00;
}

.dz-success-mark {
    display: none;
}

.dz-error-mark {
    display: none;
}

.dz-image {
    height: 100%;
    padding-top: 20px;
    vertical-align: middle;
    display: inline-block;
}

.dz-image-preview {
    position: absolute;
    width: 186px;
    height: 186px;
}

.image-preview {
    margin-top: 15px;
    min-width: 160px;
    max-width: 180px;
    width: 100%;
    height: auto;
}

.dz-filename {
    position: absolute;
    bottom: 2px;
    text-align: center;
    left: 0%;
    width: 100%;
}

.dz-message {
    position: absolute;
    top: 0px;
    text-align: center;
    left: 0%;
    width: 100%;
}

/* News Editor */
#actionNews {
    margin-right: 6px;
}

#datetimepicker {
    left: 15px;
    width: 63%;
}

#releaseDate {
    text-align: left;
    background-color: white;
}

#calendardiv {
    border-left: 1px solid #ccc;;
}

.parsley-error {
    color: #B94A48 !important;
    background-color: #F2DEDE !important;
    border: 1px solid #EED3D7 !important;
}

.parsley-errors-list {
    list-style-type: none;
    -webkit-padding-start: 5px;
    font-size: small;
    color: #B94A48;
}

.AddImageForm .file_upload {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.dropImageZone .dz-preview,
#homepage_filename .dz-preview {
    height: 100%;
    padding-top: 10px;
    vertical-align: middle;
}

.dropImageZone .dz-preview .dz-message,
#homepage_filename .dz-preview .dz-message {
    margin-bottom: 10px;
}

.dropImageZone .dz-preview .image-preview,
#homepage_filename .dz-preview .image-preview {
    text-align: center;
    width: 75%;
    min-width: 140px;
}

.color-rcsb {
    color: #325880;
}

.color-pdb101 {
    color: #5a5a5a;
}

.color-wwpdb {
    color: #669966;
}

.no-padding {
    padding: 0;
}

.no-margin {
    margin: 0;
}

.sm-padding {
    padding: 7px;
}

.padding-lr-sm {
    padding-left: 5px;
    padding-right: 5px;
}

.padding-lr-lg {
    padding-left: 15px;
    padding-right: 15px;
}

.padding-tb-sm {
    padding-top: 5px;
    padding-bottom: 5px;
}

.padding-top-sm {
    padding-top: 14px;
}

.padding-bot-sm {
    padding-bottom: 14px;
}

.padding-tb-lg {
    padding-top: 5px;
    padding-bottom: 25px;
}

.margin-l-sm {
    margin-left: 5px;
}

.margin-lr-sm {
    margin-left: 5px;
    margin-right: 5px;
}

.margin-tb-sm {
    margin-top: 5px;
    margin-bottom: 5px;
}

.margin-t-7px {
    margin-top: 7px;
}

.margin-b-7px {
    margin-bottom: 7px;
}

.margin-top-sm {
    margin-top: 20px;
}

.margin-sm {
    margin: 5px;
}

.text-area-vertical {
    resize: vertical;
}

.no-bullets {
    list-style-type: none;
}

#copyModalContent {
    resize: vertical;
    width: 100%;
}

/* Cool slider checkboxes */
.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

#list-other-images-here {
    padding-right: 1em;
    text-align: right;
    padding-top: .5em;
}

/* Login page CSS */

.lock {
    position: relative;
    width: 55px;
    left: -35px;
    top: -40px;
}

.no-text-decoration {
    text-decoration: none;
}

.google {
    width: 55px;
}

.hold_user_block {
    line-height: 1em;
    height: 1em;
}

#profile_name {
    margin-top: 1.2em;
    margin-right: 4px;
}

#profile_pic {
    height: 38px;
}

/* Home page button CSS*/
.hp-well button {
    opacity: .90;
}

.hp-well {
    background-size: 45%;
    background-color: white;
    background-repeat: no-repeat;
    background-position: right;
}

.hp-well-dns {
    background-size: 35%;
    background-image: url('/images/globe_dns_small.png');
}

.hp-well-dns-wwpdb {
    background-size: 35%;
    background-image: url('/images/globe_dns_small_wwpdb.png');
}

.hp-well-dns_traffic_director {
    background-size: 30%;
    background-image: url('/images/earth-globe-with-three-arrows-color.png');
}

.hp-well-dns_health {
    background-size: 30%;
    background-image: url('/images/health-icon.png');
}

.hp-well-dns_history {
    background-size: 30%;
    background-image: url('/images/uptime.png');
}

.hp-well-auth {
    background-size: 25%;
    background-image: url('/images/lock.png');
}

.hp-well-openstack {
    background-position: bottom right;
    background-size: 40%;
    background-image: url('/images/openstack-logo.png');
}

.hp-well-openstack-admin {
    background-size: 22%;
    background-image: url('/images/wizard-hat.png');
}

.hp-well-openstackmatrix {
    background-image: url('/images/openstack_support_matrix.png');
}

.hp-well-openstack-buildingblock {
    background-position: bottom right;
    background-size: 17%;
    background-image: url('/images/building-block.png');
}

/* Post OSCAR fork below */

/* Spin code START */
.oscar_title_section {
    position: relative;
    display: inline-block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 20px;
    padding-left: 47px;
    padding-top: 15px;
    top: 0;
    left: 0;
    width: 150px;
    height: 50px;
}

.oscar_svg_section {
    position: absolute;
    display: inline-block;
    top: 0px;
    left: 0px;
    padding-top: 25px;
    padding-left: 25px;
    width: 50px;
    height: 50px;
    overflow: visible !important;
}

.spin_type_fast_clockwise {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation-name: clockwise_spin;
    -webkit-animation-duration: 14000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: clockwise_spin;
    -moz-animation-duration: 14000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
}

.spin_type_slow_clockwise {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation-name: clockwise_spin;
    -webkit-animation-duration: 22000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: clockwise_spin;
    -moz-animation-duration: 22000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
}

@-moz-keyframes clockwise_spin {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-webkit-keyframes clockwise_spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@keyframes clockwise_spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.spin_type_fast_counterclockwise {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation-name: counterclockwise_spin;
    -webkit-animation-duration: 14000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: counterclockwise_spin;
    -moz-animation-duration: 14000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
}

.spin_type_slow_counterclockwise {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation-name: counterclockwise_spin;
    -webkit-animation-duration: 22000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: counterclockwise_spin;
    -moz-animation-duration: 22000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
}

@-moz-keyframes counterclockwise_spin {
    from {
        -moz-transform: rotate(359deg);
    }
    to {
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes counterclockwise_spin {
    from {
        -webkit-transform: rotate(359deg);
    }
    to {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes counterclockwise_spin {
    from {
        transform: rotate(359deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* Spin code END */

.no-margin-top {
    margin-top: 0px;
}

.inline-block {
    display: inline-block;
}

.fake-label {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    height: 20px;
    line-height: 20px;
    margin-bottom: 5px;
    max-width: 100%;
}

.smaller {
    font-size: 65%;
}

#alert_zone {
    /*font-family: 'Roboto Condensed', sans-serif;*/
    font-size: 14px;
    text-align: center;
    float: right;
    margin: 7px 4px 0 0;
}

#alert_zone .alert {
    padding: 0;
    line-height: 2.5em;
    margin: 0;
}

/* Used to make a CSS spinner that can be used when things are loading */
.glyphicon-refresh-animate {
    -animation: spin 3s infinite linear;
    -webkit-animation: spin2 3s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

/* End of spinner */

/* Button spacing on auth page */
.manage-auth {
    margin: 0 4px 5px 0;
}

/* Changes  to the nav bar look and feel */
.navbar-default .navbar-nav > li > a {
    color: lightgrey;
}

.navbar-default .navbar-nav > li > a:hover {
    color: white;
}

/* Cool slider checkboxes */
.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

/* For D3 Oscar Support Visualization */
.node circle {
    cursor: pointer;
    fill: #fff;
    stroke: steelblue;
    stroke-width: 1.5px;
}

.node text {
    font-size: 11px;
}

path.link {
    fill: none;
    stroke: #ccc;
    stroke-width: 1.5px;
}

.btn-wwpdb {
    border: 2px solid rgba(63, 191, 63, 0.44);
}

.btn-pdb {
    border: 2px solid #5e94c3;
}

.pin-bottom {
    font-size: 10px;
    position: absolute;
    bottom: 25px;
    left: 0px;
    width: 100%;
    text-align: center;
    z-index: 1000;
}

.pin-top {
    font-size: 10px;
    position: absolute;
    top: 2px;
    left: 0px;
    width: 100%;
    text-align: center;
    z-index: 1000;
}

.has-success input {
    background: rgba(60, 118, 61, .2);
}

.has-error input {
    background: rgba(169, 68, 66, .2);
}

.hp-row {
    margin-bottom: 20px;
    padding-top: 10px;
    background-color: rgba(57, 57, 57, .03);
    border-radius: 5px;
}