html, body {height: 100%;}

body {
    background: #1e1d21;
    color: #bec2ce;
    font-family: 'Roboto', sans-serif;
}

a {}
a:hover {}

p {}
p:last-child {margin-bottom:0;}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin: 0;
}
h1 {font-size: 6.5em;}



/***** Forms & Buttons ******/
.btn {
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    line-height: normal;
    padding: 6px 40px 4px 40px;
    font-size: 1.4em;
    border-radius: 2px;
}
.btn:hover, .btn:focus {}
.btn-lg {}
.btn-yellow {background: #ffc620;color: #1e1d21;}



/***** Helper Classes ******/
.mb-0 {margin-bottom: 0;}
.mb-10 {margin-bottom: 10px;}
.mb-20 {margin-bottom: 20px;}
.mb-30 {margin-bottom: 30px;}
.mb-40 {margin-bottom: 40px;}
.mb-50 {margin-bottom: 50px;}

._flex {display: flex;}
._flex_mid {align-items: center;}

/***** Slides *****/
#slides {
    position: relative;
    width: 100%;
    height: 100%;
}
#slides > .slide {
    position: absolute;
    top: 0;
    left:0;
    right: 0;
    bottom: 0;
    height: 100%;
    overflow: hidden;
}
#slides > .slide:first-child {z-index:99999;}



/****** Intro ******/
#intro {background:url('../img/background.png') no-repeat right;background-size: cover;transition: all 1s ease;}
#intro.slideUp {transform: translateY(-100%);}
.intro h1 {color: #fff;}
.intro .lead {font-size: 1.4em;}



/***** Map & Sidebar *****/
#map {padding-top: 60px;}
#map #header {
    background: #ffc620;
    position: fixed;
    top:0;
    left:0;
    right: 0;
    z-index: 11;
    height: 60px;
    border-radius: 0;
    border:none;
}
#map #header > div {padding: 0;}
#map #header .navbar-brand {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    color: #282c33;
    height: 60px;
    font-size: 1.7em;
    line-height: normal;
    padding: 10px 15px;
    background: transparent;
    padding-left: 40px;
}
#map #header .navbar-header {    padding-left: 15px;}
.main-nav > li > a {
    background: #f2b41c;
    height: 60px;
    color: #2a2717;
    text-transform: uppercase;
    font-weight: 500;
    padding: 22px;
    line-height: normal;
}
.main-nav > li > a:hover, .main-nav > li > a:focus, #map #header .nav .open>a, #map #header .nav .open>a:focus, #map #header .nav .open>a:hover {
    background: #f2b41c;
    opacity: .8;
}
#map #header .dropdown-menu {
    min-width: 700px;
    background: #32313a;
    padding: 20px;
    box-shadow: none;
    border: none;
    margin: 0;
    border-radius: 0;
}
#map #header .dropdown-menu > li {
    float: left;
    width: 50%;
}
#map #header .dropdown-menu a {color: #6c6b6e;}

#map .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: #383c48;
    z-index: 8;
    padding-top: 60px;
}
#map .sidebar ._inner {padding: 30px;}
#map .sidebar .title {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .3;
    font-weight: 500;
    margin-bottom: 10px;
}
#map .sidebar .form-group {margin-bottom: 20px;}
#map .sidebar .form-group:last-child {margin-bottom: 0;}
#map .sidebar h2 {
    color: #ffc620;
    font-size: 2.1em;
}
#map .sidebar .ht {
    text-transform: capitalize;
    font-size: 20px;
}

#map .sidebar .job-tabs {}
#map .sidebar .job-tabs li {width: 33.3%;  margin: 0;}
#map .sidebar .job-tabs a {text-align: center;padding: 10px; background: #282c33; border-radius: 0;}
#map .sidebar .job-tabs svg {height:30px;}

#map .sidebar .job-tabs li.active a {background: #383c48;}
#map .sidebar .job-tabs li.active polygon,
#map .sidebar .job-tabs li.active path,
#map .sidebar .job-tabs li.active circle,
#map .sidebar .job-tabs li.active rect {
    fill: #ffc620;
}



#map .sidebar .filters a {display: flex;align-items: center; margin-bottom: 10px;  color: #bec2ce;}
#map .sidebar .filters .check {
    width: 25px;
    height: 25px;
    background: #282c33;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#map .sidebar .filters .check i {color: #282c33; opacity: 0;}
#map .sidebar .filters p { margin-left: 10px; margin-bottom: 0;}
#map .sidebar .filters .icon { margin-left: auto;}


#map .sidebar .filters a:hover, #map .sidebar .filters a.active {color: #ffc620; text-decoration: none;}
#map .sidebar .filters a:hover .check, #map .sidebar .filters a.active .check {background:#ffc620;}
#map .sidebar .filters a:hover .check i, #map .sidebar .filters a.active .check i {opacity: 1;}



