/* branbon override */

.settings-btn{
    display:inline-block;
    width:67px;
    height:67px;
    background:url('../images/sprite.png') no-repeat 0 -509px;
    text-indent:-9999px;
}

.site-header .site-navigation .navbar-collapse > ul:first-child + ul > li:first-child > ul{
    left:auto;
    right:0;
    margin-left:auto;
}

.logged-in .site-header .site-navigation .navbar-collapse > ul:first-child + ul > li:first-child > a{
    text-transform:none;
    font-family:'Open Sans', sans-serif;
    font-weight:400;
    padding: 10px 52px 7px 20px;
}

.logged-in .site-header .site-navigation .navbar-collapse > ul:first-child + ul > li:first-child > a > span{
    font-size:14px;
    display:inline-block;
    margin:0 0 0 15px;
    position:relative;
    top:-7px;
}

.logged-in .site-header .site-navigation .navbar-collapse > ul:first-child + ul > li:first-child > a > span > span{
    color:#c6d915;
    font-size:12px;
}


.logged-in .site-header .site-navigation .navbar-collapse > ul:first-child + ul > li:first-child > a > img{
    display:inline-block;
    -webkit-border-radius: 70px;
    border-radius: 70px;
}

.logged-in .site-header .site-navigation .navbar-collapse > ul:first-child + ul > li:first-child > a:before{
    display:none;
}

.page-header.author-header{
    width:100%;
    background:#1f1f1f;
    position:relative;
    margin-top: 19px;
    margin-bottom: 0;
    overflow:hidden;
    z-index:1;
}

.page-header.author-header:before{
    position: absolute;
    content: '';
    width: 0px;
    height: 0px;
    top: 100%;
    left: 20px;
    border-style: solid;
    border-width: 20px 18px 0 0;
    border-color: #1f1f1f transparent transparent transparent;
}

.page-header.author-header .page-title{
    padding: 13px 19px 6px;
}

.page-header.author-header .page-title:before{
    display:none;
}

.page-header.author-header .settings-btn{
    position:absolute;
    right:0;
    top:50%;
    margin-top:-34px;
}

.page-header .page-subtitle{
    clear:both;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    line-height: 1;
    color: #ccdc33;
    display: block;
    margin: 0;
    padding: 0 19px 12px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    z-index: 1;
}

.page-wrapper{
    width:100%;
    background:#fff;
    margin:0 0 20px 0;
    position:relative;
}

.page-wrapper .page-content{
    padding: 14px 24px 19px;
}

.content-area.full-width{
    width:100%;
}

.author .site-content .content-area, .author .site-content .widget-area{
    margin-top:10px;
}

.form-container{
    max-width:630px;
    margin:0 auto;
    padding:20px;
}

.form-container.form-contact {
    padding: 20px 0;
}

.form-container.wide{
    max-width:920px;
    margin-top:0;
}

.form-container.wide form{
    margin-top:0;
}

.form-container > h2{
    padding:0 10px;
    text-align:center;
    font-size:22px;
    line-height:24px;
    font-family:'Roboto', sans-serif;
    font-weight:700;
    margin-bottom:60px;
}

.form-container > h2 span{
    color:#63ac15;
}

.form-container h4{
    font-size:14px;
    font-family:'Open Sans', sans-serif;
    font-weight:700;
    border-bottom:1px solid #dfdfdf;
    padding-bottom:15px;
    text-align:center;
    margin:20px 10px;
    clear: both;
}

.form-container .alert{
    margin-top:-30px;
}

.form-container.wide .alert,
.form-container.user-edit .alert{
    margin-top:0;
}

.form-container form{
    margin-top:30px;
}

.form-container .form-section{
    clear:both;
    width:100%;
    margin:0 0 21px 0;
}

.form-container .form-section h3{
    margin:0 10px 13px 10px;
    font-family:'Open Sans', Arial, sans-serif;
    font-size:14px;
    text-transform:uppercase;
    text-align:center;
    border-bottom:1px solid #dfdfdf;
    padding-bottom:15px;
}

.form-container .form-group{
    width:295px;
    padding:0 10px;
    float:left;
    font-size:14px;
    margin:0 0 15px 0;
}

