/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/* ----------------------- Flexbox pre issue-------------------------- */
html,
body,
div,
span,
object,
iframe,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
article,
main,
nav,
ins {
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  line-height: inherit;
  vertical-align: baseline;
  font-size: 100%;
  min-width: 0;
}
/* ----------------------- Flexbox pre issue-------------------------- */

/* Google Material Design Icon */

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}

html {
  color: #252830;
  line-height: 1.6;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 0;
  border: 0;
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  font-size: 16px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  color: #252830;
  /*    letter-spacing: 0.8px;
    word-spacing: 3.5px;*/
  line-height: 1.5;
  word-spacing: 3px;
}

p {
  margin-bottom: 1.5em;
  margin-top: 1.5em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #2b6dad;
  text-decoration: none;
  /*color: dodgerblue;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a:hover {
  color: royalblue;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  line-height: 1.15;
  font-weight: 600;
  color: #252830;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-spacing: 0px;
}

h1 {
  margin-bottom: 0.3em;
  font-size: 1.8em;
  font-family: Arial, Tahoma, "Trebuchet MS", "Open Sans";
  font-weight: normal;
  margin-top: 12px;
  line-height: 1.05;
  display: flex;
  align-items: center;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #eee;
  padding: 0 10px 10px 0;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.4em;
  margin: 0.8em 0 0.45em 0;
}

h3 {
  font-size: 1.2em;
  margin: 0.8em 0 0.35em 0;
}

h4 {
  font-size: 1.1em;
  margin: 0.7em 0 0.25em 0;
}

ol,
ul {
  margin-bottom: 1.5em;
  margin-top: 1.5em;
  padding-left: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol ol,
ol ul,
ul ol,
ul ul {
  margin-bottom: 0;
}

ol ol {
  list-style-type: lower-alpha;
}

img {
  max-width: 100%;
  margin: 1.2em 0;
}

pre {
  white-space: pre;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 1.8em;
  background: #efeff1;
  padding: 15px 2.5%;
  overflow: auto;
  border: 1px solid #eaeaec;
  font-family: Consolas, Menlo, Monaco, "Lucida Console", Liberation Mono,
    DejaVu Sans Mono, Bitstream Vera Sans Mono, "Courier New", Courier,
    monospace;
}

ol.linenums {
  line-height: 1.15 !important;
  margin-left: -1px;
  color: #888;
  padding: 15px 0;
  margin-bottom: 0;
  margin-top: 0;
}

ol.linenums li {
  font-size: 12.5px;
}

ol.linenums li code {
  font-size: 13.5px;
  line-height: 1.4;
}

pre.prettyprint {
  padding: 0 !important;
  white-space: pre;
  margin-bottom: 1.8em;
  overflow: auto;
  /* padding: 20px 2.5% 20px !important; */
  font-family: Consolas, Menlo, Monaco, "Lucida Console", Liberation Mono,
    DejaVu Sans Mono, Bitstream Vera Sans Mono, "Courier New", Courier,
    monospace !important;
  background-color: #f6f6f6 !important;
  padding-left: 12px !important;
}

pre code,
pre samp {
  font-weight: normal;
  font-family: Consolas, Menlo, Monaco, "Lucida Console", Liberation Mono,
    DejaVu Sans Mono, Bitstream Vera Sans Mono, "Courier New", Courier,
    monospace !important;
  background: none !important;
}

pre samp {
  line-height: 1.5;
  font-size: 13.5px;
}

var,
code {
  font-size: 16px;
  font-weight: bold;
}

p var,
p code,
li var,
li code,
table var,
table code {
  font-size: 0.86em;
  font-family: Menlo, Consolas, "Open Sans", sans-serif;
  background: #eff0f1;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 300;
}

table {
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  min-width: 70%;
  max-width: 100%;
  vertical-align: initial;
  overflow-x: auto;
  display: block;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#programiz-left-sidebar table {
  display: table;
  width: 100%;
}

#programiz-left-sidebar h2 {
  font-size: 1.2em;
  text-align: left;
  padding: 15px 0;
  background: #eeeef1;
  padding-left: 10px;
}

#programiz-left-sidebar ul:not(.topmenu):not(.submenu) {
  padding: 0;
  margin: 0;
}
#programiz-left-sidebar ul:not(.topmenu):not(.submenu) li {
  border-bottom: 1px solid #eaeaec;
  padding: 15px 8px 15px 10px;
  line-height: 1.4;
  font-size: 0.96em;
}

#programiz-left-sidebar table tr {
  line-height: 1.6;
}

#programiz-left-sidebar table a {
  font-size: 0.96em;
  padding: 4px 0;
}

#programiz-left-sidebar .large-list-sidebar td,
#programiz-left-sidebar .large-list-sidebar li {
  padding-top: 10px;
  padding-bottom: 3px;
}

.view-related-examples-c-cpp-python-r- table {
  width: 100%;
  margin-bottom: 20px;
}

table td,
table th {
  border: 1px solid #eaeaec;
  padding: 10px 8px 9px 10px;
}

table th {
  font-weight: normal;
  text-align: left;
  padding-top: 15px;
  padding-bottom: 14px;
  background-color: #eaeaec;
  font-size: 17px;
}

table tr:nth-child(even) {
  background: #f6f6f6;
}

.display-in-desktop {
  display: none;
}

#search-area {
  background: #ffffff;
  display: none;
  padding: 0px;
  padding-bottom: 10px;
  margin: 0 auto;
  box-shadow: 0 0 4px #2c394b !important;
}

#search-area span.material-icons {
  font-size: 30px;
  margin-right: 15px;
  float: right;
  cursor: pointer;
}

#search-area h2 {
  display: none;
}

#search-area form {
  position: relative;
  left: 10px;
}

#search-area form input[type="text"] {
  width: 70%;
  float: left;
  margin: 0 auto !important;
}

#search-area form input[type="submit"] {
  width: 20%;
  float: left;
  margin-bottom: 0.3em;
  padding: 15px 5px;
  background: #453744;
  border: 0 none;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
}

#search-area .ui-autocomplete {
  position: absolute;
  width: 90%;
}

#search-area ul[data-sa-theme="basic-blue"].ui-menu {
  min-width: inherit;
}

table tr:nth-child(even) {
  background: none;
}

p + pre {
  margin-top: -0.8em;
}

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.header-list-menu .visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.header-list-menu .visuallyhidden.focusable:active,
.header-list-menu .visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.header-wrapper {
  background: white;
}

.logo a {
  display: block;
  margin: 13px auto;
  width: 110px;
  height: 38px;
}

.logo a img {
  margin: 0;
}

.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav h2 {
  display: none;
}

.main-nav .current-main-nav {
  border-bottom: 4px solid #f1f2f3;
  margin-bottom: -2px;
}

.main-nav .current-main-nav:hover {
  border-color: #ccc;
}

.mobile-menu {
  display: block !important;
}

.mobile-menu a {
  font-size: 26px;
}

#default-mobile-menu ul {
  text-transform: uppercase;
}

#default-mobile-menu .sidr-inner ul > li:first-of-type {
  display: none;
}

#default-mobile-menu .sidr-inner a {
  padding: 8px 5px;
}