#map .sidebar .footer {
    background: #30333d;
    padding: 20px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#map .sidebar .footer .social {
    margin: 0;
}
#map .sidebar .footer .social a {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: #bec3ce;
    display: flex;
    align-items: center;
    justify-content: center;
}
#map .sidebar .footer .social i {
    font-size: 1.4em;
    color: #30333d;
}
#map .sidebar .footer .company-logo img {
    width: 200px;
    margin: 10px 0 0 0;
}


.bootstrap-select {    width: 100%!important;}
.bootstrap-select .btn {
    background: #282c33;
    font-size: 1em;
    padding: 10px;
    color: #bac2ce;
    border: none;
    font-weight: 400;
    text-transform: none;
    font-family: 'Roboto', sans-serif;
}



#map .map-container {
    position: relative;
    height: 100%;
    margin-left: 300px;
}
#mapChart {
  height: 100%;
  width: 100%;
}
.rank {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 9;
}
.rank:before {
    content: "RANK";
    position: absolute;
    left: 0;
    top: 12px;
    font-size: .9em;
}
.rank li {
    width: 100px;
    text-align: center;
    position: relative;
    margin-right: 5px;
}
.rank li span {
    font-size: .9em;
    font-weight: 500;
    margin: 0 0 5px 0;
    display: block;
}
.rank li:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
}
.rank li:first-child {
    margin-left: 45px;
}
.rank li:nth-child(1):after {background: #f2b620;}
.rank li:nth-child(2):after {background: #d55326;}
.rank li:nth-child(3):after {background: #c41325;}
.rank li:nth-child(4):after {background: #990e22;}


/**** Bootstrap Select *****/
.active .bootstrap-select .btn {
    background: #ffc620!important;
    color: #282c33!important;
}
.bootstrap-select .btn {
    background: #282c33!important;
    color: #fff!important;
    outline: none!important;
}
.bootstrap-select.btn-group .dropdown-menu {
    background: #282c33;
    border-radius: 0;
    border: none;
    margin: 0;
    max-height: 300px!important;
}
.bootstrap-select.btn-group .dropdown-menu li a {
    background: #282c33;
    color: rgba(255,255,255,.7);
    padding: 4px 10px;
    font-size: .9em;
}


/**** Model ****/
#detailModal {
    position: absolute;
    width: 550px;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 9;
    transition: all .4s ease;
    transform: translateY(100%);
}
#detailModal.openm {
    top: 50%;
    transform: translateY(-50%);
}
#detailModal .modal-content {
    border-radius: 0;
}
#detailModal .modal-header {
    background: #ffc620;
    border: none;
    position: relative;
}
#detailModal .modal-header .close {
    background: #f2b41c;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    opacity: 1;
    margin: 0;
}
#detailModal .modal-header .close span {
    color: #1d1c21;
    text-shadow: none;
    font-size: 40px;
}
#detailModal .modal-title {
    color: #1d1c21;
    text-align: center;
    line-height: normal;
    font-size: 20px;
}
#detailModal .modal-body {padding: 0;}
#detailModal .dark {
    background: #292c35;
    position: relative;
    margin: 0;
}
#detailModal .dark .city {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    padding: 20px 0;

}
#detailModal .dark li:first-child {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
#detailModal .dark li:last-child {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
#detailModal .dark a {
    font-size: 35px;
    color: #bec2ce;
}

#detailModal .city-job-facts {
    margin: 0;
    background: #383c48;
        margin-top: -1px;
}
#detailModal .city-job-facts li {
    border-right: solid 1px #31353f;
    border-bottom: solid 1px #31353f;
    padding: 15px 20px;
}
#detailModal .city-job-facts li:nth-child(even){border-right: none;}
#detailModal .city-job-facts small {
    display: block;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    font-size: .7em;
    opacity: .6;
}
#detailModal .city-job-facts h4 {
    font-size: 22px;
}




.modal .modal-content {
    border-radius: 0;
}
.modal .modal-header {
    background: #ffc620;
    border: none;
    position: relative;
}
.modal .modal-header .close {
    background: #f2b41c;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    opacity: 1;
    margin: 0;
}
.modal .modal-header .close span {
    color: #1d1c21;
    text-shadow: none;
    font-size: 40px;
}
.modal .modal-title {
    color: #1d1c21;
    text-align: center;
    line-height: normal;
    font-size: 20px;
}
.modal .modal-body {padding: 0;}
.modal-open .modal {z-index: 999999;}
#embedModal .modal-body {    padding: 30px;}
#sourcesModal .nav-tabs li {margin: 0; padding: 0;}
#sourcesModal .nav-tabs a {
    background: #383c48;
    color: #bec2ce;
    border: none;
    border-radius: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
}
#sourcesModal .nav-tabs li.active a {
    background: #292c35;
    color: #bec2ce;
}
#sourcesModal .tab-content {padding: 30px;}
#sourcesModal .tab-content a, #sourcesModal .tab-content {color: #383c48;}