.form-container .form-group p{
    margin:0;
}

.form-container .form-group.full{
    width:100%;
}

.form-container form.form-video .form-group.e-_ivn_post_thumbnail,
.form-container form.form-video .form-group.e-_ivn_post_thumbnail_preview {
    display: none;
}

.form-container .form-group label{
    font-weight:700;
    margin:0 0 15px 0;
    display:inline-block;
    position:relative;
}

.form-container .form-section h3.required {
    position: relative;
}

.form-container .form-group.required label:after,
.form-container .form-section h3.required:after {
    color:#ff0000;
    font-weight:400;
    font-family:'Open Sans', sans-serif;
    position: absolute;
    content: '*';
    right:-10px;
}

.form-container .form-section h3.required:after {
    position: relative;
    right: -2px;
}

.form-container .form-group input{
    width:100%;
    background:#f5f5f5;
    border:none;
    height:50px;
    padding:0 15px;
    font-family:'Roboto', sans-serif;
}

.form-container .form-group input[type="radio"]{
    padding:0;
    height:auto;
    width:auto;
}

.form-container .form-group .customfile-filename{
    padding:0 145px 0 15px;
    position:relative;
}

.form-container .form-group .customfile-main-wrap,
.form-container .form-group .customfile-wrap {
    position:relative;
}

.form-container .form-group .customfile-main-wrap input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

.form-container .form-group .customfile-wrap .customfile-upload{
    position:absolute;
    top:0;
    right:0;
}

.form-container .form-group.error input,
.form-container .form-group.error .ffRadioWrapper .ffRadio,
.form-container .form-group input.wpcf7-not-valid,
.form-container .form-group textarea.wpcf7-not-valid {
    border:1px solid #ff0000;
}

.form-container .form-group p.error-info,
.form-container .post-section p.error-info {
	display: none;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	margin: 10px 0 5px;
}

.form-container .form-group.error p.error-info,
.form-container .post-section.error p.error-info {
	display: block;
}

.form-container .post-section p.error-info {
	padding: 0 9px;
	margin-bottom: 10px;
}

.form-container .form-group.error label,
.form-container .form-group p.error-info,
.form-container .post-section p.error-info {
    color:#ff0000;
}

.form-container .form-legend{
    clear:both;
    font-size:13px;
    margin:0 0 0 10px;
}

.form-container .form-legend > span {
    color:#ff0000;
    font-weight:400;
    font-family:'Open Sans', sans-serif;
}

.form-container .form-legend + .form-submit {
    margin-top: 40px;
}

.form-container .e-school_terms{
    clear:both;
    margin:20px 0 40px 0;
}

.form-container .e-user_terms .ffCheckboxWrapper,
.form-container .e-user_newsletter .ffCheckboxWrapper {
	display: block;
}

.form-container .e-ivn_user_profession label{
    display:none;
}

.form-container .e-ivn_user_profession .ffRadioWrapper{
    width:140px;
}

.form-container .e-ivn_school_name.autocomplete input[type="text"].working{
    background:url('../images/loader.gif') no-repeat 97% center #f5f5f5;
}

.ui-autocomplete.ui-corner-all{
    border-radius:0;
    border:none;
    background:#f5f5f5;
    padding:0;
}

.ui-autocomplete.ui-corner-all .ui-corner-all{
    border-radius:0;
    border:none;
    font-size: 14px;
    line-height:50px;
    padding:0 15px;
}

.ui-autocomplete.ui-corner-all .ui-menu-item a.ui-state-focus,
.ui-autocomplete.ui-corner-all .ui-menu-item a.ui-state-active{
    border-radius:0;
    background:#ccc;
    border:none;
    margin:0;
}

/* datepicker */

