.ctools-modal-dialog {
    max-width:1200px;
}

body.logged-in.toolbar-drawer .navbar-fixed-top{
    top:30px;
}

#navbar .logo img{
    height:32px;
    width:auto;
}



#messages .alert-block {
    margin:15px;
}

#messages .alert-block a:not(.close) {
    display: inline-block;   
    text-decoration: underline;    
}

#messages .alert-block a:not(.close):before {
    content: "\e127";
    font-family: 'Glyphicons Halflings';
    margin-right: 5px;
    font-size: 10px;
    text-decoration: none;        
}


/*reset responsive tables for bigger screens*/
@media (min-width: 1200px) {
    .table-responsive {
        overflow:visible;    
    }   
}

@media screen and (max-width: 767px) {
    .table-responsive {
        overflow-y: auto;
    }
}


.SumoSelect .SlectBox,
.SumoSelect .SlectBoxa {
    padding: 6px 12px;
}

.SumoSelect > .CaptionCont > label,
.SumoSelect p.SlectBox,
.SumoSelect p {
    margin-bottom:0;
}

.input-group.inline-form-items div.form-item{
    display:inline;	
}

.SumoSelect > .optWrapper.open {
    top:35px;	
}

.display-block {
    display:block;
}

#modal-content {
    overflow-y: auto;
    min-height:400px;
}

.container-inline-date > .form-item {
    display:block;
}

.fluid-input {
    display:block;
    overflow:hidden;
    padding: 0 5px 0 0;
}

.fluid-input input,
.fluid-input select {
    width:100%;		
}

.full-height {
    height:100%;
}

.no-padding,
.panel .panel-body.no-padding {
    padding:0;
}

.no-margin,
.no-margin.panel,
.panel .panel-body.no-margin,
.row.no-margin {
    margin: 0;
}


/**
 * 	JQuery chosen plugin
 */
.form-control.chosen-container {
    padding:0;
    border:none;
}

.chosen-container {
    max-width:800px;
}

/**
 * Overwrite Bootstraps default checkboxes and radios (label after input)
 */
.radio, .checkbox {
    margin-left:15px;
    position:relative;
}

.radio label, 
.checkbox label,
.form-inline .checkbox label {
    padding-left:20px;
}

.checkbox input[type=checkbox], 
.checkbox-inline input[type=checkbox], 
.radio input[type=radio], .radio-inline input[type=radio],
.form-inline .checkbox input[type=checkbox] {
    position:absolute;         
    margin:0;  
    vertical-align: middle;
    margin-top:3px;
}

select.form-control + .chosen-container.chosen-container-single .chosen-single {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    background-image:none;
}

select.form-control + .chosen-container.chosen-container-single .chosen-single div {
    top:4px;
    color:#000;
}

select.form-control + .chosen-container .chosen-drop {
    background-color: #FFF;
    border: 1px solid #CCC;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    margin: 2px 0 0;

}

select.form-control + .chosen-container .chosen-search input[type=text] {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    background-image:none;
}

select.form-control + .chosen-container .chosen-results {
    margin: 2px 0 0;
    padding: 5px 0;
    font-size: 14px;
    list-style: none;
    background-color: #fff;
    margin-bottom: 5px;
}

select.form-control + .chosen-container .chosen-results li , 
select.form-control + .chosen-container .chosen-results li.active-result {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333;
    white-space: nowrap;
    background-image:none;
}
select.form-control + .chosen-container .chosen-results li:hover, 
select.form-control + .chosen-container .chosen-results li.active-result:hover,
select.form-control + .chosen-container .chosen-results li.highlighted {
    color: #FFF;
    text-decoration: none;
    background-color: #428BCA;
    background-image:none;
}

select.form-control + .chosen-container-multi .chosen-choices {
    display: block;
    width: 100%;
    min-height: 34px;
    /*padding: 6px;*/
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    background-image:none;
    max-width:800px;
}

#wv-contacts-search-form .chosen-container,
#wv-contacts-search-form select.form-control + .chosen-container-multi .chosen-choices {
    max-width:500px;   
}