input::placeholder {
  font-size: 0.88em;
}

.form-item input {
  margin: 15px auto;
  border: 1px solid #ccc;
  max-width: 96%;
  padding: 15px 0 15px 15px;
  font-size: 17px;
}

.form-item textarea {
  margin: 30px auto;
  border: 1px solid #ccc;
  padding: 15px 0 0 15px;
}

.form-actions input[type="submit"] {
  margin: 15px auto;
  width: 300px;
  padding: 14px 0;
  background: #418bca;
  text-align: center;
  border: none;
  color: white;
}

select {
  -webkit-appearance: menulist-button;
  height: 60px;
  background: #ededed;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  min-width: 300px;
  max-width: 100%;
  font-size: 1.05em;
  color: #2c394b;
}

/* Previous / Next pager */
ul.custom-pager {
  margin: 0;
  padding: 10px 25px 25px 25px;
  border-top: 2px solid #2c394b;
}

ul.custom-pager li {
  margin: 0;
  padding: 20px 20px 0 20px;
  display: block;
  width: 40%;
  float: left;
  list-style-type: none;
  list-style-image: none;
  background: none;
  line-height: 22px;
}

ul.custom-pager li a {
  text-decoration: none !important;
  text-transform: uppercase;
}

ul.custom-pager li strong {
  font-size: 14px;
}

ul.custom-pager li.previous {
  margin-right: 5px;
  position: relative;
}

ul.custom-pager li.next {
  margin-left: 5px;
  float: right;
  text-align: right;
  position: relative;
}

ul.custom-pager li.previous a:after {
  content: "\00AB";
  position: absolute;
  left: -22px;
  top: 85%;
  margin-top: -30px;
  font-size: 60px;
}

ul.custom-pager li.next a:after {
  content: "\00BB";
  position: absolute;
  right: -22px;
  top: 85%;
  margin-top: -30px;
  font-size: 60px;
}

/*.chapter {
    border-bottom: 1px solid #EEE;
    border-top: 1px solid #EEE;
    margin: 25px 0;
    padding: 8px 12px;
}

.chapter a {
    color: #2C394B;
    font-weight: 400;
    display: block;
    top: 6px;
    font-size: 1.15em;
    font-weight: 300;
}

.chapter a:hover {
    color: #2C397E;
}
.prev {
    text-align: left;
    float: left;
}
.next {
    text-align: right;
    float: right;
}*/

.item-list ul {
  margin: 0 0 0.75em 0;
  padding: 0 15px;
  line-height: 1.6;
}

.related-content-menu {
  margin: 0 auto 20px;
}

.related-content-menu ul {
  /*margin: 25px auto 0;*/
  list-style: none;
  margin: 18px 0 0 0;
  padding: 25px 15px;
  background: #fbfbfb;
}

.related-content-menu a {
  padding: 12px 0 12px 25px;
  position: relative;
  line-height: 1em;
  display: block;
  font-weight: 300;
}

.related-content-menu li a:before {
  content: "➥ ";
  font-size: 1em;
  position: absolute;
  color: #2c394b;
  left: 0;
}

#footer {
  background: #2c394b;
  padding: 25px 25px 20px;
  font-size: 0.93em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

#footer p {
  font-size: 0.85em;
  letter-spacing: 0.8px;
  padding-left: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo img {
  margin: 0;
  width: 115px;
}
.footer-links {
  margin-top: 35px;
  margin-bottom: 35px;
}

.footer-links span {
  color: white;
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
  font-size: 0.84em;
  letter-spacing: 0.8px;
  font-weight: 300;
}

.footer-links li {
  line-height: 2.2;
}

.footer-links ul a {
  color: rgba(255, 255, 255, 0.6);
  text-transform: capitalize;
}

.footer-links ul a:hover {
  color: white;
}

/*#footer ul {
    list-style: none;
    text-align: center;
    text-transform: uppercase;
}

#footer a {
    color: white;
}
#footer a:hover {
    color: #eee;
}

.footer-left, .footer-right {
    width: 90%;
    margin: 30px auto;
}

.footer-misc ul {
    margin: 0;
    padding: 0;
    text-align: center;
}
.footer-misc li {
    display: inline;
}
.footer-misc li:after {
    content: " | ";
    color: white;
    letter-spacing: 3px;
}
.footer-misc li:last-child:after {
    content: "";
}*/
.copyright {
  text-align: center;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  font-size: 12.5px;
  letter-spacing: 0.8px;
}

/*.copyright a {
    color: #2C394B;
}*/

.table-container {
  overflow-y: auto;
  _overflow: auto;
  margin: 0 0 1em;
}

.main-nav-wrapper {
  background: #2c394b;
  color: #fff;
  height: 53px;
  z-index: 100;
}
.main-nav-wrapper a {
  color: #fff;
  display: block;
  padding: 0 11px;
}

.main-nav {
  float: left;
}

.main-nav li {
  float: left;
  text-transform: uppercase;
  font-size: 0.87em;
}

.main-nav-wrapper a:hover {
  color: #ccc;
}

.main-nav-wrapper a.current-main-nav:hover {
  line-height: 51px;
}
.search-icon {
  float: right;
}

#search-result {
  padding: 5% 7%;
}

#main-wrapper-one-column {
  padding: 5% 3%;
}

.main-nav-wrapper.menu-one-column .mobile-menu {
  display: none !important;
}

.one-column-right {
  display: block;
  margin: 0;
  padding-top: 15px;
}

.one-column-right div {
  padding: 1px 2px;
}

.one-column-right p {
  margin-bottom: -12px;
  margin-top: 5px;
}

.one-column-right ul {
  line-height: 1.8;
  font-size: 0.92em;
  margin-bottom: 25px;
}

#main-wrapper-one-column table {
  min-width: 100%;
}

.main-nav a,
.search-icon {
  vertical-align: bottom;
  line-height: 51px;
  word-spacing: initial;
}

#programiz-below-nav,
#programiz-above-footer {
  margin: 20px auto;
  border-radius: 10px;
}

.nav-ads {
  width: 728px;
  margin: 0 auto;
}

#programiz-left-sidebar {
  margin: 40px 0 10px;
}

#main-wrapper-two-column #programiz-main-content,
#main-wrapper-three-column #programiz-main-content {
  padding: 15px 24px;
}

/*#programiz-left-sidebar table, #programiz-right-sidebar table {
    white-space: normal;
}*/
/*{*/
/*color: #000000;*/
/*}*/

