
/* @group General */
body {
    font-size: 13px;
}

img {
	max-width: 100%;
	-ms-interpolation-mode: bicubic;
}


.ie img {
	max-width: auto;
}

a:focus{
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

h3 {
    font-size: 20px;
    line-height: 1.4em;
}

.page-header {
    padding-bottom: 0;
}

.tx-pagebrowse.pagination {
    min-width: 420px;
    margin: auto;
}

.cw_frame_invisible {
    display: none;
}

/* @end */

/* @group Responsive images */
.ie .csc-textpic-image img {
    width: auto;
}

.images-cols-1 .csc-textpic-image {
    width: 100%;
}


.images-cols-2 .csc-textpic-image {
    width: 48%;
}

.images-cols-3 .csc-textpic-image {
    width: 31%;
}

.images-cols-4 .csc-textpic-image {
    width: 23%;
}
/* iPad */
@media (max-width: 979px) and (min-width: 768px) { .images-cols-4 .csc-textpic-image { width: 23%; } }
/* Mobile */
@media (max-width: 768px) { .images-cols-4 .csc-textpic-image { width: 22%; } }

.images-cols-5 .csc-textpic-image {
    width: 19%;
}
/* iPad */
@media (max-width: 979px) and (min-width: 768px) { .images-cols-5 .csc-textpic-image { width: 18%; } }
/* Mobile */
@media (max-width: 768px) { .images-cols-5 .csc-textpic-image { width: 17%; } }

.images-cols-6 .csc-textpic-image {
    width: 15%;
}
/* Mobile */
@media (max-width: 768px) { .images-cols-6 .csc-textpic-image { width: 13%; margin-left: 5px; } }


.images-cols-7 .csc-textpic-image {
    width: 48%;
}


.images-cols-8 .csc-textpic-image {
    width: 48%;
}
/* @end */

/* @group Bootstrap fixes */

.nav .dropdown-toggle .caret {
    border-top-color: #000;
}

.navbar .nav .open > .dropdown-toggle, .navbar .nav .active > .dropdown-toggle, .navbar .nav .open.active > .dropdown-toggle {
    background-color: #222;
}


.ie .modal-body {
    overflow: visible;
}

.ie #cw_box_topmenu {
    position: relative;
    z-index: 1000;
}
/* @end */

/* @group Blocks types */

p.indent {
	margin-left: 20px;
}

.align-left {
	text-align: left;
}

.align-right {
	text-align: right;
}

.align-justify {
	text-align: justify;
}

.align-center{
	text-align: center;
}

.clear {
    clear: both;
}

.clearfix {
    height: 0;
}

a:hover {
    text-decoration: none;
}

.box {
    margin-bottom: 20px;
}

.loading {
    background-image: url('../images/loading.gif');
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    min-height: 24px;
    margin-top: 15px;
    clear: both;
}

/* @end */

input[class*="span"], 
select[class*="span"], 
textarea[class*="span"], 
.uneditable-input {
}

input[type="file"] {
    margin-top: 4px;
}

/* @group News */
.news-latest-container .news-latest-item .thumb,
.news-list-container .news-list-item .thumb {
	float: left;
	margin-top: 3px;
}

.news-latest-container .news-latest-item .text {
	margin-left: 85px;
}

.news-list-container .news-list-item .text {
	/*margin-left: 135px;*/
}
.news-list-container .news-list-item .thumb {
	padding-bottom: 30px;
	margin-right: 15px;
}

span.news-list-date {
	font-size: 12px;
	font-weight: bold;
}

.news-single-item img, .cw_news_gallery {
    margin-bottom: 15px;
    margin-top: 15px;
}

.cw_news_caroufredsel img, .cw_carousel_thumbs img {
    margin: 0;
}


.caroufredsel_wrapper img {
    float: left;
}

#cw_news_caroufredsel_container {
    margin-bottom: 20px;
    position: relative;
}

#cw_news_caroufredsel_container .pagination {
    position: absolute;
    bottom: 5px;
    right: 5px;
    margin: 0;
    border: 0;
}

.ie7 #cw_news_caroufredsel_container .pagination {
    bottom: 35px;
}

#cw_news_caroufredsel_container .pagination span {
    visibility: hidden;
}

#cw_news_caroufredsel_container .pagination a {
    border: 0;
    background-image: url(../images/carousel_pagination.png);
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 8px;
}

#cw_news_caroufredsel_container .pagination a:hover {
    background-color: transparent;
}

#cw_news_caroufredsel_container .pagination a.selected {
    background-image: url(../images/carousel_pagination_active.png);
}

/* @end */

/* @group Form validation */
.control-group.error > .control-label {
    color: #b94a48;
}

.control-group.success > .control-label {
    color: #468847;
}

.control-group label.error {
    color: #b94a48;
    margin: 5px;
}

.control-group label.valid {
    text-indent: -9999px;
    display: inline-block;
}

/* @end */

/* @group Top links */
.navbar .brand {
    color: #000;
}