select.form-control + .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    height:auto;
    padding:5px 0;
}

select.form-control + .chosen-container-multi .chosen-choices li.search-choice {   
    background-image: none;
    padding: 3px 24px 3px 5px;
    margin: 4px 6px 0 0;
    font-size: 12px;    
    font-weight: normal;    
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    background-color: #FFF;
    border-color: #CCC;
}

select.form-control + .chosen-container-multi .chosen-choices li.search-choice.is-new {
    background-image: -webkit-linear-gradient(top,#5cb85c 0,#419641 100%);
    background-image: -o-linear-gradient(top,#5cb85c 0,#419641 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));
    background-image: linear-gradient(to bottom,#5cb85c 0,#419641 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #3e8f3e;
    color:#fff;   
}

select.form-control + .chosen-container-multi .chosen-choices li.search-choice.is-new:before {
    font-family:'Glyphicons Halflings';
    content:"\002b";
    padding-right:5px;
    font-size:9px;
    line-height:0;
}

select.form-control + .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    top:5px;
    right:6px;
}

select.form-control + .chosen-container-multi.chosen-container-active .chosen-choices,
select.form-control + .chosen-container.chosen-container-single.chosen-container-active .chosen-single,
select.form-control + .chosen-container .chosen-search input[type=text]:focus{
    border-color: #66AFE9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(102, 175, 233, 0.6);
}

select.form-control + .chosen-container-multi .chosen-results li.result-selected{
    display: list-item;
    color: #ccc;
    cursor: default;
    background-color: white;
}

.panel-default>.panel-heading .btn-success .badge {
    color: #5cb85c;
    background-color: #fff;
}

.parent-panel .panel {	
    border:none;
}

.parent-panel h3.panel-title {
    font-size: 15px;
    color: #428bca;
    font-weight: bold;
}

.parent-panel .panel-body {
    padding:0;
    border:none;
}

.parent-panel .panel-body .panel-body {
    padding:10px 10px 0 10px;		  
}


td.actions {
    text-align: right;
}

td.actions .dropdown-menu {
    right:0;
    left:auto;
}

li.group-result, select.form-control + .chosen-container .chosen-results li.group-result {
    font-weight: bold;
}

/**
 * 	Horizontal tabs
 */

div.horizontal-tabs {
    border:none;
}

.horizontal-tabs ul.horizontal-tabs-list {
    background:#fff;
    border:none;	
    border-bottom: 1px solid #ddd;
}

.horizontal-tabs ul.horizontal-tabs-list li {
    background:#fff;
    border:none;
    margin-bottom: -2px;
}
.horizontal-tabs ul.horizontal-tabs-list li a, 
.horizontal-tabs ul.horizontal-tabs-list li.selected a {
    border:none;	
    color: #337ab7;
    cursor: default;
    background-color: #fff;          
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-bottom-color: #ddd;
    border-radius: 4px 4px 0 0;
    position: relative;
    display: block;
    padding: 10px 15px;  
}

.horizontal-tabs ul.horizontal-tabs-list li.selected a {
    color: #555;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

.horizontal-tabs ul.horizontal-tabs-list li:hover {
    background:transparent;	
}

.horizontal-tabs ul.horizontal-tabs-list li a:hover {
    background:#eee;		
    border-bottom-color: transparent;
}

.horizontal-tabs ul.horizontal-tabs-list li.selected a:hover {
    background:#fff;
}

#wv-token-selection{	
    overflow-y:auto;
    overflow-x:hidden;
    max-height:600px;
}

div.wv-token-type {
    margin-bottom:20px!important;
}

#navbar .block-title {
    display:none;
}

#navbar li.divider.last {
    display:none;
}

.wv-copy-paste-select.form-control[disabled], 
fieldset[disabled] .form-control.wv-copy-paste-select,
input.wv-copy-paste-select {	
    cursor:text;
}

td.center,
th.center {
    text-align:center;
}

.form-control {
    width:auto;
}


