/*--
jakubovo OBSAH - postupně přecházíme na foundation a .content-x classname

- global rows and homepage
- testimomials
--*/

.content {}

.content .row {
    padding: 3em 0;
}

.content .row h1 {
    padding: 0 0 .5em 0;
    /* reset from generated - line under headline */
}

.content .row h1:before {
    display: none;
    /* reset from generated - line under headline */
}

/* full-width photos rows */
article.bg {
    background-size: cover;
    background-position: center center;
    background-color: #CAD1D5;
    background-image: url(../img/symbiont/studio.jpg);
    padding: 2em 0;
}

article.bg .row h1 {
    padding: 1em;
    color: white;
    background: rgba(47, 63, 76, 0.8);
}

article.bg .row .content {
    padding: 2em;
    background: rgba(255, 255, 255, 0.9);
}

article.bg-private {
    background-image: url(../img/symbiont/studio.jpg);
}

article.bg-private-about {
    background-image: url(../img/pages/about-4.jpg);
}

article.bg-personal {
    background-image: url(../img/symbiont/ems-personal-trainer2.jpg);
    background-position: center top;
}

article.bg-personal-about {
    background-image: url(../img/pages/about-2.jpg);
    background-position: center top;
}

article.bg-figure {
    background-image: url(../img/page-background/media.jpg);
}

/* TODO: vyměnit za pěkná těla */
article.bg-fitness {
    background-image: url(../img/page-background/training_6.jpg);
}

/* TODO: vyměnit za pěkná těla */
article.bg-health {
    background-image: url(../img/page-background/training_5.jpg);
}

/* TODO: vyměnit za pěkná těla */



/*-- zelený pruh --*/
article.bg-green {
    background: #87d24c;
}

article.bg-green .row {
    padding-bottom: 0;
}


/*-- HomepageVideo --*/
.HomepageVideo {
    margin: 20px 0;
}

.HomepageVideo iframe {
    height: 350px;
    width: 100%;
}

/*-- play ikona s videem --*/
a.icon-play {
    position: relative;
    display: inline-block;
    color: white;
    max-height: 35em;
    xoverflow: hidden;
}

a.icon-play span {
    background: #454F5C;
    font-size: .7em;
    text-align: center;
    padding: 10px;
    position: absolute;
    left: 20%;
    bottom: 10%;
    width: 8em;
    opacity: .8;
}

a.icon-play span:before {
    display: block;
    background: #EC331B;
    content: "\25B8";
    font-size: 6em;
    line-height: 100px;
    position: absolute;
    width: 100%;
    height: 100px;
    top: -100px;
    left: 0px;
}

a.icon-play:hover span {
    xbackground: #0E0B0C;
    opacity: 1;
}

a.icon-play:hover span:before {
    background: #2897F1;
}

/*-- Tlačítka (TODO: nahradit pak z foundation stylu) --*/
a.button {
    text-decoration: none;
    color: white;
    background: #2897F1;
    padding: 1em 2em;
}

a.button:hover {
    text-decoration: underline;
}


/*-- testimonialy, citace --*/
.testimonial {}

.testimonial .columns {
    line-height: 0;
}

.testimonial blockquote p.testiHeader {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
}

.testimonial blockquote {
    padding: 2em 2em 3em;
    margin: 0;
    font-family: 'OpenSansLight', 'Arial CE', Arial, sans-serif;
    font-style: italic;
    color: white;
    background: rgba(47, 63, 76, 0.8);
}

.testimonial blockquote p.author {
    float: right;
    padding-top: 0;
    font-size: .8em;
    font-style: normal;
}



/*-- perex --*/
div.perex {
    background: #F2F2F2;
}

.perex h1 {
    text-align: center;
}

.perex p.motto {
    font-size: 1.2em;
}

/*-- hightlights --*/
.square {
    width: 4em;
    height: 4em;
    margin: 1em auto;
    background: #9EBC37;
    color: white;
    text-align: center;
    font-variant: small-caps;
    font-size: 2.5em;
    padding: 1em 0;
    position: relative;
}

.square strong {
    display: block;
}

.square span {
    font-size: .9em;
}

.square.orange {
    background: #FF5834;
}

.square.blue {
    background: #00B4E9;
}

.square.yellow {
    background: #FFC036;
}

/*
.square:before {
	content:"";
	display:block;
	float:left;
	width:3.5em;
	height:3.5em;
	margin:-1em 0 0 -3.5em;
	background: #D6D6DA;
}
*/
.squares .square {
    float: left;
    margin: 0;
}

.absolute-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2em;
    z-index: 100;
}