.header-list-menu {
  width: 94%;
  margin: 0 auto 10px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.header-list-menu h2 {
  text-align: center;
}

.topmenu,
.submenu {
  background: #fbfbfb;
  padding: 12px 0;
  margin: 0;
}

.topmenu h3,
.submenu {
  padding-left: 6%;
}
.topmenu h3 {
  margin: 2px 0;
  padding-top: 8px;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.99em;
  font-family: Tahoma, "Open Sans", sans-serif;
}
.submenu {
  margin-left: 3px;
}

.topmenu ul li {
  margin-bottom: 10px;
  padding-left: 10px;
}

.submenu a {
  /*color: #666698;*/
  color: #4169bb;
  font-size: 0.96em;
}

.nav-mobile {
  background: white;
  height: 100vh;
  width: 100%;
  z-index: 101;
  position: fixed;
  display: none;
}

.no-submenu-mobile {
  height: calc(100vh - 60px);
}

.nav-mobile-no-submenu div .back-nav {
  display: none;
}

.nav-mobile > div {
  display: flex;
  background: #2c394b;
  height: 60px;
  z-index: 101;
}

.nav-mobile > div h2 {
  color: white;
  text-transform: uppercase;
  font-size: 1em;
  line-height: 60px;
  margin: 0;
  flex-grow: 100;
  order: 2;
  padding-left: 6%;
}

.nav-mobile > div h2 span {
  text-transform: lowercase;
}
.nav-mobile .material-icons.close-nav,
.nav-mobile .material-icons.back-nav {
  cursor: pointer;
  font-size: 32px;
  color: #ffffff;
  opacity: 0.9;
  padding-right: 0px;
  display: block;
  height: 60px;
  line-height: 60px;
  flex-grow: 1;
}

.nav-mobile .material-icons.nav-right {
  position: absolute;
  right: 25px;
  font-size: 32px;
  margin-top: -5px;
}
.nav-mobile .material-icons.back-nav:hover,
.nav-mobile .material-icons.close-nav:hover {
  background: initial;
}
.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: auto;
  background: white;
  z-index: 101;
}

.nav-mobile > div .material-icons.back-nav {
  order: 1;
  text-align: left;
  padding-left: 5%;
}

.nav-mobile > div .material-icons.close-nav {
  order: 3;
  text-align: right;
  padding-right: 5%;
}

.nav-mobile .nav-mobile-topmenu li,
.nav-mobile .nav-mobile-topmenu td {
  display: list-item;
}

.nav-mobile .nav-mobile-topmenu .submenu {
  position: absolute;
  top: 60px;
  z-index: 101;
  height: calc(100vh - 60px);
  width: 100%;
  background: white;
}
.nav-mobile .nav-mobile-topmenu a {
  display: block;
  padding: 16px 6%;
  border-bottom: 1px solid #ccc;
  color: #444;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: none;
}

.nav-mobile .nav-mobile-topmenu .nav-mobile-prevmenu,
.nav-mobile .nav-mobile-topmenu .nav-mobile-nextmenu {
  background: #eee;
}

.nav-mobile .nav-mobile-topmenu .nav-mobile-prevmenu a,
.nav-mobile .nav-mobile-topmenu .nav-mobile-nextmenu a {
  opacity: 0.9;
  font-weight: 600;
}

.prev-next-chapter {
  color: #999;
  text-transform: uppercase;
  font-size: 11px;
  padding-left: 6%;
}

.nav-mobile .nav-mobile-topmenu a:hover {
  opacity: 1;
}
.nav-mobile .nav-mobile-topmenu .nav-mobile-visuallynothidden {
  opacity: 1;
}

.nav-mobile .nav-mobile-topmenu .currentPage,
.nav-mobile .currentPageParent {
  background: #eee;
}

.nav-mobile .nav-mobile-topmenu .currentPage a {
  opacity: 1;
}

#programiz-left-sidebar .currentPage a {
  font-weight: 600;
}

.header-list-menu ul {
  list-style: none;
}

.header-list-menu .visuallynothidden li {
  font-size: 1em;
}

.indicator_hide {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #222;
  position: relative;
  top: 8px;
  float: right;
  margin-right: 6%;
}
.indicator_show {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #222;
  position: relative;
  top: 8px;
  float: right;
  margin-right: 6%;
}

.related-content-menu-small-width ul {
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
  font-size: 15px;
}

.related-content-menu-small-width a {
  padding: 10px;
  display: block;
}

.related-content-menu-small-width li:nth-child(2n) {
  background: #f6f6f6;
}

/*.fixed-header {*/
/*position: fixed;*/
/*top: 0;*/
/*width: 100%;*/
/*}*/

/*.fixed-header-margin {*/
/*margin-top: 64px;*/
/*}*/

.topics {
  clear: both;
  margin: 10px auto;
}

.topics h2 {
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}
.topics section {
  min-width: 300px;
  width: 100%;
  margin-bottom: 40px;
  padding-bottom: 5px;
  border: 1px solid #596d8a;
}

.topics section ul {
  list-style: none;
  margin-top: 20px;
  text-align: center;
}

.topics h3 {
  margin: 0;
  padding: 15px 0;
  color: white;
  text-align: center;
  background: #596d8a;
  font-size: 17px;
  font-weight: normal;
}

.topics section a {
  display: block;
  line-height: 1.4em;
  font-size: 0.95em;
}

/*.related-content-menu a {
    padding: 12px 0 12px 25px;
    position: relative;
    line-height: 1.2em;
    display: block;
    color: #2C395C;
}

.related-content-menu a:hover {
    color: #000;
}

.related-content-menu li a:before {
    content: "➥ ";
    font-size: 1.1em;
    position: absolute;
    color: #2C394B;
    left: 0;
}*/

/* ---------------------Front Page CSS------------------------- */
/*.front-page-features-wrapper a {
    float: left;
    width: 30%;
}

.front-page-features-wrapper ul {
    float: right;
    width: 60%
}*/

.front-page-element-container img {
  height: 140px;
  width: 120px;
  display: block;
  margin: 0 auto;
}

#front-page-main-content {
  /*max-width: 1200px;*/
  margin: 0 auto 20px;
}

.front-page-element-container {
  padding: 20px 10px;
}

.front-page-element-container:nth-child(2n) {
  background: #f8f8f8;
}

.front-page-features {
  padding: 0 20px;
}

.front-page-link a {
  color: white;
  background: #013220;
  text-align: center;
  display: block;
  width: 80%;
  max-width: 500px;
  margin: 0 auto 15px;
  padding: 15px 20px;
  border-radius: 4px;
}

.front-page-link a:last-of-type {
  background: #2c394b;
}

.front-page-link a:hover {
  background: #000;
}

.language-features,
.language-applications,
.language-who-use {
  background-repeat: no-repeat;
  background-size: 50px 50px;
  padding-left: 60px;
  display: block;
  line-height: 26px;
  padding-bottom: 30px;
  display: block;
}
.language-features {
  background-image: url(/sites/all/themes/Ultimate/img/language-features.png);
}

.language-applications {
  background-image: url(/sites/all/themes/Ultimate/img/language-applications.png);
}

.language-who-use {
  background-image: url(/sites/all/themes/Ultimate/img/language-who-use.png);
}

.front-page-menu {
  display: none;
}

.topics li {
  margin-bottom: 8px;
  padding: 2px;
  font-size: 1.05em;
}

/* ------------------ Mailer Lite CSS START------------*/

.page-short-description {
  color: #9999aa;
  font-weight: 600;
  margin-top: 0;
  padding: 6px 0 20px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  word-spacing: 3.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#programiz-left-sidebar .subscribe {
  background: #eeeef1;
  border-radius: 5px;
  padding: 45px 30px;
  margin: 10px 4%;
}