.form-inline label {
    display:block;
}

.text-format-wrapper .ckeditor_links {
    display:none!important;
}
/*
.input-group .form-control {
    width:auto;
}*/

.input-group .form-control.wv-chosen,
.form-control.wv-chosen,
.form-type-managed-file .input-group .form-control,
.input-group.fb-colorpicker .form-control,
.input-group.bootstrap-touchspin .form-control{
    width:100%;
}

.form-type-managed-file {
    max-width: 450px;
}

.input-group.inline-form-items .form-control {
    width:100%;
}

#navbar .logo img{
    height:32px;
    width:auto;
}

a.label-link:hover,
a.label-link:focus {
    text-decoration:none;
}

a.label-link:hover .label.label-warning { 
    background-color:#ec971f;
}

a.label-link:hover .label.label-danger { 
    background-color:#c9302c;
}

a.label-link:hover .label.label-success { 
    background-color:#449d44;
}

a.label-link:hover .label.label-primary { 
    background-color:#286090;
}

a.label-link:hover .label.label-info { 
    background-color:#31b0d5;
}

select.form-control.error + .chosen-container-multi.chosen-container-active .chosen-choices, 
select.form-control.error + .chosen-container.chosen-container-single.chosen-container-active .chosen-single, 
select.form-control.error + .chosen-container .chosen-search input[type=text]:focus,
select.form-control.error + .chosen-container-multi .chosen-choices{
    background-color:#f2dede;
}

#contact-history.history-teaser tr.teaser-row-1{
    opacity:0.8
}

#contact-history.history-teaser tr.teaser-row-2{
    opacity:0.6;
}
#contact-history.history-teaser tr.teaser-row-3{
    opacity:0.3;
}
#contact-history.history-teaser tr.teaser-row-4{
    opacity:0.1;
}


/**
 * Default settings form
 */
.wv-default-settings-form .navbar .form-group {
    margin:0;
}


/**
 * Bootstrap Fieldsets overwrites
 */

div.collapsible.panel {
    width:100%;
}

div.collapsible.panel a.panel-title {    
    display:block;
    text-decoration: none;
}

div.collapsible.panel.panel-default a.panel-title>.panel-heading {
    display:block;
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;    
    background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
    background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;    
}

div.collapsible.panel.panel-default a.panel-title:hover>.panel-heading {
    background:#f3f3f3;
}


div.collapsible.panel.panel-default a.panel-title .glyphicon:before {       
    content: "\e113";
}

div.collapsible.panel.panel-default a.panel-title.collapsed .glyphicon:before {       
    content: "\e114";
}

.nav.tabs--primary {
    margin-bottom:15px;
}
.pagination.tabs--secondary {
    margin-bottom:15px;
}

.tabledrag-toggle-weight-wrapper {
    display:none;
}


/*
 * Glowing buttons
 */
/* default */
.btn-glowing.btn-default:not(:hover) {
    -webkit-animation: btn-glowing-default 1.2s infinite; 
    -moz-animation: btn-glowing-default 1.2s infinite;
    -o-animation: btn-glowing-default 1.2s infinite;
    animation: btn-glowing-default 1.2s infinite;
}