table.price {
    border-collapse: collapse;
    margin: 0 15% 0 15%;
}

table.price td,
table.price th {
    width: 30%;
    border: 1px solid white;
    background-color: #efefef;
    padding: 1.5em;
}

table.price thead tr th {
    color: #ffffff;
    background-color: #1A232C;
    line-height: 1.3;
    font-weight: normal;
}

table.price thead tr th h4 {
    font-size: 1.3em;
    text-transform: uppercase;
    margin-bottom: .3em;
}

table.price thead tr th small {
    font-size: 0.9em;
}

table.price tbody tr th {
    color: #ffffff;
    background-color: #1A232C;
    text-transform: uppercase;
}

table.price tbody tr th big {
    font-size: 2.5em;
    font-weight: bold;
}

table.price tbody tr td strong {
    font-size: 1.5em;
    display: block;
}

table.price a {
    font-size: 0.8em;
    color: #000;
}

table.price tbody tr td a[role=mobile] {
    display: none;
    color: #fff
}

table.price tbody tr td [role=nomobile] {
    display: block
}

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

    table.price td,
    table.price th {
        padding: 1em 0.1em;
        font-size: smaller;
    }

    .email--huge a {
        font-size: 0.7em;
    }

    div.email--huge {
        display: table;
    }

    div.phone--huge {
        margin-bottom: 5px;
        width: 100%;
        text-align: left;
    }

    table.price {
        margin: 0;
    }

    table.price tbody tr td a[role=mobile] {
        display: inline-block;
        padding: 5px 12px;
        text-decoration: none;
    }

    table.price tbody tr td [role=nomobile] {
        display: none
    }
}

table.price tbody tr.item-0 th {
    background-color: #1A232C;
    background-image: linear-gradient(340deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}

table.price tbody tr.item-1 th {
    background-color: #a3c333;
    background-image: linear-gradient(340deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}

table.price tbody tr.item-2 th {
    background-color: #ffc533;
    background-image: linear-gradient(340deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
}

table.price tbody tr.item-3 th {
    background-color: #ff5f33;
    background-image: linear-gradient(340deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
}

table.price tbody tr.item-4 th {
    background-color: #33c7ed;
    background-image: linear-gradient(340deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
}

#paymentGatewayPreparingNotify {
    display: none;
}

#voucherOrderForm a {
    text-decoration: underline
}

ul.vouchers-list li.vouchers-3 .centerRow img {
    display: inline-block;
    margin: 5px 12px;
}

.article-button {
    margin-top: 75px;
    text-align: center;
}

.ems .article-button {
    margin-top: 10px;
}


/* Article Benefits of EMS training */
.benefits h1 {
    margin: 15px;
    text-align: center;
}

.benefits h2 {
    font-size: 18px;
    margin: 15px;
    text-align: center;
}

.benefits p {
    margin: 25px 0;
}

/* treninku  */
.treninku {
    /*background-color: rgb(245, 245, 245);*/
}

.treninku h1 {
    margin: 15px;
    text-align: center;
}

.treninku h2 {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;

}

.treninku h3 {
    margin: 15px;
    line-height: 1.2;
}

.treninku p {
    margin: 25px 0;
}

.treninku .article-button {
    margin-top: 0px;
    margin-bottom: 20px;
}

/* TEST TRAINING */
#testTraining {
    width: 100%;
    height: auto;
    min-height: 100%;
    background-image: url(../img/header-reservation-bg.jpg);
    background-attachment: fixed;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    background-position: center top;
    text-align: center;
}

#testTraining .center {
    width: 1025px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

#testTraining small {
    font-size: 12px;
}

#testTraining .header-reservation {
    background: none;
    width: 1025px;
    position: fixed;
    right: auto;
    top: 0;
    padding-top: 160px;
}

#testTraining .header-reservation article {
    padding: 20px;
    background: #f5f5f5;
    width: 400px;
    float: right;
}

#testTraining .header-reservation form {
    margin-top: 20px;
}

#testTraining .header-reservation .item {
    margin: 0 0 2px 0;
}

#testTraining .header-reservation .item-chbox label {
    margin: 15px 0 0 10px;
}

#testTraining .header-reservation .item-chbox input {
    margin: 3px 10px 0 0;
}

#testTraining .header-reservation .item-submit {
    margin: 30px 0 15px;
}

#testTraining .header-reservation .item-submit .button {
    display: inline-block;
    width: 40%;
    min-width: 155px;
    color: #000;
    line-height: 2em;
}

#testTraining .header-reservation #place {
    display: none;
}

