@charset "UTF-8";

/*
Theme Name: ISŠ Nová Paka
Theme URI: http://www.issnp.cz/
Author: Martin Vik & IT-PRO s.r.o.
Author URI: http://www.it-pro.cz/
Description: Custom template for czech technical high school ISŠ Nová Paka.
Version: 1.0
Tags: light, gray, white, blue, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, featured-images, microformats, czech
*/

html {
    margin: 0;
    padding: 0;
}

body {
    background: url(images/bg-head.jpg) top no-repeat;
    margin: 0;
    padding: 0;
}

#bg-top {
    background: url(images/bg-top.svg) top repeat-x;
    
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
	text-align: center;

}

#bg-top h1 {
    color: #305d87;
	font-size: 28px;
	margin-top: 180px;
}

#bg-bottom {
    background: url(images/bg-bottom.svg) bottom repeat-x;
    bottom: 0;
    height: 152px;
    position: fixed;
    width: 100%;
    z-index: -1;
}

#wrapper1 {
    margin: auto;
    padding: 0 15px;
}

#wrapper2 {
    margin: auto;
    max-width: 932px;
}

#header {
    padding: 38px 0 19px 0;
}

#header h1 {
    margin: 0;
    text-align: center;
}

#header a {
    display: block;
    margin: auto;
    width: 182px;
}

#header img {
    border: 0;
}
#header p {
    color: #305d87;
	font-size: 28px;
	text-align: center;
	font-weight: 700;
	margin: 0;	
}

#nav-menu {
    display: table;
    clear: both;
    height: 70px;
    text-align: center;
    width: 100%;
}

#nav-menu .left {
    background: url(images/bg-nav.svg) top left no-repeat;
    display: table-cell;
    height: 70px;
    width: 90px;
}

#nav-menu .center {
    background: url(images/bg-nav.svg) top center no-repeat;
    display: table-cell;
    height: 70px;
    max-width: 752px;
    position: relative;
    vertical-align: middle;
}

#nav-menu .right {
    background: url(images/bg-nav.svg) top right no-repeat;
    display: table-cell;
    height: 70px;
    width: 90px;
}

#nav-menu h2 {
    display: none;
}

#menu-toggle {
    cursor: pointer;
    display: inline-block;
    height: 25px;
    margin: 0;
    vertical-align: middle;
    width: 32px;
}

#menu-toggle div {
    background-color: #305d87;
    height: 20%;
    margin: 0 0 20% 0;
    width: 100%;
}

#menu-toggle:hover div {
    background-color: #008660;
}

#menu-toggle div:last-of-type {
    margin: 0;
}

@keyframes show {
    from {transform: scaleY(0)}
    to {transform: scaleY(1);}
}

@-webkit-keyframes show  {
    from {-webkit-transform: scaleY(0);}
    to {-webkit-transform: scaleY(1);}
}

.nav-menu {
    background: #008660;
    color: #fff;
    display: none;
    font-family: "myriad-pro",sans-serif;
    font-size: 1em;
    left: 0;
    list-style: none;
    margin: 0 auto;
    padding: 3px 6px 20px 6px;
    position: absolute;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    top: 55px;
}

.nav-menu.on {
    -webkit-animation-duration: 0.5s;
    -webkit-animation-name: show;
    -webkit-transform-origin: top;
    animation-duration: 0.5s;
    animation-name: show;
    display: block;
    transform-origin: top;
}

.nav-menu li {
    display: block;
    font-weight: bold;
    padding: 0;
}

.nav-menu a {
    background: url(images/bg-menu-link.svg) bottom no-repeat;
    background-size: 100% 13px;
    display: block;
    padding: 20px 15px 5px 15px;
}

.nav-menu a:hover {
    background: url(images/bg-menu-hover.svg) bottom no-repeat;
    background-size: 100% 13px;
}

.nav-menu a:link,
.nav-menu a:visited,
.nav-menu a:hover,
.nav-menu a:active,
.nav-menu a:focus {
    color: #fff;
    text-decoration: none;
}

.sub-menu {
    padding: 0;
}

.sub-menu li {
    font-weight: normal;
    padding: 0;
}

.sub-menu a {
    display: block;
    padding: 15px 15px 5px 15px;
}

