/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*-------------------------
    Simple reset
--------------------------*/


*{
    margin:0;
    padding:0;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    background: url(https://saba.link/img/bg2.png);
    position:relative;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    padding: 50px 0 0;
    font:14px/1.3 'Segoe UI',Arial, sans-serif;
    min-height:500px;
}


h1{
	color: #fff;
	text-align: center;
/*	font-family: 'Condiment', cursive;*/
	font-family: 'Poiret One', cursive;
	font-weight: 800;
/*	font-size: 2em;*/
	font-size: 4em;
	position: relative;
	top: -10px;
    margin: 0.06em;
}

h1 a { 
    text-decoration:none; 
    color: #fff;
}

h1 a:visited { 
    text-decoration:none; 
    color: #fff;
}

h1 a:hover {
    text-decoration: none;
    color: #fff;
}

h2.page-title{
        color: #fff;
        text-align: center;
/*      font-family: 'Condiment', cursive;*/
        font-family: 'Poiret One', cursive;
        font-weight: 400;
/*      font-size: 2em;*/
        font-size: 2em;
        position: relative;
        top: -10px;
/*    margin: 0.06em;*/
}

a, a:visited {
	text-decoration:none;
	outline:none;
	color:#54a6de;
}

a:hover{
	text-decoration:underline;
}

section, footer, nav{
	display: block;
}

/*----------------------------
    The Navigation Menu
-----------------------------*/
nav#colorNav {
    padding: 50px;
    background: rgba(0, 0, 0, 0.38);
}

#colorNav > ul{
    width: 500px; /* Increase when adding more menu items */
    margin:0 auto;
}

#colorNav > ul > li{ /* will style only the top level li */
        list-style: none;
        box-shadow: 0 0 10px rgba(100, 100, 100, 0.2) inset,1px 1px 1px #CCC;
        display: inline-block;
        line-height: 1;
        margin: 1px;
        border-radius: 3px;
        position:relative;
        }
#colorNav > ul > li > a{
	color:inherit;
	text-decoration:none !important;
	font-size:24px;
	padding: 25px;
}
#colorNav li ul{
	position:absolute;
	list-style:none;
	text-align:center;
	width:180px;
	left:50%;
	margin-left:-90px;
	top:70px;
	font:bold 12px 'Open Sans Condensed', sans-serif;

	/* This is important for the show/hide CSS animation */
	max-height:0px;
	overflow:hidden;

	-webkit-transition:max-height 0.4s linear;
	-moz-transition:max-height 0.4s linear;
	transition:max-height 0.4s linear;
}

/* This will trigger the CSS */
/* transition animation on hover */

#colorNav li:hover ul{
    max-height:200px; /* Increase when adding more dropdown items */
}

#colorNav li ul li{
	background-color:#313131;
}

#colorNav li ul li a{
	padding:12px;
	color:#fff !important;
	text-decoration:none !important;
	display:block;
}

#colorNav li ul li:nth-child(odd){ /* zebra stripes */
	background-color:#363636;
}

#colorNav li ul li:hover{
	background-color:#444;
}

#colorNav li ul li:first-child{
	border-radius:3px 3px 0 0;
	margin-top:25px;
	position:relative;
}

#colorNav li ul li:first-child:before{ /* the pointer tip */
	content:'';
	position:absolute;
	width:1px;
	height:1px;
	border:5px solid transparent;
	border-bottom-color:#313131;
	left:50%;
	top:-10px;
	margin-left:-5px;
}

#colorNav li ul li:last-child{
	border-bottom-left-radius:3px;
	border-bottom-right-radius:3px;
}

/*----------------------------
    Color Themes
-----------------------------*/