#programiz-left-sidebar .subscribe h3 {
  color: #444;
  margin: 0 auto;
  font-size: 16px;
  text-align: center;
  font-weight: 300;
  padding-bottom: 30px;
  letter-spacing: 0.6px;
  word-spacing: 4px;
}

#programiz-left-sidebar .subscribe form {
  background: #fff;
  border-radius: 6px;
  position: relative;
}
#programiz-left-sidebar .subscribe form input[type="text"] {
  padding: 10px 0 10px 15px;
  font-size: 14px;
  border: none;
  background: #fff;
  border-radius: 6px;
  width: 66%;
  outline: none;
}

/*#footer .footer-left p {
    text-align: center;
    margin-bottom: 20px;
}*/

#footer input[type="text"] {
  width: 96%;
  padding: 10px 2%;
  margin-bottom: 10px;
  background: transparent;
}

#footer input[type="text"]:focus {
  outline: none;
}

#footer button[type="submit"] {
  width: 100%;
  color: black;
  background: #ffd9cc;
  border: none;
  padding: 6px 2%;
  border-radius: 3px;
}

#programiz-left-sidebar .subscribe form button[type="submit"] {
  background: #2c394b;
  font-size: 12px;
  font-weight: 500;
  padding: 0px 15px;
  border: none;
  color: #e6e6e7;
  border-radius: 5px;
  position: absolute;
  bottom: 6px;
  right: 6px;
}

#share-buttons span:first-child {
  font-weight: bold;
}
#share-buttons span:last-of-type {
  margin-right: 20px;
}
#share-buttons span {
  position: relative;
  top: 4px;
}

/* Content bottom h3 for related examples on examples page */

.content-bottom h3 {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/*------------Entity reference ----------------------*/
.field-type-entityreference {
  padding-left: 20px;
}
.field-type-entityreference .field-item {
  display: list-item;
  font-size: 17px;
  line-height: 1.6;
}

/* --------------- Content bottom Ads-------------*/

.content-bottom-ad {
  width: 300px;
  display: block;
  margin: 0 auto;
}

/* -------------- BSA Native Ads ------------------- */

#programiz-left-sidebar #default_demo #_default_ {
  position: relative;
  border-radius: 3px;
  background-color: hsl(0, 0%, 98%);
  font-size: 13px;
  line-height: 1.5;
}

#programiz-left-sidebar #default_demo .default-ad {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 1px 4px;
  border: solid 1px hsla(0, 0%, 20%, 0.3);
  border-radius: 3px;
  color: hsla(0, 0%, 20%, 0.3);
  text-transform: uppercase;
  font-size: 8px;
}

#programiz-left-sidebar #default_demo ._default_ {
  display: block;
  overflow: hidden;
  padding: 1em;
  line-height: 1.5;
}

#programiz-left-sidebar #default_demo a {
  text-decoration: none;
}

#programiz-left-sidebar #default_demo a:hover {
  color: inherit;
}

#programiz-left-sidebar #default_demo .default-image img {
  display: block;
  float: left;
  margin-right: 10px;
  width: 36px;
  border-radius: 7.5%;
}

#programiz-left-sidebar #default_demo .default-title,
#programiz-left-sidebar #default_demo .default-description {
  display: block;
  margin-left: 46px;
  max-width: -webkit-calc(100% - 36px);
  max-width: -moz-calc(100% - 36px);
  max-width: -o-calc(100% - 36px);
  max-width: calc(100% - 36px);
}

#programiz-left-sidebar #default_demo .default-title {
  font-weight: 600;
  padding-bottom: 5px;
  font-size: 15px;
}

#programiz-left-sidebar #default_demo .default-description {
  color: #555555 !important;
}

.title-sidebar-links #default_demo #_default_ {
  position: relative;
  display: flex;
  line-height: 1.5;
  flex-flow: row nowrap;
  justify-content: space-around;
}

.title-sidebar-links #default_demo .default-ad {
  display: none;
}

.title-sidebar-links #default_demo ._default_ {
  padding: 8px 4px;
  line-height: 1.5;
  flex-flow: row nowrap;
  align-items: flex-start;
}

.title-sidebar-links #default_demo a {
  color: inherit;
}

.title-sidebar-links #default_demo a:hover {
  color: inherit;
}

.title-sidebar-links #default_demo .default-image img {
  display: none;
  float: left;
  margin-right: 10px;
  width: 32px;
  border-radius: 7.5%;
}

.title-sidebar-links #default_demo .default-title {
  position: relative;
  left: 30px;
  font-size: 15px;
}

.title-sidebar-links #default_demo .default-title:before {
  position: absolute;
  top: 2px;
  display: block;
  margin-right: 4px;
  margin-left: -30px;
  padding: 1px 6px;
  border-radius: 3px;
  background-color: #40b553;
  content: "Ad";
  font-size: 11px;
}

.title-sidebar-links #default_demo .default-title,
.title-sidebar-links #default_demo .default-description {
  display: block;
}

.title-sidebar-links #default_demo .default-description {
  color: #bbbbbb;
  font-weight: 300;
  font-size: 14px;
}

.title-sidebar-links #default_demo #_default_:last-of-type {
  display: none;
}

.body-complementary-field {
  background: #fafafa;
  padding: 10px 2.5%;
  margin: 25px 0;
  border-radius: 3px;
}

.quiz-start-link {
  display: block;
  max-width: 250px;
  padding: 15px 20px;
  margin: 100px auto 0;
  background: #418bca;
  text-align: center;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.quiz-start-link:hover {
  color: white;
}

/* Quiz */
#quiz-progress {
  float: right;
  font-style: normal;
  background-color: #3e5b70;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  position: relative;
  top: -65px;
}

.quiz-question-multichoice > h2 {
  display: none;
}

.quiz-question-multichoice table {
  box-shadow: none;
  border-collapse: separate;
  border-spacing: 0 10px;
  width: 100%;
}

.quiz-question-multichoice tr.multichoice-row td:last-of-type {
  width: 100%;
  /* box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.3); */
}

.quiz-question-multichoice .field-name-body {
  font-size: 18px;
  margin-bottom: 50px;
}

.quiz-question-multichoice tr.multichoice-row td:first-of-type {
  position: absolute;
  visibility: hidden;
}

.quiz-question-multichoice tr.multichoice-row {
  background: none;
  cursor: pointer;
}

.quiz-question-multichoice tr.multichoice-row p {
  margin-top: 0;
  margin-bottom: 0;
}

.quiz-question-multichoice tr.multichoice-row.selected td {
  background-color: #3e5b70;
  color: white;
}

.quiz-question-multichoice tr.multichoice-row.selected td strong {
  color: white;
}

.entity-quiz-result-answer {
  margin-bottom: 75px;
}

.entity-quiz-result-answer .field-name-body {
  font-size: 18px;
  margin-bottom: 50px;
}

.entity-quiz-result-answer table tr.odd {
  background: none;
}

.entity-quiz-result-answer table td {
  border: none;
}

#quiz_score_possible {
  display: none;
}

#quiz_score_percent {
  font-size: 25px;
  background-color: #3e5b70;
  color: white;
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 40px;
}

#back-to-top {
  display: none;
}