#main {
    padding-top: 25px;
    padding-right: 10px;
    padding-bottom: 25px;
    padding-left: 184px;
    text-align: left;
}

.delimiter {
    display: none;
}

#content {
    float: left;
    margin: 0 auto 0 -174px;
    width: 100%;
}

#sidebar-right {
    float: right;
    width: 149px;
}

#sidebar-right h2 {
    display: none;
}

.widget {
    display: block;
    font-family: "myriad-pro",sans-serif;
    margin: 0 0 25px 0;
    max-width: 149px;
}

.widget h3 {
    background: url(images/bg-widget.svg) top no-repeat;
    color: #fff;
    font-weight: bold;
    font-size: 0.7em;
    height: 33px;
    line-height: 33px;
    letter-spacing: -0.03em;
    margin: 0 0 7px 0;
    padding: 1px 7px 0 7px;
    text-align: left;
    text-transform: uppercase;
}

.widget ul {
    color: #305d87;
    font-size: 0.8em;
    line-height: 1;
    list-style: none;
    margin: 0 7px;
    padding: 0;
    text-align: left;
}

.widget li {
    margin: 0 0 4px 0;
}

.widget a:link,
.widget a:visited {
    color: #305d87;
    font-weight: bold;
    text-decoration: none;
}

.widget a:hover,
.widget a:active,
.widget a:focus {
    color: #008660;
    text-decoration: underline;
}

.widget select {
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #fff url(images/sipka.svg) right no-repeat;
    border: 1px solid #305d87;
    border-radius: 0;
    color: #305d87;
    font-family: "myriad-pro",sans-serif;
    font-size: 0.8em;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    padding: 0 3px;
    width: 149px;
}

.widget select::-ms-expand {
    display: none;
}

.widget select:hover {
    background: #fff url(images/sipka-hover.svg) right no-repeat;
    border-color: #008660;
    color: #008660;
}

.widget select option {
    font-weight: normal;
}

.widget p {
    font-size: 0.8em;
    line-height: 100%;
    margin: 0 7px;
    padding: 0;
    text-align: left;
}

.widget p a:link,
.widget p a:visited,
.widget p a:hover,
.widget p a:active,
.widget p a:focus {
    border: 0;
}

.widget label {
    display: none;
}

.searchform {
    background: #fff;
    border: 1px solid #305d87;
    height: 23px;
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 147px;
}

.searchform:hover {
    border-color: #008660;
}

.searchform #searchsubmit {
    background: url(images/search.svg) center no-repeat;
    border: 0;
    color: transparent;
    display: inline-block;
    float: left;
    height: 23px;
    width: 23px;
}

.searchform:hover #searchsubmit {
    background: url(images/search-hover.svg) center no-repeat;
}

.searchform div {
    text-align: right;
}

.searchform #s {
    background: transparent;
    border: 0;
    color: #008660;
    display: inline-block;
    font-family: "myriad-pro",sans-serif;
    font-size: 1em;
    height: 19px;
    padding: 3px 0 1px 0;
    line-height: 100%;
    text-align: left;
    width: 124px;
}

#colophon {
    clear: both;
    color: #305d87;
    display: table;
    font-family: "myriad-pro",sans-serif;
    font-size: 0.8em;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

#colophon .left {
    background: url(images/bg-foot.svg) top left no-repeat;
    display: table-cell;
    min-height: 30px;
    width: 90px;
}

#colophon .center {
    background: url(images/bg-foot.svg) top center no-repeat;
    display: table-cell;
    max-width: 752px;
    min-height: 30px;
    padding: 20px 0 40px 0;
}

#colophon .right {
    background: url(images/bg-foot.svg) top right no-repeat;
    display: table-cell;
    min-height: 30px;
    width: 90px;
}

#colophon address {
    font-style: normal;
    margin: 0.5em 0 0 0;
}

#colophon a:link,
#colophon a:visited {
    color: #305d87;
    font-weight: bold;
    text-decoration: none;
}

#colophon a:hover,
#colophon a:active,
#colophon a:focus {
    color: #008660;
    text-decoration: underline;
}

#the-loop {
    color: #305d87;
    font-family: "myriad-pro",sans-serif;
    padding-bottom: 2em;
}

