/* SPDX-License-Identifier: BSD-3-Clause
 *
 * Copyright (c) 2019, Ruslan Garipov <ruslanngaripov@gmail.com>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer
 *    in this position and unchanged.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. The name of the author may not be used to endorse or promote products
 *    derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */

.logo
{
  display: flex;
}
@media only screen and (min-width: 541px)
{
  .logo-left
  {
    min-width: 400px;
    min-height: 143px;
    background-image: url("../images/logo_left.png");
  /*
    background-size: cover;
  */
    background-repeat: no-repeat;
    float: left;
  }
  .logo-center
  {
    width: 100%;
    float: left;
    font-size: 22pt;
    font-weight: bold;
    color: white;
    background-image: url("../images/logo_center.png");
    background-repeat: repeat-x;
  }
  .logo-right
  {
    min-width: 879px;
    min-height: 143px;
    float: left;
    background-image: url("../images/logo_right.png");
    background-repeat: no-repeat;
  }
  .logo-ph
  {
    min-height: 143px;
    float: left;
    color: white;
    padding-top: 30px;
    background-image: url("../images/logo_right_before_end.png");
    background-repeat: repeat-x;
  }
  .logo-social
  {
    min-height: 143px;
    padding-left: 10px;
    text-align: right;
    line-height: 0.75em;
    float: left;
    background-image: url("../images/logo_right_before_end.png");
    background-repeat: repeat-x;
  }
  .logo-right-end
  {
    width: 1px;
    min-height: 134px;
    background-image: url("../images/logo_right_end.png");
    background-repeat: no-repeat;
    float: left;
  }
}
@media only screen and (min-width: 220px) and (max-width: 540px)
{
  .logo-ph,
  .logo-social,
  .logo-right,
  .logo-right-end
  {
    display: none;
    visibility: hidden;
  }
  .logo-left
  {
    width: 380px;
    min-height: 122px;
    background-image: url("../images/logo_left.png");
    background-size: 400px 143px;
    background-repeat: no-repeat;
    background-color: rgb(62 62 62);
    background-position-x: -20px;
  }
  .logo-center
  {
    float: left;
    font-size: 22pt;
    font-weight: bold;
    color: white;
    background-image: url("../images/logo_center.png");
    background-repeat: repeat-x;
  }
}