.ui-datepicker{
    border-radius:0;
    border:1px solid #ccc;
    width:275px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.ui-datepicker .ui-widget-header{
    background:#ccdc33;
    border-radius:0;
    border:none;
}

.ui-datepicker .ui-state-default, .ui-datepicker .ui-widget-content .ui-state-default, .ui-datepicker .ui-widget-header .ui-state-default{
    background:#f5f5f5;
}

.ui-datepicker .ui-state-active, .ui-datepicker .ui-widget-content .ui-state-active, .ui-datepicker .ui-widget-header .ui-state-active{
    background:#ccdc33;
}

.ui-datepicker .ui-state-hover, .ui-datepicker .ui-widget-content .ui-state-hover, .ui-datepicker .ui-widget-header .ui-state-hover, .ui-datepicker .ui-state-focus, .ui-datepicker .ui-widget-content .ui-state-focus, .ui-datepicker .ui-widget-header .ui-state-focus{
    background:#ccc;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next{
    width:16px;
    height:16px;
    top:8px;

}

.ui-datepicker .ui-datepicker-prev.ui-state-hover, .ui-datepicker .ui-datepicker-next.ui-state-hover{
    border:none;
    top:8px;
}

.ui-datepicker .ui-datepicker-prev.ui-state-hover{
    left:2px;
}

.ui-datepicker .ui-datepicker-next.ui-state-hover{
    right:2px;
}
.form-container .school-add-info{
    font-size:13px;
    padding:0 10px;
}

.form-container .form-group textarea{
    width:100%;
    background:#f5f5f5;
    border:none;
    height:140px;
    padding:15px;
    font-family:'Roboto', sans-serif;
    resize:vertical;

    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.form-container .form-group.hidden{
    display:none;
}

.form-container .post-section-input .ivn-video-thumbnail{
    clear:both;
    padding:10px;
}

.form-container .e-_ivn_post_thumbnail_description {
    padding: 0;
}

.form-container .e-_ivn_post_thumbnail_description label {
    display: none;
}

.form-container .e-_ivn_post_thumbnail_description textarea {
    border: 1px solid #dfdfdf;
    height: 100px;
}

.form-container .post-section-input ._ivn_post_video label:after {
    content: ' (tu wklej link do filmu na YouTube lub Vimeo)';
    font-size: 11px;
    font-weight: normal;
    position: relative;
    top: -1px;
}

.form-container .post-section-input ._ivn_post_video_thumb_file{
    clear:both;
}

.form-container .post-section-input .ivn-video-thumbnail img{
    max-height:200px;
    max-width:400px;
    height:auto;
    width:auto;
}

.form-container .post-section-input .ivn-video-thumbnail input{
    margin:10px 0 0 0;
}

.form-container .post-section-input ._ivn_post_video_thumb_file .customfile-filename,
.form-container .post-section-input ._ivn_post_gallery .customfile-filename {
    display:none;
}

.form-container .post-section-input ._ivn_post_video_thumb_file .customfile-upload{
    background:none;
    color:#63ac15;
    font-weight:bold;
    font-size:14px;
    width:auto;
    height:auto;
    padding:0;
    text-align:left;
    float:left;
    position:relative;
    right:auto;
    top:auto;
}

.form-container .post-section-input ._ivn_post_gallery .customfile-upload{
    position:relative;
    right:auto;
    top:auto;
    float:left;
}

.form-container .form-submit{
    clear:both;
    width:100%;
    text-align:center;
}

.form-container .form-submit input[type="submit"]{
    display:inline-block;
    background:#63ac15;
    color:#fff;
    font-weight:700;
    font-family:'Roboto', sans-serif;
    padding:15px 60px;
    width:auto;
}

.form-container .form-submit input[type="submit"]:hover{
    text-shadow:none;
}

.form-container .school-thumb{
    clear:both;
    margin:15px 10px;
}

.form-container .e-ivn_user_avatar .customfile-wrap .customfile-upload{
    position:absolute;
    top:0;
    right:0;
}

.form-container .form-section div.user-edit-avatar {
    margin:0 10px 10px;
}

.form-container .form-section div.user-edit-avatar > img {
    max-width: 100%;
    height: auto;
}

.form-container .current-user-school label{
    margin-bottom:10px;
}

.form-container .current-user-school p{
    color:#63ac15;
    font-weight:bold;
    font-size:14px;
    font-family:'Roboto', sans-serif;
}

.form-container .current-user-school a{
    display:inline-block;
    background:#8e8e8e;
    color:#fff;
    font-weight:bold;
    font-size:14px;
    font-family:'Roboto', sans-serif;
    padding:10px 22px;
    margin:15px 0 0 0;
}

.form-container .current-user-delete{

}

.form-container .current-user-delete p{
    font-size:12px;
}

.form-container .current-user-delete a{
    display:inline-block;
    background:#8e8e8e;
    color:#fff;
    font-weight:bold;
    font-size:14px;
    font-family:'Roboto', sans-serif;
    padding:10px 22px;
    margin:15px 0 0 0;
}

.article-change-wrapper .form-container .form-group.half {
    width: 50%;
}

.article-change-wrapper .form-container .form-group .article-thumbnail-wrapper {
    position: relative;

}

.article-change-wrapper .form-container .form-group .article-thumbnail-wrapper > a {
    display: none;
}

.article-change-wrapper .form-container .form-group .article-thumbnail-wrapper > img {
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 960px) {
    .profile-change-wrapper .form-container,
    .profile-make-wrapper .form-container,
    .school-make-wrapper .form-container {
        max-width: none;
    }

    .profile-change-wrapper .form-container .form-group,
    .profile-make-wrapper .form-container .form-group,
    .school-make-wrapper .form-container .form-group {
        width: 50%;
    }

    .profile-change-wrapper .form-container .form-group.full,
    .profile-make-wrapper .form-container .form-group.full,
    .school-make-wrapper .form-container .form-group.full {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .profile-change-wrapper .form-container .form-group,
    .profile-make-wrapper .form-container .form-group,
    .school-make-wrapper .form-container .form-group {
        width: 100%;
    }

    .profile-change-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper,
    .profile-make-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper {
        width: 50%;
        margin-top: 10px;
    }

    .profile-change-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper:first-child,
    .profile-change-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper:first-child + .ffRadioWrapper,
    .profile-make-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper:first-child,
    .profile-make-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper:first-child + .ffRadioWrapper {
        margin-top: 0;
    }
}

@media (max-width: 420px) {
    .profile-change-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper,
    .profile-make-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper {
        width: 100%;
    }

    .profile-change-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper:first-child + .ffRadioWrapper,
    .profile-make-wrapper .form-container .e-ivn_user_profession .ffRadioWrapper:first-child + .ffRadioWrapper {
        margin-top: 10px;
    }
}

/* alerts */

.alert{
    font-size:13px;
    padding: 15px;
    margin:0 10px 20px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

#login-form .alert,
#lostpassword-form .alert {
    margin:0 0 20px 0;
}

.alert h4 {
    margin-top: 0;
    color: inherit;
}
.alert .alert-link {
    font-weight: bold;
}
.alert > p,
.alert > ul {
    margin-bottom: 0;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

/* fancy styles */

.ffTextBoxWrapper,
.ffPasswordWrapper,
.ffCheckboxWrapper,
.ffRadioWrapper,
.ffTextAreaWrapper,
.ffSubmitWrapper,
.ffResetWrapper,
.ffButtonWrapper{
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.ffSelectWrapper{
    display: inline-block;
    zoom: 1;
    cursor: pointer;
}

/* selectbox */
.ffSelectWrapper {
    width:100%;

    *clear:both;
    background:#f5f5f5;
}
.ffSelect {
    position: relative;
    cursor: pointer;
}

.ffSelect > a {
    display: block;
    text-decoration: none;
    outline: 0;
    cursor: default;
    padding:0 45px 0 15px;
    font-weight:700;
    background:url('../images/sprite.png') no-repeat 100% -458px;
    cursor: pointer;
}
.ffSelect > a > span {
    display: block;
    height: 50px;
    overflow: hidden;
    line-height: 50px;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    *white-space: normal;
    text-overflow: ellipsis;
}

.ffSelect:hover > a, .ffSelectWrapper.focus .ffSelect > a {

}
.ffSelect:hover > a > span, .ffSelectWrapper.focus .ffSelect > a > span {

}
.ffSelectWrapper.active  .ffSelect> a {

}
.ffSelectWrapper.active  .ffSelect > a > span {

}
.ffSelectWrapper.disabled .ffSelect > a {

}
.ffSelectWrapper.disabled .ffSelect > a > span {

}


.ffSelectMenuWrapper {
    width: 100%;
}


.ffSelectMenuWrapper .ffSelectMenuMidBG ul{
    list-style-type:none;
    margin:0 0;
    padding:0;
}
.ffSelectMenuWrapper .ffSelectMenuMidBG li {
    padding: 0 15px;
    display:block;
    width:100%;
    cursor: pointer;
    background-color: #f5f5f5;
    height:50px;
    line-height:50px;
    font-family:'Roboto', sans-serif;
}
.ffSelectMenuWrapper .ffSelectMenuMidBG li SPAN{
    font-size:14px;
}
.ffSelectMenuWrapper .ffSelectMenuMidBG li.disabled SPAN{
    color:#888;
}
.ffSelectMenuWrapper .ffSelectMenuMidBG li.on{
    background-color: #ccc;
}
.ffSelectMenuWrapper{

}
.ffSelectMenuTop {

}
.ffSelectMenuTop span {

}

.ffSelectMenuBottom {


}
.ffSelectMenuBottom span {

}
.ffSelectMenuMidBG {

}
.ffSelectMenuMid  {
    max-height: 200px;
    overflow: auto;

}

.scrollingBarWrapper{
    width:24px;
    height:200px;
}
.scrollingHandle {
    width:24px;
}
.scrollingHandleBottom{
    width:24px;
}

/* checkbox */

.ffCheckboxWrapper a {
    text-decoration: none;
    position: relative;
    top: 1px;
    padding-left: 15px;
    margin-right: 10px;
    font-weight:normal;
    font-size:13px;
    color:#565656;
	overflow: hidden;
	display: block;
}
.ffCheckbox {
    width: 25px;
    height: 25px;
    float: left;
    background:url('../images/sprite.png') no-repeat 0 -407px;
    cursor: pointer;
}

.ffCheckboxWrapper.on .ffCheckbox {
    background-position: -25px -407px;
}

/* radio */

.ffRadioWrapper a {
    text-decoration: none;
    position: relative;
    top: 1px;
    padding-left: 15px;
    margin-right: 10px;
    font-weight:normal;
    font-size:13px;
    color:#565656;
}
.ffRadio {
    width: 25px;
    height: 25px;
    float: left;
    background:url('../images/sprite.png') no-repeat 0 -407px;
    cursor: pointer;
}
.ffRadioWrapper.on .ffRadio {
    background-position: -25px -407px;
}

/* file */

.customfile-wrap label:first-child {
    width: 130px;
    display: block;
    color: #333;
}

.customfile-wrap {
    position: relative;
    padding: 0;
}

.customfile-filename,
.customfile-upload {
    margin: 0;
    padding: 0;
}

.customfile-filename {

}
.customfile-filename:focus {
    outline: none;
}

.customfile-upload {
    display: inline-block;
    width: 130px;
    height:50px;
    background: #8e8e8e;
    margin-left: -1px; /* align with input */
    cursor: pointer;
    font-size:14px;
    font-weight:bold;
    color:#fff;
    font-family:'Roboto', sans-serif;
    border:none;
    outline:none;
    text-align:center;
    padding:15px 0;
}

.customfile-upload:hover{
    background:#1f1f1f;
}

.customfile-upload::-moz-focus-inner { /* Fix firefox padding */
    padding: 0; border: 0;
}

/*colorbox override */

#cboxOverlay{
    background: rgba(31, 31, 31, 0.8);
}

#cboxContent{
    background:transparent;

}

#cboxLoadedContent{
    background:transparent;
    border:none;
    overflow:hidden !important;
}

#cboxClose, #cboxClose:hover{
    width:48px;
    height:40px;
    right:0;
    top:10px;
    background:url('../images/sprite.png') no-repeat -68px -509px;
}



/* user widget */

.widget.widget-author{
    background: #262626;
    text-align:center;
    padding:15px 0 0 0;
}

.widget.widget-author img{
    margin:0 auto;
    border:6px solid #454545;
    -webkit-border-radius: 130px;
    border-radius: 130px;
}

.widget.widget-author h3{
    margin:0;
    font-size:12px;
    padding:0 14px;
}

.widget.widget-author h3 a{
    color:#ccdc33;
    font-size:12px;
}

.widget.widget-author h3 span {
    font-weight: 400;
    font-size: 12px;
    color: #a0a0a0;
}

.widget.widget-author .widget-author-points{
    width:100%;
    margin:12px 0 0 0;
    padding:12px 0;
    background:#121212;
}

.widget.widget-author .widget-author-points h4{
    color:#fff;
    font-size:24px;
    font-weight:bold;
    font-family:'Open Sans', sans-serif;
    font-weight:400;
    margin:0;
    padding:0;
}

.widget.widget-author .widget-author-points h4 span{
    color:#a0a0a0;
    font-size:14px;
    font-weight:400;
}

.widget.widget-author .widget-title{
    font-size:18px;
    color:#fff;
    font-family:'Roboto', sans-serif;
    font-weight:bold;
    margin:8px 0;
}

/* signin form */

#login-form,
#lostpassword-form {
    padding: 40px 30px 30px 30px;
}