#testTraining .header-reservation #placeSelect {
    display: block;
    float: right;
    background: transparent url(../img/select.gif) right center no-repeat;
    color: #888;
    padding-right: 35px;
    margin-right: -7px;
    line-height: 21px;
    cursor: pointer;
}

#placeOptions {
    position: fixed;
    top: 0;
    right: 30%;
    width: 350px;
    background: #f5f5f5;
    padding: 5px 0;
    box-shadow: #444 0 2px 10px;
    z-index: 9999;
    display: none;
    max-height: 100%;
    overflow-y: auto;

}

#placeOptions ul {
    margin: 0;
}

#placeOptions ul li {
    margin: 0;
    padding: 8px 15px;
    clear: both;
    font-size: 14px;
    line-height: 19px;
}

#placeOptions ul li div {
    width: 100%;
    height: 100%;
}

#placeOptions ul li div:after {
    clear: both;
    content: "";
    display: block;
}

#placeOptions ul li:hover {
    background: #2e93da;
    color: #fff;
    cursor: pointer;
}

#placeOptions ul li img {
    float: left;
    width: 128px;
    padding: 0 10px 0 0;
}

#placeOptions ul li:before {
    width: 0;
    height: 0;
}

#placeOptions h3 {
    text-decoration: underline;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 3px;
}


#testTraining .header-testTraining {
    padding-top: 0;
    min-height: 100%;
}

#testTraining .header-testTraining article {
    margin-bottom: 40px;
    max-width: 598px;
}

#testTraining article h1,
#testTraining article h2 {
    padding: 20px 0 20px 20px;
    font-family: 'Open Sans', 'Arial CE', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    color: #FFFFFF;
    line-height: 1.4em;
    background: #2f3f4c;
    background: rgba(47, 63, 76, 0.7);
    z-index: 5;
}

#testTraining article .content {
    padding: 30px 20px 40px 20px;
    background: #fff;
    font-size: 16px;
}

#testTraining article ul li {
    margin-bottom: 0;
}

#testTraining article .bigger {
    font-size: 20px;
}

#testTraining article .smaller,
#testTraining article ul.smaller li {
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}

#testTraining article span.smaller {
    line-height: 15px;
    display: block;
    margin-bottom: 5px;
}

#testTraining article p {
    margin-bottom: 7px;
}

#testTraining article .speech {
    font-style: italic;
}

#testTraining article figure {
    margin: 20px 0 25px;
}

#testTraining article figure:after {
    clear: both;
    content: "";
    display: block;
}

#testTraining article figure img {
    float: right;
    margin: 0 0 10px 20px
}

#testTraining article.doctor figure {
    margin: 25px 0 -40px 0;
}

#testTraining article.doctor img {
    width: 248px;
    float: left;
    margin: 10px 25px 0 0;
}

#testTraining article .wroteAboutUs {
    padding: 0 20px;
}

#testTraining .logo {
    display: inline-block;
    margin: 0 20px 40px 0;
    position: relative;
    z-index: 100;
}

#testTraining a.home {
    color: #fff;
    text-decoration: underline;
    display: inline-block;
    margin: 20px 0 35px;
    position: relative;
    z-index: 100;
    top: -40px;
    left: 15px;
}

#testTraining .error.act {
    position: static;
    margin-bottom: 10px !important;
}

#testTraining .error {
    background: transparent;
    padding: 0;
    text-align: left;
}


@media screen and (min-width: 1400px) {
    #testTraining .logo {
        position: absolute;
        top: 0;
        left: -180px;
    }

    #testTraining a.home {
        top: 0;
        left: 0;
    }
}

@media screen and (max-width: 1050px),
screen and (max-height: 500px) {
    #testTraining .center {
        width: auto;
    }

    #testTraining .header-reservation {
        width: auto;
        position: static;
        padding: 0;
        margin: 0 0 40px;
        text-align: center;
    }

    #testTraining .header-reservation article {
        float: none;
        text-align: left;
        width: 600px;
    }

    #testTraining article {
        margin: 0 auto 40px;
    }

    #testTraining .header-reservation .item-submit .button {
        min-width: 255px;
    }

    #testTraining .header-reservation .form .btn-green,
    #testTraining .header-reservation .form .btn-blue,
    #testTraining .header-reservation .form .btn-lightblue {
        width: 100%;
    }

    #testTraining .header-reservation .form .btn.saveMoney {
        padding: 0 20px;
        line-height: 2rem;
    }
}

