
:root { /* suitcss property overwrite */ /* custom property */
}

body {
    font-family: "sofia-pro", "Sofia Pro", sans-serif !important;
    font-size: 1rem;
}

.Grid {
    margin: 0 auto;
    max-width: 1200px;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0px;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.text-small {
  display: inline-block;
  font-family: "sofia-pro", "Sofia Pro", sans-serif !important;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.333;
  color: #ffffff;
  padding-top: 5px;
}

.text-tiny {
    display: inline-block;
    font-family: "sofia-pro", "Sofia Pro", sans-serif !important;
    font-weight: bold;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #848891;
    padding-bottom: 5px;
}

.eyebrow {
    display: inline-block;
    font-family: "sofia-pro", "Sofia Pro", sans-serif !important;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #848891;
    padding-bottom: 5px;
}

.clickable {
  color: white;
  cursor: pointer;
}

.pt1 {
  padding-top: 14px !important;
}

.pb1 {
  padding-bottom: 14px !important;
}

.inlineBlock {
  display: inline-block !important;
}

.body-text {
  font-size: 14px !important;
  font-weight: normal !important;
  line-height: 1.1 !important;
}

@media only screen and (min-width: 768px) {

.hidden-desktop {
  display: none !important;
}

}

.mapWrapper {
    position: relative;
  width: 70%;
  height: 100%;
  float: left;
}

#chartdiv {
    width: 100%;
    height: 100%;
}

.mapControls {
    position: absolute;
    z-index: 999999;
    bottom: -1px;
    left: -4px;
}

.mapControls-button {
    -webkit-appearance: none;
    display: inline-block;
    text-align: center;
    border: 4px solid #F2F2F2;
    border-bottom: none;
    border-radius: 0;
    background: #fff;
    width: 50px;
    height: 50px;
    line-height: 0px;
    padding: 0;
    padding-bottom: 10px;
    margin-right: -.55rem;
    margin-bottom: 1px;
    font-family: "sofia-pro", "Sofia Pro", sans-serif !important;
    font-size: 30px;
    font-weight: bold;
    transition: background 250ms ease-in-out,
                -webkit-transform 150ms ease;
    transition: background 250ms ease-in-out,
                transform 150ms ease;
    transition: background 250ms ease-in-out,
                transform 150ms ease,
                -webkit-transform 150ms ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.mapControls-button:hover,
.mapControls-button:focus {
    cursor: pointer;
}

.mapControls-button:focus {
    outline: none;
}

.mapControls-button:active {
    -webkit-transform: scale(0.99);
            transform: scale(0.99);
}

.amcharts-main-div a {
    display: none !important; /* Hide the AM Charts branded link */
}

.amcharts-balloon-div {
    font-family: "sofia-pro", "Sofia Pro", sans-serif !important;
}

/* THIS IS THE AMCHARTS STUFF */

.ammapAlert{
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    font-family:verdana,helvetica,arial,sans-serif;
    font-size:12px;
    color:#c00
}

.ammapDescriptionWindow{
    display: none !important;  /* HIDE description window since we're using it for the partner count  */
}

.ammapDescriptionTitle{
    font-size:12px;
    font-weight:700;
    font-family:verdana,helvetica,arial,sans-serif;
    padding-bottom:5px
}

.ammapDescriptionWindowCloseButton{
}

.ammapObjectList ul{
    padding-left:20px;
    list-style:square outside;
    color:#999;
    font-family:verdana,helvetica,arial,sans-serif;
    font-size:12px
}

.ammapObjectList ul ul{
    padding-left:14px
}

.ammapObjectList a{
    color:#000
}

.ammapObjectList a{
    color:#000;
    text-decoration:none;
    display:block;
    padding:2px
}

.ammapObjectList a:hover{
    color:#c00;
    text-decoration:none;
    background:#fff;
    cursor:pointer;
    display:block
}

.ammapDescriptionText{
    overflow:auto
}

.amChartsPlotArea{
}

.amcharts-zoom-out, .amcharts-zoom-in, .amcharts-pan-home {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    .mapWrapper {
        width: 100%;
        height: 60%;
    }

    #chartdiv {
        height: calc(100% - 40px);
    }
}

.infoBox {
  width: 30%;
  height: 100%;
  overflow-y: scroll !important;
   -webkit-overflow-scrolling: touch !important;
  float: right;
  background-color: #2F3238;
  padding: 2rem;
  padding-top: 1rem;
  color: #fff;
}

/* LETS MAKE A MEDIA OBJECT */

