/*
РђРЅРґСЂРµР№ @dobrovoi :: http://dbmast.ru
/* РЎС‚РёР»Рё РјРѕРґР°Р»СЊРЅРѕРіРѕ РѕРєРЅР° Рё СЃРѕРґРµСЂР¶Р°РЅРёСЏ 
-------------------------------------------------------------------------------*/

/* СЃР»РѕР№ Р·Р°С‚РµРјРЅРµРЅРёСЏ */

.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
/* Р°РєС‚РёРІРёСЂСѓРµРј РјРѕРґР°Р»СЊРЅРѕРµ РѕРєРЅРѕ */

.dm-overlay:target {
    display: block;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* Р±Р»РѕС‡РЅР°СЏ С‚Р°Р±Р»РёС†Р° */

.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}
/* СЏС‡РµР№РєР° Р±Р»РѕС‡РЅРѕР№ С‚Р°Р±Р»РёС†С‹ */

.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
/* РјРѕРґР°Р»СЊРЅС‹Р№ Р±Р»РѕРє */

.dm-modal {
    display: inline-block;
    padding: 10px;
    max-width: 50em;
    background: #eee;
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    color: #000;
    text-align: left;
}

.dm-modal a:hover {
    text-decoration: none;
}

/* РёР·РѕР±СЂР°Р¶РµРЅРёСЏ РІ РјРѕРґР°Р»СЊРЅРѕРј РѕРєРЅРµ */

.dm-modal img {
    width: 100%;
    height: auto;
}
/* РјРёРЅРёР°С‚СЋСЂС‹ РёР·РѕР±СЂР°Р¶РµРЅРёР№ */

.pl-left,
.pl-right {
    width: 25%;
    height: auto;
}
/* РјРёРЅРёР°С‚СЋСЂР° СЃРїСЂР°РІР° */

.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* РјРёРЅРёР°С‚СЋСЂР° СЃР»РµРІР° */

.pl-left {
    float: left;
    margin: 5px 15px 5px 0;
}
/* РІСЃС‚СЂР°РёРІР°РµРјРѕРµ РІРёРґРµРѕ РІ РјРѕРґР°Р»СЊРЅРѕРј РѕРєРЅРµ */

.video {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
}
.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* СЂРёСЃСѓРµРј РєРЅРѕРїР°СЂСЊ Р·Р°РєСЂС‹С‚РёСЏ */

.close {
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
    color: #888;
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.close:after {
    display: block;
    border: 2px solid #888;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'X';
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: scale(0.85);
    -moz-transform: scale(0.85);
    -ms-transform: scale(0.85);
    transform: scale(0.85);
}
/* РєРЅРѕРїРєР° Р·Р°РєСЂС‹С‚РёСЏ РїСЂРё РЅР°РІРµРґРµРЅРёРё */

.close:hover:after {
    border-color: #888;
    color: #888;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
/* РІР°СЂРёР°РЅС‚С‹ С„РѕРЅРІРѕР№ Р·Р°Р»РёРІРєРё РјРѕРґР°Р»СЊРЅРѕРіРѕ Р±Р»РѕРєР° */

.teal {
    background: #00796b!important;
}

.white {
    background: #EEEEEE!important;
}

.grey {
    background: #888!important;
}

.black {
    background: #333!important;
}


/* РґРІРёР¶СѓС…Р° РїСЂРё РїРѕСЏРІР»РµРЅРёРё Р±Р»РѕРєРѕРІ СЃ СЃРѕРґРµСЂР¶Р°РЅРёРµРј */

@-moz-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@-webkit-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
