/*
Theme Name: Petran sivut teema
Author: Aleksi Lahtinen
Description: Teema Petran sivuille.
Version: 0.0.1
Tags:
*/

html, body, a {
    cursor:url(https://petraaaltola.com/wp-content/uploads/2020/08/venus_cursor.png), auto;
}

body {
    font-family: sans-serif;
}

h1 {
    text-transform: uppercase;
}

#wrapper {
    margin: auto;
    width: 90%;
    margin-top: 2%;
}

#header {
    border-bottom: 2px solid #a1a1a1;
}
#header .menu-btn {
    display: none;
}

#logo {
    float:left;
}

#logo a {
    text-decoration: none;
    color: #000;
}

.homeimg {
    padding-right: 22%;
}

.homeimg img {
    max-width:100%;
    max-height:550px;
    margin: auto;
    height: auto;
    width: auto;
}

.wp-block-image img {
    height: auto;
    width: auto;
}

.worksnav {
    font-weight: bold;
}

.worksnav .sub-menu {
    font-weight: normal;
}


.aboutnav {
    margin-top: 20px;
    font-weight: bold;
}

.aboutnav a {
    color: #fe2947;
}

#mobilenav {
    display: none;
    float: right;
}

#menu-nav {
    display: none;
    float: right;
}

#nav li {
    list-style-type: none;
}

#nav a {
    text-decoration: none;
    color: #000;
}

#nav a:hover {
    color:#c91f12;
}

.sub-menu a:hover {
    color: #c91f12 !important;
}

.iglinkimg a {
    cursor: pointer;
}

.iglinktext {
    display: none;
}

.menu > li > a {
    font-weight: bold;
}

.nav-nolink a:hover {
    color: #000;
}

#main {
    padding-top: 50px;
    width: 80%;
    float:left;
}

#sidebar {
    float: left;
    width: 20%;
    margin-top: 40px;
}


#content {
    float: left;
    width: 80%;
}
.block {
    float: left;
    width: 50%;
}
/*
* {
    cursor: url(../img/cursor-test.png), auto;
 }
 */


 .ig-logo {
    width: 50px;
    height: 50px;
    background-image: url(http://localhost/wp-content/uploads/2020/05/glyph-logo_May2016.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 10px 10px 10px 0;
 }


 li.current_page_item a{
    color:#c91f12 !important;
    font-weight: bold;

}

.foogallery {
    width: 33% !important;
    float: left;
}

.foogallery.fg-thumbnail .fg-item {
    width: 95%;
    padding: 5%;
}

.foogallery.fg-thumbnail .fg-image {
    width: 100%;
	height: auto;
}

.foogallery .fg-loaded .fg-thumb {
    width:100%;
}

.foogallery.fg-light.fg-shadow-outline .fg-item-inner {
	box-shadow: none !important;
}


@media only screen and (max-width: 1024px) {
    .foogallery {
        width: 50% !important;
        float: left;
    }
    .homeimg {
        padding-right: 0px;
    }
  }

@media only screen and (max-width: 600px) {
    .foogallery {
        width: 100% !important;
        float: left;
    }
}

@media only screen and (max-width: 800px) {
    #logo h1 {
        font-size: 8vw;
    }

    .nav-nolink {
    }

    .aboutnav {
        margin-top: 0px;
    }

    .iglinkimg {
        display:none;
    }

    .iglinktext {
        display: inline;
    }

    #menu-nav {
        display: block;
    }
    #sidebar {
        display: none;
    }
    #main {
        width: 100%;
    }

    .menu li {
        width: 100%;
    }

    .menu li a {
        text-decoration: none;
        color: #000;
    }


    /* navigaatio */
    #header ul {
        margin: 0;
        padding: 0;
        list-style: none;
        overflow: hidden;
        background-color: #fff;
      }
    
      #header li a {
        display: block;
        padding: 5% 5%;
        border-right: 1px solid #f4f4f4;
        text-decoration: none;
      }
      
      #header li a:hover,
      #header .menu-btn:hover {
        background-color: #f4f4f4;
      }
      
      /* menu */
      
      #header .menu {
        clear: both;
        max-height: 0;
        transition: max-height 0.2s ease-out;
        width: 100%;
      }

      /* menu icon */

    #header .menu-icon {
        cursor: pointer;
        display: inline-block;
        float: right;
        padding: 5%;
        position: relative;
        user-select: none;
    }
    
    #header .menu-icon .navicon {
        background: #333;
        display: block;
        height: 2px;
        position: relative;
        transition: background .2s ease-out;
        width: 18px;
    }
    
    #header .menu-icon .navicon:before,
    #header .menu-icon .navicon:after {
        background: #333;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .2s ease-out;
        width: 100%;
    }
    
    #header .menu-icon .navicon:before {
        top: 5px;
    }
    
    #header .menu-icon .navicon:after {
        top: -5px;
    }
    
    /* menu btn */
    
    
    
    #header .menu-btn:checked ~ .menu {
        max-height: 100%;
    }
    
    #header .menu-btn:checked ~ .menu-icon .navicon {
        background: transparent;
    }
    
    #header .menu-btn:checked ~ .menu-icon .navicon:before {
        transform: rotate(-45deg);
    }
    
    #header .menu-btn:checked ~ .menu-icon .navicon:after {
        transform: rotate(45deg);
    }
    
    #header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
    #header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
        top: 0;
    }

    .worksnav li {
        font-weight: bold;
        display: none;
    }

}