#the-loop a:link,
#the-loop a:visited {
    color: #008660;
    text-decoration: none;
}

#the-loop a:hover,
#the-loop a:active,
#the-loop a:focus {
    color: #008660;
    text-decoration: underline;
}

.archive-header {
    margin-bottom: 1em;
}

.archive-title {
    font-size: 2.25em;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 0.5em 0;
    text-transform: uppercase;
}

.archive-header p {
    font-size: 1.2em;
    font-style: italic;
    line-height: 1;
    margin: 0 0 1.5em 0;
}

#content article {
    border-top: 1px dotted #305d87;
    padding: 1em 0 1.5em 0;
    clear: both;
}

#content article:first-child {
    border: 0;
    padding-top: 0;
}

#content article:last-child {
    border-bottom: 1px dotted #305d87;
}

.clear {
    clear: both;
}

.entry-header {
    margin-bottom: 1em;
}

.entry-category {
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 0.5em;
}

.entry-title {
    font-size: 2.25em;
    font-weight: bold;
    line-height: 1;
    margin: 0.5em 0;
    text-transform: uppercase;
}

.entry-title:first-child {
    margin-top: 0.2em;
}

.entry-title-summary {
    font-size: 1.7em;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

.entry-meta {
    font-size: 0.9em;
    line-height: 1.2;
    margin: 0.5em 0 0 0;
}

.entry-summary h1,
.entry-summary h2,
.entry-summary h3,
.entry-summary h4,
.entry-summary h5,
.entry-summary h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    clear: both;
    font-weight: bold;
    margin: 1.5em 0 0.5em 0;
}

.entry-summary,
.entry-content {
    margin-top: 1em;
}
.entry-summary h1 {
    font-size: 1.6em;
}

.entry-content h1 {
    font-size: 1.7em;
}

.entry-summary h1:first-child,
.entry-content h1:first-child {
    margin-top: 0;
}

.entry-summary h2,
.entry-content h2 {
    font-size: 1.5em;
}

.entry-summary h3,
.entry-content h3 {
    font-size: 1.3em;
}

.entry-summary h4,
.entry-content h4 {
    font-size: 1.2em;
}

.entry-summary h5,
.entry-content h5 {
    font-size: 1.1em;
}

.entry-summary h6,
.entry-content h6 {
    font-size: 1em;
}

.entry-summary p,
.entry-content p {
    font-size: 1em;
    line-height: 1.5;
    margin: 0.3em 0 1em 0;
    text-align: justify;
}

.permalink-thumbnail {
    display: block;
    max-width: 100%;
}

.permalink-thumbnail  .attachment-thumbnail {
    border: 1px solid #305d87;
    display: block;
    float: left;
    height: auto;
    margin: 0 1em 1em 0;
    max-width: 100%;
}

.more-link {
    display: inline-block;
    float: right;
    font-weight: bold;
    margin: 2em 0 0 2em;
}

.entry-summary ol,
.entry-summary ul,
.entry-content ol,
.entry-content ul {
    font-size: 1em;
    line-height: 1.5;
    margin: 0 0 1em;
    padding: 0.3em 0 0 1em;
}

.entry-summary li,
.entry-content li {
    padding: 0 0 0.2em 0;
}

.entry-summary table,
.entry-content table {
    clear: both;
    display: block;
    margin: 0.5em 0 1em 0;
    font-size: 1em;
    max-width: 100%;
}
.entry-summary caption,
.entry-content caption {
    font-size: 0.9em;
    line-height: 1;
    margin: 0 0 0.5em 0;
}

.entry-summary thead,
.entry-content thead {
    background-color: #aad2f2;
    font-weight: bold;
}

.entry-summary td,
.entry-content td {
    background-color: #fff;
    border: 1px solid #305d87;
    border-collapse: collapse;
    line-height: 1;
    padding: 0.5em;
    text-align: left;
    vertical-align: middle;
}

.entry-summary tfoot,
.entry-content tfoot {
    background-color: #dae8f2;
}

.entry-summary blockquote,
.entry-content blockquote {
    background-color: #dae8f2;
    border-radius: 1em;
    clear: both;
    margin: 0.3em 0 1em 0;
}

.entry-summary blockquote p,
.entry-content blockquote p {
    padding: 1em;
}