.in-page-form {
  max-width: 90%;
  margin: 0 auto 40px;
}

.in-page-form input[type="text"] {
  height: 50px;
  width: calc(100% - 10px);
  display: block;
  margin-bottom: 14px;
  border: none;
  padding: 0;
  padding-left: 10px;
}

.in-page-form button {
  height: 50px;
  width: 100%;
  background: #418bca;
  color: white;
  border: none;
}

.tutorial-toc-label {
  position: fixed;
  width: 130px;
  left: calc(50% - 65px);
  bottom: 0;
  bottom: 20px;
  background: #fff;
  z-index: 99;
  display: block;
  height: 45px;
  border-radius: 22.5px;
  line-height: 45px;
  text-align: center;
  font-weight: normal;
  text-transform: capitalize;
  font-size: 16px;
  margin: 0;
  color: white;
  background: #138aff;
  cursor: pointer;
}

.tutorial-toc-label .toc-label-close {
  position: relative;
  top: 4px;
  font-size: 18px;
}

.tutorial-toc ul,
.tutorial-toc ol {
  list-style: none;
  padding-left: 0;
}

.tutorial-toc ol {
  padding-top: 0;
  margin-bottom: 14px;
}

.tutorial-toc > ul {
  display: none;
  padding-top: 20px;
  bottom: 74px;
  width: 90%;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: white;
  z-index: 100;
  box-shadow: 0px 0px 3px rgba(50, 50, 50, 0.2);
  border-radius: 4px;
  border: 2px solid rgba(50, 50, 50, 0.2);
  /* max-height: 400px; */
  overflow-y: auto;
}

/* .tutorial-toc > ul:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  height: 12px;
  width: 12px;
  background: white;
  box-sizing: border-box;
  transform: rotate(45deg) translate(-50%);
  border-right: 2px solid rgba(50, 50, 50, 0.2);
  border-bottom: 2px solid rgba(50, 50, 50, 0.2);
} */

.tutorial-toc > ul ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: initial;
}

/* .tutorial-toc a {
  line-height: 1.4;
  margin-bottom: 14px;
  font-size: 13px;
  color: #697386;
  display: block;
  padding-left: 10px;
  border-left: 3px solid transparent;
  padding-right: 13px;
} */

.tutorial-toc a {
  line-height: 1.4;
  margin-bottom: 17px;
  font-size: 15px;
  color: #475164;
  display: block;
  padding-left: 15px;
  border-left: 3px solid transparent;
  padding-right: 13px;
}

.tutorial-toc > ul ul {
  margin-top: 10px;
  /* margin-left: 10px; */
}

a.current-toc {
  border-left: 3px solid #007efa;
  color: #007efa;
}

.block-webform {
  background: #fafafa;
  padding: 5px 4%;
}

#programiz-left-sidebar .block-webform h2 {
  background: none !important;
  text-align: left;
  text-transform: inherit;
  font-size: 1.04em;
  line-height: 1.3;
  padding: 15px 9px 10px;
  border-bottom: 1px solid #ddd;
}

.block-webform input {
  margin-left: 10px !important;
  padding: 10px;
  margin-top: 5px;
}

.block-webform input[type="text"] {
  width: 82%;
}

.block-webform input[type="submit"] {
  width: 95%;
  width: calc(100% - 10%);
  margin: 0;
}

#footer .form-section p {
  background: white;
}
/* ------------------ Fancy bar ads ---------------------- */

.fancy-premium {
  background: #0081ba;
  width: 100%;
  color: white;
  top: 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
  -webkit-font-smoothing: antialiased;
  z-index: 100;
  display: none;
  position: fixed;
}

.fancy-premium-wrapper {
  cursor: pointer;
  color: white;
}

.fancy-premium > div {
  max-width: 1200px;
  margin: 0 auto;
}

.fancy-premium-wrapper:hover {
  color: white;
}

fancy-premium:hover {
  color: white;
}

.fancy-premium b {
  color: white;
  font-weight: 600;
}

.fancy-premium .fancy-logo {
  max-width: 215px;
  height: 50px;
  display: inline-block;
  margin-top: 7px;
  margin-left: 15px;
}

.fancy-premium .fancy-logo img {
  margin-top: 0;
  margin-bottom: 0;
}

.fancy-text {
  margin: 10px 22px;
}

.fancy-logo,
.fancy-text {
  float: left;
}

.fancy-sign-up {
  padding: 4px 12px;
  text-align: center;
  background: #d4b060;
  font-weight: normal;
  color: white;
  word-spacing: 0px;
  border-radius: 3px;
  margin-top: 18px;
  float: right;
}

.fancy-sign-up,
.fancy-cross {
  margin-left: 17px;
}

.fancy-cross {
  margin-right: 35px;
  margin-top: 20px;
  cursor: pointer;
  float: right;
}