#colorNav li.green{
    /* This is the color of the menu item */
    background-color:#00c08b;
    
    /* This is the color of the icon */
    color:#127a5d;
}
li.green-sub{width: 80px;color: #127a5d;text-align: center;top: 0px;box-shadow: none !important; font-size: 12px;}

#colorNav li.red{       background-color:#ea5080;color:#aa2a52;}
li.red-sub{width: 80px;color: #aa2a52;text-align: center;top: 0px;box-shadow: none !important; font-size: 12px;}
#colorNav li.blue{      background-color:#53bfe2;color:#2884a2;}
li.blue-sub{width: 80px;color: #2884a2;text-align: center;top: 0px;box-shadow: none !important; font-size: 12px;}
#colorNav li.yellow{    background-color:#f8c54d;color:#ab8426;}
li.yellow-sub{width: 80px;color: #ab8426;text-align: center;top: 0px;box-shadow: none !important; font-size: 12px;}
#colorNav li.purple{    background-color:#df6dc2;color:#9f3c85;}
li.purple-sub{width: 74px;color: #9f3c85;text-align: center;top: 0px;box-shadow: none !important; font-size: 12px;}
#colorNav li.orange{	background-color:#EA5A50;color:#A8413A;}
li.orange-sub{width: 74px;color: #A8413A;text-align: center;top: 0px;box-shadow: none !important; font-size: 12px;}

footer{
    height: 75px;
    width: 960px;
    background: transparent;
    margin: 0 auto;
    margin-bottom: 0px;
}

footer>.left-col{
    min-width 320px;
    float: left;
}

footer>.center-col{
    min-width 320px;
    float: left;
    height: 75px;
    margin: 0 auto;
    color: red;
}

footer>.right-col{
    min-width 320px;
    min-height: 75px;
    float: left;
    background: transparent;
}

footer>.center-col p{
    color: #BD2B0B;
    font-size: 12pt;
    font-family: "calibri", "verdana";
    text-align: center;
    margin-top: 30px;
}

/*----------------------------
    The Cont3nt
-----------------------------*/

#content{
    padding: 50px;
    width: 600px;
    margin:0 auto;
}

#post{
    background: rgba(255, 255, 255, 0.38);
    padding: 30px;
}

.post-inner-content{
	padding: 15px 40px 30px;
}

.page-title{
    color: #fff;
text-align: center;
font-size: 2em;
font-weight: 400;
width: 500px;
margin: 0 auto;
margin-bottom: 10px;
margin-top: 10px;
}

.caption{
    text-align: center;
color: #555;
font-size: 1.5em;
font-weight: 400;
width: 500px;
margin: 0 auto;
margin-bottom: 10px;
margin-top: 10px;
}

/*----------------------------
    The Footer
-----------------------------*/


footer{
    background-color: #111111;
    bottom: 0;
    box-shadow: 0 -1px 2px #111111;
    height: 45px;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 100000;
}

footer h2{
    color: #EEEEEE;
    font-size: 14px;
    font-weight: normal;
    left: 50%;
    margin-left: -400px;
    padding: 13px 0 0;
    position: absolute;
    width: 540px;
}

footer h2 i{
    font-style:normal;
    color:#888;
}

footer a.tzine,a.tzine:visited{
    color: #999999;
    font-size: 12px;
    left: 50%;
    margin: 16px 0 0 110px;
    position: absolute;
    text-decoration: none;
    top: 0;
}

footer a i{
    color:#ccc;
    font-style: normal;
}

footer a i b{
    color:#c92020;
    font-weight: normal;
}


/* ===============================
        reCAPTCHA
   =============================== */
.g-recaptcha{
	padding-top: 20px;
	padding-bottom: 20px;
}

/* ===============================
	Short uRL
   =============================== */

a.bookmarklet {
	border:2px solid #2a85b3;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	padding:5px 5px 5px 20px;
	background:#eef url(https://short.saba.link/images/favicon.gif) 2px center no-repeat;
	margin:3px;
	display:inline-block;
}
a.bookmarklet:hover {
	text-decoration:none;
	background-position:3px center;
}

input, textarea {
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
}
Input.text, select, textarea {
	font-family: Verdana, Arial;
	font-size: 10px;
	color: #595441;
	background-color: #FFFFFF;
	border: 1px solid #88c0eb;
	margin:1px;
}
input.button {
	font-family: Verdana, Arial;
	font-size: 10px;
	color: #595441;
	font-weight: bold;
	background-color: #FFFFFF;
	border: 1px solid #88c0eb;
	cursor:pointer;
}
input.primary {
	border:2px solid #2A85B3;
	background:#fafafe;
	padding: 10px;
	margin: 5px 0 0px 0px;
}
input.text:focus, textarea:focus {
	border:2px solid #2A85B3;
	margin:0px;
}



/* ==========================================================================
	Share Boxes
   ========================================================================== */

#shareboxes, #tweet {
	overflow:hidden;
}

#shareboxes{
	margin-top:15px;
}

div.share {
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:2px solid #88c0eb;
	background:#fff;
	margin-right:1em;
	padding:0 1em;
	float:left;
	/*height:140px;*/
	margin-top: 20px;
	padding: 20px;
}
#origlink{
	display:inline-block;
	white-space:pre;
	width:183px;
	overflow:hidden;
	vertical-align:-2px;
}
#copybox {
	width:500px;
	margin: 0 auto;
}
#sharebox {
	width:500px;
}
#tweet_body {
	float:left;
	width:450px;
	height:4em;
	font-size:12px;
}
#charcount {
	padding-left:5px;
	color:#88c0eb;
}
#charcount.negative {
	color:red;
}
#share_links a {
	padding:0 12px 0 18px;
	font-weight:bold
}
#share_links a:hover {
	background-position:2px center;
}
#share_tw {background:transparent url(../images/twitter.png) left center no-repeat;}
#share_fb {background:transparent url(../images/facebook.png) left center no-repeat;}
#share_ff {background:transparent url(../images/friendfeed.png) left center no-repeat;}

#copylink{
	cursor:pointer;
	background:transparent url(../images/copy.png) 130% center no-repeat;
}

#copylink:hover, #copylink.hover {
	background-position:100% 50%;
}







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