.infoBox, .infoBox-itemBody {
    overflow:hidden;
    _overflow:visible;
    zoom:1;
}

.infoBox-itemImage {
    float:right;
    margin-left: 20px;
}

.infoBox-itemImage img {
    display:block;
    max-width: 90px;
    /*border: 1px solid #ccc;*/
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}

h1 {
    color: #ffffff;
    font-family: "sofia-pro", "Sofia Pro", sans-serif;
    font-size: 2rem;
    line-height: 1.1;
}

.infoBox-eyebrow {
    display: inline-block;
    font-family: "sofia-pro", "Sofia Pro", sans-serif;
    font-weight: bold;
    color: #848891;
    font-size: 14px;
    line-height: 1.286;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.infoBox-eyebrow:hover {
}

.infoBox-inner {
    /*height: 400px;*/

    font-family: "sofia-pro", "Sofia Pro", sans-serif;
    color: #fff;
    padding-bottom: 3rem;

}

.infoBox-item {
    width: 100%;
    clear: both;
    overflow: auto;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255,255,255,.1);
}

.infoBox-item:first-child {
    padding-top: 1.5rem;
}

.infoBox-item:last-child {
    border-bottom: none;
}

.infoBox-title {
    display: block;
    padding-bottom: 4px;
    font-weight: bold;
     border-top: 4px solid white;
     padding-top: 1.5rem;

}

.infoBox-itemTitle {
    display: block;
    font-weight: bold;
    padding-bottom: 0 !important;
}

.infoBox-desc {
    display: inline-block;
    padding-top: 4px;
    font-size: 12px;
    color: #ffffff; /*#848891;*/
    line-height: 1.2;
}

.infoBox-titleWrapper-desktop {
    padding-top: 10px;
}

.infoBox-titleWrapper-mobile {
    display: none;
 }

.items-verticalCenter  .infoBox-item {
    position: relative;
}

.items-verticalCenter .infoBox-itemBody {
  position: absolute;
  top: 60%;
  -webkit-transform: translateY(-60%);
          transform: translateY(-60%);
  width: calc(100% - 100px);
}

.items-verticalCenter .infoBox-itemBody .infoBox-itemTitle {
    font-size: 20px;
}

@media only screen and (max-width: 768px) {
    .infoBox {
        width: 100%;
        height: 40%;
        max-height: 280px;
        padding-top: 20px;
    }

    /*.infoBox-titleWrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1rem;
        background: #2F3238;
    }*/
    .infoBox-titleWrapper-desktop {
        display: none;
    }
    .infoBox-titleWrapper-mobile {
        display: block;
        background: #f2f2f2;
        width: 100%;
        height: 40px;
        padding-top: 7px;
        padding-left: 16px;
    }

    .infoBox-titleWrapper-mobile .infoBox-eyebrow {
        padding-top: 3px;
    }

    .country-level {
        background: #2F3238;
    }

    .infoBox-title {
        float: left;
        padding-top: 0;
        margin-top: 0;
        font-size: 20px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        border: none;

    }

    .infoBox-itemImage {
        margin-left: 20px !important;
    }

    .infoBox-eyebrow {
        display: block;
        float: left;
        padding-bottom: .5rem;
    }

    .clickable span {
        display: none;
    }

    .clickable {
        display: inline-block;
        padding-top: 0;
        margin-right: .5rem;
        -webkit-transform: scale(1.2);
                transform: scale(1.2);
    }

    .infoBox-desc {
        line-height: 1.2 !important;
        word-break: break-word !important;
        -webkit-hyphens: auto !important;
            -ms-hyphens: auto !important;
                hyphens: auto !important;
    }
}

.Code {
    background-color: #efefef;
    border: 1px solid #dcdcdc;
    font-size: 0.9rem;
}

.Figurebox {
    background-color: #e4e4e4;
    border: 1px solid #ccc;
    font-family: 'Menlo', 'Monaco', serif;
    font-size: 0.8rem;
    padding: 10px 0;
    width: 100%;
}

.disabledClickable {
    opacity:.5;
}

@media(min-width: 750px) {

 .Grid--demo {
  margin-bottom: 1rem !important;
 }

 .disabledClickable {
    position:relative;
    top:-2.5rem;
 }

}

@media(max-width: 750px) {

 .Grid--demo {
  color: #f00;
 }
}


@media (max-width:1220px) and (min-width:768px) {
    /* PREVENT NAMES FROM GETTING CUT OFF ON SMALLER DESKTOP SIZES */
    .mapWrapper {
        width: 60% !important;
    }
    .infoBox {
        width: 40% !important;
    }
}
