/*
Theme Name: awik.io
Author: Andreas Wik
Description: awik.io wp theme
Version: 0.0.1
Tags:
*/

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    color: #4a4a4a;
    font-size: 16px;
    /*
    background: #f7f7f7;
    */
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5 {
    font-weight: 900;
    /*font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;*/
    /*font-family: 'Francois One', sans-serif;*/
    /*font-family: 'Source Sans Pro', sans-serif;*/
    font-family: 'Lato', sans-serif;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    /*font-size: 1.8em;*/
    font-size: 2.3em;
  }
  
h2 {
    font-size: 1.5em;
    margin-top: 30px;
}

h3 {
    font-size: 1.3em;
    margin-top: 30px;
}

p {
    font-family: 'Lora', serif;
    padding: 0;
    font-size: 1.125em;
}

a {
    color: #1485CC;
    font-weight: bold;
    border-bottom: 2px solid #fcc100;
}
a:hover {
    color: #fcc100;
    border-bottom: 2px solid #1485CC;
}

#awik-logo {
    font-family: 'Lato', sans-serif;
    color: #898989;
    font-size: 13px;
    padding: 5px;
    font-weight: bold;
    text-decoration: none;
    border: none;
}

#top-logo-container {
    text-align: left;
}

#top-nav-container {
    text-align: right;
}

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

#top-nav-container ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#top-nav-container ul li {
    list-style-type: none;
    display: inline;
    margin: 0;
    padding: 0;
}
#top-nav-container a {
    font-family: 'Lato', sans-serif;
    color: #9a9a9b;
    font-size: 13px;
    padding: 5px;
    font-weight: normal;
    text-decoration: none;
    border: none;
}
#top-nav-container a:hover {
    color: #333333;
}

#small-twit-linkz {
    display: none;
    color: #d6d6d6;
    font-weight: normal;
    text-decoration: none;
    border: none;
    position: absolute;
    top: 15px;
    right: 15px;
}
#small-twit-linkz:hover {
    color: #333333;
}

.article-container {
    margin-bottom: 100px;
}

.headline {
    /*color: #2a71bc;*/
    margin-bottom: 5px;
}

.headline-link {
    color: #1485CC;
    /*font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;*/
    font-family: 'Lato', sans-serif;
    /*font-family: 'Francois One', sans-serif;*/
    /*font-family: 'Source Sans Pro', sans-serif;*/
    /*font-size: 2.5em;*/
    line-height: 1.2;
    font-weight: 900;
    border: none;
}
.headline-link:hover {
    color: #fcc100;
    border: none;
}

.post-divider-container {
    float: left;
    width: 100%;
    display: block;
}

.post-divider {
    float: left;
    width: 100px;
    height: 10px;
    background-color: #fcc100;
    margin-bottom: 7px;
}

.code-snippet {
    background-color: #e1e3e5;
    font-family: "Monaco";
    font-size: 16px;
    padding: 2px 5px;
    white-space: nowrap;
    border-radius: 3px;
}

.date {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #939598;
    margin: 5px 0 15px 0;
    padding: 0;
}

/* Small Nav */
#nav-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #1485CC;
    /*background-color: #D81159;*/
    border-radius: 50%;
    transition: 0.5s;
    display: none;
    z-index: 999;
  }
  #nav-btn:hover {
    cursor: pointer;
  }

  #close-nav-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /*width: 15px;
    height: 15px;
    background-color: #000000;*/
    display: none;
    z-index: 9999;
    color: #ffffff;
  }

  #nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    border: none;
    padding-top: 200px;
    z-index: 9999;
  }
  #nav-links ul {
    margin: 0 auto;
    padding: 30px;
    list-style-type: none;
    text-align: center;
  }
  #nav-links ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    border-top: 2px solid #1379BA;
  }
  #nav-links ul li:last-child {
    border-bottom: 2px solid #1379BA;
  }
  #nav-links ul li a {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
    padding-top: 13px;
    padding-bottom: 13px;
    border: none;
  }

#pers-info {
    color: #b0b0b0;
    font-weight: normal;
    /*
    font-style: italic;
    */
    font-style: italic;
    line-height: 1.2;
    font-size: 18px;
}

input[type=submit] {
    background-color: #1379BA !important;
    font-weight: bold !important;
}

button {
    background-color: #1379BA !important;
    font-weight: bold !important;
}