/* ------------------ Adblock code --------------------------------- */
.adblock-code {
  position: fixed;
  bottom: 0;
  display: none;
  width: 100%;
  background: rgba(245, 245, 245, 0.9);
  box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.bottom-popup-wrapper,
.privacy-policy div {
  max-width: 1000px;
}

.privacy-policy div {
  padding: 16px;
  margin: 0 auto;
}

.privacy-text a {
  color: #ccc;
  text-decoration-line: underline;
}

.privacy-policy span {
  color: white;
  font-size: 0.95em;
}

.privacy-continue {
  width: 110px;
  display: block;
  color: white;
  background: #ff9f00;
  padding: 5px 0px;
  text-align: center;
  cursor: pointer;
  border-radius: 2px;
  float: right;
  font-size: 0.92em;
}

.bottom-popup-wrapper {
  padding: 0px 40px;
  margin: 50px auto 50px;
}

.adblock-code h3 {
  color: #555;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
}
.adblock-code p {
  font-size: 1em;
  margin: 10px 0;
  color: black;
}
.adblock-code span.material-icons {
  font-size: 30px;
  float: right;
  cursor: pointer;
  margin: 20px;
  position: relative;
}

.adblock-code span.material-icons {
  font-size: 30px;
}

.adblock-code span.material-icons {
  font-size: 30px;
  margin-right: 15px;
  float: right;
  cursor: pointer;
}

/*.bottom-popup-wrapper p.text-center {
    margin: 0;
}*/

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

.privacy-policy {
  background: #24445e;
  z-index: 100;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
}
.donate {
  display: block;
  width: 220px;
  padding: 13px;
  border-radius: 3px;
  text-align: center;
  margin: 0 auto;
  background: #0d55a9;
  color: white;
}

/* recommended reading */

.recommended-links {
  display: none;
  position: fixed;
  width: 100%;
  bottom: 0;
  background: #fff;
  /*box-shadow: 0 -2px 4px rgba(2, 28, 80, .09);*/
  z-index: 99;
  /*border-bottom: 4px solid #2C394B;*/
}

.recommended-links h3 {
  text-transform: uppercase;
  padding: 10px;
  background: #2c394b;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  opacity: 0.8;
  letter-spacing: 0.8px;
  margin-top: 0;
  margin-bottom: 0;
}

.recommended-links h3 span {
  float: right;
  display: block;
  width: 20px;
  position: relative;
  top: -1px;
}

.recommended-links ul {
  padding: 10px 0px;
  list-style: none;
  display: none;
}

.recommended-links .item-list li {
  margin-left: 0;
  /*font-size: em;*/
  line-height: 1.38;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 0.92em;
}

.recommended-links .item-list li:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.recommended-links .item-list li {
  margin-left: 5px;
}

.recommended-links .item-list a {
  display: block;
}
.j2c-jobs {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.j2c-job {
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 13px;
}
.j2c-jobs > .view-content > div:last-of-type .j2c-job {
  margin-bottom: 0;
}
.j2c-title {
  font-weight: bold;
  font-size: 15px;
  color: #2b6dad;
  margin-bottom: 2px;
}
.j2c-job:hover .j2c-title {
  color: royalblue;
}
.j2c-company-city {
  margin-bottom: 2px;
}
.j2c-company {
  font-weight: bold;
  opacity: 0.8;
}
.j2c-job:hover .j2c-company {
  opacity: 1;
}
.j2c-city {
  float: right;
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
}
.j2c-job:hover .j2c-city {
  opacity: #444;
}
.j2c-description {
  color: #444;
}
.j2c-job:hover .j2c-description {
  color: #000;
}
.j2c-jobs .view-footer {
  font-size: 11px;
  float: right;
  margin-top: 10px;
}

.j2c-jobs .view-footer p,
.j2c-jobs .view-footer img {
  margin: 0;
}
/* ----------------- Fancybar Ads end ------------------------------ */

/* ------------------ Programming IDE design start ----------------------- */

.ide-learn hr,
.ide-development hr {
  margin: 7px 0;
}
.ide-level,
.ide-price {
  font-size: 0.93em;
  color: #666;
}
.ide-level {
  padding-left: 10px;
}
.ide-learn img,
.ide-development img {
  margin: 0.6em 0;
}

.ide-filter-description-text {
  font-size: 1.15em;
  font-weight: 600;
  color: #222;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.001);
}

.programming-ide {
  position: relative;
  top: -4px;
}
.programming-ide ul {
  list-style: none;
  padding-left: 5px;
  margin-top: 0;
}

.programming-ide li {
  float: left;
  padding: 5px 20px;
  background: #e1eef4;
  margin-right: 8px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 #c1ced4;
}

.programming-ide .ide-filter-active {
  background: #0288d1;
  color: #ffffff;
  box-shadow: inset 0 -3px 0 #0288d1;
}

/* -------------- For search autocomplete ----------- */
.ui-widget-content {
  border: 0 !important;
}
.ui-autocomplete-field-group {
  display: none !important;
}
.ui-widget-content li {
  border-top: 0 !important;
  border-bottom: 1px solid #a9a9f9;
  border-left: 1px solid #a9a9f9;
  border-right: 1px solid #a9a9f9;
}
.no_results {
  display: none !important;
}
.no_results + li .ui-autocomplete-fields {
  /* display: none; */
  padding: 0;
}

html.js input.form-autocomplete {
  background-image: none;
}

.toc-background-click {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  z-index: 10;
}

/* --------------------------- Carbon Ads Start -------------------------------------- */
#carbonads {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --width: 728px;
  --font-size: 22px;
}

#carbonads {
  display: block;
  overflow: hidden;
  max-width: var(--width);
  position: relative;
  background-color: hsl(0, 0%, 99%);
  border: solid 1px #eee;
  font-size: var(--font-size);
  box-sizing: border-box;
}

.detail #carbonads {
  margin-top: 12px;
}

#carbonads a {
  color: inherit;
  text-decoration: none;
}

#carbonads a:hover {
  color: inherit;
}

.carbon-wrap {
  display: flex;
  align-items: center;
}

carbon-img {
  display: block;
  float: left;
  margin: 0;
  max-width: var(--width);
  line-height: 1;
}

.carbon-img img {
  display: block;
  margin: 0;
  height: 90px;
  width: auto;
}

.carbon-text {
  display: block;
  float: left;
  padding: 0 1em;
  line-height: 1.35;
  max-width: calc(100% - 130px - 2em);
  text-align: left;
}

.carbon-poweredby {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 6px 10px;
  background: repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 5px,
      hsla(0, 0%, 0%, 0.025) 5px,
      hsla(0, 0%, 0%, 0.025) 10px
    )
    hsla(203, 11%, 95%, 0.8);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 8px;
  border-top-left-radius: 4px;
  line-height: 1;
}

@media only screen and (min-width: 320px) and (max-width: 759px) {
  .carbon-text {
    font-size: 14px;
  }
}
/* --------------------------- Carbon Ads End ---------------------------------------- */

@media all and (min-width: 370px) {
  .content-bottom-ad {
    width: 336px;
  }
}

@media all and (min-width: 800px) {
  .topics section {
    width: 500px;
    margin: 15px auto;
  }
}

@media all and (min-width: 680px) {
  .fancybar-cta {
    margin: 20px 0 !important;
  }

  .fancybar-close {
    padding: 25px 4px 7px !important;
  }

  .fancybar-text {
    padding: 0 !important;
    padding-left: 66px !important;
  }

  select {
    width: 380px;
  }
}