.highcharts-text-outline {stroke:none;}
.highcharts-reset-zoom {display: none!important;}


/****** Responsive *******/
@media(max-width:991px){
    #map .sidebar {transform: translateX(-100%);transition: all .3s ease; width: 50%;}
    #map .sidebar.opensb {transform: translateX(0);}
    #map .map-container {margin-left: 0;}

    .toggle {
        padding: 10px 20px!important;
        display: flex!important;
        align-items: center;
    }
    .toggle i {font-size: 30px;}
    #map .sidebar {z-index: 10;}
    #detailModal {z-index: 13;}
    .close-cross {
        color: #1d1c21;
        text-shadow: none;
        font-size: 50px;
    }
    .toggle {width: 65px;}
      #at4-share, .at-share-dock-outer {display: none!important;}
}
@media(max-width:768px){
    .intro h1 {font-size: 5em;}
    .intro .lead {font-size: 1.2em;}
    #intro {
        background: url(../img/background-mobile.png) no-repeat right;
        background-size: cover;
    }
    .container {
        padding-right: 30px;
        padding-left: 30px;
    }
    #map .sidebar {width: 100%;}

    #detailModal.openm {
        top: 0px;
        position: fixed;
        transform: translateY(0%);
        width: auto;
    }
    #map #header .dropdown-menu {min-width: 0;}
    #map #header .dropdown-menu > li {width: 100%;}

    #map .sidebar ._inner {
        position: absolute;
        top: 170px;
        left: 0;
        right: 0;
        bottom: 115px;
        overflow-y: scroll;
    }
    #map #header .dropdown-menu {
        overflow-y: scroll;
        height: 500px;
    }
}
@media(max-width:550px){
    .rank li {width: 50px;}
    .intro h1 {font-size: 3em;}
    .intro .lead {font-size: 1.1em;}
    #intro .btn {font-size: 1.1em;}
    .modal-title {
        font-size: 15px;
        margin-left: 60px;
    }
}





/***** Social BUttons *******/
#at4-share {
    top: 0!important;
    bottom: 0!important;
    margin: auto!important;
    height: 320px!important;
}
#at4-scc {display: none!important;}
.embed {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    padding: 10px 15px!important;
    width: auto!important;
    background: #f2e146!important;
    color: #5C5A5A;
    font-size: 20px;
    height: auto;
    bottom: -22px;
    right: -22px;
}
.embed:hover {color: #000!important;}


#at4-thankyou, #at-cv-lightbox {display: none!important;}








/**** Rotate Mobile ****/
#portrait {
    display: none
}
@media screen and (max-width: 736px) and (min-aspect-ratio: 16 / 10) and (orientation: landscape)
   {

    #portrait {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: -webkit-box;
        display: -moz-box;
        display: box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        -webkit-box-direction: normal;
        -moz-box-direction: normal;
        box-direction: normal;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        flex-direction: column;
        -ms-flex-direction: column;
        -webkit-box-pack: center;
        -moz-box-pack: center;
        box-pack: center;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        -ms-justify-content: center;
        -o-justify-content: center;
        justify-content: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        -moz-box-align: center;
        box-align: center;
        -webkit-align-items: center;
        -moz-align-items: center;
        -ms-align-items: center;
        -o-align-items: center;
        align-items: center;
        -ms-flex-align: center;
        background: #252525;
        z-index: 9999999999;
    }
    #portrait img {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        transform: rotate(-90deg);
        max-width: 33%
    }
    #portrait h3 {
        color: #fff;
        font-size: 1.1em;
        margin-bottom: 0
    }
}

@media screen and (min-device-width: 768px)
              and (max-device-width: 1024px)
              and (orientation: landscape)
              and (-webkit-min-device-pixel-ratio: 1)

   {

    #portrait {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: -webkit-box;
        display: -moz-box;
        display: box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        -webkit-box-direction: normal;
        -moz-box-direction: normal;
        box-direction: normal;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        flex-direction: column;
        -ms-flex-direction: column;
        -webkit-box-pack: center;
        -moz-box-pack: center;
        box-pack: center;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        -ms-justify-content: center;
        -o-justify-content: center;
        justify-content: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        -moz-box-align: center;
        box-align: center;
        -webkit-align-items: center;
        -moz-align-items: center;
        -ms-align-items: center;
        -o-align-items: center;
        align-items: center;
        -ms-flex-align: center;
        background: #252525;
        z-index: 9999999999;
    }
    #portrait img {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        transform: rotate(-90deg);
        max-width: 33%
    }
    #portrait h3 {
        color: #fff;
        font-size: 1.1em;
        margin-bottom: 0
    }
}