#login-form label,
#lostpassword-form label {
    font-weight:700;
    margin:0 0 15px 0;
    padding:15px 15px 0 0;
    display:inline-block;
    position:relative;
    float:left;
    width:120px;
    text-align:right;
}
#login-form input[type="text"],
#login-form input[type="password"],
#lostpassword-form input[type="text"] {
    float:left;
    width:392px;
    background:#f5f5f5;
    border:none;
    height:50px;
    padding:0 15px;
    margin:0 0 15px 0;
    font-family:'Roboto', sans-serif;
}

#login-form input[type="submit"],
#lostpassword-form input[type="submit"] {
    display:block;
    float:right;
    background:#63ac15;
    color:#fff;
    font-weight:700;
    font-family:'Roboto', sans-serif;
    padding:15px 60px;
    width:auto;
    margin:0 auto;
}

#login-form input[type="submit"]:hover,
#lostpassword-form input[type="submit"]:hover {
    text-shadow:none;
}

#login-form .forgotten-password-link,
#lostpassword-form .forgotten-password-link {
    margin: 17px 0 0 120px;
    display: inline-block;
}

@media (max-width: 660px) {
    #login-form,
    #lostpassword-form {
        padding: 20px 6px 15px 6px;
    }

    #login-form label,
    #lostpassword-form label {
        float: none;
        width: 100%;
        margin: 0 0 5px 0;
        text-align: left;
    }

    #login-form label[for="ivn-user-pass"] {
        padding-top: 0;
    }

    #login-form .forgotten-password-link,
    #lostpassword-form .forgotten-password-link {
        margin-left: 0;
    }

    #login-form input[type="text"],
    #login-form input[type="password"],
    #lostpassword-form input[type="text"] {
        float: none;
        width: 100%;
    }
}