@media all and (min-width: 900px) {
  ol.linenums {
    margin-left: 21px;
    background: #f6f6f6;
    padding: 15px 0px 15px 6px;
    border-left: 2px solid rgba(208, 211, 210, 0.8);
  }

  ol.linenums li {
    font-size: 13px;
  }

  ol.linenums li code {
    font-size: 13.9px;
    line-height: 1.4;
  }

  pre samp,
  pre {
    font-size: 14px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
  }

  h3 {
    font-size: 1.4em;
  }

  .menu-two-column .mobile-menu {
    display: none !important;
  }

  .display-in-desktop {
    display: block;
  }

  h4 {
    font-size: 1.2em;
  }

  .in-page-form input[type="text"] {
    float: left;
    width: calc(100% - 260px);
  }

  .in-page-form button {
    float: right;
    width: 250px;
  }

  .secondary-nav ul {
    list-style: none;
    margin: 15px 0 0 0;
  }

  /* Fancy bar ads */

  #main-wrapper-one-column .one-column-left {
    float: left;
    width: -moz-calc(100% - 240px);
    width: -webkit-calc(100% - 240px);
    width: -o-calc(100% - 240px);
    width: calc(100% - 240px);
  }

  #main-wrapper-one-column .one-column-right {
    display: block;
    float: left;
    margin: 0 0 0 30px;
    width: 210px;
  }
  .one-column-right {
    margin-left: 20px;
  }

  .one-column-right div {
    max-width: 210px;
  }

  ._fancybar a {
    padding: 2px 5% !important;
  }
  .fancybar-logo {
    margin: -16px 0 !important;
  }

  .fancybar-text {
    padding: 20px 0 0 15px !important;
  }

  .fancybar-cta {
    margin: 12px 0 !important;
    padding: 1px 15px;
  }

  .fancybar-close {
    padding: 12px 10px 7px !important;
  }

  .node-c-library-function h2,
  .node-python-library-function h2 {
    font-size: 1.7em;
  }

  .node-c-library-function h3,
  .node-python-library-function h3 {
    font-size: 1.5em;
  }

  .search-result-title {
    font-size: 22px;
  }
  .search-result-link {
    font-size: 13px;
  }

  .search-result-snippet {
    font-size: 15px;
  }

  .logo-header-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .header-one-column.logo-header-wrapper {
    max-width: 1060px;
  }

  .main-nav-wrapper.menu-one-column > div {
    max-width: 1060px;
  }

  .header-three-column.logo-header-wrapper {
    max-width: 1350px;
    padding: 0 10px;
  }

  #main-wrapper-two-column,
  #main-wrapper-three-column {
    margin: 0 auto;
    border-radius: 4px;
  }

  #main-wrapper-two-column > .clearfix {
    display: flex;
  }

  #main-wrapper-two-column #programiz-main-content {
    width: -moz-calc(100% - 340px);
    width: -webkit-calc(100% - 340px);
    width: calc(100% - 340px);
    background: white;
    order: 2;
  }

  #programiz-left-sidebar {
    width: 300px;
    display: block;
    padding-right: 12px;
    order: 1;
  }

  #programiz-left-sidebar .block {
    margin-bottom: 15px;
  }

  #programiz-left-sidebar table {
    box-shadow: none;
    background: white;
    margin: 0 auto;
    max-width: 300px;
  }

  #programiz-left-sidebar ul {
    background: white;
    font-size: 0.96em;
  }

  #programiz-left-sidebar .subscribe {
    margin: 0;
  }

  #programiz-left-sidebar .subscribe-form {
    background: white;
  }

  .form-section p {
    font-size: 0.9em;
    font-weight: 300;
    padding: 4px 9px;
    text-align: center;
    background: #f8f8f8;
  }

  #main-wrapper-two-column .recommended-links {
    display: block;
  }

  .tutorial-toc a {
    padding-right: 0;
  }

  .recommended-links h3 {
    color: #000000;
    font-size: 1.05em;
    opacity: 0.59;
    letter-spacing: 0.75px;
    margin-top: 0;
    padding-bottom: 2px;
    border-bottom: 1.5px solid #2c394b;
    background: none;
    cursor: auto;
    /*text-align: center;*/
  }

  .recommended-links .item-list li {
    padding-top: 5px;
    padding-bottom: 7px;
    border-bottom: none;
  }

  .recommended-links ul {
    display: block !important;
  }

  .recommended-links h3 span {
    display: none;
  }

  .recommended-links {
    /*margin-top: 20px;*/
    position: static;
    top: 2px;
    border-bottom: none;
    /*    box-shadow: 0 0 3px rgba(0, 0 , 0, 0.2);
*/ /*max-height: 282px;*/
  }

  /* footer start */
  #footer .form-section p {
    color: #2c394b;
  }

  #footer > .footer-wrapper {
    padding-top: 60px;
    display: flex;
    flex-direction: row;
  }

  .footer-left {
    flex-grow: 0.4;
  }

  .footer-right {
    flex-grow: 2;
  }

  .footer-right div.content {
    display: flex;
    margin-left: 60px;
  }

  .footer-right div.content > .footer-links {
    flex-grow: 1;
  }

  .footer-logo {
    flex-grow: 2;
  }

  .footer-links {
    margin-top: -5px;
  }

  #programiz-left-sidebar a {
    color: #2b6dad;
    font-weight: 300;
  }

  .large-list-sidebar a {
    font-size: 0.95em;
    display: block;
    word-spacing: normal;
  }

  .view-more-button {
    background: #eee;
    width: 100%;
    border-radius: 0 0 4px 4px;
    cursor: pointer;
  }

  .view-more-button .material-icons {
    display: block;
    margin: 3px auto 10px;
    width: 20px;
    color: #1e2933;
    font-size: 1.5em;
    padding: 1px 0;
  }

  #programiz-left-sidebar a:hover {
    color: royalblue;
    text-decoration: underline;
  }

  #programiz-left-sidebar table td {
    margin: 0 10px;
    padding: 12px 8px 12px 8px;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .main-nav {
    display: block;
  }

  .main-nav.page-404 .mobile-menu {
    display: none !important;
  }

  .main-nav-wrapper a {
    display: block;
    padding: 0 16px;
    margin-right: 13px;
    margin-left: 13px;
  }

  .main-content {
    width: 100%;
    margin: 20px auto 5px;
  }

  #main-wrapper-three-column .main-content {
    margin-top: 35px;
  }

  #programiz-above-footer,
  #programiz-below-nav {
    width: 95%;
  }

  #programiz-left-sidebar h2 {
    font-size: 1.3em;
    text-align: center;
    margin: 0;
    padding: 20px 0;
    background: #eeeef1;
    border-radius: 4px 4px 0 0;
    color: #444;
    text-transform: uppercase;
    /*border-bottom: 3px solid #EEE;*/
    font-weight: 400;
  }

  #programiz-left-sidebar h2 span {
    text-transform: lowercase;
  }

  /*.sticky-footer-touch {
    position: relative;
}

.sticky-footer-touch .recommended-links {
    position: absolute !important;
    bottom: 0;
}*/

  #programiz-left-sidebar .related-content-menu {
    margin: 0 auto 20px;
  }

  .header-list-menu {
    width: 300px;
    border-top: none;
  }
  .header-list-menu .submenu li a {
    padding: 5px 0 5px 24px;
    position: relative;
    line-height: 1em;
    display: block;
    color: #2c395c;
  }

  .header-list-menu .submenu related-content-menu a:hover {
    color: #000;
  }

  .header-list-menu .submenu li a:before {
    content: "-- ";
    font-weight: 400;
    font-size: 1em;
    position: absolute;
    color: #252830;
    left: 0;
  }

  #search-area form {
    width: 800px;
  }

  #search-result {
    background: white;
    width: 70%;
    margin: 20px auto;
    box-shadow: 0 0 5px 1px #2c394b;
    padding-top: 25px;
  }

  #main-wrapper-one-column {
    background: white;
    max-width: 960px;
    margin: 20px auto;
    padding-top: 25px;
    border-radius: 4px;
  }

  .content-bottom .ml-subscribe-form {
    display: none;
  }

  #programiz-left-sidebar .ml-subscribe-form {
    display: block;
  }

  #front-main-wrapper {
    max-width: 1100px;
    border-radius: 4px;
    margin: 20px auto;
    background: white;
    box-shadow: 0px 0px 6px 0px #555;
  }
  .front-page-link {
    width: 450px;
    margin: 0 auto;
  }

  .front-page-link a {
    width: 180px;
    float: left;
  }
  .front-page-link a:first-of-type {
    margin-right: 10px;
  }
  .front-page-features {
    padding: 0 30px;
  }

  /* Content bottom h3 for related examples on examples page */

  .content-bottom h3 {
    margin-bottom: 20px;
    font-size: 1.25em;
  }

  .footer-wrapper {
    max-width: 1170px;
    margin: 0 auto;
  }

  /*.footer-right ul {
    margin-top: 50px;
}

.footer-right li {
    display: inline;
    margin-left: 20px;
    text-transform: uppercase;
}*/

  #footer .footer-left input[type="text"] {
    width: 69%;
    padding: 10px;
    background: transparent;
    border: transparent;
    border-bottom: 1px solid #ffd9cc;
  }

  #footer .footer-left input[type="text"]:focus {
    outline: none;
  }

  #footer button[type="submit"] {
    color: black;
    background: #ffd9cc;
    border: none;
    width: inherit;
    padding: 6px 10px;
    border-radius: 0 3px 3px 0;
    position: relative;
    right: 5px;
  }

  /*.footer-left, .footer-right {
    padding: 2% 5%;
    width: 40%;
}
.footer-left {
    float: left;
}

.footer-right {
    float: right;
}*/

  #back-to-top {
    background: url(/sites/all/themes/Ultimate/img/back-top.png) no-repeat;
    /*display: block;*/
    margin: 0;
    position: fixed;
    bottom: 15px;
    right: 10px;
    width: 42px;
    height: 42px;
    opacity: 0.85;
    cursor: pointer;
  }

  #back-to-top:hover {
    opacity: 1;
  }
}