.entry-summary cite,
.entry-content cite {
    font-style: italic;
}

.entry-summary iframe,
.entry-content iframe {
    border: 1px solid #305d87;
    margin: 0.5em 0 1em 0;
}

.entry-content img,
.entry-summary img {
    border: 1px solid #305d87;
    height: auto;
    margin: 0 0 1em 0;
    max-width: 100%;
}

.wp-caption {
    margin: 0 0 1em 0;
    max-width: 100%;
}

.entry-summary img.alignleft,
.entry-summary div.alignleft,
.entry-content img.alignleft,
.entry-content div.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

.entry-summary img.alignright,
.entry-summary div.alignright,
.entry-content img.alignright,
.entry-content div.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

.entry-summary img.aligncenter,
.entry-summary div.aligncenter,
.entry-content img.aligncenter,
.entry-content div.aligncenter {
    float: none;
    margin: 0 auto 1em auto;
}

.wp-caption img {
    height: auto;
    margin: 0 !important;
    width: auto;
}

.wp-caption a {
    display: inline-block;
    width: 100%;
}

.wp-caption-text {
    clear: both;
    font-size: 0.9em !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0.5em 0 0 0 !important;
    text-align: left !important;
}

.gallery-icon {
    clear: both;
}

.gallery-icon {
    padding: 0.2em;
}

.gallery-icon img {
    border: 1px solid #305d87 !important;
    margin: 0 !important;
}

.wp-caption a {
    display: inline-block;
}

.entry-attachment {
    margin-top: 1em;
}

.entry-attachment a {
    display: block;
    max-width: 100%;
}

.entry-attachment img {
    border: 1px solid #305d87;
    height: auto;
    max-width: 100%;
}

.entry-attachment p {
    font-size: 1em;
    line-height: 1;
}

.borderless {
    border: 0 !important;
}

.entry-footer {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1;
    overflow: auto;
    text-align: center;
}

.entry-pages {
    display: inline-block;
    margin: 0.5em 0;
}

.content-navigation {
    border-top: 1px dotted #305d87;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1;
    overflow: auto;
    padding-top: 1em;
}

.content-navigation:last-child {
    border-bottom: 1px dotted #305d87;
}

.nav-previous {
    float: left;
    margin-bottom: 1em;
}

.nav-next {
    float: right;
    margin-bottom: 1em;
}

abbr {
    border: 0 !important;
}

#the-loop hr {
    background: #dae8f2;
    border: none;
    color: #dae8f2;
    height: 1px;
}

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

    #main {
        padding: 25px 10px 0 10px;
    }

    #content {
        float: none;
        margin: 0 0 25px 0;
    }

    #sidebar-right {
        float: none;
        width: 100%;
    }

    .widget {
        display: block;
        margin: 0 auto 25px auto;
        max-width: 50%;
        text-align: center;
    }

    .widget h3,
    .widget ul,
    .widget p,
    .widget form {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .widget h3 {
        background: url(images/bg-widget-repeat.svg) top repeat-x;
    }

    .widget select {
        width: 100%;
    }

    .widget p {
        text-align: center;
    }

    .widget form {
        width: 99%;
    }

    .searchform #searchsubmit {
        display: none;
    }

    .searchform #s {
        background:#fff url(images/search.svg) left no-repeat;
        text-align:right;
        padding-left:2%;
        padding-right:2%;
        width:96%;
    }

    .searchform #s:focus {
        background:#fff url(images/search-hover.svg) left no-repeat;
    }
}


@media screen and (max-height: 440px) {

    #bg-bottom {
        display: none;
    }

	
    #wrapper1 {
        background: url(images/bg-bottom.svg) bottom repeat-x;
    }
}
@media screen and (max-width: 460px) {

    #nav-menu .left,
    #nav-menu .right,
    #colophon .left,
    #colophon .right
	{
        display: none;
    }
	#header p {
		font-size: 16px;
	}
	
    .widget {
        max-width: 100%;
    }
}