/*@media screen and (max-width: 1050px), screen and (max-height: 850px) {
	#testTraining .center .homeoffice {
		width: auto;
	}
	#testTraining .homeoffice {
		width: auto;
		position: static;
		padding: 0;
		margin: 0 0 40px;
		text-align: center;
	}
	#testTraining .homeoffice article {
		float: none;
		text-align: left;
		width: 600px;
	}
	#testTraining article .homeoffice {
		margin: 0 auto 40px;
	}
	#testTraining .homeoffice .item-submit .button {
		min-width: 255px;
	}
	#testTraining .homeoffice .form .btn-green,
	#testTraining .homeoffice .form .btn-blue,
	#testTraining .homeoffice .form .btn-lightblue {
		width: 100%;
	}
	#testTraining .homeoffice .form .btn.saveMoney {
		padding: 0 20px;
		line-height: 2rem;
	}
}*/

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

    .HomepageVideo video {
        height: 200px;

    }

    #placeOptions {
        left: 0;
    }

    #testTraining .header-reservation article {
        padding: 20px 3%;
        background: #fff;
        width: auto;
    }

    #testTraining .header-reservation form {
        margin-top: 0;
    }

    #testTraining .header-reservation .item {
        margin-top: 20px;
    }

    #testTraining article {
        margin: 0 15px 40px;
    }

    #testTraining article figure {
        margin-bottom: 50px;
    }

    #testTraining article figure img {
        float: none;
        margin: 0 auto 10px;
    }

    #testTraining article.doctor figure {
        margin-bottom: 0;
    }
}

@media screen and (max-height: 780px) {
    #testTraining .header-reservation {
        padding-top: 0
    }

}


table.priceSkupina {
    margin-top: 20px;
    table-layout: fixed;
    width: 672px;
}

table.priceSkupina td {
    padding: 10px;
}

table.priceSkupina th {
    width: 15%;
}

@media only screen and (max-width: 320px) {
    .no-on-iphone {
        display: none;
    }
}

.section-label {
    text-align: center;
    margin-bottom: 30px;
}

.gray-background {
    background: #f5f5f5;
}

.line-through {
    text-decoration: line-through;
}

.in2 {
    width: 1020px;
    max-width: 100%;
}

.size-30 {
    font-size: 28px;
    line-height: 33px;
}

.padding-left {
    padding-left: 30px;
}

.padding-right {
    padding-right: 30px;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.logo-home {
    float: right;
    width: 150px;
}

.paragraph-width {
    padding: 0 15px;
    max-width: 647px;
    margin: auto;
}

.background-office {
    background-image: url(../img/page-background/home2-about.jpg);
    background-position: center -197px;
    background-size: cover;
}

.b-fullscreen-page.header-reservation {
    width: 100%;
    height: auto;
    min-height: 100%;
    padding-top: 175px;
    padding-bottom: 160px;
    background-image: url(../img/page-background/reservation.jpg);
    background-attachment: fixed;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    background-position: center center;
}

.form-action>div {
    display: inline-block;
    vertical-align: middle;
}

.btn-green.btn-lightblue {
    background: #65bf0d;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…AiIHdpZHRoPSIzMDAiIGhlaWdodD0iNjAiIGZpbGw9InVybCgjaGF0MCkiIC8+Cjwvc3ZnPg==);
    background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0.15) 100%);
    background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0.15) 100%);
    background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0.15) 100%);
    background-image: linear-gradient(bottom, rgba(0, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.ru .trenink,
.en .trenink {
    display: none;
}

.ru .header-howto h1,
.en .header-howto h1 {
    margin-left: 200px;
    margin-right: 200px;
    text-align: center;
    font-size: 3rem;
    padding: 15px;
}

#voucherOrderForm .btn {
    display: block !important;
    margin-right: 15px;
}

#frm-reservationForm-agreement {
    margin-bottom: 5px;
}

@media (max-width: 767px) {
    .logo-home {
        float: none;
        margin-bottom: 20px;
    }

    a.button {
        display: inline-block;
        text-align: center;
    }

    .padding-left,
    .padding-right {
        margin-bottom: 15px;
    }

    .float-left,
    .float-right {
        float: none !important;
        padding: 0;
    }

    .in {
        padding: 0 15px;
    }

    .background-office {
        background-position: center top;
    }

    .foot .small-offset-1 {
        margin-left: 0 !important;
    }

    .ru .header-howto h1,
    .en .header-howto h1 {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        font-size: 1.5rem;
        padding: 15px;
        width: 80%;
        margin: auto;
        margin-top: 95px;
    }
}
#voucherOrderForm .discountcodesubmit {
    font-size: 1.8rem;
    line-height: 30px;
    height: 40px;
}
.discount-code-input {
    width: 50%;
    border: gray 1px solid !important;
    height:40px;
}