@-webkit-keyframes btn-glowing-default {
    0% { background: #e0e0e0; -webkit-box-shadow: 0 0 4px #e0e0e0; }
    50% { background: #ffffff; -webkit-box-shadow: 0 0 10px #ffffff; }
    100% { background: #e0e0e0; -webkit-box-shadow: 0 0 4px #e0e0e0; }
}
@-moz-keyframes btn-glowing-default {
    0% { background: #e0e0e0; -moz-box-shadow: 0 0 4px #e0e0e0; }
    50% { background: #ffffff; -moz-box-shadow: 0 0 10px #ffffff; }
    100% { background: #e0e0e0; -moz-box-shadow: 0 0 4px #e0e0e0; }
}

@-o-keyframes btn-glowing-default {
    0% { background: #e0e0e0; box-shadow: 0 0 4px #e0e0e0; }
    50% { background: #ffffff; box-shadow: 0 0 10px #ffffff; }
    100% { background: #e0e0e0; box-shadow: 0 0 4px #e0e0e0; }
}

@keyframes btn-glowing-default {
    0% { background: #e0e0e0; box-shadow: 0 0 4px #e0e0e0; }
    50% { background: #ffffff; box-shadow: 0 0 10px #ffffff; }
    100% { background: #e0e0e0; box-shadow: 0 0 4px #e0e0e0; }
}

/*primary*/
.btn-glowing.btn-primary:not(:hover) {
    -webkit-animation: btn-glowing-primary 1.2s infinite; 
    -moz-animation: btn-glowing-primary 1.2s infinite;
    -o-animation: btn-glowing-primary 1.2s infinite;
    animation: btn-glowing-primary 1.2s infinite;
    border-color:rgba(255,255,255,0);
}
.btn-glowing.btn-primary:hover {
    border-color:rgba(255,255,255,0);
    background-color: #337ab7;
    -webkit-box-shadow: 0 0 10px #337ab7;
    -moz-box-shadow: 0 0 10px #337ab7;
    box-shadow: 0 0 10px #337ab7;
}
@-webkit-keyframes btn-glowing-primary {
    0% { background: #265a88; -webkit-box-shadow: 0 0 4px #265a88; }
    50% { background-color: #337ab7; -webkit-box-shadow: 0 0 10px #337ab7; }
    100% { background-color: #265a88; -webkit-box-shadow: 0 0 4px #265a88; }
}
@-moz-keyframes btn-glowing-primary {
    0% { background: #265a88; -moz-box-shadow: 0 0 4px #265a88; }
    50% { background: #337ab7; -moz-box-shadow: 0 0 10px #337ab7; }
    100% { background: #265a88; -moz-box-shadow: 0 0 4px #265a88; }
}

@-o-keyframes btn-glowing-primary {
    0% { background: #265a88; box-shadow: 0 0 4px #265a88; }
    50% { background: #337ab7; box-shadow: 0 0 10px #337ab7; }
    100% { background: #265a88; box-shadow: 0 0 4px #265a88; }
}

@keyframes btn-glowing-primary {
    0% { background: #265a88; box-shadow: 0 0 4px #265a88; }
    50% { background: #337ab7; box-shadow: 0 0 10px #337ab7; }
    100% { background: #265a88; box-shadow: 0 0 4px #265a88; }
}

/*info*/
.btn-glowing.btn-info:not(:hover) {
    -webkit-animation: btn-glowing-info 1.2s infinite; 
    -moz-animation: btn-glowing-info 1.2s infinite;
    -o-animation: btn-glowing-info 1.2s infinite;
    animation: btn-glowing-info 1.2s infinite;
    border-color:rgba(255,255,255,0);
}
.btn-glowing.btn-info:hover {
    border-color:rgba(255,255,255,0);
    background-color: #5bc0de;
    -webkit-box-shadow: 0 0 10px #5bc0de;
    -moz-box-shadow: 0 0 10px #5bc0de;
    box-shadow: 0 0 10px #5bc0de;
}
@-webkit-keyframes btn-glowing-info {
    0% { background: #2aabd2; -webkit-box-shadow: 0 0 4px #2aabd2; }
    50% { background-color: #5bc0de; -webkit-box-shadow: 0 0 10px #5bc0de; }
    100% { background-color: #2aabd2; -webkit-box-shadow: 0 0 4px #2aabd2; }
}
@-moz-keyframes btn-glowing-info {
    0% { background: #2aabd2; -moz-box-shadow: 0 0 4px #2aabd2; }
    50% { background: #5bc0de; -moz-box-shadow: 0 0 10px #5bc0de; }
    100% { background: #2aabd2; -moz-box-shadow: 0 0 4px #2aabd2; }
}

@-o-keyframes btn-glowing-info {
    0% { background: #2aabd2; box-shadow: 0 0 4px #2aabd2; }
    50% { background: #5bc0de; box-shadow: 0 0 10px #5bc0de; }
    100% { background: #2aabd2; box-shadow: 0 0 4px #2aabd2; }
}

@keyframes btn-glowing-info {
    0% { background: #2aabd2; box-shadow: 0 0 4px #2aabd2; }
    50% { background: #5bc0de; box-shadow: 0 0 10px #5bc0de; }
    100% { background: #2aabd2; box-shadow: 0 0 4px #2aabd2; }
}

/*success*/
.btn-glowing.btn-success:not(:hover) {
    -webkit-animation: btn-glowing-success 1.2s infinite; 
    -moz-animation: btn-glowing-success 1.2s infinite;
    -o-animation: btn-glowing-success 1.2s infinite;
    animation: btn-glowing-success 1.2s infinite;
    border-color:rgba(255,255,255,0);
}
.btn-glowing.btn-success:hover {
    border-color:rgba(255,255,255,0);
    background-color: #5cb85c;
    -webkit-box-shadow: 0 0 10px #5cb85c;
    -moz-box-shadow: 0 0 10px #5cb85c;
    box-shadow: 0 0 10px #5cb85c;
}
@-webkit-keyframes btn-glowing-success {
    0% { background: #419641; -webkit-box-shadow: 0 0 4px #419641; }
    50% { background-color: #5cb85c; -webkit-box-shadow: 0 0 10px #5cb85c; }
    100% { background-color: #419641; -webkit-box-shadow: 0 0 4px #419641; }
}
@-moz-keyframes btn-glowing-success {
    0% { background: #419641; -moz-box-shadow: 0 0 4px #419641; }
    50% { background: #5cb85c; -moz-box-shadow: 0 0 10px #5cb85c; }
    100% { background: #419641; -moz-box-shadow: 0 0 4px #419641; }
}

@-o-keyframes btn-glowing-success {
    0% { background: #419641; box-shadow: 0 0 4px #419641; }
    50% { background: #5cb85c; box-shadow: 0 0 10px #5cb85c; }
    100% { background: #419641; box-shadow: 0 0 4px #419641; }
}

@keyframes btn-glowing-success {
    0% { background: #419641; box-shadow: 0 0 4px #419641; }
    50% { background: #5cb85c; box-shadow: 0 0 10px #5cb85c; }
    100% { background: #419641; box-shadow: 0 0 4px #419641; }
}


/*warning*/
.btn-glowing.btn-warning:not(:hover) {
    -webkit-animation: btn-glowing-warning 1.2s infinite; 
    -moz-animation: btn-glowing-warning 1.2s infinite;
    -o-animation: btn-glowing-warning 1.2s infinite;
    animation: btn-glowing-warning 1.2s infinite;
    border-color:rgba(255,255,255,0);
}
.btn-glowing.btn-warning:hover {
    border-color:rgba(255,255,255,0);
    background-color: #f0ad4e;
    -webkit-box-shadow: 0 0 10px #f0ad4e;
    -moz-box-shadow: 0 0 10px #f0ad4e;
    box-shadow: 0 0 10px #f0ad4e;
}
@-webkit-keyframes btn-glowing-warning {
    0% { background: #eb9316; -webkit-box-shadow: 0 0 4px #eb9316; }
    50% { background-color: #f0ad4e; -webkit-box-shadow: 0 0 10px #f0ad4e; }
    100% { background-color: #eb9316; -webkit-box-shadow: 0 0 4px #eb9316; }
}
@-moz-keyframes btn-glowing-warning {
    0% { background: #eb9316; -moz-box-shadow: 0 0 4px #eb9316; }
    50% { background: #f0ad4e; -moz-box-shadow: 0 0 10px #f0ad4e; }
    100% { background: #eb9316; -moz-box-shadow: 0 0 4px #eb9316; }
}

@-o-keyframes btn-glowing-warning {
    0% { background: #eb9316; box-shadow: 0 0 4px #eb9316; }
    50% { background: #f0ad4e; box-shadow: 0 0 10px #f0ad4e; }
    100% { background: #eb9316; box-shadow: 0 0 4px #eb9316; }
}

@keyframes btn-glowing-warning {
    0% { background: #eb9316; box-shadow: 0 0 4px #eb9316; }
    50% { background: #f0ad4e; box-shadow: 0 0 10px #f0ad4e; }
    100% { background: #eb9316; box-shadow: 0 0 4px #eb9316; }
}

/*danger*/
.btn-glowing.btn-danger:not(:hover) {
    -webkit-animation: btn-glowing-danger 1.2s infinite; 
    -moz-animation: btn-glowing-danger 1.2s infinite;
    -o-animation: btn-glowing-danger 1.2s infinite;
    animation: btn-glowing-danger 1.2s infinite;
    border-color:rgba(255,255,255,0);
}
.btn-glowing.btn-danger:hover {
    border-color:rgba(255,255,255,0);
    background-color: #d9534f;
    -webkit-box-shadow: 0 0 10px #d9534f;
    -moz-box-shadow: 0 0 10px #d9534f;
    box-shadow: 0 0 10px #d9534f;
}
@-webkit-keyframes btn-glowing-danger {
    0% { background: #c12e2a; -webkit-box-shadow: 0 0 4px #c12e2a; }
    50% { background-color: #d9534f; -webkit-box-shadow: 0 0 10px #d9534f; }
    100% { background-color: #c12e2a; -webkit-box-shadow: 0 0 4px #c12e2a; }
}
@-moz-keyframes btn-glowing-danger {
    0% { background: #c12e2a; -moz-box-shadow: 0 0 4px #c12e2a; }
    50% { background: #d9534f; -moz-box-shadow: 0 0 10px #d9534f; }
    100% { background: #c12e2a; -moz-box-shadow: 0 0 4px #c12e2a; }
}

@-o-keyframes btn-glowing-danger {
    0% { background: #c12e2a; box-shadow: 0 0 4px #c12e2a; }
    50% { background: #d9534f; box-shadow: 0 0 10px #d9534f; }
    100% { background: #c12e2a; box-shadow: 0 0 4px #c12e2a; }
}

@keyframes btn-glowing-danger {
    0% { background: #c12e2a; box-shadow: 0 0 4px #c12e2a; }
    50% { background: #d9534f; box-shadow: 0 0 10px #d9534f; }
    100% { background: #c12e2a; box-shadow: 0 0 4px #c12e2a; }
}

/* Text circles */
.text-circle{
    position:relative;        
    border-radius:50%;      
    text-align: center;
    border:1px solid #ccc;
}
.text-circle:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.text-circle .inner{        
    position:absolute;
    top:50%; left:50%;
    transform: translate(-50%, -50%);
    margin:0;  
}
.text-circle.text-circle-success {
    color:#fff;
    background:#5cb85c;
    border:4px solid #4cae4c;       
}
.text-circle.text-circle-primary {
    color:#fff;
    background:#337ab7;
    border:4px solid #2e6da4;       
}

.text-circle.text-circle-warning {
    color:#fff;
    background:#f0ad4e;
    border:4px solid #eea236;       
}

.text-circle.text-circle-info {
    color:#fff;
    background:#5bc0de;
    border:4px solid #46b8da;
}
.text-circle.text-circle-danger {
    color:#fff;
    background:#d9534f;
    border:4px solid #d43f3a;
}
.text-circle-hover {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out; 
}
.text-circle-hover:hover {   
    background-image: none!important;
    border-width: 2px;   
}
.text-circle.text-circle-success.text-circle-hover:hover {
    background-color: #dff0d8;
    border-color:#5cb85c;
    color: #4cae4c;   
}

.text-circle.text-circle-primary.text-circle-hover:hover {
    background-color: #d9edf7;
    border-color:#337ab7;
    color: #2e6da4;   
}

.text-circle.text-circle-warning.text-circle-hover:hover {
    background-color: #fcf8e3;
    border-color:#f0ad4e;
    color: #eea236;   
}
.text-circle.text-circle-info.text-circle-hover:hover {
    background-color: #d9edf7;
    border-color:#5bc0de;
    color: #46b8da;   
}
.text-circle.text-circle-danger.text-circle-hover:hover {
    background-color: #f2dede;
    border-color:#d9534f;
    color: #d43f3a;   
}


.wv-countdown-wrapper {
    background-color: #2a2a2a;	
    text-align:center;
    padding:15px 0;
    margin-bottom:20px;	
    color:#fff;
    font-family: arial,sans-serif;
    display:none;
}

.wv-countdown-wrapper .wv-countdown {
    zoom: 0.55;
    -moz-transform: scale(0.55);
    display:inline-block;
    width:auto;
    color:#fff;
    padding-top:40px;
}

.wv-countdown .flip-clock-divider .flip-clock-label {
    color:#fff;
    font-size: 20px;
    text-shadow:none;
    font-family: 'Raleway',Helvetica,Arial,sans-serif;
}


@-webkit-keyframes qn-spinner-rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes qn-spinner-rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}
@-o-keyframes qn-spinner-rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}
@keyframes qn-spinner-rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}

@media (min-width: 1300px) {
    .modal-lg {
        width: 1200px;
    }
}

/* fixes outputs at error pages*/
.element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
}


/**
 * Trial registration
 */

#trial-registration-wrapper {
    min-height:700px;
}

body.page-public-trial-register #navbar{   
   display:none;
}

body.page-public-trial-register #block-system-main {
    max-width:450px;
    margin: 0 auto;
}

#trial-registration-wrapper h1,
body.page-public-trial-register-success h1.page-header{
    color:#333;   
    margin:0;
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    font-size:30px;   
}

#trial-registration-wrapper .help-block.registration-msg {
    color:#333;   
   margin-top:20px;
   font-size:11px;
}

#trial-registration-wrapper #edit-actions .btn {
    width:100%;
    padding-top: 15px;
    padding-bottom:15px;
}

#trial-registration-form-wrapper,
#trial-success-wrapper,
#trial-start-success-wrapper{      
    margin-top:20px;  
}


body.page-public-trial-register .captcha {
    margin: 15px 0;    
}


body.page-public-trial-register .footer {
    border:none;
    color:#333;
    text-align: center;
    margin-top:0;
}

/**
 * Trial start form
 */

body.page-trial-start #navbar {
    display:none;
}


#trial-start-form-wrapper {
    max-width:700px;
    margin: 0 auto;        
}

#trial-start-form {    
    margin: 0 auto;     
    background: rgba(255,255,255,0.8);
    margin-top:40px;
    padding:20px;
    border:1px solid rgba(255,255,255,0.9);
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.3);
}

#trial-start-form-wrapper .form-section {
    margin-bottom:35px;
}

#trial-start-form-wrapper .form-inline.form-group {
    display:flex;   
}

#trial-start-form-wrapper .form-inline .form-group {
    display:block;    
}

#trial-start-form-wrapper .form-inline >.form-group {
    flex-grow: 1;
}

#trial-start-form-wrapper .form-inline .form-control {
    display:block;
}

#trial-start-form-wrapper select,
#trial-start-form-wrapper input[type=text],
#trial-start-form-wrapper .form-wrapper {
    width:100%;
    max-width: 100%;
}

#trial-start-success-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

#trial-start-success-wrapper h1 {
    margin:0 0 20px 0;    
}

#trial-start-success-wrapper p {   
    font-size: 15px;
}

/**
 * SM
 */
@media (min-width: 768px) {
#trial-registration-wrapper h1,
    body.page-public-trial-register-success h1.page-header{
        font-size:40px;
    }
}

/**
 * LG
 */
@media (min-width: 1200px) {
    
}



.responsive-video {
    position: relative;		
    height: 0;
}

.responsive-video.ratio-16-9 {
    padding-bottom: 56.25%; 
}

.responsive-video.ratio-16-10 {	
    padding-bottom: 62.5%; 
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.g-recaptcha {
    margin-bottom:15px;
}