﻿/* This is a part of ef.js - ElderForge JavaScript Library - v1.1.0
 * http://ElderForge.net/
 *
 * Copyright (c) 2013 - 2015 ElderForge
 * Released under the MIT license (http://www.opensource.org/licenses/mit-license.php)
 * http://ElderForge.net/license.en.txt
 * http://ElderForge.net/license.ru.txt
 *
 * Made by Deus, deus-amd@ngs.ru
 *
 * Date: 2014-02-07
 *
 * Documentation removed from script file (was kinda useless and outdated)
 */

/*#region core*/

.yandex-map {
    /*//? size*/
    width: 100%;
    height: calc(100% - 104px);
}

.yandex-map-static {
    /*//? decoration*/
    background: transparent;
    background-repeat: no-repeat;
    background-size: 79% auto;
    background-position: center center;
}

.yandex-map-loader {
    /*//? font*/
    color: #fff;
}

.yandex-map-labels-prototype {
    /*//? size*/
    width: 30px;
    height: 30px;
}

/*#endregion*/

/*#region legend*/

.yandex-map-legend {
    /*//? position*/
    position: fixed;
    right: 10px;
    bottom: 80px;
    /*//? size*/
    width: auto;
    height: auto;
    /*//? font*/
    font-size: 10pt; /*0.8em;*/
}

    .yandex-map-legend label {
        /*//? behavior*/
        display: block;
    }

    .yandex-map-legend input {
        /*//? size*/
        width: 30px;
        height: 30px;
        /*//? decoration*/
        background-size: auto 20px; /*contain;*/
    }

/*#endregion*/

/*#region actions*/

.yandex-map-actions {
    /*//? size*/
    width: 85px;
}

/*#endregion*/

/*#region labels*/

.yandex-map-labels {
    /*//? size*/
    max-width: calc(100% - 112px);
}

/*#endregion*/

/*#region legend actions labels*/

.yandex-map-legend, .yandex-map-actions, .yandex-map-labels {
    /*//? position*/
    padding: 2px 2px 2px 2px;
    /*//? decoration*/
    background-color: #fff;
    border: 1px solid #7f897b;
    border-radius: 5px;
}

    .yandex-map-legend input, .yandex-map-actions input, .yandex-map-labels input {
        /*//? decoration*/
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: center center;
        border: none;
    }

/*#endregion*/

/*#region actions labels*/

.yandex-map-actions, .yandex-map-labels {
    /*//? behavior*/
    display: inline-block;
    /*//? position*/
    margin: 5px 0 5px 5px;
}

    .yandex-map-actions input, .yandex-map-labels input {
        /*//? size*/
        width: 40px;
        height: 40px;
        /*//? decoration*/
        opacity: 0.5;
        background-size: auto 30px; /*contain;*/
    }

        .yandex-map-actions input:hover, .yandex-map-labels input:hover, .yandex-map-actions input:active, .yandex-map-labels input:active, .yandex-map-actions .yandex-map-item-selected, .yandex-map-labels .yandex-map-item-selected {
            /*//? decoration*/
            opacity: 1.0;
        }

        .yandex-map-actions input:active, .yandex-map-labels input:active, .yandex-map-actions .yandex-map-item-selected, .yandex-map-labels .yandex-map-item-selected {
            /*//? decoration*/
            border: 1px solid #000;
        }

/*#endregion*/