@media (max-width: 460px) {
    #login-form .forgotten-password-link,
    #lostpassword-form .forgotten-password-link {
        display: block;
        text-align: center;
        margin-bottom: 17px;
        margin-top: 15px;
    }

    #login-form input[type="submit"],
    #lostpassword-form input[type="submit"] {
        float: none;
        width: 100%;
    }
}

/* add post */

#form-overlay{
    opacity:0.75;
    width:100%;
    height:100%;
    top:0;
    left:0;
    position:fixed;
    z-index:12;
    display:none;
    background: #000 url(../images/loader-gallery.gif) no-repeat center center;
}

.add-post-sections{
    border:1px solid #dfdfdf;
    border-bottom:none;
    margin:0 10px;
}

.add-post-sections .post-section{
    border-bottom:1px solid #dfdfdf;
    background:#e6e6e6;
}

.add-post-sections .post-section .post-section-controls{
    width:160px;
    padding:15px 0 0 0;
    float:left;
    height:100%;
    background:#e6e6e6;
    text-align:center;
}

.add-post-sections .post-section .post-section-controls a{
    display:inline-block;
    text-indent:-9999px;
    width:38px;
    height:25px;
    background:url('../images/sprite.png') no-repeat;
}

.add-post-sections .post-section .post-section-controls a.section-down{
    background-position: -68px -549px;
}