.navbar-form, .navbar-search {
    margin: 0px;
    margin-top: 6px;
}

.navbar .nav.pull-right {
    float: right !important;
}

.navbar .nav.pull-left {
    float: left !important;
}

.navbar .top-links .nav > li {
    float: left;
}

.navbar-search .search-query {
    padding: 4px 4px;
}

li [class^="icon-"], li [class*=" icon-"] {
    width: 1.4em;
    text-align: left;
}

#cw_box_langmenu .nav > li.active > a,
#cw_box_langmenu .nav > li.active > a:hover {
    font-weight: bold;
}

#cw_box_langmenu .nav > li > a:hover {
    color: #999;
}

#cw_box_langmenu li.disabled {
    padding: 10px 6px 0px;
    line-height: 19px;
}

.navbar-search .search-query {
  background-image: url(../images/search_icon.png);
  background-repeat: no-repeat;
  background-position: 7px center;
  padding-left: 26px;
}
/* @end */

/* @group Main menu */
@media (max-width: 979px) {
    .navbar .btn-navbar {
        margin-bottom: 5px;
    }
    
    .nav-collapse .dropdown-menu {
        display: none !important;
    }
    .nav-collapse .open .dropdown-menu {
        display: block !important;
    }
    
    #cw_header .collapse.in {
        height: auto !important;
    }
    
    #cw_header .nav-collapse .dropdown-menu a.current {
        color: #FFFFFF;
    }
}

/* @end */

/* @group Carousel */
#cw_carousel_controls {
    position: relative;f
    top: -85px;
}

#cw_carousel_controls a {
    display: block; width: 100%; height: 100%;
}

#cw_carousel_thumbs_container {
    margin-left: 20%;
    margin-right: 20%;
}

#cw_carousel_controls #prev, #cw_carousel_controls #next {
    width: 20px;
    height: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    position: absolute;
}

#cw_carousel_controls #next {
    float: right;
    background-image: url('../images/arrow-next.png');
    right: 0;
}
#cw_carousel_controls #prev {
    float: left;
    background-image: url('../images/arrow-prev.png');
    left: 0;
}

.cw_news_gallery {
    margin-bottom: 15px;
}

.cw_carousel_thumbs img {
    cursor: pointer;
}

/* @end */

/* @group Login form */
#cw_box_topmenu .box {
    margin: 0;
}

#cw_box_topmenu .loading {
	height: 30px;
	margin-top: 5px;
	margin-bottom: 8px;
	width: 50px;
}

#cw_box_user .loading {
    width: auto;
}

.navbar #cw_box_user .dropdown-menu::before {
    right: 20px;
    left: auto;
}

.navbar #cw_box_user .dropdown-menu::after {
    right: 21px;
    left: auto;
}

.ie7 .login-form button, .ie7 .login-form a.btn {
    width: 220px;
}

.logout-form {
    margin: 0;
}

.logout-form .well {
    margin: 0;
}

.logout-form .well button {
    display: block;
    width: 100%;
}

.logout-form .well .status-message {
    margin-bottom: 15px;
}

.tx-felogin-pi1 .status-message {
    font-size: 12px;
    padding-right: 10px;
}


.tx-srfeuserregister-pi1 input[type="submit"] {
    padding: 5px 15px;
}

.tx-srfeuserregister-pi1-gender-0-label {
	display: none !important;
}

.tx-srfeuserregister-pi1-terms_acknowledged-label input {
	margin-top : -5px;
}

a.tx-srfeuserregister-pi1-terms_acknowledged-link {
	margin-top : 5px;
	display: inline-block;
}

.tx-srfeuserregister-pi1 span.alert-error {
	margin-bottom : 5px;
	margin-top : 5px;
	display : block;
}

input[type="checkbox"].csc-mailform-check {
    margin-top: 8px;
}

.control-group.success .alert-error {
    display: none;
}

/* @end */


/* @group Responsive rules */
/* Mobile and tablet */
@media (max-width: 767px) {
	.span1,
	.span2,
	.span3,
	.span4,
	.span5,
	.span6,
	.span7,
	.span8,
	.span9,
	.span10,
	.span11,
	.span12 {
		width: 100%;
		margin-left: 0px;
	}
}

/* Mobile to 940 */
@media (max-width: 979px) {
    .nav-collapse {
        margin-top: 10px;
    }
    
    .navbar-form, .navbar-search {
        /*padding: 0 15px;*/
        margin: 6px 0;
    }
}

@media (max-width: 979px) and (min-width: 768px) {
	#cw_carousel_controls {
        top: -65px;
    }
    
    
    #cw_box_langmenu li.disabled {
        padding: 6px 11px 0px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #cw_box_langmenu {
        float: left;
    }
    
    .navbar #cw_box_langmenu .nav > li > a, .navbar .dropdown-menu a {
        padding: 10px 6px;
    }

    
    #cw_carousel_controls {
        top: -55px;
    }
}

/* @end */