@font-face {
    font-family: 'SuisseIntl';
    src: local('SuisseIntl'), local('SuisseIntl'),
        url('/font/GothamPro-Bold.otf') format('otf');
    font-weight: 700;
    font-style: normal;
}

html, body{
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/*Container*/
#container {
    padding-top: 35px;
    width: 100%;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: right;
    flex-wrap: wrap;
    background-color: white;
    background-image: url(../img/Lineas_fondo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#container.black-map{
    background: #201d1d;
}

/*mapa*/
#map-title {
    width: 100%;
    font-family: "Open Sans";
    color: #646363;
    font-weight: 700;
    font-size: 38px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
#container.black-map #map-title{
    color: white;
}

#container svg{
    width: 70%;
    max-width: 800px;
}

.location-empty { fill: #D6D6D6; }
.location-taken { fill: #9a9a99; }
.location-availabile { fill: #ff7800; }
ellipse { fill: #D6D6D6; }

.location-empty:active,
.location-empty:hover { fill: #c9c9c9; }
.location-taken.active { fill: #72726e; }
.location-availabile.active { fill: #be5a02; }


/*Informacion*/
#map-description {
    width: 30%;
    max-height: 100%;
    overflow: hidden;
    color: black;
    font-weight: 100;
    font-family: 'SuisseIntl', sans-serif;
    font-size: 17px;
    box-sizing: border-box;
}

#container.black-map #map-description{
    color: white;
}

#map-description p { margin: 3px; }


#polity-name {
    width: 95%;
    display: flex;
    color: white;
    background: #ff7800;
    font-weight: bold;
    font-size: 20px;
    padding-left: 5%;
    align-items: center;
    max-height: 70px;
    height: 70px;
    line-height: 70px;
}
.active.location-empty #polity-name{
    display: none !important;
}

.polity-properties,
.properties{
    width: 100%;
}

.polity-properties{
    display: flex;
    flex-wrap: wrap;
}
.polity-properties.location-empty{
    display: none !important;
}
.polity-properties>p{
    font-weight: bold;
}
.polity-properties p{
    width: 100%;
}
.polity-properties p:last-child{
    font-style: italic;
    font-size: 14px;
    line-height: 18px;
}

.properties{
    padding: 5%;
    padding-top: 5px;
    padding-bottom: 5px;
}
.properties>div{
    margin-bottom: 15px;
}
.properties p:first-child{
    font-weight: 600;
}
g{
    cursor: pointer;
}

/*SLIDE TRANSITION*/
#map-description{
    transition: transform 0.5s;
    transform: translateX(100%);
}
#map-description.active{
    transform: translateX(0%);
}

.polity-properties{
    display: none;
}
.polity-properties.active{
    display: flex;
}

/*SCREEN SIZE MEDIUM*/
@media(max-width:750px) {

    #container {
        background-color: white;
        background-image: url(Lineas_movil.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    #map-description {
        width: 80%;
        font-family: 'SuisseIntl', sans-serif;
        font-weight: 400;
    }

    #container {
        padding-top: 25px;
        align-content: start;
        min-height: 750px;
    }

    #container svg,
    #container object {
        width: 100%;
        max-width: 100%;
    }

    .polity-properties,
    .properties{
        padding-right: 0px;
    }
}