@media all and (min-width: 1120px) {
  #search-area span.material-icons {
    font-size: 30px;
    margin-right: 50px;
  }

  /* ----------------------------- Three column start --------------------------------------- */

  .menu-three-column .mobile-menu {
    display: none !important;
  }
  #main-wrapper-three-column {
    min-width: 1100px;
  }

  #main-wrapper-three-column .clearfix {
    display: flex;
  }

  #main-wrapper-three-column ul.custom-pager {
    display: block;
  }

  #main-wrapper-three-column .recommended-links {
    display: block;
  }

  #main-wrapper-three-column #programiz-left-sidebar {
    float: none;
    order: 1;
    border-right: none;
  }

  #main-wrapper-three-column #programiz-right-sidebar {
    order: 3;
    width: 224px;
  }

  #main-wrapper-three-column #programiz-main-content {
    order: 2;
    width: calc(100% - 200px - 341px);
    display: inline-block;
    padding-left: 35px;
    padding-right: 25px;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
  }

  #main-wrapper-three-column {
    max-width: 1350px;
    background: white;
    margin: 15px auto;
  }

  #programiz-left-sidebar {
    padding: 0 8px 0 0;
    margin-top: 25px;
    width: 300px;
    border-right: 1px solid #eee;
  }

  .fix-sidebar {
    width: 185px;
    top: 0px;
    position: fixed !important;
  }

  .tutorial-toc {
    display: block;
    padding-top: 20px;
    width: 185px;
  }

  .tutorial-toc-label {
    position: initial;
    background: none;
    z-index: initial;
    text-align: initial;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 13.5px;
    margin: 0;
    color: #435060;
    margin-bottom: 0;
    padding-left: 11px;
    cursor: initial;
  }

  .tutorial-toc ul {
    margin-bottom: 0;
    margin-right: 10px;
  }

  .tutorial-toc > ul {
    position: initial;
    border: none;
    box-shadow: none;
    z-index: initial;
    transform: none;
    width: 100%;
    background: none;
    padding-top: 5px;
    display: block;
  }

  .tutorial-toc > ul:before {
    position: initial;
    border: none;
  }

  .tutorial-toc a {
    line-height: 1.4;
    margin-bottom: 14px;
    font-size: 13px;
    color: #697386;
    padding-left: 10px;
  }
  /* ----------------------------- Three column end --------------------------------------- */
}

@media all and (min-width: 1200px) {
  ._fancybar a .fancybar-logo img {
    max-width: 127px !important;
  }

  ._fancybar a .fancybar-text {
    line-height: 26px;
  }

  ._fancybar a .fancybar-cta {
    line-height: 32px;
  }

  /* .share-bar {
        float: left;
        width: 80px;
        margin-top: 20px;
    }

    .share-bar-content {
        float: right;
        width: calc(100% - 128px);
    }*/

  #main-wrapper-two-column .main-content {
    width: 740px;
  }

  .topmenu,
  .submenu {
    background: white;
  }

  #programiz-header {
    background: #fff;
    margin-bottom: 15px;
    /*max-height: 119px;*/
  }

  #programiz-left-sidebar .block {
    border-radius: 5px;
  }

  #main-wrapper-two-column {
    background: #fff;
    max-width: 1150px;
    margin: 0 auto 15px;
  }

  .main-nav-wrapper > div {
    max-width: 1170px;
    margin: 0 auto;
  }

  .menu-three-column.main-nav-wrapper > div {
    max-width: 1350px;
    margin: 0 auto;
  }

  .main-nav-wrapper > div {
    max-width: 1170px;
    margin: 0 auto;
  }

  #programiz-left-sidebar {
    padding: 0 16px 0 24px;
  }

  #programiz-left-sidebar tbody {
    border-top: none;
  }

  body {
    background: #eeeef1;
  }

  #main-wrapper-two-column #programiz-main-content {
    width: -moz-calc(100% - 370px);
    width: -webkit-calc(100% - 370px);
    width: calc(100% - 370px);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  .front-page-features {
    padding: 0 40px;
  }

  .content-bottom-ad {
    width: 600px;
  }

  #footer {
    padding: 25px 0 20px;
  }

  #footer .footer-left input[type="text"] {
    /*width: 345px;*/
    width: 63%;
  }

  /*.footer-left, .footer-right {
        padding: 20px 40px;
        width: 500px;
    }*/

  .in-page-form {
    max-width: 80%;
  }
}

@media all and (min-width: 1400px) {
  #back-to-top {
    right: -webkit-calc(50% - 550px - 80px);
    right: -moz-calc(50% - 550px - 80px);
    right: -o-calc(50% - 550px - 80px);
    right: calc(50% - 550px - 80px);
  }
}

@media all and (max-width: 899px) {
  .main-content [id]:before {
    display: block;
    content: "";
    margin-top: -65px;
    height: 65px;
    visibility: hidden;
  }

  #programiz-front .logo-header-wrapper,
  #programiz-front .header-wrapper .logo {
    display: block;
    height: 64px;
  }

  .main-nav-wrapper {
    /* position: fixed; */
    width: 100%;
    z-index: 9;
  }
  /* #main-wrapper-two-column,
  #main-wrapper-three-column,
  #title-page-wrapper {
    margin-top: 55px;
  } */

  .region.region-search {
    margin-top: 40px;
  }

  ul.custom-pager {
    border-top: 0;
    padding: 0;
  }
  ul.custom-pager li {
    width: 100%;
    padding: 20px 0;
    border-bottom: 2px solid #2c394b;
  }
  ul.custom-pager li.previous a:after {
    content: "";
  }
  ul.custom-pager li.next a:after {
    content: "";
  }
  ul.custom-pager li:first-child {
    border-top: 2px solid #2c394b;
    margin-top: 20px;
  }
}
/* --------------- Fancybar Ads -------------------- */

@media all and (min-width: 1015px) {
  .fancy-premium {
    height: 64px;
  }

  .fancy-text {
    margin: 22px;
    margin-right: 0;
  }
}

@media all and (max-width: 1014px) {
  .fancy-sign-up {
    margin: 1px auto 12px;
    float: left;
    width: 70%;
    margin-left: 15%;
  }
}