#nf-field-4 {

    display: block;
    margin: auto;
    font-size: 16px;
    width: 100%;
    color: #fff;
    background-color: #1379BA;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
}

#nf-field-4:hover {
    background-color: #fcc100;
}

input[type="text"], input[type="email"], textarea {
    background: #f7f7f7;
    box-shadow: none;
}
input[type="text"]:focus, input[type="text"]:active, input[type="email"]:focus, input[type="email"]:active, textarea:focus, textarea:active {
    background: #f7f7f7;
    box-shadow: none;
}


/* square logo */
#square-container {
    float: left;
    width: 32px;
    /*transform: rotate(15deg);*/
    -webkit-backface-visibility: hidden;
}
#square-container {
    cursor: pointer;
}

.square {
    float: left;
    width: 8px;
    height: 8px;
    -webkit-backface-visibility: hidden;
    transition: opacity 1.5s;
}

.blue-square {
    background-color: #1485CC;
}

.yellow-square {
    background-color: #fcc100;
}

#home-pers-info {
    background: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
    margin-top: -30px;
    color: #777777;
}


/* BROWSER */
.stuff-browser-top {
	padding: 6px;
	float: left;
	width: 100%;
	border: 1px solid #ababac;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	background-color: #f4f4f4;
}

.stuff-browser-link {
	border: 1px solid #ababac;
	background-color: #F7F7F7;
	padding: 0 7px 0 7px;
}

.stuff-browser-link a {
	font-size: 14px;
	border-bottom: 0;
}

.stuff-browser-content {
	border-left: 1px solid #ababac;
	border-right: 1px solid #ababac;
	border-bottom: 1px solid #ababac;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

.preview-output {
    float: left;
    width: 100%;
    display: block;
    background-color: #f4f4f4;
    padding: 10px;
    -moz-box-shadow: 0 0 5px #4a4a4a;
    -webkit-box-shadow: 0 0 5px #4a4a4a;
    box-shadow: 0 0 5px #4a4a4a;
}





.iphone {
    /*display: inline-block;*/
    display: none;
    margin: 0 auto;
    background-color: #f8f8f8;
    border: 1px solid #c0c0c0;
    padding: 0 10px 0 10px;
    border-radius: 25px;
    max-width: 100% !important;
  }
  
  .iphone-screenshot {
    max-width: 200px;
    border: 1px solid #c0c0c0;
  }
  
  .iphone-small-round-top {
    margin: 10px auto;
    width: 5px;
    height: 5px;
    background-color: #c0c0c0;
    border-radius: 50%;
  }
  
  .iphone-round-top-left {
    float: left;
    margin-left: 65px;
    margin-top: -2px;
    width: 9px;
    height: 9px;
    background-color: #c0c0c0;
    border-radius: 50%;
  }
  
  .iphone-speaker {
    margin: 15px auto;
    margin-top: 10px;
    width: 30px;
    height: 5px;
    background-color: #c0c0c0;
    border-radius: 3px;
  }
  
  .iphone-button {
    border-radius: 50%;
    margin: 10px auto;
    width: 30px;
    height: 30px;
    border: 2px solid #c0c0c0;
    background: none !important;
  }

  .wp-post-image {
      width: 100% !important;
      margin-bottom: 15px;
  }
  
  .code-error {
    color: #f61804;
    background-color: #fef1f1;
    font-family: "Monaco";
    font-size: 0.9em;
  }



@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.rotating {
    -webkit-animation: rotating 62s linear infinite;
    -moz-animation: rotating 62s linear infinite;
    -ms-animation: rotating632s linear infinite;
    -o-animation: rotating 62s linear infinite;
    animation: rotating 62s linear infinite;
}


#RED {
    color: #f85e61;
}


footer {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 30px;
    font-family: 'Lato', sans-serif;
    color: #898989;
    font-size: 13px;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
}



  /*
  .author-link {
    color: #1485CC;
    border-bottom: 1px solid #fcc100;
    font-weight: normal;
  }
  .author-link:hover {
    color: #fcc100;
    border-bottom: 1px solid #1485CC;
  }
*/

@media screen and (max-width: 640px) {

/*     #top-nav-container {
        display: none;
    } */

    #nav-btn {
        display: inline;
    }

    #top-logo-container {
        text-align: center;
    }

    html, body {
        font-size: 14px;
    }

    .iphone {
        display: inline-block;
    }

    #browser {
        display: none;
    }

    #small-twit-linkz {
        display: inline;
    }
}