.add-post-sections .post-section .post-section-controls a.section-up{
    background-position: -106px -549px;
}

.add-post-sections .post-section .post-section-controls a.section-down:hover{
    background-position: -180px -549px;
}

.add-post-sections .post-section .post-section-controls a.section-up:hover{
    background-position: -218px -549px;
}

.add-post-sections .post-section .post-section-controls a.section-remove{
    background-position: -144px -549px;
    width:36px;
}

.add-post-sections .post-section .post-section-input{
    background:#fff;
    width:698px;
    float:left;
    padding:20px 10px 5px 10px;
}

.add-post-sections .post-section .post-section-input ._ivn_post_gallery{
    display:none;
}

.add-post-sections .post-section .post-section-input ._ivn_post_gallery:first-child{
    display:block;
}

.add-post-sections .post-section .post-section-input .thumbnail-list{

}

.add-post-sections .post-section .post-section-input .thumbnail-list ul{
    margin:0;
    padding:0;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb{
    display:block;
    float:left;
    width:25%;
    padding:10px 9px;
    position:relative;
}

.add-post-sections .post-section .post-section-input .ivn-video-thumbnail .thumb {
    position:relative;
    float:left;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb img
{
    height:110px;
    width:100%;
    display:block;
    position:relative;
    margin:0;
    cursor:move;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb.error img {
	border: 2px solid #F00;
}

.add-post-sections .post-section .post-section-input .ivn-video-thumbnail .thumb img{
    display:block;
    position:relative;
    margin:0;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb textarea{
    width:100%;
    background:transparent;
    padding:5px;
    font-size:11px;
    box-shadow:none;
    outline:none;
    background:#f5f5f5;
    border:1px solid #dfdfdf;
    height:55px;
    margin:0;
    resize:none; /* Safari */
    resize:vertical; /* Chrome */
    display: block;

    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb a,
.add-post-sections .post-section .post-section-input .ivn-video-thumbnail .thumb a,
.article-change-wrapper .form-container .form-group .article-thumbnail-wrapper > a {
    position:absolute;
    top:0;
    display:none;
    width:26px;
    height:25px;
    text-indent:-9999px;
    z-index:2;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb a {
    top: 10px;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb:hover a,
.add-post-sections .post-section .post-section-input .ivn-video-thumbnail .thumb:hover a,
.article-change-wrapper .form-container .form-group .article-thumbnail-wrapper > a {
    display:block;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb .thumb-preview,
.add-post-sections .post-section .post-section-input .ivn-video-thumbnail .thumb .thumb-preview,
.article-change-wrapper .form-container .form-group .article-thumbnail-wrapper > a.article-thumb-preview {
    left:0;
    background:url('../images/sprite.png') no-repeat -282px -549px;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb .thumb-preview {
    left: 9px;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb .thumb-remove,
.add-post-sections .post-section .post-section-input .ivn-video-thumbnail .thumb .thumb-remove,
.article-change-wrapper .form-container .form-group .article-thumbnail-wrapper > a.article-thumb-remove {
    right:0;
    background:url('../images/sprite.png') no-repeat -256px -549px;
}

.add-post-sections .post-section .post-section-input .thumbnail-list .thumb .thumb-remove {
    right: 9px;
}

.wp_themeSkin *, .wp_themeSkin a:hover, .wp_themeSkin a:link, .wp_themeSkin a:visited, .wp_themeSkin a:active {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

/* editor */

.add-post-sections .post-section .post-section-input .wp-editor-tabs{
    display:none;
}

.add-post-sections .post-section .post-section-input .mceIframeContainer{
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.add-post-sections .post-section .post-section-input .mceIframeContainer iframe {
    max-width: none;
}

.add-post-sections .post-section .post-section-input .section-order{
    display:none;
}

.add-post-sections .post-section .post-section-input .mceStatusbar > div{
    display:none;
}

.post-sections-buttons{
    margin:30px 10px;
    text-align:center;
}

.post-sections-buttons .add-section-btn{
    display:inline-block;
    width:225px;
    height:50px;
    padding:10px;
    margin:0 1px;
    text-align:center;
    background:#63ac15;
    font-size:14px;
    color:#fff;
    font-family:'Roboto', sans-serif;
    font-weight:bold;
    text-transform:uppercase;
    text-decoration:none;
}

.post-sections-buttons .add-section-btn:first-child {
    margin-left: 0;
}

.post-sections-buttons .add-section-btn:first-child + .add-section-btn + .add-section-btn {
    margin-right: 0;
}

.post-sections-buttons .add-section-btn i{
    position:relative;
    top:4px;
    margin-left:10px;
}

.ico-plus{
    display:inline-block;
    text-indent:-9999px;
    width:20px;
    height:20px;
    background:url('../images/sprite.png') no-repeat -116px -529px;
}

.form-container .form-submit{
    margin:0 10px;
    padding-bottom:15px;
    text-align:center;
}

.page-template-tpl-add-post-php .form-container .form-submit,
.page-template-tpl-edit-post-php .form-container .form-submit{
    padding-top:25px;
    border-top:1px solid #dfdfdf;
    padding-bottom:15px;
    text-align:left;
}

.form-container .form-submit a{
    font-weight:normal;
    font-size:12px;
    margin-left:10px;
}

.form-container .e-_ivn_post_publish a{
    font-size:14px;
    font-family:'Open Sans', sans-serif;
    font-weight:700;
}

.form-container .e-_ivn_post_publish a span{
    font-size:11px;
    font-weight:normal;
}

.form-container .e-_ivn_post_publish p .ffRadioWrapper:first-child{
    display:none;
}

.form-container .e-_ivn_post_publish p .ffRadioWrapper a {
    text-decoration: none;
    position: relative;
    top: -2px;
    padding-left: 10px;
    margin-right: 10px;
    font-weight:bold;
    font-size:14px;
    color:#565656;
}

.form-container .e-_ivn_post_publish p .ffRadio {
	width: 17px;
	height: 17px;
	float: left;
	background: url('../images/sprite.png') no-repeat -136px -532px;
	cursor: pointer;
}

.form-container .e-_ivn_post_publish p .ffRadioWrapper.on .ffRadio {
	background-position: -153px -532px;
}

.form-container .e-_ivn_post_notes + .article-notes-info {
	width: 100%;
	float: left;
	font-size: 11px;
	padding: 0 10px;
	margin: -5px 0 15px 0;
}

.form-container .e-_ivn_post_publish p span {
	font-size: 11px;
	display: block;
	padding-left: 28px;
}

.form-container .e-v-count,
.form-container .e-g-count,
.form-container .e-c-count {
	display: none;
}

@media (max-width: 960px) {
    .add-post-sections .post-section .post-section-controls {
        width: 138px;
        padding: 6px 0 8px 0;
    }

    .add-post-sections .post-section .post-section-input {
        width: 100%;
        padding: 10px 0 5px 0;
        overflow: hidden;
    }
}

@media (max-width: 900px) {
    .post-sections-buttons .add-section-btn {
        width: 100%;
        display: block;
        margin: 10px 0 0;
    }

     .post-sections-buttons .add-section-btn:first-child {
        margin-top: 0;
     }
}

@media (max-width: 720px) {
    .add-post-sections .post-section .post-section-input .thumbnail-list .thumb {
        width: 33.33333333333333%;
    }

    .add-post-sections .post-section .post-section-input .thumbnail-list .thumb img {
        height: auto;
    }
}

@media (max-width: 600px) {
    .add-post-sections .post-section .post-section-input .thumbnail-list .thumb {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .add-post-sections .post-section .post-section-input .thumbnail-list .thumb {
        width: 100%;
    }
}

/* schools list */

.schools-map-modal-wrapper{

}

.schools-map-modal-wrapper #school-gmap{
    width:100%;
    height:590px;
}

.schools-map-modal-wrapper #school-gmap img{
    max-width:none;
    min-width:0;
    max-height:none;
    min-height:0;
}

.schools-map-wrapper #school-gmap-small{
    width:100%;
    height:231px;
}
.schools-map-wrapper #school-gmap-small img{
    max-width:none;
    min-width:0;
    max-height:none;
    min-height:0;
}