@media screen and (min-width: 962px) {

    #nav-menu {
        clear: both;
        min-height: 70px;
        width: 100%;
    }

    #menu-toggle {
        display: none;
    }

    .nav-menu {
        background: none;
        color: #305d87;
        display: block;
        line-height: 2;
        margin: 2px 0 0 0;
        max-width: 100%;
        padding: 0;
        position: relative;
        top: 0;
        vertical-align: top;
    }

    body:not(:-moz-handler-blocked) .nav-menu {
        margin: 1px 0 0 0;
    }

    .nav-menu:not(*:root) {
        margin: 2px 0 0 0;
    }

    .nav-menu li {
        display: inline-block;
        padding: 0 8px;
    }

    .nav-menu a {
        background: none;
        display: block;
        padding: 0;
    }

    .nav-menu a:hover {
        background: none;
    }

    .nav-menu a:link,
    .nav-menu a:visited {
        color: #305d87;
        text-decoration: none;
    }

    .nav-menu a:hover,
    .nav-menu a:active,
    .nav-menu a:focus {
        color: #008660;
        text-decoration: none;
    }

    .sub-menu {
        background: #008660;
        color: #fff;
        margin-left: -20px;
        padding: 1px 6px 12px 6px;
        position: absolute;
        text-align: left;
        font-weight: normal;
        top: 24px;
        line-height: 1;
        visibility: hidden;
        width: 150px;
    }

    .nav-menu li:hover .sub-menu {
        -webkit-animation-duration: 0.5s;
        -webkit-animation-name: show;
        -webkit-transform-origin: top;
        animation-duration: 0.5s;
        animation-name: show;
        transform-origin: top;
        visibility: visible;
    }

    .sub-menu li {
        display: block;
        padding: 0;
    }

    .sub-menu a {
        display: block;
        background: url(images/bg-menu-link-narrow.svg) bottom no-repeat;
        background-size: 100% 13px;
        padding: 15px 15px 5px 15px;
    }

    .sub-menu a:hover {
        background: url(images/bg-menu-hover-narrow.svg) bottom no-repeat;
        background-size: 100% 13px;
    }

    .sub-menu a:link,
    .sub-menu a:visited,
    .sub-menu a:hover,
    .sub-menu a:active,
    .sub-menu a:focus {
        color: #fff;
        text-decoration: none;
    }
}

@media print {

    body,
    html {
        background: none;
    }

    body {
        padding: 2em;
    }

    #bg-top,
    #bg-bottom,
    #nav-menu,
    #sidebar-right {
        display: none;
    }

    #wrapper1,
    #wrapper2 {
        margin: auto;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    #header {
        text-align: center;
        padding: 0;
        width: 100%;
    }

    #header a {
        margin: auto;
    }

    #main {
        margin: 0;
        padding: 0;
    }

    .delimiter {
        border: 0.1em solid #000;
        display: block;
        margin: 2em 0;
        width: 100%;
    }

    #content {
        float: none;
        margin: 0;
        padding: 0;
    }

    #colophon {
        background: none;
        color: #000;
        display: block;
        margin: 0;
        padding: 0;
    }

    #colophon .left,
    #colophon .right {
        display: none;
    }

    #colophon .center {
        display: block;
        margin: 0;
        max-width: 100%;
        padding: 0;
    }

    #colophon a:link,
    #colophon a:visited,
    #colophon a:hover,
    #colophon a:active,
    #colophon a:focus {
        color: #000;
        text-decoration: none;
    }

    #the-loop h1,
    #the-loop h2,
    #the-loop h3,
    #the-loop h4,
    #the-loop h5,
    #the-loop h6,
    #the-loop p,
    #the-loop table,
    #the-loop blockquote,
    #the-loop ul,
    #the-loop ol {
        color: #000;
    }

    #the-loop table,
    #the-loop tr,
    #the-loop td,
    #the-loop th {
        border-color: #000;
    }

    #the-loop hr {
        background: #888;
        border: 0.1em solid #888;
        color: #888;
        height: auto;
    }

    #the-loop img,
    .gallery-icon img {
        border-color: #000 !important;
    }

    #content article {
        border-color: #000;
        overflow:
    }

    #content article:last-child {
        border-color: #000;
    }

    .content-navigation,
    .entry-footer {
        display: none;
    }

    #the-loop a:link,
    #the-loop a:visited,
    #the-loop a:hover,
    #the-loop a:active,
    #the-loop a:focus {
        color: #000;
        text-decoration: none;
    }
}
